@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<urn://example.com/ph-ereferral/fhir/Organization/ExampleERefReferringFacility> a fhir:Organization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleERefReferringFacility"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization"^^xsd:anyURI ;
       fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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: Organization ExampleERefReferringFacility</b></p><a name=\"ExampleERefReferringFacility\"> </a><a name=\"hcExampleERefReferringFacility\"> </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=\"https://build.fhir.org/ig/UP-Manila-SILab/ph-core/StructureDefinition-ph-core-organization.html\">PH Core Organization</a></p></div><p><b>identifier</b>: Facility ID/DOH000000000001234</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode HOSP}\">Hospital</span></p><p><b>name</b>: Manila General Hospital - Barangay 143 Health Center</p><p><b>telecom</b>: <a href=\"tel:+63281234567\">+63 2 8123 4567</a>, <a href=\"mailto:contact@manilagenhosp.ph\">contact@manilagenhosp.ph</a></p><p><b>address</b>: 123 Rizal Avenue, Barangay 143, Manila, Philippines(work)</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "FI" ] ;
         fhir:display [ fhir:v "Facility ID" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://nhfr.doh.gov.ph/facility"^^xsd:anyURI ;
       fhir:l <https://nhfr.doh.gov.ph/facility>
     ] ;
     fhir:value [ fhir:v "DOH000000000001234" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
       ] ;
       fhir:code [ fhir:v "HOSP" ] ;
       fhir:display [ fhir:v "Hospital" ]
     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Manila General Hospital - Barangay 143 Health Center"] ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+63 2 8123 4567" ] ;
     fhir:use [ fhir:v "work" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "contact@manilagenhosp.ph" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:address ( [
     fhir:use [ fhir:v "work" ] ;
     fhir:type [ fhir:v "both" ] ;
     fhir:text [ fhir:v "123 Rizal Avenue, Barangay 143, Manila, Philippines" ] ;
     fhir:line ( [ fhir:v "123 Rizal Avenue" ] ) ;
     fhir:city [ fhir:v "Manila" ] ;
     fhir:district [ fhir:v "Barangay 143" ] ;
     fhir:state [ fhir:v "Metro Manila" ] ;
     fhir:postalCode [ fhir:v "1000" ] ;
     fhir:country [ fhir:v "PH" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

