{ "description": "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.4.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", "language": "he-IL", "id": "c7e6f18b-5fd1-491e-a494-8a158f5fa364", "kind": "resource", "url": "http://fhir.health.gov.il/StructureDefinition/il-core-patient", "version": "0.4.0", "differential": { "element": [ { "id": "Patient", "path": "Patient", "short": "ILCore Patient profile", "definition": "The Patient Profile is based upon the core FHIR Patient Resource", "mustSupport": true }, { "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-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 patien - 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.identifier", "min": 1, "path": "Patient.identifier", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] } }, { "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 }, { "path": "Patient.identifier", "min": 0, "definition": "Israeli ID number (9 digit unchangeable number, including leading zeros and includes a control digit)", "short": "Israeli National Identifier", "mustSupport": true, "sliceName": "il-id", "patternIdentifier": { "system": "http://fhir.health.gov.il/identifier/il-national-id" }, "max": "1", "id": "Patient.identifier:il-id" }, { "id": "Patient.identifier:il-id.value", "path": "Patient.identifier.value", "short": "An Israeli ID number", "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": "\r\nmatches('[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\r\n" } ] }, { "path": "Patient.identifier", "min": 0, "definition": "Palestinian ID number", "short": "Palestinian National Identifier", "mustSupport": false, "sliceName": "pna-id", "patternIdentifier": { "system": "http://fhir.health.gov.il/identifier/pna-national-id" }, "max": "1", "id": "Patient.identifier:pna-id" }, { "id": "Patient.identifier:pna-id.value", "path": "Patient.identifier.value", "short": "A Palestininan ID number" }, { "path": "Patient.identifier", "min": 0, "definition": "Passport number", "short": "Passport Number", "mustSupport": false, "sliceName": "ppn", "patternIdentifier": { "type": { "coding": [ { "code": "PPN", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] } }, "max": "*", "id": "Patient.identifier:ppn" }, { "id": "Patient.identifier:ppn.type", "min": 1, "path": "Patient.identifier.type" }, { "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" }, { "path": "Patient.identifier", "min": 0, "definition": "The person’s identifier after applying MoH’s standard primary encryption algorithm", "short": "Person's Identifier - MoH encrypted", "mustSupport": false, "sliceName": "enc", "patternIdentifier": { "system": "http://fhir.health.gov.il/identifier/moh-encrypted-id-primary" }, "max": "*", "id": "Patient.identifier:enc" }, { "id": "Patient.identifier:enc.value", "path": "Patient.identifier.value", "short": "An encrypted identifier" }, { "id": "Patient.name", "min": 1, "path": "Patient.name", "mustSupport": true }, { "id": "Patient.name.family", "min": 1, "path": "Patient.name.family", "mustSupport": true }, { "id": "Patient.name.given", "min": 1, "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" }