DSIR GET PATIENT DISC HIST

TITLEVALUE
NAMEDSIR GET PATIENT DISC HIST
DESCRIPTIONThis routine returns the data nescessary for the patient disclosure
history report.

Required fields for this report:

From 19620 FIELD From 19620.1 FIELD
--------------------- ---------------------
RequestIEN .01 DocumentCaption .05
DateReceived 10.06 DocumentDate .07
Requestor .11
Reason 10.02
RequestorType 10.04
Status 10.08
Comment .31
TAGDISHISTR
ROUTINEDSIROIR
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPAT
DESCRIPTIONPAT = fully qualified patient pointer

Examples: "125325;DPT("
"152;DSIR(19620.96,",
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFRDT
DESCRIPTIONFRDT is the starting date which will be reported on.

FILEMAN date format - 3101225 = Dec 25,2010
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH7

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERTODT
DESCRIPTIONTODT is the ending date which will be reported on.
This is an optional field and if not provided, the current date will be
used.

FILEMAN date format - 3101225 = Dec 25,2010
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH20

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturn Array
-1^Missing Start Date!
-2^No Records Found!
The return array will contain strings formatted in groups (one per
request) as follows:
$$REQUEST$$^IEN^DateRecieved^Requestor^Reason^RequestorType^Status
$$COMMENT1$$^Comment line 1 text
$$COMMENT2$$^Comment line 2 text
$$COMMENT3$$^Comment line 3 text
$$DOCUMENT$$^Document Caption^Document Date (one line per document)
$$ENDOFDOCS$$
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED