Check Encounter Visit Type
Perform Check Encounter Visit Type through GenHealth - Checks.
check_encounter_visit_typewrite
Inputs
- Encounter
encounterexpressionOptional literal value or workflow expression.
- Match Types
match_typesjsonOptional JSON value.
Default:
["NP Consult"]
Outputs
is_matchIs MatchmatchedMatchedvisit_typeVisit Type
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",
"properties": {
"encounter": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"match_types": {
"default": [
"NP Consult"
],
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"matched": {},
"is_match": {},
"visit_type": {}
},
"additionalProperties": true
}