STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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: R5 R4B R4 R3

Communication-example-fm-attachment.ttl

Raw Turtle, JSON-LD

An example of an unsolicited attachment - provision of additional information

@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/Communication/fm-attachment> a fhir:Communication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "fm-attachment"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Attachment which is unsolicited</div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Organization;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "provider" ];
     fhir:Organization.identifier [
       fhir:index 0;
       fhir:Identifier.system [ fhir:value "http://www.jurisdiction.com/provideroffices" ];
       fhir:Identifier.value [ fhir:value "3456" ]
     ]
  ], [
     a fhir:Organization;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "payor" ];
     fhir:Organization.identifier [
       fhir:index 0;
       fhir:Identifier.system [ fhir:value "http://www.jurisdiction.com/insurer" ];
       fhir:Identifier.value [ fhir:value "123456" ]
     ]
  ], [
     a fhir:Claim;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "claim" ];
     fhir:Claim.identifier [
       fhir:index 0;
       fhir:Identifier.system [ fhir:value "http://happyvalley.com/claim" ];
       fhir:Identifier.value [ fhir:value "12345" ]
     ];
     fhir:Claim.status [ fhir:value "draft" ];
     fhir:Claim.type [
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/ex-claimtype" ];
       fhir:Coding.code [ fhir:value "oral" ]
     ];
     fhir:Claim.patientReference [
       fhir:link <http://hl7.org/fhir/Patient/1>;
       fhir:Reference.reference [ fhir:value "Patient/1" ]
     ]
  ], [
     a fhir:ClaimResponse;
     fhir:index 3;
     fhir:Resource.id [ fhir:value "claimresponse" ];
     fhir:ClaimResponse.identifier [
       fhir:index 0;
       fhir:Identifier.system [ fhir:value "http://www.BenefitsInc.com/fhir/claimresponse" ];
       fhir:Identifier.value [ fhir:value "R3500" ]
     ];
     fhir:ClaimResponse.status [ fhir:value "draft" ]
  ];
  fhir:Communication.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.providerco.com/communication" ];
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  fhir:Communication.status [ fhir:value "completed"];
  fhir:Communication.category [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://acme.org/messagetypes" ];
       fhir:Coding.code [ fhir:value "SolicitedAttachment" ]
     ]
  ];
  fhir:Communication.subject [
     fhir:link <http://hl7.org/fhir/Patient/1>;
     fhir:Reference.reference [ fhir:value "Patient/1" ]
  ];
  fhir:Communication.topic [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#claim" ]
  ], [
     fhir:index 1;
     fhir:Reference.reference [ fhir:value "#claimresponse" ]
  ];
  fhir:Communication.sent [ fhir:value "2016-06-12T18:01:10-08:00"^^xsd:dateTime];
  fhir:Communication.sender [
     fhir:Reference.reference [ fhir:value "#provider" ]
  ];
  fhir:Communication.recipient [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#payor" ]
  ];
  fhir:Communication.payload [
     fhir:index 0;
     fhir:Communication.payload.contentAttachment [
       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 ]
     ]
  ], [
     fhir:index 1;
     fhir:Communication.payload.contentAttachment [
       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 ]
     ]
  ] .

<http://hl7.org/fhir/Patient/1> a fhir:Patient .

# -------------------------------------------------------------------------------------


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.