Generate a note
POST/generate-note
Generate a structured clinical note given the transcript.
Requestā
- application/json
Body
required
Array [
]
Array [
]
Array [
]
Locale of the note.
Possible values: [en-US
, en-GB
, fr-FR
]
en-US
transcript_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
]
doctor
The 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_MEDICINE
note_sections_customization
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_COMPLAINT
Specifies the desired style for the note section:
⢠PARAGRAPH
: 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
, PARAGRAPH
, BULLET_POINTS
]
PARAGRAPHS
Specifies the desired level of details. Use detailed
to get more details in the note section.
Possible values: [DEFAULT
, DETAILED
]
Flag to structure the content of the note sections according to distinct clinical problems or topics addressed during the consultation.
previous_note
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_COMPLAINT
The section title.
Chief complaint
Content of the note section (required).
Sleep disorder
Some contextual information that will be used to generate the note (for example name, gender, age, pronouns, medical history) [BETA].
Possible values: <= 700 characters
Responsesā
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
note
object
required
Title of the note.
Fever and strong headache
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_COMPLAINT
The section title.
Chief complaint
Content of the note section.
Sleep disorder
suggested_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 exam
The text which, if present in the transcript, will prompt the suggestion of this Dot Phrase.
Your physical exam is normal
If true, whenever this dot phrase is suggested, the replacement text will be automatically updated based on the encounter discussion.
false
The 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_COMPLAINT
Section 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.
{
"note": [
{
"key": "CHIEF_COMPLAINT",
"title": "Chief complaint",
"text": "Fatigue and headaches"
},
{
"key": "SYMPTOMS",
"title": "Symptoms",
"text": "- Tiredness all day long\n- Mild headaches on the right side"
}
],
"suggested_dot_phrases": [
{
"dot_phrase": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "Normal physical exam",
"trigger": "Your physical exam is normal",
"content_auto_update_enabled": false,
"replacement": "- 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": {
"key": "CHIEF_COMPLAINT",
"title": "Assessment & Plan."
},
"text_to_insert": "- Heart Examination: Normal, with regular rate and rhythm, no murmurs.\n- Lung Assessment: Normal breath sounds, no wheezes, crackles, or rhonchi.\n- Abdominal Evaluation: Normal, no tenderness, masses, or hepatosplenomegaly.\n"
}
]
}