{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-11-06T18:27:23.565+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/FormularyMedication",
  "name": "FormularyMedication",
  "status": "draft",
  "date": "2018-11-06T18:27:24.3213572+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication.extension",
        "path": "Medication.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Medication.extension:CoPayRequired",
        "path": "Medication.extension",
        "sliceName": "CoPayRequired",
        "definition": "Indicates whether a copay is required for a medication",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-CoPayRequired"
          }
        ]
      },
      {
        "id": "Medication.extension:CoInsuranceRequired",
        "path": "Medication.extension",
        "sliceName": "CoInsuranceRequired",
        "definition": "Indicates whether a coinsurance is required for a medication",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-CoInsuranceRequired"
          }
        ]
      },
      {
        "id": "Medication.extension:PriorAuthRequired",
        "path": "Medication.extension",
        "sliceName": "PriorAuthRequired",
        "definition": "Additional actions are required (of the patient, the provider, or both) to receive authorization from the insurer before a medication is prescribed.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-PriorAuthRequired"
          }
        ]
      },
      {
        "id": "Medication.extension:PriorAuthDescription",
        "path": "Medication.extension",
        "sliceName": "PriorAuthDescription",
        "definition": "Prior Authorization steps required before a medication can be prescribed",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-PriorAuthDescription"
          }
        ]
      },
      {
        "id": "Medication.extension:StepTherapyRequired",
        "path": "Medication.extension",
        "sliceName": "StepTherapyRequired",
        "definition": "Indicates whether a patient must try another medication before a medication may be prescribed",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-StepTherapyRequired"
          }
        ]
      },
      {
        "id": "Medication.extension:StepTherapyDescription",
        "path": "Medication.extension",
        "sliceName": "StepTherapyDescription",
        "definition": "A description of the medication (or medications) that need to be tried before a medication is prescribed",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-StepTherapyDescription"
          }
        ]
      },
      {
        "id": "Medication.extension:QuantityLimitImposed",
        "path": "Medication.extension",
        "sliceName": "QuantityLimitImposed",
        "definition": "Indicates whether there is a limit to the quantity or amount of a medication that will be covered under the health plan",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-QuantityLimitImposed"
          }
        ]
      },
      {
        "id": "Medication.extension:QuantityLimitDescription",
        "path": "Medication.extension",
        "sliceName": "QuantityLimitDescription",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-QuantityLimitDescription"
          }
        ]
      },
      {
        "id": "Medication.extension:AgeLimitImposed",
        "path": "Medication.extension",
        "sliceName": "AgeLimitImposed",
        "definition": "Indicates whether an age limit is imposed on a medication",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-AgeLimitImposed"
          }
        ]
      },
      {
        "id": "Medication.extension:AgeLimitDescription",
        "path": "Medication.extension",
        "sliceName": "AgeLimitDescription",
        "definition": "A description of the age limits imposed on a medication",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-AgeLimitDescription"
          }
        ]
      },
      {
        "id": "Medication.extension:LimitedAccessImposed",
        "path": "Medication.extension",
        "sliceName": "LimitedAccessImposed",
        "definition": "Medications are considered 'limited access' if the FDA says the drug can be given out only by certain facilities or doctors. These medications may require extra handling, provider coordination or patient education that can’t be done at a network pharmacy",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-LimitedAccessImposed"
          }
        ]
      },
      {
        "id": "Medication.extension:LimitedAccessDescription",
        "path": "Medication.extension",
        "sliceName": "LimitedAccessDescription",
        "definition": "A description of how and why a medication is classified as 'limited access'",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-LimitedAccessDescription"
          }
        ]
      },
      {
        "id": "Medication.extension:Injectable",
        "path": "Medication.extension",
        "sliceName": "Injectable",
        "definition": "The medication is available in injectable form",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-Injectable"
          }
        ]
      },
      {
        "id": "Medication.extension:MailOrder",
        "path": "Medication.extension",
        "sliceName": "MailOrder",
        "definition": "The medication is available through mail order",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-MailOrder"
          }
        ]
      },
      {
        "id": "Medication.extension:PartBOrPartD",
        "path": "Medication.extension",
        "sliceName": "PartBOrPartD",
        "definition": "The medication may be covered under Medicare Part B or D depending upon the circumstances. Information may need to be submitted describing the use and setting of the medication to make the determination.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-PartBOrPartD"
          }
        ]
      },
      {
        "id": "Medication.code.coding.system",
        "path": "Medication.code.coding.system",
        "min": 1,
        "fixedUri": "http://www.nlm.nih.gov/research/umls/rxnorm"
      },
      {
        "id": "Medication.code.coding.code",
        "path": "Medication.code.coding.code",
        "min": 1
      },
      {
        "id": "Medication.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Medication.code.text",
        "min": 1
      }
    ]
  }
}