Class ClinicalNoteGenerationResult

    • Method Detail

      • clinicalNoteOutputLocation

        public final String clinicalNoteOutputLocation()

        Holds the Amazon S3 URI for the output Clinical Note.

        Returns:
        Holds the Amazon S3 URI for the output Clinical Note.
      • transcriptOutputLocation

        public final String transcriptOutputLocation()

        Holds the Amazon S3 URI for the output Transcript.

        Returns:
        Holds the Amazon S3 URI for the output Transcript.
      • status

        public final ClinicalNoteGenerationStatus status()

        The status of the clinical note generation.

        Possible Values:

        • IN_PROGRESS

        • FAILED

        • COMPLETED

        After audio streaming finishes, and you send a MedicalScribeSessionControlEvent event (with END_OF_SESSION as the Type), the status is set to IN_PROGRESS. If the status is COMPLETED, the analytics completed successfully, and you can find the results at the locations specified in ClinicalNoteOutputLocation and TranscriptOutputLocation. If the status is FAILED, FailureReason provides details about the failure.

        If the service returns an enum value that is not available in the current SDK version, status will return ClinicalNoteGenerationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the clinical note generation.

        Possible Values:

        • IN_PROGRESS

        • FAILED

        • COMPLETED

        After audio streaming finishes, and you send a MedicalScribeSessionControlEvent event (with END_OF_SESSION as the Type), the status is set to IN_PROGRESS. If the status is COMPLETED, the analytics completed successfully, and you can find the results at the locations specified in ClinicalNoteOutputLocation and TranscriptOutputLocation. If the status is FAILED, FailureReason provides details about the failure.

        See Also:
        ClinicalNoteGenerationStatus
      • statusAsString

        public final String statusAsString()

        The status of the clinical note generation.

        Possible Values:

        • IN_PROGRESS

        • FAILED

        • COMPLETED

        After audio streaming finishes, and you send a MedicalScribeSessionControlEvent event (with END_OF_SESSION as the Type), the status is set to IN_PROGRESS. If the status is COMPLETED, the analytics completed successfully, and you can find the results at the locations specified in ClinicalNoteOutputLocation and TranscriptOutputLocation. If the status is FAILED, FailureReason provides details about the failure.

        If the service returns an enum value that is not available in the current SDK version, status will return ClinicalNoteGenerationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the clinical note generation.

        Possible Values:

        • IN_PROGRESS

        • FAILED

        • COMPLETED

        After audio streaming finishes, and you send a MedicalScribeSessionControlEvent event (with END_OF_SESSION as the Type), the status is set to IN_PROGRESS. If the status is COMPLETED, the analytics completed successfully, and you can find the results at the locations specified in ClinicalNoteOutputLocation and TranscriptOutputLocation. If the status is FAILED, FailureReason provides details about the failure.

        See Also:
        ClinicalNoteGenerationStatus
      • failureReason

        public final String failureReason()

        If ClinicalNoteGenerationResult is FAILED, information about why it failed.

        Returns:
        If ClinicalNoteGenerationResult is FAILED, information about why it failed.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)