| TITLE | VALUE | |
|---|---|---|
| NAME | HMP PATIENT SELECT | |
| DESCRIPTION | Selects patients by search criteria and returns basic patient and demographic information for patients found in search. | |
| TAG | SELECT | |
| ROUTINE | HMPPTRPC | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | CRITERIA | |
| DESCRIPTION | The type of search to perform. May be one of the following values: LAST5 - "last5" format of ssn (i.e., patient's last intial + last4 of ssn) NAME - search by patient name, can be partial name ICN - select patient by ICN PID - select patient by PID | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 10 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | SEARCH TERM | |
| DESCRIPTION | Term to search for when looking up patient. Should match type specified in CRITERIA. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 60 | |
| RETURN VALUE TYPE | ARRAY | |
| RETURN PARAMETER DESCRIPTION | Returns a list of patient data, one line per patient, in format: Full Name^Family Name^Given Name(s)^Display Name^Gender Code^Gender Name^SSN^Last4^Last5^Date of birth^Sensitive^LocalId^PID^ICN^Summary Or returns -1^Error message if error If no patients found, returns empy list | |
| AVAILABILITY | ||
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | ||
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||