PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.10.0
    http://fhir.health.gov.il/StructureDefinition/il-core-patient
{
  "description": "Israel Core Proposed constraints and extensions on the Patient Resource.",
  "_filename": "StructureDefinition-il-core-patient.json",
  "package_name": "il.core.fhir.r4",
  "date": "2021-01-30",
  "derivation": "constraint",
  "publisher": "Israeli Ministry of Health",
  "fhirVersion": "4.0.1",
  "name": "ILCorePatient",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://loinc.org",
    "name": "LOINC code for the element",
    "identity": "loinc"
  } ],
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "ILCore Patient Profile",
  "package_version": "0.10.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "valueString": "Base.Individuals"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode": "patient"
  } ],
  "status": "draft",
  "id": "80611eae-caa9-4f50-abfb-6a491413a4d6",
  "kind": "resource",
  "url": "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
  "version": "0.10.0",
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "short": "ILCore Patient profile",
      "constraint": [ {
        "key": "il-patient-name2",
        "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.",
        "source": "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
        "severity": "error",
        "expression": "(Patient.name.family.exists() or Patient.name.given.exists()) xor Patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      } ],
      "definition": "The Patient Profile is based upon the core FHIR Patient Resource"
    }, {
      "id": "Patient.extension",
      "path": "Patient.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "path": "Patient.extension",
      "min": 0,
      "definition": "A code classifying the person's Israeli HMO",
      "short": "Extension: Israel Core HMO (קופת חולים)",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.health.gov.il/StructureDefinition/ext-il-hmo" ]
      } ],
      "mustSupport": true,
      "sliceName": "hmo",
      "max": "1",
      "id": "Patient.extension:hmo"
    }, {
      "path": "Patient.extension",
      "min": 0,
      "definition": "Specifies the entire parent name as it should be displayed e.g. on an application UI.",
      "short": "Extension: The name of the parent",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.health.gov.il/StructureDefinition/ext-administrative-parent-name" ]
      } ],
      "mustSupport": true,
      "sliceName": "parentName",
      "max": "*",
      "id": "Patient.extension:parentName"
    }, {
      "id": "Patient.extension:birthPlace",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" ]
      } ],
      "short": "Extension: Place of Birth for patient",
      "sliceName": "birthPlace",
      "definition": "The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements"
    }, {
      "id": "Patient.extension:immigration",
      "max": "*",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.health.gov.il/StructureDefinition/ext-patient-immigration" ]
      } ],
      "short": "Extension: Patient Immigration",
      "sliceName": "immigration",
      "definition": "Extension: Immigration information for a patient - for the purpose of this extension - immigration is an international movement of a person to a destination country in order to settle as permanent resident"
    }, {
      "id": "Patient.extension:birthSex",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" ]
      } ],
      "short": "Extension: US Core Birth Sex Extension",
      "sliceName": "birthSex",
      "definition": "A code classifying the person’s sex assigned at birth as specified by the Office of the National Coordinator for Health IT (ONC). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9)."
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.identifier.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "mustSupport": true
    }, {
      "id": "Patient.identifier.value",
      "min": 1,
      "path": "Patient.identifier.value",
      "short": "The value that is unique within the system.",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:il-id",
      "max": "1",
      "min": 0,
      "path": "Patient.identifier",
      "short": "Israeli National Identifier",
      "sliceName": "il-id",
      "definition": "Israeli ID number (9 digit unchangeable number, including leading zeros and includes a control digit), including temporarily identification numbers assigned by Israeli National Insurance",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:il-id.system",
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.health.gov.il/identifier/il-national-id"
    }, {
      "id": "Patient.identifier:il-id.value",
      "path": "Patient.identifier.value",
      "short": "An Israeli ID number",
      "example": [ {
        "label": "Valid Example",
        "valueString": "000000018"
      } ],
      "constraint": [ {
        "key": "il-id-chk",
        "human": "Israeli ID must be 9-digits with a correct check-digit at the end.",
        "source": "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
        "severity": "error",
        "expression": "matches('[0-9]{9}') and\r\nsubstring(8,1).toInteger()=\r\n(10-((substring(0,1).toInteger() +\r\nsubstring(1,1).toInteger()*2 mod 10 +\r\nsubstring(1,1).toInteger()*2 div 10 +\r\nsubstring(2,1).toInteger() +\r\nsubstring(3,1).toInteger()*2 mod 10 +\r\nsubstring(3,1).toInteger()*2 div 10 +\r\nsubstring(4,1).toInteger() +\r\nsubstring(5,1).toInteger()*2 mod 10 +\r\nsubstring(5,1).toInteger()*2 div 10 +\r\nsubstring(6,1).toInteger() +\r\nsubstring(7,1).toInteger()*2 mod 10 +\r\nsubstring(7,1).toInteger()*2 div 10) mod 10)) mod 10"
      } ]
    }, {
      "id": "Patient.identifier:il-id.period",
      "min": 1,
      "path": "Patient.identifier.period"
    }, {
      "id": "Patient.identifier:il-id.assigner",
      "path": "Patient.identifier.assigner",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-organization" ]
      } ]
    }, {
      "id": "Patient.identifier:pna-id",
      "max": "1",
      "min": 0,
      "path": "Patient.identifier",
      "short": "Palestinian National Identifier",
      "sliceName": "pna-id",
      "definition": "Palestinian ID number",
      "mustSupport": false
    }, {
      "id": "Patient.identifier:pna-id.system",
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.health.gov.il/identifier/pna-national-id"
    }, {
      "id": "Patient.identifier:pna-id.value",
      "path": "Patient.identifier.value",
      "short": "A Palestininan ID number",
      "example": [ {
        "label": "Valid Example",
        "valueString": "000000018"
      } ]
    }, {
      "id": "Patient.identifier:ppn",
      "max": "*",
      "min": 0,
      "path": "Patient.identifier",
      "short": "Passport Number",
      "sliceName": "ppn",
      "definition": "Passport number",
      "mustSupport": false
    }, {
      "id": "Patient.identifier:ppn.type",
      "path": "Patient.identifier.type",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "PPN",
          "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
        } ]
      }
    }, {
      "id": "Patient.identifier:ppn.system",
      "path": "Patient.identifier.system",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.health.gov.il/ValueSet/passport-uri"
      }
    }, {
      "id": "Patient.identifier:ppn.value",
      "path": "Patient.identifier.value",
      "short": "Passport Number"
    }, {
      "id": "Patient.identifier:enc",
      "max": "*",
      "min": 0,
      "path": "Patient.identifier",
      "short": "Person's Identifier - MoH encrypted",
      "sliceName": "enc",
      "definition": "The person’s identifier after applying MoH’s standard primary encryption algorithm",
      "mustSupport": false
    }, {
      "id": "Patient.identifier:enc.system",
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.health.gov.il/identifier/encrypted-id-primary-moh"
    }, {
      "id": "Patient.identifier:enc.value",
      "path": "Patient.identifier.value",
      "short": "An encrypted identifier",
      "example": [ {
        "label": "Valid Example",
        "valueString": "000000018"
      } ]
    }, {
      "id": "Patient.identifier:enc.assigner",
      "path": "Patient.identifier.assigner",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-organization" ]
      } ]
    }, {
      "id": "Patient.name",
      "min": 1,
      "path": "Patient.name",
      "mustSupport": true
    }, {
      "id": "Patient.name.extension:dataAbsentReason",
      "max": "1",
      "min": 0,
      "path": "Patient.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataAbsentReason"
    }, {
      "id": "Patient.name.family",
      "path": "Patient.name.family",
      "mustSupport": true
    }, {
      "id": "Patient.name.given",
      "path": "Patient.name.given",
      "mustSupport": true
    }, {
      "id": "Patient.telecom.system",
      "min": 1,
      "path": "Patient.telecom.system",
      "mustSupport": true
    }, {
      "id": "Patient.telecom.value",
      "min": 1,
      "path": "Patient.telecom.value",
      "mustSupport": true
    }, {
      "id": "Patient.telecom.use",
      "path": "Patient.telecom.use",
      "mustSupport": true
    }, {
      "id": "Patient.gender",
      "min": 1,
      "path": "Patient.gender",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate",
      "min": 1,
      "path": "Patient.birthDate",
      "mustSupport": true
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "type": [ {
        "code": "Address",
        "profile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-address" ]
      } ]
    }, {
      "id": "Patient.contact.organization",
      "path": "Patient.contact.organization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-organization" ]
      } ]
    }, {
      "id": "Patient.communication.language",
      "path": "Patient.communication.language",
      "mustSupport": true
    }, {
      "id": "Patient.generalPractitioner",
      "path": "Patient.generalPractitioner",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-organization", "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner", "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role" ]
      } ]
    }, {
      "id": "Patient.managingOrganization",
      "path": "Patient.managingOrganization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-organization" ]
      } ]
    }, {
      "id": "Patient.link.other",
      "path": "Patient.link.other",
      "type": [ {
        "code": "Reference",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": false
        } ],
        "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-patient", "http://fhir.health.gov.il/StructureDefinition/il-core-related-person" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}