GMRVPCE0 ;HIOFO/RM,FT-Data Event Driver for Vitals ;3/7/05 10:34
Source file <GMRVPCE0.m>
| Package | Total | Call Graph | 
|---|---|---|
| General Medical Record - Vitals | 3 | PCE^GMRVPCE1 HELP^GMRVPCE2 ($$UNITRATE,$$VALID)^GMRVPCE3 | 
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| VMTYPES(TYPE) | ; This function returns one if TYPE is a valid selection. ; from the PCE Device Interface Specification. | |
| VALIDATE(GMRVDAT) | ; Given the array GMRVDAT passed in by PCE Device ; Interface (by reference, i.e., D VALIDATE^GMRVPCE0(.ARRAY)), whose ; format is described in the PCE Device Interface documentation, this ; procedure will validate the Vitals data. If the data is invalid, ; the procedure will return GMRVDAT("ERROR") as described in the PCE ; Device Interface documentation. | |
| RATECHK(GMRVTYP,GMRVRATE,GMRVUNIT) | ; Extrinsic function to validate the ; rate for a particular measurement ; Input ; Variables: GMRVTYP=Type of measurement (abbreviation ; (req.) from PCE Device Interface Specification). ; GMRVRATE=Measurement rate to be validated. ; (req.) ; GMRVUNIT=Unit of measurement for rate, if specified. ; (opt.) ; Function value: 1 if rate is valid. ; 0 if rate is invalid. | |
| HELP(GMRVTYP,GMRVARRY) | ; This procedure will return help for a particular ; measurement type in an array. ; Input ; Variables: GMRVTYP=Type of measurement (abbreviation ; (req.) from PCE Device Interface Specification). ; GMRVARR=Closed array reference of array to return ; (opt.) help in. If this variable is not specified, ; help is returned in ^TMP($J,"GMRVHELP"). | |
| STORE(GMRVDAT) | ; Given vitals data passed in the GMRVDAT array, this ; procedure will store that data in the GMRV Patient Measurements ; (120.5) file. | 
| Name | Line Occurrences | 
|---|---|
| $$VMTYPES | HELP+9, RATECHK+13 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| GMRVARRY | HELP~, HELP+10*, HELP+11 | 
| GMRVDAT | VALIDATE~, STORE~ | 
| GMRVDAT("ERROR" | VALIDATE+7, STORE+4 | 
| GMRVFXN | RATECHK+12~*, RATECHK+15*, RATECHK+17 | 
| GMRVRATE | RATECHK~, RATECHK+13, RATECHK+14*, RATECHK+15 | 
| GMRVTYP | HELP~, HELP+9, HELP+11, RATECHK~, RATECHK+13, RATECHK+14, RATECHK+15 | 
| GMRVUNIT | RATECHK~, RATECHK+14 | 
| TYPE | VMTYPES~, VMTYPES+2 | 
| U | VMTYPES+2 |