Case

Case Compose

Case Compose - Section Narrative

Compose a Narrative based on name, age, gender, section, and teaching points

POST https://api-qa.med2lab.com/external/v1/case/compose/

Request Body

Name
Type
Description

name*

string

Patient name

age*

string

Patient age

gender*

string

Patient gender

section*

string

"narrative" teaching_points string Teaching points of generated case

model*

String

"gpt-3.5-turbo", "gpt-4"... from OpenAI

string
curl --location 'http://dev-api.med2lab.com/external/v1/case/compose/' \
--header 'Authorization: Bearer PHApOPl7xtqc2ZEqg6c6AcL34DYOQk' \
--header 'Content-Type: application/json' \
--data '{
    "name": "Peter",
    "age": "6 years old",
    "gender": "Male",
    "section": "narrative",
    "teaching_points": "Diagnose of DKA in a pediatric patient",
    "model": "gpt-4"
}'

Case Compose - Section Vital Signs

Compose a Vital Signs based on name, age, gender, section, other sections, and teaching points

POST https://api-qa.med2lab.com/external/v1/case/compose/

Request Body

Name
Type
Description

name*

string

Patient name

age*

string

The id of the user who owns the pet

gender*

string

Patient gender

section*

string

"vital_signs" teaching_points string Teaching points of generated case other_sections string other sections such as narrative...

model*

string

"gpt-3.5-turbo", "gpt-4"... from OpenAI

packaged*

boolean

True returns a formatted JSON for vital signs. False only returns a string.

Case Compose - Section Exam

Compose a Exam based on name, age, gender, section, other sections, and teaching points

POST https://api-qa.med2lab.com/external/v1/case/compose/

Request Body

Name
Type
Description

name*

string

Patient name

age*

string

Patient age

gender*

string

Patient gender

section*

string

"exam" teaching_points string Teaching points of generated case other_sections string other sections such as narrative...

model*

String

"gpt-3.5-turbo", "gpt-4"... from OpenAI

packaged*

boolean

True returns a formatted JSON for exam name and exam finding. False only returns a string.

Last updated