{
"description": "Proposed constraints and extensions on theILCoreRelatedPerson Resource",
"_filename": "StructureDefinition-il-core-related-person.json",
"package_name": "il.core.fhir.r4",
"date": "2021-05-02",
"derivation": "constraint",
"publisher": "Israeli Ministry of Health",
"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.8.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": "b45fd042-7d6c-49d1-bb64-d41f5693e0a3",
"kind": "resource",
"url": "http://fhir.health.gov.il/StructureDefinition/il-core-related-person",
"version": "0.8.0",
"differential": {
"element": [ {
"id": "RelatedPerson",
"path": "RelatedPerson",
"short": "ILCoreRelatedPerson Profile",
"definition": "Definitions for the profile-RelatedPerson resource profile.",
"mustSupport": true
}, {
"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-parent-name" ]
} ],
"mustSupport": true,
"sliceName": "parentName",
"max": "*",
"id": "RelatedPerson.extension:parentName"
}, {
"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.health.gov.il/StructureDefinition/il-core-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"
}, {
"id": "RelatedPerson.active",
"min": 1,
"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",
"mustSupport": true
}, {
"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" ]
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
}