<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-AlcoholUse" />
  <text>
    <status value="empty" />
    <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>
  </text>
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-AlcoholUse" />
  <name value="ZibAlcoholUse" />
  <title value="zib AlcoholUse" />
  <status value="draft" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="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." />
  <purpose value="This Observation resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) AlcoholUse v3.2 (2020)](https://zibs.nl/wiki/AlcoholUse-v3.2(2020EN))." />
  <copyright value="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 value="4.0.1" />
  <mapping>
    <identity value="zib-alcoholuse-v3.2-2020EN" />
    <uri value="https://zibs.nl/wiki/AlcoholUse-v3.2(2020EN)" />
    <name value="zib AlcoholUse-v3.2(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="true" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="AlcoholUse" />
      <alias value="AlcoholGebruik" />
      <mapping>
        <identity value="zib-alcoholuse-v3.2-2020EN" />
        <map value="NL-CM:7.3.1" />
        <comment value="AlcoholUse" />
      </mapping>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="228273003" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.effective[x]:effectivePeriod">
      <path value="Observation.effective[x]" />
      <sliceName value="effectivePeriod" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Observation.effective[x]:effectivePeriod.start">
      <path value="Observation.effective[x].start" />
      <short value="StartDate" />
      <definition value="The date on which the patient started using alcohol." />
      <alias value="StartDatum" />
      <mapping>
        <identity value="zib-alcoholuse-v3.2-2020EN" />
        <map value="NL-CM:7.3.4" />
        <comment value="StartDate" />
      </mapping>
    </element>
    <element id="Observation.effective[x]:effectivePeriod.end">
      <path value="Observation.effective[x].end" />
      <short value="StopDate" />
      <definition value="The date on which the patient stopped consuming alcohol." />
      <alias value="StopDatum" />
      <mapping>
        <identity value="zib-alcoholuse-v3.2-2020EN" />
        <map value="NL-CM:7.3.5" />
        <comment value="StopDate" />
      </mapping>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.value[x]:valueCodeableConcept">
      <path value="Observation.value[x]" />
      <sliceName value="valueCodeableConcept" />
      <short value="AlcoholUseStatus" />
      <definition value="The status of the patient’s alcohol use." />
      <alias value="AlcoholGebruikStatus" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.3.2--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-alcoholuse-v3.2-2020EN" />
        <map value="NL-CM:7.3.2" />
        <comment value="AlcoholUseStatus" />
      </mapping>
    </element>
    <element id="Observation.note">
      <path value="Observation.note" />
      <max value="1" />
    </element>
    <element id="Observation.note.text">
      <path value="Observation.note.text" />
      <short value="Comment" />
      <definition value="Relevant comments on the alcohol consumption." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="zib-alcoholuse-v3.2-2020EN" />
        <map value="NL-CM:7.3.7" />
        <comment value="Comment" />
      </mapping>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:amount">
      <path value="Observation.component" />
      <sliceName value="amount" />
      <max value="1" />
    </element>
    <element id="Observation.component:amount.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="897148007" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:amount.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="Amount" />
      <definition value="The extent of the patient’s alcohol use in units of alcohol per time period." />
      <alias value="Hoeveelheid" />
      <type>
        <code value="Quantity" />
      </type>
      <patternQuantity>
        <system value="http://unitsofmeasure.org" />
      </patternQuantity>
      <mapping>
        <identity value="zib-alcoholuse-v3.2-2020EN" />
        <map value="NL-CM:7.3.6" />
        <comment value="Amount" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>