View raw Markdown
type: exampleresource: Patientexample: patient-examples-cypress-template

Patient Example: patient-examples-cypress-template

Narrative

[%last name%], [%first name%]. MRN: [%patient_id%]

Example XML

<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://hl7.org/fhir ../../schema/bundle.xsd">
  <id value="b3f24cf14-d349-45b3-8134-3d83e9104875"/>
  <meta>
    <lastUpdated value="2012-05-29T23:45:32Z"/> 
  </meta> 
  <type value="collection"/> [%loop count=70%]
  <entry>
    <fullUrl value="http://hl7.org/fhir/Patient/[%count%]"/>
    <resource>
      <Patient>
        <id value="[%count%]"/>
        <meta>
          <lastUpdated value="2012-06-03T23:45:32Z"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">[%last name%], [%first name%]. MRN:
          [%patient_id%]</div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="SS"/>
            </coding>
          </type>
          <system value="https://github.com/projectcypress/cypress/patient"/>
          <value value="[%patient_id%]"/>
        </identifier>
        <active value="true"/>
        <name>
          <use value="official"/>
          <family value="[%last name%]"/>
          <given value="[%first name%]"/>
        </name>
        <gender value="[%gender%]" />
        <birthDate value="[%birthdate%]"/>
        <managingOrganization>
          <reference value="Organization/[%organization%]"/>
        </managingOrganization>
      </Patient>
    </resource>
  </entry> [%endloop%] 
</Bundle>