Generic Clinical System Forum

Welcome to Generic Clinical System Forum Sign in | Join | Help
in Search

Collecting times

Last post 11-30-2007, 9:58 by mike.mcdowall. 2 replies.
Sort Posts: Previous Next
  •  11-28-2007, 11:35 2501

    Collecting times

    The AxDateTime data type is simply not rigourous enough for our purposes. The problem is that some times are critical, but that data type fills in a default time when the user selects a date. That default time could be disastrous where timing is critical.

    I intend to use separate text boxes to collect times : one for hour and one for minutes. I need a default option of "not known". Has anyone else done this ?

    I am wondering what would be the best way to structure this for reporting. What is the easiest way to ensure that "not known" values are reported as not known, not converted to (say) 00 ?

    TIA, Mike.

  •  11-29-2007, 14:47 2508 in reply to 2501

    Re: Collecting times

    You can use the date control and set this to time, this will give you the hh:mm setting and the control checks the input. Put a check box next to the control with the header Not Known. If the user ticks the check box in the time control or enters a time that forces the check to be ticked in the time control have an event set the Not Known tick box to unticked. In your document you can check the time control, if not ticked set the value to now known.


    Erwin Oosterhoorn BSc (Hons), Analyst/Programmer

    "They can tak' oour lives, but they cannae tak' oour troousers!"
  •  11-30-2007, 9:58 2511 in reply to 2508

    Re: Collecting times

    Thanks Erwin, I'll develop that with my boss. He has never been happy with the granularity of information in NCDDP on what parts of date and time are verified or not.

    Mike :-)

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems