HELP-PROMPT: ENTER SERVICE PATIENT IS TRANSFERRED FROM WHENEVER INPATIENT ORDERS ARE TO BE CANCELLED.
DESCRIPTION:
This is the service the patient has been transferred from whenever the patient's Inpatient Medications (IV and Unit Dose) orders are to be cancelled.
CROSS-REFERENCE: 59.723^B
1)= S ^PS(59.7,DA(1),23,"B",$E(X,1,30),DA)=""
2)= K ^PS(59.7,DA(1),23,"B",$E(X,1,30),DA)
CROSS-REFERENCE: 59.723^AFT0^MUMPS
1)= F Z=0:0 S Z=$O(^PS(59.7,DA(1),23,DA,1,Z)) Q:'Z I $D(^(Z,0)),$P(^(0),"^")]"" S ^PS(59.7,DA(1),23,"AFT",X,$P(^(0),"^"))=""
2)= F Z=0:0 S Z=$O(^PS(59.7,DA(1),23,DA,1,Z)) Q:'Z I $D(^(Z,0)),$P(^(0),"^")]"" K ^PS(59.7,DA(1),23,"AFT",X,$P(^(0),"^"))
3)= NEEDED BY INPATIENT ADT INTERFACE
Sets up the AFT x-ref if the FROM SERVICE is changed. This x-ref is used to determine if the patient's orders should be cancelled when the patient is transferred. It is in the form of: ^PS(59.7,site name,22,"AFT",from
Whenever a patient is transferred from the previously selected "From Service" to a service selected here as a "To Service", the patient's IV and Unit Dose orders are cancelled.