PackagesCanonicalsLogsProblems
    Packages
    healthdata.be.r4.dcd@0.2.0-beta
    https://fhir.healthdata.be/StructureDefinition/HDBP0037-Patient
{
  "description": "Derived [HdBe-Patient](https://simplifier.net/guide/HdBe-R4-CBB/Home/FHIR/HdBe-Patient.page.md?version=current) profile.",
  "_filename": "HDBP0037-Patient.json",
  "package_name": "healthdata.be.r4.dcd",
  "date": null,
  "derivation": "constraint",
  "publisher": "Healthdata.be (Sciensano)",
  "fhirVersion": "4.0.1",
  "name": "HDBP0037Patient",
  "abstract": false,
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "HDBP0037 Patient",
  "package_version": "0.2.0-beta",
  "status": "draft",
  "id": "c50237db-7484-44e6-8276-5ed6e01268dc",
  "kind": "resource",
  "url": "https://fhir.healthdata.be/StructureDefinition/HDBP0037-Patient",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "constraint": [ {
        "key": "pat-1",
        "human": "If a Patient does not have a SSIN, it MUST have a generated patient ID.",
        "severity": "error",
        "expression": "Patient.identifier.where(system = 'https://www.ehealth.fgov.be/standards/fhir/NamingSystem/ssin').exists().not() implies (identifier.system.exists() and identifier.value.exists())"
      }, {
        "key": "pat-2",
        "human": "If a Patient does not have a SSIN, it MUST have a first name",
        "severity": "error",
        "expression": "Patient.identifier.where(system = 'https://www.ehealth.fgov.be/standards/fhir/NamingSystem/ssin').exists().not() implies name.given.exists()"
      }, {
        "key": "pat-3",
        "human": "If a Patient does not have a SSIN, it MUST have a last name",
        "severity": "error",
        "expression": "Patient.identifier.where(system = 'https://www.ehealth.fgov.be/standards/fhir/NamingSystem/ssin').exists().not() implies name.family.exists()"
      } ]
    }, {
      "id": "Patient.identifier",
      "path": "Patient.identifier",
      "condition": [ "pat-1" ]
    }, {
      "id": "Patient.identifier:SSIN",
      "path": "Patient.identifier",
      "comment": "If a patient does not have an SSIN, it is obligatory to sent the following information regarding the patient: \r\n- a generated patient ID\r\n- the date of birth\r\n- the sex\r\n- the first name\r\n- the last name",
      "sliceName": "SSIN"
    }, {
      "id": "Patient.name:nameInformation",
      "path": "Patient.name",
      "sliceName": "nameInformation"
    }, {
      "id": "Patient.name:nameInformation.family",
      "path": "Patient.name.family",
      "condition": [ "pat-3" ]
    }, {
      "id": "Patient.name:nameInformation.given",
      "path": "Patient.name.given",
      "condition": [ "pat-2" ]
    }, {
      "id": "Patient.gender",
      "min": 1,
      "path": "Patient.gender"
    }, {
      "id": "Patient.birthDate",
      "min": 1,
      "path": "Patient.birthDate"
    }, {
      "id": "Patient.address.postalCode",
      "min": 1,
      "path": "Patient.address.postalCode"
    } ]
  },
  "contact": [ {
    "name": "Service portal – healthdata.be",
    "telecom": [ {
      "use": "work",
      "value": "https://sciensano.service-now.com/sp",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "https://fhir.healthdata.be/StructureDefinition/HdBe-Patient"
}