<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NotificationStatus" />
  <url value="http://fhir.synapxe.sg/StructureDefinition/NotificationStatus" />
  <name value="NotificationStatus" />
  <title value="Notification Status Resource" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="NotificationStatus" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <snapshot>
    <element id="NotificationStatus">
      <path value="NotificationStatus" />
      <short value="Notification Status Resource" />
      <definition value="A resource representing the status of a notification with additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource" />
        <min value="0" />
        <max value="*" />
      </base>
      <isModifier value="false" />
    </element>
    <element id="NotificationStatus.notification">
      <path value="NotificationStatus.notification" />
      <short value="Reference to the notification resource" />
      <definition value="A reference to the notification resource that this status relates to." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://ihis.sg/fhir/StructureDefinition/Notification" />
      </type>
    </element>
    <element id="NotificationStatus.status">
      <path value="NotificationStatus.status" />
      <short value="Status of the notification" />
      <definition value="The current status of the notification (e.g., Success, Pending)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="NotificationStatus.detail">
      <path value="NotificationStatus.detail" />
      <short value="Details about the notification status" />
      <definition value="Additional details about the status of the notification (e.g., Pending in gateway queue)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="NotificationStatus">
      <path value="NotificationStatus" />
      <short value="Notification Status Resource" />
      <definition value="A resource representing the status of a notification with additional details." />
    </element>
    <element id="NotificationStatus.notification">
      <path value="NotificationStatus.notification" />
      <short value="Reference to the notification resource" />
      <definition value="A reference to the notification resource that this status relates to." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://ihis.sg/fhir/StructureDefinition/Notification" />
      </type>
    </element>
    <element id="NotificationStatus.status">
      <path value="NotificationStatus.status" />
      <short value="Status of the notification" />
      <definition value="The current status of the notification (e.g., Success, Pending)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="NotificationStatus.detail">
      <path value="NotificationStatus.detail" />
      <short value="Details about the notification status" />
      <definition value="Additional details about the status of the notification (e.g., Pending in gateway queue)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>