MASTER PATIENT INDEX |
Birmingham |
Subscriber: MPI Austin
Method: The MPI Austin software would like to look at
^HLCS(870,"C",site ien) for a screen to only allow the
selection of a site that has a HL7 logical link established.
Details: The code used by MPI code to access the "C" cross-reference
is shown below.
ASKST() ;
N DIC,X,Y,DTOUT,DUOUT
SITE S DIC="^DIC(4,",DIC(0)="QEAM",DIC("A")="Select the
site to send to: "
S DIC("S")="I $D(^HLCS(870,""C"",+Y))"
D ^DIC
I $D(DTOUT)!($D(DUOUT)) Q 0
I Y<1 G SITE
Q $$STA^XUAF4(+Y)
|
KERNEL |
Oakland |
Subscriber: Kernel Master File Server (MFS)
Method: MFS uses the ^HLCS(870,"C",SITE-IEN,LINK-IEN) cross-reference
to determine which sites are to receive update messages.
Details: The code used when accessing the "C" cross-reference is shown
below.
S (I,J)=0
F S I=$O(^HLCS(870,"C",I)) Q:'I D
.S J=$O(^HLCS(870,"C",I,0)) Q:'J
.S LLNK=$P($G(^HLCS(870,J,0)),U)
.S HLL("LINKS",I)="XUMF MFK^"_LLNK
(See integration agreement# 3734 for access of piece one(1)
of the zero node.)
|
OUTPATIENT PHARMACY |
|
SUBSCRIBING PACKAGE: Outpatient Pharmacy
Method: OneVA Pharmacy, as part of Outpatient Pharmacy, would like to use
^HLCS(870,"C",site ien) to find the MAILMAN DOMAIN (#.03) and use it to create
the Fully Qualified Domain Name.
Details: The code used by PSO to access the "C" cross-reference is shown
below.
Routine PSORWRAP
FQDN(SITE,IEN4) ; get Fully Qualified Domain Name
;
I $G(IEN4)="",$G(SITE)="" Q "" ; Need site # or institution file IEN
;
I $G(IEN4)="" D Q:$G(IEN4)="" ""
.S IEN4=$$FIND1^DIC(4,,"X",SITE,"D","I
$P(^(0),U,11)=""N"",'$P($G(^(99)),U,4)")
;
N PSOHLNK,RMSDOM
S PSOHLNK=$O(^HLCS(870,"C",IEN4,0)) ; get first entry (should only be
one but you never know) IA#3550
Q:'$G(PSOHLNK) ""
;
S RMSDOM=$$GET1^DIQ(870,PSOHLNK,.03,"E") ; get domain name IA#3335
Q:$G(RMSDOM)="" ""
;
S:$$PROD^XUPROD() RMSDOM="HL7."_RMSDOM ; prefix domain name
Q RMSDOM
|