TPP Extract FHIR Mapping: Difference between revisions

From Discovery Data Service
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


== SRAppointment ==
== SRAppointment ==
{| class="mw-collapsible" border="1" style="border-collapse:collapse; text-align: center;  vertical-align:top; width:70%;"
! style="color:#90A4AE" |'''Publisher'''
! style="color:#90A4AE" |DDS Core
! colspan="2" style="color:#90A4AE" |Compass V2
|- style="background-color:#90A4AE; color: white; vertical-align: top;"
! scope="col" width="15%" |Field Name
! scope="col" width="25%" |FHIR
! scope="col" width="15%" |Table
! scope="col" width="15%" |Field
|-
|RowIdentifier
|Appointment::Id
|appointment
|id
|+
|-
| rowspan="2" |DateStart
|Appointment::Start 
| rowspan="2" |appointment
| rowspan="2" |start_date
|-
|Slot::Start
|-
| rowspan="2" |DateEnd
|Appointment::end
| rowspan="2" | -
| rowspan="2" | -
|-
|Slot::end
|-
|AppointmentStatus
|Appointment::Status (=Value)
|appointment
|appointment_status_concept_id
|-
| rowspan="2" |DateAppointmentBooked
|Appointment::appointment-booking-date-
| rowspan="2" | -
| rowspan="2" | -
|-
|extension::DateValue*
|-
| rowspan="2" |DatePatientArrival
|Appointment::primarycare-appointment-sent-in-extension::DateTimeValue
| rowspan="2" |appointment
|date_time_sent_in
|-
|Appointment::Status (=Arrived)
|appointment_status_concept_id
|-
| rowspan="2" |DatePatientSeen
|Appointment::primarycare-appointment-left-extension::DateTimeValue
| rowspan="2" |appointment
|date_time_left
|-
|Appointment::Status (=Fulfilled)
|appointment_status_concept_id
|}
{| class="mw-collapsible" border="1" style="border-collapse:collapse; text-align: center;  vertical-align:top; width:70%;"
{| class="mw-collapsible" border="1" style="border-collapse:collapse; text-align: center;  vertical-align:top; width:70%;"
! style="color:#90A4AE" |'''Publisher'''
! style="color:#90A4AE" |'''Publisher'''
Line 116: Line 57:
|date_time_left
|date_time_left
appointment_status_concept_id
appointment_status_concept_id
|-
|TelephoneAppointment
|Appointment::Type::Value
|appointment_additional
|property_id  (type), text
|-
|IDProfileClinician
|Schedule::primarycare-recorded-by-extension::ReferenceValue*
| -
| -
|-
|DateAppointmentCancelled
|Appointment::appointment-cancellation-date-extension::DateValue*
| -
| -
|-
|IDRota
|Slot::Schedule::Reference *
|appointment
|schedule_id
|-
|IDPatient
|Appointment::Participant::Reference  *
|appointment
|patient_id
|-
|RemovedData
| -
| -
| -
|}
|}
== SRCcg ==

Revision as of 12:41, 29 August 2023

To see the latest Compass V2 schema, please see Discovery Remote Subscriber Database Familiarisation#Data_Mapping.

The number of extract tables received differs wildly across each of the community organisations, from 20 up to 66 of the total possible SystmOne extract total of 194.

The existing TPP inbound transform processes 36 schema files. Two tables, SRRecall and SRRecordStatus are received and transformed for GP S1 systems, but not Community.

SRAppointment

Publisher DDS Core Compass V2
Field Name FHIR Table Field
RowIdentifier Appointment::Id appointment id
DateStart Appointment::Start

Slot::Start

appointment start_date
DateEnd Appointment::end

Slot::end

- -
AppointmentStatus Appointment::Status (=Value) appointment appointment_status_concept_id
DateAppointmentBooked Appointment::appointment-booking-date-extension::DateValue* - -
DatePatientArrival Appointment::primarycare-appointment-sent-in-extension::DateTimeValue

Appointment::Status (=Arrived)

appointment date_time_sent_in

appointment_status_concept_id

DatePatientSeen Appointment::primarycare-appointment-left-extension::DateTimeValue

Appointment::Status (=Fulfilled)

appointment date_time_left

appointment_status_concept_id

TelephoneAppointment Appointment::Type::Value appointment_additional property_id (type), text
IDProfileClinician Schedule::primarycare-recorded-by-extension::ReferenceValue* - -
DateAppointmentCancelled Appointment::appointment-cancellation-date-extension::DateValue* - -
IDRota Slot::Schedule::Reference * appointment schedule_id
IDPatient Appointment::Participant::Reference * appointment patient_id
RemovedData - - -

SRCcg