We recently started pushing new information to a previously unused OBS term and we have been working on getting either the quicktext or patient banner code to display the latest entry in that obs term.
I've tried OBSPREV, LAST_OBS_SIGNED_VALUE, OBSANY, and LIST_OBS, but so far nothing works. The code will work for any other OBS term, just not the one we are interested in. It simply displays a blank.
To your knowledge, is there some additional requirement for pulling the OBS term in this way? I did make sure the value in the OBSHEAD table was changed to active, but maybe something else?
Thank you!
Nothing comes to mind, however:
Are you signing the update that is pushing the OBS term?
Do you check prior to saving, and review the 'Clinical Changes' to see if it is written?
Could it be a spacing issue?
Is this a custom obs term? We have multiple systems (test, production, etc.) and I have run into issues in the past where I forgot to import the clinical kit to add the custom term into all of the databases. If you don't do that you code won't work because it can't find the term.
It was an existing but inactive and unused OBS term. All I did to activate it was change the 'Active' field in the OBSHEAD table from 'I' to 'A'.
I figured out the problem.
I was inserting into the OBS table but I left the 'Change' field and the 'ABNORMAL' field as NULL, the former should have been 2 and the latter, ''