Request

OperationupdateCreate Consent
MethodPUT
Pathhttps://blaze.life.uni-leipzig.de/fhir/Consent/HYQGfjuRW310
ResourceConsentIdHYQGfjuRW310
Headers
Accept
application/fhir+xml;charset=UTF-8
Content-Type
application/fhir+xml;charset=UTF-8
Content
<?xml version="1.0" encoding="UTF-8"?>

<Consent xmlns="http://hl7.org/fhir">  
    <id value="HYQGfjuRW310"/>  
    <text> 
        <status value="generated"/>  
        <div xmlns="http://www.w3.org/1999/xhtml">  
            <p>Authorize Normal access for Treatment</p>  
            <p>Patient "P. van de Heuvel" wishes to have all of the PHI collected at the Good Health Psychiatric Hospital available for normal treatment use.</p> 
        </div> 
    </text>  
    <status value="active"/>  
    <scope> 
        <coding> 
            <system value="http://terminology.hl7.org/CodeSystem/consentscope"/>  
            <code value="patient-privacy"/> 
        </coding> 
    </scope>  
    <category> 
        <coding> 
            <system value="http://loinc.org"/>  
            <code value="59284-0"/> 
        </coding> 
    </category>  
    <patient> 
        <reference value="Patient/HYQGfjuRW310"/>  
        <display value="JessicapQghi TimminspQghi"/> 
    </patient>  
    <dateTime value="2016-05-11"/>  
    <sourceAttachment> 
        <title value="The terms of the consent in lawyer speak."/> 
    </sourceAttachment>  
    <policyRule> 
        <coding> 
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>  
            <code value="OPTIN"/> 
        </coding> 
    </policyRule>  
    <provision> 
        <period> 
            <start value="1964-01-01"/>  
            <end value="2016-01-01"/> 
        </period> 
    </provision> 
</Consent>