PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-crd@2.2.0-ballot
    http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDOrderDispatchContext
{
  "description": "CRD-specific constraints on the order-dispatch CDS Hook context",
  "_filename": "StructureDefinition-CRDOrderDispatchContext.json",
  "package_name": "hl7.fhir.us.davinci-crd",
  "date": "2025-08-06T17:27:13+00:00",
  "derivation": "constraint",
  "publisher": "HL7 International / Financial Management",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "CRDOrderDispatchContext",
  "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": "CRD CDS Hooks Specific Context for order-dispatch (Logical Definition)",
  "package_version": "2.2.0-ballot",
  "extension": [ {
    "url": "http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype",
    "valueBoolean": true
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "fm"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "informative",
    "_valueCode": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd"
      } ]
    }
  } ],
  "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": "A container for a collection of resources.",
      "short": "Contains a collection of resources",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "ClinicalDocument, if bundle.type = document",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Bundle",
        "profile": [ "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-request" ]
      } ],
      "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": "url"
      } ],
      "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": "A container for a collection of resources.",
      "short": "Contains a collection of resources",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "ClinicalDocument, if bundle.type = document",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Bundle",
        "profile": [ "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-task" ]
      } ],
      "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": "cf9f9090-e2e3-4580-ada1-9e32ec901789",
  "kind": "logical",
  "url": "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDOrderDispatchContext",
  "identifier": [ {
    "value": "urn:oid:2.16.840.1.113883.4.642.40.18.42.36",
    "system": "urn:ietf:rfc:3986"
  } ],
  "version": "2.2.0-ballot",
  "differential": {
    "element": [ {
      "id": "CDSHookOrderDispatchContext",
      "path": "CDSHookOrderDispatchContext"
    }, {
      "id": "CDSHookOrderDispatchContext.dispatchedOrders",
      "path": "CDSHookOrderDispatchContext.dispatchedOrders",
      "type": [ {
        "code": "Bundle",
        "profile": [ "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-request" ]
      } ]
    }, {
      "id": "CDSHookOrderDispatchContext.fulfillmentTasks",
      "path": "CDSHookOrderDispatchContext.fulfillmentTasks",
      "type": [ {
        "code": "Bundle",
        "profile": [ "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-task" ]
      } ]
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/fm",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext"
}