Appointment

https://www.hl7.org/fhir/STU3/appointment.html

Status

Released. Further enhancements planned.

Overview

The Appointment resource can be used to retrieve details of the patient's [[Appointment]]s.

Relevant PKB Entities

Endpoints

InteractionHTTPURLSupported Search ParamsPermitted User TypesDescriptionExamples (more)
searchGET/Appointment
  • patient. Required. Multi-value support: none. Modifier support: [<type>].
  • date. Optional. Multi-value support: AND. Modifier support: none. Prefix support: [eq, gt, lt, ge, le].
  • _revinclude=Provenance:target
  • Patient
  • Professional
Retrieve appointments for a specific patient, optionally restricted by date range.

In addition, can optionally include source information.
/Appointment?patient=Patient/ca9db36c-1b77-4d12-9246-d78fa5d13e8c&date=2018-07-01

/Appointment?patient=Patient/ca9db36c-1b77-4d12-9246-d78fa5d13e8c&date=2018-07-01&_revinclude=Provenance:target

Mappings

FHIRPKBNotes
Resource id[[Appointment.Data Point ID]] 
Resource meta
  • meta: Meta
    • lastUpdated = [[Data Point.Persisted Timestamp]]
    • security: Coding
      • system = "http://fhir.patientsknowbest.com/codesystem/privacy-label"
      • code = [[Data Point.Privacy Label]]
[[Data Point.Privacy Label]] code mappings (PKB → FHIR):
  • GENERAL_HEALTH → GENERAL_HEALTH
  • MENTAL_HEALTH → MENTAL_HEALTH
  • SEXUAL_HEALTH → SEXUAL_HEALTH
  • SOCIAL_CARE → SOCIAL_CARE

Appointment.extension
  • extension[0]: Extension
    • url = "http://fhir.patientsknowbest.com/structuredefinition/specialty"
    • valueCoding: Coding
      • code = [[Data Point.Specialty]]
 
Appointment.status
[[Appointment.Status]]

[[Appointment.Status]] code mappings (PKB → FHIR):
  • ACTIVE → booked
  • CANCELLED  → cancelled
  • DNA → noshow
 
Appointment.start[[Appointment.Start Timestamp]]
Appointment.end[[Appointment.End Timestamp]] 
Appointment.participantFor the [[Appointment->Appointment Participant]] corresponding to the [[Patient]], add a Reference to the Patient resource.
  • participant: BackboneElement
    • actor: Reference
      • reference = the relative URL of the Patient resource
      • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]
    • status = "accepted"
 

If PKB has a non-blank location value, then add a contained Location resource to the response...
  • Location.description = [[Appointment.Location]]
...and reference from the participant list.
  • participant: BackboneElement
    • actor: Reference
      • reference = a reference to the contained Location resource
    • status = "accepted"
     
Subpages (1): Examples
Comments