Example DocumentManifest/654789 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of FM attachment
@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:DocumentManifest;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "654789"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">A Financial Management Attachment example</div>"
];
fhir:DomainResource.contained [
a fhir:Organization;
fhir:index 0;
fhir:Resource.id [ fhir:value "org-1" ];
fhir:Organization.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://nationalidentifiers.org/insurers" ];
fhir:Identifier.value [ fhir:value "52345" ]
]
], [
a fhir:DocumentReference;
fhir:index 1;
fhir:Resource.id [ fhir:value "a1" ];
fhir:DocumentReference.status [ fhir:value "current" ];
fhir:DocumentReference.content [
fhir:index 0;
fhir:DocumentReference.content.attachment [
fhir:Attachment.contentType [ fhir:value "application/pdf" ];
fhir:Attachment.data [ fhir:value "SGVsbG8="^^xsd:base64Binary ];
fhir:Attachment.title [ fhir:value "accident notes 20100201.pdf" ];
fhir:Attachment.creation [ fhir:value "2010-02-01T11:50:23-05:00"^^xsd:dateTime ]
]
]
], [
a fhir:DocumentReference;
fhir:index 2;
fhir:Resource.id [ fhir:value "a2" ];
fhir:DocumentReference.status [ fhir:value "current" ];
fhir:DocumentReference.content [
fhir:index 0;
fhir:DocumentReference.content.attachment [
fhir:Attachment.contentType [ fhir:value "application/pdf" ];
fhir:Attachment.url [ fhir:value "http://happyvalley.com/docs/AB12345" ];
fhir:Attachment.size [ fhir:value "104274"^^xsd:long ];
fhir:Attachment.hash [ fhir:value "SGVsbG8gdGhlcmU="^^xsd:base64Binary ];
fhir:Attachment.creation [ fhir:value "2010-02-01T10:57:34+01:00"^^xsd:dateTime ]
]
]
];
fhir:DocumentManifest.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://happyvalley.com/supportingdocumentation" ];
fhir:Identifier.value [ fhir:value "52345" ]
];
fhir:DocumentManifest.status [ fhir:value "current"];
fhir:DocumentManifest.created [ fhir:value "2014-09-21T11:50:23-05:00"^^xsd:dateTime];
fhir:DocumentManifest.recipient [
fhir:index 0;
fhir:Reference.reference [ fhir:value "#org-1" ]
];
fhir:DocumentManifest.content [
fhir:index 0;
fhir:Reference.reference [ fhir:value "#a1" ]
], [
fhir:index 1;
fhir:Reference.reference [ fhir:value "#a2" ]
], [
fhir:index 2;
fhir:Reference.reference [ fhir:value "DocumentReference/example" ]
], [
fhir:index 3;
fhir:Reference.reference [ fhir:value "DiagnosticReport/f001" ]
];
fhir:DocumentManifest.related [
fhir:index 0;
fhir:DocumentManifest.related.identifier [
fhir:Identifier.system [ fhir:value "http://happyvalley.com/claim" ];
fhir:Identifier.value [ fhir:value "12345" ]
]
], [
fhir:index 1;
fhir:DocumentManifest.related.identifier [
fhir:Identifier.system [ fhir:value "http://www.BenefitsInc.com/fhir/remittance" ];
fhir:Identifier.value [ fhir:value "R3500" ]
]
]] .
# - 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.