Below are basic instructions for using SMS INVISION's Generic Profile Update. The "GPU" has many uses:
May be used to carry data between Precon sessions | |
Use for carrying data between screens in Assessments | |
May be used to help store data for ordersets - to keep from blowing tcls | |
May be used to link orders in ordersets | |
Some sites have used GPU to build a small service master for INVISION Pharmacy | |
Some sites have used GPU to create 'assessment sets' for INVISION assessments - they work like ordersets |
You may use GPU to update/delete members in an already existing profile. You may create a new profile for this, in any event you must know the profile name, the components names and any passwords. Instructions to create a profile
One final piece of advise, make sure that when updating the profile, that you have all components valued in the auda for that member or else you may loose data. Don't assume if a piece of data was valued that it will stay valued if not specified, because it probably won't be.
Using GPU to Update data:
To add or edit data, you run $P=PFOPRUPU, make sure PCFN: is set properly:
How to use:
"PCHxxKEY"=profile key - profile key | |
"PCHxxxxx"='other values' - you must set all of the profile members values, any not valued will not be set | |
":PCFN"='4' - code means do add the member or update the member | |
":PCPR"=PRHXL - profile to update | |
":PCPW"=521 - this profile's password | |
":PCEI"=1 - error indicator | |
$P=PFOPRUPU |
That should about do it!
Using GPU to Delete data:
To delete data, you still run $P=PFOPRUPU, but just value the :PCFN flag to 3:
How to use:
"PCHxxKEY"=profile key - profile key | |
":PCFN"='3' - code means delete | |
":PCPR"='PRHxx' - profile to update | |
":PCPW"=521 - this profile's password | |
":PCEI"=1 - error indicator | |
$P=PFOPRUPU |
That should about do it!