Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: AUPNPOUT

AUPNPOUT.m

Go to the documentation of this file.
AUPNPOUT ; IHS/CMI/LAB - OUTPUT TRANSFORMS FOR PATIENT FILES ;
 ;;99.1;IHS DICTIONARIES (PATIENT);;MAR 09, 1999
 ;
PAT11099 ;EP - 9000001,1109.9 (PATIENT,TRIBE QUANTUM DECIMAL)
 S X="" I $D(^AUPNPAT(D0,11)) S X=$P(^(11),U,9) D PAT11CNV
 Q
PAT11109 ;EP - 9000001,1110.9 (PATIENT,INDIAN QUANTUM DECIMAL)
 S X="" I $D(^AUPNPAT(D0,11)) S X=$P(^(11),U,10) D PAT11CNV
 Q
PAT11CNV ; CONVERT QUANTUM FRACTION TO DECIMAL
 S X=$S(X["/":$P(X,"/",1)/$P(X,"/",2),$E(X)="F":1,$E(X)="N":0,$E(X,1,3)="UNK":1.1,$E(X,1,3)="UNS":1.2,1:X)
 Q
MARKER ; FOR INSERTION REFERENCE