STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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

Message-response-link.ttl

Raw Turtle, JSON-LD

A response to a request to link two patients

@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 xs: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir//Bundle/3a0707d3-549e-4467-b8b8-5a2ab3800efe> a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "3a0707d3-549e-4467-b8b8-5a2ab3800efe"];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed" ];
     fhir:Bundle.entry.resource [
       fhir:MessageHeader [
         fhir:index 0;
         fhir:Resource.id [ fhir:value "caf609cf-c3a7-4be3-a3aa-356b9bb69d4f" ];
         fhir:DomainResource.text [
           fhir:Narrative.status [ fhir:value "generated" ]         ];
         fhir:MessageHeader.timestamp [ fhir:value "2015-07-14T11:15:33+10:00"^^xs:dateTime ];
         fhir:MessageHeader.event [
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-events" ];
           fhir:Coding.code [ fhir:value "patient-link" ]         ];
         fhir:MessageHeader.response [
           fhir:MessageHeader.response.identifier [ fhir:value "efdd254b-0e09-4164-883e-35cf3871715f" ];
           fhir:MessageHeader.response.code [ fhir:value "ok" ];
           fhir:MessageHeader.response.details [
             fhir:reference <http://hl7.org/fhir/OperationOutcome/03f9aa7d-b395-47b9-84e0-053678b6e4e3>;
             fhir:Reference.reference [ fhir:value "OperationOutcome/03f9aa7d-b395-47b9-84e0-053678b6e4e3" ]           ]         ];
         fhir:MessageHeader.source [
           fhir:MessageHeader.source.endpoint [ fhir:value "http://acme.com/ehr/fhir" ]         ];
         fhir:MessageHeader.destination [
           fhir:index 0;
           fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.org/clients/ehr-lite" ]         ];
         fhir:MessageHeader.receiverReference [
           fhir:reference <http://acme.com/ehr/fhir/Practitioner/2323-33-4>;
           fhir:Reference.reference [ fhir:value "http://acme.com/ehr/fhir/Practitioner/2323-33-4" ]         ];
         fhir:MessageHeader.data [
           fhir:index 0;
           fhir:reference <http://acme.com/ehr/fhir/Patient/pat1>;
           fhir:Reference.reference [ fhir:value "http://acme.com/ehr/fhir/Patient/pat1" ]         ];
         fhir:MessageHeader.data [
           fhir:index 1;
           fhir:reference <http://acme.com/ehr/fhir/Patient/pat12>;
           fhir:Reference.reference [ fhir:value "http://acme.com/ehr/fhir/Patient/pat12" ]         ]       ]     ]
  ];
  fhir:Bundle.entry [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3" ];
     fhir:Bundle.entry.resource [
       fhir:OperationOutcome [
         fhir:index 0;
         fhir:Resource.id [ fhir:value "03f9aa7d-b395-47b9-84e0-053678b6e4e3" ];
         fhir:DomainResource.text [
           fhir:Narrative.status [ fhir:value "generated" ]         ];
         fhir:OperationOutcome.issue [
           fhir:index 0;
           fhir:OperationOutcome.issue.severity [ fhir:value "information" ];
           fhir:OperationOutcome.issue.code [ fhir:value "informational" ];
           fhir:OperationOutcome.issue.details [
             fhir:CodeableConcept.text [ fhir:value "MPI approval rating: 80%" ]           ]         ]       ]     ]
  ];
  fhir:Bundle.entry [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://acme.com/ehr/fhir/Patient/pat1" ];
     fhir:Bundle.entry.resource [
       fhir:Patient [
         fhir:index 0;
         fhir:Resource.id [ fhir:value "pat1" ];
         fhir:DomainResource.text [
           fhir:Narrative.status [ fhir:value "generated" ]         ];
         fhir:Patient.identifier [
           fhir:index 0;
           fhir:Identifier.use [ fhir:value "usual" ];
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
               fhir:Coding.code [ fhir:value "MR" ]             ]           ];
           fhir:Identifier.system [ fhir:value "urn:oid:0.1.2.3.4.5.6.7" ];
           fhir:Identifier.value [ fhir:value "654321" ]         ];
         fhir:Patient.active [ fhir:value "true"^^xs:boolean ];
         fhir:Patient.name [
           fhir:index 0;
           fhir:HumanName.use [ fhir:value "official" ];
           fhir:HumanName.family [
             fhir:value "Donald";
             fhir:index 0           ];
           fhir:HumanName.given [
             fhir:value "Duck";
             fhir:index 0           ]         ];
         fhir:Patient.gender [ fhir:value "male" ];
         fhir:Patient.contact [
           fhir:index 0;
           fhir:Patient.contact.relationship [
             fhir:index 0;
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/patient-contact-relationship" ];
               fhir:Coding.code [ fhir:value "owner" ]             ]           ];
           fhir:Patient.contact.organization [
             fhir:reference <http://hl7.org/fhir/Organization/1>;
             fhir:Reference.reference [ fhir:value "Organization/1" ];
             fhir:Reference.display [ fhir:value "Walt Disney Corporation" ]           ]         ];
         fhir:Patient.managingOrganization [
           fhir:reference <http://hl7.org/fhir/Organization/1>;
           fhir:Reference.reference [ fhir:value "Organization/1" ];
           fhir:Reference.display [ fhir:value "ACME Healthcare, Inc" ]         ];
         fhir:Patient.link [
           fhir:index 0;
           fhir:Patient.link.other [
             fhir:reference <http://hl7.org/fhir/Patient/pat2>;
             fhir:Reference.reference [ fhir:value "Patient/pat2" ]           ];
           fhir:Patient.link.type [ fhir:value "seealso" ]         ]       ]     ]
  ];
  fhir:Bundle.entry [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://acme.com/ehr/fhir/Patient/pat12" ];
     fhir:Bundle.entry.resource [
       fhir:Patient [
         fhir:index 0;
         fhir:Resource.id [ fhir:value "pat2" ];
         fhir:DomainResource.text [
           fhir:Narrative.status [ fhir:value "generated" ]         ];
         fhir:Patient.identifier [
           fhir:index 0;
           fhir:Identifier.use [ fhir:value "usual" ];
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
               fhir:Coding.code [ fhir:value "MR" ]             ]           ];
           fhir:Identifier.system [ fhir:value "urn:oid:0.1.2.3.4.5.6.7" ];
           fhir:Identifier.value [ fhir:value "123456" ]         ];
         fhir:Patient.active [ fhir:value "true"^^xs:boolean ];
         fhir:Patient.name [
           fhir:index 0;
           fhir:HumanName.use [ fhir:value "official" ];
           fhir:HumanName.family [
             fhir:value "Donald";
             fhir:index 0           ];
           fhir:HumanName.given [
             fhir:value "Duck";
             fhir:index 0           ];
           fhir:HumanName.given [
             fhir:value "D";
             fhir:index 1           ]         ];
         fhir:Patient.gender [
           fhir:value "other";
           fhir:string.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://example.org/Profile/administrative-status" ];
             fhir:Extension.valueCodeableConcept [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0001" ];
                 fhir:Coding.code [ fhir:value "A" ];
                 fhir:Coding.display [ fhir:value "Ambiguous" ]               ]             ]           ]         ];
         fhir:Patient.managingOrganization [
           fhir:reference <http://hl7.org/fhir/Organization/1>;
           fhir:Reference.reference [ fhir:value "Organization/1" ];
           fhir:Reference.display [ fhir:value "ACME Healthcare, Inc" ]         ];
         fhir:Patient.link [
           fhir:index 0;
           fhir:Patient.link.other [
             fhir:reference <http://hl7.org/fhir/Patient/pat1>;
             fhir:Reference.reference [ fhir:value "Patient/pat1" ]           ];
           fhir:Patient.link.type [ fhir:value "seealso" ]         ]       ]     ]
  ].

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


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.