Monday, 7 October 2013

#FHIR Connectathon 4

Need  to post about FHIR connectathon 4.... 

I had a great time at Connectathon 4 even though I wasn't there in person.  A few observations; 
  • lots of attendees - will need a bigger room next time
  • heaps of clients - the FHIR clients crowd turned out in force many more than Connectathon 3
Whilst I wasn't in the room there was plenty of action testing and fixing various aspects of my servers.

I managed a good deal of fixing up little issues with compatibility and getting my conformance resources sorted out a little further.

There was a lot of value in building my own little command line copy tool that built transactions based on extracted data from my servers and posted them to some of the reference servers.  Part of doing this is making the choice of trying provide identifiers for all resources to use in the server or a 'transient id' which will be replaced in the server.

For clarity, when the client intends a resource to have a transient identity that the server must replace, it should use a cid: url on the resource - that is, a url with the scheme "cid:"per RFC 2392

To do this in a transaction just ensure all cross references are maintained consistently and the server will process  the resources as a bundle and store them on the server.  The server will assign resource ids and return a bundle of it's own showing the resultant resources created.

For example transaction sent with various resource type and responses for Health Intersections and Spark - Furore servers; the highlighted resource identifiers and references have been processed by the servers and returned in the response.

Oridashi SNAP-FHIR (Post)

