FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.0.264  |  FHIR Version 3.0.1  | User: ANONYMOUS (Unknown)  

Resource "MedicationRequest" Version "1" (StructureDefinition)

Tags:

XML or JSON representation. Try out the Profile as a questionnaire based web form . Edit this as XML or JSON. provenance for this resource

Name Flags Card. Type Description & Constraints doco
. . MedicationRequest DomainResource Ordering of medication for patient or group
Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
. . . identifier 0..* Identifier External ids for this request
. . . definition Σ 0..* Reference( ActivityDefinition | PlanDefinition) Protocol or definition
. . . basedOn Σ 0..* Reference( CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) What request fulfills
. . . groupIdentifier Σ 0..1 Identifier Composite request this is part of
. . . status ?! Σ 0..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
MedicationRequestStatus ( Required)
. . . intent ?! Σ 1..1 code proposal | plan | order | instance-order
MedicationRequestIntent ( Required)
. . . category 0..1 CodeableConcept Type of medication usage
MedicationRequestCategory ( Preferred)
. . . priority Σ 0..1 code routine | urgent | stat | asap
MedicationRequestPriority ( Required)
. . . medication[x] Σ 1..1 Medication to be taken
SNOMED CT Medication Codes ( Example)
. . . . medicationCodeableConcept CodeableConcept
. . . . medicationReference Reference( Medication)
. . . subject Σ 1..1 Reference( Patient | Group) Who or group medication request is for
. . . context 0..1 Reference( Encounter | EpisodeOfCare) Created during encounter/admission/stay
. . . supportingInformation 0..* Reference( Any) Information to support ordering of the medication
. . . authoredOn Σ 0..1 dateTime When request was initially authored
. . . requester Σ I 0..1 BackboneElement Who/What requested the Request
+ onBehalfOf can only be specified if agent is practitioner or device
. . . . agent Σ 1..1 Reference( Practitioner | Organization | Patient | RelatedPerson | Device) Who ordered the initial medication(s)
. . . . onBehalfOf Σ I 0..1 Reference( Organization) Organization agent is acting for
. . . recorder 0..1 Reference( Practitioner) Person who entered the request
. . . reasonCode 0..* CodeableConcept Reason or indication for writing the prescription
Condition/Problem/Diagnosis Codes ( Example)
. . . reasonReference 0..* Reference( Condition | Observation) Condition or Observation that supports why the prescription is being written
. . . note 0..* Annotation Information about the prescription
. . . dosageInstruction 0..* Dosage How the medication should be taken
. . . dispenseRequest 0..1 BackboneElement Medication supply authorization
. . . . validityPeriod 0..1 Period Time period supply is authorized for
. . . . numberOfRepeatsAllowed 0..1 positiveInt Number of refills authorized
. . . . quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
. . . . expectedSupplyDuration 0..1 Duration Number of days supply per dispense
. . . . performer 0..1 Reference( Organization) Intended dispenser
. . . substitution 0..1 BackboneElement Any restrictions on medication substitution
. . . . allowed ?! 1..1 boolean Whether substitution is allowed or not
. . . . reason 0..1 CodeableConcept Why should (not) substitution be made
SubstanceAdminSubstitutionReason ( Example)
. . . priorPrescription 0..1 Reference( MedicationRequest) An order/prescription that is being replaced
. . . detectedIssue 0..* Reference( DetectedIssue) Clinical Issue with action
. . . eventHistory 0..* Reference( Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="MedicationRequest"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2018-09-06T12:40:01.828Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table style="border: 0px #F0F0F0 solid font-size: 11px font-family: verdana vertical-align: top" border="0" cellpadding="0" cellspacing="0">
        <tr style="border: 1px #F0F0F0 solid font-size: 11px font-family: verdana vertical-align: top">
          <th style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a title="The logical name of the element" href="formats.html#table">Name</a> </th>
          <th style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a title="Information about the use of the element" href="formats.html#table">Flags</a> </th>
          <th style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a title="Minimum and Maximum # of times the the element can appear in the instance" href="formats.html#table">Card.</a> </th>
          <th style="width: 100px" class="hierarchy">
            <a title="Reference to the type of the element" href="formats.html#table">Type</a> </th>
          <th style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a title="Additional information about the element" href="formats.html#table">Description &amp; Constraints</a>
            <span style="float: right">
              <a title="Legend for this format" href="formats.html#table">
                <img alt="doco" style="background-color: inherit"/> </a> </span> </th> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJBSURBVDjLhdKxa5NBGMfx713yvkmbJnaoFiSF4mJTh06Kg4OgiyCCRXCof4YIdXdxFhQVHPo3OFSoUx0FySQttaVKYq2NbdO8ed/L3fM4JG3tYPvAcfBw9+HHPWdUlf/V0tLSqKo+EpEHInJFRIohhDUR+RBCeDM7O7ua55QSkRfVanVufHyckZERrLV0Op2Zra2tmXq9fg+YsmcAdyYnJykUCke9OI6ZmJgghHAZ4KwE3ntPs9mkVCohIjQaDWq1GiEEAM5KoHEcY62lVCrRarUoFotUKpUjIL/y/uqXYmV62ph/LSVrr30P4bEFcM4B0Ov1jk547/uAUTs1ceNdZIwB7V/GGHz6+9LXxY96eDiEgHMOY8xJAK8p4grZz5cElwNbwZgyxYu3EFM01lriOCZJEqIoIooiALIsGwA9Y1UcwcWoKNLdpLu9zvbnBWqNBhuvn5EDUmB0EH/1E2TZw5U+YLQovkun+Ytsaw1xCbnCOap334LC7s4Oe/ttvA+ICLmhMXRxDufczUECS37oAuevPwUEVFFp4/eXkXSdYc2IopSepnjtUh5/wg9gfn6+OQBUNaRIUkfDHhraSLoBKqikIF3yHJDLHaAkFOLciVHnyVAVj/S2Ub/XRyQD9aAZKgkaOohvo6ENgykcA07VEFDfQv1uf4W9Y8y30bCPhg4qKZJtMnjTPqBO/vhkZ7h3EJeRslWNQMqgY2jIAIfa/m5sIKSpqpPsGEiz599e3b+GchtD+bSvjQJm2SG6cNj6C+QmaxAek5tyAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Resource"/>
            <span title="MedicationRequest : An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called &quot;MedicationRequest&quot; rather than &quot;MedicationPrescription&quot; or &quot;MedicationOrder&quot; to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.">MedicationRequest</span>
            <a name="MedicationRequest"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="domainresource.html">DomainResource</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Ordering of medication for patient or group
            <br/>Elements defined in Ancestors:
            <a title="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." href="resource.html#Resource">id</a>,
            <a title="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." href="resource.html#Resource">meta</a>,
            <a title="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." href="resource.html#Resource">implicitRules</a>,
            <a title="The base language in which the resource is written." href="resource.html#Resource">language</a>,
            <a title="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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." href="domainresource.html#DomainResource">text</a>,
            <a title="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." href="domainresource.html#DomainResource">contained</a>,
            <a title="May be used to represent additional information that is not part of the basic definition of the resource. 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." href="domainresource.html#DomainResource">extension</a>,
            <a title="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." href="domainresource.html#DomainResource">modifierExtension</a> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.identifier : This records identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. For example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records must be tracked through an entire system.">identifier</span>
            <a name="MedicationRequest.identifier"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#Identifier">Identifier</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">External ids for this request
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.definition : Protocol or definition followed by this request.">definition</span>
            <a name="MedicationRequest.definition"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="activitydefinition.html">ActivityDefinition</a>|
            <a href="plandefinition.html">PlanDefinition</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Protocol or definition
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.basedOn : A plan or request that is fulfilled in whole or in part by this medication request.">basedOn</span>
            <a name="MedicationRequest.basedOn"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="careplan.html">CarePlan</a>|
            <a href="medicationrequest.html">MedicationRequest</a>|
            <a href="procedurerequest.html">ProcedureRequest</a>|
            <a href="referralrequest.html">ReferralRequest</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">What request fulfills
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.groupIdentifier : A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.">groupIdentifier</span>
            <a name="MedicationRequest.groupIdentifier"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#Identifier">Identifier</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Composite request this is part of</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Primitive Data Type"/>
            <span title="MedicationRequest.status : A code specifying the current state of the order. Generally this will be active or completed state.">status</span>
            <a name="MedicationRequest.status"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is a modifier element">?!</span>
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#code">code</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
            <br/>
            <a title="A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription" href="valueset-medication-request-status.html">MedicationRequestStatus</a>(
            <a title="To be conformant, the concept in this element SHALL be from the specified value set" href="terminologies.html#required">Required</a>) </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Primitive Data Type"/>
            <span title="MedicationRequest.intent : Whether the request is a proposal, plan, or an original order.">intent</span>
            <a name="MedicationRequest.intent"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is a modifier element">?!</span>
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#code">code</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">proposal | plan | order | instance-order
            <br/>
            <a title="The kind of medication order" href="valueset-medication-request-intent.html">MedicationRequestIntent</a>(
            <a title="To be conformant, the concept in this element SHALL be from the specified value set" href="terminologies.html#required">Required</a>) </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.category : Indicates the type of medication order and where the medication is expected to be consumed or administered.">category</span>
            <a name="MedicationRequest.category"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Type of medication usage
            <br/>
            <a title="A coded concept identifying where the medication ordered is expected to be consumed or administered" href="valueset-medication-request-category.html">MedicationRequestCategory</a>(
            <a title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." href="terminologies.html#preferred">Preferred</a>) </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Primitive Data Type"/>
            <span title="MedicationRequest.priority : Indicates how quickly the Medication Request should be addressed with respect to other requests.">priority</span>
            <a name="MedicationRequest.priority"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#code">code</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">routine | urgent | stat | asap
            <br/>
            <a title="Identifies the level of importance to be assigned to actioning the request" href="valueset-medication-request-priority.html">MedicationRequestPriority</a>(
            <a title="To be conformant, the concept in this element SHALL be from the specified value set" href="terminologies.html#required">Required</a>) </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAMQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1chEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH5BAEAAB8ALAAAAAAQABAAAAWH4Cd+Xml6Y0pCQts0EKp6GbYshaM/skhjhCChUmFIeL4OsHIxXRAISQTl6SgIG8+FgfBMoh2qtbLZQr0TQJhk3TC4pYPBApiyFVDEwSOf18UFXxMWBoUJBn9sDgmDewcJCRyJJBoEkRyYmAABPZQEAAOhA5seFDMaDw8BAQ9TpiokJyWwtLUhADs=" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Choice of Types"/>
            <span title="MedicationRequest.medication[x] : Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.">medication[x]</span>
            <a name="MedicationRequest.medication_x_"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Medication to be taken
            <br/>
            <a title="A coded concept identifying substance or product that can be ordered." href="valueset-medication-codes.html">SNOMED CT Medication Codes</a>(
            <a title="Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included." href="terminologies.html#example">Example</a>) </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.">medicationCodeableConcept</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>medicationReference </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="medication.html">Medication</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.subject : A link to a resource representing the person or set of individuals to whom the medication will be given.">subject</span>
            <a name="MedicationRequest.subject"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="patient.html">Patient</a>|
            <a href="group.html">Group</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Who or group medication request is for</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.context : A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.">context</span>
            <a name="MedicationRequest.context"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="encounter.html">Encounter</a>|
            <a href="episodeofcare.html">EpisodeOfCare</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Created during encounter/admission/stay</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.supportingInformation : Include additional information (for example, patient height and weight) that supports the ordering of the medication.">supportingInformation</span>
            <a name="MedicationRequest.supportingInformation"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="resourcelist.html">Any</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Information to support ordering of the medication
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Primitive Data Type"/>
            <span title="MedicationRequest.authoredOn : The date (and perhaps time) when the prescription was initially written or authored on.">authoredOn</span>
            <a name="MedicationRequest.authoredOn"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#dateTime">dateTime</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">When request was initially authored</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Element"/>
            <span title="MedicationRequest.requester : The individual, organization or device that initiated the request and has responsibility for its activation.">requester</span>
            <a name="MedicationRequest.requester"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span>
            <span style="padding: 3px" title="This element has or is affected by some invariants">I</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="backboneelement.html">BackboneElement</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Who/What requested the Request
            <br/>
            <span style="font-style: italic" title="mps-1">+ onBehalfOf can only be specified if agent is practitioner or device</span> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.requester.agent : The healthcare professional responsible for authorizing the initial prescription.">agent</span>
            <a name="MedicationRequest.requester.agent"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="practitioner.html">Practitioner</a>|
            <a href="organization.html">Organization</a>|
            <a href="patient.html">Patient</a>|
            <a href="relatedperson.html">RelatedPerson</a>|
            <a href="device.html">Device</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Who ordered the initial medication(s)</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.requester.onBehalfOf : The organization the device or practitioner was acting on behalf of.">onBehalfOf</span>
            <a name="MedicationRequest.requester.onBehalfOf"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is included in summaries">&#931;</span>
            <span style="padding: 3px" title="This element has or is affected by some invariants">I</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="organization.html">Organization</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Organization agent is acting for</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.recorder : The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.">recorder</span>
            <a name="MedicationRequest.recorder"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="practitioner.html">Practitioner</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Person who entered the request</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.reasonCode : The reason or the indication for ordering the medication.">reasonCode</span>
            <a name="MedicationRequest.reasonCode"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Reason or indication for writing the prescription
            <br/>
            <a title="A coded concept indicating why the medication was ordered." href="valueset-condition-code.html">Condition/Problem/Diagnosis Codes</a>(
            <a title="Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included." href="terminologies.html#example">Example</a>)
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.reasonReference : Condition or observation that supports why the medication was ordered.">reasonReference</span>
            <a name="MedicationRequest.reasonReference"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="condition.html">Condition</a>|
            <a href="observation.html">Observation</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Condition or Observation that supports why the prescription is being written
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.note : Extra information about the prescription that could not be conveyed by the other attributes.">note</span>
            <a name="MedicationRequest.note"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#Annotation">Annotation</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Information about the prescription
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.dosageInstruction : Indicates how the medication is to be used by the patient.">dosageInstruction</span>
            <a name="MedicationRequest.dosageInstruction"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="dosage.html#Dosage">Dosage</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">How the medication should be taken
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Element"/>
            <span title="MedicationRequest.dispenseRequest : Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.">dispenseRequest</span>
            <a name="MedicationRequest.dispenseRequest"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="backboneelement.html">BackboneElement</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Medication supply authorization</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.dispenseRequest.validityPeriod : This indicates the validity period of a prescription (stale dating the Prescription).">validityPeriod</span>
            <a name="MedicationRequest.dispenseRequest.validityPeriod"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#Period">Period</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Time period supply is authorized for</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Primitive Data Type"/>
            <span title="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed : An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.">numberOfRepeatsAllowed</span>
            <a name="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#positiveInt">positiveInt</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Number of refills authorized</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.dispenseRequest.quantity : The amount that is to be dispensed for one fill.">quantity</span>
            <a name="MedicationRequest.dispenseRequest.quantity"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#SimpleQuantity">SimpleQuantity</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Amount of medication to supply per dispense</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.dispenseRequest.expectedSupplyDuration : Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.">expectedSupplyDuration</span>
            <a name="MedicationRequest.dispenseRequest.expectedSupplyDuration"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#Duration">Duration</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Number of days supply per dispense</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.dispenseRequest.performer : Indicates the intended dispensing Organization specified by the prescriber.">performer</span>
            <a name="MedicationRequest.dispenseRequest.performer"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="organization.html">Organization</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Intended dispenser</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Element"/>
            <span title="MedicationRequest.substitution : Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen. This block explains the prescriber&apos;s intent. If nothing is specified substitution may be done.">substitution</span>
            <a name="MedicationRequest.substitution"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="backboneelement.html">BackboneElement</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Any restrictions on medication substitution</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Primitive Data Type"/>
            <span title="MedicationRequest.substitution.allowed : True if the prescriber allows a different drug to be dispensed from what was prescribed.">allowed</span>
            <a name="MedicationRequest.substitution.allowed"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding: 3px" title="This element is a modifier element">?!</span> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#boolean">boolean</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Whether substitution is allowed or not</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Data Type"/>
            <span title="MedicationRequest.substitution.reason : Indicates the reason for the substitution, or why substitution must or must not be performed.">reason</span>
            <a name="MedicationRequest.substitution.reason"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Why should (not) substitution be made
            <br/>
            <a title="A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed." href="v3/SubstanceAdminSubstitutionReason/vs.html">SubstanceAdminSubstitutionReason</a>(
            <a title="Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included." href="terminologies.html#example">Example</a>) </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.priorPrescription : A link to a resource representing an earlier order related order or prescription.">priorPrescription</span>
            <a name="MedicationRequest.priorPrescription"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="medicationrequest.html">MedicationRequest</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">An order/prescription that is being replaced</td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.detectedIssue : 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.">detectedIssue</span>
            <a name="MedicationRequest.detectedIssue"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="detectedissue.html">DetectedIssue</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Clinical Issue with action
            <br/> </td> </tr>
        <tr style="border: 0px #F0F0F0 solid padding:0px vertical-align: top background-color: white">
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px white-space: nowrap background-image: url(data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: inherit"/>
            <img src="data: image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" class="hierarchy" alt="." style="background-color: white background-color: inherit" title="Reference to another Resource"/>
            <span title="MedicationRequest.eventHistory : Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.">eventHistory</span>
            <a name="MedicationRequest.eventHistory"> </a> </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="references.html">Reference</a>(
            <a href="provenance.html">Provenance</a>) </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">A list of events of interest in the lifecycle
            <br/> </td> </tr>
        <tr>
          <td colspan="5" class="hierarchy">
            <br/>
            <a title="Legend for this format" href="formats.html#table">
              <img alt="doco" style="background-color: inherit"/>Documentation for this format </a> </td> </tr> </table> </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="3"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="phx"/>
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
  <name value="MedicationRequest"/>
  <status value="draft"/>
  <date value="2017-04-19T07:44:43+10:00"/>
  <publisher value="Health Level Seven International (Pharmacy)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/medication/index.cfm"/>
    </telecom>
  </contact>
  <description value="Base StructureDefinition for MedicationRequest Resource"/>
  <fhirVersion value="3.0.1"/>
  <mapping>
    <identity value="workflow"/>
    <uri value="http://hl7.org/fhir/workflow"/>
    <name value="Workflow Mapping"/>
  </mapping>
  <mapping>
    <identity value="script10.6"/>
    <uri value="http://ncpdp.org/SCRIPT10_6"/>
    <name value="Mapping to NCPDP SCRIPT 10.6"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="MedicationRequest"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="MedicationRequest">
      <path value="MedicationRequest"/>
      <short value="Ordering of medication for patient or group"/>
      <definition value="An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called &quot;MedicationRequest&quot; rather than &quot;MedicationPrescription&quot; or &quot;MedicationOrder&quot; to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns."/>
      <alias value="Prescription"/>
      <alias value="Order"/>
      <min value="0"/>
      <max value="*"/>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression value="contained.where((&apos;#&apos;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&apos;#&apos;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="workflow"/>
        <map value="..Request"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CombinedMedicationRequest"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.medication"/>
      </mapping>
    </element>
    <element id="MedicationRequest.id">
      <path value="MedicationRequest.id"/>
      <short value="Logical id of this artifact"/>
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="MedicationRequest.meta">
      <path value="MedicationRequest.meta"/>
      <short value="Metadata about the resource"/>
      <definition value="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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="MedicationRequest.implicitRules">
      <path value="MedicationRequest.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <comment value="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. &#10;&#10;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&apos;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="MedicationRequest.language">
      <path value="MedicationRequest.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment value="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)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="MedicationRequest.text">
      <path value="MedicationRequest.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition value="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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comment value="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 &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="MedicationRequest.contained">
      <path value="MedicationRequest.contained"/>
      <short value="Contained, inline Resources"/>
      <definition value="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."/>
      <comment value="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."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="MedicationRequest.extension">
      <path value="MedicationRequest.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="MedicationRequest.modifierExtension">
      <path value="MedicationRequest.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="MedicationRequest.identifier">
      <path value="MedicationRequest.identifier"/>
      <short value="External ids for this request"/>
      <definition value="This records identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. For example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records must be tracked through an entire system."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;identifer"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Header/PrescriberOrderNumber"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-2-Placer Order Number / ORC-3-Filler Order Number"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="MedicationRequest.definition">
      <path value="MedicationRequest.definition"/>
      <short value="Protocol or definition"/>
      <definition value="Protocol or definition followed by this request."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;definition"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=unspecified]"/>
      </mapping>
    </element>
    <element id="MedicationRequest.basedOn">
      <path value="MedicationRequest.basedOn"/>
      <short value="What request fulfills"/>
      <definition value="A plan or request that is fulfilled in whole or in part by this medication request."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;basedOn"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"/>
      </mapping>
    </element>
    <element id="MedicationRequest.groupIdentifier">
      <path value="MedicationRequest.groupIdentifier"/>
      <short value="Composite request this is part of"/>
      <definition value="A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription."/>
      <requirements value="Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;groupIdentifier"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id"/>
      </mapping>
    </element>
    <element id="MedicationRequest.status">
      <path value="MedicationRequest.status"/>
      <short value="active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown"/>
      <definition value="A code specifying the current state of the order. Generally this will be active or completed state."/>
      <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestStatus"/>
        </extension>
        <strength value="required"/>
        <description value="A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;status"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="no mapping"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="MedicationRequest.intent">
      <path value="MedicationRequest.intent"/>
      <short value="proposal | plan | order | instance-order"/>
      <definition value="Whether the request is a proposal, plan, or an original order."/>
      <comment value="It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.&#13;&#13;An instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.&#10;&#10;This element is labeled as a modifier because the intent alters when and how the resource is actually applicable."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestIntent"/>
        </extension>
        <strength value="required"/>
        <description value="The kind of medication order"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-intent"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;intent"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="MedicationRequest.category">
      <path value="MedicationRequest.category"/>
      <short value="Type of medication usage"/>
      <definition value="Indicates the type of medication order and where the medication is expected to be consumed or administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestCategory"/>
        </extension>
        <strength value="preferred"/>
        <description value="A coded concept identifying where the medication ordered is expected to be consumed or administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-category"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Directions&#13;&#13;or &#13;&#13;Message/Body/NewRx/MedicationPrescribed/StructuredSIG"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=&quot;type of medication usage&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="MedicationRequest.priority">
      <path value="MedicationRequest.priority"/>
      <short value="routine | urgent | stat | asap"/>
      <definition value="Indicates how quickly the Medication Request should be addressed with respect to other requests."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestPriority"/>
        </extension>
        <strength value="required"/>
        <description value="Identifies the level of importance to be assigned to actioning the request"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-priority"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;priority"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".priorityCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="grade"/>
      </mapping>
    </element>
    <element id="MedicationRequest.medication[x]">
      <path value="MedicationRequest.medication[x]"/>
      <short value="Medication to be taken"/>
      <definition value="Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications."/>
      <comment value="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.&#160; For example, if&#160;you require&#160;form or&#160;lot number or if the medication is compounded or extemporaneously prepared, then you must&#160;reference the Medication resource.&#160;."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationCode"/>
        </extension>
        <strength value="example"/>
        <description value="A coded concept identifying substance or product that can be ordered."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;code"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed&#13;&#13;Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode&#13;&#13;Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier&#13;&#13;Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="consumable.administrableMedication"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="what"/>
      </mapping>
    </element>
    <element id="MedicationRequest.subject">
      <path value="MedicationRequest.subject"/>
      <short value="Who or group medication request is for"/>
      <definition value="A link to a resource representing the person or set of individuals to whom the medication will be given."/>
      <comment value="The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;subject"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/Patient&#13;&#13;(need detail to link to specific patient &#8230; Patient.Identification in SCRIPT)"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3-Patient ID List"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=AUT].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="MedicationRequest.context">
      <path value="MedicationRequest.context"/>
      <short value="Created during encounter/admission/stay"/>
      <definition value="A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider."/>
      <comment value="SubstanceAdministration-&gt;component-&gt;EncounterEvent."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;context"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="no mapping"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PV1-19-Visit Number"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=&quot;type of encounter or episode&quot;]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="MedicationRequest.supportingInformation">
      <path value="MedicationRequest.supportingInformation"/>
      <short value="Information to support ordering of the medication"/>
      <definition value="Include additional information (for example, patient height and weight) that supports the ordering of the medication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".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)]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="MedicationRequest.authoredOn">
      <path value="MedicationRequest.authoredOn"/>
      <short value="When request was initially authored"/>
      <definition value="The date (and perhaps time) when the prescription was initially written or authored on."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;authoredOn"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/WrittenDate"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="author.time"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester">
      <path value="MedicationRequest.requester"/>
      <short value="Who/What requested the Request"/>
      <definition value="The individual, organization or device that initiated the request and has responsibility for its activation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <constraint>
        <key value="mps-1"/>
        <severity value="error"/>
        <human value="onBehalfOf can only be specified if agent is practitioner or device"/>
        <expression value="(agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()"/>
        <xpath value="contains(f:agent/f:reference/@value, &apos;/Practitioner/&apos;) or contains(f:agent/f:reference/@value, &apos;/Device/&apos;) or not(exists(f:onBehalfOf))"/>
      </constraint>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;requester"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=AUT].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.id">
      <path value="MedicationRequest.requester.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.extension">
      <path value="MedicationRequest.requester.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.modifierExtension">
      <path value="MedicationRequest.requester.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.agent">
      <path value="MedicationRequest.requester.agent"/>
      <short value="Who ordered the initial medication(s)"/>
      <definition value="The healthcare professional responsible for authorizing the initial prescription."/>
      <comment value="It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;.agent"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/Prescriber&#13;&#13;(need detail to link to specific prescriber &#8230; Prescriber.Identification in SCRIPT)"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-13-Ordering Provider&apos;s DEA Number / RXO-14-Ordering Provider&apos;s DEA Number / RXE-14-Pharmacist/Treatment Supplier&apos;s Verifier ID / RXO-15-Pharmacist/Treatment Supplier&apos;s Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation=&apos;OP&apos; (all but last deprecated)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".player"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.onBehalfOf">
      <path value="MedicationRequest.requester.onBehalfOf"/>
      <short value="Organization agent is acting for"/>
      <definition value="The organization the device or practitioner was acting on behalf of."/>
      <requirements value="Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when authoring the request."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <condition value="mps-1"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;.onBehalfOf"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".scoper"/>
      </mapping>
    </element>
    <element id="MedicationRequest.recorder">
      <path value="MedicationRequest.recorder"/>
      <short value="Person who entered the request"/>
      <definition value="The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who"/>
      </mapping>
    </element>
    <element id="MedicationRequest.reasonCode">
      <path value="MedicationRequest.reasonCode"/>
      <short value="Reason or indication for writing the prescription"/>
      <definition value="The reason or the indication for ordering the medication."/>
      <comment value="This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestReason"/>
        </extension>
        <strength value="example"/>
        <description value="A coded concept indicating why the medication was ordered."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-code"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;reasonCode"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="reason.observation.reasonCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="MedicationRequest.reasonReference">
      <path value="MedicationRequest.reasonReference"/>
      <short value="Condition or Observation that supports why the prescription is being written"/>
      <definition value="Condition or observation that supports why the medication was ordered."/>
      <comment value="This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;reasonReference"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="no mapping"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="reason.observation[code=ASSERTION].value"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="MedicationRequest.note">
      <path value="MedicationRequest.note"/>
      <short value="Information about the prescription"/>
      <definition value="Extra information about the prescription that could not be conveyed by the other attributes."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;note"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Note"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=&quot;annotation&quot;].value"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dosageInstruction">
      <path value="MedicationRequest.dosageInstruction"/>
      <short value="How the medication should be taken"/>
      <definition value="Indicates how the medication is to be used by the patient."/>
      <comment value="There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, &quot;Ondansetron 8mg orally or IV twice a day as needed for nausea&quot; or &quot;Compazine&#174; (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting&quot;. In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient&apos;s condition at the time the dose is needed."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Dosage"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;occurrence[x]"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="see dosageInstruction mapping"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest">
      <path value="MedicationRequest.dispenseRequest"/>
      <short value="Medication supply authorization"/>
      <definition value="Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/ExpirationDate"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="component.supplyEvent"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.id">
      <path value="MedicationRequest.dispenseRequest.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.extension">
      <path value="MedicationRequest.dispenseRequest.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.modifierExtension">
      <path value="MedicationRequest.dispenseRequest.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.validityPeriod">
      <path value="MedicationRequest.dispenseRequest.validityPeriod"/>
      <short value="Time period supply is authorized for"/>
      <definition value="This indicates the validity period of a prescription (stale dating the Prescription)."/>
      <comment value="It reflects the prescribers&apos; perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations."/>
      <requirements value="Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Refills"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="effectiveTime"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed">
      <path value="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed"/>
      <short value="Number of refills authorized"/>
      <definition value="An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets."/>
      <comment value="If displaying &quot;number of authorized fills&quot;, add 1 to this number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Quantity"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-12-Number of Refills"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="repeatNumber"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.quantity">
      <path value="MedicationRequest.dispenseRequest.quantity"/>
      <short value="Amount of medication to supply per dispense"/>
      <definition value="The amount that is to be dispensed for one fill."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/DaysSupply"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="quantity"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.expectedSupplyDuration">
      <path value="MedicationRequest.dispenseRequest.expectedSupplyDuration"/>
      <short value="Number of days supply per dispense"/>
      <definition value="Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last."/>
      <comment value="In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Duration"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Substitutions"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="expectedUseTime"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.performer">
      <path value="MedicationRequest.dispenseRequest.performer"/>
      <short value="Intended dispenser"/>
      <definition value="Indicates the intended dispensing Organization specified by the prescriber."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution">
      <path value="MedicationRequest.substitution"/>
      <short value="Any restrictions on medication substitution"/>
      <definition value="Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen. This block explains the prescriber&apos;s intent. If nothing is specified substitution may be done."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mapping>
        <identity value="script10.6"/>
        <map value="specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="subjectOf.substitutionPersmission"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.id">
      <path value="MedicationRequest.substitution.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.extension">
      <path value="MedicationRequest.substitution.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.modifierExtension">
      <path value="MedicationRequest.substitution.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.allowed">
      <path value="MedicationRequest.substitution.allowed"/>
      <short value="Whether substitution is allowed or not"/>
      <definition value="True if the prescriber allows a different drug to be dispensed from what was prescribed."/>
      <comment value="This element is labeled as a modifer because whether substitution is allow or not cannot be ignored."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="script10.6"/>
        <map value="specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXO-9-Allow Substitutions / RXE-9-Substitution Status"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.reason">
      <path value="MedicationRequest.substitution.reason"/>
      <short value="Why should (not) substitution be made"/>
      <definition value="Indicates the reason for the substitution, or why substitution must or must not be performed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationIntendedSubstitutionReason"/>
        </extension>
        <strength value="example"/>
        <description value="A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="script10.6"/>
        <map value="not mapped"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-9 Substition status"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="reasonCode"/>
      </mapping>
    </element>
    <element id="MedicationRequest.priorPrescription">
      <path value="MedicationRequest.priorPrescription"/>
      <short value="An order/prescription that is being replaced"/>
      <definition value="A link to a resource representing an earlier order related order or prescription."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;replaces"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="not mapped"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]"/>
      </mapping>
    </element>
    <element id="MedicationRequest.detectedIssue">
      <path value="MedicationRequest.detectedIssue"/>
      <short value="Clinical Issue with action"/>
      <definition value="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."/>
      <alias value="Contraindication"/>
      <alias value="Drug Utilization Review (DUR)"/>
      <alias value="Alert"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DetectedIssue"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value"/>
      </mapping>
    </element>
    <element id="MedicationRequest.eventHistory">
      <path value="MedicationRequest.eventHistory"/>
      <short value="A list of events of interest in the lifecycle"/>
      <definition value="Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource."/>
      <comment value="This may not include provenances for all versions of the request &#8211; only those deemed &#8220;relevant&#8221; or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a &#8220;relevant&#8221; 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.)."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;relevantHistory"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="MedicationRequest">
      <path value="MedicationRequest"/>
      <short value="Ordering of medication for patient or group"/>
      <definition value="An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called &quot;MedicationRequest&quot; rather than &quot;MedicationPrescription&quot; or &quot;MedicationOrder&quot; to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns."/>
      <alias value="Prescription"/>
      <alias value="Order"/>
      <min value="0"/>
      <max value="*"/>
      <mapping>
        <identity value="workflow"/>
        <map value="..Request"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CombinedMedicationRequest"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.medication"/>
      </mapping>
    </element>
    <element id="MedicationRequest.identifier">
      <path value="MedicationRequest.identifier"/>
      <short value="External ids for this request"/>
      <definition value="This records identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. For example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records must be tracked through an entire system."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;identifer"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Header/PrescriberOrderNumber"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-2-Placer Order Number / ORC-3-Filler Order Number"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="MedicationRequest.definition">
      <path value="MedicationRequest.definition"/>
      <short value="Protocol or definition"/>
      <definition value="Protocol or definition followed by this request."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;definition"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=unspecified]"/>
      </mapping>
    </element>
    <element id="MedicationRequest.basedOn">
      <path value="MedicationRequest.basedOn"/>
      <short value="What request fulfills"/>
      <definition value="A plan or request that is fulfilled in whole or in part by this medication request."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;basedOn"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"/>
      </mapping>
    </element>
    <element id="MedicationRequest.groupIdentifier">
      <path value="MedicationRequest.groupIdentifier"/>
      <short value="Composite request this is part of"/>
      <definition value="A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription."/>
      <requirements value="Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;groupIdentifier"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id"/>
      </mapping>
    </element>
    <element id="MedicationRequest.status">
      <path value="MedicationRequest.status"/>
      <short value="active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown"/>
      <definition value="A code specifying the current state of the order. Generally this will be active or completed state."/>
      <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestStatus"/>
        </extension>
        <strength value="required"/>
        <description value="A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;status"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="no mapping"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="MedicationRequest.intent">
      <path value="MedicationRequest.intent"/>
      <short value="proposal | plan | order | instance-order"/>
      <definition value="Whether the request is a proposal, plan, or an original order."/>
      <comment value="It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.&#13;&#13;An instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.&#10;&#10;This element is labeled as a modifier because the intent alters when and how the resource is actually applicable."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestIntent"/>
        </extension>
        <strength value="required"/>
        <description value="The kind of medication order"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-intent"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;intent"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="MedicationRequest.category">
      <path value="MedicationRequest.category"/>
      <short value="Type of medication usage"/>
      <definition value="Indicates the type of medication order and where the medication is expected to be consumed or administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestCategory"/>
        </extension>
        <strength value="preferred"/>
        <description value="A coded concept identifying where the medication ordered is expected to be consumed or administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-category"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Directions&#13;&#13;or &#13;&#13;Message/Body/NewRx/MedicationPrescribed/StructuredSIG"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=&quot;type of medication usage&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="MedicationRequest.priority">
      <path value="MedicationRequest.priority"/>
      <short value="routine | urgent | stat | asap"/>
      <definition value="Indicates how quickly the Medication Request should be addressed with respect to other requests."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestPriority"/>
        </extension>
        <strength value="required"/>
        <description value="Identifies the level of importance to be assigned to actioning the request"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-request-priority"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;priority"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".priorityCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="grade"/>
      </mapping>
    </element>
    <element id="MedicationRequest.medication[x]">
      <path value="MedicationRequest.medication[x]"/>
      <short value="Medication to be taken"/>
      <definition value="Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications."/>
      <comment value="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.&#160; For example, if&#160;you require&#160;form or&#160;lot number or if the medication is compounded or extemporaneously prepared, then you must&#160;reference the Medication resource.&#160;."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationCode"/>
        </extension>
        <strength value="example"/>
        <description value="A coded concept identifying substance or product that can be ordered."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;code"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed&#13;&#13;Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode&#13;&#13;Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier&#13;&#13;Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="consumable.administrableMedication"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="what"/>
      </mapping>
    </element>
    <element id="MedicationRequest.subject">
      <path value="MedicationRequest.subject"/>
      <short value="Who or group medication request is for"/>
      <definition value="A link to a resource representing the person or set of individuals to whom the medication will be given."/>
      <comment value="The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;subject"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/Patient&#13;&#13;(need detail to link to specific patient &#8230; Patient.Identification in SCRIPT)"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3-Patient ID List"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=AUT].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="MedicationRequest.context">
      <path value="MedicationRequest.context"/>
      <short value="Created during encounter/admission/stay"/>
      <definition value="A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider."/>
      <comment value="SubstanceAdministration-&gt;component-&gt;EncounterEvent."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;context"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="no mapping"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PV1-19-Visit Number"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=&quot;type of encounter or episode&quot;]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="MedicationRequest.supportingInformation">
      <path value="MedicationRequest.supportingInformation"/>
      <short value="Information to support ordering of the medication"/>
      <definition value="Include additional information (for example, patient height and weight) that supports the ordering of the medication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".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)]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="MedicationRequest.authoredOn">
      <path value="MedicationRequest.authoredOn"/>
      <short value="When request was initially authored"/>
      <definition value="The date (and perhaps time) when the prescription was initially written or authored on."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;authoredOn"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/WrittenDate"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="author.time"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester">
      <path value="MedicationRequest.requester"/>
      <short value="Who/What requested the Request"/>
      <definition value="The individual, organization or device that initiated the request and has responsibility for its activation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="mps-1"/>
        <severity value="error"/>
        <human value="onBehalfOf can only be specified if agent is practitioner or device"/>
        <expression value="(agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()"/>
        <xpath value="contains(f:agent/f:reference/@value, &apos;/Practitioner/&apos;) or contains(f:agent/f:reference/@value, &apos;/Device/&apos;) or not(exists(f:onBehalfOf))"/>
      </constraint>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;requester"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=AUT].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.agent">
      <path value="MedicationRequest.requester.agent"/>
      <short value="Who ordered the initial medication(s)"/>
      <definition value="The healthcare professional responsible for authorizing the initial prescription."/>
      <comment value="It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;.agent"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/Prescriber&#13;&#13;(need detail to link to specific prescriber &#8230; Prescriber.Identification in SCRIPT)"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-13-Ordering Provider&apos;s DEA Number / RXO-14-Ordering Provider&apos;s DEA Number / RXE-14-Pharmacist/Treatment Supplier&apos;s Verifier ID / RXO-15-Pharmacist/Treatment Supplier&apos;s Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation=&apos;OP&apos; (all but last deprecated)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".player"/>
      </mapping>
    </element>
    <element id="MedicationRequest.requester.onBehalfOf">
      <path value="MedicationRequest.requester.onBehalfOf"/>
      <short value="Organization agent is acting for"/>
      <definition value="The organization the device or practitioner was acting on behalf of."/>
      <requirements value="Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when authoring the request."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <condition value="mps-1"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;.onBehalfOf"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".scoper"/>
      </mapping>
    </element>
    <element id="MedicationRequest.recorder">
      <path value="MedicationRequest.recorder"/>
      <short value="Person who entered the request"/>
      <definition value="The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who"/>
      </mapping>
    </element>
    <element id="MedicationRequest.reasonCode">
      <path value="MedicationRequest.reasonCode"/>
      <short value="Reason or indication for writing the prescription"/>
      <definition value="The reason or the indication for ordering the medication."/>
      <comment value="This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationRequestReason"/>
        </extension>
        <strength value="example"/>
        <description value="A coded concept indicating why the medication was ordered."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-code"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;reasonCode"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="reason.observation.reasonCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="MedicationRequest.reasonReference">
      <path value="MedicationRequest.reasonReference"/>
      <short value="Condition or Observation that supports why the prescription is being written"/>
      <definition value="Condition or observation that supports why the medication was ordered."/>
      <comment value="This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;reasonReference"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="no mapping"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="reason.observation[code=ASSERTION].value"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="MedicationRequest.note">
      <path value="MedicationRequest.note"/>
      <short value="Information about the prescription"/>
      <definition value="Extra information about the prescription that could not be conveyed by the other attributes."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;note"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Note"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=&quot;annotation&quot;].value"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dosageInstruction">
      <path value="MedicationRequest.dosageInstruction"/>
      <short value="How the medication should be taken"/>
      <definition value="Indicates how the medication is to be used by the patient."/>
      <comment value="There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, &quot;Ondansetron 8mg orally or IV twice a day as needed for nausea&quot; or &quot;Compazine&#174; (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting&quot;. In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient&apos;s condition at the time the dose is needed."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Dosage"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;occurrence[x]"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="see dosageInstruction mapping"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest">
      <path value="MedicationRequest.dispenseRequest"/>
      <short value="Medication supply authorization"/>
      <definition value="Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/ExpirationDate"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="component.supplyEvent"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.validityPeriod">
      <path value="MedicationRequest.dispenseRequest.validityPeriod"/>
      <short value="Time period supply is authorized for"/>
      <definition value="This indicates the validity period of a prescription (stale dating the Prescription)."/>
      <comment value="It reflects the prescribers&apos; perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations."/>
      <requirements value="Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Refills"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="effectiveTime"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed">
      <path value="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed"/>
      <short value="Number of refills authorized"/>
      <definition value="An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets."/>
      <comment value="If displaying &quot;number of authorized fills&quot;, add 1 to this number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Quantity"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-12-Number of Refills"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="repeatNumber"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.quantity">
      <path value="MedicationRequest.dispenseRequest.quantity"/>
      <short value="Amount of medication to supply per dispense"/>
      <definition value="The amount that is to be dispensed for one fill."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/DaysSupply"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="quantity"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.expectedSupplyDuration">
      <path value="MedicationRequest.dispenseRequest.expectedSupplyDuration"/>
      <short value="Number of days supply per dispense"/>
      <definition value="Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last."/>
      <comment value="In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Duration"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="Message/Body/NewRx/MedicationPrescribed/Substitutions"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="expectedUseTime"/>
      </mapping>
    </element>
    <element id="MedicationRequest.dispenseRequest.performer">
      <path value="MedicationRequest.dispenseRequest.performer"/>
      <short value="Intended dispenser"/>
      <definition value="Indicates the intended dispensing Organization specified by the prescriber."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution">
      <path value="MedicationRequest.substitution"/>
      <short value="Any restrictions on medication substitution"/>
      <definition value="Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen. This block explains the prescriber&apos;s intent. If nothing is specified substitution may be done."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="script10.6"/>
        <map value="specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="subjectOf.substitutionPersmission"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.allowed">
      <path value="MedicationRequest.substitution.allowed"/>
      <short value="Whether substitution is allowed or not"/>
      <definition value="True if the prescriber allows a different drug to be dispensed from what was prescribed."/>
      <comment value="This element is labeled as a modifer because whether substitution is allow or not cannot be ignored."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="script10.6"/>
        <map value="specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXO-9-Allow Substitutions / RXE-9-Substitution Status"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
    </element>
    <element id="MedicationRequest.substitution.reason">
      <path value="MedicationRequest.substitution.reason"/>
      <short value="Why should (not) substitution be made"/>
      <definition value="Indicates the reason for the substitution, or why substitution must or must not be performed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationIntendedSubstitutionReason"/>
        </extension>
        <strength value="example"/>
        <description value="A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="script10.6"/>
        <map value="not mapped"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-9 Substition status"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="reasonCode"/>
      </mapping>
    </element>
    <element id="MedicationRequest.priorPrescription">
      <path value="MedicationRequest.priorPrescription"/>
      <short value="An order/prescription that is being replaced"/>
      <definition value="A link to a resource representing an earlier order related order or prescription."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;replaces"/>
      </mapping>
      <mapping>
        <identity value="script10.6"/>
        <map value="not mapped"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]"/>
      </mapping>
    </element>
    <element id="MedicationRequest.detectedIssue">
      <path value="MedicationRequest.detectedIssue"/>
      <short value="Clinical Issue with action"/>
      <definition value="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."/>
      <alias value="Contraindication"/>
      <alias value="Drug Utilization Review (DUR)"/>
      <alias value="Alert"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DetectedIssue"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value"/>
      </mapping>
    </element>
    <element id="MedicationRequest.eventHistory">
      <path value="MedicationRequest.eventHistory"/>
      <short value="A list of events of interest in the lifecycle"/>
      <definition value="Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource."/>
      <comment value="This may not include provenances for all versions of the request &#8211; only those deemed &#8220;relevant&#8221; or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a &#8220;relevant&#8221; 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.)."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="&#8230;relevantHistory"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>