| Operation | update DocumentReference |
| Method | PUT |
| Path | https://blaze.life.uni-leipzig.de/fhir/DocumentReference/DBJGKIKYBBXU7HSE |
| Resource | DocumentReference | Id | DBJGKIKYBBXU7HSE | | |
<?xml version="1.0" encoding="UTF-8"?>
<DocumentReference xmlns="http://hl7.org/fhir">
<id value="DBJGKIKYBBXU7HSE"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
<b>Generated Narrative with Details</b>
</p>
<p>
<b>id</b> : example
</p>
<p>
<b>contained</b> :
</p>
<p>
<b>masterIdentifier</b> : urn:oid:1.3.6.1.4.1.21367.2005.3.7
</p>
<p>
<b>identifier</b> : urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234
</p>
<p>
<b>status</b> : current
</p>
<p>
<b>docStatus</b> : amended
</p>
<p>
<b>type</b> : Outpatient Note
<span>(Details : {LOINC code '34108-1' = 'Outpatient Note', given as 'Outpatient Note'})</span>
</p>
<p>
<b>category</b> : History and Physical
<span>(Details : {http://ihe.net/xds/connectathon/classCodes code 'History and Physical' = 'History and Physical', given as 'History and Physical'})</span>
</p>
<p>
<b>subject</b> :
<a>Patient/xcda</a>
</p>
<p>
<b>date</b> : 24/12/2005 9:43:41 AM
</p>
<p>
<b>author</b> :
</p>
<ul>
<li>
<a>Practitioner/xcda1</a>
</li>
<li>id: a2; Gerald Smitty</li>
</ul>
<p>
<b>authenticator</b> :
<a>Organization/f001</a>
</p>
<p>
<b>custodian</b> :
<a>Organization/f001</a>
</p>
<h3>RelatesTos</h3>
<table>
<tr>
<td>-</td>
<td>
<b>Code</b>
</td>
<td>
<b>Target</b>
</td>
</tr>
<tr>
<td>*</td>
<td>appends</td>
<td>
<a>DocumentReference/example</a>
</td>
</tr>
</table>
<p>
<b>description</b> : Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p>
<b>securityLabel</b> : very restricted
<span>(Details : {http://terminology.hl7.org/CodeSystem/v3-Confidentiality code 'V' = 'very restricted', given as 'very restricted'})</span>
</p>
<h3>Contents</h3>
<table>
<tr>
<td>-</td>
<td>
<b>Attachment</b>
</td>
<td>
<b>Format</b>
</td>
</tr>
<tr>
<td>*</td>
<td/>
<td>History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp: 2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')</td>
</tr>
</table>
<h3>Contexts</h3>
<table>
<tr>
<td>-</td>
<td>
<b>Encounter</b>
</td>
<td>
<b>Event</b>
</td>
<td>
<b>Period</b>
</td>
<td>
<b>FacilityType</b>
</td>
<td>
<b>PracticeSetting</b>
</td>
<td>
<b>SourcePatientInfo</b>
</td>
<td>
<b>Related</b>
</td>
</tr>
<tr>
<td>*</td>
<td>
<a>Encounter/xcda</a>
</td>
<td>Arm
<span>(Details : {http://ihe.net/xds/connectathon/eventCodes code 'T-D8200' = 'T-D8200', given as 'Arm'})</span>
</td>
<td>23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM</td>
<td>Outpatient
<span>(Details : {http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes code 'Outpatient' = 'Outpatient', given as 'Outpatient'})</span>
</td>
<td>General Medicine
<span>(Details : {http://www.ihe.net/xds/connectathon/practiceSettingCodes code 'General Medicine' = 'General Medicine', given as 'General Medicine'})</span>
</td>
<td>
<a>Patient/xcda</a>
</td>
<td>
<a>Patient/xcda</a>
</td>
</tr>
</table>
</div>
</text>
<masterIdentifier>
<system value="http://www.TestingInc.com/fhir/docref"/>
<value value="pQghi-6LyrBteu4C"/>
</masterIdentifier>
<identifier>
<system value="http://www.TestingInc.com/fhir/docref"/>
<value value="wqf3Df-N1I2kTTcyJCL"/>
</identifier>
<status value="current"/>
<docStatus value="amended"/>
<type>
<coding>
<system value="http://loinc.org"/>
<code value="34108-1"/>
<display value="Outpatient Note"/>
</coding>
</type>
<category>
<coding>
<system value="http://ihe.net/xds/connectathon/classCodes"/>
<code value="History and Physical"/>
<display value="History and Physical"/>
</coding>
</category>
<subject>
<reference value="Patient/DBJGKIASLVEJESX6"/>
</subject>
<date value="2005-12-24T09:43:41+11:00"/>
<author>
<reference value="Practitioner/DBJGKIC5BJQVT6NA"/>
</author>
<authenticator>
<reference value="Organization/DBJGKIFKMEZRMLDS"/>
</authenticator>
<custodian>
<reference value="Organization/DBJGKIFKMEZRMLDS"/>
</custodian>
<description value="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."/>
<securityLabel>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
<code value="V"/>
<display value="very restricted"/>
</coding>
</securityLabel>
<content>
<attachment>
<contentType value="application/hl7-v3+xml"/>
<language value="en-US"/>
<url value="http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510"/>
<size value="3654"/>
<hash value="2jmj7l5rSw0yVb/vlWAYkK/YBwk="/>
<title value="Physical"/>
<creation value="2005-12-24T09:35:00+11:00"/>
</attachment>
<format>
<system value="http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem"/>
<code value="urn:ihe:pcc:xphr:2007"/>
<display value="Personal Health Records. Also known as HL7 CCD and HITSP C32"/>
</format>
</content>
<context>
<encounter>
<reference value="Encounter/DBJGKIHXPHSPUD4R"/>
</encounter>
<event>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="AMB"/>
<display value="ambulatory"/>
</coding>
</event>
<period>
<start value="2004-12-23T08:00:00+11:00"/>
<end value="2004-12-23T08:01:00+11:00"/>
</period>
<facilityType>
<coding>
<system value="http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes"/>
<code value="77931003"/>
<display value="Rural health center"/>
</coding>
</facilityType>
<practiceSetting>
<coding>
<system value="http://snomed.info/sct"/>
<code value="409968004"/>
<display value="Preventive medicine"/>
</coding>
</practiceSetting>
<sourcePatientInfo>
<reference value="Patient/DBJGKIASLVEJESX6"/>
</sourcePatientInfo>
</context>
</DocumentReference>