Release 4

Patient Administration Work Group Maturity Level: 2Trial Use Compartments: N/A

This operation is used to return all the information related to an encounter described in the resource on which this operation is invoked. The response is a bundle of type "searchset". At a minimum, the encounter resource itself is returned, along with any other resources that the server has available for the given encounter for the user. The server also returns whatever resources are needed to support the records - e.g. linked practitioners, locations, organizations etc. The principle intended use for this operation is to provide a patient with access to their record, or to allow a client to retrieve everything for an encounter for efficient display).

The server SHOULD return all resources it has that:

  • are included in the encounter compartment for the identified encounter (have a reference to the encounter)
  • are referenced by the standard extenstion for associating an encounter (where no reference element exists) http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter
  • the server believes are relevant to the context of the encounter for any other reason (internally defined/decided)
  • any resource referenced by the above, including binaries and attachments (to make a more complete package)

In the US Realm, at a mimimum, the resources returned SHALL include all the data covered by the meaningful use common data elements (see DAF for further guidance). Other applicable implementation guides may make additional rules about the information that is returned. Note that for many resources, the exact nature of the link to encounter can be ambiguous (e.g. for a DiagnosticReport, is it the encounter when it was initiated, or when it was reported?).

The official URL for this operation definition is

 http://hl7.org/fhir/OperationDefinition/Encounter-everything

Formal Definition (as a OperationDefinition).

URL: [base]/Encounter/[id]/$everything

This is an idempotent operation

In Parameters:
ИмяКардинальное множествоТипПривязкаПрофильДокументация
_since0..1instant

Resources updated after this period will be included in the response. The intent of this parameter is to allow a client to request only records that have changed since the last request, based on either the return header time, or or (for asynchronous use), the transaction time

_type0..*code

One or more parameters, each containing one or more comma-delimited FHIR resource types to include in the return resources. In the absense of any specified types, the server returns all resource types

_count0..1integer

See discussion below on the utility of paging through the results of the $everything operation

Out Parameters:
ИмяКардинальное множествоТипПривязкаПрофильДокументация
return1..1Bundle

The bundle type is "searchset"

Note: as this is the only out parameter, it is a resource, and it has the name 'return', the result of this operation is returned directly as a resource

The key differences between this operation and simply searching the encounter compartment are:

  • unless the client requests otherwise, the server returns the entire result set in a single bundle (rather than using paging)
  • the server is responsible for determining what resources to return as included resources (rather than the client specifying which ones)

This frees the client from needing to determine what it could or should ask for, particularly with regard to included resources. Servers should consider returning appropriate Provenance and AuditTrail on the returned resources, even though these are not directly part of the patient compartment.

