Example DocumentReference/sound (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Sound recording of speech
@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:DocumentReference;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "sound"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sound recording of speech example for Patient Henry Levin (MRN 12345):<br/><img src=\"#11\" alt=\"diagram\"/></div>"
]; #
fhir:DocumentReference.status [ fhir:value "current"]; #
fhir:DocumentReference.subject [
fhir:Reference.reference [ fhir:value "Patient/xcda" ]
]; #
fhir:DocumentReference.author [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ]
]; #
fhir:DocumentReference.content [
fhir:index 0;
fhir:DocumentReference.content.attachment [
fhir:Attachment.contentType [ fhir:value "audio/mpeg" ];
fhir:Attachment.data [ fhir:value "dG9vIGJpZyB0b28gaW5jbHVkZSB0aGUgd2hvbGU="^^xsd:base64Binary ]; # too big too include the whole
fhir:Attachment.duration [ fhir:value "65"^^xsd:decimal ]
]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.