Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Example Linkage/example (Turtle)

Patient Care Work Group Maturity Level : N/A 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 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)" ]

[a fhir:Linkage ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p>\n     Links\n      defined by <a href=\"practitioner-example-f201-ab.html\">Practitioner/f201</a> &quot;Dokter Bronsig&quot; \n     :\n  </p>\n  <ul>\n    \n    <li>source: <a href=\"condition-example.html\">Condition/example: Severe burn of left ear (Date: 24-May 2012)</a> </li>\n    \n    <li>alternate: <a href=\"condition-example-linkage.html\">Condition/example-linkage: Severe burn of left ear (Date: 24-May 2012)</a> </li>\n    \n  </ul>\n</div>"
  ] ; # 
  fhir:author [
     fhir:reference [ fhir:v "Practitioner/f201" ]
  ] ; # 
  fhir:item ( [
     fhir:type [ fhir:v "source" ] ;
     fhir:resource [
       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: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> .

  ] )] . # 


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


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.