Operation | create |
Method | POST |
Path | https://blaze.life.uni-leipzig.de/fhir/QuestionnaireResponse |
Resource | QuestionnaireResponse | | | | |
<?xml version="1.0" encoding="UTF-8"?>
<QuestionnaireResponse xmlns="http://hl7.org/fhir">
<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-kvBiFq7wj-131188874"/>
</identifier>
<status value="in-progress"/>
<authored value="2021-03-07T12:56:59Z"/>
<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.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>