STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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

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 xs: <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:Linkage.item [
     fhir:index 0;
     fhir:Linkage.item.type [ fhir:value "source" ];
     fhir:Linkage.item.resource [
       fhir:reference <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:Linkage.item [
     fhir:index 1;
     fhir:Linkage.item.type [ fhir:value "alternate" ];
     fhir:Linkage.item.resource [
       fhir:reference <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)" ]     ]
  ].

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


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.