PackagesCanonicalsLogsProblems
    Packages
    ee.hl7.fhir.base.r4@1.0.0-beta
    https://hl7.ee/fhir/StructureDefinition/EEBase-Patient
{
  "description": null,
  "_filename": "StructureDefinition-EEBase-Patient.json",
  "package_name": "ee.hl7.fhir.base.r4",
  "date": "2022-05-02T11:50:42.1399814+00:00",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2022-05-02T11:50:36.8358748+00:00"
  },
  "publisher": "HL7 EE",
  "fhirVersion": "4.0.1",
  "name": "EEBasePatient",
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "EEBase Patient",
  "package_version": "1.0.0-beta",
  "status": "draft",
  "id": "2ec076ce-9aee-41f8-8542-243c7a1bdba0",
  "kind": "resource",
  "url": "https://hl7.ee/fhir/StructureDefinition/EEBase-Patient",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resolve()",
          "type": "profile"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Patient.identifier:est-id",
      "max": "1",
      "path": "Patient.identifier",
      "sliceName": "est-id",
      "mustSupport": true,
      "fixedIdentifier": {
        "use": "official",
        "type": {
          "coding": [ {
            "code": "MR",
            "system": "http://hl7.org/fhir/ValueSet/identifier-type"
          } ]
        },
        "system": "https://hl7.ee/id/est-id-number"
      }
    }, {
      "id": "Patient.identifier:est-id.type",
      "path": "Patient.identifier.type",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:est-id.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "type": [ {
        "code": "uri",
        "profile": [ "https://hl7.ee/NamingSystem/ee-pid" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.identifier:est-id.value",
      "min": 1,
      "path": "Patient.identifier.value",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:nhs-id",
      "max": "1",
      "path": "Patient.identifier",
      "short": "Patsiendi unikaalne kood TIS-is",
      "sliceName": "nhs-id",
      "definition": "Patsiendi unikaalne tunnus mille alusel teda saab eristada teistest patsientidest TIS-is, mis vastab reeglitele XXX. Saab olla kasutatud nii välimaalaste jaoks jaoks kui ka tundmatu patsiendi numbrina.",
      "fixedIdentifier": {
        "type": {
          "coding": [ {
            "code": "MR",
            "system": "http://hl7.org/fhir/ValueSet/identifier-type"
          } ]
        }
      }
    }, {
      "id": "Patient.identifier:nhs-id.type",
      "path": "Patient.identifier.type",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:nhs-id.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:nhs-id.value",
      "min": 1,
      "path": "Patient.identifier.value",
      "mustSupport": true
    }, {
      "id": "Patient.active",
      "min": 1,
      "path": "Patient.active",
      "mustSupport": true
    }, {
      "id": "Patient.name",
      "path": "Patient.name",
      "mustSupport": true
    }, {
      "id": "Patient.gender",
      "path": "Patient.gender",
      "mustSupport": true,
      "isModifierReason": "Neede for proper reference ranges"
    }, {
      "id": "Patient.birthDate",
      "path": "Patient.birthDate",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate.extension",
      "min": 0,
      "path": "Patient.birthDate.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.birthDate.extension:birthTime",
      "min": 0,
      "path": "Patient.birthDate.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ]
      } ],
      "sliceName": "birthTime",
      "isModifier": false
    }, {
      "id": "Patient.deceased[x]",
      "path": "Patient.deceased[x]",
      "mustSupport": true
    }, {
      "id": "Patient.address.extension",
      "min": 0,
      "path": "Patient.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.address.extension:ads",
      "min": 0,
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-ADS" ]
      } ],
      "short": "ADS id",
      "sliceName": "ads"
    }, {
      "id": "Patient.address.extension:ehak",
      "min": 0,
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-EHAK" ]
      } ],
      "short": "EHAK kood",
      "sliceName": "ehak"
    }, {
      "id": "Patient.maritalStatus",
      "path": "Patient.maritalStatus",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://hl7.ee/ValueSet/eebase-marital-status"
      }
    }, {
      "id": "Patient.contact.extension",
      "min": 0,
      "path": "Patient.contact.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.extension:relativePerson",
      "max": "1",
      "min": 0,
      "path": "Patient.contact.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson" ]
      } ],
      "short": "NB! Tuleb veenduda, et on olemas vastav usecase. Muidu tuleb kustutada!!!!!",
      "sliceName": "relativePerson",
      "isModifier": false
    }, {
      "id": "Patient.contact.address.extension",
      "min": 0,
      "path": "Patient.contact.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.address.extension:ads",
      "max": "1",
      "min": 0,
      "path": "Patient.contact.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-ADS" ]
      } ],
      "sliceName": "ads",
      "isModifier": false
    }, {
      "id": "Patient.contact.address.extension:ehak",
      "max": "1",
      "min": 0,
      "path": "Patient.contact.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-EHAK" ]
      } ],
      "sliceName": "ehak",
      "isModifier": false
    }, {
      "id": "Patient.generalPractitioner",
      "path": "Patient.generalPractitioner",
      "type": [ {
        "code": "Reference",
        "versioning": "independent",
        "targetProfile": [ "https://hl7.ee/fhir/StructureDefinition/EEBase-Practitioner", "https://hl7.ee/fhir/StructureDefinition/EEBase-PractitionerRole" ]
      } ]
    }, {
      "id": "Patient.managingOrganization",
      "path": "Patient.managingOrganization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://hl7.ee/fhir/StructureDefinition/EEBase-Organization" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}