1
แจ้งปัญหา / ขอความช่วยเหลือ / Re: การแจ้งเตือนการจ่ายยากับผู้ ป่วยที่มีผล lab ที่กำหนด
« เมื่อ: พฤศจิกายน 13, 2024, 14:59:49 PM »
DFM
โค๊ด: [Select]
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Drug prescription blocker)'
ClientHeight =550
ClientWidth = 700
Color = clWindow
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnShow = showdata
PixelsPerInch = 96
TextHeight = 13
Position = poScreenCenter
object Panel1: TPanel
Left = 0
Top = 0
Width = 700
Height = 50
Align = alTop
TabOrder = 1
BevelInner = bvNone
BevelOuter = bvNone
object Shape1: TShape
Left = 0
Top = 0
Width = 700
Height = 50
Brush.Color = $4763FF
Pen.Style = psClear
end
object HeadLabel: TLabel
Left = 270
Top = 15
Width = 100
Height = 25
Caption = 'ALERT:METFORMIN'
Alignment = taCenter
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -20
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
end
end
object Panel2: TPanel
Left = 0
Top = 50
Width = 700
Height = 50
Align = alTop
BevelInner = bvNone
BevelOuter = bvNone
TabOrder = 1
object hnLabel: TLabel
Left = 25
Top = 5
Width = 16
Height = 16
Caption = 'HN'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object hntxt: TLabel
Left = 55
Top = 5
Width = 14
Height = 16
Caption = 'hn'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 168
Top = 5
Width = 70
Height = 16
Caption = 'ª×èÍ-Ê¡ØÅ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object fullnametxt: TLabel
Left = 230
Top = 5
Width = 49
Height = 16
Caption = 'Fullname'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 400
Top = 5
Width = 35
Height = 16
Caption = 'ÍÒÂØ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Year: TLabel
Left = 450
Top = 5
Width = 22
Height = 16
Caption = '»Õ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object age_yLabel: TLabel
Left = 430
Top = 5
Width = 22
Height = 16
Caption = 'Years'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label13: TLabel
Left = 500
Top = 5
Width = 100
Height = 16
Caption = 'ÊÔ·¸Ô¡ÒÃÃÑ¡ÉÒ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object pttypetxt: TLabel
Left = 580
Top = 5
Width = 50
Height = 16
Caption = 'Pttype'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label4: TLabel
Left = 25
Top = 25
Width = 54
Height = 16
Caption = 'Diagnosis'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object pdxLabel: TLabel
Left = 100
Top = 25
Width = 20
Height = 16
Caption = 'pdx'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label9: TLabel
Left = 400
Top = 25
Width = 108
Height = 16
Caption = ''
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
end
object Panel3: TPanel
Left = 0
Top = 50
Width = 300
Height = 135
Align = alTop
TabOrder = 1
BevelInner = bvNone
BevelOuter = bvNone
object label11: TLabel
Left = 25
Top = 0
Width = 100
Height = 16
Caption = '¤èÒ·Ò§Ëéͧ»¯ÔºÑµÔ¡ÒÃ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object cxGrid2: TcxGrid
Left = 25
Top = 25
Width = 655
Height = 130
TabOrder = 6
LookAndFeel.Kind = lfOffice11
object cxGrid2DBTableView1: TcxGridDBTableView
DataController.DataSource = ds
NavigatorButtons.ConfirmDelete = False
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsSelection.CellSelect = False
OptionsView.CellAutoHeight = True
OptionsView.ColumnAutoWidth = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object cxGrid2DBTableView1report_date: TcxGridDBColumn
Caption = 'Çѹ·ÕèÃÒ§ҹ'
DataBinding.FieldName = 'report_date'
Width = 70
end
object cxGrid2DBTableView1creatinine: TcxGridDBColumn
Caption = 'Creatinine'
DataBinding.FieldName = 'creatinine'
Width = 70
end
object cxGrid2DBTableView1eGFR: TcxGridDBColumn
Caption = 'eGFR'
DataBinding.FieldName = 'eGFR'
Width = 70
end
object cxGrid2DBTableView1CrCl: TcxGridDBColumn
Caption = 'CrCl'
DataBinding.FieldName = 'crcl'
Width = 70
end
end
object cxGrid2Level1: TcxGridLevel
GridView = cxGrid2DBTableView1
end
end
end
object Panel4: TPanel
Left = 0
Top = 50
Width = 300
Height = 100
Align = alTop
TabOrder = 1
BevelInner = bvNone
BevelOuter = bvNone
object label12: TLabel
Left = 25
Top = 5
Width = 100
Height = 16
Caption = 'ÂÒ·ÕèÊÑè§ãªé»Ñ¨¨ØºÑ¹'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object cxGrid3: TcxGrid
Left = 25
Top = 25
Width = 655
Height = 75
TabOrder = 6
LookAndFeel.Kind = lfOffice11
object cxGrid3DBTableView1: TcxGridDBTableView
DataController.DataSource = ds2
NavigatorButtons.ConfirmDelete = False
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsSelection.CellSelect = False
OptionsView.CellAutoHeight = True
OptionsView.ColumnAutoWidth = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object cxGrid3DBTableView1report_date: TcxGridDBColumn
Caption = 'Çѹ·ÕèÊÑè§ãªé'
DataBinding.FieldName = 'vstdate'
Width = 70
end
object cxGrid3DBTableView1creatinine: TcxGridDBColumn
Caption = 'ª×èÍÂÒ'
DataBinding.FieldName = 'name'
Width = 70
end
object cxGrid3DBTableView1eGFR: TcxGridDBColumn
Caption = 'ÇÔ¸Õãªé'
DataBinding.FieldName = 'usage_or_sp_usage'
Width = 70
end
object cxGrid3DBTableView1CrCl: TcxGridDBColumn
Caption = '¨Ó¹Ç¹'
DataBinding.FieldName = 'qty'
Width = 70
end
end
object cxGrid3Level1: TcxGridLevel
GridView = cxGrid3DBTableView1
end
end
end
object Panel10: TPanel
Left = 0
Top = 50
Width = 300
Height = 250
Align = alTop
TabOrder = 1
BevelInner = bvNone
BevelOuter = bvNone
object Checkfordelete: TcxCheckBox
Left = 150
Top = 5
Caption = ' ËéÒÁÊÑè§ãªé eGFR < 30 (àÅ×Í¡à¾×èÍźÃÒ¡ÒÃÂÒ)'
TabOrder = 1
Transparent = True
Width = 400
end
object Checkhalfx1: TcxCheckBox
Left = 150
Top = 25
Caption = ' .51pt ( 1/2 àÁç´ x1 PC) '
TabOrder = 2
Transparent = True
Width = 400
Visible = False
end
object Check1x1: TcxCheckBox
Left = 150
Top = 45
Caption = ' 11pt (1 àÁç´ x 1 PC àªéÒ)'
TabOrder = 3
Transparent = True
Width = 400
Visible = False
end
object Check1x2: TcxCheckBox
Left = 150
Top = 65
Caption = ' 12pt (1 àÁç´ x 2 PC àªéÒ-àÂç¹)'
TabOrder = 4
Transparent = True
Width = 400
Visible = False
end
object Check2x1: TcxCheckBox
Left = 150
Top = 85
Caption = ' 21pt (2 àÁç´ x 1 PC)'
TabOrder = 5
Transparent = True
Width = 400
Visible = False
end
object Check110: TcxCheckBox
Left = 150
Top = 105
Caption = ' 12pt ª· (1 àÁç´ x 2 PC àªéÒ-à·Õè§)'
TabOrder = 6
Transparent = True
Width = 400
Visible = False
end
object Checkforconfirm: TcxCheckBox
Left = 150
Top = 125
Caption = ' Â×¹Âѹ¡ÒÃÊÑè§ãªé'
TabOrder = 7
Transparent = True
Width = 400
end
object reclabel: TLabel
Left = 25
Top = 5
Width = 100
Height = 16
Caption = '¢¹Ò´ÂÒ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object btnConfirm: TButton
Left = 550
Top = 120
Width = 100
Height = 30
Caption = 'ºÑ¹·Ö¡'
TabOrder = 50
OnClick = btnConfirmClick
end
end
object Panel6: TPanel
Left = 0
Top = 200
Width = 300
Height = 300
Align = alTop
TabOrder = 1
BevelInner = bvNone
BevelOuter = bvNone
object reclabel4: TLabel
Left = 25
Top = 5
Width = 100
Height = 16
Caption = ''
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object btnDelete: TButton
Left = 550
Top = 50
Width = 100
Height = 30
Caption = 'źÃÒ¡ÒÃÂÒ'
TabOrder = 3
OnClick = btnDeleteClick
end
end
object cds: TClientDataSet
Aggregates = <>
Params = <>
Left = 39
Top = 6
end
object ds: TDataSource
DataSet = cds
Left = 78
Top = 6
end
object cds3: TClientDataSet
Aggregates = <>
Params = <>
Left = 39
Top = 6
end
object ds3: TDataSource
DataSet = cds3
Left = 78
Top = 6
end
object cds2: TClientDataSet
Aggregates = <>
Params = <>
Left = 39
Top = 6
end
object ds2: TDataSource
DataSet = cds2
Left = 78
Top = 6
end
object TempCDS: TClientDataSet
Aggregates = <>
Params = <>
Left = 39
Top = 6
end
end