@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/core/Appointment/EjemploEmaCoreAppointment> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploEmaCoreAppointment"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/core/StructureDefinition/ema-core-appointment" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/core/StructureDefinition/ema-core-appointment>
     ]
  ] ;
  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: Appointment EjemploEmaCoreAppointment</b></p><a name=\"EjemploEmaCoreAppointment\"> </a><a name=\"hcEjemploEmaCoreAppointment\"> </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-core-appointment.html\">EMA Core Appointment</a></p></div><p><b>status</b>: Fulfilled</p><p><b>serviceType</b>: <span title=\"Codes:\">Consulta de medicina interna</span></p><p><b>description</b>: Control de diabetes tipo 2</p><p><b>start</b>: 2026-08-18 09:00:00-0400</p><p><b>end</b>: 2026-08-18 09:30:00-0400</p><p><b>slot</b>: <a href=\"Slot-EjemploEmaCoreSlot.html\">Slot: status = busy; start = 2026-08-18 09:00:00-0400; end = 2026-08-18 09:30:00-0400</a></p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-EjemploEmaCorePatient.html\">Carmen Díaz (official) Female, DoB: 1969-04-22 ( Medical record number (use: usual, ))</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"PractitionerRole-EjemploEmaCorePractitionerRole.html\">PractitionerRole: specialty = ; telecom = ph: +00 2 2345 6790</a></p><p><b>status</b>: Accepted</p></blockquote></div>"
  ] ;
  fhir:Appointment.status [ fhir:value "fulfilled"] ;
  fhir:Appointment.serviceType [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Consulta de medicina interna" ]
  ] ;
  fhir:Appointment.description [ fhir:value "Control de diabetes tipo 2"] ;
  fhir:Appointment.start [ fhir:value "2026-08-18T09:00:00-04:00"^^xsd:dateTime] ;
  fhir:Appointment.end [ fhir:value "2026-08-18T09:30:00-04:00"^^xsd:dateTime] ;
  fhir:Appointment.slot [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/core/Slot/EjemploEmaCoreSlot> ;
     fhir:Reference.reference [ fhir:value "Slot/EjemploEmaCoreSlot" ]
  ] ;
  fhir:Appointment.participant [
     fhir:index 0 ;
     fhir:Appointment.participant.actor [
       fhir:link <https://emahealth.io/fhir/core/Patient/EjemploEmaCorePatient> ;
       fhir:Reference.reference [ fhir:value "Patient/EjemploEmaCorePatient" ]
     ] ;
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ], [
     fhir:index 1 ;
     fhir:Appointment.participant.actor [
       fhir:link <https://emahealth.io/fhir/core/PractitionerRole/EjemploEmaCorePractitionerRole> ;
       fhir:Reference.reference [ fhir:value "PractitionerRole/EjemploEmaCorePractitionerRole" ]
     ] ;
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/core/Appointment/EjemploEmaCoreAppointment.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

