See also: IRC log
https://github.com/jmandel/fhir-rdf
<ericP> https://github.com/jmandel/fhir-rdf
http://www.hl7.org/implement/standards/fhir/resources.html
https://github.com/jmandel/fhir-rdf/blob/master/generic/tail.xml
<ericP> https://github.com/jmandel/fhir-rdf/blob/master/generated/patient-example-a.ttl
<ericP> https://github.com/jmandel/fhir-rdf/blob/master/generated/patient-example-a.xml
<ericP> generated/transform.xsl takes .xml and produces .ttl
http://www.hl7.org/implement/standards/fhir/narrative.html
"The contents of the div element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes."
http://www.hl7.org/implement/standards/fhir/extensibility.html
<-- that is how extensions work
"The value[x] element SHALL have content, and/or an id attribute that is the target of a reference from the Narrative" eek
https://github.com/jmandel/fhir-rdf/blob/master/generic/tail.xml#L61
_: patient fhir:extension [fhir:url <myextension>; valueString "val"]
... patient <myextension> [valueString "val"]
We can't do -- _:patient <myextension> "val"
<someProperty value="5"> <extension mustUnderstand=false> <valueString value="whatever"> <extension mustUnderstand=true> <valueBoolean value=false> </extension> </extension> </someProperty>
<ericP> <extension mustUnd="F">
<ericP> <url value="foo"/>
<ericP> <valueResource><type value="Binary"/><reference value="#pic1"/></valueResource>
<ericP> <extension mustUnd="F">
<ericP> <url value="bar"/>
<ericP> <valueResource><type value="Binary"/><reference value="#pic1"/></valueResource>
<ericP> </extension>
<ericP> </extension>
<ericP> _:patient <foo> [ ... <bar> [ ... ] ]
_: patient fhir:extension [fhir:url <foo> ... fhir:extension [fhir:url <bar> ... ] ]
"The value[x] element SHALL have content, and/or an id attribute that is the target of a reference from the Narrative"
BTW, FHIR now has "extension" and "modifierExtension" rather than "extension mustUnderstand=false" and "extension mustUnderstand=true"