BSTSMAP1 ;GDIT/HS/BEE-Standard Terminology API Program - Mapping Logic ; 5 Nov 2012 9:53 AM
Source file <BSTSMAP1.m>
Package | Total | Caller Graph |
---|---|---|
GUI Objects | 8 | BGOPRDD BGOPROB BGOPROB1 BGOPROB2 BGOVPOV BGOVPOV1 BGOVPOV2 BGOVPOV3 |
IHS Standard Terminology | 4 | BSTSAPIA BSTSCDET BSTSDTS0 BSTSMAP1 |
IHS Prenatal Care Module | 2 | BJPNPCHK BJPNSPRB |
IHS Patient | 1 | AUPNVUTL |
Name | Comments | DBIA/ICR reference |
---|---|---|
BCOND(CONC,CDARY) | ;Build the condition array
|
|
AF(AF) | ;Return Abnormal Findings
|
|
LAT(PRB,FH) | ;Return Laterality
|
|
PLIST(CONCID) | ;Return conditional parameters used for that concepts conditional logic
|
|
AAOD(VIEN) | ;Return Age in Days
|
|
CVPARM(TYPE,PARM) | ;Return the converted value
|
|
AAOY(VIEN) | ;Return Age in Years
|
|
HLCHC(LST) | ;Return list of healing choices for a concept
|
|
CMAP(CONC,PARMS) | ;Return the conditional ICD10 mappings for a concept
|
|
TRI(VIEN) | ;Return Trimester
|
|
SEX(VIEN) | ;Return patient sex
|
|
SEV(PRB) | ;Return Severity
|
|
BMI(VIEN) | ;Return BMI
|
|
SAVEMAP(CONCDA,BSTSC,GL) | ;Save ICD10 Condition Map Rules
|
|
HEAL(HEAL) | ;Fracture Healing
|
|
AC(CONC) | ;Return Acute/Chronic value for the concept
|
Name | Field # of Occurrence |
---|---|
^%DTC | AAOD+18 |
$$CVPARM^BSTSMAP1 | SEV+10 |
BCOND^BSTSMAP1 | CMAP+88 |
$$LASTMSR^BSTSMSR | TRI+11, BMI+11 |
$$VRSN^BSTSVICD | CMAP+121 |
^DIC | SAVEMAP+28 |
FILE^DICN | SAVEMAP+58 |
^DIK | SAVEMAP+13 |
$$IENS^DILF | SAVEMAP+34, SAVEMAP+60, BCOND+38, BCOND+48 |
$$GET1^DIQ | AAOD+11, AAOD+14, AAOD+15, AAOY+11, AAOY+14, AAOY+17, AC+10, SEX+8, SEX+9, TRI+8 , BMI+8, LAT+8, LAT+9, CMAP+91, BCOND+39, BCOND+49, BCOND+50, BCOND+51 |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^AUPNVSIT - [#9000010] | GET1^DIQ |
^AUPNPROB - [#9000011] | GET1^DIQ |
^AUPNFH - [#9000014] | GET1^DIQ |
^BSTS(9002318.4 - [#9002318.4] | GET1^DIQ |
9002318.414 | GET1^DIQ |
9002318.4141 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNPROB - [#9000011] | SEV+7, SEV+9 |
^BSTS(9002318.4 - [#9002318.4] | SAVEMAP+10, PLIST+7, AC+7, CMAP+38, BCOND+16, BCOND+19, BCOND+24, BCOND+29, BCOND+34, BCOND+43 |
^BSTS(9002318.6 - [#9002318.6] | CVPARM+6, LAT+15, HLCHC+4, HLCHC+6 |
Name | Line Occurrences |
---|---|
$$AAOD | CMAP+56 |
$$AAOY | CMAP+59 |
$$AC | CMAP+53 |
$$AF | CMAP+82 |
$$BMI | CMAP+71 |
$$CVPARM | LAT+19, CMAP+62, CMAP+79 |
$$HEAL | CMAP+85 |
$$LAT | CMAP+68 |
$$SEV | CMAP+78 |
$$SEX | CMAP+65 |
$$TRI | CMAP+74 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%Y | AAOD+6~, AAOY+6~ |
AAOD | AAOD+6~, AAOD+8*, AAOD+19*, AAOD+21, CMAP+22~, CMAP+25*, CMAP+56* |
AAOY | AAOY+6~, AAOY+8*, AAOY+17*, AAOY+19, CMAP+22~, CMAP+25*, CMAP+59* |
AC | CMAP+22~, CMAP+25*, CMAP+53* |
AF | AF~, AF+2, AF+5, CMAP+22~, CMAP+25*, CMAP+82* |
ATR | LAT+4~, LAT+13*, LAT+15, LAT+16 |
BMI | BMI+6~, BMI+11*, BMI+14*, BMI+16, CMAP+22~, CMAP+25*, CMAP+71* |
BSTSC | SAVEMAP~ |
BSTSC( | SAVEMAP+35*, SAVEMAP+36*, SAVEMAP+37*, SAVEMAP+63*, SAVEMAP+64*, SAVEMAP+65*, SAVEMAP+72* |
CDARY | CMAP+21~, CMAP+88, BCOND~ |
CDARY( | CMAP+94, CMAP+99, CMAP+104, CMAP+109, CMAP+114, BCOND+40*, BCOND+61* |
CHOICE | HLCHC+2~, HLCHC+4*, HLCHC+7*, HLCHC+8*, HLCHC+9*, HLCHC+10*, HLCHC+12 |
CIEN | SAVEMAP+69~, SAVEMAP+70*, SAVEMAP+71, AC+4~, AC+7*, AC+10, BCOND+13~, BCOND+16*, BCOND+19, BCOND+24 , BCOND+29, BCOND+34, BCOND+38, BCOND+43, BCOND+48 |
CIEN1 | BCOND+31~, BCOND+34*, BCOND+38, BCOND+43, BCOND+48 |
CIEN2 | BCOND+37~, BCOND+43*, BCOND+48, BCOND+61 |
CNDCT | CMAP+106~, CMAP+109*, CMAP+114 |
CNDLST | SAVEMAP+21~, SAVEMAP+24*, SAVEMAP+40 |
CNTR | CMAP+96~, CMAP+99*, CMAP+104, CMAP+109, CMAP+114, BCOND+26~, BCOND+29*, BCOND+34, BCOND+40, BCOND+61 |
COD | CMAP+101~, CMAP+104*, CMAP+121, CMAP+124, BCOND+37~, BCOND+39*, BCOND+40 |
CONC | AC~, AC+2, AC+7, CMAP~, CMAP+18, CMAP+38, CMAP+53, CMAP+88, BCOND~, BCOND+16 |
CONCDA | SAVEMAP~, SAVEMAP+4, SAVEMAP+10, SAVEMAP+12, SAVEMAP+25, SAVEMAP+55, SAVEMAP+72 |
CONCID | PLIST~, PLIST+2, PLIST+7 |
COND | SAVEMAP+21~, SAVEMAP+40*, SAVEMAP+42, SAVEMAP+47*, SAVEMAP+48, SAVEMAP+49, SAVEMAP+50, SAVEMAP+65, CMAP+111~, CMAP+114* , BCOND+45~, BCOND+58*, BCOND+61 |
CSTS | SAVEMAP+69~, SAVEMAP+71*, SAVEMAP+72 |
DA | SAVEMAP+11~, SAVEMAP+12*, SAVEMAP+21~, SAVEMAP+34*, SAVEMAP+44~, SAVEMAP+60*, BCOND+37~, BCOND+38*, BCOND+45~, BCOND+48* |
DA(1 | SAVEMAP+12*, SAVEMAP+13, SAVEMAP+25*, SAVEMAP+26, SAVEMAP+55*, SAVEMAP+56, BCOND+38*, BCOND+48* |
DA(2 | SAVEMAP+55*, SAVEMAP+56, BCOND+48* |
DD | SAVEMAP+58! |
DFN | AAOD+6~, AAOD+14*, AAOD+15, AAOY+6~, AAOY+14*, AAOY+17, SEX+6~, SEX+8*, SEX+9, TRI+6~ , TRI+8*, TRI+11, BMI+6~, BMI+8*, BMI+11 |
DIC | SAVEMAP+21~, SAVEMAP+26*, SAVEMAP+44~, SAVEMAP+56* |
DIC(0 | SAVEMAP+26*, SAVEMAP+56* |
DIK | SAVEMAP+11~, SAVEMAP+13* |
DLAYGO | SAVEMAP+21~, SAVEMAP+28*, SAVEMAP+44~, SAVEMAP+57* |
DO | SAVEMAP+58! |
DOB | AAOD+6~, AAOD+15*, AAOD+18, AAOY+6~ |
DT | CMAP+91 |
EPI | CMAP+22~, CMAP+25*, CMAP+62* |
FAIL | CMAP+101~, CMAP+109*, CMAP+115*, CMAP+118 |
FH | LAT~, LAT+2, LAT+9, CMAP+21~, CMAP+25*, CMAP+68 |
FND | SEV+4~, SEV+7*, SEV+10*, CMAP+21~, CMAP+38*, CMAP+41*, CMAP+47 |
GFND | CMAP+96~, CMAP+99*, CMAP+125* |
GL | SAVEMAP~, SAVEMAP+5, SAVEMAP+16, SAVEMAP+19, SAVEMAP+22, SAVEMAP+68, SAVEMAP+70, SAVEMAP+71 |
HEAL | HEAL~, HEAL+2, HEAL+5, CMAP+21~, CMAP+25*, CMAP+85* |
I | SEV+4~, SEV+7*, SEV+9 |
ICD | CMAP+21~, CMAP+38*, CMAP+47, CMAP+124*, CMAP+127 |
IENS | SAVEMAP+21~, SAVEMAP+34*, SAVEMAP+35, SAVEMAP+36, SAVEMAP+37, SAVEMAP+44~, SAVEMAP+60*, SAVEMAP+63, SAVEMAP+64, SAVEMAP+65 , BCOND+37~, BCOND+38*, BCOND+39, BCOND+45~, BCOND+48*, BCOND+49, BCOND+50, BCOND+51 |
LAT | LAT+4~, LAT+7*, LAT+8*, LAT+9*, LAT+10, LAT+13, LAT+14*, LAT+19*, LAT+22, CMAP+22~ , CMAP+25*, CMAP+68* |
LST | HLCHC~, HLCHC+7, HLCHC+8, HLCHC+9, HLCHC+10 |
MC | SAVEMAP+18~, SAVEMAP+19*, SAVEMAP+22, SAVEMAP+27 |
MG | SAVEMAP+18~, SAVEMAP+19*, SAVEMAP+22, SAVEMAP+35 |
MGRP | CMAP+21~, CMAP+94*, CMAP+99, CMAP+104, CMAP+109, CMAP+114, BCOND+13~, BCOND+19*, BCOND+24, BCOND+29 , BCOND+34, BCOND+40, BCOND+61 |
MICD | SAVEMAP+21~, SAVEMAP+23*, SAVEMAP+37 |
MP | SAVEMAP+9~, SAVEMAP+10*, SAVEMAP+12, SAVEMAP+18~, SAVEMAP+19*, SAVEMAP+22, SAVEMAP+36 |
MPRI | BCOND+21~, BCOND+24*, BCOND+29, BCOND+34 |
NODE | SAVEMAP+21~, SAVEMAP+22*, SAVEMAP+23, SAVEMAP+24 |
OC | CMAP+22~, CMAP+25* |
OP | BCOND+45~, BCOND+50*, BCOND+58 |
OPER | SAVEMAP+44~, SAVEMAP+49*, SAVEMAP+63 |
PARM | CVPARM~, CVPARM+2, CVPARM+6*, CVPARM+9 |
PARMS | CMAP~, CMAP+19, CMAP+26 |
PASS | CMAP+111~, CMAP+114*, CMAP+115 |
PC | SAVEMAP+21~, SAVEMAP+40*, SAVEMAP+42, CMAP+21~, CMAP+26* |
PRB | LAT~, LAT+2, LAT+8, SEV~, SEV+2, SEV+7, SEV+9, CMAP+22~, CMAP+25*, CMAP+68 , CMAP+78 |
RETURN | PLIST+4~, PLIST+7*, PLIST+8*, PLIST+11 |
RULE | SAVEMAP+21~, SAVEMAP+34*, SAVEMAP+55 |
SEV | SEV+4~, SEV+7*, SEV+10*, SEV+12, CMAP+22~, CMAP+25*, CMAP+78*, CMAP+79* |
SEX | SEX+6~, SEX+9*, SEX+10*, SEX+12, CMAP+22~, CMAP+25*, CMAP+65* |
SNO | SEV+8~, SEV+9*, SEV+10 |
SNOMED | HLCHC+5~, HLCHC+6*, HLCHC+7, HLCHC+8, HLCHC+9, HLCHC+10 |
STS | AC+4~, AC+10*, AC+11*, AC+12 |
TERM | HLCHC+2~, HLCHC+4*, HLCHC+6, HLCHC+7, HLCHC+8, HLCHC+9, HLCHC+10 |
TRI | TRI+6~, TRI+11*, TRI+14*, TRI+15*, TRI+16*, TRI+17*, TRI+19, CMAP+22~, CMAP+25*, CMAP+74* |
TRUE | CMAP+22~, CMAP+25* |
TYPE | CVPARM~, CVPARM+3, CVPARM+6 |
U | SAVEMAP+23, SAVEMAP+24, SAVEMAP+71, SEV+9 |
VAL | CMAP+21~, CMAP+26*, CMAP+29, CMAP+30, CMAP+31, CMAP+34*, CMAP+35, BCOND+45~, BCOND+51*, BCOND+52* , BCOND+58 |
VALUE | SAVEMAP+44~, SAVEMAP+50*, SAVEMAP+53*, SAVEMAP+54*, SAVEMAP+64 |
VAR | SAVEMAP+44~, SAVEMAP+48*, SAVEMAP+53*, SAVEMAP+54*, SAVEMAP+56, PLIST+4~, PLIST+7*, PLIST+8, CMAP+21~, CMAP+38* , CMAP+44, CMAP+50*, CMAP+53, CMAP+56, CMAP+59, CMAP+62, CMAP+65, CMAP+68, CMAP+71, CMAP+74 , CMAP+77, CMAP+82, CMAP+85, BCOND+45~, BCOND+49*, BCOND+58 |
VARRAY | CMAP+21~ |
VARRAY( | CMAP+44*, CMAP+50 |
VDT | AAOD+6~, AAOD+11*, AAOD+18, AAOY+6~, AAOY+11*, CMAP+21~, CMAP+91*, CMAP+121 |
VIEN | AAOD~, AAOD+4, AAOD+11, AAOD+14, AAOY~, AAOY+4, AAOY+11, AAOY+14, SEX~, SEX+4 , SEX+8, TRI~, TRI+4, TRI+8, BMI~, BMI+4, BMI+8 |
VST | CMAP+22~, CMAP+25*, CMAP+56, CMAP+59, CMAP+65, CMAP+71, CMAP+74, CMAP+91 |
X | SAVEMAP+21~, SAVEMAP+27*, SAVEMAP+44~, SAVEMAP+56*, AAOD+6~, AAOD+19, AAOY+6~ |
X1 | AAOD+6~, AAOD+18*, AAOY+6~ |
X2 | AAOD+6~, AAOD+18*, AAOY+6~ |
Y | SAVEMAP+21~, SAVEMAP+31, SAVEMAP+34, SAVEMAP+44~, SAVEMAP+59, SAVEMAP+60 |