Skip to content

Instantly share code, notes, and snippets.

@jmandel
Created September 21, 2013 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmandel/6652405 to your computer and use it in GitHub Desktop.
Save jmandel/6652405 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>SMART patient bundle for transactional posting</title>
<id>urn:uuid:3380</id>
<updated>2013-09-21T07:41:22.653989</updated>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:patient-1032702</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<Patient xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Amy V. Shaw</p>
</div>
</text>
<identifier>
<use value="usual"/>
<label value="SMART Hospiptal MRN"/>
<system value="urn:oid:0.1.2.3.4.5.6.7"/>
<key value="1032702"/>
</identifier>
<name>
<use value="official"/>
<given value="Amy"/>
<given value="V."/>
<family value="Shaw"/>
</name>
<birthDate value="2007-03-20" />
<gender>
<coding>
<system value="http://hl7.org/fhir/v3/AdministrativeGender"/>
<code value="F"/>
<display value="Female"/>
</coding>
</gender>
<telecom>
<use value="home"/>
<system value="phone"/>
<value value=""/>
</telecom>
<telecom>
<system value="phone"/>
<value value="800-782-6765"/>
<use value="mobile"/>
</telecom>
<telecom>
<system value="email"/>
<value value="amy.shaw@example.com"/>
</telecom>
<address>
<use value="home"/>
<line value="49 Meadow St"/>
<city value="Mounds"/>
<state value="OK"/>
<zip value="74047"/>
<country value="USA"/>
</address>
<active value="true"/>
</Patient>
</content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:med-3381</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<MedicationPrescription xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
Nizatidine 15 MG/ML Oral Solution [Axid] (rxnorm: 582620)
</div>
</text>
<contained>
<Medication id="med">
<name value="Nizatidine 15 MG/ML Oral Solution [Axid]"/>
<code>
<coding>
<system value="http://rxnav.nlm.nih.gov/REST/rxcui"/>
<code value="582620"/>
<display value="Nizatidine 15 MG/ML Oral Solution [Axid]"/>
</coding>
</code>
</Medication>
</contained>
<status value="active" />
<patient>
<type value="Patient"/>
<reference value="cid:patient-1032702"/>
</patient>
<medication>
<type value="Medication"/>
<reference value="#med"/>
</medication>
<dosageInstruction>
<timingSchedule>
<event>
<start value="2008-04-05"/>
</event>
<repeat>
<frequency value="2"/>
<duration value="1"/>
<units value="d"/>
</repeat>
</timingSchedule>
<doseQuantity>
<value value="10"/>
<units value="mL"/>
<system value="http://unitsofmeasure.org"/>
<code value="mL"/>
</doseQuantity>
</dosageInstruction>
</MedicationPrescription>
</content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:problem-3382</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<Condition xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Single liveborn, born in hospital, delivered without mention of cesarean section</div>
</text>
<subject>
<type value="Patient"/>
<reference value="cid:patient-1032702"/>
</subject>
<code>
<coding>
<system value="http://snomed.info/id"/>
<code value="442311008"/>
<display value="Single liveborn, born in hospital, delivered without mention of cesarean section"/>
</coding>
<text value="Single liveborn, born in hospital, delivered without mention of cesarean section"/>
</code>
<status value="confirmed"/>
<onsetDate value="2007-12-14"/>
</Condition>
</content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:problem-3383</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<Condition xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Abnormal weight loss</div>
</text>
<subject>
<type value="Patient"/>
<reference value="cid:patient-1032702"/>
</subject>
<code>
<coding>
<system value="http://snomed.info/id"/>
<code value="267024001"/>
<display value="Abnormal weight loss"/>
</coding>
<text value="Abnormal weight loss"/>
</code>
<status value="confirmed"/>
<onsetDate value="2007-12-19"/>
</Condition>
</content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:problem-3384</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<Condition xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Follow-up encounter</div>
</text>
<subject>
<type value="Patient"/>
<reference value="cid:patient-1032702"/>
</subject>
<code>
<coding>
<system value="http://snomed.info/id"/>
<code value="310249008"/>
<display value="Follow-up encounter"/>
</coding>
<text value="Follow-up encounter"/>
</code>
<status value="confirmed"/>
<onsetDate value="2007-12-19"/>
</Condition>
</content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:problem-3385</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<Condition xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Gastroesophageal reflux disease</div>
</text>
<subject>
<type value="Patient"/>
<reference value="cid:patient-1032702"/>
</subject>
<code>
<coding>
<system value="http://snomed.info/id"/>
<code value="235595009"/>
<display value="Gastroesophageal reflux disease"/>
</coding>
<text value="Gastroesophageal reflux disease"/>
</code>
<status value="confirmed"/>
<onsetDate value="2008-04-03"/>
</Condition>
</content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>SMART Patient-level resource</title>
<id>cid:problem-3386</id>
<updated>2013-09-21T07:41:22.653989</updated>
<published>2013-09-21T07:41:22.653989</published>
<author>
<name>https://github.com/chb/smart_sample_patients</name>
</author>
<content type="text/xml">
<Condition xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Needs influenza immunization</div>
</text>
<subject>
<type value="Patient"/>
<reference value="cid:patient-1032702"/>
</subject>
<code>
<coding>
<system value="http://snomed.info/id"/>
<code value="185903001"/>
<display value="Needs influenza immunization"/>
</coding>
<text value="Needs influenza immunization"/>
</code>
<status value="confirmed"/>
<onsetDate value="2008-06-29"/>
</Condition>
</content>
</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment