Aggregated Appointment

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

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

Description

This profile is…

This profile is not…

  • a spec for all Appointment resources returned from the Aggregated FHIR endpoint; resources sent to a Customer FHIR endpoint are not guaranteed to conform to this profile

  • a spec describing how Appointment resources must be sent to a Customer FHIR endpoint; some of the elements used in this profile might only be meaningful for migrated data and cannot be provided to a Customer FHIR endpoint

Relevant PKB entities

FHIR

PKB

Notes

FHIR

PKB

Notes

Resource id

[[Appointment.Aggregated 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

 

 

A single uploadeddata entry can result in multiple data points, so this ID does not necessarily uniquely identify a data point.

 

 

 

 

 

 

 

 

 

Note that this is a reference, unlike the meta.security which contains a code.

 

Note that this is a reference, unlike the meta.security which contains a code.

 

Note that this is a reference, unlike the meta.security which contains a code.

 

 

 

 

 

 

 

 

 

 

Appointment.identifier

 

Appointment.status

[[Appointment.Status]]

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

ACTIVE → booked
CANCELLED → cancelled
DNA → noshow

 

Appointment.serviceType

  • serviceType: CodeableConcept

    • coding[0] = [[Appointment.Type]]

 

Appointment.specialty

  • specialty: CodeableConcept

    • coding[0]: Coding

      • code = [[Data Point.Specialty]]

      • display = Resolve( [[Data Point.Specialty]] )

The Resolve() notation indicates that the display value for the corresponding specialty code will be determined at the time of retrieval, based on the (optional) code set for the source organisation.

Appointment.appointmentType

  • appointmentType: 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 participant to the response.

  • participant: BackboneElement

    • actor: Reference

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

    • status = "accepted"

 

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

  • participant: BackboneElement

    • actor: Reference

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

    • status = "accepted"

 

  • participant: BackboneElement

    • actor: Reference

      • type = “Location”

      • display = [[Appointment.Location]]

    • status = “accepted”