Set Prescription Dates
Perform Set Prescription Dates through NikoHealth.
nikohealth_set_prescription_datesUse 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": "NikoHealth",
"params": {
"verify": true,
"dry_run": false,
"skip_if_unchanged": true
},
"handler": "nikohealth_set_prescription_dates"
}Inputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Prescription Id
prescription_idexpressionrequiredRequired literal value or workflow expression.
- Effective Date
effective_dateexpressionrequiredRequired literal value or workflow expression.
- Length Of Need Months
length_of_need_monthsexpressionOptional literal value or workflow expression.
- Skip If Unchanged
skip_if_unchangedbooleanOptional true-or-false value.
Default:
true - Dry Run
dry_runbooleanOptional true-or-false value.
Default:
false - Verify
verifybooleanOptional true-or-false value.
Default:
true
Outputs
successSuccessprescription_idPrescription Idprevious_effective_datePrevious Effective Dateeffective_dateEffective Datelength_of_need_monthsLength Of Need MonthschangedChangedverifiedVerifiedexpiry_dateExpiry DatestatusStatusdry_runDry RunskippedSkippedmessageMessageerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- Yes
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"patient_id",
"prescription_id",
"effective_date"
],
"properties": {
"verify": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"dry_run": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"patient_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"effective_date": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"prescription_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"skip_if_unchanged": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"length_of_need_months": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"status": {},
"changed": {},
"dry_run": {},
"message": {},
"skipped": {},
"success": {},
"verified": {},
"expiry_date": {},
"effective_date": {},
"prescription_id": {},
"length_of_need_months": {},
"previous_effective_date": {}
},
"additionalProperties": true
}