<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2005/Atom">
   <author>
      <name>Oridashi SNAP-FHIR</name>
   </author>
   <id>urn:uuid:d4b99f70-677f-415d-a234-9e0787724a2a</id>
   <title>Bundle Patient [36]</title>
   <updated>2013-10-07T05:29:31Z</updated>
   <entry>
      <id>cid:patient-36</id>
      <title>patient[36]</title>
      <updated>2013-05-04T03:24:11Z</updated>
      <content type="text/xml">
         <Patient xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Ahern,Jason (Male 37y)</p>
               </div>
            </text>
            <identifier>
               <use value="official"/>
               <label value="Medicare Number"/>
               <system value="http://oridashi.com.au/system/id/medicare"/>
               <key value="35001582843"/>
            </identifier>
            <identifier>
               <use value="official"/>
               <label value="Pensioner Number"/>
               <system value="http://oridashi.com.au/system/id/pensioner"/>
               <key value="HG-123-432-SS"/>
            </identifier>
            <name>
               <use value="official"/>
               <family value="Ahern"/>
               <given value="Jason"/>
               <given value="Patrick"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="0349788795"/>
               <use value="home"/>
            </telecom>
            <telecom>
               <system value="email"/>
               <value value="j.ahern@oridashi.com.au"/>
               <use value="home"/>
            </telecom>
            <gender>
               <coding>
                  <system value="http://hl7.org/fhir/sid/v2-0001"/>
                  <code value="M"/>
               </coding>
            </gender>
            <birthDate value="1976-05-31"/>
            <deceasedBoolean value="false"/>
            <address>
               <use value="home"/>
               <line value="17 Seymore Ave"/>
               <city value="Bentleigh"/>
               <zip value="3204"/>
            </address>
            <provider>
               <type value="Organization"/>
               <reference value="cid:organization-1"/>
            </provider>
            <active value="true"/>
         </Patient>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Ahern,Jason (Male 37y)</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:organization-1</id>
      <title>organization[1]</title>
      <updated>2012-08-03T12:14:31Z</updated>
      <content type="text/xml">
         <Organization xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Main surgery</p>
               </div>
            </text>
            <name value="Main surgery"/>
            <telecom>
               <system value="phone"/>
               <value value="0744444444"/>
               <use value="work"/>
            </telecom>
            <telecom>
               <system value="fax"/>
               <value value="0744444445"/>
               <use value="work"/>
            </telecom>
            <address>
               <use value="work"/>
               <line value="1 Best Avenue"/>
               <city value="Practiceland"/>
               <zip value="4001"/>
            </address>
            <active value="true"/>
         </Organization>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Main surgery</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:condition-246</id>
      <title>condition[246]</title>
      <updated>2013-08-02T16:07:15Z</updated>
      <content type="text/xml">
         <Condition xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-08-02 Diabetes Mellitus, Type 2</p>
               </div>
            </text>
            <subject>
               <type value="Patient"/>
               <reference value="cid:patient-36"/>
            </subject>
            <code>
               <coding>
                  <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
                  <code value="778"/>
                  <display value="Diabetes Mellitus, Type 2"/>
               </coding>
               <coding>
                  <system value="http://snomed.info/id"/>
                  <code value="44054006"/>
                  <display value="Diabetes Mellitus, Type 2"/>
               </coding>
            </code>
            <category>
               <coding>
                  <system value="http://snomed.info/id"/>
                  <code value="439401001"/>
                  <display value="Diagnosis"/>
               </coding>
            </category>
            <status value="confirmed"/>
            <onsetDate value="2013-08-02"/>
            <abatementBoolean value="false"/>
         </Condition>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-08-02 Diabetes Mellitus, Type 2</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:procedure-239</id>
      <title>procedure[239]</title>
      <updated>2013-05-28T13:01:43Z</updated>
      <content type="text/xml">
         <Procedure xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-05-28 Wart removal</p>
               </div>
            </text>
            <subject>
               <type value="Patient"/>
               <reference value="cid:patient-36"/>
            </subject>
            <type>
               <coding>
                  <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
                  <code value="2966"/>
                  <display value="Wart removal"/>
               </coding>
               <coding>
                  <system value="http://snomed.info/id"/>
                  <code value="303238005"/>
                  <display value="Wart removal"/>
               </coding>
            </type>
            <date>
               <start value="2013-05-28"/>
            </date>
         </Procedure>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-05-28 Wart removal</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:medicationprescription-87</id>
      <title>medicationprescription[87]</title>
      <updated>2013-08-07T00:40:52Z</updated>
      <content type="text/xml">
         <MedicationPrescription xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-08-02 Diazepam 2mg Tablet 1 Daily (Reason: Confusion)</p>
               </div>
            </text>
            <dateWritten value="2013-08-02"/>
            <status value="active"/>
            <patient>
               <type value="Patient"/>
               <reference value="cid:patient-36"/>
            </patient>
            <prescriber>
               <type value="Practitioner"/>
               <reference value="cid:practitioner-1"/>
            </prescriber>
            <reasonForPrescribingCodeableConcept>
               <coding>
                  <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
                  <code value="753"/>
                  <display value="Confusion"/>
               </coding>
            </reasonForPrescribingCodeableConcept>
            <medication>
               <type value="Medication"/>
               <reference value="cid:medication-2175"/>
               <display value="Diazepam 2mg Tablet"/>
            </medication>
            <dosageInstruction>
               <dosageInstructionsText value="1 Daily"/>
            </dosageInstruction>
         </MedicationPrescription>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-08-02 Diazepam 2mg Tablet 1 Daily (Reason: Confusion)</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:medication-2175</id>
      <title>medication[2175]</title>
      <updated>2010-06-29T00:00:00Z</updated>
      <content type="text/xml">
         <Medication xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Diazepam 2mg Tablet</p>
               </div>
            </text>
            <name value="Diazepam 2mg"/>
            <code>
               <text value="Diazepam 2mg"/>
            </code>
            <product>
               <form>
                  <text value="Tablet"/>
               </form>
            </product>
         </Medication>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Diazepam 2mg Tablet</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:practitioner-1</id>
      <title>practitioner[1]</title>
      <updated>2012-03-08T16:05:09Z</updated>
      <content type="text/xml">
         <Practitioner xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Findacure, Frederick</p>
               </div>
            </text>
            <identifier>
               <use value="official"/>
               <label value="Provider Number"/>
               <system value="http://oridashi.com.au/system/id/providernumber"/>
               <key value="*******"/>
            </identifier>
            <identifier>
               <use value="official"/>
               <label value="Prescriber Number"/>
               <system value="http://oridashi.com.au/system/id/prescribernumber"/>
               <key value="*******"/>
            </identifier>
            <name>
               <family value="Findacure"/>
               <given value="Frederick"/>
            </name>
            <organization>
               <type value="Organization"/>
               <reference value="cid:organization-1"/>
            </organization>
            <role>
               <coding>
                  <system value="http://hl7.org/fhir/practitioner-role"/>
                  <code value="doctor"/>
               </coding>
            </role>
         </Practitioner>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Findacure, Frederick</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:adversereaction-14</id>
      <title>adversereaction[14]</title>
      <updated>2013-09-22T02:34:11Z</updated>
      <content type="text/xml">
         <AdverseReaction xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Bee stings - Rash (minor)</p>
               </div>
            </text>
            <subject>
               <type value="Patient"/>
               <reference value="cid:patient-36"/>
            </subject>
            <didNotOccurFlag value="false"/>
            <symptom>
               <code>
                  <text value="Rash"/>
               </code>
               <severity value="minor"/>
            </symptom>
         </AdverseReaction>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Bee stings - Rash (minor)</p>
         </div>
      </summary>
   </entry>
   <entry>
      <id>cid:immunization-92</id>
      <title>immunization[92]</title>
      <updated>2013-09-22T02:33:48Z</updated>
      <content type="text/xml">
         <Immunization xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-09-22 ADT</p>
               </div>
            </text>
            <date value="2013-09-22"/>
            <vaccineType>
               <text value="ADT"/>
            </vaccineType>
            <subject>
               <type value="Patient"/>
               <reference value="cid:patient-36"/>
            </subject>
            <refusedIndicator value="false"/>
            <reported value="false"/>
         </Immunization>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-09-22 ADT</p>
         </div>
      </summary>
   </entry>
