Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. budoyboy

    Elapsed time in BO

    This is not my solution, I got it from another forum Ok, try this. I am going to assume that you have access to Universe designer and that the 4 columns of data are datatype "date". In designer, create "Admit Date" by concatenating admit date and admit time. Do the same for "Discharge Date"...
  2. budoyboy

    Elapsed time in BO

    I figured it out, if anyone wants a copy let me know.
  3. budoyboy

    Elapsed time in BO

    Steve you don't happen to some sample code for that???
  4. budoyboy

    Elapsed time in BO

    Thanks I have done that in Crystal.
  5. budoyboy

    Elapsed time in BO

    We have 11.5
  6. budoyboy

    Elapsed time in BO

    How do I do elapsed time in BO using date and time fields.
  7. budoyboy

    First and Last Record

    Call me a sexist pig then. Sorry for the incorrect assumption.
  8. budoyboy

    First and Last Record

    Lance Bass is a winner! He can sing, dance and write Crystal code. Thanks this works really well. Budoyboy
  9. budoyboy

    First and Last Record

    name mrn date result DOE,JOHN 1234576 8/21/2008 1.9 first test DOE,JOHN 1234576 8/22/2008 1.7 DOE,JOHN 1234576 8/23/2008 2.2 DOE,JOHN 1234576 8/24/2008 1.4 DOE,JOHN 1234576 8/25/2008 1.8 DOE,JOHN 1234576 8/26/2008 3...
  10. budoyboy

    First and Last Record

    It is sort of working. It taking the lowest test compared to the highest when it should be first compared to the highest.
  11. budoyboy

    First and Last Record

    I will try it and let you know. Thanks
  12. budoyboy

    First and Last Record

    I just found what they want is if any lab result is greater than the first lab result by 1 than flag it
  13. budoyboy

    First and Last Record

    Hello, I get lab records listed below. What I want to do in Crystal is compare the first record to the last i.e.result 1.9 to 3 and to see if the results are greater than 1(which in this case is true). Does anyome know how to look at records for one patient can compare the first and the last...
  14. budoyboy

    getting onfirstrecord to give me a 1

    Sorry it is working great thanks for your help
  15. budoyboy

    getting onfirstrecord to give me a 1

    I see what you are saying except patients get moved around i.e. new bed numbers and you get a new date entered. I would be overcounting the number of admits to the unit.
  16. budoyboy

    getting onfirstrecord to give me a 1

    The patients are all on the same floor, but different beds sometimes. What happens is that they can go from one bed to another on the same day and these patients should be counted only once. You also have patients that can stay in the same bed their whole stay and they should be counted only...
  17. budoyboy

    getting onfirstrecord to give me a 1

    Yes sort of What I am trying to do is if the account number is the same i.e. same patient and the DATE ENTERED UNIT = the DATE LEFT UNIT of the next line then give me a 1. If the account number of the enxt line match and the DEU and the DLL don't match also give me a 1. Sometimes a patient...
  18. budoyboy

    getting onfirstrecord to give me a 1

    if onfirstrecord then 1 else if (previous({ENC_ICU_ADM_VIEW.ACCOUNT_NUMBER}) ={ENC_ICU_ADM_VIEW.ACCOUNT_NUMBER} and previous({ENC_ICU_ADM_VIEW.DATE_ENTERED_LOCATION}) = {ENC_ICU_ADM_VIEW.DATE_LEFT_LOCATION}) then 0 else 1 The above code worked sort of. I am getting a 1 for the first...
  19. budoyboy

    getting onfirstrecord to give me a 1

    if not onfirstrecord then if previous({ENC_ICU_ADM_VIEW.ACCOUNT_NUMBER}) ={ENC_ICU_ADM_VIEW.ACCOUNT_NUMBER} and previous({ENC_ICU_ADM_VIEW.DATE_ENTERED_LOCATION}) = {ENC_ICU_ADM_VIEW.DATE_LEFT_LOCATION} then 0 else 1 I can get a 1 on all the records except the first one so I can get a...

Part and Inventory Search

Back
Top