PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-ereferral-econsult@0.11.1-alpha1.0.2
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader
{
  "description": "The header for a message exchange that is either requesting or responding to an action. The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.\\r\\nTo enable sending system insert its own identifiers into API submitted eReferral, and have that returned with subsequent messages, an extension is created on the MessageHeader.identifier element for referral id.",
  "_filename": "ca-on-eReferral-profile-MessageHeader-v-11.json",
  "package_name": "ca.on.oh-ereferral-econsult",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "EReferralMessageHeader",
  "abstract": false,
  "type": "MessageHeader",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "MessageHeader",
  "package_version": "0.11.1-alpha1.0.2",
  "status": "draft",
  "id": "5fd7a1ce-6c87-4dac-a292-563fb1d2ab1b",
  "kind": "resource",
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader",
  "version": "1.0.1",
  "differential": {
    "element": [ {
      "id": "MessageHeader.id",
      "min": 1,
      "path": "MessageHeader.id"
    }, {
      "id": "MessageHeader.meta",
      "min": 1,
      "path": "MessageHeader.meta",
      "mustSupport": true
    }, {
      "id": "MessageHeader.meta.profile",
      "min": 1,
      "path": "MessageHeader.meta.profile",
      "comment": "#### **_` FOR eREFERRAL USAGE: The meta.profile = http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader|1.0.0 `_**\r\n\r\nIt is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension",
      "path": "MessageHeader.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MessageHeader.extension:RoutingOptions",
      "max": "*",
      "min": 0,
      "path": "MessageHeader.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options" ]
      } ],
      "sliceName": "RoutingOptions",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:RoutingOptions.value[x]",
      "path": "MessageHeader.extension.value[x]",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:RoutingOptions.value[x].coding",
      "path": "MessageHeader.extension.value[x].coding",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types"
      },
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:RoutingOptions.value[x].coding.system",
      "path": "MessageHeader.extension.value[x].coding.system",
      "fixedUri": "http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:RoutingOptions.value[x].coding.code",
      "path": "MessageHeader.extension.value[x].coding.code",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:RoutingOptions.value[x].coding.display",
      "path": "MessageHeader.extension.value[x].coding.display",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier",
      "min": 0,
      "path": "MessageHeader.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier" ]
      } ],
      "sliceName": "ReferralIdentifier",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x]",
      "path": "MessageHeader.extension.value[x]",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].type",
      "path": "MessageHeader.extension.value[x].type",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types"
      },
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].type.coding",
      "path": "MessageHeader.extension.value[x].type.coding",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types"
      },
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].type.coding.system",
      "path": "MessageHeader.extension.value[x].type.coding.system",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].type.coding.code",
      "path": "MessageHeader.extension.value[x].type.coding.code",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].type.coding.display",
      "path": "MessageHeader.extension.value[x].type.coding.display",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].system",
      "min": 1,
      "path": "MessageHeader.extension.value[x].system",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ReferralIdentifier.value[x].value",
      "min": 1,
      "path": "MessageHeader.extension.value[x].value",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ContentType",
      "max": "1",
      "min": 0,
      "path": "MessageHeader.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type" ]
      } ],
      "sliceName": "ContentType",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ContentType.value[x]",
      "path": "MessageHeader.extension.value[x]",
      "mustSupport": true
    }, {
      "id": "MessageHeader.extension:ContentType.value[x].code",
      "path": "MessageHeader.extension.value[x].code",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://ehealthontario.ca/fhir/ValueSet/content-type"
      },
      "mustSupport": true
    }, {
      "id": "MessageHeader.event[x]",
      "max": "1",
      "min": 1,
      "path": "MessageHeader.event[x]",
      "slicing": {
        "rules": "closed",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "MessageHeader.event[x]:eventCoding",
      "path": "MessageHeader.event[x]",
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ehealthontario.ca/fhir/ValueSet/message-event-code"
      },
      "sliceName": "eventCoding",
      "mustSupport": true
    }, {
      "id": "MessageHeader.event[x]:eventCoding.system",
      "path": "MessageHeader.event[x].system",
      "fixedUri": "https://ehealthontario.ca/fhir/CodeSystem/message-event-code",
      "mustSupport": true
    }, {
      "id": "MessageHeader.event[x]:eventCoding.code",
      "path": "MessageHeader.event[x].code",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ehealthontario.ca/fhir/ValueSet/message-event-code"
      },
      "mustSupport": true
    }, {
      "id": "MessageHeader.event[x]:eventCoding.display",
      "path": "MessageHeader.event[x].display",
      "mustSupport": true
    }, {
      "id": "MessageHeader.destination",
      "min": 1,
      "path": "MessageHeader.destination",
      "mustSupport": true
    }, {
      "id": "MessageHeader.destination.name",
      "path": "MessageHeader.destination.name",
      "mustSupport": true
    }, {
      "id": "MessageHeader.destination.target",
      "path": "MessageHeader.destination.target",
      "mustSupport": true
    }, {
      "id": "MessageHeader.destination.endpoint",
      "path": "MessageHeader.destination.endpoint",
      "mustSupport": true
    }, {
      "id": "MessageHeader.destination.receiver",
      "path": "MessageHeader.destination.receiver",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole" ]
      } ],
      "mustSupport": true
    }, {
      "id": "MessageHeader.author",
      "min": 1,
      "path": "MessageHeader.author",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole" ]
      } ],
      "mustSupport": true
    }, {
      "id": "MessageHeader.source",
      "path": "MessageHeader.source",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.name",
      "path": "MessageHeader.source.name",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.software",
      "path": "MessageHeader.source.software",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.version",
      "path": "MessageHeader.source.version",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.contact",
      "path": "MessageHeader.source.contact",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.contact.system",
      "path": "MessageHeader.source.contact.system",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.contact.value",
      "path": "MessageHeader.source.contact.value",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.contact.use",
      "path": "MessageHeader.source.contact.use",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.contact.rank",
      "path": "MessageHeader.source.contact.rank",
      "mustSupport": true
    }, {
      "id": "MessageHeader.source.endpoint",
      "path": "MessageHeader.source.endpoint",
      "mustSupport": true
    }, {
      "id": "MessageHeader.reason",
      "path": "MessageHeader.reason",
      "mustSupport": true
    }, {
      "id": "MessageHeader.reason.coding",
      "path": "MessageHeader.reason.coding",
      "mustSupport": true
    }, {
      "id": "MessageHeader.reason.coding.system",
      "path": "MessageHeader.reason.coding.system",
      "mustSupport": true
    }, {
      "id": "MessageHeader.reason.coding.code",
      "path": "MessageHeader.reason.coding.code",
      "mustSupport": true
    }, {
      "id": "MessageHeader.reason.coding.display",
      "path": "MessageHeader.reason.coding.display",
      "mustSupport": true
    }, {
      "id": "MessageHeader.reason.text",
      "path": "MessageHeader.reason.text",
      "mustSupport": true
    }, {
      "id": "MessageHeader.focus",
      "min": 1,
      "path": "MessageHeader.focus",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Task", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Appointment", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication" ]
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MessageHeader"
}