Request

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

<QuestionnaireResponse xmlns="http://hl7.org/fhir">  
    <id value="eb09b750878445b49f80a4a4e333e4ff"/>  
    <meta> 
        <security> 
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>  
            <code value="HTEST"/>  
            <display value="test health data"/> 
        </security> 
    </meta>  
    <identifier> 
        <use value="official"/>  
        <system value="http://happyvalley.com/questionnaireResponse"/>  
        <value value="N1I2kTTcyJCL-k5IT2FU-2904979"/> 
    </identifier>  
    <status value="completed"/>  
    <authored value="2021-03-07T12:56:36Z"/>  
    <item> 
        <linkId value="1"/>  
        <item> 
            <linkId value="1.1"/>  
            <text value="Do you have allergies?"/>  
            <answer> 
                <valueString value="I am allergic to house dust"/> 
            </answer> 
        </item> 
    </item>  
    <item> 
        <linkId value="2"/>  
        <text value="General questions"/>  
        <item> 
            <linkId value="2.1"/>  
            <text value="What is your gender?"/>  
            <answer> 
                <valueString value="Male"/> 
            </answer> 
        </item>  
        <item> 
            <linkId value="2.2"/>  
            <text value="What is your date of birth?"/>  
            <answer> 
                <valueDate value="1960-03-13"/> 
            </answer> 
        </item>  
        <item> 
            <linkId value="2.3"/>  
            <text value="What is your country of birth?"/>  
            <answer> 
                <valueString value="The Netherlands"/> 
            </answer> 
        </item>  
        <item> 
            <linkId value="2.4"/>  
            <text value="What is your marital status?"/>  
            <answer> 
                <valueString value="married"/> 
            </answer> 
        </item> 
    </item>  
    <item> 
        <linkId value="3"/>  
        <text value="Intoxications"/>  
        <item> 
            <linkId value="3.1"/>  
            <text value="Do you smoke?"/>  
            <answer> 
                <valueString value="No"/> 
            </answer> 
        </item>  
        <item> 
            <linkId value="3.2"/>  
            <text value="Do you drink alchohol?"/>  
            <answer> 
                <valueString value="No, but I used to drink"/> 
            </answer> 
        </item> 
    </item> 
</QuestionnaireResponse>