Publish-box (todo)
Example RelatedPerson/peter (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
RelatedPerson Peter Chalmers
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:RelatedPerson ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "peter"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table>\n <tbody>\n <tr>\n <td>Name</td>\n <td>Peter Chalmers</td>\n </tr>\n <tr>\n <td>Address</td>\n <td>534 Erewhon, Pleasantville, Vic, 3999</td>\n </tr>\n <tr>\n <td>Contacts</td>\n <td>Work: (03) 5555 6473</td>\n </tr>\n </tbody>\n </table>\n </div>"
] ; #
fhir:patient [
fhir:reference [ fhir:v "Patient/animal" ]
] ; #
fhir:relationship ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ]
] )
] ) ; #
fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Chalmers" ] ;
fhir:given ( [ fhir:v "Peter" ] [ fhir:v "James" ] )
] ) ; #
fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "(03) 5555 6473" ] ;
fhir:use [ fhir:v "work" ]
] ) ; #
fhir:gender [ fhir:v "male"] ; #
fhir:address ( [
fhir:use [ fhir:v "home" ] ;
fhir:line ( [ fhir:v "534 Erewhon St" ] ) ;
fhir:city [ fhir:v "PleasantVille" ] ;
fhir:state [ fhir:v "Vic" ] ;
fhir:postalCode [ fhir:v "3999" ]
] ) ; #
fhir:photo ( [
fhir:contentType [ fhir:v "image/jpeg" ] ;
fhir:url [ fhir:v "Binary/f012"^^xsd:anyURI ]
] ) ; #
fhir:period [
fhir:start [ fhir:v "2012-03-11"^^xsd:date ]
]] . #
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.