R6 Ballot (2nd Draft)

Publish-box (todo)

Example MessageDefinition/patient-link-response (Turtle)

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

An example of a patient link response

@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-response"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Link Patients Response</div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "inm" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/MessageDefinition/patient-link-response"^^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.1" ]
  ] ) ; # 
  fhir:version [ fhir:v "1"] ; # 
  fhir:name [ fhir:v "PATIENTLINKRESPONSE"] ; # 
  fhir:title [ fhir:v "Link Patients Response"] ; # 
  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 "HL7 International / Infrastructure And Messaging"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/inm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Optional response to a patient link notification."] ; # 
  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" ]
     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "Optional response message that may provide additional information on the outcome of the patient link operation."] ; # 
  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 "consequence"] ; # 
  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" ]
  ] )] . # 

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


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.