{
  "resourceType": "StructureDefinition",
  "id": "HdBe-AlcoholUse",
  "url": "https://fhir.healthdata.be/StructureDefinition/HdBe-AlcoholUse",
  "name": "HdBeAlcoholUse",
  "title": "HdBe AlcoholUse",
  "status": "draft",
  "date": "2022-10-17T09:09:13.9562003+00:00",
  "publisher": "Healthdata.be (Sciensano)",
  "contact": [
    {
      "name": "Service portal – healthdata.be",
      "telecom": [
        {
          "system": "url",
          "value": "https://sciensano.service-now.com/sp",
          "use": "work"
        }
      ]
    }
  ],
  "description": "In the context of this information model, alcohol is the collective term for alcoholic beverages consumed as a leisure product. This information model describes the information asked of the patient about their alcohol use.",
  "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-alcoholuse-v3.2-2020EN",
      "uri": "https://zibs.nl/wiki/AlcoholUse-v3.2(2020EN)",
      "name": "zib AlcoholUse-v3.2(2020EN)"
    },
    {
      "identity": "HdBe-AlcoholUse",
      "uri": "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-AlcoholUse",
      "name": "HdBe logical model AlcoholUse"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "AlcoholUse",
        "alias": [
          "AlcoholGebruik"
        ],
        "mapping": [
          {
            "identity": "zib-alcoholuse-v3.2-2020EN",
            "map": "NL-CM:7.3.1",
            "comment": "AlcoholUse"
          },
          {
            "identity": "HdBe-AlcoholUse",
            "map": "AlcoholUse"
          }
        ]
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "228273003"
            }
          ]
        }
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.effective[x]:effectivePeriod",
        "path": "Observation.effective[x]",
        "sliceName": "effectivePeriod",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Observation.effective[x]:effectivePeriod.start",
        "path": "Observation.effective[x].start",
        "short": "StartDate",
        "definition": "The date on which the patient started using alcohol.",
        "alias": [
          "StartDatum"
        ],
        "mapping": [
          {
            "identity": "zib-alcoholuse-v3.2-2020EN",
            "map": "NL-CM:7.3.4",
            "comment": "StartDate"
          },
          {
            "identity": "HdBe-AlcoholUse",
            "map": "AlcoholUse.ObservationOfUse.StartDate"
          }
        ]
      },
      {
        "id": "Observation.effective[x]:effectivePeriod.end",
        "path": "Observation.effective[x].end",
        "short": "StopDate",
        "definition": "The date on which the patient stopped consuming alcohol.",
        "alias": [
          "StopDatum"
        ],
        "mapping": [
          {
            "identity": "zib-alcoholuse-v3.2-2020EN",
            "map": "NL-CM:7.3.5",
            "comment": "StopDate"
          },
          {
            "identity": "HdBe-AlcoholUse",
            "map": "AlcoholUse.ObservationOfUse.StopDate"
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.value[x]",
        "sliceName": "valueCodeableConcept",
        "short": "AlcoholUseStatus",
        "definition": "The status of the patient’s alcohol use.",
        "alias": [
          "AlcoholGebruikStatus"
        ],
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.healthdata.be/ValueSet/AlcoholUseStatus"
        },
        "mapping": [
          {
            "identity": "zib-alcoholuse-v3.2-2020EN",
            "map": "NL-CM:7.3.2",
            "comment": "AlcoholUseStatus"
          },
          {
            "identity": "HdBe-AlcoholUse",
            "map": "AlcoholUse.AlcoholUseStatus"
          }
        ]
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "max": "1"
      },
      {
        "id": "Observation.note.text",
        "path": "Observation.note.text",
        "short": "Comment",
        "definition": "Relevant comments on the alcohol consumption.",
        "alias": [
          "Toelichting"
        ],
        "mapping": [
          {
            "identity": "zib-alcoholuse-v3.2-2020EN",
            "map": "NL-CM:7.3.7",
            "comment": "Comment"
          },
          {
            "identity": "HdBe-AlcoholUse",
            "map": "AlcoholUse.Comment"
          }
        ]
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:amount",
        "path": "Observation.component",
        "sliceName": "amount",
        "max": "1"
      },
      {
        "id": "Observation.component:amount.code",
        "path": "Observation.component.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "897148007"
            }
          ]
        }
      },
      {
        "id": "Observation.component:amount.value[x]",
        "path": "Observation.component.value[x]",
        "short": "Amount",
        "definition": "The extent of the patient’s alcohol use in units of alcohol per time period.",
        "alias": [
          "Hoeveelheid"
        ],
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "patternQuantity": {
          "system": "http://unitsofmeasure.org"
        },
        "mapping": [
          {
            "identity": "zib-alcoholuse-v3.2-2020EN",
            "map": "NL-CM:7.3.6",
            "comment": "Amount"
          },
          {
            "identity": "HdBe-AlcoholUse",
            "map": "AlcoholUse.Amount"
          }
        ]
      }
    ]
  }
}