@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.eu/fhir/base/Flag/flag-patient-eu-core-example> a fhir:Flag ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "flag-patient-eu-core-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/flag-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/flag-category>
       ] ;
       fhir:code [ fhir:v "safety" ] ;
       fhir:display [ fhir:v "Safety" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:129839007 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "129839007" ] ;
       fhir:display [ fhir:v "At risk of falls" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.eu/fhir/base/Patient/patient-eu-core-example> ;
     fhir:reference [ fhir:v "Patient/patient-eu-core-example" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2024-01-10"^^xsd:date ]
  ] . # 

# -------------------------------------------------------------------------------------

