MDCLIO1 ;HINES OIFO/DP - CliO backend driver (Continuation);02 Sep 2005
Source file <MDCLIO1.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| GETPT | ; Does an old style lookup on file 2 so that we don't have to use a PK
|
|
| GETESIG | ; Returns record with boolean of proper E-Sig entered
|
|
| GETKRDXA(MDPT,MDSTRT,MDSTOP) | ; Returns all actions for patient MDPT active between MDSTRT & MDSTOP
|
|
| GETKRDXE(MDTASK,MDSTRT,MDSTOP) | ; Returns all events for Kardex Action MDTASK active between MDSTRT & MDSTOP
|
|
| GETGUID(X) | ; Returns a string formatted as a GUID (NO GUARANTEE OF UNIQUENESS)
|
|
| ISGUID(MDX) | ; Returns true if X is in the format of a GUID
|
|
| PXRMALL | ; Full rebuild of the Clinical Reminders Index - Only Verified sent for rebuild
|
|
| PXRMONE(MDIEN) | ; Maintain the Clinical Reminders Index
|
|
| LOGSEC | ; Logs a security hit in PIMS
|
|
| GETTIUCP | ; Gets a list of CP Class TIU notes - bypass regular lookup stuff and call directly
|
|
| GETTIUPN | ; Gets list of all Progress Note Titles
|
|
| GETUSER | ; Gets the current users record in ^VA(200,
|
|
| GETLST | ; Get a list of observations sent down in P2(0..n)=ID
|
|
| GETONE(ID) | ; Get single Observation + Children if any
|
|
| LOCATION | ; Get list of wards, clinics and non-stops
|
|
| GETSUPPG | ; Get list of supplemental/optional pages for a date range
; P2(0)=Patient DFN ; P2(1)=Start Date ; P2(2)=Stop Date |
|
| GETHL7(ID) | ; Get text of HL7 Message from 704.002 entry
|
|
| SETACL | ; Sets the ACL for an Item
|
|
| DELACL | ; Removes and item from ACL
|
|
| SUBMIT | ; Submits an HL7 message back to the queue
|
|
| QRYDATE(MDRET,MDSTRT,MDSTOP) | ; Get list of all observations by DATE/TIME
|
|
| QRYLST(MDRET,MDDFN,MDITEM,MDSTRT,MDSTOP) | ; Get list of observations by VUID or TERM NAME
|
|
| QRYOBS(MDRET,MDID) | ; Return a single observation
|
|
| QRYQUAL(MDRET,MDIEN) | ; Returns the qualifiers for obs in MDIEN
|
|
| QRYCTX(MDRET,MDID) | ; We need a terminology based context observation relationship here
|
|
| GETOBS(MDPAR) | ; Get list of observations by date
|
|
| GETBYDT | ; Get list of observations by date
|
|
| GETLOG | ; Get list of date/time pairs with data
|
|
| GETBYST | ; Get list of observations by patient, status, and date range
|
|
| AUDIT(Y) | ; Looks up the audit records for an observation in external format
|
|
| QUAL | ; Retrieves all qualifiers for an observation - MDIENS = iens of observation from MDCLIO
|
|
| SETS | ; Retrieve the sets this observation belongs to
|
|
| GETQUAL | ; Returns qualifiers of type P2(1) for term P2(0)
; Set Y to the IEN of the Term |
|
| PROCIEN(Y) | ; Converts CP DEFINITION (procedure) name to IEN
|
|
| INSTIEN(Y) | ; Converts CP INSTRUMENT name to IEN
|
|
| GETINST | ; Gathers instruments for a procedure
|
|
| ADDINST | ; Adds an instrument definition to a procedure
; This is a legacy multiple in file 702.01 so it has to be done in an odd way |
|
| DELINST | ; Deletes all instruments from a procedure definition
; This is a legacy multiple in file 702.01 so it has to be done in an odd way |
|
| GETVER | ; Get Version Information
|
|
| GETVF | ; Get View Filters
|
|
| NEWNOTE | ; Returns a new note ID
|
|
| CLRNOTE | ; Clears any text in a temporary note P2(0)=Temporary ID
|
|
| ADDTEXT | ; Adds P2(1..n) to the note in P2(0)
|
|
| SENDMAIL | ; Sends an EMail Message
|
|
| GETTIU | ; Gets Privs for note title in P2(0)
|
|
| SIGNTIU | ; Signs the note
|
|
| GETENT(X) | ; Returns the entity path upward
|
|
| OPENPAR | ; Opens and verifies a parameter Entity
|
|
| LSTPAR | ; Returns all parameter Values as a Query
; GETLST^XPAR(.List,Entity,Parameter,Format,.Error) |
|
| CLRPAR | ; Clears all settings for an entity
|
|
| SETPAR | ; Sets a single parameter value
|
|
| GETPAR | ; Gets a single parameter value
|
| FileNo | Call Tags |
|---|---|
| ^DPT - [#2] | FIND^DIC |
| ^VA(200 - [#200] | GET1^DIQ |
| ^MDS(702.01 - [#702.01] | FIND1^DIC |
| ^MDS(702.09 - [#702.09] | FIND1^DIC |
| ^MDC(704.002 - [#704.002] | FIND1^DIC |
| ^MDC(704.101 - [#704.101] | FIND1^DIC, GET1^DIQ |
| ^MDC(704.1161 - [#704.1161] | GET1^DIQ |
| ^MDC(704.117 - [#704.117] | FIND1^DIC, GET1^DIQ, GETS^DIQ |