Interface MedicalScribeTranscriptSegment.Builder

  • Method Details

    • 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

      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

      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.
    • 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.
    • items

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

      This is a convenience method that creates an instance of the MedicalScribeTranscriptItem.Builder avoiding the need to create one manually via MedicalScribeTranscriptItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<MedicalScribeTranscriptItem>).

      Parameters:
      items - a consumer that will call methods on MedicalScribeTranscriptItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.