Release 4B 5

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0: R5 - STU ). The This is the current published version which supercedes in it's permanent home (it will always be available at this version is 5.0.0 . URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R5 R4B R4 R3

Communication-example-fm-solicited-attachment.ttl

Example Communication/fm-solicited (Turtle)

Patient Care Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification )

An example of a response to a request for 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-solicited> a fhir:Communication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "fm-solicited"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Attachment in response to a Request</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:CommunicationRequest;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "request" ];
     fhir:CommunicationRequest.identifier [
       fhir:index 0;
       fhir:Identifier.system [ fhir:value "http://www.jurisdiction.com/insurer/123456" ];
       fhir:Identifier.value [ fhir:value "ABC123" ]
     ];
     fhir:CommunicationRequest.status [ fhir:value "completed" ];
     fhir:CommunicationRequest.subject [
       fhir:link <http://hl7.org/fhir/Patient/1>;
       fhir:Reference.reference [ fhir:value "Patient/1" ]
     ]
  ];
  fhir:Communication.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.providerco.com/communication" ];
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  fhir:Communication.basedOn [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#request" ]
  ];
  fhir:Communication.status [ fhir:value "completed"];
  fhir:Communication.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://acme.org/messagetypes" ];
       fhir:Coding.code [ fhir:value "SolicitedAttachment" ]

[a fhir:Communication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "fm-solicited"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Attachment in response to a Request</div>"
  ] ; # 
  fhir:contained ( [
     a fhir:Organization ;
     fhir:id [ fhir:v "provider" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://www.jurisdiction.com/provideroffices"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "3456" ]
     ] )
  ] [
     a fhir:Organization ;
     fhir:id [ fhir:v "payor" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://www.jurisdiction.com/insurer"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "123456" ]
     ] )
  ] [
     a fhir:CommunicationRequest ;
     fhir:id [ fhir:v "request" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://www.jurisdiction.com/insurer/123456"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "ABC123" ]
     ] ) ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:intent [ fhir:v "proposal" ] ;
     fhir:subject [
       fhir:reference [ fhir:v "Patient/1" ]

     ]
  ];
  fhir:Communication.subject [
     fhir:link <http://hl7.org/fhir/Patient/1>;
     fhir:Reference.reference [ fhir:value "Patient/1" ]
  ];
  fhir:Communication.sent [ fhir:value "2016-06-12T18:01:10-08:00"^^xsd:dateTime];
  fhir:Communication.recipient [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#payor" ]
  ];
  fhir:Communication.sender [
     fhir:Reference.reference [ fhir:value "#provider" ]
  ];
  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:identifier ( [
     fhir:system [ fhir:v "http://www.providerco.com/communication"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "12345" ]
  ] ) ; #   body of the resource  
  fhir:basedOn ( [
     fhir:reference [ fhir:v "#request" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://acme.org/messagetypes"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "SolicitedAttachment" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/1" ]
  ] ; # 
  fhir:sent [ fhir:v "2016-06-12T18:01:10-08:00"^^xsd:dateTime] ; # 
  fhir:recipient ( [
     fhir:reference [ fhir:v "#payor" ]
  ] ) ; # 
  fhir:sender [
     fhir:reference [ fhir:v "#provider" ]
  ] ; # 
  fhir:payload ( [
     fhir:content [
       a fhir:Attachment ;
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:data [ fhir:v "SGVsbG8="^^xsd:base64Binary ] ;
       fhir:title [ fhir:v "accident notes 20100201.pdf" ] ;
       fhir:creation [ fhir:v "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 ]

  ] [
     fhir:content [
       a fhir:Attachment ;
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:url [ fhir:v "http://happyvalley.com/docs/AB12345"^^xsd:anyURI ] ;
       fhir:size [ fhir:v "104274"^^xsd:long ] ;
       fhir:hash [ fhir:v "SGVsbG8gdGhlcmU="^^xsd:base64Binary ] ;
       fhir:creation [ fhir:v "2010-02-01T10:57:34+01:00"^^xsd:dateTime ]

     ]
  ] .

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

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

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