PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.7-sprint-7-review
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-TobaccoConsumption
description: Defines the additional constraints and extensions on the UK Core Observation profile
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: UKCoreObservationTobaccoConsumption
type: Observation
elements:
  category:
    index: 0
    elements:
      coding:
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            type: uri
            index: 1
          code:
            pattern: {type: code, value: social-history}
            type: code
            index: 2
  code:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-TobaccoConsumption'}
    index: 3
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
    index: 4
  value:
    choices: [valueQuantity]
    index: 6
  valueQuantity: {type: Quantity, choiceOf: value, index: 7}
package_version: 0.0.7-sprint-7-review
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-TobaccoConsumption
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation
version: 0.0.1
required: [category, subject]