</feed>


Spark Furore (Response)

<feed xmlns="http://www.w3.org/2005/Atom">
   <title type="text">Batch operation result for batch urn:uuid:d4b99f70-677f-415d-a234-9e0787724a2a</title>
   <id>urn:uuid:6a2ca668-1dcd-413a-bf55-9893b8543079</id>
   <updated>2013-10-07T05:42:30.4703952Z</updated>
   <author>
      <name>Oridashi SNAP-FHIR</name>
   </author>
   <link rel="self" href="http://spark.furore.com/fhir"/>
   <entry>
      <title type="text">patient[36]</title>
      <id>http://spark.furore.com/fhir/patient/@10004</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/patient/@10004/history/@1347"/>
      <content type="text/xml">
         <Patient xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Ahern,Jason (Male 37y)</p>
               </div>
            </text>
            <identifier>
               <use value="official"/>
               <label value="Medicare Number"/>
               <system value="http://oridashi.com.au/system/id/medicare"/>
               <key value="35001582843"/>
            </identifier>
            <identifier>
               <use value="official"/>
               <label value="Pensioner Number"/>
               <system value="http://oridashi.com.au/system/id/pensioner"/>
               <key value="HG-123-432-SS"/>
            </identifier>
            <name>
               <use value="official"/>
               <family value="Ahern"/>
               <given value="Jason"/>
               <given value="Patrick"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="0349788795"/>
               <use value="home"/>
            </telecom>
            <telecom>
               <system value="email"/>
               <value value="j.ahern@oridashi.com.au"/>
               <use value="home"/>
            </telecom>
            <gender>
               <coding>
                  <system value="http://hl7.org/fhir/sid/v2-0001"/>
                  <code value="M"/>
               </coding>
            </gender>
            <birthDate value="1976-05-31"/>
            <deceasedBoolean value="false"/>
            <address>
               <use value="home"/>
               <line value="17 Seymore Ave"/>
               <city value="Bentleigh"/>
               <zip value="3204"/>
            </address>
            <provider>
               <type value="Organization"/>
               <reference value="organization/@10005"/>
            </provider>
            <active value="true"/>
         </Patient>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Ahern,Jason (Male 37y)</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">organization[1]</title>
      <id>http://spark.furore.com/fhir/organization/@10005</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/organization/@10005/history/@1348"/>
      <content type="text/xml">
         <Organization xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Main surgery</p>
               </div>
            </text>
            <name value="Main surgery"/>
            <telecom>
               <system value="phone"/>
               <value value="0744444444"/>
               <use value="work"/>
            </telecom>
            <telecom>
               <system value="fax"/>
               <value value="0744444445"/>
               <use value="work"/>
            </telecom>
            <address>
               <use value="work"/>
               <line value="1 Best Avenue"/>
               <city value="Practiceland"/>
               <zip value="4001"/>
            </address>
            <active value="true"/>
         </Organization>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Main surgery</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">condition[246]</title>
      <id>http://spark.furore.com/fhir/condition/@10006</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/condition/@10006/history/@1349"/>
      <content type="text/xml">
         <Condition xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-08-02 Diabetes Mellitus, Type 2</p>
               </div>
            </text>
            <subject>
               <type value="Patient"/>
               <reference value="patient/@10004"/>
            </subject>
            <code>
               <coding>
                  <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
                  <code value="778"/>
                  <display value="Diabetes Mellitus, Type 2"/>
               </coding>
               <coding>
                  <system value="http://snomed.info/id"/>
                  <code value="44054006"/>
                  <display value="Diabetes Mellitus, Type 2"/>
               </coding>
            </code>
            <category>
               <coding>
                  <system value="http://snomed.info/id"/>
                  <code value="439401001"/>
                  <display value="Diagnosis"/>
               </coding>
            </category>
            <status value="confirmed"/>
            <onsetDate value="2013-08-02"/>
            <abatementBoolean value="false"/>
         </Condition>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-08-02 Diabetes Mellitus, Type 2</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">procedure[239]</title>
      <id>http://spark.furore.com/fhir/procedure/@10019</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/procedure/@10019/history/@1362"/>
      <content type="text/xml">
         <Procedure xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-05-28 Wart removal</p>
               </div>
            </text>
            <subject>
               <type value="Patient"/>
               <reference value="patient/@10004"/>
            </subject>
            <type>
               <coding>
                  <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
                  <code value="2966"/>
                  <display value="Wart removal"/>
               </coding>
               <coding>
                  <system value="http://snomed.info/id"/>
                  <code value="303238005"/>
                  <display value="Wart removal"/>
               </coding>
            </type>
            <date>
               <start value="2013-05-28"/>
            </date>
         </Procedure>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-05-28 Wart removal</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">medicationprescription[87]</title>
      <id>http://spark.furore.com/fhir/medicationprescription/@10022</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/medicationprescription/@10022/history/@1365"/>
      <content type="text/xml">
         <MedicationPrescription xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-08-02 Diazepam 2mg Tablet 1 Daily (Reason: Confusion)</p>
               </div>
            </text>
            <dateWritten value="2013-08-02"/>
            <status value="active"/>
            <patient>
               <type value="Patient"/>
               <reference value="patient/@10004"/>
            </patient>
            <prescriber>
               <type value="Practitioner"/>
               <reference value="practitioner/@10024"/>
            </prescriber>
            <reasonForPrescribingCodeableConcept>
               <coding>
                  <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
                  <code value="753"/>
                  <display value="Confusion"/>
               </coding>
            </reasonForPrescribingCodeableConcept>
            <medication>
               <type value="Medication"/>
               <reference value="medication/@10023"/>
               <display value="Diazepam 2mg Tablet"/>
            </medication>
            <dosageInstruction>
               <dosageInstructionsText value="1 Daily"/>
            </dosageInstruction>
         </MedicationPrescription>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-08-02 Diazepam 2mg Tablet 1 Daily (Reason: Confusion)</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">medication[2175]</title>
      <id>http://spark.furore.com/fhir/medication/@10023</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/medication/@10023/history/@1366"/>
      <content type="text/xml">
         <Medication xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Diazepam 2mg Tablet</p>
               </div>
            </text>
            <name value="Diazepam 2mg"/>
            <code>
               <text value="Diazepam 2mg"/>
            </code>
            <product>
               <form>
                  <text value="Tablet"/>
               </form>
            </product>
         </Medication>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Diazepam 2mg Tablet</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">practitioner[1]</title>
      <id>http://spark.furore.com/fhir/practitioner/@10024</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/practitioner/@10024/history/@1367"/>
      <content type="text/xml">
         <Practitioner xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Findacure, Frederick</p>
               </div>
            </text>
            <identifier>
               <use value="official"/>
               <label value="Provider Number"/>
               <system value="http://oridashi.com.au/system/id/providernumber"/>
               <key value="*******"/>
            </identifier>
            <identifier>
               <use value="official"/>
               <label value="Prescriber Number"/>
               <system value="http://oridashi.com.au/system/id/prescribernumber"/>
               <key value="*******"/>
            </identifier>
            <name>
               <family value="Findacure"/>
               <given value="Frederick"/>
            </name>
            <organization>
               <type value="Organization"/>
               <reference value="organization/@10005"/>
            </organization>
            <role>
               <coding>
                  <system value="http://hl7.org/fhir/practitioner-role"/>
                  <code value="doctor"/>
               </coding>
            </role>
         </Practitioner>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Findacure, Frederick</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">adversereaction[14]</title>
      <id>http://spark.furore.com/fhir/adversereaction/@10027</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/adversereaction/@10027/history/@1370"/>
      <content type="text/xml">
         <AdverseReaction xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>Bee stings - Rash (minor)</p>
               </div>
            </text>
            <subject>
               <type value="Patient"/>
               <reference value="patient/@10004"/>
            </subject>
            <didNotOccurFlag value="false"/>
            <symptom>
               <code>
                  <text value="Rash"/>
               </code>
               <severity value="minor"/>
            </symptom>
         </AdverseReaction>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Bee stings - Rash (minor)</p>
         </div>
      </summary>
   </entry>
   <entry>
      <title type="text">immunization[92]</title>
      <id>http://spark.furore.com/fhir/immunization/@10028</id>
      <updated>2013-10-07T05:42:29.6123567Z</updated>
      <link rel="self" href="http://spark.furore.com/fhir/immunization/@10028/history/@1371"/>
      <content type="text/xml">
         <Immunization xmlns="http://hl7.org/fhir">
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <p>2013-09-22 ADT</p>
               </div>
            </text>
            <date value="2013-09-22"/>
            <vaccineType>
               <text value="ADT"/>
            </vaccineType>
            <subject>
               <type value="Patient"/>
               <reference value="patient/@10004"/>
            </subject>
            <refusedIndicator value="false"/>
            <reported value="false"/>
         </Immunization>
      </content>
      <summary type="xhtml">
         <div xmlns="http://www.w3.org/1999/xhtml">
            <p>2013-09-22 ADT</p>
         </div>
      </summary>
   </entry>
