@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 -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Appointment/ExampleAppointmentReferralIntake> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleAppointmentReferralIntake"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-appointment" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-appointment>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  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 ExampleAppointmentReferralIntake</b></p><a name=\"ExampleAppointmentReferralIntake\"> </a><a name=\"hcExampleAppointmentReferralIntake\"> </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-vn-core-appointment.html\">Cuộc hẹn khám bệnh VN Core — VN Core Appointment Profile</a></p></div><p><b>status</b>: Booked</p><p><b>specialty</b>: <span title=\"Codes:\">Nội tim mạch</span></p><p><b>appointmentType</b>: <span title=\"Codes:\">Tái khám sau chuyển tuyến</span></p><p><b>reasonCode</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-icd10-cs I40.9}\">Theo dõi sau viêm cơ tim cấp</span></p><p><b>start</b>: 2026-04-28 08:00:00+0700</p><p><b>end</b>: 2026-04-28 08:30:00+0700</p><p><b>created</b>: 2026-04-21 05:55:00+0700</p><p><b>comment</b>: Mang theo tóm tắt ra viện và kết quả ECG của đợt cấp cứu 20–21/04/2026.</p><p><b>basedOn</b>: <a href=\"ServiceRequest-ExampleServiceRequestCounterReferral.html\">Giấy chuyển về tuyến dưới sau đợt cấp cứu</a></p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"PractitionerRole-ExamplePractitionerRoleTramYTe.html\">Bác sĩ Trần Văn Minh — Trạm Y tế phường Ngọc Hà</a></p><p><b>status</b>: Accepted</p></blockquote></div>"
  ] ;
  fhir:Appointment.status [ fhir:value "booked"] ;
  fhir:Appointment.specialty [
     fhir:index -1 ;
     fhir:CodeableConcept.text [ fhir:value "Nội tim mạch" ]
  ] ;
  fhir:Appointment.appointmentType [
     fhir:CodeableConcept.text [ fhir:value "Tái khám sau chuyển tuyến" ]
  ] ;
  fhir:Appointment.reasonCode [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-icd10-cs" ] ;
       fhir:Coding.code [ fhir:value "I40.9" ] ;
       fhir:Coding.display [ fhir:value "Acute myocarditis, unspecified" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Theo dõi sau viêm cơ tim cấp" ]
  ] ;
  fhir:Appointment.start [ fhir:value "2026-04-28T08:00:00+07:00"^^xsd:dateTime] ;
  fhir:Appointment.end [ fhir:value "2026-04-28T08:30:00+07:00"^^xsd:dateTime] ;
  fhir:Appointment.created [ fhir:value "2026-04-21T05:55:00+07:00"^^xsd:dateTime] ;
  fhir:Appointment.comment [ fhir:value "Mang theo tóm tắt ra viện và kết quả ECG của đợt cấp cứu 20–21/04/2026."] ;
  fhir:Appointment.basedOn [
     fhir:index -1 ;
     fhir:link <http://fhir.hl7.org.vn/core/ServiceRequest/ExampleServiceRequestCounterReferral> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/ExampleServiceRequestCounterReferral" ] ;
     fhir:Reference.display [ fhir:value "Giấy chuyển về tuyến dưới sau đợt cấp cứu" ]
  ] ;
  fhir:Appointment.participant [
     fhir:index -1 ;
     fhir:Appointment.participant.actor [
       fhir:link <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
       fhir:Reference.reference [ fhir:value "Patient/ExamplePatientNguyenVanAn" ] ;
       fhir:Reference.display [ fhir:value "Nguyễn Văn An" ]
     ] ;
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ], [
     fhir:index -1 ;
     fhir:Appointment.participant.actor [
       fhir:link <http://fhir.hl7.org.vn/core/PractitionerRole/ExamplePractitionerRoleTramYTe> ;
       fhir:Reference.reference [ fhir:value "PractitionerRole/ExamplePractitionerRoleTramYTe" ] ;
       fhir:Reference.display [ fhir:value "Bác sĩ Trần Văn Minh — Trạm Y tế phường Ngọc Hà" ]
     ] ;
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Appointment/ExampleAppointmentReferralIntake.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

