Example DetectedIssue/allergy (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Patient is allergic to an inactive ingredient in an ordered medication
@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:DetectedIssue;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "allergy"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"
]; #
fhir:DetectedIssue.status [ fhir:value "final"]] . # insert contents here
# - 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.