This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.
Infrastructure And Messaging Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Practitioner |
Raw Turtle (+ also see Turtle/RDF Format Specification)
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 xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- [a fhir:Bundle; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "10bb101f-a121-4264-a920-67be9cb82c74"]; # fhir:Bundle.type [ fhir:value "message"]; # fhir:Bundle.timestamp [ fhir:value "2015-07-14T11:15:33+10:00"^^xsd:dateTime]; # fhir:Bundle.entry [ fhir:index 0; fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b" ]; fhir:Bundle.entry.resource <urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b> ], [ fhir:index 1; 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 2; fhir:Bundle.entry.fullUrl [ fhir:value "http://acme.com/ehr/fhir/Patient/pat12" ]; fhir:Bundle.entry.resource <http://acme.com/ehr/fhir/Patient/pat12> ]] . # <urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b> a fhir:MessageHeader; fhir:Resource.id [ fhir:value "267b18ce-3d37-4581-9baa-6fada338038b"]; # Note about the id: according to the spec, the fullUrl must not disagree with the id in the resource. For instance, if the fullUrl was http://server/path/MessageHeader/267b18ce-3d37-4581-9baa-6fada338038b, then the id of the resource must be 267b18ce-3d37-4581-9baa-6fada338038b. However, in this case, a fullUrl of urn:uuid:[x] makes no claim about the id of the resource, and it can be different, or missing. Note, though that this doesn't really make sense; if it's present, there's less potential for confusion if they match, like in this case fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\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 </div>" ]; # fhir:MessageHeader.eventCoding [ fhir:Coding.system [ fhir:value "http://example.org/fhir/message-events" ]; fhir:Coding.code [ fhir:value "patient-link" ] ]; # fhir:MessageHeader.source [ fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/clients/ehr-lite" ] ]; # fhir:MessageHeader.responsible [ 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.response [ fhir:MessageHeader.response.identifier [ fhir:Identifier.value [ fhir:value "efdd254b-0e09-4164-883e-35cf3871715f" ] ]; fhir:MessageHeader.response.code [ fhir:value "ok" ] ]; # 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" ] ] . # 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 <p>Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</p>\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://terminology.hl7.org/CodeSystem/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 ] ]; # 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://example.org/fhir/CodeSystem/patient-contact-relationship" ]; fhir:Coding.code [ fhir:value "E" ] ] ]; fhir:Patient.contact.organization [ fhir:Reference.reference [ fhir:value "Organization/1" ]; fhir:Reference.display [ fhir:value "Walt Disney Corporation" ] ] ]; # fhir:Patient.managingOrganization [ fhir:Reference.reference [ fhir:value "Organization/1" ]; fhir:Reference.display [ fhir:value "ACME Healthcare, Inc" ] ] . # <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 <p>Patient Donald D DUCK @ Acme Healthcare, Inc. MR = 123456</p>\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://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/CodeSystem/v2-0001" ]; fhir:Coding.code [ fhir:value "A" ]; fhir:Coding.display [ fhir:value "Ambiguous" ] ] ] ] ]; # fhir:Patient.managingOrganization [ fhir:Reference.reference [ fhir:value "Organization/1" ]; fhir:Reference.display [ fhir:value "ACME Healthcare, Inc" ] ] . # # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.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 R5 Ballot hl7.fhir.core#5.0.0-snapshot3 generated on Wed, Dec 14, 2022 07:17+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4B |
Compare to R5 Draft |
|
Propose a change