Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Linkage-example.ttl

Example Linkage/example (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Care Work Group Standards Status : Informative Compartments : Practitioner

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

Example of linkage

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@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)" ]

<http://hl7.org/fhir/Linkage/example> a fhir:Linkage ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:author [
     fhir:l <http://hl7.org/fhir/Practitioner/f201> ;
     fhir:reference [ fhir:v "Practitioner/f201" ]
  ] ; # 
  fhir:item ( [
     fhir:type [ fhir:v "source" ] ;
     fhir:resource [
       fhir:l <http://hl7.org/fhir/Condition/example> ;
       fhir:reference [ fhir:v "Condition/example" ] ;
       fhir:display [ fhir:v "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)" ]

  ] [
     fhir:type [ fhir:v "alternate" ] ;
     fhir:resource [
       fhir:l <http://hl7.org/fhir/Condition/example-linkage> ;
       fhir:reference [ fhir:v "Condition/example-linkage" ] ;
       fhir:display [ fhir:v "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> .

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


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


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.