Name | Value |
---|---|
NAME | PXVIMM VIMM DATA |
TAG | RPC |
ROUTINE | PXVRPC7 |
RETURN VALUE TYPE | GLOBAL ARRAY |
AVAILABILITY | SUBSCRIPTION |
WORD WRAP ON | FALSE |
DESCRIPTION | Returns immunization records from the V Immunization and V Immunization FILTER will be ignored). If an invalid IEN was passed in, the following error will be returned: "Record with IEN #xxx does not exist." If the record could not be returned for some other reason, the following error will be returned: "Unable to return record with IEN #xxx." 2. A time range (and other filter criteria) can be passed in FILTER, and Deleted file. There are two methods for defining the criteria to determine a list of records that meet that criteria will be returned. Any record last modified or deleted (if FILTER("INC DELETE")=1) within that time range will be returned. To limit the number of records returned, FILTER("MAX") can be set to the maximum number of records to be returned. The RPC will return a value called "BOOKMARK". That value can be used to call the RPC again, this time passing in the "BOOKMARK" value in FILTER("BOOKMARK") (all other parameters should be defined exactly as when previously called), and the RPC will return the next n number of which records to return. records that meet the search criteria, and starting where the previous call left off. So for example, if there are 1,000 records that meet the search criteria, and FILTER("MAX") is set to return a maximum of 100 records, the RPC will need to be called 10 times in order to return all 1,000 records. Each subsequent time the RPC is called, the caller would set FILTER("BOOKMARK") to the bookmark value returned in the previous call. The caller would know when they reach the end and that there are no more records to be returned, when the RPC returns TOTAL ITEMS=0. Note: All date/time references are to be in FileMan format. 1. A specific list of record IDs can be passed in, and only those records will be returned (if they exist on the system). When called in this way, the list of records should be passed in LIST, and FILTER should not be defined (if both LIST and FILTER are defined, only the records listed in LIST will be returned, and the search criteria in |
INPUT PARAMETER |
|
RETURN PARAMETER DESCRIPTION | A list of records that meet the search criteria. o IMM-UPDATE - Used wehn the immunizatin record was edited (and the caller did not pass in DATE). o IMM-UPDATE-BEFORE/IMM-UPDATE-AFTER - Used when the immunizatin record was edited and the called passed in DATE. Two objects will be returned. The IMM-UPDATE-BEFORE object will be the way the record existed before that date, and the IMM-UPDATE-AFTER will be the current state of the record. For more details on the fields and attributes of the immunization and patient objects, please see the documentation. Each item returned will contain an immunization object, and if demographics are requested, a patient object. The immunization object can be called: IMM-ADD, IMM-DELETE, IMM-UPDATE, IMM-UPDATE-BEFORE, or IMM-UPDATE-AFTER. o IMM-ADD - Used when the immunization record is a "new" record. o IMM-DELETE - Used when the immunizatin record is a deleted record. |