Clinical Assessment Unit: Difference between revisions

m Inconsistencies between Previous Location and Previous Service: All inconsistencies have been cleared up so removing this section.
 
(11 intermediate revisions by 3 users not shown)
Line 16: Line 16:


On discussion with Julie it was decided to keep the s_dispo entries around and not convert them. The loc type is Ward in s_dispo which is enough when reporting - usually being  combined as <site> ward.
On discussion with Julie it was decided to keep the s_dispo entries around and not convert them. The loc type is Ward in s_dispo which is enough when reporting - usually being  combined as <site> ward.
== [[Boarding Loc]] entries ==
With [[Change of GRA location names from "our" names to EPR/Cognos names]] and patients boarding in CAU, there are some [[Boarding Loc]] of "GH-CAU". This should not really cause any problems, just documenting it here.
{{Collapsable
| always= SQL
| full=
SELECT L_TmpV2.*
FROM L_TmpV2
WHERE (((L_TmpV2.Project)="Boarding Loc") AND ((L_TmpV2.Item)="GH-CAU"));
}}
== Currrent state in CFE ==
{{Collapsable
| always= See sql to see dispo or boarding loc CAUs in CFE
| full=
Query:
SELECT L_Log.D_ID, s_dispo.location_name AS pre_admit, s_dispo_1.location_name AS previous, s_dispo_2.location_name AS SL, s_dispo_3.location_name AS dispo, tmp_CAU.Item, L_Log.Accept_DtTm, L_Log.Arrive_DtTm, L_Log.Dispo_DtTm, L_Log.RecordStatus
FROM ((((L_Log LEFT JOIN s_dispo ON L_Log.Pre_admit_Inpatient_Institution = s_dispo.dispo_ID) LEFT JOIN s_dispo AS s_dispo_1 ON L_Log.Previous_Location = s_dispo_1.dispo_ID) LEFT JOIN s_dispo AS s_dispo_2 ON L_Log.Service_Location = s_dispo_2.dispo_ID) LEFT JOIN s_dispo AS s_dispo_3 ON L_Log.Dispo = s_dispo_3.dispo_ID) LEFT JOIN (SELECT L_TmpV2.* FROM L_TmpV2 WHERE (((L_TmpV2.Item) Like "*CAU")))  AS tmp_CAU ON L_Log.D_ID = tmp_CAU.D_ID
WHERE (((s_dispo.location_name) Like "*CAU")) OR (((s_dispo_1.location_name) Like "*CAU")) OR (((s_dispo_2.location_name) Like "*CAU")) OR (((s_dispo_3.location_name) Like "*CAU"));
}}
== pre-admit inpt... ==
A quick review of the data shows that collectors are using CAUs even now. Possibly more concerningly, when CAU is the [[Previous Location]] , about 5% coded the pre-admit location as NA/Not applicable, the rest coded it as same CAU, except for a few who are mixing CAU and ER in these.
{{Discuss | who = Tina |
* Do we need to correct these old inconsistencies? [[User:Ttenbergen|Ttenbergen]] 11:09, 2021 May 5 (CDT)
** <site>  CAU has [[S dispo.loc type]] WARD in [[s_dispo table]] which implies included when reporting <site> ward. your question on inconsistencies - we can correct but not priority. Still fine as is when reporting. However the Previous service entries which is Medicine have to be changed to Family Medicine. if you have made it inactive 2021 then no more onwards, correct?  --[[User:JMojica|JMojica]] 17:13, 2022 January 26 (CST) 
*** Almost definitely correct but Tina will confirm before clearing this out. Low priority. [[User:Ttenbergen|Ttenbergen]] 15:00, 2022 January 27 (CST)}}


== Related articles ==
== Related articles ==