Example Linkage/example (Turtle)
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 -------------------------------------------------------------------
[a fhir:Linkage;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "extensions" ];
fhir:Narrative.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> "Dokter Bronsig" \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:Linkage.author [
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: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:Reference.reference [ fhir:value "Condition/example-linkage" ];
fhir:Reference.display [ fhir:value "Severe burn of left ear (Date: 24-May 2012)" ]
]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.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.