</feed>

Health Intersections (Response)

<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Transaction results</title>
  <id>urn:uuid:990e026a-b22d-4fc5-801e-fafacea8fc</id>
  <updated>2013-10-07T05:49:41Z</updated>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "5015"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/patient/@5015</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@patient/5015/history/@1" rel="self" />
   <updated>2013-10-07T05:49:42Z</updated>
   <published>2013-10-07T05:49:42Z</published>
   <author>
     <name>220.244.145.215</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>Ahern,Jason (Male 37y)</p>
        </div>
      </text>
      <identifier>
        <use value="official"/>
        <label value="Medicare Number"/>
        <system value="http://oridashi.com.au/system/id/medicare"/>
        <key value="35001582843"/>
      </identifier>
      <identifier>
        <use value="official"/>
        <label value="Pensioner Number"/>
        <system value="http://oridashi.com.au/system/id/pensioner"/>
        <key value="HG-123-432-SS"/>
      </identifier>
      <name>
        <use value="official"/>
        <family value="Ahern"/>
        <given value="Jason"/>
        <given value="Patrick"/>
      </name>
      <telecom>
        <system value="phone"/>
        <value value="0349788795"/>
        <use value="home"/>
      </telecom>
      <telecom>
        <system value="email"/>
        <value value="j.ahern@oridashi.com.au"/>
        <use value="home"/>
      </telecom>
      <gender>
        <coding>
         <system value="http://hl7.org/fhir/sid/v2-0001"/>
         <code value="M"/>
        </coding>
      </gender>
      <birthDate value="1976-05-31"/>
      <deceasedBoolean value="false"/>
      <address>
        <use value="home"/>
        <line value="17 Seymore Ave"/>
        <city value="Bentleigh"/>
        <zip value="3204"/>
      </address>
      <provider>
        <type value="Organization"/>
        <reference value="organization/@10"/>
      </provider>
      <active value="true"/>
     </Patient>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Ahern,Jason (Male 37y)</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "10"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/organization/@10</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@organization/10/history/@1" rel="self" />
   <updated>2013-10-07T05:49:42Z</updated>
   <published>2013-10-07T05:49:42Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <Organization xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>Main surgery</p>
        </div>
      </text>
      <name value="Main surgery"/>
      <telecom>
        <system value="phone"/>
        <value value="0744444444"/>
        <use value="work"/>
      </telecom>
      <telecom>
        <system value="fax"/>
        <value value="0744444445"/>
        <use value="work"/>
      </telecom>
      <address>
        <use value="work"/>
        <line value="1 Best Avenue"/>
        <city value="Practiceland"/>
        <zip value="4001"/>
      </address>
      <active value="true"/>
     </Organization>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Main surgery</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "293"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/condition/@293</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@condition/293/history/@1" rel="self" />
   <updated>2013-10-07T05:49:42Z</updated>
   <published>2013-10-07T05:49:42Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <Condition xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>2013-08-02 Diabetes Mellitus, Type 2</p>
        </div>
      </text>
      <subject>
        <type value="Patient"/>
        <reference value="patient/@5015"/>
      </subject>
      <code>
        <coding>
         <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
         <code value="778"/>
         <display value="Diabetes Mellitus, Type 2"/>
        </coding>
        <coding>
         <system value="http://snomed.info/id"/>
         <code value="44054006"/>
         <display value="Diabetes Mellitus, Type 2"/>
        </coding>
      </code>
      <category>
        <coding>
         <system value="http://snomed.info/id"/>
         <code value="439401001"/>
         <display value="Diagnosis"/>
        </coding>
      </category>
      <status value="confirmed"/>
      <onsetDate value="2013-08-02"/>
      <abatementBoolean value="false"/>
     </Condition>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>2013-08-02 Diabetes Mellitus, Type 2</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "36"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/procedure/@36</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@procedure/36/history/@1" rel="self" />
   <updated>2013-10-07T05:49:48Z</updated>
   <published>2013-10-07T05:49:48Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <Procedure xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>2013-05-28 Wart removal</p>
        </div>
      </text>
      <subject>
        <type value="Patient"/>
        <reference value="patient/@5015"/>
      </subject>
      <type>
        <coding>
         <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
         <code value="2966"/>
         <display value="Wart removal"/>
        </coding>
        <coding>
         <system value="http://snomed.info/id"/>
         <code value="303238005"/>
         <display value="Wart removal"/>
        </coding>
      </type>
      <date>
        <start value="2013-05-28"/>
      </date>
     </Procedure>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>2013-05-28 Wart removal</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "100"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/medicationprescription/@100</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@medicationprescription/100/history/@1" rel="self" />
   <updated>2013-10-07T05:49:49Z</updated>
   <published>2013-10-07T05:49:49Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <MedicationPrescription xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>2013-08-02 Diazepam 2mg Tablet 1 Daily (Reason: Confusion)</p>
        </div>
      </text>
      <dateWritten value="2013-08-02"/>
      <status value="active"/>
      <patient>
        <type value="Patient"/>
        <reference value="patient/@5015"/>
      </patient>
      <prescriber>
        <type value="Practitioner"/>
        <reference value="practitioner/@78"/>
      </prescriber>
      <reasonForPrescribingCodeableConcept>
        <coding>
         <system value="http://oridashi.com.au/system/code/bestpracticeterm"/>
         <code value="753"/>
         <display value="Confusion"/>
        </coding>
      </reasonForPrescribingCodeableConcept>
      <medication>
        <type value="Medication"/>
        <reference value="medication/@72"/>
        <display value="Diazepam 2mg Tablet"/>
      </medication>
      <dosageInstruction>
        <dosageInstructionsText value="1 Daily"/>
      </dosageInstruction>
     </MedicationPrescription>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>2013-08-02 Diazepam 2mg Tablet 1 Daily (Reason: Confusion)</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "72"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/medication/@72</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@medication/72/history/@1" rel="self" />
   <updated>2013-10-07T05:49:49Z</updated>
   <published>2013-10-07T05:49:49Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <Medication xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>Diazepam 2mg Tablet</p>
        </div>
      </text>
      <name value="Diazepam 2mg"/>
      <code>
        <text value="Diazepam 2mg"/>
      </code>
      <product>
        <form>
         <text value="Tablet"/>
        </form>
      </product>
     </Medication>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Diazepam 2mg Tablet</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "78"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/practitioner/@78</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@practitioner/78/history/@1" rel="self" />
   <updated>2013-10-07T05:49:49Z</updated>
   <published>2013-10-07T05:49:49Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <Practitioner xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>Findacure, Frederick</p>
        </div>
      </text>
      <identifier>
        <use value="official"/>
        <label value="Provider Number"/>
        <system value="http://oridashi.com.au/system/id/providernumber"/>
        <key value="*******"/>
      </identifier>
      <identifier>
        <use value="official"/>
        <label value="Prescriber Number"/>
        <system value="http://oridashi.com.au/system/id/prescribernumber"/>
        <key value="*******"/>
      </identifier>
      <name>
        <family value="Findacure"/>
        <given value="Frederick"/>
      </name>
      <organization>
        <type value="Organization"/>
        <reference value="organization/@10"/>
      </organization>
      <role>
        <coding>
         <system value="http://hl7.org/fhir/practitioner-role"/>
         <code value="doctor"/>
        </coding>
      </role>
     </Practitioner>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Findacure, Frederick</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "56"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/adversereaction/@56</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@adversereaction/56/history/@1" rel="self" />
   <updated>2013-10-07T05:49:51Z</updated>
   <published>2013-10-07T05:49:51Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <AdverseReaction xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>Bee stings - Rash (minor)</p>
        </div>
      </text>
      <subject>
        <type value="Patient"/>
        <reference value="patient/@5015"/>
      </subject>
      <didNotOccurFlag value="false"/>
      <symptom>
        <code>
         <text value="Rash"/>
        </code>
        <severity value="minor"/>
      </symptom>
     </AdverseReaction>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Bee stings - Rash (minor)</p>
     </div>
   </summary>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
   <title>Resource "340"</title>
   <id>http://hl7connect.healthintersections.com.au/svc/fhir/immunization/@340</id>
   <link href="http://hl7connect.healthintersections.com.au/svc/fhir/@immunization/340/history/@1" rel="self" />
   <updated>2013-10-07T05:49:51Z</updated>
   <published>2013-10-07T05:49:51Z</published>
   <author>
     <name>220.244.145.215</name>
   </author>
   <content type="text/xml">
     <Immunization xmlns="http://hl7.org/fhir">
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
         <p>2013-09-22 ADT</p>
        </div>
      </text>
      <date value="2013-09-22"/>
      <vaccineType>
        <text value="ADT"/>
      </vaccineType>
      <subject>
        <type value="Patient"/>
        <reference value="patient/@5015"/>
      </subject>
      <refusedIndicator value="false"/>
      <reported value="false"/>
     </Immunization>
   </content>
   <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
      <p>2013-09-22 ADT</p>
     </div>
   </summary>
  </entry>