It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single encounter, or determine whether the context has the rights to the nominated encounter, if there is one, or can determine an appropriate list of encouners to provide data for from the context of the request. If there is no nominated encounter (GET /Encounter/$everything) and the context is not associated with a single encounter record, the actual list of encounters is all encounters that the user associated with the request has access to. In such cases, the server may choose to return an error rather than all the records. Specifying the relationship between the context, a user and encounter records is outside the scope of this specification (though see The Smart App Launch Implementation Guide .

When this operation is used to access multiple encounter records at once, the return bundle could be rather a lot of data; servers may choose to require that such requests are made asynchronously, and associated with bulk data formats. Alternatively, clients may choose to page through the result set (or servers may require this). Paging through the results is done the same as for Searching, using the _count parameter, and Bundle links. Implementers should note that paging will be slower than simply returning all the results at once (more network traffic, multiple latency delays) but may be required in order not to exhaust available memory reading or writing the whole response in a single package. Unlike searching, there is no inherent user-display order for the $everything operation. Servers might consider sorting the returned resources in descending order of last record update, but are not required to do so. Servers should consider returning appropriate Provenance and AuditTrail on the returned resources, even though these are not directly part of the patient compartment.

The _since parameter is provided to support periodic queries to get additional information that has changed about the encounter since the last query. This means that the _since parameter is based on record time. The value of the _since parameter should be set to the time from the server. If using direct response, this is the timestamp in the response header. If using the async interface, this is the transaction timestamp in the json response. Servers should ensure that the timestamps a managed such that the client does not miss any changes. Clients should be able to handle getting the same response more than once in the case that the transaction falls on a time boundary. Clients should ensure that the other query parameters are constant to ensure a coherent set of records when doing periodic queries.

Request: Get all resources linked to a single patient


GET /open/Encounter/example/$everything
[some headers]

Response: Everything linked to the nominated patient (in this case, built automatically by the publication tooling)


HTTP/1.1 200 OK
[other headers]

<Bundle xml="http://hl7.org/fhir">
  <id value="56dbb267-fe9f-4f0a-9124-852337805117"/>
  <type value="searchset"/>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Encounter/example"/>
    <resource>
     <Encounter xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Encounter with patient @example</div>
       </text> 
       <status value="in-progress"/>
         <class>
             <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
             <code value="IMP"/>
             <display value="inpatient encounter"/>
         </class>
     	<subject>
         <reference value="Patient/example"/>
       </subject>
     </Encounter>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/ExplanationOfBenefit/EB3500"/>
    <resource>
     <ExplanationOfBenefit xmlns="http://hl7.org/fhir">
     	<id value="EB3500"/>
     
     	<text>
     		<status value="generated"/>
     		<div xmlns="http://www.w3.org/1999/xhtml">A human-readable rendering of the ExplanationOfBenefit</div>
     	</text>
     
     	<identifier>
     		<system value="http://www.BenefitsInc.com/fhir/explanationofbenefit"/>
     		<value value="987654321"/>
     	</identifier>
     
     	<status value="active"/>
     
     	<type>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/claim-type"/>
     			<code value="oral"/>
     		</coding>
     	</type>
     	
     	<use value="claim"/>
     
     	<patient>
     		<reference value="Patient/pat1"/>
     	</patient>
     
     	<created value="2014-08-16"/>
     
     	<enterer>
     		<reference value="Practitioner/1"/>
     	</enterer>
     
     	<insurer>
     		<reference value="Organization/3"/>
     	</insurer>
     
     	<provider>
     		<reference value="Practitioner/1"/>
     	</provider>
     
     	<payee>
     		<type>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/payeetype"/>
     				<code value="provider"/>
     			</coding>
     		</type>
     		<party>
     			<reference value="Organization/2"/>
     		</party>
     	</payee>
     
     	<facility>
     		<reference value="Location/1"/>
     	</facility>
     
     	<claim>
     		<reference value="Claim/100150"/>
     	</claim>
     
     	<claimResponse>
     		<reference value="ClaimResponse/R3500"/>
     	</claimResponse> 
     
     	<outcome value="complete"/>
     
     	<disposition value="Claim settled as per contract."/>
     
     	<careTeam>
     		<sequence value="1"/>
     		<provider>
     			<reference value="Practitioner/example"/>
     		</provider>
     	</careTeam>
     
     	<insurance>
     		<focal value="true"/>
     		<coverage>
     			<reference value="Coverage/9876B1"/>
     		</coverage>
     	</insurance>
     
     	<item>
     		<sequence value="1"/>
     		<careTeamSequence value="1"/>
     		<productOrService>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/ex-USCLS"/>
     				<code value="1205"/>
     			</coding>
     		</productOrService>
     		<servicedDate value="2014-08-16"/>
     		<unitPrice>
     			<value value="135.57"/>
     			<currency value="USD"/> 
     		</unitPrice> 
     		<net>
     			<value value="135.57"/>
     			<currency value="USD"/> 
     		</net> 
     		<udi>
     			<reference value="Device/example"/>
     		</udi>
     		<encounter>
     			<reference value="Encounter/example"/>
     		</encounter>
     		<adjudication>
     			<category>
     				<coding>
     					<code value="eligible"/>
     				</coding>
     			</category>
     			<amount>
     				<value value="120.00"/>
     				<currency value="USD"/> 
     			</amount> 
     		</adjudication>
     		<adjudication>
     			<category>
     				<coding>
     					<code value="eligpercent"/>
     				</coding>
     			</category>
     			<value value="0.80"/>
     		</adjudication>
     		<adjudication>
     			<category>
     				<coding>
     					<code value="benefit"/>
     				</coding>
     			</category>
     			<amount>
     				<value value="96.00"/>
     				<currency value="USD"/> 
     			</amount> 
     		</adjudication>
     	</item>
     
     	<item>
     		<sequence value="2"/>
     		<careTeamSequence value="1"/>
     		<productOrService>
     			<coding>
     				<code value="group"/>
     			</coding>
     		</productOrService>
     		<servicedDate value="2014-08-16"/>
     		<net>
     			<value value="200.00"/>
     			<currency value="USD"/> 
     		</net> 
     		<adjudication>
     			<category>
     				<coding>
     					<code value="benefit"/>
     				</coding>
     			</category>
     			<amount>
     				<value value="180.00"/>
     				<currency value="USD"/> 
     			</amount> 
     		</adjudication>
     		<detail>
     			<sequence value="1"/>
     			<productOrService>
     				<coding>
     					<code value="group"/>
     				</coding>
     			</productOrService>
     			<net>
     				<value value="200.00"/>
     				<currency value="USD"/> 
     			</net> 
     			<udi>
     				<reference value="Device/example"/>
     			</udi>
     			<adjudication>
     				<category>
     					<coding>
     						<code value="benefit"/>
     					</coding>
     				</category>
     				<amount>
     					<value value="180.00"/>
     					<currency value="USD"/> 
     				</amount> 
     			</adjudication>
     			<subDetail>
     				<sequence value="1"/>
     				<productOrService>
     					<coding>
     						<system value="http://terminology.hl7.org/CodeSystem/ex-USCLS"/>
     						<code value="1205"/>
     					</coding>
     				</productOrService>
     				<unitPrice>
     					<value value="200.00"/>
     					<currency value="USD"/> 
     				</unitPrice> 
     				<net>
     					<value value="200.00"/>
     					<currency value="USD"/> 
     				</net> 
     				<udi>
     					<reference value="Device/example"/>
     				</udi>
     				<adjudication>
     					<category>
     						<coding>
     							<code value="eligible"/>
     						</coding>
     					</category>
     					<amount>
     						<value value="200.00"/>
     						<currency value="USD"/> 
     					</amount> 
     				</adjudication>
     				<adjudication>
     					<category>
     						<coding>
     							<code value="eligpercent"/>
     						</coding>
     					</category>
     					<value value="0.90"/>
     				</adjudication>
     				<adjudication>
     					<category>
     						<coding>
     							<code value="benefit"/>
     						</coding>
     					</category>
     					<amount>
     						<value value="180.00"/>
     						<currency value="USD"/> 
     					</amount> 
     				</adjudication>
     			</subDetail>
     		</detail>
     	</item>
     
     	<total>
     		<category>
     			<coding>
     				<code value="submitted"/>
     			</coding>
     		</category>
     		<amount>
     			<value value="135.57"/>
     			<currency value="USD"/> 
     		</amount> 
     	</total>
     	
     	<total>
     		<category>
     			<coding>
     				<code value="benefit"/>
     			</coding>
     		</category>
     		<amount>
     			<value value="96.00"/>
     			<currency value="USD"/> 
     		</amount> 
     	</total>
     
     </ExplanationOfBenefit>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/RequestGroup/kdn5-example"/>
    <resource>
     <RequestGroup xmlns="http://hl7.org/fhir">
       <id value="kdn5-example"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Administer gemcitabine and carboplatin.</div>
       </text>
       <contained>
         <MedicationRequest>
           <id value="1111"/>
           <status value="unknown"/>
           <intent value="proposal"/>
           <medicationCodeableConcept>
             <coding>
               <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
               <code value="12574"/>
               <display value="gemcitabine"/>
             </coding>
             <text value="gemcitabine"/>
           </medicationCodeableConcept>
           <subject>
             <reference value="Patient/example"/>
           </subject>
           <dosageInstruction>
             <text value="1250 mg/m² IV over 30 minutes"/>
             <timing>
               <repeat>
                 <duration value="30"/>
                 <durationUnit value="min"/>
               </repeat>
             </timing>
             <route>
               <text value="IV"/>
             </route>
             <doseAndRate>
               <type>
                 <coding>
                   <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                   <code value="ordered"/>
                   <display value="Ordered"/>
                 </coding> 
               </type>
               <doseQuantity>
               <value value="1250"/>
               <unit value="mg/m²"/>
               </doseQuantity>
             </doseAndRate>
           </dosageInstruction>
         </MedicationRequest>
       </contained>
       <contained>
         <MedicationRequest>
           <id value="2222"/>
           <status value="unknown"/>
           <intent value="proposal"/>
           <medicationCodeableConcept>
             <coding>
               <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
               <code value="40048"/>
               <display value="Carboplatin"/>
             </coding>
             <text value="CARBOplatin"/>
           </medicationCodeableConcept>
           <subject>
             <reference value="Patient/example"/>
           </subject>
           <dosageInstruction>
             <text value="AUC 5 IV over 30 minutes"/>
             <timing>
               <repeat>
                 <duration value="30"/>
                 <durationUnit value="min"/>
               </repeat>
             </timing>
             <route>
               <text value="IV"/>
             </route>
             <doseAndRate>
               <type>
                 <coding>
                   <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                   <code value="ordered"/>
                   <display value="Ordered"/>
                 </coding> 
               </type>
               <doseQuantity>
                 <!-- AUC as dose unit or as an extension? -->
                 <extension url="http://example.org/fhir/AUC-dose">
                   <valueInteger value="5"/>
                 </extension>
                 <!-- <value value="5" />
               <unit value="AUC" />
               <system value="http://snomed.info/sct" />
               <code value="413573002" /> -->
               </doseQuantity>
             </doseAndRate>
            
           </dosageInstruction>
         </MedicationRequest>
       </contained>
       <identifier>
         <value value="requestgroup-kdn5"/>
       </identifier>  
       <instantiatesCanonical value="PlanDefinition/KDN5"/>
       <status value="draft"/>
       <intent value="plan"/>
       <priority value="routine"/>
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <authoredOn value="2017-03-06T17:31:00Z"/>
       <author>
         <reference value="Practitioner/1"/>
       </author>
     
       <action>
         <!-- list of regimen options. in this case only one -->
         <selectionBehavior value="exactly-one"/>
         <action>
           <!-- list of regimen parts. in this case only one -->
           <selectionBehavior value="all"/>
           <action>
             <!-- list of cycle definitions. in this case only one -->
             <groupingBehavior value="sentence-group"/>
             <selectionBehavior value="exactly-one"/>
             <action id="cycle-definition-1">
               <textEquivalent value="21-day cycle for 6 cycles"/>
     
               <timingTiming>
                 <repeat>
                   <count value="6"/>
                   <duration value="21"/>
                   <durationUnit value="d"/>
                 </repeat>
               </timingTiming>
     
               <!-- list of regimen entry references for this regimen part -->
               <!-- references would duplicated in each cycle definition option
               (see http://build.fhir.org/codesystem-action-grouping-behavior.html#sentence-group)-->
               <action id="action-1">
                 <extension url="http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle">
                   <extension url="day">
                     <valueInteger value="1"/>
                   </extension>
                   <extension url="day">
                     <valueInteger value="8"/>
                   </extension>
                 </extension>
                 <textEquivalent value="Gemcitabine 1250 mg/m² IV over 30 minutes on days 1 and 8"/>
                 <resource>
                   <reference value="#1111"/>
                 </resource>
               </action>
               <action id="action-2">
                 <extension url="http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle">
                   <extension url="day">
                     <valueInteger value="1"/>
                   </extension>
                 </extension>
                 <textEquivalent value="CARBOplatin AUC 5 IV over 30 minutes on Day 1"/>
                 <relatedAction>
                   <actionId value="action-1"/>
                   <relationship value="concurrent-with-start"/>
     			</relatedAction>
                 <resource>
                   <reference value="#2222"/>
                 </resource>
               </action> <!-- end of regimen entries -->
             </action> <!-- end of cycle definitions -->
           </action> <!-- end of regimen parts -->
         </action> <!-- end of regimen options -->
       </action>
     </RequestGroup>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/fiberrestricteddiet"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     --><!--EH  Show all the elements in this examples for preference, and intolerance --><!-- EH: use oral Diet element --><id value="fiberrestricteddiet"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="dairy-free"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<oralDiet>
     		<!-- EH:  list type of diet showing standard code and local codes -->
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="15108003"/>
     				<display value="Restricted fiber diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1000"/>
     				<display value="Fiber restricted"/>
     			</coding>
     			<text value="Fiber restricted diet"/>
     		</type>
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="16208003"/>
     				<display value="Low fat diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1100"/>
     				<display value="Low Fat"/>
     			</coding>
     			<text value="Low fat diet"/>
     		</type>
     		<!-- EH example of three times a day starting on 2/10  -->
     		<schedule>
     			<repeat>
             <boundsPeriod>
               <start value="2015-02-10"/>
             </boundsPeriod>
     				<frequency value="3"/>
     				<period value="1"/>
     				<periodUnit value="d"/>
     			</repeat>
     		</schedule>
     		<nutrient>
     			<!-- list nutrients and amounts here -->
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="256674009"/>
     					<display value="Fat"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="50"/>
     				<unit value="grams"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="g"/>
     			</amount>
     		</nutrient>
     	</oralDiet>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/ClinicalImpression/example"/>
    <resource>
     <ClinicalImpression xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <identifier>
            <value value="12345"/>
       </identifier>
       <status value="completed"/>
       <description value="This 26 yo male patient is brought into ER by ambulance after being involved in a motor vehicle accident"/>
       <subject>
         <reference value="Patient/example"/>
       </subject>  
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <effectivePeriod>
           <start value="2014-12-06T20:00:00+11:00"/>
           <end value="2014-12-06T22:33:00+11:00"/>
       </effectivePeriod>
       <date value="2014-12-06T22:33:00+11:00"/>
       <assessor>
         <reference value="Practitioner/example"/>
       </assessor>
       <problem>
         <display value="MVA"/> <!-- todo: reference to condition with snomed code 418399005 : Motor vehicle accident (event) -->
       </problem>
       <investigation>
         <code>
           <text value="Initial Examination"/>
         </code>
         <!-- todo: turn all of these into observations -->
         <item>
           <display value="deep laceration of the scalp (left temporo-occipital)"/>
         </item>
         <item>
           <display value="decreased level of consciousness"/>
         </item>
         <item>
           <display value="disoriented to time and place"/>
         </item>
         <item>
           <display value="restless"/>
         </item>
       </investigation>
       <summary value="provisional diagnoses of laceration of head and traumatic brain injury (TBI)"/>
       <finding>
         <itemCodeableConcept>
           <coding>
             <system value="http://hl7.org/fhir/sid/icd-9"/>
             <code value="850.0"/>
           </coding>
         </itemCodeableConcept>
       </finding>
     </ClinicalImpression>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/CommunicationRequest/example"/>
    <resource>
     <CommunicationRequest xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">To be filled out at a later time</div>
       </text>
       <status value="active"/>
       <!-- insert contents here -->
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
     	<reference value="Encounter/example"/>
       </encounter>
     </CommunicationRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/List/example"/>
    <resource>
     <List xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">
           <table>
             <thead>
               <tr>
                 <th>Condition</th>
                 <th>Severity</th>
                 <th>Date</th>
                 <th>Location</th>
                 <th>Status</th>
               </tr>
             </thead>
             <tbody>
               <tr>
                 <td>Burnt Ear</td>
                 <td>Severe</td>
                 <td>24-May 2012</td>
                 <td>Left Ear</td>
                 <td>deleted</td>
               </tr>
               <tr>
                 <td>Asthma</td>
                 <td>Mild</td>
                 <td>21-Nov 2012</td>
                 <td>--</td>
                 <td>added</td>
               </tr>
             </tbody>
           </table>
         </div>
       </text>
       <identifier>
         <system value="urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59"/>
         <value value="23974652"/>
       </identifier>
       <status value="current"/>
       <mode value="changes"/>
       <!-- This list doesn't have a code. In actual fact, 
         it's a Condition list produced at the end of an encounter 
         to a regular primary care practitioner. But the only way
         to know this is to hunt down the place it is used 
         and find out -->
       <subject>
         <reference value="Patient/example"/>
       </subject>  
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>  
       <date value="2012-11-25T22:17:00+11:00"/>
       <source>
         <reference value="Patient/example"/>
       </source>
       <entry>
         <flag>
           <text value="Deleted due to error"/>
         </flag>
         <deleted value="true"/>
         <item>
           <reference value="Condition/example"/>
         </item>
       </entry>
       <entry>
         <flag>
           <text value="Added"/>
         </flag>
         <item>
           <reference value="Condition/example2"/>
         </item>
       </entry>
     </List>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/GuidanceResponse/example"/>
    <resource>
     <GuidanceResponse xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <!-- This example demonstrates the response to an $evaluate operation using the GuidanceResponse resource. -->
       <contained>
         <Parameters>
           <id value="outputParameters1"/>
           <parameter>
             <name value="score"/>
             <valueDecimal value="7"/>
           </parameter>
           <parameter>
             <name value="item-assessed"/>
     		<valueCodeableConcept>
     		  <coding>
     			<system value="http://www.ama-assn.org/go/cpt"/>
     			<code value="70450"/>
     			<display value="CT, head, wo iv contrast"/>
     		  </coding>
     		</valueCodeableConcept>
           </parameter>
           <parameter>
             <name value="device"/>
             <valueReference>
               <reference value="Device/software"/>
             </valueReference>
           </parameter>
           <parameter>
             <name value="guideline-followed"/>
             <valueUri value="http://someguidelineprovider.org/radiology-appropriateness-guidelines.html"/>
           </parameter>
         </Parameters>
       </contained>
       <requestIdentifier>
         <system value="http://example.org"/>
         <value value="guidanceRequest1"/>
       </requestIdentifier>
       <identifier>
         <system value="http://example.org"/>
         <value value="guidanceResponse1"/>
       </identifier>
       <moduleUri value="http://someguidelineprovider.org/radiology-appropriateness-guidelines.html"/>
       <status value="success"/>
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <occurrenceDateTime value="2017-03-10T16:02:00Z"/>
       <performer>
         <reference value="Device/software"/>
       </performer>
       <reasonCode>
         <text value="Guideline Appropriate Ordering Assessment"/>
       </reasonCode>
       <outputParameters>
         <reference value="#outputParameters1"/>
       </outputParameters>
     </GuidanceResponse>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Observation/clinical-gender"/>
    <resource>
     <!-- Clinical Gender Observation example see http://build.fhir.org/patient.html#gender --><Observation xmlns="http://hl7.org/fhir">
       <id value="clinical-gender"/>
       <status value="final"/>
       <category>
         <coding>
           <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
           <code value="social-history"/>
           <display value="Social History"/>
         </coding>
       </category>
       <code>
         <coding>
           <system value="http://loinc.org"/>
           <!-- 0..1 Identity of the terminology system -->
           <code value="76691-5"/>
           <!-- 0..1 Symbol in syntax defined by the system -->
           <display value="Gender identity"/>
           <!-- 0..1 Representation defined by the system -->
         </coding>
         <text value="Gender identity"/>
         <!-- 0..1 Plain text representation of the concept -->
       </code>
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <effectiveDateTime value="2018-02-01"/>
       <performer>
         <!-- 0..* Reference(Practitioner|PractitionerRole|Organization|     CareTeam|Patient|RelatedPerson)Who is responsible for the observation -->
         <reference value="Encounter/example"/>
       </performer>
       <valueCodeableConcept>
         <coding>
           <system value="http://snomed.info/sct"/>
           <!-- 0..1 Identity of the terminology system -->
           <code value="191788006"/>
           <!-- 0..1 Symbol in syntax defined by the system -->
           <display value="Feminism in boy (finding)"/>
           <!-- 0..1 Representation defined by the system -->
         </coding>
         <text value="Feminism in boy"/>
         <!-- 0..1 Plain text representation of the concept -->
       </valueCodeableConcept>
     </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/ServiceRequest/lipid"/>
    <resource>
     <ServiceRequest xmlns="http://hl7.org/fhir" xmlns:xhtml="http://www.w3.org/1999/xhtml">
     	<id value="lipid"/>
     	<contained>
     		<Observation>
     			<id value="fasting"/>
     			<!--    the mandatory quality flag:    -->
     			<status value="final"/>
     			<code>
     				<coding>
     					<system value="http://loinc.org"/>
     					<code value="49541-6"/>
     					<display value="Fasting status - Reported"/>
     				</coding>
     			</code>
     			<subject>
     				<reference value="Patient/example"/>
     			</subject>
     			<valueCodeableConcept>
     				<coding>
     					<system value="http://terminology.hl7.org/CodeSystem/v2-0136"/>
     					<code value="Y"/>
     					<display value="Yes"/>
     				</coding>
     			</valueCodeableConcept>
     		</Observation>
     	</contained>
     	<contained>
     		<Specimen>
     			<id value="serum"/>
     			<identifier>
     				<system value="http://acme.org/specimens"/>
     				<value value="20150107-0012"/>
     			</identifier>
     			<type>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="119364003"/>
     					<display value="Serum sample"/>
     				</coding>
     			</type>
     			<subject>
     				<reference value="Patient/example"/>
     			</subject>
     			<collection>
     				<collectedDateTime value="2015-08-16T06:40:17Z"/>
     			</collection>
     		</Specimen>
     	</contained>
     	<identifier>
     		<type>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
     				<code value="PLAC"/>
     			</coding>
     			<text value="Placer"/>
     		</type>
     		<system value="urn:oid:1.3.4.5.6.7"/>
     		<value value="2345234234234"/>
     	</identifier>
     	<status value="active"/>
     	<intent value="original-order"/>
     	<code>
     		<coding>
     			<system value="http://acme.org/tests"/>
     			<code value="LIPID"/>
     		</coding>
     		<text value="Lipid Panel"/>
     	</code>
     	<subject>
     		<reference value="Patient/example"/>
     	</subject>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<occurrenceDateTime value="2013-05-02T16:16:00-07:00"/>
     	<requester>
     			<reference value="Practitioner/example"/>
     	</requester>
     	<performer>
     		<reference value="Practitioner/f202"/>
     	</performer>
     	<reasonCode>
     		<coding>
     			<system value="http://hl7.org/fhir/sid/icd-9"/>
     			<code value="V173"/>
     			<display value="Fam hx-ischem heart dis"/>
     		</coding>
     	</reasonCode>
     	<supportingInfo>
     		<reference value="#fasting"/>
     		<display value="Fasting status"/>
     	</supportingInfo>
     	<specimen>
     		<reference value="#serum"/>
     		<display value="Serum specimen"/>
     	</specimen>
     	<note>
     		<text value="patient is afraid of needles"/>
     	</note>
     </ServiceRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/diabeticdiet"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc-->
     <!--EH  Show all the elements in this examples for preference, and intolerance --><!-- EH: use oral Diet element --><id value="diabeticdiet"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="dairy-free"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<oralDiet>
     		<!-- EH:  list type of diet showing standard code and local codes -->
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="160670007"/>
     				<display value="Diabetic diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1030"/>
     				<display value="DD - Diabetic diet"/>
     			</coding>
     			<text value="DD - Diabetic diet"/>
     		</type>
     		<!-- EH example of three times a day starting on 2/10 using schedule -->
     		<schedule>
     			<repeat>
             <boundsPeriod>
               <start value="2015-02-10"/>
             </boundsPeriod>
     				<frequency value="3"/>
     				<period value="1"/>
     				<periodUnit value="d"/>
     			</repeat>
     		</schedule>
     		<!-- list nutrients and amounts here -->
     		<nutrient>
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="2331003"/>
     					<display value="Carbohydrate"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="75"/>
     				<unit value="grams"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="g"/>
     			</amount>
     		</nutrient>
     	</oralDiet>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Claim/960150"/>
    <resource>
     <Claim xmlns="http://hl7.org/fhir">
     	<id value="960150"/>
     
     	<text>
     		<status value="generated"/>
     		<div xmlns="http://www.w3.org/1999/xhtml">A human-readable rendering of the Claim</div>
     	</text>
     
     	<identifier>
     		<system value="http://happyhospital.com/claim"/>
     		<value value="9612345"/>
     	</identifier>
     
     	<status value="active"/>
     
     	<type>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/claim-type"/>
     			<code value="institutional"/>
     		</coding>
     	</type>
     
     	<subType>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/ex-claimsubtype"/>
     			<code value="emergency"/>
     		</coding>
     	</subType> 
     
     	<use value="claim"/>
     
     	<patient>
     		<reference value="Patient/1"/>
     	</patient>
     
     	<created value="2014-08-16"/>
     
     	<enterer>
     		<identifier>
     			<system value="http://jurisdiction.org/facilities/HOSP1234/users"/>
     			<value value="UC1234"/>
     		</identifier>
     	</enterer>
     
     	<insurer>
     		<reference value="Organization/2"/>
     	</insurer>
     
     	<provider>
     		<reference value="Organization/1"/>
     	</provider>
     
     	<priority>
     		<coding>
     			<code value="normal"/>
     		</coding>
     	</priority>
     
     	<payee>
     		<type>
     			<coding>
     				<code value="provider"/>
     			</coding>
     		</type>
     	</payee>
     
     	<facility>
     		<identifier>
     			<system value="http://jurisdiction.org/facilities"/>
     			<value value="HOSP1234"/>
     		</identifier>
     	</facility>
     
     	<careTeam>
     		<sequence value="1"/>
     		<provider>
     			<reference value="Practitioner/example"/>
     		</provider>
     	</careTeam>
     
     	<diagnosis>
     		<sequence value="1"/>
     		<diagnosisCodeableConcept>
     			<coding>
     				<code value="654456"/>
     			</coding>
     		</diagnosisCodeableConcept>
     	</diagnosis>
     
     	<procedure>
     		<sequence value="1"/>
     		<type>
     			<coding>
     				<code value="primary"/>
     			</coding>
     		</type>	
     		<date value="2014-08-16"/>
     		<procedureCodeableConcept>
     			<coding>
     				<code value="SDI9901"/>
     			</coding>
     			<text value="Subcutaneous diagnostic implant"/>
     		</procedureCodeableConcept>
     		<udi>
     			<reference value="Device/example"/>
     		</udi>
     	</procedure>
     
     	<insurance>
     		<sequence value="1"/>
     		<focal value="true"/>
     		<coverage>
     			<reference value="Coverage/9876B1"/>
     		</coverage>
     	</insurance>
     
     	<item>
     		<sequence value="1"/>
     		<careTeamSequence value="1"/>
     		<productOrService>
     			<coding>
     				<system value="http://hl7.org/fhir/ex-serviceproduct"/>
     				<code value="exam"/> 
     			</coding>
     		</productOrService>
     		<servicedDate value="2014-08-16"/>
     		<unitPrice>
     			<value value="125.00"/>
     			<currency value="USD"/> 
     		</unitPrice> 
     		<net>
     			<value value="125.00"/>
     			<currency value="USD"/> 
     		</net> 
     		<encounter>
     			<reference value="Encounter/example"/>
     		</encounter>
     	</item>
     
     	<total>
     		<value value="125.00"/>
     		<currency value="USD"/>  
     	</total>
     </Claim>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Immunization/subpotent"/>
    <resource>
     <!--Authored by Joginder Madra--><Immunization xmlns="http://hl7.org/fhir">
     	<id value="subpotent"/>
     	<identifier>
     		<system value="urn:ietf:rfc:3986"/>
     		<value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234"/>
     	</identifier>
     	<status value="completed"/>
     	<vaccineCode>
     		<coding>
     			<system value="urn:oid:1.2.36.1.2001.1005.17"/>
     			<code value="GNHEP"/>
     		</coding>
     		<text value="Hepatitis B"/>
     	</vaccineCode>
     	<patient>
     		<reference value="Patient/example"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<occurrenceDateTime value="2015-01-15"/>
     	<primarySource value="true"/>
     	<location>
     		<reference value="Location/1"/>
     	</location>
     	<manufacturer>
     		<reference value="Organization/hl7"/>
     	</manufacturer>
     	<lotNumber value="AAJN11K"/>
     	<expirationDate value="2015-02-28"/>
     	<site>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-ActSite"/>
     			<code value="LT"/>
     			<display value="left thigh"/>
     		</coding>
     	</site>
     	<route>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"/>
     			<code value="IM"/>
     			<display value="Injection, intramuscular"/>
     		</coding>
     	</route>
     	<doseQuantity>
     		<value value="0.5"/>
     		<system value="http://unitsofmeasure.org"/>
     		<code value="ml"/>
     	</doseQuantity>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0443"/>
     				<code value="OP"/>
     			</coding>
     		</function>
         	<actor>
          		<reference value="Practitioner/example"/>
         	</actor>
     	</performer>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0443"/>
     				<code value="AP"/>
     			</coding>
     		</function>
         	<actor>
          		<reference value="Practitioner/example"/>
         	</actor>
     	</performer>
     	<note>
     		<text value="Notes on adminstration of vaccine"/>
     	</note>
     	<isSubpotent value="false"/>
     	<subpotentReason>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-subpotent-reason"/>
     			<code value="partial"/>
     		</coding>
     	</subpotentReason>
     	<education>
     		<documentType value="253088698300010311120702"/>
     		<publicationDate value="2012-07-02"/>
     		<presentationDate value="2013-01-10"/>
     	</education>
     	<programEligibility>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-program-eligibility"/>
     			<code value="ineligible"/>
     		</coding>
     	</programEligibility>
     	<fundingSource>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-funding-source"/>
     			<code value="private"/>
     		</coding>
     	</fundingSource>
     </Immunization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/cardiacdiet"/>
    <resource>
     <?xml-stylesheet type="text/xsl" href="file://Mac/Home/Documents/FHIRBuild/reorder-nodes-template.xslt"?><NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     -->
     <!--EH  Show all the elements in this examples for preference, and intolerance --><!-- EH: use oral Diet element -->
     <id value="cardiacdiet"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="dairy-free"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<oralDiet>
     		<!-- EH:  list type of diet showing standard code and local codes -->
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="386619000"/>
     				<display value="Low sodium diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1040"/>
     				<display value="Low Sodium Diet"/>
     			</coding>
     			<text value="Low sodium diet"/>
     		</type>
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="226208002"/>
     				<display value="Fluid restricted diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1040"/>
     				<display value="Fluid restricted diet"/>
     			</coding>
     			<text value="Fluid restricted diet"/>
     		</type>
     		<!-- list nutrients and amounts here -->
     		<nutrient>
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="39972003"/>
     					<display value="Sodium"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="2"/>
     				<unit value="grams"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="g"/>
     			</amount>
     		</nutrient>
     		<nutrient>
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="33463005"/>
     					<display value="Fluid"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="1500"/>
     				<unit value="milliliter"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="mL"/>
     			</amount>
     		</nutrient>
     		<!--instructions as free text -->
     		<instruction value="Starting on 2/10 breakfast, maximum 400 ml fluids per meal"/>
     	</oralDiet>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/diabeticsupplement"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     
     --><!-- EH: use supplement element --><id value="diabeticsupplement"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="kosher"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<supplement>
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="443051000124104"/>
     				<display value="Adult diabetes specialty formula"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/supplement-type-codes"/>
     				<code value="1010"/>
     				<display value="Adult diabetic formula"/>
     			</coding>
     			<text value="Adult diabetic formula"/>
     		</type>
     		<productName value="Glucerna"/>
     		<!--EH:Glucerna Shake at 3pm and HS-->
     		<schedule>
     			<repeat>
     				<boundsPeriod>
     					<start value="2015-02-10T15:00:00Z"/>
     				</boundsPeriod>
     				<frequency value="1"/>
     				<period value="24"/>
     				<periodUnit value="h"/>
     			</repeat>
     		</schedule>
     		<schedule>
     			<repeat>
     				<duration value="1"/>
     				<durationUnit value="h"/>
     				<when value="HS"/>
     			</repeat>
     		</schedule>
     		<quantity>
     			<value value="1"/>
     			<unit value="8 oz bottle"/>
     		</quantity>
     		<!-- EH:  use the .instructions element to list diet  supplement order
     		<instruction value="Glucerna Shake at 3pm and HS"/>
     -->
     	</supplement></NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/enteralbolus"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     Tube feedings are given in boluses several times a day   edited by Eric Haas Health eData Inc
     --><!--EH  Show all the elements in this examples for preference, and intolerance --><id value="enteralbolus"/>
     	<identifier>
     		<system value="http://www.acme.org/nutritionorders"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="dairy-free"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<enteralFormula>
     
     		<baseFormulaType>
     			<coding>
     				<!--EH:  bolus tube feeding instruction in text-->
     				<system value="http://snomed.info/sct"/>
     				<code value="442991000124104"/>
     				<display value="Adult high protein formula"/>
     			</coding>
     		</baseFormulaType>
     		<baseFormulaProductName value="Acme High Protein Formula"/>
     
     		<additiveType>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/entformula-additive"/>
     				<code value="lipid"/>
     				<display value="Lipid"/>
     			</coding>
     		</additiveType>
     		<additiveProductName value="Acme Lipid Additive"/>
     		<caloricDensity>
     			<value value="1.5"/>
     			<unit value="calories per milliliter"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="cal/mL"/>
     		</caloricDensity>
     		<routeofAdministration>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"/>
     				<code value="GT"/>
     				<display value="Instillation, gastrostomy tube"/>
     			</coding>
     		</routeofAdministration>
     		<administration>
     			<schedule>
     				<repeat>
     				<boundsPeriod>
     				  <start value="2014-09-17T16:00:00Z"/>
     				</boundsPeriod>
     					<frequency value="1"/>
     					<period value="4"/>
     					<periodUnit value="h"/>
     				</repeat>
     			</schedule>
     			<quantity>
     				<value value="240"/>
     				<unit value="milliliters"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="mL"/>
     			</quantity>
     		</administration>
     		<maxVolumeToDeliver>
     			<value value="1440"/>
     			<unit value="milliliter/day"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="mL/d"/>
     		</maxVolumeToDeliver>
     		<administrationInstruction value="240 mls every 4hrs "/>
     	</enteralFormula>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Observation/abdo-tender"/>
    <resource>
     <Observation xmlns="http://hl7.org/fhir">
     	<id value="abdo-tender"/>
     
     
     	<status value="final"/>
     	<category>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
     			<code value="exam"/>
     			<display value="Exam"/>
     		</coding>
     	</category>
     	<code>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<code value="43478001"/>
     			<display value="Abdominal tenderness (finding)"/>
     		</coding>
     		<text value="Abdominal tenderness"/>
     	</code>
     	<subject>
     		<reference value="Patient/example"/>
     	</subject>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<effectivePeriod>
     		<start value="2018-04-02T10:30:10+01:00"/>
     	</effectivePeriod>
     	<issued value="2018-04-03T15:30:10+01:00"/>
     	<valueBoolean value="true"/>
     	<interpretation>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
     			<code value="A"/>
     			<display value="Abnormal"/>
     		</coding>
     		<text value="Abnormal"/>
     	</interpretation>
     </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/ImagingStudy/example-xr"/>
    <resource>
     <ImagingStudy xmlns="http://hl7.org/fhir">
     	<id value="example-xr"/>
     	<text>
     		<status value="generated"/>
     		<div xmlns="http://www.w3.org/1999/xhtml">XR Wrist 3+ Views. John Smith (MRN: 09236). Accession: W12342398. Performed: 2017-01-01. 1 series, 2 images.</div>
     	</text>
     	<identifier>
     		<use value="official"/>
     		<system value="urn:dicom:uid"/>
     		<value value="urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430046"/>
     	</identifier>
     	<identifier>
     		<use value="usual"/>
     		<type>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
     				<code value="ACSN"/>
     			</coding>
     		</type>
     		<value value="W12342398"/>
     		<assigner>
     			<reference value="Organization/dicom-organization"/>
     		</assigner>
     	</identifier>
     	<identifier>
     		<use value="secondary"/>
     		<value value="55551234"/>
     		<assigner>
     			<reference value="Organization/dicom-organization"/>
     		</assigner>
     	</identifier>
     	<status value="available"/>
     	<modality>
     		<system value="http://dicom.nema.org/resources/ontology/DCM"/>
     		<code value="DX"/>
     	</modality>
     	<subject>
     		<reference value="Patient/dicom"/>
     	</subject>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<started value="2017-01-01T11:01:20+03:00"/>
     	<basedOn>
     		<reference value="ServiceRequest/example"/>
     	</basedOn>
     	<referrer>
     		<reference value="Practitioner/example"/>
     	</referrer>
     	<interpreter>
     		<reference value="Practitioner/example"/>
     	</interpreter>
     	<endpoint>
     		<reference value="Endpoint/example-wadors"/>
     	</endpoint>
     	<numberOfSeries value="1"/>
     	<numberOfInstances value="2"/>
     	<procedureReference>
     		<reference value="Procedure/example"/>
     	</procedureReference>
     	<procedureCode>
     		<coding>
     			<system value="http://www.radlex.org"/>
     			<code value="RPID2589"/>
     			<display value="XR Wrist 3+ Views"/>
     		</coding>
     		<text value="XR Wrist 3+ Views"/>
     	</procedureCode>
     	<reasonCode>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<code value="357009"/>
     			<display value="Closed fracture of trapezoidal bone of wrist"/>
     		</coding>
     	</reasonCode>
     	<note>
     	    <text value="XR Wrist 3+ Views"/>
     	</note>
     	<series>
     		<uid value="2.16.124.113543.6003.1154777499.30246.19789.3503430045.1"/>
     		<number value="3"/>
     		<modality>
     			<system value="http://dicom.nema.org/resources/ontology/DCM"/>
     			<code value="DX"/>
     		</modality>
     		<description value="XR Wrist 3+ Views"/>
     		<numberOfInstances value="2"/>
     		<endpoint>
     			<reference value="Endpoint/example-wadors"/>
     		</endpoint>
     		<bodySite>
     			<!--   Added body site to support duplicate checking example   -->
     			<system value="http://snomed.info/sct"/>
     			<code value="T-15460"/>
     			<display value="Wrist Joint"/>
     		</bodySite>
     		<laterality>
     			<system value="http://snomed.info/sct"/>
     			<code value="419161000"/>
     			<display value="Unilateral left"/>
     		</laterality>
     		<started value="2011-01-01T11:01:20+03:00"/>
     		<performer>
     			<function>
     			<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
     			<code value="PRF"/>
     			</coding>
     			</function>
     			<actor>
     			<reference value="Practitioner/example"/>
     			</actor>
     		</performer>
     		<instance>
     			<uid value="2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.1"/>
     			<sopClass>
     				<system value="urn:ietf:rfc:3986"/>
     				<code value="urn:oid:1.2.840.10008.5.1.4.1.1.2"/>
     			</sopClass> 
     			<number value="1"/>
     			<title value="PA VIEW"/>
     		</instance>
     		<instance>
     			<uid value="2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.2"/>
     			<sopClass>
     				<system value="urn:ietf:rfc:3986"/>
     				<code value="urn:oid:1.2.840.10008.5.1.4.1.1.2"/>
     			</sopClass> 
     			<number value="2"/>
     			<title value="LL VIEW"/>
     		</instance>
     	</series>
     </ImagingStudy>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/RequestGroup/example"/>
    <resource>
     <RequestGroup xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Example RequestGroup illustrating related actions to administer medications in sequence with time delay.</div>
       </text>
       <contained>
         <MedicationRequest>
           <id value="medicationrequest-1"/>
           <status value="unknown"/>
           <intent value="proposal"/>
           <medicationCodeableConcept>
             <text value="Medication 1"/>
           </medicationCodeableConcept>
           <subject>
             <reference value="Patient/example"/>
           </subject>
         </MedicationRequest>
       </contained>
       <contained>
         <MedicationRequest>
           <id value="medicationrequest-2"/>
           <status value="unknown"/>
           <intent value="proposal"/>
           <medicationCodeableConcept>
             <text value="Medication 2"/>
           </medicationCodeableConcept>
           <subject>
             <reference value="Patient/example"/>
           </subject>
         </MedicationRequest>
       </contained>
       <identifier>
         <value value="requestgroup-1"/>
       </identifier>  
       <groupIdentifier>
         <system value="http://example.org/treatment-group"/>
         <value value="00001"/>
       </groupIdentifier>
       <status value="draft"/>
       <intent value="plan"/>
       <priority value="routine"/>
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <authoredOn value="2017-03-06T17:31:00Z"/>
       <author>
         <reference value="Practitioner/1"/>
       </author>
       <reasonCode>
         <text value="Treatment"/>
       </reasonCode>
       <note>
         <text value="Additional notes about the request group"/>
       </note>
       <action>
         <prefix value="1"/>
         <title value="Administer Medications"/>
         <description value="Administer medications at the appropriate time"/>
         <textEquivalent value="Administer medication 1, followed an hour later by medication 2"/>
         <timingDateTime value="2017-03-06T19:00:00Z"/>
         <participant>
           <reference value="Practitioner/1"/>
         </participant>
         <groupingBehavior value="logical-group"/>
         <selectionBehavior value="all"/>
         <requiredBehavior value="must"/>
         <precheckBehavior value="yes"/>
         <cardinalityBehavior value="single"/>
         <action id="medication-action-1">
           <description value="Administer medication 1"/>
           <type>
     	    <coding><code value="create"/></coding>
           </type>
           <resource>
             <reference value="#medicationrequest-1"/>
           </resource>
         </action>
         <action id="medication-action-2">
           <description value="Administer medication 2"/>
           <relatedAction>
             <actionId value="medication-action-1"/>
             <relationship value="after-end"/>
             <offsetDuration>
               <value value="1"/>
               <unit value="h"/>
             </offsetDuration>
           </relatedAction>
           <type>
     	    <coding><code value="create"/></coding>
           </type>
           <resource>
             <reference value="#medicationrequest-2"/>
           </resource>
         </action>
       </action>
     </RequestGroup>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/enteralcontinuous"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     editor Eric Haas Health eData Inc
     --><!-- Tube feedings given as continuous rate --><id value="enteralcontinuous"/>
     	<identifier>
     		<system value="http://www.acme.org/nutritionorders"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<enteralFormula>
     		<baseFormulaType>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="6547210000124112"/>
     				<display value="Diabetic specialty enteral formula"/>
     			</coding>
     		</baseFormulaType>
     		<baseFormulaProductName value=" Acme Diabetes Formula"/>
     		
     		<caloricDensity>
     			<value value="1"/>
     			<unit value="calories per milliliter"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="cal/mL"/>
     		</caloricDensity>
     		<routeofAdministration>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"/>
     				<code value="NGT"/>
     				<display value="Instillation, nasogastric tube"/>
     			</coding>
     		<!--step up rate of tube feeding by 20 ml/hr every 4 hours -->
     		</routeofAdministration>
     		<administration>
     			
     			<schedule>
     			<repeat>
     				<boundsPeriod>
     				  <start value="2014-09-17T07:00:00Z"/>
     				</boundsPeriod>
     			</repeat>
     			</schedule>
     			<rateQuantity>
     				<value value="60"/>
     				<unit value="ml/hr"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="mL/h"/>
     			</rateQuantity>
     		</administration>
     		<administration>	
     			<schedule>
     			<repeat>
     				<boundsPeriod>
     				  <start value="2014-09-17T11:00:00Z"/>
     				</boundsPeriod>
     			</repeat>
     			</schedule>
     			<rateQuantity>
     				<value value="80"/>
     				<unit value="ml/hr"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="mL/h"/>
     			</rateQuantity>
     		</administration>
     		<administration>		
     			<schedule>
     			<repeat>
     				<boundsPeriod>
     				  <start value="2014-09-17T15:00:00Z"/>
     				</boundsPeriod>
     			</repeat>
     			</schedule>
     			<rateQuantity>
     				<value value="100"/>
     				<unit value="ml/hr"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="mL/h"/>
     			</rateQuantity>
     		</administration>
     		
     		<maxVolumeToDeliver>
     			<value value="880"/>
     			<unit value="milliliter/day"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="mL/d"/>
     		</maxVolumeToDeliver>
     		<administrationInstruction value="Hold feedings from 7 pm to 7 am. Add MCT oil to increase calories from 1.0 cal/mL to 1.5 cal/mL"/>
     		
     	</enteralFormula>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Observation/example"/>
    <resource>
     <!-- 
      This is an example of a simple weight measurement.
      --><Observation xmlns="http://hl7.org/fhir">
     	<id value="example"/>
     	<!--  the mandatory quality flags:  -->
     	<status value="final"/>
     	<!-- category code is A code that classifies the general type of observation being made. This is used for searching, sorting and display purposes.-->
     	<category>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
     			<code value="vital-signs"/>
     			<display value="Vital Signs"/>
     		</coding>
     	</category>
     	<!-- 
         Observations are often coded in multiple code systems.
           - LOINC provides codes of varying granularity (though not usefully more specific in this particular case) and more generic LOINCs  can be mapped to more specific codes as shown here
           - snomed provides a clinically relevant code that is usually less granular than LOINC
           - the source system provides its own code, which may be less or more granular than LOINC
        -->
     	<code>
     		<!--  LOINC - always recommended to have a LOINC code  -->
     		<coding>
     			<system value="http://loinc.org"/>
     			<code value="29463-7"/> <!--more generic methodless LOINC-->
     			<display value="Body Weight"/>
     		</coding>
     		<coding>
     			<system value="http://loinc.org"/>
     			<code value="3141-9"/><!--translation is more specific method = measured LOINC-->
     			<display value="Body weight Measured"/>
     		</coding>
     		<!--  SNOMED CT Codes - becoming more common  -->
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<code value="27113001"/>
     			<display value="Body weight"/>
     		</coding>
     		<!--  Also, a local code specific to the source system  -->
     		<coding>
     			<system value="http://acme.org/devices/clinical-codes"/>
     			<code value="body-weight"/>
     			<display value="Body Weight"/>
     		</coding>
     	</code>
     	<subject>
     		<reference value="Patient/example"/>
     	</subject>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<effectiveDateTime value="2016-03-28"/>
     	<!--  In FHIR, units may be represented twice. Once in the
         agreed human representation, and once in a coded form.
         Both is best, since it's not always possible to infer
         one from the other in code.
     
         When a computable unit is provided, UCUM (http://unitsofmeasure.org)
         is always preferred, but it doesn't provide notional units (such as
         "tablet"), etc. For these, something else is required (e.g. SNOMED CT)
         -->
     	<valueQuantity>
     		<value value="185"/>
     		<unit value="lbs"/>
     		<system value="http://unitsofmeasure.org"/>
     		<code value="[lb_av]"/>
     	</valueQuantity>
     </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Task/example4"/>
    <resource>
     <Task xmlns="http://hl7.org/fhir">
     	<!--This example show an updated status and output - a generated task to collect a specimen
     example1 action lipid panel -in progress =>. example2 specimen collection subtask -accepted => example4  specimen collection subtask - completed  with output Specimen=>example 5 action lipid panel -in progress specimen collected with output Specimen => example 6 action lipid panel - completed with output Specimen and DiagnosticReport -->
     	<id value="example4"/>
     	<identifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/identifiers"/>
     		<value value="20170201-002"/>
     	</identifier>
     	<groupIdentifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/accession/identifiers"/>
     		<value value="G20170201-001"/>
     	</groupIdentifier>
     	<!--	This Task is a child task of the submitted lipid panel requet
     -->
     	<partOf>
     		<reference value="Task/example1"/>
     		<display value="Lipid Panel"/>
     	</partOf>
     	<status value="completed"/>
     	<!--fictive business status populated for this example-->
     	<intent value="filler-order"/>
     	<priority value="routine"/>
     	<!--fictive code and description elements populated for this example -->
     	<code>
     		<text value="Specimen Collection"/>
     	</code>
     	<!--	Filler generated order using a fictive  servicerequest to complete the loop-->
     	<focus>
     		<display value="BloodDraw ServiceRequest"/>
     	</focus>
     	<!--	who the task is for
     -->
     	<for>
     		<reference value="Patient/example"/>
     		<display value="Peter James Chalmers"/>
     	</for>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Example In-Patient Encounter"/>
     	</encounter>
     	<!--	Lots of dates -->
     	<executionPeriod>
     		<start value="2016-10-31T08:45:05+10:00"/>
     		<end value="2016-10-31T14:45:05+10:00"/>
     	</executionPeriod>
     	<authoredOn value="2016-10-31T08:45:05+10:00"/>
     	<lastModified value="2016-10-31T09:45:05+10:00"/>
     	<!--requester is filler-->
     	<requester>
     			<reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/>
     			<display value="Clinical Laboratory @ Acme Hospital"/>
     	</requester>
     	<performerType>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/task-performer-type"/>
     			<code value="performer"/>
     			<display value="Performer"/>
     		</coding>
     		<text value="Performer"/>
     	</performerType>
     	<!--assume at draw station-->
     	<owner>
     		<reference value="Practitioner/f202"/>
     		<display value="Luigi Maas"/>
     	</owner>
     	<restriction>
     		<repetitions value="1"/>
     		<period>
     			<end value="2016-11-01T09:45:05+10:00"/>
     		</period>
     	</restriction>
     	<!--The expected output of this task is a Specimen and will generated once the task is completed -->
     	<output>
     		<type>
     			<text value="collected specimen"/>
     		</type>
     		<valueReference>
     			<reference value="Specimen/101"/>
     		</valueReference>
     	</output>
     </Task>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Task/example2"/>
    <resource>
     <Task xmlns="http://hl7.org/fhir">
     	<!--This is an example to demonstrate using task for actioning a filler generated servicerequest and to illustrate how to populate many of the task elements - this is the child task from task example1 to grab the specimen
     example1 action lipid panel -in progress =>. example2 specimen collection subtask -accepted => example4  specimen collection subtask - completed  with output Specimen=>example 5 action lipid panel -in progress specimen collected with output Specimen => example 6 action lipid panel - completed with output Specimen and DiagnosticReport -->
     	<id value="example2"/>
     	<identifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/identifiers"/>
     		<value value="20170201-002"/>
     	</identifier>
     	<groupIdentifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/accession/identifiers"/>
     		<value value="G20170201-001"/>
     	</groupIdentifier>
     	<!--	This Task is a child task of the submitted lipid panel requet
     -->
     	<partOf>
     		<reference value="Task/example1"/>
     		<display value="Lipid Panel"/>
     	</partOf>
     	<status value="accepted"/>
     	<!--fictive business status populated for this example-->
     	<businessStatus>
     		<text value="waiting for patient"/>
     	</businessStatus>
     	<intent value="filler-order"/>
     	<priority value="routine"/>
     	<!--fictive code and description elements populated for this example -->
     	<code>
     		<text value="Specimen Collection"/>
     	</code>
     	<!--	Filler generated order using a fictive  servicerequest to complete the loop-->
     	<focus>
     		<display value="BloodDraw ServiceRequest"/>
     	</focus>
     	<!--	who the task is for
     -->
     	<for>
     		<reference value="Patient/example"/>
     		<display value="Peter James Chalmers"/>
     	</for>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Example In-Patient Encounter"/>
     	</encounter>
     	<!--	Lots of dates -->
     	<executionPeriod>
     		<start value="2016-10-31T08:45:05+10:00"/>
     	</executionPeriod>
     	<authoredOn value="2016-10-31T08:45:05+10:00"/>
     	<lastModified value="2016-10-31T09:45:05+10:00"/>
     	<!--requester is filler-->
     	<requester>
     			<reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/>
     			<display value="Clinical Laboratory @ Acme Hospital"/>
     	</requester>
     	<performerType>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/task-performer-type"/>
     			<code value="performer"/>
     			<display value="Performer"/>
     		</coding>
     		<text value="Performer"/>
     	</performerType>
     	<!--assume at draw station-->
     	<owner>
     		<reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/>
     		<display value="Clinical Laboratory @ Acme Hospital"/>
     	</owner>
     	<restriction>
     		<repetitions value="1"/>
     		<period>
     			<end value="2016-11-01T09:45:05+10:00"/>
     		</period>
     	</restriction>
     	<!--The expected output of this task is a Specimen and will generated once the task is completed -->
     </Task>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Task/example6"/>
    <resource>
     <Task xmlns="http://hl7.org/fhir">
     	<!--This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements this is the first in a series of related Task examples:  example1 action lipid panel -in progress =>. example2 specimen collection subtask -accepted => example4  specimen collection subtask - completed  with output Specimen=>example 5 action lipid panel -in progress specimen collected with output Specimen => example 6 action lipid panel - completed with output Specimen and DiagnosticReport -->
     	<id value="example6"/>
     	<identifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/identifiers"/>
     		<value value="20170201-001"/>
     	</identifier>
     	<basedOn>
     		<display value="General Wellness Careplan"/>
     	</basedOn>
     	<groupIdentifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/accession/identifiers"/>
     		<value value="G20170201-001"/>
     	</groupIdentifier>
     	<status value="completed"/>
     	<!--fictive business status populated for this example -->
     	<businessStatus>
     		<text value="test completed and posted"/>
     	</businessStatus>
     	<intent value="order"/>
     	<priority value="routine"/>
     	<!--fictive code and description elements populated for this example -->
     	<code>
     		<text value="Lipid Panel"/>
     	</code>
     	<description value="Create order for getting specimen, Set up inhouse testing,  generate order for any sendouts and submit with specimen"/>
     	<!--	Use the lipid servicerequest example -->
     	<focus>
     		<reference value="ServiceRequest/lipid"/>
     		<display value="Lipid Panel Request"/>
     	</focus>
     	<!--	who the task is for
     -->
     	<for>
     		<reference value="Patient/example"/>
     		<display value="Peter James Chalmers"/>
     	</for>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Example In-Patient Encounter"/>
     	</encounter>
     	<!--	Lots of dates -->
     	<executionPeriod>
     		<start value="2016-10-31T08:25:05+10:00"/>
     		<!--added completion date-->
     		<end value="2016-10-31T18:45:05+10:00"/>
     	</executionPeriod>
     	<authoredOn value="2016-10-31T08:25:05+10:00"/>
     	<!--	updated last modified date to track task activity-->
     	<lastModified value="2016-10-31T18:45:05+10:00"/>
     	<requester>
     			<reference value="Practitioner/example"/>
     			<display value="Dr Adam Careful"/>
     	</requester>
     	<performerType>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/task-performer-type"/>
     			<code value="performer"/>
     			<display value="Performer"/>
     		</coding>
     		<text value="Performer"/>
     	</performerType>
     	<owner>
     		<reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/>
     		<display value="Clinical Laboratory @ Acme Hospital"/>
     	</owner>
     	<!--	populate the reason just to demonstrate it use in this example
     -->
     	<reasonCode>
     		<text value="The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus"/>
     	</reasonCode>
     	<note>
     		<text value="This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test "/>
     	</note>
     	<!--	add the link to the signature on the task to show how this element is usedemonstrating in this example the relevant history element using a contained resource for the purpose of this example only typically would reference an external resource
     
     -->
     	<!--	complete the request within 48 hrs
     -->
     	<restriction>
     		<repetitions value="1"/>
     		<period>
     			<end value="2016-11-02T09:45:05+10:00"/>
     		</period>
     	</restriction>
     	<!--The expected output of this task is a DiagnosticReport and Specimen-->
     	<output>
     		<type>
     			<text value="DiagnosticReport generated"/>
     		</type>
     		<valueReference>
     			<reference value="DiagnosticReport/lipids"/>
     		</valueReference>
     	</output>
     		<output>
     		<type>
     			<text value="collected specimen"/>
     		</type>
     		<valueReference>
     			<reference value="Specimen/101"/>
     		</valueReference>
     	</output>
     
     </Task>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/energysupplement"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     --><!--EH  Show all the elements in this examples for preference, and intolerance --><!-- EH: use supplement element --><id value="energysupplement"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="kosher"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<supplement>
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="442971000124100"/>
     				<display value="Adult high energy formula"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/supplement-type-codes"/>
     				<code value="1010"/>
     				<display value="Adult high energy drink"/>
     			</coding>
     			<text value="Adult high energy drink"/>
     		</type>
     		<productName value="Ensure"/>
     		<!--EH:  1 8 oz can tid using coded data -->
     		<schedule>
     			<repeat>
             <boundsPeriod>
               <start value="2015-02-10"/>
             </boundsPeriod>
     				<frequency value="3"/>
     				<period value="1"/>
     				<periodUnit value="d"/>
     			</repeat>
     		</schedule>
     		<quantity>
     			<value value="1"/>
     			<unit value="8 oz can"/>
     		</quantity>
     	</supplement>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Task/example5"/>
    <resource>
     <Task xmlns="http://hl7.org/fhir">
     	<!--This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements this is the first in a series of related Task examples:  example1 action lipid panel -in progress =>. example2 specimen collection subtask -accepted => example4  specimen collection subtask - completed  with output Specimen=>example 5 action lipid panel -in progress specimen collected with output Specimen => example 6 action lipid panel - completed with output Specimen and DiagnosticReport -->
     	<id value="example5"/>
     	<identifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/identifiers"/>
     		<value value="20170201-001"/>
     	</identifier>
     	<basedOn>
     		<display value="General Wellness Careplan"/>
     	</basedOn>
     	<groupIdentifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/accession/identifiers"/>
     		<value value="G20170201-001"/>
     	</groupIdentifier>
     	<status value="in-progress"/>
     	<!--fictive business status populated for this example -->
     	<businessStatus>
     		<text value="specimen received, test in progress"/>
     	</businessStatus>
     	<intent value="order"/>
     	<priority value="routine"/>
     	<!--fictive code and description elements populated for this example -->
     	<code>
     		<text value="Lipid Panel"/>
     	</code>
     	<description value="Create order for getting specimen, Set up inhouse testing,  generate order for any sendouts and submit with specimen"/>
     	<!--	Use the lipid servicerequest example -->
     	<focus>
     		<reference value="ServiceRequest/lipid"/>
     		<display value="Lipid Panel Request"/>
     	</focus>
     	<!--	who the task is for
     -->
     	<for>
     		<reference value="Patient/example"/>
     		<display value="Peter James Chalmers"/>
     	</for>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Example In-Patient Encounter"/>
     	</encounter>
     	<!--	Lots of dates -->
     	<executionPeriod>
     		<start value="2016-10-31T08:25:05+10:00"/>
     	</executionPeriod>
     	<authoredOn value="2016-10-31T08:25:05+10:00"/>
     	<!--	updated last modified date to track task activity-->
     	<lastModified value="2016-10-31T16:45:05+10:00"/>
     	<requester>
     			<reference value="Practitioner/example"/>
     			<display value="Dr Adam Careful"/>
     	</requester>
     	<performerType>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/task-performer-type"/>
     			<code value="performer"/>
     			<display value="Performer"/>
     		</coding>
     		<text value="Performer"/>
     	</performerType>
     	<owner>
     		<reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/>
     		<display value="Clinical Laboratory @ Acme Hospital"/>
     	</owner>
     	<!--	populate the reason just to demonstrate it use in this example
     -->
     	<reasonCode>
     		<text value="The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus"/>
     	</reasonCode>
     	<note>
     		<text value="This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test "/>
     	</note>
     	<!--	add the link to the signature on the task to show how this element is usedemonstrating in this example the relevant history element using a contained resource for the purpose of this example only typically would reference an external resource
     
     -->
     	<!--	complete the request within 48 hrs
     -->
     	<restriction>
     		<repetitions value="1"/>
     		<period>
     			<end value="2016-11-02T09:45:05+10:00"/>
     		</period>
     	</restriction>
     	<!--The expected output of this task is a DiagnosticRequest and will generated once the task is near completion -->
     		<output>
     		<type>
     			<text value="collected specimen"/>
     		</type>
     		<valueReference>
     			<reference value="Specimen/101"/>
     		</valueReference>
     	</output>
     
     </Task>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/RiskAssessment/cardiac"/>
    <resource>
     <RiskAssessment xmlns="http://hl7.org/fhir">
      <id value="cardiac"/>
       <text>
         <status value="additional"/>
         <div xmlns="http://www.w3.org/1999/xhtml">
           <table>
             <tr>
               <td colspan="2">
                 <h1>Information about your risk score:</h1>
               </td>
             </tr>
             <tr>
               <td>
                 <strong>Age:</strong>
               </td>
               <td>39</td>
             </tr>
             <tr>
               <td>
                 <strong>Gender:</strong>
               </td>
               <td>male</td>
             </tr>
             <tr>
               <td>
                 <strong>Total Cholesterol:</strong>
               </td>
               <td>244 mg/dL</td>
             </tr>
             <tr>
               <td>
                 <strong>HDL Cholesterol:</strong>
               </td>
               <td>50 mg/dL
               </td>
             </tr>
             <tr>
               <td>
                 <strong>Smoker:</strong>
               </td>
               <td>No</td>
             </tr>
             <tr>
               <td>
                 <strong>Systolic Blood Pressure:</strong>
               </td>
               <td>107 mm/Hg</td>
             </tr>
             <tr>
               <td>
                 <strong>On medication for HBP:</strong>
               </td>
               <td>No</td>
             </tr>
             <tr>
               <td valign="top">
                 <b>Risk Score*</b>
               </td>
               <td>2%<br/>Means 2 of 100 people with this level of risk will have a heart attack in the next 10 years.</td>
             </tr>
             <tr>
               <td colspan="2">* Your risk score was calculated using an equation.  Other NCEP products, such as printed ATP III materials, use a point system to determine a risk score that is close to the equation score.</td>
             </tr>
             <tr>
               <td colspan="2">To find out what your risk score means and how to lower your risk for a heart attack, go to<br/>
                 <a href="http://www.nhlbi.nih.gov/health/public/heart/chol/hbc_what.htm">"High Blood Cholesterol—What You Need to Know"</a>.<br/>
                 <a href="http://www.nhlbi.nih.gov/health/public/heart/chol/chol_tlc.htm">Your Guide to Lowering Cholesterol with Therapeutic Lifestyle Changes (TLC)</a><br/>
                 <a href="http://www.nhlbi.nih.gov/health/public/heart/other/hhw/index.htm">The Healthy Heart Handbook for Women</a>
               </td>
             </tr>
           </table>
         </div>
       </text>
       <identifier>
         <use value="official"/>
         <system value="http://example.org"/>
         <value value="risk-assessment-cardiac"/>
       </identifier>
       <status value="final"/>
       <subject>
         <reference value="Patient/pat2"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <occurrenceDateTime value="2014-07-19T16:04:00Z"/>
       <performer>
         <display value="http://cvdrisk.nhlbi.nih.gov/#cholesterol"/>
       </performer>
       <basis>
         <reference value="Patient/pat2"/>
       </basis>
       <basis>
         <reference value="DiagnosticReport/lipids"/>
       </basis>
       <basis>
         <reference value="Observation/blood-pressure"/>
       </basis>
       <prediction>
         <outcome>
           <text value="Heart Attack"/>
         </outcome>
         <probabilityDecimal value="0.02"/>
         <whenRange>
           <low>
             <value value="39"/>
             <unit value="years"/>
             <system value="http://unitsofmeasure.org"/>
             <code value="a"/>
           </low>
           <high>
             <value value="49"/>
             <unit value="years"/>
             <system value="http://unitsofmeasure.org"/>
             <code value="a"/>
           </high>
         </whenRange>
       </prediction>
     </RiskAssessment>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Observation/map-sitting"/>
    <resource>
     <Observation xmlns="http://hl7.org/fhir">
     	<id value="map-sitting"/>
     
     	<!--	To be used only when the body position in not precoordinated in the observation code.-->
     	<extension url="http://hl7.org/fhir/StructureDefinition/observation-bodyPosition">
     		<valueCodeableConcept>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="33586001"/>
     				<display value="Sitting position (finding)"/>
     			</coding>
     		</valueCodeableConcept>
     	</extension>
     		<!--	The qualitative change in the value relative to the previous measurement. Usually only recorded if the change is clinically significant.-->
     	<extension url="http://hl7.org/fhir/StructureDefinition/observation-delta">
     		<valueCodeableConcept>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="1250004"/>
     				<display value="Decreased (qualifier value)"/>
     			</coding>
     		</valueCodeableConcept>
     	</extension>
     	<status value="final"/>
     	<category>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
     			<code value="laboratory"/>
     			<display value="Laboratory"/>
     		</coding>
     	</category>
     	<code>
     		<coding>
     			<system value="http://loinc.org"/>
     			<code value="8478-0"/>
     			<display value="Mean blood pressure"/>
     		</coding>
     	</code>
     	<subject>
     		<reference value="Patient/example"/>
     	</subject>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<effectivePeriod>
     		<start value="2018-04-02T10:30:10+01:00"/>
     		<end value="2018-04-05T10:30:10+01:00"/>
     	</effectivePeriod>
     	<issued value="2018-04-03T15:30:10+01:00"/>
     	<valueQuantity>
     		<value value="60"/>
     		<unit value="mm Hg"/>
     		<system value="http://unitsofmeasure.org"/>
     		<code value="mm[Hg]"/>
     	</valueQuantity>
     	<interpretation>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v2-0078"/>
     			<code value="L"/>
     			<display value="Low"/>
     		</coding>
     		<text value="Below low normal"/>
     	</interpretation>
     </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/CarePlan/gpvisit"/>
    <resource>
     <CarePlan xmlns="http://hl7.org/fhir">
       <id value="gpvisit"/>
       <text>
         <status value="additional"/>
         <div xmlns="http://www.w3.org/1999/xhtml">
           <p>  Represents the flow of a patient within a practice. The plan is created when
             they arrive and represents the 'care' of the patient over the course of that encounter.
             They first see the nurse for basic observations (BP, pulse, temp) then the doctor for
             the consultation and finally the nurse again for a tetanus immunization. As the plan is
             updated (e.g. a new activity added), different versions of the plan exist, and workflow timings
             for reporting can be gained by examining the plan history. This example is the version after
             seeing the doctor, and waiting for the nurse.The plan can either be created 'ad hoc' and modified as
             the parient progresses, or start with a standard template (which can, of course, be altered to suit the patient.</p>
         </div>
       </text>
       <contained>
         <!-- This is the reason for the encounter. It is referenced by the concern -->
         <Condition>
           <id value="p1"/>
           <clinicalStatus>
     		<coding>
     		  <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
     		  <code value="active"/>
     		</coding>
     	  </clinicalStatus>
     
     	  <verificationStatus>
     		<coding>
     		  <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
     		  <code value="confirmed"/>
     		</coding>
     	  </verificationStatus>
           <code>
             <!-- Could coded if we wanted to...-->
             <text value="Overseas encounter"/>
           </code>
           <subject>
             <reference value="Patient/100"/>
             <display value="Peter James Chalmers"/>
           </subject>
         </Condition>
       </contained>
       
       <contained>
         <CareTeam>
             <id value="careteam"/>
             <participant id="part1">
         
     	    <role>
           
     	    	<coding>
             
     		    <system value="http://example.org/local"/>
             
     		    <code value="nur"/>
           
     	    	</coding>
           
     		<text value="nurse"/>
         
     	    </role>
         
     	    <member>
           
     		<reference value="Practitioner/13"/>
           
     		<display value="Nurse Nancy"/>
         
     	    </member>
       
     	</participant>
       
     	<participant id="part2">
         
     	    <role>
           
     		<coding>
             
     		    <system value="http://example.org/local"/>
             
     		    <code value="doc"/>
           
     	        </coding>
           
     		<text value="doctor"/>
         
     	     </role>
         
     	     <member>
           
     		<reference value="Practitioner/14"/>
           
     		<display value="Doctor Dave"/>
         
     	     </member>
       
     	</participant>
     
         </CareTeam>
       </contained>
     
     
     <contained>
         <Goal>
           <id value="goal"/>
           <lifecycleStatus value="planned"/>
     	  <description>
             <text value="Complete consultation"/>
           </description>
     	  <subject>
             <reference value="Patient/100"/>
             <display value="Peter James Chalmers"/>
           </subject>
         </Goal>
       </contained>
       <status value="active"/>
       <intent value="plan"/>
       <subject>
         <reference value="Patient/100"/>
         <display value="Peter James Chalmers"/>
       </subject>
       <period>
         <!-- This is the time the plan started - i.e. when they arrived-->
         <start value="2013-01-01T10:30:00+00:00"/>
         <!-- No end yet as the encounter is still in progress.-->
       </period>
       <careTeam>
         <reference value="#careteam"/>
       </careTeam>
       <addresses>
         <reference value="#p1"/>
         <display value="obesity"/>
       </addresses>
       <goal>
         <reference value="#goal"/>
       </goal>
       <activity>
         <outcomeReference>
     		<!-- This is a link to the nurse encounter. The assumption is that all contacts with practitioners
     		are modelled as separate encounters. Ideally, there will be  a 'master/parent' encounter that ties them together.
     		If there is a single encounter, then all participants will be linked to that encounter.-->
     		<reference value="Encounter/example"/>
         </outcomeReference>
         <detail>
           <!-- This activity is for the initial nurse encounter where vitals are taken. It has been completed.-->
           <kind value="Appointment"/>
           <code>
             <coding>
               <system value="http://example.org/local"/>
               <code value="nursecon"/>
             </coding>
             <text value="Nurse Consultation"/>
           </code>
           <status value="completed"/>
           <doNotPerform value="false"/>
           <scheduledPeriod>
             <!-- the nurse saw the patient between 10:38 and 10:50 -->
             <start value="2013-01-01T10:38:00+00:00"/>
             <end value="2013-01-01T10:50:00+00:00"/>
           </scheduledPeriod>
           <performer>
             <!-- refer to the participant (the nurse) in this resource-->
             <reference value="Practitioner/13"/>
             <display value="Nurse Nancy"/>
           </performer>
         </detail>
       </activity>
       <activity>
         <detail>
           <!-- This activity is for the encounter with the doctor. It is scheduled, but not yet started,
                   so there is no timing[x]  or actionTaken element yet -->
           <kind value="Appointment"/>
           <code>
             <coding>
               <system value="http://example.org/local"/>
               <code value="doccon"/>
             </coding>
             <text value="Doctor Consultation"/>
           </code>
           <status value="scheduled"/>
           <doNotPerform value="false"/>
           <!-- The status is 'scheduled' so the doctor knows the patient is waiting.  -->
           <performer>
             <!-- refer to the participant (the nurse) in this resource-->
             <reference value="Practitioner/14"/>
             <display value="Doctor Dave"/>
           </performer>
         </detail>
       </activity>
     </CarePlan>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/CommunicationRequest/fm-solicit"/>
    <resource>
     <CommunicationRequest xmlns="http://hl7.org/fhir">
       <id value="fm-solicit"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Request for Accident Report</div>
       </text>
       
       <!-- insert contents here -->
       
         <contained>
         <Organization>
           <id value="provider"/>
           <identifier>
             <system value="http://www.jurisdiction.com/provideroffices"/>
             <value value="3456"/>
           </identifier>
         </Organization>
       </contained>
     
       <contained>
         <Organization>
           <id value="payor"/>
           <identifier>
             <system value="http://www.jurisdiction.com/insurer"/>
             <value value="123456"/>
           </identifier>
         </Organization>
       </contained>
     
       <contained>
         <Practitioner>
           <id value="requester"/>
           <identifier>
              <value value="6789"/>
           </identifier>
         </Practitioner>
       </contained>
       <!-- body of the resource -->
     
       <identifier>
         <system value="http://www.jurisdiction.com/insurer/123456"/>
         <value value="ABC123"/> <!-- this is the value to which the response will refer -->
       </identifier>
        <basedOn>
         <display value="EligibilityRequest"/>
       </basedOn>
        <replaces>
         <display value="prior CommunicationRequest"/>
       </replaces>
       <groupIdentifier>
            <value value="12345"/>
       </groupIdentifier>
       <status value="active"/>
       
       <category>
          <coding>
            <system value="http://acme.org/messagetypes"/>
            <code value="SolicitedAttachmentRequest"/>
          </coding>
       </category>
       <priority value="routine"/>
       <medium>
         <coding>
           <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationMode"/>
           <code value="WRITTEN"/>
           <display value="written"/>
         </coding>
         <text value="written"/>
       </medium>
       
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <payload>
         <contentString value="Please provide the accident report and any associated pictures to support your Claim# DEF5647."/>
       </payload>
       <occurrenceDateTime value="2016-06-10T11:01:10-08:00"/>
       <authoredOn value="2016-06-10T11:01:10-08:00"/>
       <requester>
     		<reference value="#requester"/>
        </requester>
        <recipient>
           <reference value="#provider"/>
       </recipient>
        <sender>
          <reference value="#payor"/>
        </sender>
        
     
     </CommunicationRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Media/xray"/>
    <resource>
     <Media xmlns="http://hl7.org/fhir">
       <id value="xray"/>
     
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Xray of left hand for Patient Henry Levin (MRN 12345) 2016-03-15</div>
       </text>
       <basedOn>
         <identifier>
           <system value="http://someclinic.org/fhir/NamingSystem/imaging-orders"/>
           <value value="111222"/>
           <assigner>
             <display value="XYZ Medical Clinic"/>
           </assigner>
         </identifier>
       </basedOn>
     
     <status value="completed"/>
     
     
       <modality>
         <coding>
           <system value="http://snomed.info/sct"/>
           <code value="39714003"/>
           <display value="Skeletal X-ray of wrist and hand"/>
         </coding>
       </modality>
     
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <createdDateTime value="2016-03-15"/>
       <bodySite>
         <coding>
           <system value="http://snomed.info/sct"/>
           <code value="85151006"/>
           <display value="Structure of left hand (body structure)"/>
         </coding>
       </bodySite>
     
       <height value="432"/>
       <width value="640"/>
     
       <content id="a1">
         <contentType value="image/jpeg"/>
         <url value="http://someimagingcenter.org/fhir/Binary/A12345"/>
         <!-- the date this image was created -->
         <creation value="2016-03-15"/>
       </content>
     </Media>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/proteinsupplement"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     --><!-- EH: This example has no food exclusions or preferences --><!-- EH: use supplement element --><id value="proteinsupplement"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<supplement>
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="442991000124104"/>
     				<display value="Adult high protein formula"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/supplement-type-codes"/>
     				<code value="1000"/>
     				<display value="High Protein Powder"/>
     			</coding>
     			<text value="High Protein Powder"/>
     		</type>
     		<productName value="Beneprotein"/>
     		<schedule>
     			<repeat>
             <boundsPeriod>
               <start value="2015-02-10"/>
             </boundsPeriod>
     				<when value="C"/>
     			</repeat>
     		</schedule>
     		<quantity>
     			<value value="1"/>
     			<unit value="scoop"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="{scoop}"/>
     		</quantity>
     		<!-- EH:  use the .instructions element to list diet  supplement order-->
     		<instruction value="Beneprotein 1 scoop TID with meal.starting on  2015-02-10"/>
     	</supplement>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/renaldiet"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     --><!-- EH: use oral Diet element --><id value="renaldiet"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<!--EH  Show all the elements in this examples for preference, and intolerance -->
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="dairy-free"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<oralDiet>
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="33489005"/>
     				<display value="Renal diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1050"/>
     				<display value="Renal"/>
     			</coding>
     			<text value="Renal Diet"/>
     		</type>
     		<!-- EH example of three times a day starting on 2/10 -->
     		<schedule>
     			<repeat>
             <boundsPeriod>
               <start value="2015-02-10"/>
             </boundsPeriod>
     				<frequency value="3"/>
     				<period value="1"/>
     				<periodUnit value="d"/>
     			</repeat>
     		</schedule>
     		<nutrient>
     			<!-- list nutrients and amounts here -->
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="39972003"/>
     					<display value="Sodium"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="2"/>
     				<unit value="grams"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="g"/>
     			</amount>
     		</nutrient>
     		<nutrient>
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="30820000"/>
     					<display value="Phosphorus"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="1000"/>
     				<unit value="milligrams"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="mg"/>
     			</amount>
     		</nutrient>
     		<nutrient>
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="88480006"/>
     					<display value="Potassium"/>
     				</coding>
     			</modifier>
     			<amount>
     				<value value="2"/>
     				<unit value="grams"/>
     				<system value="http://unitsofmeasure.org"/>
     				<code value="g"/>
     			</amount>
     		</nutrient>
     	</oralDiet>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Immunization/protocol"/>
    <resource>
     <!--Authored by Joginder Madra--><Immunization xmlns="http://hl7.org/fhir">
     	<id value="protocol"/>
     	<identifier>
     		<system value="urn:ietf:rfc:3986"/>
     		<value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234"/>
     	</identifier>
     	<status value="completed"/>
     	<vaccineCode>
     		<coding>
     			<system value="http://hl7.org/fhir/sid/cvx"/>
     			<code value="104"/>
     		</coding>
     		<text value="Twinrix (HepA/HepB)"/>
     	</vaccineCode>
     	<patient>
     		<reference value="Patient/example"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<occurrenceDateTime value="2018-06-18"/>
     	<primarySource value="true"/>
     	<location>
     		<reference value="Location/1"/>
     	</location>
     	<manufacturer>
     		<reference value="Organization/hl7"/>
     	</manufacturer>
     	<lotNumber value="PT123F"/>
     	<expirationDate value="2018-12-15"/>
     	<site>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-ActSite"/>
     			<code value="LA"/>
     			<display value="left arm"/>
     		</coding>
     	</site>
     	<route>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"/>
     			<code value="IM"/>
     			<display value="Injection, intramuscular"/>
     		</coding>
     	</route>
     	<doseQuantity>
     		<value value="5"/>
     		<system value="http://unitsofmeasure.org"/>
     		<code value="mg"/>
     	</doseQuantity>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0443"/>
     				<code value="OP"/>
     			</coding>
     		</function>
         	<actor>
          		<reference value="Practitioner/example"/>
         	</actor>
     	</performer>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0443"/>
     				<code value="AP"/>
     			</coding>
     		</function>
         	<actor>
          		<reference value="Practitioner/example"/>
         	</actor>
     	</performer>
     	<isSubpotent value="false"/>
     	<programEligibility>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-program-eligibility"/>
     			<code value="ineligible"/>
     		</coding>
     	</programEligibility>
     	<fundingSource>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-funding-source"/>
     			<code value="private"/>
     		</coding>
     	</fundingSource>
     	<protocolApplied>
     		<series value="2-dose"/>
     		<targetDisease>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="40468003"/>
     			</coding>
     		</targetDisease>
     		<doseNumberPositiveInt value="1"/>
     	</protocolApplied>
     	<protocolApplied>
     		<series value="3-dose"/>
     		<targetDisease>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="66071002"/>
     			</coding>
     		</targetDisease>
     		<doseNumberPositiveInt value="2"/>
     	</protocolApplied>
     </Immunization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/RiskAssessment/riskexample"/>
    <resource>
     <RiskAssessment xmlns="http://hl7.org/fhir">
       <id value="riskexample"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Risk assessment for reference only</div>
       </text> 
       <identifier>
         <use value="official"/>
         <system value="http://example.org"/>
         <value value="risk-assessment-breastcancer1"/>
       </identifier>
       <basedOn>
         <reference value="ImmunizationRecommendation/example"/>
       </basedOn>
       <parent>
         <reference value="DiagnosticReport/example"/>
       </parent>
       <status value="final"/>
        <code>
         <coding>
           <system value="http://browser.ihtsdotools.org/"/>
           <code value="709510001"/>
           <display value="Assessment of risk for disease (procedure)"/>
         </coding>
       </code>
       <subject>
         <reference value="Patient/example"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
         <display value="Encounter with patient @example"/>
       </encounter>
       <occurrenceDateTime value="2017-10-10"/>
       <condition>
         <reference value="Condition/example"/>
       </condition>
       <performer>
         <reference value="Practitioner/example"/>
       </performer>
       <basis>
         <reference value="DiagnosticReport/example"/>
       </basis>
       <basis>
         <reference value="Observation/example"/>
       </basis>
       <prediction>
         <outcome>
           <text value="Breast Cancer"/>
         </outcome>
         <probabilityDecimal value="0.000368"/>
         <whenRange>
           <low>
             <value value="54"/>
             <unit value="years"/>
             <system value="http://unitsofmeasure.org"/>
             <code value="a"/>
           </low>
           <high>
             <value value="57"/>
             <unit value="years"/>
             <system value="http://unitsofmeasure.org"/>
             <code value="a"/>
           </high>
         </whenRange>
       </prediction>
       <note>
         <text value="This risk assessment is for reference only"/>
       </note>
       
     </RiskAssessment>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Communication/example"/>
    <resource>
     <Communication xmlns="http://hl7.org/fhir">
       <id value="example"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Patient has very high serum potassium</div>
       </text>
       <identifier>
         <type>
           <text value="Paging System"/>
         </type>
         <system value="urn:oid:1.3.4.5.6.7"/>
         <value value="2345678901"/>
       </identifier>
       <instantiatesUri value="http://example.org/hyperkalemia"/>
       <partOf>
     	<display value="Serum Potassium Observation"/>
       </partOf>
       <status value="completed"/>
       <category>
         <coding>
           <system value="http://acme.org/messagetypes"/>
           <code value="Alert"/>
         </coding>
         <text value="Alert"/>
       </category>
       <medium>
         <coding>
           <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationMode"/>
           <code value="WRITTEN"/>
           <display value="written"/>
         </coding>
         <text value="written"/>
       </medium>
       <subject>
         <reference value="Patient/example"/>
       </subject>
       
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <sent value="2014-12-12T18:01:10-08:00"/>
       <received value="2014-12-12T18:01:11-08:00"/>
       <recipient>
         <reference value="Practitioner/example"/>
       </recipient>
       <sender>
         <reference value="Device/f001"/>
       </sender>
       
       <payload>
         <contentString value="Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)"/>
       </payload>
       <payload>
         <!--Reference to the lab result -->
         <contentReference>
           <display value="Serum Potassium Observation"/>
         </contentReference>
       </payload>
     </Communication>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Immunization/example"/>
    <resource>
     <!--Authored by Joginder Madra--><Immunization xmlns="http://hl7.org/fhir">
     	<id value="example"/>
     	<identifier>
     		<system value="urn:ietf:rfc:3986"/>
     		<value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234"/>
     	</identifier>
     	<status value="completed"/>
     	<vaccineCode>
     		<coding>
     			<system value="urn:oid:1.2.36.1.2001.1005.17"/>
     			<code value="FLUVAX"/>
     		</coding>
     		<text value="Fluvax (Influenza)"/>
     	</vaccineCode>
     	<patient>
     		<reference value="Patient/example"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     	</encounter>
     	<occurrenceDateTime value="2013-01-10"/>
     	<primarySource value="true"/>
     	<location>
     		<reference value="Location/1"/>
     	</location>
     	<manufacturer>
     		<reference value="Organization/hl7"/>
     	</manufacturer>
     	<lotNumber value="AAJN11K"/>
     	<expirationDate value="2015-02-15"/>
     	<site>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-ActSite"/>
     			<code value="LA"/>
     			<display value="left arm"/>
     		</coding>
     	</site>
     	<route>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"/>
     			<code value="IM"/>
     			<display value="Injection, intramuscular"/>
     		</coding>
     	</route>
     	<doseQuantity>
     		<value value="5"/>
     		<system value="http://unitsofmeasure.org"/>
     		<code value="mg"/>
     	</doseQuantity>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0443"/>
     				<code value="OP"/>
     			</coding>
     		</function>
         	<actor>
          		<reference value="Practitioner/example"/>
         	</actor>
     	</performer>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v2-0443"/>
     				<code value="AP"/>
     			</coding>
     		</function>
         	<actor>
          		<reference value="Practitioner/example"/>
         	</actor>
     	</performer>
     	<note>
     		<text value="Notes on adminstration of vaccine"/>
     	</note>
     	<reasonCode>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<code value="429060002"/>
     		</coding>
     	</reasonCode>
     	<isSubpotent value="true"/>
     	<education>
     		<documentType value="253088698300010311120702"/>
     		<publicationDate value="2012-07-02"/>
     		<presentationDate value="2013-01-10"/>
     	</education>
     	<programEligibility>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-program-eligibility"/>
     			<code value="ineligible"/>
     		</coding>
     	</programEligibility>
     	<fundingSource>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/immunization-funding-source"/>
     			<code value="private"/>
     		</coding>
     	</fundingSource>
     </Immunization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/pureeddiet"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     --><!--EH  Show all the elements in this examples for preference, and intolerance --><!-- EH: use oral Diet element --><id value="pureeddiet"/>
     	<identifier>
     		<system value="http://goodhealthhospital.org/nutrition-requests"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<allergyIntolerance>
     		<reference value="AllergyIntolerance/example"/>
     		<display value="Cashew Nuts"/>
     	</allergyIntolerance>
     	<foodPreferenceModifier>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/diet"/>
     			<code value="dairy-free"/>
     		</coding>
     	</foodPreferenceModifier>
     	<excludeFoodModifier>
     		<coding>
     			<system value="http://snomed.info/sct"/>
     			<version value="20140730"/>
     			<code value="227493005"/>
     			<display value="Cashew Nut"/>
     		</coding>
     	</excludeFoodModifier>
     	<oralDiet>
     		<!-- EH:  list type of diet showing standard code and local codes -->
     		<type>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="226211001"/>
     				<display value="Pureed diet"/>
     			</coding>
     			<coding>
     				<system value="http://goodhealthhospital.org/diet-type-codes"/>
     				<code value="1010"/>
     				<display value="Pureed diet"/>
     			</coding>
     			<text value="Pureed diet"/>
     		</type>
     		<!-- EH example of three times a day starting on 2/10  -->
     		<schedule>
     			<repeat>
             <boundsPeriod>
               <start value="2015-02-10"/>
             </boundsPeriod>
     				<frequency value="3"/>
     				<period value="1"/>
     				<periodUnit value="d"/>
     			</repeat>
     		</schedule>
     		<!--EH: this example showing how to code for texture modification -->
     		<texture>
     			<modifier>
     				<coding>
     					<system value="http://snomed.info/sct"/>
     					<code value="228055009"/>
     					<display value="Liquidized food"/>
     				</coding>
     				<text value="Pureed"/>
     			</modifier>
     		</texture>
     		<fluidConsistencyType>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="439021000124105"/>
     				<display value="Dietary liquid consistency - nectar thick liquid"/>
     			</coding>
     			<text value="Nectar thick liquids"/>
     		</fluidConsistencyType>
     	</oralDiet>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/NutritionOrder/infantenteral"/>
    <resource>
     <NutritionOrder xmlns="http://hl7.org/fhir">
     edited by Eric Haas Health eData Inc
     --><id value="infantenteral"/>
     	<identifier>
     		<system value="http://www.acme.org/nutritionorders"/>
     		<value value="123"/>
     	</identifier>
     	<status value="active"/><intent value="order"/>
     	<patient>
     		<reference value="Patient/example"/>
     		<display value="Peter Chalmers"/>
     	</patient>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Inpatient"/>
     	</encounter>
     	<dateTime value="2014-09-17"/>
     	<orderer>
     		<reference value="Practitioner/example"/>
     		<display value="Dr Adam Careful"/>
     	</orderer>
     	<enteralFormula>
     		<baseFormulaType>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="412414007"/>
     				<display value="infant formula + iron"/>
     			</coding>
     		</baseFormulaType>
     		<baseFormulaProductName value="Acme Infant Formula + Iron"/>
     
     		<additiveType>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/entformula-additive"/>
     				<code value="carbohydrate"/>
     				<display value="Carbohydrate"/>
     			</coding>
     		</additiveType>
     		<additiveProductName value="Acme High Carbohydrate Additive"/>
     		<caloricDensity>
     			<value value="20"/>
     			<unit value="calories per ounce"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="cal/[foz_us]"/>
     		</caloricDensity>
     		<routeofAdministration>
     			<coding>
     				<system value="http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"/>
     				<code value="PO"/>
     				<display value="Swallow, oral"/>
     				<userSelected value="true"/>
     			</coding>
     		</routeofAdministration>
     		<administration>
     		<!-- scheduled 4 oz every 3hrs not to exceed 32 oz/day-->
     		<schedule>
     			<repeat>
     			<boundsPeriod>
     			  <start value="2014-09-17"/>
     			</boundsPeriod>
     				<frequency value="1"/>
     				<period value="3"/>
     				<periodUnit value="h"/>
     			</repeat>
     		</schedule>
     		<quantity>
     			<value value="4"/>
     			<unit value="ounces"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="[foz_us]"/>
     		</quantity>
     		</administration>
     		<maxVolumeToDeliver>
     			<value value="32"/>
     			<unit value="ounces"/>
     			<system value="http://unitsofmeasure.org"/>
     			<code value="[foz_us]"/>
     		</maxVolumeToDeliver>
     		<!-- EH infant feeding instruction and additional instructions -->
     		<administrationInstruction value="Add high calorie high carbohydrate additive to increase cal/oz from 24 cal/oz to 27 cal/oz."/>
     
     	</enteralFormula>
     </NutritionOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/ChargeItem/example"/>
    <resource>
     <?xml-model href="../../publish/chargeitem.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?><ChargeItem xmlns="http://hl7.org/fhir">
     	<id value="example"/>
     	<text>
     		<status value="generated"/>
     		<div xmlns="http://www.w3.org/1999/xhtml">Example of ChargeItem Usage in Context of the German EBM Billing code system</div>
     	</text>
     	<identifier>
     		<system value="http://myHospital.org/ChargeItems"/>
     		<value value="654321"/>
     	</identifier>
     	<definitionUri value="http://www.kbv.de/tools/ebm/html/01520_2904360860826220813632.html"/>
     	<status value="billable"/>
     
     	<code>
     		<coding>
     			<code value="01510"/>
     			<display value="Zusatzpauschale für Beobachtung nach diagnostischer Koronarangiografie"/>
     		</coding>
     	</code>
     	<subject>
     		<reference value="Patient/example"/>
     	</subject>
     	<context>
     		<reference value="Encounter/example"/>
     	</context>
     	<occurrencePeriod>
     		<start value="2017-01-25T08:00:00+01:00"/>
     		<end value="2017-01-25T12:35:00+01:00"/>
     	</occurrencePeriod>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="17561000"/>
     				<display value="Cardiologist"/>	
     			</coding>
     		</function>
     		<actor>
     			<reference value="Practitioner/example"/>
     		</actor>
     	</performer>
     	<performer>
     		<function>
     			<coding>
     				<system value="http://snomed.info/sct"/>
     				<code value="224542009"/>
     				<display value="Coronary Care Nurse"/>	
     			</coding>
     		</function>
     		<actor>
     			<reference value="Practitioner/example"/>
     		</actor>
     	</performer>
     	<performingOrganization>
     		<identifier>
     			<system value="http://myhospital/NamingSystem/departments"/>
     			<value value="CARD_INTERMEDIATE_CARE"/>
     		</identifier>
     	</performingOrganization>
     	<requestingOrganization>
     		<identifier>
     			<system value="http://myhospital/NamingSystem/departments"/>
     			<value value="CARD_U1"/>
     		</identifier>
     	</requestingOrganization>
     	<quantity>
     		<value value="1"/>
     	</quantity> 
     	<factorOverride value="0.8"/>
     	<priceOverride>
     	    <value value="40"/>
             <currency value="EUR"/>
     	</priceOverride>
     	<overrideReason value="Patient is Cardiologist's golf buddy, so he gets a 20% discount!"/>
     	<enterer>
     		<reference value="Practitioner/example"/>
     	</enterer>
     	<enteredDate value="2017-01-25T23:55:04+01:00"/>
     	<reason>
     			<coding>
     				<system value="http://hl7.org/fhir/sid/icd-10"/>
     				<code value="123456"/>
     				<display value="DIAG-1"/>	
     			</coding>
     	</reason>
     	<service>
     		<reference value="Procedure/example"/>
     	</service>
     	<account>
     		<reference value="Account/example"/>
     	</account>
     	<note>
     		<authorReference>
     			<reference value="Practitioner/example"/>
     		</authorReference> 
     		<time value="2017-01-25T23:55:04+01:00"/>
     		<text value="The code is only applicable for periods longer than 4h"/>
     	</note>
     
     </ChargeItem>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Flag/example-encounter"/>
    <resource>
     <Flag xmlns="http://hl7.org/fhir">
       <id value="example-encounter"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Follow Infection Control Level 3 Protocol</div>
       </text>
       <status value="active"/>
       <category>
         <coding>
           <system value="http://example.org/local"/>
           <code value="infection"/>
           <display value="Infection Control Level"/>
         </coding>    
       </category>
       <code>
         <coding>
           <system value="http://example.org/local/if1"/>
           <code value="l3"/>
           <display value="Follow Level 3 Protocol"/>
         </coding>
       </code>
       
       <subject>
         <reference value="Patient/example"/>
         <display value="Peter Patient"/>
       </subject>
       
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       
       
     </Flag>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/CareTeam/example"/>
    <resource>
     <CareTeam xmlns="http://hl7.org/fhir">
       <id value="example"/>
     
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">Care Team</div>
       </text>
     
       <contained>
         <Practitioner>
           <id value="pr1"/>
           <name>
             <family value="Dietician"/>
             <given value="Dorothy"/>
           </name>
         </Practitioner>
       </contained>
       <identifier>
            <value value="12345"/>
       </identifier>
       <status value="active"/>
       <category>
          <coding>
            <system value="http://loinc.org"/>
            <code value="LA27976-2"/>
     	   <display value="Encounter-focused care team"/>
          </coding>
       </category>
       <name value="Peter James Charlmers Care Plan for Inpatient Encounter"/>
       <subject>
         <reference value="Patient/example"/>
         <display value="Peter James Chalmers"/>
       </subject>
       <encounter>
     	<reference value="Encounter/example"/>
       </encounter>
       <period>
         <end value="2013-01-01"/>
       </period>
     
       <participant>
         <role>
           <text value="responsiblePerson"/>
         </role>
         <member>
           <reference value="Patient/example"/>
           <display value="Peter James Chalmers"/>
         </member>
     	</participant>
     
     	<participant>
     		<role>
     			<text value="adviser"/>
     		</role>
     		<member>
     			<reference value="#pr1"/>
     			<display value="Dorothy Dietition"/>
     		</member>
     		<onBehalfOf>
     			<reference value="Organization/f001"/>
     		</onBehalfOf>
     		<period>
     			<end value="2013-01-01"/>
     		</period>
     	</participant> 
     	<managingOrganization>
             <reference value="Organization/f001"/>
         </managingOrganization>
     </CareTeam>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/QuestionnaireResponse/3141"/>
    <resource>
     <QuestionnaireResponse xmlns="http://hl7.org/fhir">
       <id value="3141"/>
       <text>
         <status value="generated"/>
         <div xmlns="http://www.w3.org/1999/xhtml">
           <pre>
                 Comorbidity? YES
                   Cardial Comorbidity? YES
                     Angina? YES
                     MI? NO
                   Vascular Comorbidity?
                     (no answers)
                   ...
                 Histopathology
                   Abdominal
                     pT category: 1a
                   ...
               </pre>
         </div>
       </text>
       <contained>
         <Patient>
           <id value="patsub"/>
           <identifier>
             <system value="http://cancer.questionnaire.org/systems/id/patientnr"/>
             <value value="A34442332"/>
           </identifier>
           <identifier>
             <type>
               <text value="Dutch BSN"/>
             </type>
             <system value="urn:oid:2.16.840.1.113883.2.4.6.3"/>
             <value value="188912345"/>
           </identifier>
           <gender value="male"/>
           <birthDate value="1972-11-30"/>
         </Patient>
       </contained>
       <contained>
         <ServiceRequest>
           <id value="order"/>
           <status value="unknown"/>
           <intent value="order"/>
           <subject>
             <reference value="#patsub"/>
           </subject>
           <requester>
               <reference value="Practitioner/example"/>
           </requester>
         </ServiceRequest>
       </contained>
       <contained>
         <Practitioner>
           <id value="questauth"/>
           <identifier>
             <type>
               <text value="AUMC, Den Helder"/>
             </type>
             <system value="http://cancer.questionnaire.org/systems/id/org"/>
             <value value="AUMC"/>
           </identifier>
         </Practitioner>
       </contained>
       <!--   TODO: decide how to do this
       <contained>
     
         <Observation>
           <id value="obs.pt-category"/>
           <status value="final"/>
           <code>
             <coding>
               <system value="http://snomed.info/sct"/>
               <code value="53786006"/>
               <display value="pT1 category"/>
             </coding>
           </code>
           <subject>
             <reference value="#patsub"/>
           </subject>
           <performer>
             <reference value="#questauth"/>
           </performer>
           <valueCodeableConcept>
             <coding>
               <system value="http://snomed.info/sct"/>
               <code value="443357004"/>
               <display value="pT1a category"/>
             </coding>
           </valueCodeableConcept>
         </Observation>
       </contained> -->
       <identifier>
         <system value="http://example.org/fhir/NamingSystem/questionnaire-ids"/>
         <value value="Q12349876"/>
       </identifier>
       <basedOn>
         <reference value="#order"/>
       </basedOn>
       <partOf>
         <reference value="Procedure/f201"/>
       </partOf>
       <status value="completed"/>
       <subject>
         <reference value="#patsub"/>
       </subject>
       <encounter>
         <reference value="Encounter/example"/>
       </encounter>
       <authored value="2013-02-19T14:15:00-05:00"/>
       <author>
         <reference value="#questauth"/>
       </author>
       <item>
         <!--   COMORBIDITY   -->
         <!--   First main section of the form, questions about comorbidity   -->
         <!--   section contains one question: whether there is comorbidity   -->
         <linkId value="1"/>
         <item>
           <linkId value="1.1"/>
           <answer>
             <valueCoding>
               <system value="http://cancer.questionnaire.org/system/code/yesno"/>
               <code value="1"/>
               <display value="Yes"/>
             </valueCoding>
             <item>
               <!--   COMORBIDITY/CARDIAL   -->
               <!--   Subsection about specific comorbidity: cardial   -->
               <linkId value="1.1.1"/>
               <item>
                 <linkId value="1.1.1.1"/>
                 <answer>
                   <valueCoding>
                     <system value="http://cancer.questionnaire.org/system/code/yesno"/>
                     <code value="1"/>
                   </valueCoding>
                 </answer>
               </item>
               <item>
                 <!--   This answer carries both the questionnaire-specific name and an equivalent SNOMED CT code   -->
                 <linkId value="1.1.1.2"/>
                 <answer>
                   <valueCoding>
                     <system value="http://cancer.questionnaire.org/system/code/yesno"/>
                     <code value="1"/>
                   </valueCoding>
                 </answer>
               </item>
               <item>
                 <linkId value="1.1.1.3"/>
                 <answer>
                   <valueCoding>
                     <system value="http://cancer.questionnaire.org/system/code/yesno"/>
                     <code value="0"/>
                   </valueCoding>
                 </answer>
               </item>
             </item>
           </answer>
         </item>
       </item>
       <!--   HISTOPATHOLOGY   -->
       <!--   TODO: decide how to do this
       <item>
     
         <item>
           <item>
            <dataResource>
               <reference value="#obs.pt-category"/>
             </dataResource>
           </item>
         </item>
       </item>   -->
     </QuestionnaireResponse>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/Task/example1"/>
    <resource>
     <Task xmlns="http://hl7.org/fhir">
     	<!--This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen
     example1 action lipid panel -in progress =>. example2 specimen collection subtask -accepted => example4  specimen collection subtask - completed  with output Specimen=>example 5 action lipid panel -in progress specimen collected => example 6 action lipid panel - completed with output DiagnosticReport -->
     	<id value="example1"/>
     	<contained>
     		<!-- using contained resource for the purpose of this example only typically this would be a separate independent resource -->
     		<Provenance>
     			<id value="signature"/>
     			<target>
     				<reference value="ServiceRequest/physiotherapy/_history/1"/>
     			</target>
     			<recorded value="2016-10-31T08:25:05+10:00"/>
     			<agent>
     				<role>
     					<coding>
     						<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
     						<code value="AUT"/>
     					</coding>
     				</role>
     				<who>
     					<reference value="Practitioner/f202"/>
     					<display value="Luigi Maas"/>
     				</who>
     			</agent>
     			<signature>
     				<type>
     					<system value="urn:iso-astm:E1762-95:2013"/>
     					<code value="1.2.840.10065.1.12.1.1"/>
     					<display value="Author's Signature"/>
     				</type>
     				<when value="2016-10-31T08:25:05+10:00"/>
     				<who>
     					<reference value="Practitioner/example"/>
     					<display value="Dr Adam Careful"/>
     				</who>
     				<targetFormat value="application/fhir+xml"/>
     				<sigFormat value="application/signature+xml"/>
     				<data value="dGhpcyBibG9iIGlzIHNuaXBwZWQ="/>
     			</signature>
     		</Provenance>
     	</contained>
     	<identifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/identifiers"/>
     		<value value="20170201-001"/>
     	</identifier>
     	<basedOn>
     		<display value="General Wellness Careplan"/>
     	</basedOn>
     	<groupIdentifier>
     		<use value="official"/>
     		<system value="http:/goodhealth.org/accession/identifiers"/>
     		<value value="G20170201-001"/>
     	</groupIdentifier>
     	<status value="in-progress"/>
     	<!--fictive business status populated for this example -->
     	<businessStatus>
     		<text value="waiting for specimen"/>
     	</businessStatus>
     	<intent value="order"/>
     	<priority value="routine"/>
     	<!--fictive code and description elements populated for this example -->
     	<code>
     		<text value="Lipid Panel"/>
     	</code>
     	<description value="Create order for getting specimen, Set up inhouse testing,  generate order for any sendouts and submit with specimen"/>
     	<!--	Use the lipid servicerequest example -->
     	<focus>
     		<reference value="ServiceRequest/lipid"/>
     		<display value="Lipid Panel Request"/>
     	</focus>
     	<!--	who the task is for
     -->
     	<for>
     		<reference value="Patient/example"/>
     		<display value="Peter James Chalmers"/>
     	</for>
     	<encounter>
     		<reference value="Encounter/example"/>
     		<display value="Example In-Patient Encounter"/>
     	</encounter>
     	<!--	Lots of dates -->
     	<executionPeriod>
     		<start value="2016-10-31T08:25:05+10:00"/>
     	</executionPeriod>
     	<authoredOn value="2016-10-31T08:25:05+10:00"/>
     	<lastModified value="2016-10-31T09:45:05+10:00"/>
     	<requester>
     			<reference value="Practitioner/example"/>
     			<display value="Dr Adam Careful"/>
     	</requester>
     	<performerType>
     		<coding>
     			<system value="http://terminology.hl7.org/CodeSystem/task-performer-type"/>
     			<code value="performer"/>
     			<display value="Performer"/>
     		</coding>
     		<text value="Performer"/>
     	</performerType>
     	<owner>
     		<reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/>
     		<display value="Clinical Laboratory @ Acme Hospital"/>
     	</owner>
     	<!--	populate the reason just to demonstrate it use in this example
     -->
     	<reasonCode>
     		<text value="The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus"/>
     	</reasonCode>
     	<note>
     		<text value="This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test "/>
     	</note>
     	<!--	add the link to the signature on the task to show how this element is usedemonstrating in this example the relevant history element using a contained resource for the purpose of this example only typically would reference an external resource
     
     -->
     	<relevantHistory>
     		<reference value="#signature"/>
     		<display value="Author's Signature"/>
     	</relevantHistory>
     	<!--	complete the request within 48 hrs
     -->
     	<restriction>
     		<repetitions value="1"/>
     		<period>
     			<end value="2016-11-02T09:45:05+10:00"/>
     		</period>
     	</restriction>
     	<!--The expected output of this task is a DiagnosticRequest and will generated once the task is near completion -->
     </Task>
    </resource>
  </entry>
</Bundle>

 

For more information about operations, including how they are invoked, see Operations.