OASIS
Save OASIS for a job
Getting Started
Workflow
Processors
Organizations
Patients
Voice Notes
Transcripts
- GETGet paginated finalized sentences for a voice note
- GETFetch details for multiple finalized sentences
- POSTSearch sentences by embedding
- POSTSave voice note audio
- POSTGenerate audio upload URL
- GETGenerate presigned voice note audio URL
- GETGet list of questions to check in transcripts
- GETGet the answered status of predefined questions for a voice note
Survey
Visits
OASIS
Save OASIS for a job
POST
/
v1
/
oasis
/
saveOasisForJob
curl --request POST \
--url https://app.enzo.health/api/v1/oasis/saveOasisForJob \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"voiceNoteId": "<string>",
"data": {},
"oasis": [
{
"sectionId": "<string>",
"sectionTitle": "<string>",
"sectionCode": "<string>",
"questions": [
{
"id": "<string>",
"code": "<string>",
"title": "<string>",
"description": "<string>",
"isAbstract": true,
"order": 123,
"parentId": "<string>",
"answerType": "<string>",
"dataType": "<string>",
"possibleAnswers": [
{
"id": "<string>",
"value": "<string>",
"title": "<string>",
"desc": "<string>"
}
],
"jobAnswer": {
"originalAnswer": "<string>",
"enzoAnswer": "<string>",
"finalAnswer": "<string>",
"reason": "<string>",
"originalOrder": 123,
"enzoOrder": 123
},
"oasisType": [
"SOC_ROC"
],
"sectionId": "<string>",
"dependentQuestionId": "<string>",
"skipValues": "<string>",
"skipIfNull": true
}
]
}
]
}'
{
"summaryId": "<string>",
"jobId": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Available options:
SOC_ROC
, FOLLOW_UP
, DISCHARGE
curl --request POST \
--url https://app.enzo.health/api/v1/oasis/saveOasisForJob \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"voiceNoteId": "<string>",
"data": {},
"oasis": [
{
"sectionId": "<string>",
"sectionTitle": "<string>",
"sectionCode": "<string>",
"questions": [
{
"id": "<string>",
"code": "<string>",
"title": "<string>",
"description": "<string>",
"isAbstract": true,
"order": 123,
"parentId": "<string>",
"answerType": "<string>",
"dataType": "<string>",
"possibleAnswers": [
{
"id": "<string>",
"value": "<string>",
"title": "<string>",
"desc": "<string>"
}
],
"jobAnswer": {
"originalAnswer": "<string>",
"enzoAnswer": "<string>",
"finalAnswer": "<string>",
"reason": "<string>",
"originalOrder": 123,
"enzoOrder": 123
},
"oasisType": [
"SOC_ROC"
],
"sectionId": "<string>",
"dependentQuestionId": "<string>",
"skipValues": "<string>",
"skipIfNull": true
}
]
}
]
}'
{
"summaryId": "<string>",
"jobId": "<string>"
}