PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@drug-formulary-1.0.0
    http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-FormularyDrug
description: The FormularyDrug resource represents a drug that is part of a drug formulary.  A drug formulary is a list of brand-name and generic prescription drugs a health insurer\nagrees to pay for, at least partially, as part of health insurance coverage.In addition to identifying the drug by its RxNorm code, and the PlanID of the formulary, the FormularyDrug entry provides information on prescribing limitations, and optionally drug classification and alternatives.
package_name: hl7.fhir.us.davinci
derivation: constraint
name: FormularyDrug
type: MedicationKnowledge
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      id: '1'
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        drugalternatives:
          match: {url: null}
          schema:
            constraint:
              ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
              ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
            isModifier: false
            type: Extension
            url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-DrugAlternatives-extension
            base: {max: '*', min: 0, path: DomainResource.extension}
            isSummary: false
            index: 1
          min: 0
        priorauthorization:
          match: {url: null}
          schema:
            constraint:
              ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
              ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
            isModifier: false
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-PriorAuthorization-extension
            base: {max: '*', min: 0, path: DomainResource.extension}
            isSummary: false
            index: 2
          min: 0
          max: 1
        steptherapylimit:
          match: {url: null}
          schema:
            constraint:
              ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
              ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
            isModifier: false
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-StepTherapyLimit-extension
            base: {max: '*', min: 0, path: DomainResource.extension}
            isSummary: false
            index: 3
          min: 0
          max: 1
        quantitylimit:
          match: {url: null}
          schema:
            constraint:
              ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
              ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
            isModifier: false
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-QuantityLimit-extension
            base: {max: '*', min: 0, path: DomainResource.extension}
            isSummary: false
            index: 4
          min: 0
          max: 1
        planid:
          match: {url: null}
          schema:
            constraint:
              ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
              ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
            isModifier: false
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-PlanID-extension
            base: {max: '*', min: 0, path: DomainResource.extension}
            isSummary: false
            index: 5
          min: 1
          max: 1
        drugtierid:
          match: {url: null}
          schema:
            constraint:
              ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
              ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
            isModifier: false
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-DrugTierID-extension
            base: {max: '*', min: 0, path: DomainResource.extension}
            isSummary: false
            index: 6
          min: 1
          max: 1
  code:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes'}
    index: 7
package_version: drug-formulary-1.0.0
extensions:
  drugalternatives:
    url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-DrugAlternatives-extension
    min: 0
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
      ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
    isModifier: false
    type: Extension
    base: {max: '*', min: 0, path: DomainResource.extension}
    isSummary: false
    index: 1
  priorauthorization:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
      ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
    min: 0
    isModifier: false
    index: 2
    type: Extension
    mustSupport: true
    max: 1
    url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-PriorAuthorization-extension
    base: {max: '*', min: 0, path: DomainResource.extension}
    isSummary: false
  steptherapylimit:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
      ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
    min: 0
    isModifier: false
    index: 3
    type: Extension
    mustSupport: true
    max: 1
    url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-StepTherapyLimit-extension
    base: {max: '*', min: 0, path: DomainResource.extension}
    isSummary: false
  quantitylimit:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
      ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
    min: 0
    isModifier: false
    index: 4
    type: Extension
    mustSupport: true
    max: 1
    url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-QuantityLimit-extension
    base: {max: '*', min: 0, path: DomainResource.extension}
    isSummary: false
  planid:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
      ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
    min: 1
    isModifier: false
    index: 5
    type: Extension
    mustSupport: true
    max: 1
    url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-PlanID-extension
    base: {max: '*', min: 0, path: DomainResource.extension}
    isSummary: false
  drugtierid:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())}
      ext-1: {human: 'Must have either extensions or value[x], not both', source: 'http://hl7.org/fhir/StructureDefinition/Extension', severity: error, expression: extension.exists() != value.exists()}
    min: 1
    isModifier: false
    index: 6
    type: Extension
    mustSupport: true
    max: 1
    url: http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-DrugTierID-extension
    base: {max: '*', min: 0, path: DomainResource.extension}
    isSummary: false
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.0.0
required: [code]