PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-drug-formulary@1.2.0
    http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-FormularyDrug
description: Drug information which may be part of a formulary including its RxNorm code and dose form.
package_name: hl7.fhir.us.davinci-drug-formulary
derivation: constraint
name: FormularyDrug
type: MedicationKnowledge
elements:
  meta:
    elements:
      lastUpdated: {index: 0}
    required: [lastUpdated]
  code:
    mustSupport: true
    index: 1
    elements:
      coding:
        mustSupport: true
        index: 2
        slicing:
          rules: open
          ordered: false
          description: Slice based on code value
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            semantic-drug:
              match: {}
              schema:
                min: 1
                short: Semantic clinical or brand drug or pack including strength
                index: 3
                mustSupport: true
                array: true
                elements:
                  system: {mustSupport: true, index: 4}
                  code: {mustSupport: true, index: 5}
                _required: true
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-drug-formulary/ValueSet/SemanticDrugVS'}
                required: [system, code]
            semantic-drug-form-group:
              match: {}
              schema:
                short: Semantic clinical or brand drug without strength
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-drug-formulary/ValueSet/SemanticDrugFormGroupVS'}
                mustSupport: true
                array: true
                index: 6
                elements:
                  system: {mustSupport: true, index: 7}
                  code: {mustSupport: true, index: 8}
                required: [system, code]
    required: [coding]
  status: {mustSupport: true, index: 9}
  doseForm: {mustSupport: true, index: 10}
package_version: 1.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-FormularyDrug
base: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge
version: 1.2.0
required: [status, code]