@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://doh.gov.ph/fhir/ph-core/Condition/example-condition> a fhir:Condition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-condition"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Juan Dela Cruz has an active diagnosis of Type 2 Diabetes Mellitus.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>
       ] ;
       fhir:code [ fhir:v "active" ] ;
       fhir:display [ fhir:v "Active" ]
     ] )
  ] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:44054006 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "44054006" ] ;
       fhir:display [ fhir:v "Diabetes mellitus type 2" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b> ;
     fhir:reference [ fhir:v "urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b" ]
  ] ; # 
  fhir:encounter [
     fhir:l <urn:uuid:60b7132e-7cfd-44bc-83c2-de140dc8aaae> ;
     fhir:reference [ fhir:v "urn:uuid:60b7132e-7cfd-44bc-83c2-de140dc8aaae" ]
  ] . # 

# -------------------------------------------------------------------------------------

