Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: 15.111

Package: Toolkit

DUPLICATE RESOLUTION(#15.1)-->15.111

Sub-Field: 15.111


Information

Parent File Name Number Package
DUPLICATE RESOLUTION(#15.1) DUPLICATE TESTS 15.111 Toolkit

Details

Field # Name Loc Type Details
.01 DUPLICATE TEST 0;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  JUN 04, 1991
  • HELP-PROMPT:  Answer must be 3-30 characters in length.
  • DESCRIPTION:  
    Enter the name of the duplicate test you wish to run to determine if a pair of records are duplicates.
  • CROSS-REFERENCE:  15.111^B
    1)= S ^VA(15.1,DA(1),11,"B",$E(X,1,30),DA)=""
    2)= K ^VA(15.1,DA(1),11,"B",$E(X,1,30),DA)
.02 ORDER OF TEST 0;2 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  DEC 17, 1992
  • HELP-PROMPT:  Type a Number between 1 and 99, 0 Decimal Digits
  • DESCRIPTION:  
    Enter a number to represent whether you want this test run first, second, third, etc. to help in determining if a pair of records are potential duplicates.
  • CROSS-REFERENCE:  15.111^AO
    1)= S ^VA(15.1,DA(1),11,"AO",$E(X,1,30),DA)=""
    2)= K ^VA(15.1,DA(1),11,"AO",$E(X,1,30),DA)
    This cross reference is used to place the duplicate resolution tests in the order the programmers want them to be executed.
.03 DUPLICATE TEST ROUTINE 0;3 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
  • LAST EDITED:  SEP 26, 1990
  • HELP-PROMPT:  Answer must be 1-17 characters in length. No '^' allowed.
  • DESCRIPTION:  
    Enter the name of the routine which will be called to do the actual comparison of the two records for a specific field. No '^' should be included in the name.
  • TECHNICAL DESCR:  Enter the routine name without the '^' character. A label entry point reference is allowed but you must use a '-' instead of the normal '^', ex. ENTRY POINT-ROUTINE. This entry will be executed by the Kernel duplicate
    resolution software after transforming the '-' into a '^'.
.04 FILE FOR INFORMATION 0;4 POINTER TO FILE FILE (#1) FILE(#1)

  • LAST EDITED:  MAR 06, 1991
  • HELP-PROMPT:  Enter the File from which to get the information you want to compare.
  • DESCRIPTION:  
    This is the field that you wish to compare and assign a matching value. You cannot compare computed fields or any fields that are in a multiple.
  • TECHNICAL DESCR:  This field represents the field number that you wish to compare values to help in determining if a potential duplicate record pair. No multiples or computed fields are allowed. There is a screen preventing their
    selection.
    If the user enters a '??' the executable help will display all the fields that are valid choices.
  • EXECUTABLE HELP:  I $D(DZ),DZ="??" F I=0:0 S I=$O(^DD(D0,I)) Q:I'=+I W:$P(^(I,0),U,2)'["C"&('+$P(^(0),U,2)) !,I," ",$P(^(0),U,1)
  • CROSS-REFERENCE:  15.111^AZ1^MUMPS
    1)= Q
    2)= Q
    This cross reference is just used to make Fileman log the response so that the input transform on the FIELD TO BE CHECKED can refer to the $P value of this field.
.05 FIELD TO BE CHECKED 0;5 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %=$S('$P(^VA(15.1,DA(1),11,DA,0),U,4):DA(1),1:$P(^(0),U,4)) X "I $D(^DD(%,X,0)) S %=^(0) I $P(%,U,2)'[""C"",$P($P(%,U,4),"";"",2)" K:'$T X
  • LAST EDITED:  DEC 17, 1992
  • HELP-PROMPT:  Enter a field # (e.g. .05), it cannot be a computed field or a multiple. If you enter a '??' you will get a list of possible fields.
  • DESCRIPTION:  
    This is the field that you wish to compare and assign a matching value. You cannot compare computed fields or any fields that are in a multiple.
  • TECHNICAL DESCR:  This field represents the field number that you wish to compare values to help in determining if a potential duplicate record pair. No multiples or computed fields are allowed. There is a screen preventing their
    selection.
    If the user enters a '??' the executable help will display all the fields that are valid choices.
  • EXECUTABLE HELP:  I $D(DZ),DZ="??" S %=$S('$P(^VA(15.1,DA(1),11,DA,0),U,4):DA(1),1:$P(^(0),U,4)) F I=0:0 S I=$O(^DD(%,I)) Q:I'=+I W:$P(^(I,0),U,2)'["C"&('+$P(^(0),U,2)) !,I," ",$P(^(0),U,1)
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
.06 SUCCESSFUL MATCH WEIGHT 0;6 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  JAN 27, 1997
  • HELP-PROMPT:  Type a Number between 0 and 100, 0 Decimal Digits
  • DESCRIPTION:  
    This is the value given towards determing if a pair of records are potential duplicates.
  • TECHNICAL DESCR:  This is the value given towards determing if a pair of records are potential duplicates. This should be the maximum number of points awarded if the field from both records exactly matched.
    In the Duplicate Test routine fractions of this value will be awarded based on whether there was an exact match or some partial match.
.07 UNSUCCESSFUL MATCH WEIGHT 0;7 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>0)!(X<-100)!(X?.E1"."1N.N) X
  • LAST EDITED:  JAN 27, 1997
  • HELP-PROMPT:  Type a Number between -100 and 0, 0 Decimal Digits
  • DESCRIPTION:  
    This is the value that should be subtracted from the total number of points awarded in determining if a pair of records are potential duplicates.
  • TECHNICAL DESCR:  This is the value that should be subtracted from the total number of points awarded in determing if a pair of records are potential duplicates.
    In other words, when there is no type of match that can be made on the field in the two records this negative score will be assigned to the checking algorithm.
Info |  Details