; check if the after data is different from the before data
; i.e. detect if any change
UPDPLP(SCT,ICD,ORD)
; update patient problem list file
; SCTMAP^GMPLX1 is a CPRS problem list function which scans the patient
; data file and updates the SNOMED CT code field on the basis of the
; mapping change
;
; check for existence of function; if not found do not attempt to call
CTRL
; control
DELPLS
; remove a concept from subset
ADDPLS(PRF,SUB)
; Add the concept to the problem list subset
INPSUB(PRF,SUB)
; check if concept PRF is member of subset SUB
ACTVMAP(SRC,MAP)
; return whether active map exists for given code and
; mapping identifier
INIT
; initiate variables
;
; record data
DELIEN()
; determine IEN of record to be erased from 757.21
SUBIEN()
; get next IEN for addition to 757.21
PRFIEN(SCTCDE)
; get preferred term IEN in 757.01 for subset update