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

Linkage-example.ttl

Patient Care Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Practitioner

Raw Turtle, JSON-LD

Example of linkage

@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/Linkage/example> a fhir:Linkage;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p><b>Source:</b> Condition/example - <i>Severe burn of left ear (Date: 24-May 2012)</i></p>\n      <p><b>Alternate:</b> Condition/condition-example - <i>Severe burn of left ear (Date: 24-May 2012)</i></p>\n    </div>"
  ];
  fhir:Linkage.author [
     fhir:link <http://hl7.org/fhir/Practitioner/f201>;
     fhir:Reference.reference [ fhir:value "Practitioner/f201" ]
  ];
  fhir:Linkage.item [
     fhir:index 0;
     fhir:Linkage.item.type [ fhir:value "source" ];
     fhir:Linkage.item.resource [
       fhir:link <http://hl7.org/fhir/Condition/example>;
       fhir:Reference.reference [ fhir:value "Condition/example" ];
       fhir:Reference.display [ fhir:value "Severe burn of left ear (Date: 24-May 2012)" ]
     ]
  ], [
     fhir:index 1;
     fhir:Linkage.item.type [ fhir:value "alternate" ];
     fhir:Linkage.item.resource [
       fhir:link <http://hl7.org/fhir/Condition/condition-example>;
       fhir:Reference.reference [ fhir:value "Condition/condition-example" ];
       fhir:Reference.display [ fhir:value "Severe burn of left ear (Date: 24-May 2012)" ]
     ]
  ] .

<http://hl7.org/fhir/Practitioner/f201> a fhir:Practitioner .

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

<http://hl7.org/fhir/Condition/condition-example> a fhir:Condition .

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

<http://hl7.org/fhir/Linkage/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Linkage/example.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.