{ "description": "Proposed constraints and extensions on the JCPMRelatedPerson Resource", "_filename": "StructureDefinition-jcpm-related-person.json", "package_name": "fhir.outburn.co.il", "date": "2022-01-30", "derivation": "constraint", "publisher": "Outburn LTD", "fhirVersion": "4.0.1", "name": "JCPMRelatedPerson", "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": "JCPM JCPMRelatedPerson Profile", "package_version": "0.2.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": "74731fb0-2e5e-4213-a0f6-88840b4dfaca", "kind": "resource", "url": "http://fhir.outburn.co.il/StructureDefinition/jcpm-related-person", "version": "0.1.0", "differential": { "element": [ { "id": "RelatedPerson", "path": "RelatedPerson", "short": "JCPMRelatedPerson Profile", "definition": "Definitions for the profile-JCPMRelatedPerson resource profile.", "mustSupport": true }, { "id": "RelatedPerson.identifier", "min": 1, "path": "RelatedPerson.identifier", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] } }, { "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 }, { "path": "RelatedPerson.identifier", "min": 0, "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", "short": "Israeli National Identifier", "mustSupport": true, "sliceName": "il-id", "patternIdentifier": { "system": "http://fhir.health.gov.il/identifier/il-national-id" }, "max": "1", "id": "RelatedPerson.identifier:il-id" }, { "id": "RelatedPerson.identifier:il-id.value", "path": "RelatedPerson.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.outburn.co.il/StructureDefinition/jcpm-related-person", "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": "RelatedPerson.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": "RelatedPerson.identifier:pna-id" }, { "id": "RelatedPerson.identifier:pna-id.value", "path": "RelatedPerson.identifier.value", "short": "A Palestininan ID number" }, { "path": "RelatedPerson.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": "RelatedPerson.identifier:ppn" }, { "id": "RelatedPerson.identifier:ppn.type", "min": 1, "path": "RelatedPerson.identifier.type" }, { "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" }, { "path": "RelatedPerson.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/encrypted-id-primary-moh" }, "max": "*", "id": "RelatedPerson.identifier:enc" }, { "id": "RelatedPerson.identifier:enc.value", "path": "RelatedPerson.identifier.value", "short": "An encrypted identifier" }, { "path": "RelatedPerson.identifier", "min": 0, "definition": "The person’s temporary identifier in Hadassah hospital ", "short": "Person's Identifier - hadassah temporary id", "mustSupport": false, "sliceName": "hadassah-temp", "patternIdentifier": { "system": "http://fhir.hadassah.org.il/identifier/temporary-patient-id" }, "max": "1", "id": "RelatedPerson.identifier:hadassah-temp" }, { "id": "RelatedPerson.identifier:hadassah-temp.value", "path": "RelatedPerson.identifier.value", "short": "A Hadassah temporary identifier" }, { "path": "RelatedPerson.identifier", "min": 0, "definition": "The person’s temporary identifier in Meuhedet HMO ", "short": "Person's Identifier - meuhedet temporary id", "mustSupport": false, "sliceName": "meuhedet-temp", "patternIdentifier": { "system": "http://fhir.meuhedet.org.il/identifier/temporary-patient-id" }, "max": "1", "id": "RelatedPerson.identifier:meuhedet-temp" }, { "id": "RelatedPerson.identifier:meuhedet-temp.value", "path": "RelatedPerson.identifier.value", "short": "A Meuhedet temporary identifier" }, { "path": "RelatedPerson.identifier", "min": 0, "definition": "The person’s temporary identifier in SZMC hospital ", "short": "Person's Identifier - szmc temporary id", "mustSupport": false, "sliceName": "szmc-temp", "patternIdentifier": { "system": "http://fhir.szmc.org.il/identifier/temporary-patient-id" }, "max": "1", "id": "RelatedPerson.identifier:szmc-temp" }, { "id": "RelatedPerson.identifier:szmc-temp.value", "path": "RelatedPerson.identifier.value", "short": "A SZMC temporary identifier" }, { "id": "RelatedPerson.patient", "path": "RelatedPerson.patient", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-patient" ] } ] }, { "id": "RelatedPerson.relationship.coding.system", "path": "RelatedPerson.relationship.coding.system", "patternUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" }, { "id": "RelatedPerson.relationship.coding.code", "path": "RelatedPerson.relationship.coding.code", "patternCode": "NMTH" } ] }, "contact": [ { "name": "Outburn LTD", "telecom": [ { "value": "http://outburn.co.il", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }