Excluding Cancelled NUR Documentation
NUR.PC.WORK.activity segment:
Documented: [NPCW,V1000000717,I,9999999,O,1,A,20071206,1708,2]
Edit: [NPCW,V1000000717,I,9999999,O,1,A,20071206,1708,2.01]
Edit: [NPCW,V1000000717,I,9999999,O,1,A,20071206,1708,2.02]
Undone: [NPCW,V1000000717,I,9999999,O,1,A,20071206,1708,2.99]
To grab the documentation by documentation instance, you want to pick up the last documentation or edit in the file; but not return anything if the last subscript ends in a .99.
You can implement a SELECT on Page 2 of NPR:
xx.cancelled EQ 0
Field: xx.cancelled
DAT=FREE
JFY=L
LEN=1
VAL=IF{@times.done[patient,int.base,int.urn,td.act.date,td.act.time,
VAL=(td.act.ctr_.99)] 1;0}

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home