Foundation
This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Infrastructure And Messaging Work Group |
|
Compartments : Device , Practitioner |
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <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 <urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed> ], [ fhir:index 1; fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3" ]; fhir:Bundle.entry.resource <urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3> ], [ fhir:index 2; fhir:Bundle.entry.fullUrl [ fhir:value "http://acme.com/ehr/fhir/Patient/pat1" ]; fhir:Bundle.entry.resource <http://acme.com/ehr/fhir/Patient/pat1> ], [ fhir:index 3; fhir:Bundle.entry.fullUrl [ fhir:value "http://acme.com/ehr/fhir/Patient/pat12" ]; fhir:Bundle.entry.resource <http://acme.com/ehr/fhir/Patient/pat12> ] .<http://hl7.org/fhir/Bundle/3a0707d3-549e-4467-b8b8-5a2ab3800efe> a fhir:Bundle ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "3a0707d3-549e-4467-b8b8-5a2ab3800efe"] ; # fhir:identifier [ fhir:system [ fhir:v "urn:example-org:receiver.identifiers"^^xsd:anyURI ; fhir:l <urn:example-org:receiver.identifiers> ] ; fhir:value [ fhir:v "35f23e97-328c-4eb7-8e94-34f478983e89" ] ] ; # fhir:type [ fhir:v "message"] ; # fhir:timestamp [ fhir:v "2015-07-14T11:15:33+10:00"^^xsd:dateTime] ; # fhir:entry ( [ fhir:fullUrl [ fhir:v "urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed"^^xsd:anyURI ; fhir:l <urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed> ] ; fhir:resource ( <urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed> ) ] [ fhir:fullUrl [ fhir:v "urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3"^^xsd:anyURI ; fhir:l <urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3> ] ; fhir:resource ( <urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3> ) ] [ fhir:fullUrl [ fhir:v "http://acme.com/ehr/fhir/Patient/pat1"^^xsd:anyURI ; fhir:l <http://acme.com/ehr/fhir/Patient/pat1> ] ; fhir:resource ( <http://acme.com/ehr/fhir/Patient/pat1> ) ] [ fhir:fullUrl [ fhir:v "http://acme.com/ehr/fhir/Patient/pat2"^^xsd:anyURI ; fhir:l <http://acme.com/ehr/fhir/Patient/pat2> ] ; fhir:resource ( <http://acme.com/ehr/fhir/Patient/pat2> ) ] ) . #<urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed> a fhir:MessageHeader; fhir:Resource.id [ fhir:value "caf609cf-c3a7-4be3-a3aa-356b9bb69d4f"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>This message is a request to link Patient records 654321 (Patient Donald DUCK @ Acme Healthcare, Inc) and 123456 (Patient Donald D DUCK @ Acme Healthcare, Inc)</p>\n \n </div>" ]; fhir:MessageHeader.event [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-events" ]; fhir:Coding.code [ fhir:value "patient-link" ] ]; fhir:MessageHeader.receiver [ fhir:link <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.timestamp [ fhir:value "2015-07-14T11:15:33+10:00"^^xsd:dateTime]; fhir:MessageHeader.source [ fhir:MessageHeader.source.endpoint [ fhir:value "http://acme.com/ehr/fhir" ] ]; 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:link <http://hl7.org/fhir/OperationOutcome/03f9aa7d-b395-47b9-84e0-053678b6e4e3>; fhir:Reference.reference [ fhir:value "OperationOutcome/03f9aa7d-b395-47b9-84e0-053678b6e4e3" ]<urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed> a fhir:MessageHeader ; fhir:id [ fhir:v "d9d296d8-5afd-42e1-a0ce-3344e0e003ed"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>This message is a response to the request to link Patient records 654321 (Patient Donald DUCK @ Acme Healthcare, Inc) and 123456 (Patient Donald D DUCK @ Acme Healthcare, Inc)</p>\n \n </div>"^^rdf:XMLLiteral ] ] ; # fhir:event [ a fhir:Coding ; fhir:system [ fhir:v "http://example.org/fhir/message-events"^^xsd:anyURI ; fhir:l <http://example.org/fhir/message-events> ] ; fhir:code [ fhir:v "patient-link" ] ] ; # fhir:source [ fhir:endpoint [ a fhir:Url ; fhir:v "http://acme.com/ehr/fhir"^^xsd:anyURI ; fhir:l <http://acme.com/ehr/fhir> ]]; fhir:MessageHeader.focus [ fhir:index 0; fhir:link <http://acme.com/ehr/fhir/Patient/pat1>; fhir:Reference.reference [ fhir:value "http://acme.com/ehr/fhir/Patient/pat1" ] ], [ fhir:index 1; fhir:link <http://acme.com/ehr/fhir/Patient/pat12>; fhir:Reference.reference [ fhir:value "http://acme.com/ehr/fhir/Patient/pat12" ] ] . <http://hl7.org/fhir/OperationOutcome/03f9aa7d-b395-47b9-84e0-053678b6e4e3> a fhir:OperationOutcome . <urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3> a fhir:OperationOutcome; fhir:Resource.id [ fhir:value "03f9aa7d-b395-47b9-84e0-053678b6e4e3"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n MPI approval rating: 80%\n </div>" ]; 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:response [ fhir:identifier [ fhir:system [ fhir:v "urn:example-org:sender.identifiers"^^xsd:anyURI ; fhir:l <urn:example-org:sender.identifiers> ] ; fhir:value [ fhir:v "efdd254b-0e09-4164-883e-35cf3871715f" ] ] ; fhir:code [ fhir:v "ok" ] ; fhir:details [ fhir:l <urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3> ; fhir:reference [ fhir:v "urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3" ] ]] .] ; # fhir:focus ( [ fhir:l <http://acme.com/ehr/fhir/Patient/pat1> ; fhir:reference [ fhir:v "http://acme.com/ehr/fhir/Patient/pat1" ] ] [ fhir:l <http://acme.com/ehr/fhir/Patient/pat2> ; fhir:reference [ fhir:v "http://acme.com/ehr/fhir/Patient/pat2" ] ] ) . # this message is posted to http://acme.com/ehr/fhir, # with an event 'link' to link 2 patient records, and nominates # 2 patients on the server<http://acme.com/ehr/fhir/Patient/pat1> a fhir:Patient; fhir:Resource.id [ fhir:value "pat1"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</p>\n \n </div>" ]; 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"^^xsd:boolean]; fhir:Patient.name [ fhir:index 0; fhir:HumanName.use [ fhir:value "official" ]; fhir:HumanName.family [ fhir:value "Donald" ]; fhir:HumanName.given [ fhir:value "Duck"; fhir:index 0<urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3> a fhir:OperationOutcome ; fhir:id [ fhir:v "03f9aa7d-b395-47b9-84e0-053678b6e4e3"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n MPI approval rating: 80%\n </div>"^^rdf:XMLLiteral ] ] ; # fhir:issue ( [ fhir:severity [ fhir:v "information" ] ; fhir:code [ fhir:v "informational" ] ; fhir:details [ fhir:text [ fhir:v "MPI approval rating: 80%" ] ]]; 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 "E" ] ] ]; fhir:Patient.contact.organization [ fhir:link <http://hl7.org/fhir/Organization/1>; fhir:Reference.reference [ fhir:value "Organization/1" ]; fhir:Reference.display [ fhir:value "Walt Disney Corporation" ]] ) . # <http://acme.com/ehr/fhir/Patient/pat1> a fhir:Patient ; fhir:id [ fhir:v "pat1"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</p>\n \n </div>"^^rdf:XMLLiteral ] ] ; # fhir:identifier ( [ fhir:use [ fhir:v "usual" ] ; fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203> ] ; fhir:code [ fhir:v "MR" ] ] ) ] ; fhir:system [ fhir:v "urn:oid:0.1.2.3.4.5.6.7"^^xsd:anyURI ; fhir:l <urn:oid:0.1.2.3.4.5.6.7> ] ; fhir:value [ fhir:v "654321" ] ] ) ; # fhir:active [ fhir:v true] ; # fhir:name ( [ fhir:use [ fhir:v "official" ] ; fhir:family [ fhir:v "Donald" ] ; fhir:given ( [ fhir:v "Duck" ] ) ] ) ; # fhir:gender [ fhir:v "male"] ; # fhir:contact ( [ fhir:relationship ( [ fhir:coding ( [ fhir:system [ fhir:v "http://example.org/fhir/CodeSystem/patient-contact-relationship"^^xsd:anyURI ; fhir:l <http://example.org/fhir/CodeSystem/patient-contact-relationship> ] ; fhir:code [ fhir:v "E" ] ] ) ] ) ; fhir:organization [ fhir:l <http://hl7.org/fhir/Organization/1> ; fhir:reference [ fhir:v "Organization/1" ] ; fhir:display [ fhir:v "Walt Disney Corporation" ] ]]; fhir:Patient.managingOrganization [ fhir:link <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:link <http://hl7.org/fhir/Patient/pat2>; fhir:Reference.reference [ fhir:value "Patient/pat2" ] ]; fhir:Patient.link.type [ fhir:value "seealso" ] ] .] ) ; # fhir:managingOrganization [ fhir:l <http://hl7.org/fhir/Organization/1> ; fhir:reference [ fhir:v "Organization/1" ] ; fhir:display [ fhir:v "ACME Healthcare, Inc" ] ] ; # fhir:link ( [ fhir:other [ fhir:l <http://hl7.org/fhir/Patient/pat2> ; fhir:reference [ fhir:v "Patient/pat2" ] ] ; fhir:type [ fhir:v "seealso" ] ] ) . # <http://hl7.org/fhir/Organization/1> a fhir:Organization . <http://hl7.org/fhir/Patient/pat2> a fhir:Patient .<http://acme.com/ehr/fhir/Patient/pat12> a fhir:Patient; fhir:Resource.id [ fhir:value "pat2"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>Patient Donald D DUCK @ Acme Healthcare, Inc. MR = 123456</p>\n \n </div>" ]; 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"^^xsd:boolean]; fhir:Patient.name [ fhir:index 0; fhir:HumanName.use [ fhir:value "official" ]; fhir:HumanName.family [ fhir:value "Donald" ]; fhir:HumanName.given [ fhir:value "Duck"; fhir:index 0 ], [ fhir:value "D"; fhir:index 1 ] ]; fhir:Patient.gender [ fhir:value "other"; fhir:Element.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" ] ]<http://acme.com/ehr/fhir/Patient/pat2> a fhir:Patient ; fhir:id [ fhir:v "pat2"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>Patient Donald D DUCK @ Acme Healthcare, Inc. MR = 123456</p>\n \n </div>"^^rdf:XMLLiteral ] ] ; # fhir:identifier ( [ fhir:use [ fhir:v "usual" ] ; fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203> ] ; fhir:code [ fhir:v "MR" ] ] ) ] ; fhir:system [ fhir:v "urn:oid:0.1.2.3.4.5.6.7"^^xsd:anyURI ; fhir:l <urn:oid:0.1.2.3.4.5.6.7> ] ; fhir:value [ fhir:v "123456" ] ] ) ; # fhir:active [ fhir:v true] ; # fhir:name ( [ fhir:use [ fhir:v "official" ] ; fhir:family [ fhir:v "Donald" ] ; fhir:given ( [ fhir:v "Duck" ] [ fhir:v "D" ] ) ] ) ; # fhir:gender [ fhir:v "other" ; fhir:extension ( [ fhir:url [ fhir:v "http://example.org/Profile/administrative-status"^^xsd:anyURI ; fhir:l <http://example.org/Profile/administrative-status> ] ; fhir:value [ a fhir:CodeableConcept ; fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0001"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v2-0001> ] ; fhir:code [ fhir:v "A" ] ; fhir:display [ fhir:v "Ambiguous" ] ] ) ]] ]; fhir:Patient.managingOrganization [ fhir:link <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:link <http://hl7.org/fhir/Patient/pat1>; fhir:Reference.reference [ fhir:value "Patient/pat1" ] ]; fhir:Patient.link.type [ fhir:value "seealso" ] ] .] ) ] ; # fhir:managingOrganization [ fhir:l <http://hl7.org/fhir/Organization/1> ; fhir:reference [ fhir:v "Organization/1" ] ; fhir:display [ fhir:v "ACME Healthcare, Inc" ] ] ; # fhir:link ( [ fhir:other [ fhir:l <http://hl7.org/fhir/Patient/pat1> ; fhir:reference [ fhir:v "Patient/pat1" ] ] ; fhir:type [ fhir:v "seealso" ] ] ) . # <http://hl7.org/fhir/Patient/pat1> a fhir:Patient .# - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Bundle/3a0707d3-549e-4467-b8b8-5a2ab3800efe.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/Bundle/3a0707d3-549e-4467-b8b8-5a2ab3800efe.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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
3
(STU;
v3.0.2-11200)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Thurs,
Oct
24,
2019
11:53+1100.
QA
Page
Fri,
Nov
21,
2025
00:02+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
DSTU2
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change