Request

Operationupdate MedicationRequest
MethodPUT
Pathhttps://blaze.life.uni-leipzig.de/fhir/MedicationRequest/wqf3Df-k5IT2FU
ResourceMedicationRequestIdwqf3Df-k5IT2FU
Headers
Accept
application/fhir+xml;charset=UTF-8
Content-Type
application/fhir+xml;charset=UTF-8
Content
<?xml version="1.0" encoding="UTF-8"?>

<MedicationRequest xmlns="http://hl7.org/fhir">  
    <id value="wqf3Df-k5IT2FU"/>  
    <meta> 
        <security> 
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>  
            <code value="HTEST"/>  
            <display value="test health data"/> 
        </security> 
    </meta>  
    <text> 
        <status value="generated"/>  
        <div xmlns="http://www.w3.org/1999/xhtml">  
            <p>Date Written: Oct 15, 2017; Patient/f01c7189f8c74a89ae8bbc7f2ce6bcca; Dosage: Use 1 spray twice daily</p> 
        </div> 
    </text>  
    <identifier> 
        <system value="http://happyvalley.com/medicationrequest"/>  
        <value value="wqf3Dfk5IT2FU"/> 
    </identifier>  
    <status value="completed"/>  
    <intent value="proposal"/>  
    <medicationCodeableConcept> 
        <coding> 
            <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>  
            <code value="358793"/>  
            <display value="Mometasone Furoate 0.05mg/Actuat"/> 
        </coding> 
    </medicationCodeableConcept>  
    <subject> 
        <reference value="Patient/f01c7189f8c74a89ae8bbc7f2ce6bcca"/> 
    </subject>  
    <authoredOn value="2017-10-15"/>  
    <requester> 
        <reference value="Practitioner/80a6c635b0a4431dbd6fc68cae19ec14"/> 
    </requester>  
    <dosageInstruction> 
        <text value="Use 1 spray twice daily"/>  
        <timing> 
            <repeat> 
                <frequency value="2"/>  
                <period value="1"/>  
                <periodUnit value="d"/> 
            </repeat> 
        </timing>  
        <doseAndRate> 
            <type> 
                <coding> 
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>  
                    <code value="ordered"/>  
                    <display value="Ordered"/> 
                </coding> 
            </type>  
            <doseQuantity> 
                <value value="1"/>  
                <unit value="ea"/>  
                <system value="http://unitsofmeasure.org"/>  
                <code value="ea"/> 
            </doseQuantity> 
        </doseAndRate> 
    </dosageInstruction>  
    <dispenseRequest> 
        <validityPeriod> 
            <start value="2017-10-15"/>  
            <end value="2017-11-15"/> 
        </validityPeriod>  
        <numberOfRepeatsAllowed value="3"/>  
        <quantity> 
            <value value="30"/>  
            <unit value="ml"/>  
            <system value="http://unitsofmeasure.org"/>  
            <code value="ml"/> 
        </quantity>  
        <expectedSupplyDuration> 
            <value value="30"/>  
            <unit value="days"/>  
            <system value="http://unitsofmeasure.org"/>  
            <code value="d"/> 
        </expectedSupplyDuration> 
    </dispenseRequest>  
    <substitution> 
        <allowedBoolean value="true"/>  
        <reason> 
            <coding> 
                <system value="http://terminology.hl7.org/CodeSystem/v3/ActReason"/>  
                <code value="FP"/>  
                <display value="formulary policy"/> 
            </coding> 
        </reason> 
    </substitution> 
</MedicationRequest>