Template:Location dropdown cleanup: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Line 53: Line 53:
WHERE (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.inpatient)=True) AND ((L_Log_PIL.CountOfD_ID) Is Null)) OR (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.previous_location)=True) AND ((L_Log_P.CountOfD_ID) Is Null)) OR (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.s_location)=True) AND ((L_Log_SL.CountOfD_ID) Is Null)) OR (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.dispo)=True) AND ((L_Log_D.CountOfD_ID) Is Null))
WHERE (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.inpatient)=True) AND ((L_Log_PIL.CountOfD_ID) Is Null)) OR (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.previous_location)=True) AND ((L_Log_P.CountOfD_ID) Is Null)) OR (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.s_location)=True) AND ((L_Log_SL.CountOfD_ID) Is Null)) OR (((s_dispo.Site) Is Not Null) AND ((s_dispo.active)=True) AND ((s_dispo.dispo)=True) AND ((L_Log_D.CountOfD_ID) Is Null))
ORDER BY s_dispo.location_name;
ORDER BY s_dispo.location_name;
}}
}}

Revision as of 12:48, 2021 October 5

Temporary template to ensure consistent messaging on this topic.



"Can we remove the items that are no longer Service/Locations, Previous Locations, Pre-admit Inpatient Institutions or dispo locations from the dropdowns?"

We can and will remove them, but that can only happen once no more laptops use them. We will need to keep track of this and then remove them when ready. If I removed them now, then any box that currently has them enter would misbehave.

  • Since no one person knows when an s_dispo item is no longer used on any laptop. Made CFE query z_s_dispo_inactivatable to check. Emailed Julie and Lisa to find out if OK to remove these from the list, and/or if there are other items that should be removed from the list. Ttenbergen 15:33, 2021 July 14 (CDT)
    • This was flagged again. Tweaked and ran the query, and found the following available and unused on currently active patients on 2021-10-05:
  • CON - OR
  • CON - recovery
  • CON ambulatory care
  • GRA ambulatory care
  • GRA_MICU
  • HSC Cardiac cath Lab
  • HSC Lennox Bell
  • HSC_A7S stepdown
  • OAK - OR
  • OAK - recovery
  • OAK ambulatory care
  • OAK Dialysis Unit
  • STB - Transitional care
  • VIC - OR
  • VIC - recovery
  • VIC - Transitional care
  • VIC ambulatory care

Some of these might still be legit just not currently used. Can any be deactivated? Sherry's question made me think that there should be more that should be taken off. It could be that there are pre-patient-follow profiles left that use the old entries, but that's a while ago, so it's also possible that collectors are not using the codes consistently. Sherry, could you give me three sample locations, and the field from which you think they should be no longer available? Ttenbergen 10:49, 2021 October 5 (CDT)

  • added: 2020-10-20
  • action: 2021-10-05
  • Cargo


  • Categories


CFE Query

query z_s_dispo_inactivatable 2021-10-05 contains the following: Template:SQL