<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="admit-notification-messageheader" />
  <url value="http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/admit-notification-messageheader" />
  <version value="1.0.0" />
  <name value="AdmitNotificationMessageHeader" />
  <title value="Da Vinci Admit Notification MessageHeader Profile" />
  <status value="active" />
  <experimental value="false" />
  <date value="2019-11-12T00:00:00-08:00" />
  <publisher value="HL7 International - Infrastructure and Messaging Work Group" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/inm/index.cfm" />
    </telecom>
  </contact>
  <description value="The Da Vinci Admit Notification MessageHeader Profile builds on the [Da Vinci Notifications MessageHeader Profile](StructureDefinition-notifications-messageheader.html) and sets minimum expectations for the FHIR [MessageHeader](http://hl7.org/fhir/R4/messageheader.html) resource to record the necessary context for Da Vinci admit notification messaging scenario.  The event code is &quot;notification-admit&quot; and the focus of the event is the Encounter." />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="US" />
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="MessageHeader" />
  <baseDefinition value="http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/notifications-messageheader" />
  <derivation value="constraint" />
  <differential>
    <element id="MessageHeader">
      <path value="MessageHeader" />
      <mustSupport value="false" />
    </element>
    <element id="MessageHeader.eventCoding">
      <path value="MessageHeader.eventCoding" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://hl7.org/fhir/us/davinci-alerts/ValueSet/notification-admit-event" />
      </binding>
    </element>
    <element id="MessageHeader.focus">
      <path value="MessageHeader.focus" />
      <slicing>
        <discriminator>
          <type value="profile" />
          <path value="$this.resolve()" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="*" />
      <mustSupport value="true" />
    </element>
    <element id="MessageHeader.focus:admit-notification">
      <path value="MessageHeader.focus" />
      <sliceName value="admit-notification" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/adt-notification-encounter" />
        <aggregation value="bundled" />
      </type>
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>