{ "description": "Israel Core proposed constraints and extensions on the RelatedPerson Resource", "_filename": "StructureDefinition-il-core-related-person.json", "package_name": "il.core.fhir.r4.2023", "date": "2021-05-02", "derivation": "constraint", "publisher": "Israel Core Team", "fhirVersion": "4.0.1", "name": "ILCoreRelatedPerson", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" } ], "abstract": false, "type": "RelatedPerson", "experimental": null, "resourceType": "StructureDefinition", "title": "ILCore RelatedPerson Profile", "package_version": "0.1.0", "status": "draft", "id": "0b8232e1-f78e-47d0-8e9c-7e53ab937be5", "kind": "resource", "url": "http://fhir.health.gov.il/StructureDefinition/il-core-related-person", "version": "0.12.1", "differential": { "element": [ { "id": "RelatedPerson", "path": "RelatedPerson", "short": "ILCoreRelatedPerson Profile", "definition": "Definitions for the profile-RelatedPerson resource profile." }, { "id": "RelatedPerson.extension", "path": "RelatedPerson.extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "url", "type": "value" } ] } }, { "path": "RelatedPerson.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": "RelatedPerson.extension:parentName" }, { "id": "RelatedPerson.identifier", "min": 1, "path": "RelatedPerson.identifier", "slicing": { "rules": "open", "discriminator": [ { "path": "system", "type": "value" } ] } }, { "id": "RelatedPerson.identifier.system", "min": 1, "path": "RelatedPerson.identifier.system", "mustSupport": true }, { "id": "RelatedPerson.identifier.value", "min": 1, "path": "RelatedPerson.identifier.value", "short": "The value that is unique within the system.", "mustSupport": true }, { "id": "RelatedPerson.identifier.assigner", "path": "RelatedPerson.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-organization" ] } ] }, { "id": "RelatedPerson.identifier:il-id", "max": "1", "min": 0, "path": "RelatedPerson.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": "RelatedPerson.identifier:il-id.system", "path": "RelatedPerson.identifier.system", "fixedUri": "http://fhir.health.gov.il/identifier/il-national-id" }, { "id": "RelatedPerson.identifier:il-id.value", "path": "RelatedPerson.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-related-person", "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": "RelatedPerson.identifier:pna-id", "max": "1", "min": 0, "path": "RelatedPerson.identifier", "short": "Palestinian National Identifier", "sliceName": "pna-id", "definition": "Palestinian ID number", "mustSupport": false }, { "id": "RelatedPerson.identifier:pna-id.system", "path": "RelatedPerson.identifier.system", "fixedUri": "http://fhir.health.gov.il/identifier/pna-national-id" }, { "id": "RelatedPerson.identifier:pna-id.value", "path": "RelatedPerson.identifier.value", "short": "A Palestininan ID number", "example": [ { "label": "Valid Example", "valueString": "000000018" } ] }, { "id": "RelatedPerson.identifier:ppn", "max": "*", "min": 0, "path": "RelatedPerson.identifier", "short": "Passport Number", "sliceName": "ppn", "definition": "Passport number", "mustSupport": false }, { "id": "RelatedPerson.identifier:ppn.type", "path": "RelatedPerson.identifier.type", "patternCodeableConcept": { "coding": [ { "code": "PPN", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] } }, { "id": "RelatedPerson.identifier:ppn.system", "path": "RelatedPerson.identifier.system", "binding": { "strength": "required", "valueSet": "http://fhir.health.gov.il/ValueSet/passport-uri" } }, { "id": "RelatedPerson.identifier:ppn.value", "path": "RelatedPerson.identifier.value", "short": "Passport Number" }, { "id": "RelatedPerson.identifier:enc", "max": "*", "min": 0, "path": "RelatedPerson.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": "RelatedPerson.identifier:enc.system", "path": "RelatedPerson.identifier.system", "fixedUri": "http://fhir.health.gov.il/identifier/encrypted-id-primary-moh" }, { "id": "RelatedPerson.identifier:enc.value", "path": "RelatedPerson.identifier.value", "short": "An encrypted identifier", "example": [ { "label": "Valid Example", "valueString": "000000018" } ] }, { "id": "RelatedPerson.active", "path": "RelatedPerson.active", "mustSupport": true }, { "id": "RelatedPerson.patient", "path": "RelatedPerson.patient", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-patient" ] } ], "mustSupport": true }, { "id": "RelatedPerson.relationship", "path": "RelatedPerson.relationship", "binding": { "strength": "required", "valueSet": "http://fhir.health.gov.il/ValueSet/patient-relationship-type" }, "mustSupport": true }, { "id": "RelatedPerson.name", "path": "RelatedPerson.name", "slicing": { "rules": "open", "discriminator": [ { "path": "extension('http://hl7.org/fhir/StructureDefinition/language').value", "type": "value" } ] }, "mustSupport": true }, { "id": "RelatedPerson.name.extension:language", "max": "1", "min": 0, "path": "RelatedPerson.name.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/language" ] } ], "sliceName": "language" }, { "id": "RelatedPerson.name:Hebrew", "max": "*", "min": 0, "path": "RelatedPerson.name", "sliceName": "Hebrew" }, { "id": "RelatedPerson.name:Hebrew.extension:language", "max": "1", "min": 0, "path": "RelatedPerson.name.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/language" ] } ], "sliceName": "language" }, { "id": "RelatedPerson.name:Hebrew.extension:language.value[x]", "path": "RelatedPerson.name.extension.value[x]", "fixedCode": "he" }, { "id": "RelatedPerson.name:English", "max": "*", "min": 0, "path": "RelatedPerson.name", "sliceName": "English" }, { "id": "RelatedPerson.name:English.extension:language", "max": "1", "min": 0, "path": "RelatedPerson.name.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/language" ] } ], "sliceName": "language" }, { "id": "RelatedPerson.name:English.extension:language.value[x]", "path": "RelatedPerson.name.extension.value[x]", "fixedCode": "en" }, { "id": "RelatedPerson.name:Arabic", "max": "*", "min": 0, "path": "RelatedPerson.name", "sliceName": "Arabic" }, { "id": "RelatedPerson.name:Arabic.extension:language", "max": "1", "min": 0, "path": "RelatedPerson.name.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/language" ] } ], "sliceName": "language" }, { "id": "RelatedPerson.name:Arabic.extension:language.value[x]", "path": "RelatedPerson.name.extension.value[x]", "fixedCode": "ar" }, { "id": "RelatedPerson.telecom", "path": "RelatedPerson.telecom", "mustSupport": true }, { "id": "RelatedPerson.address", "path": "RelatedPerson.address", "type": [ { "code": "Address", "profile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-address" ] } ] } ] }, "contact": [ { "telecom": [ { "value": "ido.levin@moh.gov.il", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }