PackagesCanonicalsLogsProblems
    Packages
    com.alextherapeutics.fhir.nicotine@0.1.0-draft
    http://www.alextherapeutics.com/fhir/StructureDefinition/nicotine-usage-treatment-plan
description: A treatment plan for nicotine usage.
package_name: com.alextherapeutics.fhir.nicotine
derivation: constraint
name: NicotineUsageTreatmentPlan
type: CarePlan
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        selfReportedSmokingStatus:
          match: {url: null}
          schema: {type: Extension, short: A report made by the patient him/herself on his/her smoking status., url: 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-smoking-status', index: 1}
          min: 0
  intent:
    pattern: {type: Code, value: plan}
    index: 2
  description: {index: 3}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-nicotine-using-patient']
    index: 4
  created: {index: 5}
  addresses:
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: addresses, type: profile}
      min: 1
      slices:
        selfReportedNicotineUsage:
          match: {}
          schema:
            short: The self-reported condition of nicotine usage treated by this plan
            refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-nicotine-usage']
            type: Reference
            mustSupport: true
            _required: true
            index: 7
          min: 1
          max: 1
package_version: 0.1.0-draft
extensions:
  selfReportedSmokingStatus: {url: 'http://www.alextherapeutics.com/fhir/StructureDefinition/self-reported-smoking-status', min: 0, type: Extension, short: A report made by the patient him/herself on his/her smoking status., index: 1}
class: profile
kind: resource
url: http://www.alextherapeutics.com/fhir/StructureDefinition/nicotine-usage-treatment-plan
base: http://hl7.org/fhir/StructureDefinition/CarePlan
version: 0.1.0
required: [created, addresses, description]