Convert Start and Limit Relative dates to FileMan Format for RPMS Vitals

This commit is contained in:
cje 2009-09-16 13:04:42 +00:00
parent 1ee4904d35
commit 24bc8be94b
1 changed files with 3 additions and 2 deletions

View File

@ -200,9 +200,10 @@ VITVISTA ; EXTRACT VITALS FROM VISTA INTO PROVIDED XML TEMPLATE
;
VITRPMS ; EXTRACT VITALS FROM RPMS INTO PROVIDED XML TEMPLATE
; RPMS VITAL RPC ONLY RETURNS LATEST VITAL IN SPECIFIED DATE RANGE NOT ALL VITALS IN DATE RANGE
; WE NEED TO SETUP THE VARIABLES THE INTERNAL CALL NEEDS TO BYPASS A HARD CODE OF ONE VITAL
; WE NEED TO SETUP THE VARIABLES THE INTERNAL CALL NEEDS TO BYPASS A HARD CODE OF ONE VITAL FOR DATE RANGE
N END,START,DATA
S END=C0CVLMT,START=C0CVSTRT
D DT^DILF("",C0CVLMT,.END)
D DT^DILF("",C0CVSTRT,.START)
; RPC OUTPUT FORMAT:
; vfile ien^vital name^vital abbr^date/time taken(FM FORMAT)^value+units (US & metric)
D QUERY^BEHOVM("LISTX") ; RUN QUERY VITALS CALL