VistA Analysis » VistA Reference » RPCs » OOPS VALIDATE TIME
OOPS VALIDATE TIME
This broker call will compare two dates (which are part of the input) based on the 3rd input paramater which is a flag indicating which type of compare should be done. The RESULTS output indicates whether the dates pass (VALIDDATE) or fail (DATE ERROR) the compare.
Properties
Property | Value |
---|---|
Label | DTVALID |
MUMPS Implementation | OOPSGUI2 |
Return Type | ARRAY |
Input Parameters
Name | Type | Maximum Data Length | Required | Description |
---|---|---|---|---|
IDT | LITERAL | true | This is the base date/time in external format. In the case of testingwhether one date is before another, this would be the "base" date. | |
PDT | LITERAL | true | This is the post date or benchmark date in external format. In the example of testing if one date is earlier/less than another, this would be the latter date. | |
FLAG | LITERAL | true | This input parm indicates the type of comparison to be done. -2 means PDT must be < IDT (The DAY only)-1 means PDT must be < IDT (The DAY&TIME)0 means PDT must be = IDT (The DAY&TIME)1 means PDT must be > IDT (The DAY&TIME)2 means PDT must be > IDT (The DAY only) |
Document generated on August 31st 2022, 2:55:43 pm