PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.tools.r3@0.8.0
    http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext
{
  "description": "This structure is defined to allow the FHIR Validator to validate a CDSHooks order-dispatch context. TODO: This content will be moved to the CDS Hooks specification in the future",
  "_filename": "StructureDefinition-CDSHookOrderDispatchContext.json",
  "package_name": "hl7.fhir.uv.tools.r3",
  "date": "2025-08-05T20:09:06+10:00",
  "derivation": "specialization",
  "publisher": "HL7 International / FHIR Infrastructure",
  "fhirVersion": "3.0.2",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": "CDSHookOrderDispatchContext",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "CDS Hooks Specific Context for order-dispatch (Logical Definition)",
  "package_version": "0.8.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 1
  }, {
    "url": "http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype",
    "valueBoolean": true
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "fhir"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "draft"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason",
    "valueCode": "Logical Models that have been modified for R3 are still draft while real-world experience is collected"
  } ],
  "snapshot": {
    "element": [ {
      "id": "CDSHookOrderDispatchContext",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      },
      "path": "CDSHookOrderDispatchContext",
      "short": "The context for the order-dispatch hook",
      "definition": "The context (hook specific)",
      "isModifier": false
    }, {
      "id": "CDSHookOrderDispatchContext.patientId",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "CDSHookOrderDispatchContext.patientId"
      },
      "path": "CDSHookOrderDispatchContext.patientId",
      "type": [ {
        "code": "id"
      } ],
      "short": "The FHIR Patient.id of the current patient in context",
      "definition": "The FHIR Patient.id of the current patient in context"
    }, {
      "path": "CDSHookOrderDispatchContext.dispatchedOrders",
      "min": 1,
      "definition": "Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. `ServiceRequest/123`",
      "short": "FHIR Bundle of Request resources",
      "type": [ {
        "code": "Bundle"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
        "valueCode": "optional"
      } ],
      "max": "1",
      "id": "CDSHookOrderDispatchContext.dispatchedOrders",
      "base": {
        "max": "1",
        "min": 1,
        "path": "CDSHookOrderDispatchContext.dispatchedOrders"
      }
    }, {
      "id": "CDSHookOrderDispatchContext.performer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "CDSHookOrderDispatchContext.performer"
      },
      "path": "CDSHookOrderDispatchContext.performer",
      "type": [ {
        "code": "uri"
      } ],
      "short": "Who orders are dispatched to in form [ResourceType]/[ResourceId]",
      "definition": "The FHIR local reference for the Practitioner, PractitionerRole, Organization, CareTeam, etc. who is being asked to execute the order. E.g. `Practitioner/456`"
    }, {
      "path": "CDSHookOrderDispatchContext.fulfillmentTasks",
      "min": 0,
      "definition": "FHIR Bundle of Task resources",
      "short": "FHIR Bundle of Task resources",
      "type": [ {
        "code": "Bundle"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
        "valueCode": "optional"
      } ],
      "max": "1",
      "id": "CDSHookOrderDispatchContext.fulfillmentTasks",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CDSHookOrderDispatchContext.fulfillmentTasks"
      }
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "0.8.0"
    } ]
  },
  "status": "draft",
  "id": "51d0dfd4-6be5-4dc7-8e70-e6f7dbf93812",
  "kind": "logical",
  "url": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext",
  "identifier": [ {
    "value": "urn:oid:2.16.840.1.113883.4.642.40.1.42.73",
    "system": "urn:ietf:rfc:3986"
  } ],
  "version": "0.8.0",
  "differential": {
    "element": [ {
      "id": "CDSHookOrderDispatchContext",
      "path": "CDSHookOrderDispatchContext",
      "short": "The context for the order-dispatch hook"
    }, {
      "id": "CDSHookOrderDispatchContext.patientId",
      "max": "1",
      "min": 1,
      "path": "CDSHookOrderDispatchContext.patientId",
      "type": [ {
        "code": "id"
      } ],
      "short": "The FHIR Patient.id of the current patient in context",
      "definition": "The FHIR Patient.id of the current patient in context"
    }, {
      "id": "CDSHookOrderDispatchContext.dispatchedOrders",
      "max": "1",
      "min": 1,
      "path": "CDSHookOrderDispatchContext.dispatchedOrders",
      "type": [ {
        "code": "Bundle"
      } ],
      "short": "FHIR Bundle of Request resources",
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
        "valueCode": "optional"
      } ],
      "definition": "Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. `ServiceRequest/123`"
    }, {
      "id": "CDSHookOrderDispatchContext.performer",
      "max": "1",
      "min": 0,
      "path": "CDSHookOrderDispatchContext.performer",
      "type": [ {
        "code": "uri"
      } ],
      "short": "Who orders are dispatched to in form [ResourceType]/[ResourceId]",
      "definition": "The FHIR local reference for the Practitioner, PractitionerRole, Organization, CareTeam, etc. who is being asked to execute the order. E.g. `Practitioner/456`"
    }, {
      "id": "CDSHookOrderDispatchContext.fulfillmentTasks",
      "max": "1",
      "min": 0,
      "path": "CDSHookOrderDispatchContext.fulfillmentTasks",
      "type": [ {
        "code": "Bundle"
      } ],
      "short": "FHIR Bundle of Task resources",
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
        "valueCode": "optional"
      } ],
      "definition": "FHIR Bundle of Task resources"
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/fiwg",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookContext"
}