{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-observation-bi-alcohol-intake",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-bi-alcohol-intake",
  "version": "dv0.0.1",
  "name": "NCDHCBriefInterventionAlcoholObservationProfile",
  "title": "NCDHC Brief Intervention Alcohol Observation",
  "status": "draft",
  "date": "2020-02-21",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "description": "Brief Intervention - Alcohol",
  "purpose": "To record Alcohol intervention offered",
  "copyright": "Copyright © 2019 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-base",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "NCDHC Brief Intervention Alcohol Observation"
      },
     
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Brief Alcohol intervention",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Observation.code.coding:BriefInterventionAlcoholSNOMED-CT",
        "path": "Observation.code.coding",
        "sliceName": "BriefInterventionAlcoholSNOMED-CT",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "1373571000168106"
        }
      },
      {
        "id": "Observation.code.coding:BriefInterventionAlcoholSNOMED-CT.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "Reference to the Mother Patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-expectant-mother"
          }
        ]
      },
      {
        "id": "Observation.effectiveDateTime:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "Date when Alcohol usage was discussed",
        "min": 1
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "short": "Person who is clinically responsible for the undetaking of the assessment"
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "Brief Alcohol intervention Status",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-observation-completion-status-1"
          }
        }
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay",
        "path": "Observation.component",
        "sliceName": "AvgStdDringsPerDay",
        "short": "Average standard drinks per day",
        "max": "1"
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay.code",
        "path": "Observation.component.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "1414321000168103"
            }
          ]
        }
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "short": "Average standard drinks per day",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay.value[x]:valueQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.valueQuantity.unit",
        "mustSupport": true
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:AvgStdDringsPerDay.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "fixedCode": "{Drinks}/d",
        "mustSupport": true
      },
      {
        "id": "Observation.component:AlcoholQuitDate",
        "path": "Observation.component",
        "sliceName": "AlcoholQuitDate",
        "short": "Date ceased drinking alcohol",
        "max": "1"
      },
      {
        "id": "Observation.component:AlcoholQuitDate.code",
        "path": "Observation.component.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "1373041000168105"
            }
          ]
        }
      },
      {
        "id": "Observation.component:AlcoholQuitDate.value[x]:valueDateTime",
        "path": "Observation.component.valueDateTime",
        "sliceName": "valueDateTime",
        "short": "Alcohol quit date",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}