- Timestamp:
- May 5, 2012, 4:17:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XXFRM.m
r1421 r1422 22 22 TEST1 ; test GRAPHY 23 23 ; 24 S G("positiveMatch",18262)="" 25 S G("positiveMatch",18262,"DOB")="19520606^19520606" 26 S G("positiveMatch",18262,"FNAME")="GEORGE^GEORGE PHILLIP" 27 S G("positiveMatch",18262,"LNAME")="LILLY^LILLY" 28 S G("positiveMatch",18262,"SSN")=310449999 24 S G("possibleMatch",18262)="" 25 S G("possibleMatch",18262,"DOB")="19520606^19520606" 26 S G("possibleMatch",18262,"FNAME")="GEORGE^GEORGE PHILLIP" 27 S G("possibleMatch",18262,"LNAME")="LILLY^LILLY" 28 S G("possibleMatch",18262,"SSN")=310449999 29 S G("possibleMatch",18263)="" 30 S G("possibleMatch",18263,"DOB")="19520606^19531031" 31 S G("possibleMatch",18263,"FNAME")="GEORGE^FRANCIS JAMES" 32 S G("possibleMatch",18263,"LNAME")="LILLY^LILLY" 33 S G("possibleMatch",18263,"SSN")=3232221111 29 34 S GRAPH="/test/gpl/graph" 30 35 S SUBJECT="/test/gpl/match" 31 36 D GRAPHY("G2","G",GRAPH,SUBJECT) ; CONVERT TO GRAPH 37 W ! 32 38 ZWR G2 33 39 ; … … 49 55 . N ZO 50 56 . S ZO=$$ANONS^C0XF2N ; anonomous subject 51 . S @ZOUT@(ZSUB,ZP )=ZO52 . S @ZOUT@(ZO,"rdf:id" )=ZJ57 . S @ZOUT@(ZSUB,ZP,ZO)="" 58 . S @ZOUT@(ZO,"rdf:id",ZJ)="" 53 59 . N ZK S ZK="" 54 60 . F S ZK=$O(@ZIN@(ZP,ZJ,ZK)) Q:ZK="" D ; 55 . . S @ZOUT@(ZO,ZK )=$G(@ZIN@(ZP,ZJ,ZK))61 . . S @ZOUT@(ZO,ZK,$G(@ZIN@(ZP,ZJ,ZK)))="" 56 62 . . D GRAPHY(ZOUT,$NA(@ZIN@(ZP,ZJ,ZK)),ZGRF,ZO) 57 63 ;
Note:
See TracChangeset
for help on using the changeset viewer.