PackagesCanonicalsLogsProblems
    Packages
    HIE2.packages@0.1.1
    http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips
description: This profile constrains the Observation resource to represent alcohol use assessment in a patient summary.
package_name: HIE2.packages
derivation: constraint
name: ObservationAlcoholUseUvIps
type: Observation
elements:
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 13
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 13}
  value:
    choices: []
    index: 10
    slicing:
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 12
  component: {mustSupport: false, index: 14}
  effective[x]:
    extensions:
      myExtension: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, type: Extension, short: 'effective[x] absence reason', mustSupport: true, index: 8}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            myExtension:
              match: {url: null}
              schema: {type: Extension, short: 'effective[x] absence reason', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 8}
              min: 0
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 6}
  status: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 5
  code:
    type: CodeableConcept
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 74013-4, system: 'http://loinc.org'}
    index: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips']
    index: 2
    elements:
      reference: {mustSupport: true, index: 3}
    required: [reference]
package_version: 0.1.1
class: profile
kind: resource
url: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [effectiveDateTime, subject, code, effective]