PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-drug-formulary@3.0.0-ballot
    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:
  code:
    mustSupport: true
    index: 0
    elements:
      coding:
        mustSupport: true
        index: 1
        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: 2
                mustSupport: true
                array: true
                elements:
                  system: {mustSupport: true, index: 3}
                  code: {mustSupport: true, index: 4}
                _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: 5
                elements:
                  system: {mustSupport: true, index: 6}
                  code: {mustSupport: true, index: 7}
                required: [system, code]
    required: [coding]
  status: {mustSupport: true, index: 8}
  doseForm: {mustSupport: true, index: 9}
package_version: 3.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-FormularyDrug
base: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge
version: 3.0.0-ballot
required: [status, code]