Generate a note
POST/digest
Digests a list of transcript items and produces a structured clinical note.
Request
- application/json
Body
required
- Array [
- ]
- Array [
- ]
Possible values: [note
]
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: [fr
, en
, en-US
, en-GB
, fr-FR
, es-ES
, es-MX
]
Language of the given transcript and the desired note ('fr' and 'en' are deprecated, and correspond to 'fr-FR' and 'en-US' respectively).
transcript_items object[]required
The transcript from which to generate the note.
The transcribed text.
Possible values: [doctor
, patient
, unspecified
]
Who said the text in this transcript item.
Possible values: [highest_quality
, fastest
]
Choose a generation mode:
• highest_quality
: generates very high quality notes, might take up to one minute;
• fastest
: quicker note generation (few seconds), but might not give the best possible output.
Default is highest_quality
.
Possible values: [auto
, paragraphs
, bullet_points
]
Choose 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: [GENERAL_MEDICINE
, CARDIOLOGY
, PSYCHIATRY
, DIET
, PSYCHOLOGY
, SOAP
]
The desired template of the generated note. Default is GENERAL_MEDICINE
.
Check Note template for details.
note object
Optional initial Note to be enhanced using the new transcript_items
.
This is useful if you generate notes gradually to avoid accumulating a very long transcript items list.
Typically, this will be the last note Nabla generated for you along with the new transcript_items
that did not serve for its generation.
Important: This is expected to be a recent (up to few-hours old) Nabla-generated note. If the note is too old or altered, you will get an error.
sections object[]required
Sections of the note.
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.
The section title.
Content of the note section (required).
Responses
- 200
The generated note.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
note objectrequired
The generated note.
sections object[]required
Content of the note structured in multiple sections.
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.
The section title.
Content of the note section.
{
"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"
}
]
}