W3C home > Mailing lists > Public > public-semweb-lifesci@w3.org > April 2015

Fwd: RDF developments

From: David Booth <david@dbooth.org>
Date: Mon, 13 Apr 2015 10:31:24 -0400
Message-ID: <552BD33C.803@dbooth.org>
To: w3c semweb HCLS <public-semweb-lifesci@w3.org>
FYI, in case some of you are not on the HL7 ITS list.

-------- Forwarded Message --------
Subject: 	RDF developments
Date: 	Sat, 11 Apr 2015 09:11:19 +1000
From: 	Grahame Grieve <grahame@healthintersections.com.au>
Reply-To: 	Grahame Grieve <grahame@healthintersections.com.au>
To: 	HL7 ITS <its@lists.hl7.org>


A few of us have put in a little background technical work to push the
development of an RDF format for FHIR along. As outcomes, we've produced
an RDF representation of the FHIR specification itself, the start of a
formal mapping to the RIM, and a serialization of the resources in RDF
consistent with that class definitions in the FHIR specification.

You can see all this here: http://hl7-fhir.github.io/rdf.html

This is all very draft; there's some open issues the RDF group has been
looking at which this work doesn't touch on (yet) and there's some open
issues in the page as well. Anyhow, this content is ready for people to
beat on, and for the RDF group to consider in depth.


p.s. since I'm sure people will ask - where's the full examples? Well,
the answer is, that requires the development of code to do the
transform, and I'm holding off doing that until this has had a bit of
review - just to save myself some work. But here's a turtle example I
converted by hand from the basic example for the Flag resource:

@prefix fhir: <http://hl7.org/fhir/> .
@prefix flag: <http://hl7.org/fhir/Flag.> .

<http://hl7.org/fhir/Flag/example> a fhir:Flag;
    flag:id "example";
    flag:text [
       fhir:Narrative.status fhir:narrative-status\#generated;
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Large
Dog warning for Peter Patient</div>"
    flag:category [
      fhir:CodeableConcept.coding [
     fhir:Coding.system <http://example.org/local>;
   fhir:Coding.code "admin";
     fhir:Coding.display "Admin";
   fhir:CodeableConcept.text "admin"
    flag:status fhir:flag-status.class\#active;
    flag:patient [
      fhir:Reference.reference "Patient/example";
      fhir:Reference.display "Peter Patient";
    flag:author [
      fhir:Reference.reference "Practitioner/example";
      fhir:Reference.display "Nancy Nurse";
    flag:code [
      fhir:CodeableConcept.coding [
     fhir:Coding.system <http://example.org/local>;
   fhir:Coding.code "bigdog";
     fhir:Coding.display "Big dog";
      fhir:CodeableConcept.text "Patient has a big dog at his home.
Always always wear a suit of armor or take other active counter-measures"

http://www.healthintersections.com.au /
<mailto:grahame@healthintersections.com.au> / +61 411 867 065

Manage your subscriptions <http://www.HL7.org/listservice> | View the
archives <http://lists.HL7.org/read/?forum=its> | Unsubscribe
| Terms of use
Received on Monday, 13 April 2015 14:31:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:21:51 UTC