</feed>






Thursday, 5 September 2013

#FHIR updates

Updated Medical Director CIS server closer to done.

Added resources organization, practitioner and adverse reaction.
Check out samples at http://www.oridashi.com.au/fhir 

Will be remoting into FHIR Connectathon 4 at September HL7 WGM - hope to see you there virtually.

Have booked into IHIC Connectathon in Sydney - hope to see you there in person.


Tuesday, 13 August 2013

#FHIR Update 0.11 with Medications

Both FHIR servers have been updated to v0.11 which is the version for Connectathon 4.

Additions this time includes implementation of the Medication resource for both servers.

Check out the beautification of the FHIR web site revamped look.

Check out some samples at http://www.oridashi.com.au/fhir 

Sunday, 21 July 2013

#FHIR server 2 - what is better than one FHIR server?

Okay - so now some basic support for getting and searching for some types of resources in my first FHIR server is up and running I thought it time to clean up my framework and show why one might do standards in the first place....

The first FHIR server up for a while  is wrapping Australian primary care system 'Best Practice'; it's major competitor in the clinical system market is 'Medical Director'  - all together these comprise approximately 85% of the clinician seats in use.  So it was time to start wrapping 'Medical Director' so it to could be accessed via the FHIR REST interfacing.

To begin with this second server only supports conformance, patient, condition and procedure resources - but this will be expanded in scope soon to match the first server.

