PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.3.0
    http://fhir.health.gov.il/StructureDefinition/il-core-patient
{
  "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.3.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": "2cc73132-f4fa-43a4-8154-75c5b5b7e853",
  "kind": "resource",
  "url": "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
  "version": "0.3.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.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"
    }, {
      "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"
}