R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example MessageDefinition/patient-link-notification (Turtle)

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

An example of a patient link notification

@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:MessageDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-link-notification"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Link Patients Notification</div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/MessageDefinition/patient-link-notification"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.15.2" ]
  ] ) ; # 
  fhir:version [ fhir:v "1"] ; # 
  fhir:name [ fhir:v "PATIENTLINKNOTIFICATION"] ; # 
  fhir:title [ fhir:v "Link Patients Notification"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2017-02-03"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level Seven, Int'l"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Notification of two patient records that represent the same individual that require an established linkage."] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "focus" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/variant-state"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "positive" ]
       ] )
     ]
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "US" ] ;
       fhir:display [ fhir:v "United States of America (the)" ]
     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "Notifies recipient systems that two patients have been 'linked' - meaning they represent the same individual"] ; # 
  fhir:copyright [ fhir:v "� HL7.org 2011+"] ; # 
  fhir:base [
     fhir:v "http://hl7.org/fhir/MessageDefinition/example"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/MessageDefinition/example>
  ] ; # 
  fhir:event [
     a fhir:Coding ;
     fhir:system [ fhir:v "http://example.org/fhir/message-events"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "admin-notify" ]
  ] ; # 
  fhir:category [ fhir:v "notification"] ; # 
  fhir:focus ( [
     fhir:code [ fhir:v "Patient" ] ;
     fhir:profile [
       fhir:v "http://hl7.org/fhir/StructureDefinition/example"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/example>
     ] ;
     fhir:min [ fhir:v "2"^^xsd:nonNegativeInteger ] ;
     fhir:max [ fhir:v "2" ]
  ] ) ; # 
  fhir:allowedResponse ( [
     fhir:message [
       fhir:v "http://hl7.org/fhir/MessageDefinition/patient-link-response"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/MessageDefinition/patient-link-response>
     ] ;
     fhir:situation [ fhir:v "Optional response message that may provide additional information" ]
  ] )] . # 

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


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.