Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: MDAPI

Package: Clinical Procedures

Routine: MDAPI


Information

MDAPI ; HOIFO/DP/NCA - CP API Calls ; [05-05-2003 10:28]

Source Information

Source file <MDAPI.m>

Entry Points

Name Comments DBIA/ICR reference
EXTDATA(MDPROC) ; [Procedure]
; Returns 0/1 for external data needed
; Called by Consults to determine status of consult ordered
  • ICR #3378
    • Status: Active
    • Usage: Controlled Subscription
    ISTAT(MDARR) ; [Procedure] Called by Imaging to update status
    ; Input parameters
    ; 1. MDARR [Literal/Required] Array from Imaging
  • ICR #3378
    • Status: Active
    • Usage: Controlled Subscription
    ITIU(RESULTS,DFN,CONSULT,VSTRING) ; [Procedure] API for Vista Imaging
    ; This API enables VistA Imaging to retrieve/create a TIU note for
    ; a consult for attaching images to.
    ;
    ; RESULTS(0) will equal one of the following
    ; IEN of the TIU note if successful
    ; or on failure one of the following status messages
    ; -1^No patient DFN
    ; -1^No Consult IEN
    ; -1^No VString
    ; -1^Error in CP transaction
    ; -1^Unable to create CP transaction
    ; -1^Unable to create the TIU document
    ; -1^No such consult for this patient.
  • ICR #3378
    • Status: Active
    • Usage: Controlled Subscription
    TIUCOMP(MDNOTE) ; [Procedure] Post Signature action to complete transaction
    ; Input parameters
    ; 1. MDNOTE [Literal/Required] TIU IEN
  • ICR #3378
    • Status: Active
    • Usage: Controlled Subscription
    TIUDEL(MDNOTE) ; [Procedure] TIU Note deletion Update
    ; Input parameters
    ; 1. MDNOTE [Literal/Required] TIU IEN
  • ICR #3378
    • Status: Active
    • Usage: Controlled Subscription
    TIUREAS(MDFN,MDOLDC,MDANOTE,MDNDFN,MDNEWC,MDNEWV,MDNTIU) ; [Function] This is an API to clean up and update TIU note re-assignment.
    ; Input parameters
    ; 1. MDFN [Literal/Required] The Patient DFN whose TIU document is being re-assigned.
    ; 2. MDOLDC [Literal/Required] The Consult that the note is being re-assigned from.
    ; 3. MDANOTE [Literal/Required] The TIU Document IEN that is being re-assigned.
    ; 4. MDNDFN [Literal/Required] The Patient DFN who will be re-assigned the TIU document.
    ; 5. MDNEWC [Literal/Required] The consult number that will be assignment the TIU document.
    ; 6. MDNEWV [Literal/Required] The new visit for the TIU document assignment.
    ; 7. MDNTIU [Literal/Required] The new reassigned TIU document IEN.
    TRANS(STR) ; [Function] Translate the upper arrows to blanks
    ; Input parameters
    ; 1. STR [Literal/Required] Input: Text with upper arrows that needs to be removed
    GETCP(RESULTS,MDCSLT) ; API to return CP Study data
    ; Input Parameters:
    ; 1. RESULTS [Literal/Required] Return Array
    ; 2. MDCSLT [Literal/Required] Consult number

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^MDD(702 - [#702] Classic Fileman Calls,  GET1^DIQ
    ^MDD(702.001 - [#702.001] Classic Fileman Calls
    Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call