Case
Case Compose
Case Compose - Section Narrative
Compose a Narrative based on name, age, gender, section, and teaching points
Request Body
Name
Type
Description
stringcurl --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"
}'import requests
import json
url = "http://dev-api.med2lab.com/external/v1/case/compose/"
payload = json.dumps({
"name": "Peter",
"age": "6 years old",
"gender": "Male",
"section": "narrative",
"teaching_points": "Diagnose of DKA in a pediatric patient",
"model": "gpt-4"
})
headers = {
'Authorization': 'Bearer PHApOPl7xtqc2ZEqg6c6AcL34DYOQk',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Case Compose - Section Vital Signs
Compose a Vital Signs based on name, age, gender, section, other sections, and teaching points
Request Body
Name
Type
Description
Case Compose - Section Exam
Compose a Exam based on name, age, gender, section, other sections, and teaching points
Request Body
Name
Type
Description
Last updated