 B.FISAUDIT, --审核状态
       B.FMRDID AS FENCODE,--病案号
       NVL(TRIM(B.FMRDID), B.FILEDIRNAME) AS FMRDID,--病案号
       NVL(TRIM(B.FNAME), A.FNAME) AS FNAME,--姓名
       A.FPADD,--地址
       B.FBIHID,--住院号
       B.FBINCU,--住院次数
       B.FPATH,--路径
       B.FMAINID,--主表id
       B.FSHAREPATHID,--存储路径代码
       A.FSEX,--性别代码
       DECODE(A.FSEX, '1', '男', '2', '女', '') FSEX_D,--性别
       A.FBDATE,--出生日期
       A.FIHDAT,--入院日期
       A.FODATE,--出院日期
       A.FAGE,--年龄
       A.FIDCD,--身份证号
       A.FIOFFI,--入院科室
       A.FOOFFI,--出院科室
       A.FZZYS,--主治医师
       A.FZYYS,--住院医师
       B.FUSER,--录入人
       B.CANPRINT,--打印标志
       TO_CHAR(B.FDATE, 'yyyy-mm-dd') AS FDATE,--拍摄时间
       B.FNUM,--页数
       B.FREE3,--条码号
       FUN_PARSE_PARAM(B.FSECRECYTYPE) FSECRECYTYPE,
       FUN_PARSE_PARAM(B.FSECRECYGRADE) FSECRECYGRADE,
       B.FSECRECYTYPE AS FSECRECYTYPECODE,
       B.FSECRECYGRADE AS FSECRECYGRADECODE,
       (SELECT FDESC FROM TOFFIM HH WHERE HH.FOFFN = A.FIOFFI) FIOFFI_D,--入院科室名称
       (SELECT FDESC FROM TOFFIM II WHERE A.FOOFFI = II.FOFFN) FOOFFI_D,--出院科室名称
       (SELECT BB.FICD10 || ' ' || BB.FDESC
          FROM TMRDZD AA
          LEFT JOIN TICD10 BB ON AA.FICD = BB.FICD10
         WHERE AA.FMRDID = B.FMRDID
           AND NVL(AA.FZDTYP, '1') = '1') FDESC_DOC_ZD,
       (SELECT DD.FICD10 || ' ' || DD.FDESC
          FROM TMRDZD CC
          LEFT JOIN TICD10 DD ON CC.FICD = DD.FICD10
         WHERE CC.FMRDID = B.FMRDID
           AND NVL(CC.FZDTYP, '1') = '1') FDESC_DOC_ZD_Q,
       (SELECT GG.FID || ' ' || GG.FDESC
          FROM TOPSM GG
         WHERE F.FOPID = GG.FID) FOPID_D,
       (SELECT JJ.FID || ' ' || JJ.FDESC
          FROM THOCUS JJ
         WHERE F.FMZTH = JJ.FID) FMZID_D,
       (SELECT KK.FID || ' ' || KK.FDESC
          FROM TYHTYM KK
         WHERE F.FMZTH = KK.FID) FQKID_D,
       A.FOOFFI AS FOFFN,
       F.FOPDAT,
       T.FRECORDID,
       T.FPATH FPATH1,
       T.FILENAME,
       T.FFILENAME,
       T.FREMARK,
       T.CREATETIME