~ reflect current XSLT output
authorEric Prud'hommeaux <eric@w3.org>
Sat, 17 Jul 2010 20:01:55 -0400
changeset 9 dfea1107c315
parent 8 b93b5a2b391f
child 10 74371f75a6d3
~ reflect current XSLT output
syntheticPatients/AD_PCHR_1-indivo.xml
--- a/syntheticPatients/AD_PCHR_1-indivo.xml	Sat Jul 17 15:47:41 2010 -0400
+++ b/syntheticPatients/AD_PCHR_1-indivo.xml	Sat Jul 17 20:01:55 2010 -0400
@@ -1,46 +1,378 @@
-<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
-<!-- $Id$ -->
-<indi:IndivoDocument xmlns:pim="tag:eric@w3.org:2009/pim/basic"
-                     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
-                     xmlns:indivo="http://indivo.org/vocab/xml/documents#"
-                     xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
-                     xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
-                     xmlns:fn="http://www.w3.org/2005/xpath-functions/"
-                     xmlns:indi="http://indivo.org/xml/phr/document"
-                     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-                     xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
-                     xmlns:foaf="http://xmlns.com/foaf/0.1/">
-   <indi:DocumentHeader>
-      <CreationDateTime>2010-07-06T01:01:01</CreationDateTime>
-      <LastModifiedDateTime>2010-07-06T01:01:01</LastModifiedDateTime>
-      <Author>
-         <IndivoId>gtour@hotmail.com</IndivoId>
-         <Name>George Andrew Tour</Name>
-         <Role>Patient999</Role>
-      </Author>
-      <DocumentIndex>string</DocumentIndex>
-      <indi:DocumentClassification>
-         <Classification>indi:Classification999</Classification>
-      </indi:DocumentClassification>
-      <indi:ContentDescription>
-         <SchemaLocation>http://indivo.org/xml/phr/document</SchemaLocation>
-         <ContentType>indi:ContentType999</ContentType>
-      </indi:ContentDescription>
-      <Active>true</Active>
-   </indi:DocumentHeader>
-   <indi:DocumentVersion>
-      <indi:VersionHeader>
-         <VersionDateTime>2010-07-06T01:01:01</VersionDateTime>
-         <VersionAuthor>
-            <IndivoId>eric@w3.org</IndivoId>
-            <Name>ericP</Name>
-            <Role>hacker</Role>
-         </VersionAuthor>
-      </indi:VersionHeader>
-      <indi:VersionBody>
-         <foaf:Person rdf:about="http://www.w3.org/People/Eric/ericP-foaf#me">
-            <foaf:name>Eric Prud'hommeaux</foaf:name>
-         </foaf:Person>
-      </indi:VersionBody>
-   </indi:DocumentVersion>
-</indi:IndivoDocument>
\ No newline at end of file
+<!-- -*- XML -*- -->
+<?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?><Envelope xmlns="http://indivo.org/vocab/xml/documents#">
+  <CurrentStatus>
+    <Contact xmlns="">
+    <name>
+        <fullName>George Andrew Tour</fullName>
+        <givenName>George</givenName>
+        <familyName>Tour</familyName>
+    </name>
+    <email type="personal">
+        gtour@hotmail.com
+    </email>
+    <email type="work">
+        george.tour@technology.com
+    </email>
+    <address type="home">
+        <streetAddress>15 Water St.</streetAddress>
+        <postalCode>53326</postalCode>
+        <locality>New Hope</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>41N</latitude>
+        <longitude>69W</longitude>
+    </location>
+    <phoneNumber type="home">123456</phoneNumber>
+    <phoneNumber type="work">17891011734</phoneNumber>
+    <instantMessengerName protocol="aim">scotour</instantMessengerName>
+</Contact>
+    <PrimaryCarePhysician>
+      <name>
+        <fullName xmlns="">Henry No</fullName>
+        <givenName xmlns="">Henry</givenName>
+        <familyName xmlns="">No</familyName>
+      </name>
+      <address>
+        <streetAddress xmlns="">20 Water St.</streetAddress>
+        <postalCode xmlns="">53326</postalCode>
+        <locality xmlns="">New Hope</locality>
+        <region xmlns="">Massachusetts</region>
+        <country xmlns="">US</country>
+        <timeZone xmlns="">-5GMT</timeZone>
+      </address>
+      <phoneNumber xmlns="">17891011782</phoneNumber>
+    </PrimaryCarePhysician>
+    <Demographics xmlns="">
+    <dateOfBirth>1934-05-15</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Male</gender>
+    <ethnicity>Basque</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Single</maritalStatus>
+    <employmentStatus>Retired</employmentStatus>
+    <employmentIndustry>Technology</employmentIndustry>
+    <occupation>Developer</occupation>
+    <religion>Catholic</religion>
+    <income>100,000 USD</income>
+    <highestEducation>PhD</highestEducation>
+    <organDonor>false</organDonor>
+</Demographics>
+    <Prescriptions>
+      <Prescription>
+        <medication>
+          <dateStarted>2009-05-15</dateStarted>
+          <name type="http://indivo.org/codes/ndc">000007414020</name>
+          <brandName/>
+          <dose>
+            <value>999</value>
+            <unit type="http://indivo.org/codes/units#" value="999"/>
+          </dose>
+          <strength>
+            <value>6.25</value>
+            <unit type="http://indivo.org/codes/units#" value="MG"/>
+          </strength>
+          <frequency xmlns="">b.i.d.</frequency>
+        </medication>
+        <prescribedBy>
+          <name>Henry No</name>
+        </prescribedBy>
+        <dispenseAsWritten>true</dispenseAsWritten>
+        <refillInfo>3</refillInfo>
+        <instructions>...</instructions>
+      </Prescription>
+      <Prescription>
+        <medication>
+          <dateStarted>2009-05-20</dateStarted>
+          <name type="http://indivo.org/codes/ndc">000071015595</name>
+          <brandName/>
+          <dose>
+            <value>999</value>
+            <unit type="http://indivo.org/codes/units#" value="999"/>
+          </dose>
+          <strength>
+            <value>10</value>
+            <unit type="http://indivo.org/codes/units#" value="MG"/>
+          </strength>
+          <frequency xmlns="">q.d.</frequency>
+        </medication>
+        <prescribedBy>
+          <name>Henry No</name>
+        </prescribedBy>
+        <dispenseAsWritten>true</dispenseAsWritten>
+        <refillInfo>3</refillInfo>
+        <instructions>...</instructions>
+      </Prescription>
+      <Prescription>
+        <medication>
+          <dateStarted>2009-05-20</dateStarted>
+          <name type="http://indivo.org/codes/ndc">66105051810</name>
+          <brandName/>
+          <dose>
+            <value>999</value>
+            <unit type="http://indivo.org/codes/units#" value="999"/>
+          </dose>
+          <strength>
+            <value>1.00</value>
+            <unit type="http://indivo.org/codes/units#" value="MG"/>
+          </strength>
+          <frequency xmlns="">q.d.</frequency>
+        </medication>
+        <prescribedBy>
+          <name>Henry No</name>
+        </prescribedBy>
+        <dispenseAsWritten>true</dispenseAsWritten>
+        <refillInfo>0</refillInfo>
+        <instructions>...</instructions>
+      </Prescription>
+      <Prescription>
+        <medication>
+          <dateStarted>2009-08-10</dateStarted>
+          <dateStopped>2009-08-15</dateStopped>
+          <name type="http://indivo.org/codes/ndc">11071084101</name>
+          <brandName/>
+          <dose>
+            <value>999</value>
+            <unit type="http://indivo.org/codes/units#" value="999"/>
+          </dose>
+          <strength>
+            <value>5.00</value>
+            <unit type="http://indivo.org/codes/units#" value="MG"/>
+          </strength>
+          <frequency xmlns="">q.d.</frequency>
+        </medication>
+        <prescribedBy>
+          <name>Henry No</name>
+        </prescribedBy>
+        <dispenseAsWritten>true</dispenseAsWritten>
+        <refillInfo>3</refillInfo>
+        <instructions>...</instructions>
+      </Prescription>
+      <Prescription>
+        <medication>
+          <dateStarted>2009-08-15</dateStarted>
+          <name type="http://indivo.org/codes/ndc">62856083130</name>
+          <brandName/>
+          <dose>
+            <value>999</value>
+            <unit type="http://indivo.org/codes/units#" value="999"/>
+          </dose>
+          <strength>
+            <value>5.00</value>
+            <unit type="http://indivo.org/codes/units#" value="MG"/>
+          </strength>
+          <frequency xmlns="">q.d.</frequency>
+        </medication>
+        <prescribedBy>
+          <name>Henry No</name>
+        </prescribedBy>
+        <dispenseAsWritten>true</dispenseAsWritten>
+        <refillInfo>0</refillInfo>
+        <instructions>...</instructions>
+      </Prescription>
+    </Prescriptions>
+    <Conditions>
+      <Problem>
+        <dateOnset>2009-05-15T12:00:00</dateOnset>
+        <name type="http://indivo.org/codes/ICD9" value="410">hypertension</name>
+        <comments>...</comments>
+        <diagnosedBy xmlns="">Henry No</diagnosedBy>
+      </Problem>
+      <Problem>
+        <dateOnset>2009-05-20T12:00:00</dateOnset>
+        <name type="http://indivo.org/codes/ICD9" value="272">hypercholesterolaemia</name>
+        <comments>...</comments>
+        <diagnosedBy xmlns="">Henry No</diagnosedBy>
+      </Problem>
+      <Problem>
+        <dateOnset>2009-05-20T12:00:00</dateOnset>
+        <name type="http://indivo.org/codes/ICD9" value="427">atrial fibrillation</name>
+        <comments>...</comments>
+        <diagnosedBy xmlns="">Henry No</diagnosedBy>
+      </Problem>
+      <Problem>
+        <dateOnset>2009-08-10T12:00:00</dateOnset>
+        <name type="http://indivo.org/codes/ICD9" value="331">alzheimer’s disease</name>
+        <comments>...</comments>
+        <diagnosedBy xmlns="">Henry No</diagnosedBy>
+      </Problem>
+    </Conditions>
+    <Procedures>
+      <Procedure>
+        <datePerformed>2000-07-01T12:00:00</datePerformed>
+        <name type="http://indivo.org/codes/ICD9_Procedure" value="47.09">appendectomy via incision</name>
+        <Provider>
+          <name>Henry No</name>
+          <institution>Redding Hospital</institution>
+        </Provider>
+        <comments> …..</comments>
+      </Procedure>
+    </Procedures>
+    <Allergies>
+      <Allergy>
+        <allergen>
+          <type type="http://codes.indivo.org/codes/allergentypes/">drugs</type>
+          <name type="http://codes.indivo.org/codes/allergens/">none</name>
+        </allergen>
+      </Allergy>
+      <Allergy>
+        <allergen>
+          <type type="http://codes.indivo.org/codes/allergentypes/">food</type>
+          <name type="http://codes.indivo.org/codes/allergens/">fish</name>
+        </allergen>
+      </Allergy>
+      <Allergy>
+        <allergen>
+          <type type="http://codes.indivo.org/codes/allergentypes/">environment</type>
+          <name type="http://codes.indivo.org/codes/allergens/">dust</name>
+        </allergen>
+      </Allergy>
+    </Allergies>
+    <Immunizations>
+      <Immunization>
+        <dateAdministered>1940-01-01T12:00:00</dateAdministered>
+        <administeredBy xmlns="">Henry No</administeredBy>
+        <vaccine>
+          <type>measles</type>
+          <manufacturer/>
+          <lot/>
+          <expiration/>
+        </vaccine>
+        <sequence>1</sequence>
+        <anatomicSurface>oral</anatomicSurface>
+        <adverseEvent/>
+      </Immunization>
+      <Immunization>
+        <dateAdministered>1940-01-01T12:00:00</dateAdministered>
+        <administeredBy xmlns="">Henry No</administeredBy>
+        <vaccine>
+          <type>mumps</type>
+          <manufacturer/>
+          <lot/>
+          <expiration/>
+        </vaccine>
+        <sequence>1</sequence>
+        <anatomicSurface>oral</anatomicSurface>
+        <adverseEvent/>
+      </Immunization>
+      <Immunization>
+        <dateAdministered>1949-01-01T12:00:00</dateAdministered>
+        <administeredBy xmlns="">Henry No</administeredBy>
+        <vaccine>
+          <type>rubella</type>
+          <manufacturer/>
+          <lot/>
+          <expiration/>
+        </vaccine>
+        <sequence>1</sequence>
+        <anatomicSurface>intramuscular</anatomicSurface>
+        <adverseEvent/>
+      </Immunization>
+      <Immunization>
+        <dateAdministered>2005-01-01T12:00:00</dateAdministered>
+        <administeredBy xmlns="">Henry No</administeredBy>
+        <vaccine>
+          <type>tetanus</type>
+          <manufacturer/>
+          <lot/>
+          <expiration/>
+        </vaccine>
+        <sequence>1</sequence>
+        <anatomicSurface>intramuscular</anatomicSurface>
+        <adverseEvent/>
+      </Immunization>
+    </Immunizations>
+    <lifestyle xmlns="">  
+       <alcoholConsumption>
+           <frequency>2</frequency>
+           <units>week</units>
+           <quantity>4</quantity>
+           <date>2004-08-15</date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>5</frequency>
+           <units>week</units>
+           <averageDuration>25</averageDuration>
+           <date>2004-08-15</date>
+       </exercise>
+       <smoking>
+           <packYears>0</packYears>
+           <history>never</history>
+           <date>2004-08-15</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>10</fruitVegetablesRating>
+            <wholeGrainsRating>7</wholeGrainsRating>
+            <dairyRating>4</dairyRating>
+            <proteinRating>8</proteinRating>
+            <fatsRating>4</fatsRating>
+            <junkFoodRating>2</junkFoodRating>
+            <date>2004-08-15</date>
+       </diet>
+  </lifestyle>
+    <familyHistory xmlns="">
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Susie</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>24</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>TB</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>Paul</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>81</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Betty</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>62</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>myocardialInfarction</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Gary</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>45</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>MedicalError</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Elizabeth</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+         <medicalConditions x_1="RA">yes</medicalConditions>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Frank</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>yes</cancer>
+         <cancerType>Colorectal</cancerType>
+         <cancerTypeColorectalAge>62</cancerTypeColorectalAge>
+      </subject>
+      <subject id="7">
+         <relation>brother</relation>
+         <fname>Jake</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+</familyHistory>
+  </CurrentStatus>
+</Envelope>