@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 -------------------------------------------------------------------

<https://fhir.apps.health/Appointment/polaris-core-appointment-example-walk-in> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "polaris-core-appointment-example-walk-in"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.apps.health/StructureDefinition/polaris-core-appointment"^^xsd:anyURI ;
       fhir:link <https://fhir.apps.health/StructureDefinition/polaris-core-appointment>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Walk-in appointment for Avery Linwood with Dr. Navarro on June 1 2026 at 1:30 PM. No Slot reference — patient walked in without a prior booking; the appointment was created directly without consuming a pre-existing free Slot.</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-appointment-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "APPT-WALKIN-20260601" ]
  ] [
     fhir:use [ fhir:v "secondary" ] ;
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-appointment-raw-code"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "oscar-appt-99822" ]
  ] ) ; # 
  fhir:status [ fhir:v "arrived"] ; # 
  fhir:serviceType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-appointment-servicetype-raw-code"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "W" ] ;
       fhir:display [ fhir:v "Walk-in" ]
     ] )
  ] ) ; # 
  fhir:appointmentType [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0276"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "WALKIN" ] ;
       fhir:display [ fhir:v "Walk-in" ]
     ] )
  ] ; # 
  fhir:start [ fhir:v "2026-06-01T13:30:00-04:00"^^xsd:dateTime] ; # 
  fhir:end [ fhir:v "2026-06-01T13:45:00-04:00"^^xsd:dateTime] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:link <https://fhir.apps.health/Location/cedarbrook-site-a> ;
       fhir:reference [ fhir:v "Location/cedarbrook-site-a" ] ;
       fhir:display [ fhir:v "Cedarbrook Family Health Site A" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] [
     fhir:actor [
       fhir:link <https://fhir.apps.health/Patient/avery-linwood> ;
       fhir:reference [ fhir:v "Patient/avery-linwood" ] ;
       fhir:display [ fhir:v "Avery Linwood" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] [
     fhir:actor [
       fhir:link <https://fhir.apps.health/PractitionerRole/dr-navarro-familymed-role> ;
       fhir:reference [ fhir:v "PractitionerRole/dr-navarro-familymed-role" ] ;
       fhir:display [ fhir:v "Dr. Emil Navarro — Family Medicine" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

