Sort of worked- I think the main issue here is the admission variable. Is there any way to code "admit=1" if LOS>=1 occurs at any time during the same visit date for the same identification number? I've attached a sample of the data that I get when running the above code. This person should be counted as admitted, and they are in some rows, but when I drop admit=0 I also end up dropping the fields containing the culture information and thus they aren't counted as having a culture when they really did have one. Is there any way to get every single row populated as admit=1? Then a simple browse would display all admitted individuals with cultures of interest.
-
Login or Register
- Log in with
Comment