PSSFDBDI ;BIR/LE - Sends XML Request to PEPS via HWSC for Dose Information ;01/23/12
Source file <PSSFDBDI.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(PSSGCN,PSSOUT) | ;get dosing information based on GCNSEQNO
; input: PSSGCN - GCCNSEQNO from file 50.68 |
|
RETRY | ;Retry line tag
|
|
BLDXML(GCNSEQ) | ; build and return the XML request with drug information for given GCN sequence number
; input: drug IEN from drug file (#50) ; output: returns the XML request for given GCN sequence number ; Example: where 22211 is the GCN Sequence number passed by reference at line tag EN above. ; PSSXML="<?xml version=""1.0"" encoding=""utf-8"" ?><dosingInfoRequest xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" ; xsi:schemaLocation=""gov/va/med/pharmacy/peps/external/common/preencapsulation/vo/dosing/info/request dosingInfoSchemaInput.xsd"" ; xmlns=""gov/va/med/pharmacy/peps/external/common/preencapsulation/vo/dosing/info/request""> ; <dosingInfo gcnSeqNo=""22211"" fdbdx=""999"" /> ; </dosingInfoRequest>" |
|
POST(XML,PSSGCN,PSSOUT) | ; post the XML request to PEPS server and return the routes
; input: XML request ; output: PSSOUT - array containing the list of route names for the given drug. |
|
PARSXML(DOCHAND,PSSGCN,PSSOUT) | ; read result
; @DOCHAND = Handle to XML Document ; @PSSOUT = output array |
|
PARSDOIN(DOCHAND,PSSGCN,NODE,PSSOUT) | ; parse dosingInfo element
; @DOCHAND = Handle to XML Document ; @NODE = Document node ; @PSSOUT = output array |
|
READDOIN(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2) | ; read dosingInfo attributes
; @DOCHAND = Handle to XML Document ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp |
|
PARSDORG(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2,PSSDR) | ; parse doseRange element
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp ; @PSSDR = array used for finding element with ^tmp node locations |
|
READDORG(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2,PSSDR) | ; read doseRange attributes
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp ; @PSSDR = array used for finding element with ^tmp node locations |
|
PARSDORC(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2,PSSDR) | ; parse doseRange child element
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp ; @PSSDR = array used for finding element with ^tmp node locations |
|
PARSDOMM(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2,PSSMM) | ; parse minMaxResults element ; not implemented as of PSS*1*201
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp ; @PSSMM = array used for finding element with ^tmp node locations |
|
PARSDONN(DOCHAND,PSSGCN,NODE,PSSOUT) | ; parse neonatalDoseRanges element ; not implemented as of PSS*1*201
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array |
|
READDODN(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2) | ; read dispensableDrugName element
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp |
|
READDODD(DOCHAND,PSSGCN,NODE,PSSOUT,PSSOUT2) | ; read dispensableDrugDescription element
; @DOCHAND = Handle to XML Document ; @PSSGCN = GCN passed in to API ; @NODE = Document node ; @PSSOUT = output array ; @PSSOUT2 = output array for building ^tmp |
|
SETXREFS(PSSOUT2) | ; set "A","B","C", zero node cross references & values
|
|
GETFILE(PSSDR,PSSMM) | ;
|
|
FILE | ;file structure for the temp file for each data field imported from FDB
|