Adastra Extract FHIR Mapping: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 78: | Line 78: | ||
== Case Questions == | == Case Questions == | ||
This file contains defined questions and answers linked to a case. It is treated like a questionnaire associated with a case encounter. | This file contains defined questions and answers linked to a case. It is treated like a questionnaire associated with a case encounter. | ||
=== '''QuestionnaireResponse''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 90: | Line 92: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|CaseRef | |CaseRef | ||
| Line 106: | Line 108: | ||
== Outcomes == | == Outcomes == | ||
This files list the outcomes(s) of the case. | This files list the outcomes(s) of the case. | ||
=== '''EpisodeOfCare''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 118: | Line 122: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|CaseRef | |CaseRef | ||
| Line 129: | Line 133: | ||
== Notes == | == Notes == | ||
This file lists all patient notes linked to a case. | This file lists all patient notes linked to a case. | ||
=== '''Flag''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 140: | Line 146: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|CaseRef | |CaseRef | ||
| Line 166: | Line 172: | ||
== Patient == | == Patient == | ||
Details all the patients seen as part of the OOH service linked to a case. | Details all the patients seen as part of the OOH service linked to a case. | ||
=== '''Patient''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 177: | Line 185: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|PatientRef | |PatientRef | ||
| Line 237: | Line 245: | ||
== Consultation == | == Consultation == | ||
This file details the patient consultations associated with a case. | This file details the patient consultations associated with a case. | ||
=== '''Encounter''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 248: | Line 258: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|CaseRef | |CaseRef | ||
| Line 295: | Line 305: | ||
{{Note|These will be Snomed DM&D coded as part of phase 2.}} | {{Note|These will be Snomed DM&D coded as part of phase 2.}} | ||
=== '''MedicationStatement''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 306: | Line 318: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|CaseRef | |CaseRef | ||
| Line 339: | Line 351: | ||
== Clinical codes == | == Clinical codes == | ||
Details all the clinical codes added during a Consultation which links back to a case.<br /> | Details all the clinical codes added during a Consultation which links back to a case.<br /> | ||
=== '''Observation''' === | |||
{| 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%;" | ||
! colspan="2" style="color:#90A4AE" |'''Publisher''' | ! colspan="2" style="color:#90A4AE" |'''Publisher''' | ||
| Line 350: | Line 364: | ||
! scope="col" width="15%" |Field | ! scope="col" width="15%" |Field | ||
|- | |- | ||
|+ | |+ | ||
|- | |- | ||
|CaseRef | |CaseRef | ||
Revision as of 14:45, 27 July 2023
Case
EpisodeOfCare
This file contains details of patient out of hours case data.
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| PatientRef | Patient reference | EpisodeOfCare::Patient.reference | episode_of_care | patient_id |
| PriorityName | priority extension | EpisodeOfCare::priority.extension | - | - |
| CaseRef | id | EpisodeOfCare::id | episode_of_care | id |
| CaseNo | identifier | EpisodeOfCare::identifier | - | - |
| StartDateTime | period.start | EpisodeOfCare:period.start | episode_of_care | date_registered |
| EndDateTime | period.end | EpisodeOfCare:period.end | episode_of_care | date_registered_end |
| CaseTagName | identifier | EpisodeOfCare::identifier | - | - |
| ArrivedPCC | arrival extension | EpisodeOfCare::arrival.extension | - | - |
| UserRef | practitioner reference | EpisodeOfCare::practitioner.reference | episode_of_care | usual_gp_practitioner_id |
| ODSCode | organisation reference | EpisodeOfCare::organisation.reference | - | - |
Case Questions
This file contains defined questions and answers linked to a case. It is treated like a questionnaire associated with a case encounter.
QuestionnaireResponse
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| CaseRef | identifier also used to derive the linked Encounter reference from a pre- transform | |||
| QuestionSetName | group.title | |||
| Question | group.question.text | |||
| Answer | group.question.answer.value | |||
Outcomes
This files list the outcomes(s) of the case.
EpisodeOfCare
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| CaseRef | id | |||
| OutcomeName | outcome extension | |||
Notes
This file lists all patient notes linked to a case.
Flag
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| CaseRef | id together with patientId and ReviewDateTime | |||
| PatientRef | subject patient reference | |||
| ReviewDateTime | period.start | |||
| NoteText | code as text only | |||
| Obsolete | n/a - ignored where equals true | |||
| Active | status | |||
| UserRef | author reference | |||
Patient
Details all the patients seen as part of the OOH service linked to a case.
Patient
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| PatientRef | id | |||
| Forename | givenName | |||
| Surname | familyName | |||
| DOB | birthDate | |||
| NHSNumber | identifier | |||
| NHSNoTraceStatus | identifier | |||
| Language | communicationComponent.language CodableConcept
speaks English extension if language = English | |||
| Ethnicity | enthnicity extension (only attempt match if field 27 blank) | |||
| Gender | gender | |||
| RegistrationType | episode of care registration type extension | |||
| HomeAddressBuilding | address.line, use = HOME | |||
| HomeAddressStreet | address.line, use = HOME | |||
| HomeAddressTown | address.town, use = HOME | |||
| HomeAddressLocality | address.line, use = HOME | |||
| HomeAddressPostcode | address.postcode, use = HOME | |||
| MobilePhone | contactPoint, use = MOBILE | |||
| HomePhone | contactPoint, use = HOME | |||
| EthnicCode | enthnicity extension | |||
Consultation
This file details the patient consultations associated with a case.
Encounter
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| CaseRef | EpisodeOfCare reference
Used to derive Patient reference | |||
| ConsultationRef | id | |||
| StartDateTime | period.start | |||
| EndDateTime | period.end | |||
| CaseType | CodableConcept encounter_source | |||
| History | Observation.comments linked to Encounter | |||
| Examination | Observation.comments linked to Encounter | |||
| Diagnosis | Observation.comments linked to Encounter | |||
| TreatmentPlan | Observation.comments linked to Encounter | |||
| PatientName | n/a - Patient reference used | |||
| PatientForename | n/a - Patient reference used | |||
| PatientSurname | n/a - Patient reference used | |||
| UserRef | Participant Primary Performer reference | |||
Prescriptions
Details the drug items given during the Consultation which links back to a case.
| These will be Snomed DM&D coded as part of phase 2. |
MedicationStatement
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| CaseRef | id = CaseRef + ConsulationRef + PatientId
Used to derive Patient reference | |||
| ConsultationRef | Used to derive effectiveDate, i.e. same as consultation date and practitioner from
Consultation UserRef Encounter reference | |||
| DrugName | CodableConcept.code.text | |||
| Preparation | units extension | |||
| Dosage | dosage | |||
| Quantity | quanity extension | |||
| DMDCode | CodableConcept.code | |||
| Issue | if (not N) then creates linked MedicationOrder resource | |||
Clinical codes
Details all the clinical codes added during a Consultation which links back to a case.
Observation
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| CaseRef | id = CaseRef + ConsulationRef + ClinicalCode
Used to derive Patient reference | |||
| ConsultationRef | Used to derive effectiveDate, i.e. same as consultation date and the UserRef of the consultation for the Observation clinician
Encounter reference | |||
| ClinicalCode | CodableConcept.code as Read2. Also mapped to Snomed. | |||
| Term | CodableConcept.code.text as Read2. Also mapped to Snomed. | |||
Provider
Details the patient GP practice and locations.
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| GPPracticeNatCode | Organization.identifier.value | |||
| GPPracitceName | Organization.name | |||
| GPPracticePostcode | Organization.address.postcode | |||
Users
Details the clinical users/practitioners, linking into all UserRef references in other resources.
| Publisher | DDS Core | Compass V2 | ||
|---|---|---|---|---|
| Field Name | Data/Coding Type | FHIR | Table | Field |
| UserRef | id | |||
| Forename | HumanName.given | |||
| Surname | HumanName.family | |||
| FullName | HumanName.text | |||
| ProviderGMC | if a GP, create an http://endeavourhealth.org/fhir/Identifier/gmc-number identifier | |||
| ProviderNMC | if a Nurse, create an http://endeavourhealth.org/fhir/Identifier/nmc-number identifier | |||