PackagesCanonicalsLogsProblems
    Packages
    com.alextherapeutics.fhir.nicotine@0.1.0-draft
    http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-nicotine-usage
description: A condition of nicotine usage (F17.2 ICD-10). The condition and its status updates are self-reported by the patient.
package_name: com.alextherapeutics.fhir.nicotine
derivation: constraint
name: SelfReportedNicotineUsage
type: Condition
elements:
  clinicalStatus: {index: 2}
  stage: {index: 15}
  evidence: {index: 16}
  asserter: {index: 14}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        currentSelfReportedSmokingStatus:
          match: {url: null}
          schema: {type: Extension, short: The latest smoking status that was reported by the patient, url: 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-smoking-status', index: 1}
          min: 1
          max: 1
  recordedDate: {index: 12}
  recorder: {index: 13}
  severity: {index: 4}
  code:
    index: 5
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: coding, type: pattern}
          min: 1
          slices:
            icd10:
              match: {coding: null}
              schema:
                type: Coding
                short: The ICD-10 coding of the condition
                mustSupport: true
                _required: true
                index: 7
                elements:
                  version:
                    pattern: {type: String, value: '2021'}
                    index: 8
                  code:
                    pattern: {type: Code, value: F17.2}
                    index: 9
    required: [coding]
  bodySite: {index: 10}
  verificationStatus: {index: 3}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-nicotine-using-patient']
    index: 11
package_version: 0.1.0-draft
extensions:
  currentSelfReportedSmokingStatus: {url: 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-smoking-status', min: 1, max: 1, type: Extension, short: The latest smoking status that was reported by the patient, index: 1}
class: profile
kind: resource
url: http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-nicotine-usage
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 0.1.0
required: [extension, code]