Interface MedicalScribeTranscriptSegment.Builder

    • Method Detail

      • segmentId

        MedicalScribeTranscriptSegment.Builder segmentId​(String segmentId)

        The identifier of the segment.

        Parameters:
        segmentId - The identifier of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beginAudioTime

        MedicalScribeTranscriptSegment.Builder beginAudioTime​(Double beginAudioTime)

        The start time, in milliseconds, of the segment.

        Parameters:
        beginAudioTime - The start time, in milliseconds, of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endAudioTime

        MedicalScribeTranscriptSegment.Builder endAudioTime​(Double endAudioTime)

        The end time, in milliseconds, of the segment.

        Parameters:
        endAudioTime - The end time, in milliseconds, of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        MedicalScribeTranscriptSegment.Builder content​(String content)

        Contains transcribed text of the segment.

        Parameters:
        content - Contains transcribed text of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • items

        MedicalScribeTranscriptSegment.Builder items​(MedicalScribeTranscriptItem... items)

        Contains words, phrases, or punctuation marks in your segment.

        Parameters:
        items - Contains words, phrases, or punctuation marks in your segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isPartial

        MedicalScribeTranscriptSegment.Builder isPartial​(Boolean isPartial)

        Indicates if the segment is complete.

        If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.

        Parameters:
        isPartial - Indicates if the segment is complete.

        If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelId

        MedicalScribeTranscriptSegment.Builder channelId​(String channelId)

        Indicates which audio channel is associated with the MedicalScribeTranscriptSegment.

        If MedicalScribeChannelDefinition is not provided in the MedicalScribeConfigurationEvent, then this field will not be included.

        Parameters:
        channelId - Indicates which audio channel is associated with the MedicalScribeTranscriptSegment.

        If MedicalScribeChannelDefinition is not provided in the MedicalScribeConfigurationEvent, then this field will not be included.

        Returns:
        Returns a reference to this object so that method calls can be chained together.