pub struct MedicalTranscriptionJob {Show 15 fields
pub completion_time: Option<f64>,
pub content_identification_type: Option<String>,
pub creation_time: Option<f64>,
pub failure_reason: Option<String>,
pub language_code: Option<String>,
pub media: Option<Media>,
pub media_format: Option<String>,
pub media_sample_rate_hertz: Option<i64>,
pub medical_transcription_job_name: Option<String>,
pub settings: Option<MedicalTranscriptionSetting>,
pub specialty: Option<String>,
pub start_time: Option<f64>,
pub transcript: Option<MedicalTranscript>,
pub transcription_job_status: Option<String>,
pub type_: Option<String>,
}
Expand description
The data structure that contains the information for a medical transcription job.
Fields
completion_time: Option<f64>
A timestamp that shows when the job was completed.
content_identification_type: Option<String>
Shows the type of content that you've configured Amazon Transcribe Medical to identify in a transcription job. If the value is PHI
, you've configured the job to identify personal health information (PHI) in the transcription output.
creation_time: Option<f64>
A timestamp that shows when the job was created.
failure_reason: Option<String>
If the TranscriptionJobStatus
field is FAILED
, this field contains information about why the job failed.
The FailureReason
field contains one of the following values:
-
Unsupported media format
- The media format specified in theMediaFormat
field of the request isn't valid. See the description of theMediaFormat
field for a list of valid values. -
The media format provided does not match the detected media format
- The media format of the audio file doesn't match the format specified in theMediaFormat
field in the request. Check the media format of your media file and make sure the two values match. -
Invalid sample rate for audio file
- The sample rate specified in theMediaSampleRateHertz
of the request isn't valid. The sample rate must be between 8000 and 48000 Hertz. -
The sample rate provided does not match the detected sample rate
- The sample rate in the audio file doesn't match the sample rate specified in theMediaSampleRateHertz
field in the request. Check the sample rate of your media file and make sure that the two values match. -
Invalid file size: file size too large
- The size of your audio file is larger than what Amazon Transcribe Medical can process. For more information, see Guidelines and Quotas in the Amazon Transcribe Medical Guide -
Invalid number of channels: number of channels too large
- Your audio contains more channels than Amazon Transcribe Medical is configured to process. To request additional channels, see Amazon Transcribe Medical Endpoints and Quotas in the Amazon Web Services General Reference
language_code: Option<String>
The language code for the language spoken in the source audio file. US English (en-US) is the only supported language for medical transcriptions. Any other value you enter for language code results in a BadRequestException
error.
media: Option<Media>
media_format: Option<String>
The format of the input media file.
media_sample_rate_hertz: Option<i64>
The sample rate, in Hertz, of the source audio containing medical information.
If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the MediaSampleHertz
blank and let Amazon Transcribe Medical determine the sample rate.
medical_transcription_job_name: Option<String>
The name for a given medical transcription job.
settings: Option<MedicalTranscriptionSetting>
Object that contains object.
specialty: Option<String>
The medical specialty of any clinicians providing a dictation or having a conversation. PRIMARYCARE
is the only available setting for this object. This specialty enables you to generate transcriptions for the following medical fields:
-
Family Medicine
start_time: Option<f64>
A timestamp that shows when the job started processing.
transcript: Option<MedicalTranscript>
An object that contains the MedicalTranscript
. The MedicalTranscript
contains the TranscriptFileUri
.
transcription_job_status: Option<String>
The completion status of a medical transcription job.
type_: Option<String>
The type of speech in the transcription job. CONVERSATION
is generally used for patient-physician dialogues. DICTATION
is the setting for physicians speaking their notes after seeing a patient. For more information, see how-it-works-med
Trait Implementations
sourceimpl Clone for MedicalTranscriptionJob
impl Clone for MedicalTranscriptionJob
sourcefn clone(&self) -> MedicalTranscriptionJob
fn clone(&self) -> MedicalTranscriptionJob
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MedicalTranscriptionJob
impl Debug for MedicalTranscriptionJob
sourceimpl Default for MedicalTranscriptionJob
impl Default for MedicalTranscriptionJob
sourcefn default() -> MedicalTranscriptionJob
fn default() -> MedicalTranscriptionJob
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MedicalTranscriptionJob
impl<'de> Deserialize<'de> for MedicalTranscriptionJob
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<MedicalTranscriptionJob> for MedicalTranscriptionJob
impl PartialEq<MedicalTranscriptionJob> for MedicalTranscriptionJob
sourcefn eq(&self, other: &MedicalTranscriptionJob) -> bool
fn eq(&self, other: &MedicalTranscriptionJob) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MedicalTranscriptionJob) -> bool
fn ne(&self, other: &MedicalTranscriptionJob) -> bool
This method tests for !=
.
impl StructuralPartialEq for MedicalTranscriptionJob
Auto Trait Implementations
impl RefUnwindSafe for MedicalTranscriptionJob
impl Send for MedicalTranscriptionJob
impl Sync for MedicalTranscriptionJob
impl Unpin for MedicalTranscriptionJob
impl UnwindSafe for MedicalTranscriptionJob
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more