S dispo table: Difference between revisions
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The ''' | {{DISPLAYTITLE:s_dispo table}}The '''s_dispo''' table in [[CCMDB.accdb]] contains the possible values for the following fields: | ||
* [[Pre-admit Inpatient Institution field]] | * [[Pre-admit Inpatient Institution field]] | ||
* [[Previous Location field]] | * [[Previous Location field]] | ||
* [[Dispo field]] | * [[Dispo field]] | ||
* [[Service/Location field]] - i.e. it contains the [[Site and Location table]] | * [[Service/Location field]] - i.e. it contains the [[Site and Location table]] | ||
{{DJ | | |||
* "Hospice - other, WPG" is currently not grouped as Hospital {{=}} "Other Institution in WPG" as the other hospices - should it be? [[User:Ttenbergen|Ttenbergen]] 17:03, 11 March 2025 (CDT) | |||
}} | |||
== Data Structure == | == Data Structure == | ||
| Line 24: | Line 31: | ||
|| '''ward''' || text || ward name only, e.g. A1 for HSC_A1 | || '''ward''' || text || ward name only, e.g. A1 for HSC_A1 | ||
|- | |- | ||
|| '''hospital''' || text || hospital if one where we collect | || '''[[s_dispo.hospital]]''' || text || hospital if one where we collect | ||
|- | |- | ||
|| '''loc_type''' || text || [[S dispo.loc type]] | || '''[[s_dispo.loc_type]]''' || text || [[S dispo.loc type]] | ||
|- | |- | ||
|| '''geog''' || text || geographical area (in town, out of province, etc) | || '''[[s_dispo.geog]]''' || text(20) || geographical area (in town, out of province, etc) | ||
|- | |- | ||
|| '''[[MB_RHA]]''' || text || regional health authority the institution is | || '''[[s_dispo.geoRegion]]''' || text(17) || geographical region | ||
|- | |||
|| '''[[MB_RHA]]''' || text(7) || regional health authority the institution is administered by | |||
|- | |- | ||
|| '''notes''' || text || general notes about record | || '''notes''' || text || general notes about record | ||
| Line 36: | Line 45: | ||
|| '''question''' || text || questions while we implement, can be deleted after | || '''question''' || text || questions while we implement, can be deleted after | ||
|- | |- | ||
|| '''inpatient''' || yes/no || is an inpatient location, used by [[Pre-admit Inpatient Institution field]] drop-down and cross | || '''[[s_dispo.inpatient]]''' || yes/no || is an inpatient location, used by [[Pre-admit Inpatient Institution field]] drop-down and [[cross check]]s | ||
|- | |- | ||
|| '''previous_location''' || yes/no || can be used as [[Previous Location field]] | || '''previous_location''' || yes/no || can be used as [[Previous Location field]] | ||
| Line 42: | Line 51: | ||
|| '''surgical''' || yes/no || is a location where actual surgeries happpen (used by e.g. [[Check ORDx]]) (ie not just a surgical ward) | || '''surgical''' || yes/no || is a location where actual surgeries happpen (used by e.g. [[Check ORDx]]) (ie not just a surgical ward) | ||
|- | |- | ||
|| '''meanLOS3STD''' || integer || used by LOS | || '''[[s_dispo.meanLOS3STD]]''' || integer || used by [[Function long LOS()]] | ||
|- | |- | ||
|| '''s_location''' || yes/no || can be used as [[Site and Location table|location]] | || '''s_location''' || yes/no || can be used as [[Site and Location table|location]] | ||
| Line 52: | Line 61: | ||
|| '''acuity_level''' || yes/no || logical delete from dropdowns | || '''acuity_level''' || yes/no || logical delete from dropdowns | ||
|- | |- | ||
|| '''program''' || text || CC or Med, used for rows where '''real_name''' is one of our locations only | || '''[[s_dispo.program]]''' || text || CC or Med, used for rows where '''real_name''' is one of our locations only | ||
|- | |- | ||
|| '''colour''' || text || colour code for patient list view | || '''colour''' || text || colour code for patient list view | ||
|- | |- | ||
|| '''center''' || long integer|| chronological order sequence of the site and ward used in generating report (e.g. teaching hospitals first followed by community hospitals) | || '''[[S_dispo.center]]''' || long integer|| chronological order sequence of the site and ward used in generating report (e.g. teaching hospitals first followed by community hospitals); also used to combine [[Change of remaining location names from "our" names to EPR/Cognos names | old and new names of locations]] for reporting | ||
|} | |} | ||
| Line 73: | Line 82: | ||
| todo_action = 2022-02-10 | | todo_action = 2022-02-10 | ||
}} | }} | ||
{{Foreign key | |||
| foreign_key_table=L_Log | |||
| foreign_key_field=Previous Location | |||
| primary_key_table=s_dispo | |||
| primary_key_field=dispo_ID}} | |||
{{Foreign key | |||
| foreign_key_table=L_Log | |||
| foreign_key_field=Pre-admit Inpatient Institution | |||
| primary_key_table=s_dispo | |||
| primary_key_field=dispo_ID}} | |||
<!-- {Foreign key | |||
| foreign_key_table=L_Log | |||
| foreign_key_field=Service/Location | |||
| primary_key_table=s_dispo | |||
| primary_key_field=dispo_ID} --> | |||
{{Foreign key | |||
| foreign_key_table=L_Log | |||
| foreign_key_field=Dispo | |||
| primary_key_table=s_dispo | |||
| primary_key_field=dispo_ID}} | |||
==Log== | ==Log== | ||
| Line 81: | Line 111: | ||
{{Related Articles}} | {{Related Articles}} | ||
[[Category: Data structure]] | [[Category:Data structure]] | ||
[[Category: 2016 Time and Place changes]] | [[Category:2016 Time and Place changes]] | ||
[[Category: S dispo table| *]] | [[Category:S dispo table| *]] | ||