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
Print Page as PDF
Routine: HMPYCSO

Package: Enterprise Health Management Platform

Routine: HMPYCSO


Information

HMPYCSO ;SLC/MJK,ASMR/RRB - Convert system objects utility ;8/2/11 15:29

Source Information

Source file <HMPYCSO.m>

Entry Points

Name Comments DBIA/ICR reference
CONV(HMPDATA,HMPCNTS) ; -- execute conversion over a system object type
; input: HMPDATA("type") := object type
; - [ OPD - operational (file #800000.11) | PT - HMP (file #800000.1) / default ]
CONVOBJ(HMPFILE,IEN,HMPCB) ; -- convert object
ERROR(MSG) ; -- write out error message and inc error tally
TALLY(CNTYP) ; -- inc counter
UPDATE(HMPFILE,DA,JSON) ; -- update DATA wp field on patient object
; input: DA - internal entry number in 800000.1
; JSON - closed array reference for M representation of object
; return: 1 - update successful | 0 - update not successful (unable to obtain lock)
TASKCONV ; -- convert patient task objects
; - converts 'pid' property to SYSID;DFN (ex. F484;237)
; - removes 'patientId' property if it exists
TASKCB(OBJREF,IEN) ; -- callback that converts a 'task' object's if necessary
; - converts 'pid' property to SYSID;DFN (ex. F484;237)
; - removes 'patientId' property if it exists
Info |  Source |  Entry Points