| TITLE | VALUE | |
|---|---|---|
| NAME | DENTV TP ADD ENCOUNTER | |
| DESCRIPTION | This will add a new record to the dental encounter file, 228.1 | |
| TAG | ADD | |
| ROUTINE | DENTVTP2 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | DATA | |
| DESCRIPTION | DATA(sub) = value where sub Req Description --------- --- ------------------------------------------------- "PAT" x DFN - pointer to patient file "VISIT" pointer to visit file (#9000010) "APPT" scheduled appointment Fileman date.time "NEWAPPT" create visit, no scheduled appt or existing visit NOTE: VISIT supercedes APPT which supercedes NEWAPPT "LOC" x pointer to HOSPITAL LOCATION file (#44) "PROV" primary provider - pointer to NEW PERSON file if not passed then use DUZ of existing user "PATTYPE" I:inpatient; O:outpatient if not passed, then determine from MAS records "DAS CAT" x POINTER TO DENTAL CLASSIFICATION FILE (#220.2) "DAS BED" POINTER TO DENTAL BED SECTION FILE (#220.4) required if patient an inpatient "DAS DIV" x station number "DAS DIS" x 1:In progress; 2:Completed; 3:Terminated; "FLAGS" 3 bytes - each byte 0 or 1 - DATA(1) = $$START$$ DATA(2) = p1^p2^p3 Where p1 = A unique numerical identifier preceeded by a "+" p2 = Complication Type (see field description for full list) p3 = Complication Status DATA(2+n) = Word Processing Line DATA(m) = $$END$$ DATA(m+1) = $$START$$ etc... | |
| PARAMETER TYPE | LIST | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 255 | |
| RETURN VALUE TYPE | ARRAY | |
| RETURN PARAMETER DESCRIPTION | If successfully add a new record, return ien to file 228.1^message Else return -1^message If complications were also added, a seperate message will be returned regarding its status as well. | |
| AVAILABILITY | AGREEMENT | |
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||