这个文本是否类似于任何脚本语言?

时间:2016-03-06 09:02:57

标签: printing scripting-language

根据实验室仪器(操作系统:Windows 2000)制造商的指南,结果打印格式可以使用一组有限的操作符进行编辑,例如:

@PATNUM/14  Patient identification number
@PATNAM/33  Patient name
@SSEX/1     Patient sex
@AGE/4  Patient age
@BIRDAT2/8  Date of birth
@SSTTUS/1   Patient status (in or out)
@ADDAD1/31  Patient address
@ADDAD2/31  Second line for the patient address
@CPCOM/5    Patient coded comment
@TPCOM/30   Patient comment
@FILESTS/29     Status of the selected sample
@SELDT/43   Date and time of the selected period
@PAGNUM/4   Keyword generating the page number when the list is printed
#   Allows a form feed
!   Indicates the vertical and horizontal position of the tests and results.
>   Indicates the beginning of the next result character string. Do not use it if you want one test per line.
*   Indicates the beginning of the patient and sample information area (mandatory entry).
**  Indicates the beginning of the result area (mandatory entry).
***     Indicates the beginning of the page bottom (mandatory entry).

,样本格式可以是:

TEST      RESULT  ABN       NORMALS         UNITS
*RESCOM
WBC       @WBC          ( @LOW.- @HIGH  )  @UNITS....
RBC       @RBC          ( @LOW.- @HIGH  )  @UNITS....
HGB       @HGB          ( @LOW.- @HIGH  )  @UNITS....
HCT       @HCT          ( @LOW.- @HIGH  )  @UNITS....
MCV       @MCV          ( @LOW.- @HIGH  )  @UNITS....
MCH       @MCH          ( @LOW.- @HIGH  )  @UNITS....
MCHC      @MCHC         ( @LOW.- @HIGH  )  @UNITS....
CHCM      @CHCM         ( @LOW.- @HIGH  )  @UNITS....
CH        @CH           ( @LOW.- @HIGH  )  @UNITS....
RDW       @RDW          ( @LOW.- @HIGH  )  @UNITS....
HDW       @HDW          ( @LOW.- @HIGH  )  @UNITS....
PLT       @PLT          ( @LOW.- @HIGH  )  @UNITS....
MPV       @MPV          ( @LOW.- @HIGH  )  @UNITS....

%NEUT     @%NEUT        ( @LOW.- @HIGH  )  @UNITS....
%LYMPH    @%LYMPH       ( @LOW.- @HIGH  )  @UNITS....
%MONO     @%MONO        ( @LOW.- @HIGH  )  @UNITS....
%EOS      @%EOS         ( @LOW.- @HIGH  )  @UNITS....
%BASO     @%BASO        ( @LOW.- @HIGH  )  @UNITS....
%LUC      @%LUC         ( @LOW.- @HIGH  )  @UNITS....
%NRBC     @%NRBC        ( @LOW.- @HIGH  )  @UNITS....
#NEUT     @#NEUT        ( @LOW.- @HIGH  )  @UNITS....
#LYMPH    @#LYMPH       ( @LOW.- @HIGH  )  @UNITS....
#MONO     @#MONO        ( @LOW.- @HIGH  )  @UNITS....
#EOS      @#EOS         ( @LOW.- @HIGH  )  @UNITS....
#BASO     @#BASO        ( @LOW.- @HIGH  )  @UNITS....
#LUC      @#LUC         ( @LOW.- @HIGH  )  @UNITS....
#NRBC     @#NRBC        ( @LOW.- @HIGH  )  @UNITS....

%RETIC    @%RETIC       ( @LOW.- @HIGH  )  @UNITS....
#RETIC    @#RETIC       ( @LOW.- @HIGH  )  @UNITS....
MCVr      @MCVr         ( @LOW.- @HIGH  )  @UNITS....
CHCMr     @CHCMr        ( @LOW.- @HIGH  )  @UNITS....
CHr       @CHr          ( @LOW.- @HIGH  )  @UNITS....

仪器打印输出符合此格式。 问题是我需要在打印结果中加上彩色文本,而仪器使用说明书在这个问题上没有任何有用的信息。 我想知道这个脚本是不是特定于仪器的,是一种我不知道的脚本语言。

它看起来像任何脚本语言吗?

0 个答案:

没有答案