R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3

Documentmanifest-fm-attachment.ttl

Structured Documents Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle, JSON-LD

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 -------------------------------------------------------------------

<http://hl7.org/fhir/DocumentManifest/654789> 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:nonNegativeInteger ];
         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:link <http://hl7.org/fhir/DocumentReference/example>;
     fhir:Reference.reference [ fhir:value "DocumentReference/example" ]
  ], [
     fhir:index 3;
     fhir:link <http://hl7.org/fhir/DiagnosticReport/f001>;
     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" ]
     ]
  ] .

<http://hl7.org/fhir/DocumentReference/example> a fhir:DocumentReference .

<http://hl7.org/fhir/DiagnosticReport/f001> a fhir:DiagnosticReport .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/DocumentManifest/654789.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/DocumentManifest/654789.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.