PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.14.0
    http://fhir.health.gov.il/StructureDefinition/il-core-related-person
{
  "description": "Israel Core proposed constraints and extensions on the RelatedPerson Resource",
  "_filename": "StructureDefinition-il-core-related-person.json",
  "package_name": "il.core.fhir.r4",
  "date": "2024-04-07",
  "derivation": "constraint",
  "publisher": "Israel Core Team",
  "fhirVersion": "4.0.1",
  "name": "ILCoreRelatedPerson",
  "abstract": false,
  "type": "RelatedPerson",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "ILCore RelatedPerson Profile",
  "package_version": "0.14.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 1
  } ],
  "status": "draft",
  "id": "b02d4ccc-377c-4c03-ba28-fa80ced095a2",
  "kind": "resource",
  "url": "http://fhir.health.gov.il/StructureDefinition/il-core-related-person",
  "version": "0.14.0",
  "differential": {
    "element": [ {
      "id": "RelatedPerson",
      "path": "RelatedPerson",
      "short": "ILCoreRelatedPerson Profile",
      "definition": "Israel Core proposed constraints and extensions on the 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('^\\d{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.ofType(code)",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "RelatedPerson.name.extension:dataAbsentReason",
      "max": "1",
      "min": 0,
      "path": "RelatedPerson.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataAbsentReason"
    }, {
      "id": "RelatedPerson.name:Hebrew",
      "max": "*",
      "min": 0,
      "path": "RelatedPerson.name",
      "sliceName": "Hebrew"
    }, {
      "id": "RelatedPerson.name:Hebrew.extension",
      "min": 1,
      "path": "RelatedPerson.name.extension"
    }, {
      "id": "RelatedPerson.name:Hebrew.extension:dataAbsentReason",
      "max": "1",
      "min": 0,
      "path": "RelatedPerson.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataAbsentReason"
    }, {
      "id": "RelatedPerson.name:Hebrew.extension:language",
      "max": "1",
      "min": 1,
      "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",
      "min": 1,
      "path": "RelatedPerson.name.extension"
    }, {
      "id": "RelatedPerson.name:English.extension:dataAbsentReason",
      "max": "1",
      "min": 0,
      "path": "RelatedPerson.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataAbsentReason"
    }, {
      "id": "RelatedPerson.name:English.extension:language",
      "max": "1",
      "min": 1,
      "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",
      "min": 1,
      "path": "RelatedPerson.name.extension"
    }, {
      "id": "RelatedPerson.name:Arabic.extension:dataAbsentReason",
      "max": "1",
      "min": 0,
      "path": "RelatedPerson.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataAbsentReason"
    }, {
      "id": "RelatedPerson.name:Arabic.extension:language",
      "max": "1",
      "min": 1,
      "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": "tal.primak@moh.gov.il",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
}