### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/MedicationKnowledge.json
### ----------------------------------------------------
### -- Chunk 14 of 18
 specify if a medication is part of a particular formulary.  It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.status",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element changes the interpretation of all descriptive attributes.",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicationKnowledgeStatus"
        }],
        "strength" : "required",
        "description" : "A coded concept defining if the medication is in active use.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicationknowledge-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".statusCode"
      }]
    },
    {
      "id" : "MedicationKnowledge.manufacturer",
      "path" : "MedicationKnowledge.manufacturer",
      "short" : "Manufacturer of the item",
      "definition" : "Describes the details of the manufacturer of the medication product.  This is not intended to represent the distributor of a medication product.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.manufacturer",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "script10.6",
        "map" : "no mapping"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "v2",
        "map" : "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name"
      },
      {
        "identity" : "rim",
        "map" : ".player.scopingRole[typeCode=MANU].scoper"
      }]
    },
    {
      "id" : "MedicationKnowledge.doseForm",
      "path" : "MedicationKnowledge.doseForm",
      "short" : "powder | tablets | capsule +",
      "definition" : "Describes the form of the item.  Powder; tablets; capsule.",
      "comment" : "When Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.doseForm",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicationForm"
        }],
        "strength" : "example",
        "description" : "A coded concept defining the form of a medication.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medication-form-codes"
      },
      "mapping" : [{
        "identity" : "script10.6",
        "map" : "coding.code =  //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode"
      },
      {
        "identity" : "v2",
        "map" : "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form"
      },
      {
        "identity" : "rim",
        "map" : ".formCode"
      }]
    },
    {
      "id" : "MedicationKnowledge.amount",
      "path" : "MedicationKnowledge.amount",
      "short" : "Amount of drug in package",
      "definition" : "Specific amount of the drug in the packaged product.  For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).",
      "comment" : "This is the quantity of medication in a package.  To specify the strength of the medication, the Ingredient.strength attribute is used.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.amount",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".quantity"
      }]
    },
    {
      "id" : "MedicationKnowledge.synonym",
      "path" : "MedicationKnowledge.synonym",
      "short" : "Additional names for a medication",
      "definition" : "Additional names for a medication, for example, the name(s) given to a medication in different countries.  For example, acetaminophen and paracetamol or salbutamol and albuterol.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.synonym",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "MedicationKnowledge.relatedMedicationKnowledge",
      "path" : "MedicationKnowledge.relatedMedicationKnowledge",
      "short" : "Associated or related medication information",
      "definition" : "Associated or related knowledge about a medication.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.relatedMedicationKnowledge",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.relatedMedicationKnowledge.id",
      "path" : "MedicationKnowledge.relatedMedicationKnowledge.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.relatedMedicationKnowledge.extension",
      "path" : "MedicationKnowledge.relatedMedicationKnowledge.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.relatedMedicationKnowledge.modifierExtension",
      "path" : "MedicationKnowledge.relatedMedicationKnowledge.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicationKnowledge.relatedMedicationKnowledge.type",
      "path" : "MedicationKnowledge.relatedMedicationKnowledge.type",
      "short" : "Category of medicationKnowledge",
      "definition" : "The category of the associated medication knowledge reference.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.relatedMedicationKnowledge.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.relatedMedicationKnowledge.reference",
      "path" : "MedicationKnowledge.relatedMedicationKnowledge.reference",
      "short" : "Associated documentation about the associated medication knowledge",
      "definition" : "Associated documentation about the associated medication knowledge.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.relatedMedicationKnowledge.reference",
        "min" : 1,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicationKnowledge"]
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.associatedMedication",
      "path" : "MedicationKnowledge.associatedMedication",
      "short" : "A medication resource that is associated with this medication",
      "definition" : "Associated or related medications.  For example, if the medication is a branded product (e.g. Crestor), this is the Therapeutic Moeity (e.g. Rosuvastatin) or if this is a generic medication (e.g. Rosuvastatin), this would link to a branded product (e.g. Crestor).",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.associatedMedication",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Medication"]
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.productType",
      "path" : "MedicationKnowledge.productType",
      "short" : "Category of the medication or product",
      "definition" : "Category of the medication or product (e.g. branded product, therapeutic moeity, generic product, innovator product, etc.).",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.productType",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.monograph",
      "path" : "MedicationKnowledge.monograph",
      "short" : "Associated documentation about the medication",
      "definition" : "Associated documentation about the medication.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.monograph",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.monograph.id",
      "path" : "MedicationKnowledge.monograph.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.monograph.extension",
      "path" : "MedicationKnowledge.monograph.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.monograph.modifierExtension",
      "path" : "MedicationKnowledge.monograph.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicationKnowledge.monograph.type",
      "path" : "MedicationKnowledge.monograph.type",
      "short" : "The category of medication document",
      "definition" : "The category of documentation about the medication. (e.g. professional monograph, patient education monograph).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.monograph.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.monograph.source",
      "path" : "MedicationKnowledge.monograph.source",
      "short" : "Associated documentation about the medication",
      "definition" : "Associated documentation about the medication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.monograph.source",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/Media"]
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.ingredient",
      "path" : "MedicationKnowledge.ingredient",
      "short" : "Active or inactive ingredient",
      "definition" : "Identifies a particular constituent of interest in the product.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.ingredient",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.ingredient.id",
      "path" : "MedicationKnowledge.ingredient.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.ingredient.extension",
      "path" : "MedicationKnowledge.ingredient.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.ingredient.modifierExtension",
      "path" : "MedicationKnowledge.ingredient.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicationKnowledge.ingredient.item[x]",
      "path" : "MedicationKnowledge.ingredient.item[x]",
      "short" : "Medication(s) or substance(s) contained in the medication",
      "definition" : "The actual ingredient - either a substance (simple ingredient) or another medication.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.ingredient.item[x]",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Substance"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "script10.6",
        "map" : "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"
      },
      {
        "identity" : "v2",
        "map" : "RXC-2-Component Code  if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code"
      },
      {
        "identity" : "rim",
        "map" : ".player"
      }]
    },
    {
      "id" : "MedicationKnowledge.ingredient.isActive",
      "path" : "MedicationKnowledge.ingredient.isActive",
      "short" : "Active ingredient indicator",
      "definition" : "Indication of whether this ingredient affects the therapeutic action of the drug.",
      "requirements" : "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.ingredient.isActive",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "NA"
      }]
    },
    {
      "id" : "MedicationKnowledge.ingredient.strength",
      "path" : "MedicationKnowledge.ingredient.strength",
      "short" : "Quantity of ingredient present",
      "definition" : "Specifies how many (or how much) of the items there are in this Medication.  For example, 250 mg per tablet.  This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.ingredient.strength",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Ratio"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "script10.6",
        "map" : "//element(*,DrugCodedType)/Strength"
      },
      {
        "identity" : "v2",
        "map" : "RXC-3-Component Amount & RXC-4-Component Units  if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units"
      },
      {
        "identity" : "rim",
        "map" : ".quantity"
      }]
    },
    {
      "id" : "MedicationKnowledge.preparationInstruction",
      "path" : "MedicationKnowledge.preparationInstruction",
      "short" : "The instructions for preparing the medication",
      "definition" : "The instructions for preparing the medication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicationKnowledge.preparationInstruction",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "markdown"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.intendedRoute",
      "path" : "MedicationKnowledge.intendedRoute",
      "short" : "The intended or approved route of administration",
      "definition" : "The intended or approved route of administration.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.intendedRoute",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicationRoute"
        }],
        "strength" : "example",
        "description" : "A coded concept defining the intended route of administration.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/route-codes"
      }
    },
    {
      "id" : "MedicationKnowledge.cost",
      "path" : "MedicationKnowledge.cost",
      "short" : "The pricing of the medication",
      "definition" : "The price of the medication.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicationKnowledge.cost",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "MedicationKnowledge.cost.id",
      "path" : "MedicationKnowledge.cost.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicationKnowledge.cost.extension",
      "path" : "MedicationKnowledge.cost.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0