| 97 | |
| 98 | === BSDX26 (Update Note on Appointment) === |
| 99 | * Lock appointment |
| 100 | * Save !^BSDXAPPT(BSDXAPTID) into !^TMP($J) |
| 101 | * Change note in BSDX APPOINTMENT (rollback: none needed on failure) |
| 102 | * Update the note in PIMS (rollback: restore !^BSDXAPPT(BSDXAPTID) from !^TMP($J)) |
| 103 | |
| 104 | Rollback strategy: Restore from ^TMP. |
| 105 | |
| 106 | M Error Handling: none, except as a side effect of failure from BSDXAPI, while will trigger the PIMS failure rollback. |
| 107 | |
| 108 | === BSDX29 (Copying appointments from PIMS to BSDX APPOINTMENT) === |
| 109 | Transaction processing was removed from this routine; it shouldn't have been there in the first place. |
| 110 | A lock is made for before each file into BSDX APPOINTMENT for coordination. |
| 111 | |