{
  "resourceType": "StructureDefinition",
  "id": "ie-core-medical-record-number",
  "url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medical-record-number",
  "name": "IECoreMedicalRecordNumber",
  "title": "IE Core Medical Record Number (MRN)",
  "status": "draft",
  "description": "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": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "Identifier",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Identifier",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Identifier.type",
        "path": "Identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "MR",
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "display": "Medical record number"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Identifier.system",
        "path": "Identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Identifier.value",
        "path": "Identifier.value",
        "short": "Medical record number value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Identifier.assigner",
        "path": "Identifier.assigner",
        "short": "Facility that issued the MRN (HIQA 1.3.3.4)",
        "mustSupport": true
      }
    ]
  }
}