Ontario Health eForms Implementation Guide
0.1.0 - ci-build CA-ON

Ontario Health eForms Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

OperationDefinition: [base]/PlanDefinition/[id]/$instantiateFormWorkflow

Official URL: http://ontario.ca/fhir/eforms/OperationDefinition/InstantiateFormWorkflow Version: 0.1.0
Draft as of 2025-07-04 Computable Name: InstantiateFormWorkflow

Instantiates the eform Workflow by creating a ServiceRequesta as well as all required Tasks, as defined by the Plan Definition.activity[]. The Service Request Questionnaire extension provides the reference(s) to the assoicated Quesstionnaires.

The operation persists all resources derived from the associate Paln Definition in the Repository and then returns a collection Bundle snapshot (plus an optional OperationOutcome).

URL: [base]/PlanDefinition/[id]/$instantiateFormWorkflow

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INsubject1..1Reference (Patient Profile)

The individual who is the subject of the eForm. Sourced from CMS when possible

INrequester0..1Reference (PractitionerRole Profile, Organization Profile)

The Organization (or PractionerRole) placing the ServiceRequest. They are the initiators of the eForms workflow

INperformer0..1Reference (PractitionerRole Profile, Organization Profile)

The Organization (or PractionerRole) who will be assigned the ServiceRequest. They will be required to complete (at least one) QuestionnaireResponse

OUTbundle1..1Bundle

A Bundle of type collection containing the persisted ServiceRequest as the first entry and all associated Task resources as subsequent entries.
Clients should treat the bundle as a read‑only snapshot of the workflow that has just been created.

OUToutcome0..1OperationOutcome

Optional OperationOutcome conveying warnings or informational messages.