Generate a note asynchronously
POST/digest_async
Digests a list of transcript items and produces a structured clinical note.
Requestā
- application/json
Body
required
Array [
]
Array [
]
Specifies which items you want us to send you back. In other words, which feature(s) you want to use, for now only note generation is available.
Possible values: [note]
Language of the given transcript and the desired note ('fr' and 'en' are deprecated, and correspond to 'fr-FR' and 'en-US' respectively. Generating a note in 'es-ES' and 'es-MX' is not supported and will be soon removed).
Possible values: [fr, en, en-US, en-GB, fr-FR, es-ES, es-MX]
en-UStranscript_items
object[]required
The transcribed text.
Also, Iām allergic to peanuts.Who said the text in this transcript item.
Possible values: [doctor, patient, unspecified]
doctorChoose a desired style for note sections:
⢠paragraphs: Prioritizes generating paragraphs;
⢠bullet_points: Prioritizes structuring content using bullet points.
⢠auto: Automatically picks the most natural formatting option.
Default is auto.
Possible values: [auto, paragraphs, bullet_points]
paragraphsFlag to structure the content of the note sections according to distinct clinical problems or topics addressed during the consultation.
When this flag is enabled, the text within some sections of the clinical note is organized into subsections, each corresponding to a specific problem or topic. This format aims to enhance the clarity and organization of the clinical note, making it easier to read and understand the different issues discussed during the consultation.
Important: Currently, the application of this flag is limited to the HISTORY_OF_PRESENT_ILLNESS and SOAP_SUBJECTIVE sections and is only effective when the language is set to English (US or GB).
falseThe desired template of the generated note.
Some templates are only available in specific languages. Check Note template for details.
Possible values: [GENERAL_MEDICINE, GENERAL_MEDICINE_AP_MERGED, CARDIOLOGY, PSYCHIATRY, DIET, PSYCHOLOGY, SOAP, GENERAL_MEDICINE_WCC, SOAP_WCC, GENERAL_MEDICINE_EMERGENCY, SOAP_EMERGENCY]
GENERAL_MEDICINEnote object
sections
object[]required
A key identifying a section of a note. The set of possible keys depend on the template that is used. Check Note template for possible values.
Possible values: [ALLERGIES, APPOINTMENTS, ASSESSMENT, ASSESSMENT_AND_PLAN, CARDIOVASCULAR_RISKS, CHIEF_COMPLAINT, CURRENT_MEDICATIONS, DIET_APPOINTMENTS, DIET_CHIEF_COMPLAINT, DIET_HABITS, DIET_LIFESTYLE, DIET_MEDICAL_HISTORY, DIET_OBJECTIVES, DIET_VITALS, FAMILY_HISTORY, HISTORY_OF_PRESENT_ILLNESS, IMAGING_RESULTS, IMMUNIZATIONS, LAB_RESULTS, MENTAL_HEALTH_EXAM, MENTAL_HEALTH_HISTORY, PAST_MEDICAL_HISTORY, PAST_OBSTETRIC_HISTORY, PAST_SURGICAL_HISTORY, PHYSICAL_EXAM, PLAN, PRESCRIPTION, PSYCHOLOGY_HISTORY_OF_COMPLAINT, SOAP_ASSESSMENT, SOAP_OBJECTIVE, SOAP_PLAN, SOAP_SUBJECTIVE, SOCIAL_HISTORY, VITALS, WELL_CHILD_CARE]
CHIEF_COMPLAINTThe section title.
Chief complaintContent of the note section (required).
Sleep disorderSome contextual information that will be used to generate the note (for example name, gender, age, pronouns, medical history) [BETA].
Possible values: <= 700 characters
Once we are done processing the input and generating the note, we will call you back with a 'POST' on this URL and a Json body respecting exactly the same schema as the response of the synchronous equivalent endpoint (i.e. /copilot/digest).
An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.
Note: this id must be different for every request. It is recommended to use a randomly generated UUID.
Possible values: <= 128 characters
Responsesā
- 200
- 299
- application/json
- Schema
- Example (from schema)
Schema
The id of the request you just created.
98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6The provided client_request_id.
{
"request_id": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"client_request_id": "string"
}
- application/json
- Schema
Schema
- success
- error
Array [
]
Array [
]
The id of the async request.
98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6The client_request_id provided in the request.
note
object
required
Title of the note.
Fever and strong headachesections
object[]
required
A key identifying a section of a note. The set of possible keys depend on the template that is used. Check Note template for possible values.
Possible values: [ALLERGIES, APPOINTMENTS, ASSESSMENT, ASSESSMENT_AND_PLAN, CARDIOVASCULAR_RISKS, CHIEF_COMPLAINT, CURRENT_MEDICATIONS, DIET_APPOINTMENTS, DIET_CHIEF_COMPLAINT, DIET_HABITS, DIET_LIFESTYLE, DIET_MEDICAL_HISTORY, DIET_OBJECTIVES, DIET_VITALS, FAMILY_HISTORY, HISTORY_OF_PRESENT_ILLNESS, IMAGING_RESULTS, IMMUNIZATIONS, LAB_RESULTS, MENTAL_HEALTH_EXAM, MENTAL_HEALTH_HISTORY, PAST_MEDICAL_HISTORY, PAST_OBSTETRIC_HISTORY, PAST_SURGICAL_HISTORY, PHYSICAL_EXAM, PLAN, PRESCRIPTION, PSYCHOLOGY_HISTORY_OF_COMPLAINT, SOAP_ASSESSMENT, SOAP_OBJECTIVE, SOAP_PLAN, SOAP_SUBJECTIVE, SOCIAL_HISTORY, VITALS, WELL_CHILD_CARE]
CHIEF_COMPLAINTThe section title.
Chief complaintContent of the note section.
Sleep disordersuggested_dot_phrases
object[]
dot_phrase
object
Unique identifier of the Dot Phrase.
A user-friendly title for the Dot Phrase. Does not impact the matching logic.
Normal physical examThe text which, if present in the transcript, will prompt the suggestion of this Dot Phrase.
Your physical exam is normalIf true, whenever this dot phrase is suggested, the replacement text will be automatically updated based on the encounter discussion.
falseThe replacement text for this Dot Phrase. If the Dot Phrase's trigger is detected, this text will be suggested in the note generation's response.
- Heart Examination: Normal, with regular rate and rhythm, no murmurs. - Lung Assessment: Normal breath sounds, no wheezes, crackles, or rhonchi. - Abdominal Evaluation: Normal, no tenderness, masses, or hepatosplenomegaly.note_section
object
A key identifying a section of a note. The set of possible keys depend on the template that is used. Check Note template for possible values.
Possible values: [ALLERGIES, APPOINTMENTS, ASSESSMENT, ASSESSMENT_AND_PLAN, CARDIOVASCULAR_RISKS, CHIEF_COMPLAINT, CURRENT_MEDICATIONS, DIET_APPOINTMENTS, DIET_CHIEF_COMPLAINT, DIET_HABITS, DIET_LIFESTYLE, DIET_MEDICAL_HISTORY, DIET_OBJECTIVES, DIET_VITALS, FAMILY_HISTORY, HISTORY_OF_PRESENT_ILLNESS, IMAGING_RESULTS, IMMUNIZATIONS, LAB_RESULTS, MENTAL_HEALTH_EXAM, MENTAL_HEALTH_HISTORY, PAST_MEDICAL_HISTORY, PAST_OBSTETRIC_HISTORY, PAST_SURGICAL_HISTORY, PHYSICAL_EXAM, PLAN, PRESCRIPTION, PSYCHOLOGY_HISTORY_OF_COMPLAINT, SOAP_ASSESSMENT, SOAP_OBJECTIVE, SOAP_PLAN, SOAP_SUBJECTIVE, SOCIAL_HISTORY, VITALS, WELL_CHILD_CARE]
CHIEF_COMPLAINTSection title.
Assessment & Plan.The actual suggested content, to be inserted in the corresponding note section. Please note that the content might be different from the replacement in the original Dot Phrase definition. In fact, the text_to_insert takes into account the contextual information of the encounter and might change the original Dot Phrase replacement text, for instance to include exceptions.
- Heart Examination: Normal, with regular rate and rhythm, no murmurs.
- Lung Assessment: Normal breath sounds, no wheezes, crackles, or rhonchi.
- Abdominal Evaluation: Normal, no tenderness, masses, or hepatosplenomegaly.
The id of the async request.
98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6The client_request_id provided in the request.
422We can't generate the note when the transcript is too short.