Changeset 1422


Ignore:
Timestamp:
May 5, 2012, 4:17:58 PM (12 years ago)
Author:
George Lilly
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmts/trunk/p/C0XXFRM.m

    r1421 r1422  
    2222TEST1 ; test GRAPHY
    2323 ;
    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
    2934 S GRAPH="/test/gpl/graph"
    3035 S SUBJECT="/test/gpl/match"
    3136 D GRAPHY("G2","G",GRAPH,SUBJECT) ; CONVERT TO GRAPH
     37 W !
    3238 ZWR G2
    3339 ;
     
    4955 . N ZO
    5056 . S ZO=$$ANONS^C0XF2N ; anonomous subject
    51  . S @ZOUT@(ZSUB,ZP)=ZO
    52  . S @ZOUT@(ZO,"rdf:id")=ZJ
     57 . S @ZOUT@(ZSUB,ZP,ZO)=""
     58 . S @ZOUT@(ZO,"rdf:id",ZJ)=""
    5359 . N ZK S ZK=""
    5460 . 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)))=""
    5662 . . D GRAPHY(ZOUT,$NA(@ZIN@(ZP,ZJ,ZK)),ZGRF,ZO)
    5763 ;
Note: See TracChangeset for help on using the changeset viewer.