HL7 Europe Base and Core FHIR IG
2.0.0 - trial-use 150

HL7 Europe Base and Core FHIR IG, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/patrick-werner/base/ and changes regularly. See the Directory of published versions

: Flag Example - TTL Representation

Raw ttl | Download


@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Flag/flag-patient-eu-core-example> a fhir:Flag ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "flag-patient-eu-core-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Flag flag-patient-eu-core-example</b></p><a name=\"flag-patient-eu-core-example\"> </a><a name=\"hcflag-patient-eu-core-example\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-flag-patient-eu-core.html\">Flag: Patient (EU core)</a></p></div><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/flag-category safety}\">Safety</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 129839007}\">At risk of falls</span></p><p><b>subject</b>: <a href=\"Patient-patient-eu-core-example.html\">John Doe  Male, DoB: 1980-01-01</a></p><p><b>period</b>: 2024-01-10 --&gt; (ongoing)</p></div>"
  ] ;
  fhir:Flag.status [ fhir:value "active"] ;
  fhir:Flag.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/flag-category" ] ;
       fhir:Coding.code [ fhir:value "safety" ] ;
       fhir:Coding.display [ fhir:value "Safety" ]
     ]
  ] ;
  fhir:Flag.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:129839007 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "129839007" ] ;
       fhir:Coding.display [ fhir:value "At risk of falls" ]
     ]
  ] ;
  fhir:Flag.subject [
     fhir:link <http://hl7.org/fhir/Patient/patient-eu-core-example> ;
     fhir:Reference.reference [ fhir:value "Patient/patient-eu-core-example" ]
  ] ;
  fhir:Flag.period [
     fhir:Period.start [ fhir:value "2024-01-10"^^xsd:date ]
  ] .

<http://hl7.org/fhir/Patient/patient-eu-core-example> a fhir:Patient .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Flag/flag-patient-eu-core-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Flag/flag-patient-eu-core-example.ttl> .