Facade Appointment

http://fhir.patientsknowbest.com/structuredefinition/facade-appointment

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

Relevant PKB entities

Mappings

FHIR

PKB

Notes

FHIR

PKB

Notes

Resource id

[[Appointment.Data Point ID]]

 

Resource meta

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

 

Appointment.status

[[Appointment.Status]]

[[Appointment.Status]] code mappings (PKB → FHIR):

  • ACTIVE → booked

  • CANCELLED  → cancelled

  • DNA → noshow

 

Appointment.reason

  • reason: CodeableConcept

    • coding[0]: Coding

      • display = [[Appointment.Subject]]

 

Appointment.start

[[Appointment.Start Timestamp]]

 

Appointment.end

[[Appointment.End Timestamp]]

 

Appointment.comment

[[Appointment.Description]]

 

Appointment.participant

For 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"

 

 

For any [[Appointment->Appointment Participant]] corresponding to a [[Professional]], add a Reference to the Practitioner resource.

  • participant: BackboneElement

    • actor: Reference

      • reference = the relative URL of the Practitioner resource

      • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

    • status = "accepted"

 

 

For any [[Appointment->Appointment Participant]] corresponding to a [[Patient]] other than the patient receiving care (i.e. a carer), add a contained RelatedPerson resource to the response...

(see RelatedPerson mappings)

...and reference from the participant list.

  • participant: BackboneElement

    • actor: Reference

      • reference = a reference to the contained RelatedPerson resource

    • status = "accepted"

 

 

For any [[Appointment->External Appointment Participant]], add a contained Practitioner resource to the response...

  • Practitioner.name: HumanName

    • text = [[External Appointment Participant.Name]]

...and reference from the participant list.

  • participant: BackboneElement

    • actor: Reference

      • reference = a reference to the contained Practitioner resource

    • 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"