Extract Sleep Study Workup
Perform Extract Sleep Study Workup through GenHealth.
genhealth_extract_sleep_study_workupwrite
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "GenHealth",
"params": {
"force": false
},
"handler": "genhealth_extract_sleep_study_workup"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Force
forcebooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessdocument_idDocument IdcachedCacheddocument_kindDocument Kindvisit_dateVisit Dateplan_orders_sleep_studyPlan Orders Sleep StudycomorbiditiesComorbiditiescomorbidity_listComorbidity Liststudy_start_dateStudy Start Datestudy_end_dateStudy End Datestudy_settingStudy Settingahi_readingsAhi Readingsahi_4_percentAhi 4 Percentahi_3_percentAhi 3 Percentahi_unspecifiedAhi UnspecifiedreasonReasonerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"document_id"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"cached": {},
"reason": {},
"success": {},
"visit_date": {},
"document_id": {},
"ahi_readings": {},
"ahi_3_percent": {},
"ahi_4_percent": {},
"comorbidities": {},
"document_kind": {},
"study_setting": {},
"study_end_date": {},
"ahi_unspecified": {},
"comorbidity_list": {},
"study_start_date": {},
"plan_orders_sleep_study": {}
},
"additionalProperties": true
}