PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2020-preadopt@0.0.1-beta1
    http://nictiz.nl/fhir/StructureDefinition/zib-LegalSituation
{
  "description": "A legal situation can concern a legal status and/or representation.\\r\\n\\r\\nThe legal status indicates the basis on which the patient is staying in a healthcare organization. This can be either voluntary or involuntary, however the legal status is always determined by a judge.\\r\\n\\r\\nRepresentation is important in situations where a person is legally not competent to give permission and/or factually (partly) incapable of doing so. A representative supports and takes decisions in the interest of the representee when they cannot do so themselves (temporarily or permanently).",
  "_filename": "zib-LegalSituation.json",
  "package_name": "nictiz.fhir.nl.stu3.zib2020-preadopt",
  "date": null,
  "derivation": "constraint",
  "publisher": "Nictiz",
  "fhirVersion": "3.0.2",
  "purpose": "Health professionals must be aware of the existence of a legal status or representation because this in part determines what type of care can be provided to the patient. For example, a supporting legal status can be required for using freedom restricting interventions. For a mentally incompetent patient, it must be clear that there is a representative for further decision-making: in this case, the health professional should follow the decision of the representative of the mentally incompetent patient, unless this is incompatible with the care of a good health professional.",
  "name": "ZibLegalSituation",
  "mapping": [ {
    "uri": "https://zibs.nl/wiki/LegalSituation-v2.0(2020EN)",
    "name": "HCIM LegalSituation-v2.0(2020EN)",
    "identity": "zib-legalsituation-v2.0-2020EN"
  } ],
  "abstract": false,
  "copyright": "CC0",
  "type": "Condition",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "HCIM LegalSituation",
  "package_version": "0.0.1-beta1",
  "status": "draft",
  "id": "c74b997e-b267-4197-8c73-4f52a9758ebf",
  "kind": "resource",
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-LegalSituation",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Condition",
      "path": "Condition",
      "alias": [ "JuridischeSituatie" ],
      "short": "LegalSituation",
      "mapping": [ {
        "map": "NL-CM:7.17.1",
        "comment": "LegalSituation",
        "identity": "zib-legalsituation-v2.0-2020EN"
      } ],
      "constraint": [ {
        "key": "hcim-legalsituation-01",
        "human": "If juridischeStatusCodelijst is used, SNOMED|303186005 should be present in Condition.category",
        "severity": "error",
        "expression": "code.coding.where(code.memberOf(\"http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.17.1--20200901000000\")).exists() implies \"303186005\" in category.coding.code"
      }, {
        "key": "hcim-legalsituation-02",
        "human": "If vertegenwoordigingCodelijst is used, SNOMED|151701000146105 should be present in Condition.category",
        "severity": "error",
        "expression": "code.coding.where(code.memberOf(\"http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.17.2--20200901000000\")).exists() implies \"303186005\" in category.coding.code"
      } ]
    }, {
      "id": "Condition.category",
      "min": 1,
      "path": "Condition.category",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding",
          "type": "value"
        } ]
      }
    }, {
      "id": "Condition.category:hcimLegalStatusCode",
      "max": "1",
      "min": 1,
      "path": "Condition.category",
      "sliceName": "hcimLegalStatusCode"
    }, {
      "id": "Condition.category:hcimLegalStatusCode.coding",
      "max": "1",
      "min": 1,
      "path": "Condition.category.coding",
      "binding": {
        "strength": "required",
        "description": "HCIMLegalSituationCategory",
        "valueSetReference": {
          "reference": "http://nictiz.nl/fhir/ValueSet/HCIMLegalSituationCategory"
        }
      },
      "comment": "Code SNOMED|303186005 shou"
    }, {
      "id": "Condition.code",
      "min": 1,
      "path": "Condition.code",
      "binding": {
        "strength": "required",
        "description": "JuridischeSituatieCodelijst of VertegenwoordigingCodelijst",
        "valueSetReference": {
          "reference": "http://nictiz.nl/fhir/ValueSet/zib-LegalSitation-ValueSets"
        }
      },
      "mapping": [ {
        "map": "NL-CM:7.17.2",
        "comment": "LegalStatus",
        "identity": "zib-legalsituation-v2.0-2020EN"
      }, {
        "map": "NL-CM:7.17.5",
        "comment": "Representation",
        "identity": "zib-legalsituation-v2.0-2020EN"
      } ]
    }, {
      "id": "Condition.onset[x]:onsetDateTime",
      "path": "Condition.onsetDateTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "alias": [ "DatumAanvang" ],
      "short": "DateStart",
      "mapping": [ {
        "map": "NL-CM:7.17.3",
        "comment": "DateStart",
        "identity": "zib-legalsituation-v2.0-2020EN"
      } ],
      "sliceName": "onsetDateTime",
      "definition": "The date on which the legal situation of the patient starts."
    }, {
      "id": "Condition.abatement[x]:abatementDateTime",
      "path": "Condition.abatementDateTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "alias": [ "DatumEinde" ],
      "short": "DateStop",
      "mapping": [ {
        "map": "NL-CM:7.17.4",
        "comment": "DateStop",
        "identity": "zib-legalsituation-v2.0-2020EN"
      } ],
      "sliceName": "abatementDateTime",
      "definition": "The date on which the legal situation of the patient ends."
    } ]
  },
  "contact": [ {
    "name": "Nictiz",
    "telecom": [ {
      "use": "work",
      "value": "info@nictiz.nl",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition"
}