There are some interesting things remaining to address:

  • history - very keen to support this interaction; want to play with feeds used to aggregate data
  • tools - looking at using FHIR based client tools to deliver functionality for multiple clinical systems

Check out some samples at http://www.oridashi.com.au/fhir now 2 servers!



Wednesday, 17 July 2013

#FHIR conformance and update

Server now with conformance metadata http://demo.oridashi.com.au:8190/metadata

This allows a FHIR server to present some indication of conformance in terms of:

  • FHIR resources supported
  • REST operations supported  e.g. read, vread, search, history (see: REST details)
  • FHIR version
  • Server version
  • Release dates
  • Publisher name
Currently working on building conformance statements directly from code generation.


Along the way some other samples and additions have popped up:


Check out some samples at http://www.oridashi.com.au/fhir now FHIR v0.10

Wednesday, 10 July 2013

#healthit Secure Messaging Presentation

My secure message delivery standards review presentation  at HL7 Australia Workshop July 4th 2013

#FHIR update to build 1511

Added some features and reworked for updates to resources for build 1511.

Resource changes:

  • Problem changed to Condition resource
  • Flattening of Patient resource
  • Flattening of the Procedure resource
Some search capability added also particularly to provide bundles for specified patient.
 e..g conditons for a patient

e.g. medication prescriptions for a patient

http://demo.oridashi.com.au:8190/medicationprescription/search?patient._id=9

Check out some samples at http://www.oridashi.com.au/fhir