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

ECX3P158.m

Go to the documentation of this file.
  1. ECX3P158 ;ALB/DE - ECX*3.0*158 Post-Init Rtn ; 5/7/15 10:00am
  1. ;;3.0;DSS EXTRACTS;**158**;Dec 22,1997;Build 2
  1. ;
  1. ;Post-init routine adding new entries to:
  1. ;LOINC Code(#727.29) file
  1. ;
  1. Q
  1. ;
  1. POST ;Entry point
  1. ;Add new LOINC Codes
  1. D ADDLNC
  1. Q
  1. ;
  1. ADDLNC ;Add LOINC Codes
  1. N ECXLINE,ECXSTR,ECXCNT
  1. D MES^XPDUTL(" ")
  1. D MES^XPDUTL(" ")
  1. D MES^XPDUTL(" Adding entries to DSS LOINC (#727.29) File...")
  1. D MES^XPDUTL(" ")
  1. S ECXCNT=0
  1. N DIC,DIE,DA,DLAYGO,DR,X,Y,ECXDN,ECXDTN,ECXLN,ECXDRU
  1. S DIC="^ECX(727.29,",DIC(0)="L",DLAYGO=727.29
  1. F ECXLINE=1:1 S ECXSTR=$P($T(ALOINC+ECXLINE),";;",2) Q:ECXSTR="EXIT" D
  1. . S X=$P(ECXSTR,"^",1)
  1. . D ^DIC I Y<0 D Q
  1. .. D BMES^XPDUTL("*****")
  1. .. D MES^XPDUTL("Unsuccessful entry of LOINC Code - "_X_".")
  1. .. D MES^XPDUTL("******")
  1. . S ECXCNT=ECXCNT+1
  1. . S ECXDN=$P(ECXSTR,"^",2)
  1. . S ECXDTN=$P(ECXSTR,"^",3)
  1. . S ECXDRU=$P(ECXSTR,"^",4)
  1. . S ECXLN=$P(ECXSTR,"^",5)
  1. . S DA=+Y,DR=".02///"_ECXDN_";.03///"_ECXDTN_";.04///"_ECXDRU_";.05///"_ECXLN
  1. . S DIE=DIC D ^DIE
  1. . D BMES^XPDUTL(">>>...Code "_$P(ECXSTR,"^")_" added to the file.")
  1. K DA,DIC,DIE,DLAYGO,X,Y
  1. S DIK="^ECX(727.29,",DIK(1)=".02^AC" D ENALL^DIK
  1. K DIK
  1. Q
  1. ;
  1. ALOINC ;LOINC CODE^LAR TEST #^DSS TEST NAME^REPORTING UNITS^LOINC NAME
  1. ;;21639-0^0092^BRCA1^text^BRCA1 Gene Mut Tested Bld/T
  1. ;;21636-6^0092^BRCA1^text^BRCA1 Gene Mut Anal Bld/T
  1. ;;21637-4^0092^BRCA1^text^BRCA1 c 185 Del Ag Bld/T Ql
  1. ;;21638-2^0092^BRCA1^text^BRCA1 c 5382 Ins C Bld/T Ql
  1. ;;38530-2^0093^BRCA2^text^BCRA2 Gene Mut Anal Bld/T
  1. ;;38531-0^0093^BRCA2^text^BCRA2 Gene Mut Tested Bld/T
  1. ;;21640-8^0093^BRCA2^text^BRCA2 c 6174 Del T Bld/T Ql
  1. ;;50995-0^0094^BRCA1+BRCA2^text^BRCA1+BRCA2 gene Mut Anal Bld/T
  1. ;;59041-4^0094^BRCA1+BRCA2^text^BRCA1+BRCA2 gene Mut Tested Bld/T
  1. ;;10334-1^0095^CA 125^U/mL^Cancer Ag125 SerPl-aCnc
  1. ;;EXIT
  1. Q