Skip to main content

getTranscription

The getTranscription function fetches the transcription for a specific consultation. The transcription is a text-based representation of the consultation, typically generated by speech recognition or manual input.

Parameters

  • consultation_id: (number) - The ID of the consultation for which the transcription is being fetched.

Returns

  • Promise<ResponseType<Transcription>>: A promise that resolves with a Transcription object containing the text of the consultation.

Fields

  • transcript: (string?) - The full text of the consultation's transcription.

Example Usage

const transcription = await getTranscription(12345);
console.log(transcription.data.transcript); // Output: "Patient reported mild chest pain and shortness of breath."