@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 -------------------------------------------------------------------

<https://emahealth.io/fhir/cl/Schedule/EjemploEmaSchedule> a fhir:Schedule ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploEmaSchedule"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/cl/StructureDefinition/ema-schedule" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/cl/StructureDefinition/ema-schedule>
     ]
  ] ;
  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: Schedule EjemploEmaSchedule</b></p><a name=\"EjemploEmaSchedule\"> </a><a name=\"hcEjemploEmaSchedule\"> </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-ema-schedule.html\">EMA Schedule</a></p></div><p><b>active</b>: true</p><p><b>serviceType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/service-type 124}\">General Practice</span></p><p><b>actor</b>: </p><ul><li><a href=\"PractitionerRole-EjemploEmaPractitionerRole.html\">Dr. Carlos Muñoz – Médico General</a></li><li><a href=\"Location-EjemploEmaLocation.html\">CESFAM Los Olivos, Santiago</a></li></ul><p><b>planningHorizon</b>: 2026-03-10 08:00:00-0300 --&gt; 2026-03-14 18:00:00-0300</p></div>"
  ] ;
  fhir:Schedule.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Schedule.serviceType [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/service-type" ] ;
       fhir:Coding.code [ fhir:value "124" ]
     ]
  ] ;
  fhir:Schedule.actor [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/cl/PractitionerRole/EjemploEmaPractitionerRole> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/EjemploEmaPractitionerRole" ] ;
     fhir:Reference.display [ fhir:value "Dr. Carlos Muñoz – Médico General" ]
  ], [
     fhir:index 1 ;
     fhir:link <https://emahealth.io/fhir/cl/Location/EjemploEmaLocation> ;
     fhir:Reference.reference [ fhir:value "Location/EjemploEmaLocation" ] ;
     fhir:Reference.display [ fhir:value "CESFAM Los Olivos, Santiago" ]
  ] ;
  fhir:Schedule.planningHorizon [
     fhir:Period.start [ fhir:value "2026-03-10T08:00:00-03:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-03-14T18:00:00-03:00"^^xsd:dateTime ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/cl/Schedule/EjemploEmaSchedule.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

