R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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

Messagedefinition-patient-link-notification.ttl

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

Raw Turtle, JSON-LD

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 -------------------------------------------------------------------

<http://hl7.org/fhir/MessageDefinition/patient-link-notification> a fhir:MessageDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "patient-link-notification"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Link Patients Notification</div>"
  ];
  fhir:MessageDefinition.url [ fhir:value "http://hl7.org/fhir/MessageDefinition/patient-link-notification"];
  fhir:MessageDefinition.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878" ]
  ];
  fhir:MessageDefinition.version [ fhir:value "1"];
  fhir:MessageDefinition.name [ fhir:value "PATIENT-LINK-NOTIFICATION"];
  fhir:MessageDefinition.title [ fhir:value "Link Patients Notification"];
  fhir:MessageDefinition.status [ fhir:value "draft"];
  fhir:MessageDefinition.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:MessageDefinition.date [ fhir:value "2017-02-03"^^xsd:date];
  fhir:MessageDefinition.publisher [ fhir:value "Health Level Seven, Int'l"];
  fhir:MessageDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ]
  ];
  fhir:MessageDefinition.description [ fhir:value "Notification of two patient records that represent the same individual that require an established linkage."];
  fhir:MessageDefinition.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/variant-state" ];
         fhir:Coding.code [ fhir:value "positive" ]
       ]
     ]
  ];
  fhir:MessageDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ];
       fhir:Coding.display [ fhir:value "United States of America (the)" ]
     ]
  ];
  fhir:MessageDefinition.purpose [ fhir:value "Notifies recipient systems that two patients have been 'linked' - meaning they represent the same individual"];
  fhir:MessageDefinition.copyright [ fhir:value "� HL7.org 2011+"];
  fhir:MessageDefinition.base [
     fhir:link <http://hl7.org/fhir/MessageDefinition/example>;
     fhir:Reference.reference [ fhir:value "MessageDefinition/example" ]
  ];
  fhir:MessageDefinition.parent [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/ActivityDefinition/example>;
     fhir:Reference.reference [ fhir:value "ActivityDefinition/example" ]
  ];
  fhir:MessageDefinition.replaces [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/MessageDefinition/example>;
     fhir:Reference.reference [ fhir:value "MessageDefinition/example" ]
  ];
  fhir:MessageDefinition.event [ fhir:value "http://acme.com/ehr/fhir/event"];
  fhir:MessageDefinition.category [ fhir:value "Notification"];
  fhir:MessageDefinition.focus [
     fhir:index 0;
     fhir:MessageDefinition.focus.code [ fhir:value "Patient" ];
     fhir:MessageDefinition.focus.profile [
       fhir:link <http://hl7.org/fhir/StructureDefinition/example>;
       fhir:Reference.reference [ fhir:value "StructureDefinition/example" ]
     ];
     fhir:MessageDefinition.focus.min [ fhir:value "2"^^xsd:nonNegativeInteger ];
     fhir:MessageDefinition.focus.max [ fhir:value "2" ]
  ];
  fhir:MessageDefinition.responseRequired [ fhir:value "false"^^xsd:boolean];
  fhir:MessageDefinition.allowedResponse [
     fhir:index 0;
     fhir:MessageDefinition.allowedResponse.message [
       fhir:link <http://hl7.org/fhir/MessageDefinition/patient-link-response>;
       fhir:Reference.reference [ fhir:value "MessageDefinition/patient-link-response" ]
     ];
     fhir:MessageDefinition.allowedResponse.situation [ fhir:value "Optional response message that may provide additional information" ]
  ] .

<http://hl7.org/fhir/MessageDefinition/example> a fhir:MessageDefinition .

<http://hl7.org/fhir/ActivityDefinition/example> a fhir:ActivityDefinition .

<http://hl7.org/fhir/StructureDefinition/example> a fhir:StructureDefinition .

<http://hl7.org/fhir/MessageDefinition/patient-link-response> a fhir:MessageDefinition .

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

<http://hl7.org/fhir/MessageDefinition/patient-link-notification.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MessageDefinition/patient-link-notification.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.