PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@1.0.0
    http://hl7.org.au/fhir/StructureDefinition/au-dispenserecord
{
  "description": "Australian realm dispense record profile.",
  "_filename": "StructureDefinition-au-dispenserecord.json",
  "package_name": "hl7.fhir.au.base",
  "date": "2017-05-11T09:51:36+10:00",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2018-03-03T06:38:51.483+11:00"
  },
  "publisher": "Health Level Seven Australia (Medications WG)",
  "fhirVersion": "3.0.1",
  "name": "AUBaseDispenseRecord",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Mapping",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  } ],
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "AU Base Dispense Record",
  "package_version": "1.0.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      }, {
        "key": "mdd-1",
        "human": "whenHandedOver cannot be before whenPrepared",
        "xpath": "not(exists(f:whenHandedOver/@value)) or not(exists(f:whenPrepared/@value)) or ( f:whenHandedOver/@value >= f:whenPrepared/@value)",
        "source": "MedicationDispense",
        "severity": "error",
        "expression": "whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared"
      } ],
      "path": "MedicationDispense",
      "min": 0,
      "definition": "Dispensing of a medication to patient in an Australian healthcare contex",
      "short": "A dispense record for a medication for a patient in an Australian healthcare context",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "..Event",
        "identity": "workflow"
      }, {
        "map": "Supply[moodCode=EVN]",
        "identity": "rim"
      }, {
        "map": "clinical.medication",
        "identity": "w5"
      } ],
      "max": "*",
      "id": "MedicationDispense",
      "comment": "The WG will be updating the MedicationDispense resource  to adjust each affected resource to align with the workflow pattern (see workflow.html).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense"
      }
    }, {
      "path": "MedicationDispense.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "MedicationDispense.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "MedicationDispense.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "MedicationDispense.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "MedicationDispense.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "MedicationDispense.text",
      "condition": [ "dom-1" ],
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "MedicationDispense.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "MedicationDispense.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "MedicationDispense.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationDispense.extension",
      "min": 0,
      "definition": "Coded Grounds for Concurrent Supply of Medication",
      "short": "Grounds for Concurrent Supply of Medication",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/grounds-for-concurrent-supply"
      } ],
      "sliceName": "groundsForConcurrentSupply",
      "max": "1",
      "id": "MedicationDispense.extension:groundsForConcurrentSupply",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationDispense.extension",
      "min": 0,
      "definition": "This extension applies to the MedicationDispense resource and the value indicates the dispense number or sequence number that has been reached for a therapeutic good prescribed with repeats. ",
      "short": "Number of this Dispense",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/dispense-number"
      } ],
      "sliceName": "dispenseNumber",
      "max": "*",
      "id": "MedicationDispense.extension:dispenseNumber",
      "condition": [ "ele-1" ],
      "comment": "It has the value 1 when there are no repeats. The value increments by one each time a dispense act is successfully completed. ",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationDispense.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Medication Brand Name",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name"
      } ],
      "sliceName": "brandName",
      "max": "1",
      "id": "MedicationDispense.extension:brandName",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationDispense.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Medication Generic Drug Name",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name"
      } ],
      "sliceName": "genericName",
      "max": "1",
      "id": "MedicationDispense.extension:genericName",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "MedicationDispense.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "MedicationDispense.identifier",
      "min": 0,
      "definition": "Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR.",
      "short": "External identifier",
      "mapping": [ {
        "map": "…identifier",
        "identity": "workflow"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "type",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "MedicationDispense.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.identifier"
      }
    }, {
      "path": "MedicationDispense.identifier",
      "min": 0,
      "definition": "Identifier assigned by the dispensing system this allows linking of this dispensing record to a local system identfier.",
      "short": "Local Dispense Identifier",
      "mapping": [ {
        "map": "…identifier",
        "identity": "workflow"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "sliceName": "localDispenseIdentifier",
      "max": "*",
      "id": "MedicationDispense.identifier:localDispenseIdentifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.identifier"
      }
    }, {
      "path": "MedicationDispense.identifier.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.identifier.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.identifier.use",
      "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
      "min": 0,
      "definition": "The purpose of this identifier.",
      "isModifier": true,
      "short": "usual | official | temp | secondary (If known)",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierUse"
        } ],
        "description": "Identifies the purpose for this identifier, if known .",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.use"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type",
      "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
      "min": 1,
      "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
      "short": "Coded identifier type for local dispense identifier",
      "mapping": [ {
        "map": "CX.5",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Local identifier type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/au-hl7v2-0203"
        }
      },
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type",
      "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.type"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.identifier.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.identifier.type.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 1,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.identifier.type.coding.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.identifier.type.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "fixedUri": "http://hl7.org.au/fhir/v2/0203",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.coding.code",
      "fixedCode": "LDI",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.type.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 1,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "fixedString": "Local Dispense Identifier",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.system",
      "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
      "min": 1,
      "definition": "URL assigned by the local dispensing system.",
      "short": "Namespace for local dispense record identifier",
      "mapping": [ {
        "map": "CX.4 / EI-2-4",
        "identity": "v2"
      }, {
        "map": "II.root or Role.id.root",
        "identity": "rim"
      }, {
        "map": "./IdentifierType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.system",
      "example": [ {
        "label": "General",
        "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.value",
      "min": 1,
      "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
      "short": "Dispense record identifier",
      "mapping": [ {
        "map": "CX.1 / EI.1",
        "identity": "v2"
      }, {
        "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.value",
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "example": [ {
        "label": "General",
        "valueString": "123456"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.value"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.period",
      "min": 0,
      "definition": "Time period during which identifier is/was valid for use.",
      "short": "Time period when id is/was valid for use",
      "mapping": [ {
        "map": "CX.7 + CX.8",
        "identity": "v2"
      }, {
        "map": "Role.effectiveTime or implied by context",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.period"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.assigner",
      "min": 1,
      "definition": "Organization that issued/manages the identifier.",
      "short": "Organization that issued id (may be just text)",
      "mapping": [ {
        "map": "CX.4 / (CX.4,CX.9,CX.10)",
        "identity": "v2"
      }, {
        "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper",
        "identity": "rim"
      }, {
        "map": "./IdentifierIssuingAuthority",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner",
      "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.assigner"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.assigner.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.identifier.assigner.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.identifier.assigner.reference",
      "min": 0,
      "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
      "short": "Literal reference, Relative, internal or absolute URL",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner.reference",
      "condition": [ "ref-1" ],
      "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.reference"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.assigner.identifier",
      "min": 0,
      "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
      "short": "Logical reference, when literal reference is not known",
      "mapping": [ {
        "map": ".identifier",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner.identifier",
      "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.identifier"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.identifier.assigner.display",
      "min": 1,
      "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
      "short": "Text alternative for the resource",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner.display",
      "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.partOf",
      "min": 0,
      "definition": "The procedure that the dispense is done because of.",
      "short": "Event that dispense is part of",
      "mapping": [ {
        "map": "…part of",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=COMP]/target[classCode=PROC,moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure"
      } ],
      "max": "*",
      "id": "MedicationDispense.partOf",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.partOf"
      }
    }, {
      "path": "MedicationDispense.status",
      "min": 0,
      "definition": "A code specifying the state of the set of dispense events.",
      "isModifier": true,
      "short": "preparation | in-progress | on-hold | completed | entered-in-error | stopped",
      "mapping": [ {
        "map": "…status",
        "identity": "workflow"
      }, {
        "map": ".statusCode",
        "identity": "rim"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationDispenseStatus"
        } ],
        "description": "A coded concept specifying the state of the dispense event.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-dispense-status"
        }
      },
      "max": "1",
      "id": "MedicationDispense.status",
      "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.status"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.category",
      "min": 0,
      "definition": "Indicates type of medication dispense and where the medication is expected to be consumed or administered.",
      "short": "Type of medication dispense",
      "mapping": [ {
        "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication dispense\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationDispenseCategory"
        } ],
        "description": "A code describing where the dispensed medication is expected to be consumed or administered",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-dispense-category"
        }
      },
      "max": "1",
      "id": "MedicationDispense.category",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.category"
      }
    }, {
      "path": "MedicationDispense.medication[x]",
      "min": 1,
      "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.",
      "short": "What medication was supplied",
      "mapping": [ {
        "map": "…code",
        "identity": "workflow"
      }, {
        "map": "RXD-2-Dispense/Give Code",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=PRD].role",
        "identity": "rim"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-medication"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationCode"
        } ],
        "description": "A coded concept identifying which substance or product can be dispensed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medication[x]",
      "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example if you require form or lot number, then you must reference the Medication resource. .",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationDispense.medication[x]"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept",
      "min": 1,
      "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.",
      "short": "Coded Dispensed Medication",
      "mapping": [ {
        "map": "…code",
        "identity": "workflow"
      }, {
        "map": "RXD-2-Dispense/Give Code",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=PRD].role",
        "identity": "rim"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "medicationCoded",
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationCode"
        } ],
        "description": "A coded concept identifying which substance or product can be dispensed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded",
      "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example if you require form or lot number, then you must reference the Medication resource. .",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationDispense.medication[x]"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "code",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "PBS code from http://pbs.gov.au/code/item. Use of PBS as a code to refer to a type of medication, this excludes implication of context based on the PBS code. Where context is to be implied or stated PBS code needs to be associated with recording a prescription (MedicationRequest) or dispense record(MedicationDispense)",
      "short": "PBS Item Code",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "pbs",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/pbs-item"
        }
      },
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:pbs",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "GTIN value from http://www.gs1.org/gtin.",
      "short": "Medication Package Global Trade Item Number (GTIN)",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "gtin",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/gtin"
        }
      },
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:gtin",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Trade Product Pack",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtTPP",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-tpp-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "General category of coding to allow usage of codes to be distinguished from the same CodeSystem",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPG",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded package with no container"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPP.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Medicinal Product Pack",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtMPP",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-mpp-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "General category of coding to allow usage of codes to be distinguished from the same CodeSystem",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "UPG",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Unbranded package with no container"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPP.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Containered Trade Product Pack",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtCTPP",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-ctpp-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "General type of coding to allow usage of codes to be distinguished from the same CodeSystem",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPGC",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded package with container"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtCTPP.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Trade Product Unit of Use",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtTPUU",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-tpuu-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "A classifying type code to assist identifying a coding usage",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPDSF",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded product with strengths and form"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTPUU.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Medicinal Product Unit of Use",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtMPUU",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-mpuu-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "A classifying type code to assist identifying a coding usage",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "UPDSF",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Unbranded product with strengths and form"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMPUU.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Trade Product",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtTP",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-tp-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "A classifying type code to assist identifying a coding usage",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPD",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded product with no strengths or form"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtTP.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "AMT Medicinal Product",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "amtMP",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-mp-codes"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension",
      "min": 0,
      "definition": "A classifying type code to assist identifying a coding usage",
      "short": "Type of Medication Coding",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "sliceName": "medicationType",
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.extension:medicationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.extension:medicationType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.extension:medicationType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/medication-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.extension:medicationType.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.extension.valueCoding",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "UPD",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Unbranded product with no strengths or form"
      },
      "binding": {
        "strength": "required",
        "description": "Medication Type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/medication-type"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.extension:medicationType.valueCoding:valueCoding",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 0,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:amtMP.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "MIMS Package",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "mimsPackage",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/mims"
        }
      },
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.coding:mimsPackage",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationCodeableConcept.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\r\n\r\nThis may be a brand or generic name as suitable for the intent of the entry.",
      "short": "Medication primary text",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "MedicationDispense.medicationCodeableConcept:medicationCoded.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.medicationReference",
      "min": 1,
      "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.",
      "short": "Dispensed Medication",
      "mapping": [ {
        "map": "…code",
        "identity": "workflow"
      }, {
        "map": "RXD-2-Dispense/Give Code",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=PRD].role",
        "identity": "rim"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-medication"
      } ],
      "sliceName": "medicationReference",
      "max": "1",
      "id": "MedicationDispense.medicationReference:medicationReference",
      "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example if you require form or lot number, then you must reference the Medication resource. .",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationDispense.medication[x]"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.subject",
      "min": 0,
      "definition": "A link to a resource representing the person or the group to whom the medication will be given.",
      "short": "Who the dispense is for",
      "mapping": [ {
        "map": "…subject",
        "identity": "workflow"
      }, {
        "map": "PID-3-Patient ID List",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=SBJ].role[classCode=PAT]",
        "identity": "rim"
      }, {
        "map": "who.focus",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
      } ],
      "max": "1",
      "id": "MedicationDispense.subject",
      "comment": "SubstanceAdministration->subject->Patient.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.subject"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.context",
      "min": 0,
      "definition": "The encounter or episode of care that establishes the context for this event.",
      "short": "Encounter / Episode associated with event",
      "mapping": [ {
        "map": "…context",
        "identity": "workflow"
      }, {
        "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
      } ],
      "max": "1",
      "id": "MedicationDispense.context",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.context"
      }
    }, {
      "path": "MedicationDispense.supportingInformation",
      "min": 0,
      "definition": "Additional information that supports the medication being dispensed.",
      "short": "Information that supports the dispensing of the medication",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]",
        "identity": "rim"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
      } ],
      "max": "*",
      "id": "MedicationDispense.supportingInformation",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.supportingInformation"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "MedicationDispense.performer",
      "min": 0,
      "definition": "Indicates who or what performed the event.  It should be assumed that the performer is the dispenser of the medication.",
      "short": "Who performed event",
      "mapping": [ {
        "map": "…performer",
        "identity": "workflow"
      }, {
        "map": ".participation[typeCode=PRF]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "MedicationDispense.performer",
      "comment": "The performer will be reviewed as part of STU4.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.performer"
      }
    }, {
      "path": "MedicationDispense.performer.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.performer.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.performer.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.performer.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.performer.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "MedicationDispense.performer.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.performer.actor",
      "min": 1,
      "definition": "The device, practitioner, etc. who performed the action.  It should be assumed that the actor is the dispenser of the medication.",
      "short": "Individual who was performing",
      "mapping": [ {
        "map": "….actor",
        "identity": "workflow"
      }, {
        "map": ".role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
      } ],
      "max": "1",
      "id": "MedicationDispense.performer.actor",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationDispense.performer.actor"
      }
    }, {
      "path": "MedicationDispense.performer.onBehalfOf",
      "min": 0,
      "definition": "The organization the device or practitioner was acting on behalf of.",
      "short": "Organization organization was acting for",
      "mapping": [ {
        "map": "….onBehalfOf",
        "identity": "workflow"
      }, {
        "map": ".role.scopingOrganization",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "MedicationDispense.performer.onBehalfOf",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.performer.onBehalfOf"
      }
    }, {
      "path": "MedicationDispense.authorizingPrescription",
      "min": 0,
      "definition": "Indicates the medication order that is being dispensed against.",
      "short": "Medication order that authorizes the dispense",
      "mapping": [ {
        "map": "…basedOn",
        "identity": "workflow"
      }, {
        "map": "ORC-2 Placer Order Number",
        "identity": "v2"
      }, {
        "map": ".outboundRelationship[typeCode=FLFS].target[moodCode=RQO]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-prescription"
      } ],
      "max": "*",
      "id": "MedicationDispense.authorizingPrescription",
      "comment": "Maps to basedOn in Event logical model.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.authorizingPrescription"
      }
    }, {
      "path": "MedicationDispense.type",
      "min": 0,
      "definition": "Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.",
      "short": "Trial fill, partial fill, emergency fill, etc.",
      "mapping": [ {
        "map": "RXD-33-Dispense Type",
        "identity": "v2"
      }, {
        "map": ".code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationDispenseType"
        } ],
        "description": "Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType"
        }
      },
      "max": "1",
      "id": "MedicationDispense.type",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.type"
      }
    }, {
      "path": "MedicationDispense.quantity",
      "min": 0,
      "definition": "The amount of medication that has been dispensed. Includes unit of measure.",
      "short": "Amount dispensed",
      "mapping": [ {
        "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system",
        "identity": "v2"
      }, {
        "map": ".quantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationDispense.quantity",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.quantity"
      }
    }, {
      "path": "MedicationDispense.daysSupply",
      "min": 0,
      "definition": "The amount of medication expressed as a timing amount.",
      "short": "Amount of medication expressed as a timing amount",
      "mapping": [ {
        "map": "TQ1.6 Timing/Quantity Segment Service Duration.\rPrior to v2.5, ORC.7.3 Common Order Segment / Quantity/Timing / Duration component.  This is a formatted string, first character for the time unit (e.g., D=days), followed by the value.  For example, “D14” represents “14 days supply”\rFrom v2.5 on, TQ1.6 Timing/Quantity Segment / Service Duration.  This is a CQ data type ( ^ ), thus for days supply, assuming the unit of measure is “days”, the numeric value is TQ1.6.1 (…|14^\rFor backwards compatibility, ORC.7 was permitted through v2.6.  Both forms (field and segment) may be present in v2.5, v2.5.1, and v2.6",
        "identity": "v2"
      }, {
        "map": "effectiveUseTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationDispense.daysSupply",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.daysSupply"
      }
    }, {
      "path": "MedicationDispense.whenPrepared",
      "min": 0,
      "definition": "The time when the dispensed product was packaged and reviewed.",
      "short": "When product was packaged and reviewed",
      "mapping": [ {
        "map": "RXD-3-Date/Time Dispensed",
        "identity": "v2"
      }, {
        "map": ".effectiveTime[xmi:type=IVL_TS].low",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "MedicationDispense.whenPrepared",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.whenPrepared"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.whenHandedOver",
      "min": 0,
      "definition": "The time the dispensed product was provided to the patient or their representative.",
      "short": "When product was given out",
      "mapping": [ {
        "map": "…occurrenceDateTime",
        "identity": "workflow"
      }, {
        "map": "RXD-3-Date/Time Dispensed",
        "identity": "v2"
      }, {
        "map": ".effectiveTime[xmi:type=IVL_TS].high",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "MedicationDispense.whenHandedOver",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.whenHandedOver"
      }
    }, {
      "path": "MedicationDispense.destination",
      "min": 0,
      "definition": "Identification of the facility/location where the medication was shipped to, as part of the dispense event.",
      "short": "Where the medication was sent",
      "mapping": [ {
        "map": "RXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=DST].role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
      } ],
      "max": "1",
      "id": "MedicationDispense.destination",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.destination"
      }
    }, {
      "path": "MedicationDispense.receiver",
      "min": 0,
      "definition": "Identifies the person who picked up the medication.  This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.",
      "short": "Who collected the medication",
      "mapping": [ {
        "map": ".participation[typeCode=RCV].role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      } ],
      "max": "*",
      "id": "MedicationDispense.receiver",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.receiver"
      }
    }, {
      "path": "MedicationDispense.note",
      "min": 0,
      "definition": "Extra information about the dispense that could not be conveyed in the other attributes.",
      "short": "Information about the dispense",
      "mapping": [ {
        "map": "…note",
        "identity": "workflow"
      }, {
        "map": "RXD-9 Dispense Notes",
        "identity": "v2"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ACT,moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "MedicationDispense.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.note"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "MedicationDispense.dosageInstruction",
      "min": 0,
      "definition": "Indicates how the medication is/was taken or should be taken by the patient.",
      "short": "Dosage information in an Australian healthcare context",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Dosage",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/au-dosage"
      } ],
      "max": "*",
      "id": "MedicationDispense.dosageInstruction",
      "condition": [ "ele-1" ],
      "comment": "When the dose or rate is intended to change over the entire administration period (e.g. Tapering dose prescriptions), multiple instances of dosage instructions will need to be supplied to convey the different doses/rates.\rThe pharmacist reviews the medication order prior to dispense and updates the dosageInstruction based on the actual product being dispensed.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.dosageInstruction"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "MedicationDispense.substitution",
      "min": 0,
      "definition": "Indicates whether or not substitution was made as part of the dispense.  In some cases substitution will be expected but does not happen, in other cases substitution is not expected but does happen.  This block explains what substitution did or did not happen and why.  If nothing is specified, substitution was not done.",
      "short": "Whether a substitution was performed on the dispense",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "MedicationDispense.substitution",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.substitution"
      }
    }, {
      "path": "MedicationDispense.substitution.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationDispense.substitution.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationDispense.substitution.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationDispense.substitution.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationDispense.substitution.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "MedicationDispense.substitution.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "MedicationDispense.substitution.wasSubstituted",
      "min": 1,
      "definition": "True if the dispenser dispensed a different drug or product from what was prescribed.",
      "short": "Whether a substitution was or was not performed on the dispense",
      "mapping": [ {
        "map": ".actionNegationInd",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.substitution.wasSubstituted",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationDispense.substitution.wasSubstituted"
      }
    }, {
      "path": "MedicationDispense.substitution.type",
      "min": 0,
      "definition": "A code signifying whether a different drug was dispensed from what was prescribed.",
      "short": "Code signifying whether a different drug was dispensed from what was prescribed",
      "mapping": [ {
        "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status",
        "identity": "v2"
      }, {
        "map": ".code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationIntendedSubstitutionType"
        } ],
        "description": "A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode"
        }
      },
      "max": "1",
      "id": "MedicationDispense.substitution.type",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.substitution.type"
      }
    }, {
      "path": "MedicationDispense.substitution.reason",
      "min": 0,
      "definition": "Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.",
      "short": "Why was substitution made",
      "mapping": [ {
        "map": ".reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MedicationIntendedSubstitutionReason"
        } ],
        "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"
        }
      },
      "max": "*",
      "id": "MedicationDispense.substitution.reason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.substitution.reason"
      }
    }, {
      "path": "MedicationDispense.substitution.responsibleParty",
      "min": 0,
      "definition": "The person or organization that has primary responsibility for the substitution.",
      "short": "Who is responsible for the substitution",
      "mapping": [ {
        "map": ".participation[typeCode=PFM].role[classCode=ASSIGN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      } ],
      "max": "*",
      "id": "MedicationDispense.substitution.responsibleParty",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.substitution.responsibleParty"
      }
    }, {
      "path": "MedicationDispense.detectedIssue",
      "min": 0,
      "definition": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.",
      "short": "Clinical issue with action",
      "mapping": [ {
        "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
      } ],
      "alias": [ "Contraindication", "Drug Utilization Review (DUR)", "Alert" ],
      "max": "*",
      "id": "MedicationDispense.detectedIssue",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.detectedIssue"
      }
    }, {
      "path": "MedicationDispense.notDone",
      "min": 0,
      "definition": "True if the dispense was not performed for some reason.",
      "short": "Whether the dispense was or was not performed",
      "mapping": [ {
        "map": "…notDone",
        "identity": "workflow"
      }, {
        "map": ".actionNegationInd",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationDispense.notDone",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.notDone"
      }
    }, {
      "path": "MedicationDispense.notDoneReason[x]",
      "min": 0,
      "definition": "Indicates the reason why a dispense was not performed.",
      "short": "Why a dispense was not performed",
      "mapping": [ {
        "map": "…notDoneReason",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code=\"not done reason\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
      } ],
      "max": "1",
      "id": "MedicationDispense.notDoneReason[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationDispense.notDoneReason[x]"
      }
    }, {
      "path": "MedicationDispense.eventHistory",
      "min": 0,
      "definition": "A summary of the events of interest that have occurred, such as when the dispense was verified.",
      "short": "A list of releveant lifecycle events",
      "mapping": [ {
        "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance"
      } ],
      "max": "*",
      "id": "MedicationDispense.eventHistory",
      "comment": "This may not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationDispense.eventHistory"
      }
    } ]
  },
  "status": "draft",
  "id": "95de7eed-ece6-4d06-83bc-f8011c2a76b5",
  "kind": "resource",
  "url": "http://hl7.org.au/fhir/StructureDefinition/au-dispenserecord",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "MedicationDispense",
      "path": "MedicationDispense",
      "short": "A dispense record for a medication for a patient in an Australian healthcare context",
      "definition": "Dispensing of a medication to patient in an Australian healthcare contex"
    }, {
      "id": "MedicationDispense.extension",
      "path": "MedicationDispense.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.extension:groundsForConcurrentSupply",
      "max": "1",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/grounds-for-concurrent-supply"
      } ],
      "short": "Grounds for Concurrent Supply of Medication",
      "sliceName": "groundsForConcurrentSupply"
    }, {
      "id": "MedicationDispense.extension:dispenseNumber",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/dispense-number"
      } ],
      "short": "Number of this Dispense",
      "sliceName": "dispenseNumber"
    }, {
      "id": "MedicationDispense.extension:brandName",
      "max": "1",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name"
      } ],
      "short": "Medication Brand Name",
      "sliceName": "brandName"
    }, {
      "id": "MedicationDispense.extension:genericName",
      "max": "1",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name"
      } ],
      "short": "Medication Generic Drug Name",
      "sliceName": "genericName"
    }, {
      "id": "MedicationDispense.identifier",
      "path": "MedicationDispense.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "type",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier",
      "path": "MedicationDispense.identifier",
      "short": "Local Dispense Identifier",
      "sliceName": "localDispenseIdentifier",
      "definition": "Identifier assigned by the dispensing system this allows linking of this dispensing record to a local system identfier."
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type",
      "min": 1,
      "path": "MedicationDispense.identifier.type",
      "short": "Coded identifier type for local dispense identifier",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Local identifier type",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/au-hl7v2-0203"
        }
      }
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.identifier.type.coding"
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.system",
      "min": 1,
      "path": "MedicationDispense.identifier.type.coding.system",
      "fixedUri": "http://hl7.org.au/fhir/v2/0203"
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.coding.code",
      "min": 1,
      "path": "MedicationDispense.identifier.type.coding.code",
      "fixedCode": "LDI"
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.type.text",
      "min": 1,
      "path": "MedicationDispense.identifier.type.text",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "fixedString": "Local Dispense Identifier"
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.system",
      "min": 1,
      "path": "MedicationDispense.identifier.system",
      "short": "Namespace for local dispense record identifier",
      "definition": "URL assigned by the local dispensing system."
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.value",
      "min": 1,
      "path": "MedicationDispense.identifier.value",
      "short": "Dispense record identifier"
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner",
      "min": 1,
      "path": "MedicationDispense.identifier.assigner"
    }, {
      "id": "MedicationDispense.identifier:localDispenseIdentifier.assigner.display",
      "min": 1,
      "path": "MedicationDispense.identifier.assigner.display",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ]
    }, {
      "id": "MedicationDispense.medication[x]",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.medication[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-medication"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded",
      "path": "MedicationDispense.medication[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Coded Dispensed Medication",
      "sliceName": "medicationCoded"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding",
      "path": "MedicationDispense.medication[x].coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "code",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:pbs",
      "path": "MedicationDispense.medication[x].coding",
      "short": "PBS Item Code",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/pbs-item"
        }
      },
      "sliceName": "pbs",
      "definition": "PBS code from http://pbs.gov.au/code/item. Use of PBS as a code to refer to a type of medication, this excludes implication of context based on the PBS code. Where context is to be implied or stated PBS code needs to be associated with recording a prescription (MedicationRequest) or dispense record(MedicationDispense)"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:gtin",
      "path": "MedicationDispense.medication[x].coding",
      "short": "Medication Package Global Trade Item Number (GTIN)",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/gtin"
        }
      },
      "sliceName": "gtin",
      "definition": "GTIN value from http://www.gs1.org/gtin."
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPP",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Trade Product Pack",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-tpp-codes"
        }
      },
      "sliceName": "amtTPP"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPP.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPP.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType",
      "definition": "General category of coding to allow usage of codes to be distinguished from the same CodeSystem"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPP.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPG",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded package with no container"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPP",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Medicinal Product Pack",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-mpp-codes"
        }
      },
      "sliceName": "amtMPP"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPP.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPP.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType",
      "definition": "General category of coding to allow usage of codes to be distinguished from the same CodeSystem"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPP.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "UPG",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Unbranded package with no container"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtCTPP",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Containered Trade Product Pack",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-ctpp-codes"
        }
      },
      "sliceName": "amtCTPP"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtCTPP.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtCTPP.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType",
      "definition": "General type of coding to allow usage of codes to be distinguished from the same CodeSystem"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtCTPP.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPGC",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded package with container"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPUU",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Trade Product Unit of Use",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-tpuu-codes"
        }
      },
      "sliceName": "amtTPUU"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPUU.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPUU.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTPUU.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPDSF",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded product with strengths and form"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPUU",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Medicinal Product Unit of Use",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-mpuu-codes"
        }
      },
      "sliceName": "amtMPUU"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPUU.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPUU.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMPUU.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "UPDSF",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Unbranded product with strengths and form"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTP",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Trade Product",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-tp-codes"
        }
      },
      "sliceName": "amtTP"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTP.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTP.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtTP.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "BPD",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Branded product with no strengths or form"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMP",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "AMT Medicinal Product",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/amt-mp-codes"
        }
      },
      "sliceName": "amtMP"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMP.extension",
      "path": "MedicationDispense.medication[x].coding.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMP.extension:medicationType",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/medication-type"
      } ],
      "short": "Type of Medication Coding",
      "sliceName": "medicationType"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:amtMP.extension:medicationType.valueCoding:valueCoding",
      "path": "MedicationDispense.medication[x].coding.extension.valueCoding",
      "sliceName": "valueCoding",
      "fixedCoding": {
        "code": "UPD",
        "system": "http://hl7.org.au/fhir/CodeSystem/medication-type",
        "display": "Unbranded product with no strengths or form"
      }
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.coding:mimsPackage",
      "max": "1",
      "path": "MedicationDispense.medication[x].coding",
      "short": "MIMS Package",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/mims"
        }
      },
      "sliceName": "mimsPackage"
    }, {
      "id": "MedicationDispense.medication[x]:medicationCoded.text",
      "path": "MedicationDispense.medication[x].text",
      "short": "Medication primary text",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\r\n\r\nThis may be a brand or generic name as suitable for the intent of the entry."
    }, {
      "id": "MedicationDispense.medication[x]:medicationReference",
      "path": "MedicationDispense.medication[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-medication"
      } ],
      "short": "Dispensed Medication",
      "sliceName": "medicationReference"
    }, {
      "id": "MedicationDispense.authorizingPrescription",
      "path": "MedicationDispense.authorizingPrescription",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-prescription"
      } ]
    }, {
      "id": "MedicationDispense.dosageInstruction",
      "path": "MedicationDispense.dosageInstruction",
      "type": [ {
        "code": "Dosage",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/au-dosage"
      } ]
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "use": "work",
      "value": "http://hl7.org.au/fhir",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
}