{
  "resourceType": "StructureDefinition",
  "id": "zib-LivingSituation",
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>"
  },
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation",
  "name": "ZibLivingSituation",
  "title": "zib LivingSituation",
  "status": "draft",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The living situation is the physical environment in which the patient normally lives, sleeps, keeps their clothing, etc.",
  "purpose": "This Observation resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) LivingSituation v3.3 (2020)](https://zibs.nl/wiki/LivingSituation-v3.3(2020EN)).",
  "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.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "zib-livingsituation-v3.3-2020EN",
      "uri": "https://zibs.nl/wiki/LivingSituation-v3.3(2020EN)",
      "name": "zib LivingSituation-v3.3(2020EN)"
    }
  ],
  "kind": "resource",
  "abstract": true,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "LivingSituation",
        "comment": "Several concepts of zib LivingSituation are represented using distinct Observation resources. These are grouped using the current resource and are referenced on `Observation.hasMember`:\r\n\r\n* HouseType (NL-CM:7.8.3): [zib-LivingSituation.HouseType](http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation.HouseType)\r\n* HomeAdaption (NL-CM:7.8.5): [zib-LivingSituation.HomeAdaption ](http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation.HomeAdaption)\r\n* LivingCondition (NL-CM:7.8.4): [zib-LivingSituation.LivingCondition ](http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation.LivingCondition)",
        "alias": [
          "Woonsituatie"
        ],
        "mapping": [
          {
            "identity": "zib-livingsituation-v3.3-2020EN",
            "map": "NL-CM:7.8.1",
            "comment": "LivingSituation"
          }
        ]
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "365508006"
            }
          ]
        }
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "max": "1"
      },
      {
        "id": "Observation.note.text",
        "path": "Observation.note.text",
        "short": "Comment",
        "definition": "Comments in free text on problems or details of the patient’s living situation that may be relevant.",
        "alias": [
          "Toelichting"
        ],
        "mapping": [
          {
            "identity": "zib-livingsituation-v3.3-2020EN",
            "map": "NL-CM:7.8.2",
            "comment": "Comment"
          }
        ]
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.hasMember:houseType",
        "path": "Observation.hasMember",
        "sliceName": "houseType",
        "definition": "The HouseType concept (NL-CM:7.8.3) of zib LivingSituation, represented as a distinct Observation resource.",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation.HouseType"
            ]
          }
        ]
      },
      {
        "id": "Observation.hasMember:homeAdaption",
        "path": "Observation.hasMember",
        "sliceName": "homeAdaption",
        "definition": "The HomeAdaption concept (NL-CM:7.8.5) of zib LivingSituation, represented as a distinct Observation resource.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation.HomeAdaption"
            ]
          }
        ]
      },
      {
        "id": "Observation.hasMember:livingCondition",
        "path": "Observation.hasMember",
        "sliceName": "livingCondition",
        "definition": "The LivingCondition concept (NL-CM:7.8.4) of zib LivingSituation, represented as a distinct Observation resource.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation.LivingCondition"
            ]
          }
        ]
      }
    ]
  }
}