Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

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”

...