<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ie-core-medical-record-number" />
  <url value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medical-record-number" />
  <name value="IECoreMedicalRecordNumber" />
  <title value="IE Core Medical Record Number (MRN)" />
  <status value="draft" />
  <description value="A local Medical Record Number assigned by a healthcare facility: an example of an 'other identifier used in health and social care' in HIQA EP/PS 1.3.3.1. The system is the issuing facility's own namespace (there is no national MRN system) and the assigner names the facility (HIQA 1.3.3.4)." />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Identifier" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Identifier" />
  <derivation value="constraint" />
  <differential>
    <element id="Identifier.type">
      <path value="Identifier.type" />
      <min value="1" />
      <patternCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
          <code value="MR" />
          <display value="Medical record number" />
        </coding>
      </patternCodeableConcept>
      <mustSupport value="true" />
    </element>
    <element id="Identifier.system">
      <path value="Identifier.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Identifier.value">
      <path value="Identifier.value" />
      <short value="Medical record number value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Identifier.assigner">
      <path value="Identifier.assigner" />
      <short value="Facility that issued the MRN (HIQA 1.3.3.4)" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>