Schema Changes
Release Highlights
Orders linked to the note they were placed from An order placed from inside a visit note or a non-visit note, such as a phone note, now carries that note’s id. This connects orders to the visit they came from: the visit type, the diagnoses on the note, and whether the order was placed during a visit or between visits. Both columns are empty for an order created outside a note. See Ordering medical tests for your patients for how orders are placed in the chart. Working with these columns- Filter
med_order.origin = 'rx'to count prescriptions placed outside a note. Rows withorigin = 'surescripts'are imported medication history and never carry a note. - Count orders in
misc_orderswithcount(distinct id). The table has one row per order for each test and diagnosis code on it.
confidential is true when a note, report, or order is marked confidential in the chart, and confidential_marked_by_user_id names the user who marked it. confidential_marked_by_user_id is empty when the document is not confidential. See Managing confidential records for how records are marked.
This counts confidential visit notes by month, leaving out deleted notes:
screening_date is when a form such as a PHQ-9 was administered. creation_time is when it was saved in Elation. Use screening_date to report when a screening happened, and creation_time to audit when it was documented.
screening_date defaults to when the clinician opened the form, or when the patient submitted it for a patient form, so it is usually a little earlier than creation_time: minutes for forms filled out in the chart, sometimes days for patient forms. That gap on its own does not mean the form was backdated. Clinicians can also change the date, including after the form is saved. See Structured Questionnaires for the forms in the chart.
clinical_form_collection has one row per question on a form, so every row of a form carries the same screening_date.
The new columns are described in the Hosted Database schema.
If you have any questions about this topic please reach out to Elation Support Portal with the subject line HDB - <your_question>