{
  "resourceType": "StructureDefinition",
  "id": "MessageHeaderABeOrderLab",
  "url": "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/MessageHeaderABeOrderLab",
  "version": "1.1.0",
  "name": "MessageHeaderABeOrderLab",
  "title": "MessageHeader (AB:eOrder-Lab)",
  "status": "draft",
  "description": "This profile defines a set of constraints to the FHIR MessageHeader resource for use in Alberta eOrder Laboratory (AB:eOrder-Lab). It re-profiles the CA-eReC MessageHeader profile and it includes constraints that represent the minimum expectations for the MessageHeader resource when used in the AB:eOrder-Lab.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MessageHeader",
  "baseDefinition": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-MessageHeader",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MessageHeader",
        "path": "MessageHeader",
        "comment": "MessageHeader resources included in Alberta eOrder Laboratory Bundles have rules that certain attributes are not to be contained in MessageHeader resources. These are mechanically enforced through invariants at the AB:eOrder-Lab Bundle level."
      },
      {
        "id": "MessageHeader.destination.receiver",
        "path": "MessageHeader.destination.receiver",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerABeOrderLab",
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerRoleABeOrderLab"
            ]
          }
        ]
      },
      {
        "id": "MessageHeader.sender",
        "path": "MessageHeader.sender",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerABeOrderLab",
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerRoleABeOrderLab"
            ]
          }
        ]
      },
      {
        "id": "MessageHeader.enterer",
        "path": "MessageHeader.enterer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerABeOrderLab",
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerRoleABeOrderLab"
            ]
          }
        ]
      },
      {
        "id": "MessageHeader.author",
        "path": "MessageHeader.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerRoleABeOrderLab"
            ]
          }
        ]
      },
      {
        "id": "MessageHeader.responsible",
        "path": "MessageHeader.responsible",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerABeOrderLab",
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/PractitionerRoleABeOrderLab"
            ]
          }
        ]
      },
      {
        "id": "MessageHeader.focus",
        "path": "MessageHeader.focus",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/ab-eorder-lab/StructureDefinition/ServiceRequestABeOrderLab"
            ]
          }
        ]
      }
    ]
  }
}