FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/CDSHookOrderDispatchContext

Packagehl7.fhir.uv.tools
Resource TypeStructureDefinition
IdCDSHookOrderDispatchContext
FHIR VersionR5
Sourcehttp://hl7.org/fhir/tools/https://build.fhir.org/ig/FHIR/fhir-tools-ig/StructureDefinition-CDSHookOrderDispatchContext.html
URLhttp://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext
Version0.7.1
Statusdraft
Date2025-07-29T19:07:22+00:00
NameCDSHookOrderDispatchContext
TitleCDS Hooks Specific Context for order-dispatch (Logical Definition)
Realmuv
Authorityhl7
DescriptionThis 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
Typehttp://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext
Kindlogical

Resources that use this resource

StructureDefinition
CRDOrderDispatchContextCRD CDS Hooks Specific Context for order-dispatch (Logical Definition)

Resources that this resource uses

StructureDefinition
CDSHookContextCDS Hook Specific Context (Logical Definition)

Narrative

Note: links and images are rebased to the (stated) source


English


Generated Narrative: StructureDefinition CDSHookOrderDispatchContext

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderDispatchContext 0..*CDSHookContextThe context for the order-dispatch hook
... patientId 1..1idThe FHIR Patient.id of the current patient in context
... dispatchedOrders 1..1BundleFHIR Bundle of Request resources
Id may or not be present (this is the default for elements but not resources)
... performer 0..1urlWho orders are dispatched to in form [ResourceType]/[ResourceId]
... fulfillmentTasks 0..1BundleFHIR Bundle of Task resources
Id may or not be present (this is the default for elements but not resources)

doco Documentation for this format

Spanish


Generated Narrative: StructureDefinition CDSHookOrderDispatchContext

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderDispatchContext 0..*CDSHookContextThe context for the order-dispatch hook
... patientId 1..1idThe FHIR Patient.id of the current patient in context
... dispatchedOrders 1..1BundleFHIR Bundle of Request resources
Id may or not be present (this is the default for elements but not resources)
... performer 0..1urlWho orders are dispatched to in form [ResourceType]/[ResourceId]
... fulfillmentTasks 0..1BundleFHIR Bundle of Task resources
Id may or not be present (this is the default for elements but not resources)

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "CDSHookOrderDispatchContext",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "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": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/tools/ImplementationGuide/hl7.fhir.uv.tools"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.1.42.73"
    }
  ],
  "version": "0.7.1",
  "name": "CDSHookOrderDispatchContext",
  "title": "CDS Hooks Specific Context for order-dispatch (Logical Definition)",
  "status": "draft",
  "experimental": true,
  "date": "2025-07-29T19:07:22+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "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",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext",
  "baseDefinition": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookContext",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.7.1"
      }
    ],
    "element": [
      {
        "id": "CDSHookOrderDispatchContext",
        "path": "CDSHookOrderDispatchContext",
        "short": "The context for the order-dispatch hook",
        "definition": "The context (hook specific)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.patientId",
        "path": "CDSHookOrderDispatchContext.patientId",
        "short": "The FHIR Patient.id of the current patient in context",
        "definition": "The FHIR Patient.id of the current patient in context",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHookOrderDispatchContext.patientId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.dispatchedOrders",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
            "valueCode": "optional"
          }
        ],
        "path": "CDSHookOrderDispatchContext.dispatchedOrders",
        "short": "FHIR Bundle of Request resources",
        "definition": "Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. `ServiceRequest/123`",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHookOrderDispatchContext.dispatchedOrders",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Bundle"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.performer",
        "path": "CDSHookOrderDispatchContext.performer",
        "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`",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CDSHookOrderDispatchContext.performer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "url"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.fulfillmentTasks",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
            "valueCode": "optional"
          }
        ],
        "path": "CDSHookOrderDispatchContext.fulfillmentTasks",
        "short": "FHIR Bundle of Task resources",
        "definition": "FHIR Bundle of Task resources",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CDSHookOrderDispatchContext.fulfillmentTasks",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Bundle"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "CDSHookOrderDispatchContext",
        "path": "CDSHookOrderDispatchContext",
        "short": "The context for the order-dispatch hook"
      },
      {
        "id": "CDSHookOrderDispatchContext.patientId",
        "path": "CDSHookOrderDispatchContext.patientId",
        "short": "The FHIR Patient.id of the current patient in context",
        "definition": "The FHIR Patient.id of the current patient in context",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.dispatchedOrders",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
            "valueCode": "optional"
          }
        ],
        "path": "CDSHookOrderDispatchContext.dispatchedOrders",
        "short": "FHIR Bundle of Request resources",
        "definition": "Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. `ServiceRequest/123`",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Bundle"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.performer",
        "path": "CDSHookOrderDispatchContext.performer",
        "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`",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "url"
          }
        ]
      },
      {
        "id": "CDSHookOrderDispatchContext.fulfillmentTasks",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
            "valueCode": "optional"
          }
        ],
        "path": "CDSHookOrderDispatchContext.fulfillmentTasks",
        "short": "FHIR Bundle of Task resources",
        "definition": "FHIR Bundle of Task resources",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Bundle"
          }
        ]
      }
    ]
  }
}