实体更新
This commit is contained in:
parent
95e004d120
commit
084ff28b80
4
AIMS.sln
4
AIMS.sln
@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31424.327
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.3.32819.101
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentManagement", "DocumentManagement\DocumentManagement.csproj", "{80E69D05-8436-4342-B0B1-5ADAA8E83D41}"
|
||||
EndProject
|
||||
|
||||
187
AIMS/AIMS.csproj
187
AIMS/AIMS.csproj
@ -98,6 +98,10 @@
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WLibGPClass, Version=1.3.3.2, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\OREMR\oremr_new8 - 副本\KHD_OREMRReport\bin\Debug\WLibGPClass.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DataDictionary\frmAnaesthesiaMethod.cs">
|
||||
@ -298,8 +302,6 @@
|
||||
<Compile Include="OperationDoing\AnasRecordBill\frmSeleteRoom.designer.cs">
|
||||
<DependentUpon>frmSeleteRoom.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\DeviceCacheData.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\OperationRecord.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\frmBloodGasAnalysisNew.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -324,16 +326,16 @@
|
||||
<Compile Include="OperationDoing\AnasRecordBill\frmSafetyExamine.Designer.cs">
|
||||
<DependentUpon>frmSafetyExamine.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\UI\frmAnasRecoverBillNew.cs">
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\frmAnasRecoverBillNew.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\UI\frmAnasRecoverBillNew.Designer.cs">
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\frmAnasRecoverBillNew.Designer.cs">
|
||||
<DependentUpon>frmAnasRecoverBillNew.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\UI\frmRecoverPatient.cs">
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\frmRecoverPatient.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\UI\frmRecoverPatient.Designer.cs">
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\frmRecoverPatient.Designer.cs">
|
||||
<DependentUpon>frmRecoverPatient.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\oldSystemCode\FormUseDrugsReport.cs">
|
||||
@ -421,49 +423,49 @@
|
||||
<DependentUpon>PrescriptionDocument.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\oldSystemCode\PublicToDoument.cs" />
|
||||
<Compile Include="OperationFront\UI\ButtonCustomItem.cs">
|
||||
<Compile Include="OperationFront\ButtonCustomItem.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmSchedulePlan2.cs">
|
||||
<Compile Include="OperationFront\frmSchedulePlan2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmSchedulePlan2.designer.cs">
|
||||
<Compile Include="OperationFront\frmSchedulePlan2.designer.cs">
|
||||
<DependentUpon>frmSchedulePlan2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmSchedulePlan.cs">
|
||||
<Compile Include="OperationFront\frmSchedulePlan.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmSchedulePlan.designer.cs">
|
||||
<Compile Include="OperationFront\frmSchedulePlan.designer.cs">
|
||||
<DependentUpon>frmSchedulePlan.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmPrintingArrangemen.cs">
|
||||
<Compile Include="OperationFront\frmPrintingArrangemen.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmPrintingArrangemen.designer.cs">
|
||||
<Compile Include="OperationFront\frmPrintingArrangemen.designer.cs">
|
||||
<DependentUpon>frmPrintingArrangemen.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\FrmScheduling2.cs">
|
||||
<Compile Include="OperationFront\FrmScheduling2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\FrmScheduling2.designer.cs">
|
||||
<Compile Include="OperationFront\FrmScheduling2.designer.cs">
|
||||
<DependentUpon>FrmScheduling2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\FrmScheduling2Option.cs">
|
||||
<Compile Include="OperationFront\FrmScheduling2Option.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\FrmScheduling2Option.designer.cs">
|
||||
<Compile Include="OperationFront\FrmScheduling2Option.designer.cs">
|
||||
<DependentUpon>FrmScheduling2Option.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmSelectiveOperationsPrint.cs">
|
||||
<Compile Include="OperationFront\frmSelectiveOperationsPrint.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmSelectiveOperationsPrint.designer.cs">
|
||||
<Compile Include="OperationFront\frmSelectiveOperationsPrint.designer.cs">
|
||||
<DependentUpon>frmSelectiveOperationsPrint.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\GlossyCustomItem.cs">
|
||||
<Compile Include="OperationFront\GlossyCustomItem.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\NoteCustomItem.cs">
|
||||
<Compile Include="OperationFront\NoteCustomItem.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OremrUserControl\CalendarColumn.cs" />
|
||||
@ -582,50 +584,14 @@
|
||||
<Compile Include="PublicUI\frmSelectOperationOne.Designer.cs">
|
||||
<DependentUpon>frmSelectOperationOne.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationAfter\OperationReview.cs" />
|
||||
<Compile Include="OperationAfter\OperationReviewDB.cs" />
|
||||
<Compile Include="OperationAfter\frmOperationReview.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationAfter\frmOperationReview.Designer.cs">
|
||||
<DependentUpon>frmOperationReview.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactAnaesthesiaMethod.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactDiagnoseInfo.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactOperationBodyPosition.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactOperationCutType.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactOperationInfo.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactOperationPosition.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FactPersonDuty.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\FillAnasRecordBillData.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\InRoom.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\OperationRecord.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\BLL\SelectPatient.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\AddPhysioParamDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactAnaesthesiaMethodDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactDiagnoseInfoDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactOperationBodyPositionDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactOperationCutTypeDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactOperationInfoDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactOperationPositionDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FactPersonDutyDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\FillAnasRecordBillDataDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\OperationRecordDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DAL\SelectPatientDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\DrawAnasReordBill.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\FillAnasReordBill.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\AddPhysioParam.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\AnasRecordBillRemark.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\DistinctFactDrug.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactAnaesthesiaMethod.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactDiagnoseInfo.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactOperationBodyPosition.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactOperationCutType.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactOperationInfo.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactOperationPosition.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\FactPersonDuty.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\PhysioData.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\Model\TitleTime.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecordBill\frmAnasRecordBillNew.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -638,94 +604,67 @@
|
||||
<Compile Include="OperationDoing\AnasRecordBill\frmSelectPatientNew.Designer.cs">
|
||||
<DependentUpon>frmSelectPatientNew.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\BLL\SelectPatient.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\DAL\SelectPatientDB.cs" />
|
||||
<Compile Include="OperationDoing\AnasRecoverBill\Model\TitleTime.cs" />
|
||||
<Compile Include="OperationFront\BLL\ApplyAnaesthesiaMethod.cs" />
|
||||
<Compile Include="OperationFront\BLL\ApplyDiagnoseInfo.cs" />
|
||||
<Compile Include="OperationFront\BLL\ApplyOperationCutType..cs" />
|
||||
<Compile Include="OperationFront\BLL\ApplyOperationInfo.cs" />
|
||||
<Compile Include="OperationFront\BLL\ApplyOperationPosition.cs" />
|
||||
<Compile Include="OperationFront\BLL\ApplyPersonDuty.cs" />
|
||||
<Compile Include="OperationFront\BLL\OperationApply.cs" />
|
||||
<Compile Include="OperationFront\BLL\Oris_Patient.cs" />
|
||||
<Compile Include="OperationFront\DAL\ApplyAnaesthesiaMethodDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\ApplyDiagnoseInfoDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\ApplyOperationCutTypeDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\ApplyOperationInfoDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\ApplyOperationPositionDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\ApplyPersonDutyDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\OperationApplyDB.cs" />
|
||||
<Compile Include="OperationFront\DAL\Oris_PatientDB.cs" />
|
||||
<Compile Include="OperationFront\Model\ApplyAnaesthesiaMethod.cs" />
|
||||
<Compile Include="OperationFront\Model\ApplyDiagnoseInfo.cs" />
|
||||
<Compile Include="OperationFront\Model\ApplyOperationCutType.cs" />
|
||||
<Compile Include="OperationFront\Model\ApplyOperationInfo.cs" />
|
||||
<Compile Include="OperationFront\Model\ApplyOperationPosition.cs" />
|
||||
<Compile Include="OperationFront\Model\ApplyPersonDuty.cs" />
|
||||
<Compile Include="OperationFront\Model\OperationApply.cs" />
|
||||
<Compile Include="OperationFront\Model\Oris_Patient.cs" />
|
||||
<Compile Include="OperationFront\UI\frmApplyConfigSet.cs">
|
||||
<Compile Include="OperationFront\frmApplyConfigSet.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmApplyConfigSet.Designer.cs">
|
||||
<Compile Include="OperationFront\frmApplyConfigSet.Designer.cs">
|
||||
<DependentUpon>frmApplyConfigSet.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmExeOperationPlan.cs">
|
||||
<Compile Include="OperationFront\frmExeOperationPlan.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmExeOperationPlan.Designer.cs">
|
||||
<Compile Include="OperationFront\frmExeOperationPlan.Designer.cs">
|
||||
<DependentUpon>frmExeOperationPlan.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationApply.cs">
|
||||
<Compile Include="OperationFront\frmOperationApply.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationApply.Designer.cs">
|
||||
<Compile Include="OperationFront\frmOperationApply.Designer.cs">
|
||||
<DependentUpon>frmOperationApply.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationApplyDetail.cs">
|
||||
<Compile Include="OperationFront\frmOperationApplyDetail.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationApplyDetail.Designer.cs">
|
||||
<Compile Include="OperationFront\frmOperationApplyDetail.Designer.cs">
|
||||
<DependentUpon>frmOperationApplyDetail.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationFrontVisit.cs">
|
||||
<Compile Include="OperationFront\frmOperationFrontVisit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationFrontVisit.Designer.cs">
|
||||
<Compile Include="OperationFront\frmOperationFrontVisit.Designer.cs">
|
||||
<DependentUpon>frmOperationFrontVisit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationPlan.cs">
|
||||
<Compile Include="OperationFront\frmOperationPlan.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationPlan.Designer.cs">
|
||||
<Compile Include="OperationFront\frmOperationPlan.Designer.cs">
|
||||
<DependentUpon>frmOperationPlan.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationPlanDetail.cs">
|
||||
<Compile Include="OperationFront\frmOperationPlanDetail.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationPlanDetail.Designer.cs">
|
||||
<Compile Include="OperationFront\frmOperationPlanDetail.Designer.cs">
|
||||
<DependentUpon>frmOperationPlanDetail.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmOperationSchedulePlan.cs">
|
||||
<Compile Include="OperationFront\frmOperationSchedulePlan.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmPlanOrder.cs">
|
||||
<Compile Include="OperationFront\frmPlanOrder.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmPlanOrder.Designer.cs">
|
||||
<Compile Include="OperationFront\frmPlanOrder.Designer.cs">
|
||||
<DependentUpon>frmPlanOrder.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmPlanPatientInfo.cs">
|
||||
<Compile Include="OperationFront\frmPlanPatientInfo.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmPlanPatientInfo.Designer.cs">
|
||||
<Compile Include="OperationFront\frmPlanPatientInfo.Designer.cs">
|
||||
<DependentUpon>frmPlanPatientInfo.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmStopOperation.cs">
|
||||
<Compile Include="OperationFront\frmStopOperation.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationFront\UI\frmStopOperation.Designer.cs">
|
||||
<Compile Include="OperationFront\frmStopOperation.Designer.cs">
|
||||
<DependentUpon>frmStopOperation.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OremrUserControl\ComCheckBoxList.cs">
|
||||
@ -1142,11 +1081,11 @@
|
||||
<EmbeddedResource Include="OperationDoing\AnasRecordBill\frmSafetyExamine.resx">
|
||||
<DependentUpon>frmSafetyExamine.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationDoing\AnasRecoverBill\UI\frmAnasRecoverBillNew.resx">
|
||||
<EmbeddedResource Include="OperationDoing\AnasRecoverBill\frmAnasRecoverBillNew.resx">
|
||||
<DependentUpon>frmAnasRecoverBillNew.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationDoing\AnasRecoverBill\UI\frmRecoverPatient.resx">
|
||||
<EmbeddedResource Include="OperationDoing\AnasRecoverBill\frmRecoverPatient.resx">
|
||||
<DependentUpon>frmRecoverPatient.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationDoing\oldSystemCode\FormUseDrugsReport.resx">
|
||||
@ -1191,22 +1130,22 @@
|
||||
<EmbeddedResource Include="OremrUserControl\PrescriptionDocument.resx">
|
||||
<DependentUpon>PrescriptionDocument.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmSchedulePlan2.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmSchedulePlan2.resx">
|
||||
<DependentUpon>frmSchedulePlan2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmSchedulePlan.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmSchedulePlan.resx">
|
||||
<DependentUpon>frmSchedulePlan.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmPrintingArrangemen.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmPrintingArrangemen.resx">
|
||||
<DependentUpon>frmPrintingArrangemen.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\FrmScheduling2.resx">
|
||||
<EmbeddedResource Include="OperationFront\FrmScheduling2.resx">
|
||||
<DependentUpon>FrmScheduling2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\FrmScheduling2Option.resx">
|
||||
<EmbeddedResource Include="OperationFront\FrmScheduling2Option.resx">
|
||||
<DependentUpon>FrmScheduling2Option.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmSelectiveOperationsPrint.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmSelectiveOperationsPrint.resx">
|
||||
<DependentUpon>frmSelectiveOperationsPrint.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OremrUserControl\UCOperationGoodsBill.resx">
|
||||
@ -1270,37 +1209,37 @@
|
||||
<EmbeddedResource Include="OperationDoing\AnasRecordBill\frmSelectPatientNew.resx">
|
||||
<DependentUpon>frmSelectPatientNew.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmApplyConfigSet.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmApplyConfigSet.resx">
|
||||
<DependentUpon>frmApplyConfigSet.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmExeOperationPlan.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmExeOperationPlan.resx">
|
||||
<DependentUpon>frmExeOperationPlan.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmOperationApply.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmOperationApply.resx">
|
||||
<DependentUpon>frmOperationApply.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmOperationApplyDetail.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmOperationApplyDetail.resx">
|
||||
<DependentUpon>frmOperationApplyDetail.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmOperationFrontVisit.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmOperationFrontVisit.resx">
|
||||
<DependentUpon>frmOperationFrontVisit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmOperationPlan.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmOperationPlan.resx">
|
||||
<DependentUpon>frmOperationPlan.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmOperationPlanDetail.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmOperationPlanDetail.resx">
|
||||
<DependentUpon>frmOperationPlanDetail.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmOperationSchedulePlan.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlan.resx">
|
||||
<DependentUpon>frmOperationSchedulePlan.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmPlanOrder.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmPlanOrder.resx">
|
||||
<DependentUpon>frmPlanOrder.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmPlanPatientInfo.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmPlanPatientInfo.resx">
|
||||
<DependentUpon>frmPlanPatientInfo.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmStopOperation.resx">
|
||||
<EmbeddedResource Include="OperationFront\frmStopOperation.resx">
|
||||
<DependentUpon>frmStopOperation.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OremrUserControl\ucAnasRecordBillLeftMenu.resx">
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -12,8 +14,8 @@ namespace DataDictionary.UI
|
||||
public partial class frmBasicDictionary : Form
|
||||
{
|
||||
public AIMSExtension.EditState _state;
|
||||
public List<Model.BasicDictionary> BasicDictionaryObjList;
|
||||
// private Model.BasicDictionary BasicDictionaryRowData;
|
||||
public List<BasicDictionary> BasicDictionaryObjList;
|
||||
// private BasicDictionary BasicDictionaryRowData;
|
||||
public frmBasicDictionary()
|
||||
{
|
||||
InitializeComponent();
|
||||
@ -21,8 +23,8 @@ namespace DataDictionary.UI
|
||||
|
||||
private void frmBasicDictionary_Load(object sender, EventArgs e)
|
||||
{
|
||||
BasicDictionaryObjList = BLL.DataDictionary.GetModelParentList();
|
||||
BasicDictionaryObjList.Insert(0, new Model.BasicDictionary { Id = -1, Name = "无", ParentId = 0 });
|
||||
BasicDictionaryObjList = BBasicDictionary.GetModelParentList();
|
||||
BasicDictionaryObjList.Insert(0, new BasicDictionary { Id = -1, Name = "无", ParentId = 0 });
|
||||
this.treeView1.BackColor = System.Drawing.Color.Snow;
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvBasicDictionary);
|
||||
this.cboParent.DataSource = BasicDictionaryObjList;
|
||||
@ -39,18 +41,18 @@ namespace DataDictionary.UI
|
||||
private void InitTreeView()
|
||||
{
|
||||
treeView1.Nodes.Clear();
|
||||
List<Model.BasicDictionary> BasicDictionaryList = new List<Model.BasicDictionary>();
|
||||
Model.BasicDictionary BasicDictionaryObj = new Model.BasicDictionary();
|
||||
List<BasicDictionary> BasicDictionaryList = new List<BasicDictionary>();
|
||||
BasicDictionary BasicDictionaryObj = new BasicDictionary();
|
||||
|
||||
BasicDictionaryList = BLL.DataDictionary.GetModelList(0);
|
||||
BasicDictionaryList = BBasicDictionary.GetModelList(0);
|
||||
for (int i = 0; i < BasicDictionaryList.Count; i++)
|
||||
{
|
||||
BasicDictionaryObj = BLL.DataDictionary.GetModel(BasicDictionaryList[i].Id);
|
||||
BasicDictionaryObj = BBasicDictionary.GetModel(BasicDictionaryList[i].Id.Value);
|
||||
TreeNode Node = treeView1.Nodes.Add(BasicDictionaryObj.Id.ToString(), BasicDictionaryObj.Name);
|
||||
BuildChildNode(BasicDictionaryObj, Node);
|
||||
}
|
||||
}
|
||||
private void BuildChildNode(Model.BasicDictionary BasicDictionaryObj, TreeNode ParentNode)
|
||||
private void BuildChildNode(BasicDictionary BasicDictionaryObj, TreeNode ParentNode)
|
||||
{
|
||||
for (int i = 0; i < BasicDictionaryObj.Children.Count; i++)
|
||||
{
|
||||
@ -114,7 +116,7 @@ namespace DataDictionary.UI
|
||||
|
||||
private void tsbSava_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.BasicDictionary BasicDictionaryObj = new Model.BasicDictionary();
|
||||
BasicDictionary BasicDictionaryObj = new BasicDictionary();
|
||||
if (ValidInput())
|
||||
{
|
||||
BasicDictionaryObj.Name = txtName.Text.Trim();
|
||||
@ -137,14 +139,14 @@ namespace DataDictionary.UI
|
||||
BasicDictionaryObj.Remark = txtRemark.Text.Trim();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.DataDictionary.Add(BasicDictionaryObj);
|
||||
BBasicDictionary.Add(BasicDictionaryObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
if (dgvBasicDictionary.Rows.Count > 0)
|
||||
{
|
||||
BasicDictionaryObj.Id = int.Parse(dgvBasicDictionary.CurrentRow.Cells["Id"].Value.ToString());
|
||||
BLL.DataDictionary.Update(BasicDictionaryObj);
|
||||
BBasicDictionary.Update(BasicDictionaryObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -153,7 +155,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.ClearControl(panel4);
|
||||
intOrder.Text = "0";
|
||||
|
||||
dgvBasicDictionary.DataSource = BLL.DataDictionary.GetDataDictionaryDataTable(BasicDictionaryObj.ParentId);
|
||||
dgvBasicDictionary.DataSource = BBasicDictionary.GetDataDictionaryDataTable(BasicDictionaryObj.ParentId.Value.ToString());
|
||||
|
||||
InitTreeView();
|
||||
}
|
||||
@ -191,7 +193,7 @@ namespace DataDictionary.UI
|
||||
if (this.treeView1.SelectedNode.Level == 1)
|
||||
{
|
||||
|
||||
dgvBasicDictionary.DataSource = BLL.DataDictionary.GetDataDictionaryDataTable(int.Parse(treeView1.SelectedNode.Parent.Name));
|
||||
dgvBasicDictionary.DataSource = BBasicDictionary.GetDataDictionaryDataTable(int.Parse(treeView1.SelectedNode.Parent.Name));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using HelperDB;
|
||||
|
||||
namespace DataDictionary.UI
|
||||
@ -25,7 +27,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
dgvDisease.DataSource = DataDictionary.BLL.Disease.GetDataTable();
|
||||
dgvDisease.DataSource = BDisease.GetDataTable();
|
||||
|
||||
}
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
@ -84,7 +86,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
if (this.ValidInput())
|
||||
{
|
||||
Model.Disease DiseaseObj = new Model.Disease();
|
||||
Disease DiseaseObj = new Disease();
|
||||
DiseaseObj.Name = txtName.Text.Trim();
|
||||
DiseaseObj.IcdCode = txtICDcode.Text.Trim();
|
||||
DiseaseObj.HelpCode = txtHelpCode.Text;
|
||||
@ -94,23 +96,23 @@ namespace DataDictionary.UI
|
||||
DiseaseObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
if (BLL.Disease.IsExit(txtName.Text.Trim()))
|
||||
if (BDisease.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
BLL.Disease.Add(DiseaseObj);
|
||||
BDisease.Add(DiseaseObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
DiseaseObj.Id = SelectDiseaseRowId;
|
||||
BLL.Disease.Update(DiseaseObj);
|
||||
BDisease.Update(DiseaseObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
dgvDisease.DataSource = DataDictionary.BLL.Disease.GetDataTable();
|
||||
dgvDisease.DataSource = BDisease.GetDataTable();
|
||||
}
|
||||
|
||||
private void tsbExit_Click(object sender, EventArgs e)
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -21,7 +23,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgv);
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel4, false);
|
||||
cboDosageUnit.DataSource = BLL.Drugs.GetDosageUnitDataTable(1);
|
||||
cboDosageUnit.DataSource = BDrugs.GetDosageUnitDataTable(1);
|
||||
cboDosageUnit.DisplayMember = "Name";
|
||||
cboDosageUnit.ValueMember = "Id";
|
||||
cboDosageUnit.SelectedIndex = -1;
|
||||
@ -77,7 +79,7 @@ namespace DataDictionary.UI
|
||||
return;
|
||||
}
|
||||
|
||||
Model.Drugs DrugsObj = new Model.Drugs();
|
||||
Drugs DrugsObj = new Drugs();
|
||||
DrugsObj.Name = txtName.Text.Trim();
|
||||
DrugsObj.HelpCode = txtHelpCode.Text.Trim();
|
||||
DrugsObj.DrugKind = cboDrugKind.Text;
|
||||
@ -98,12 +100,12 @@ namespace DataDictionary.UI
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.Drugs.Add(DrugsObj);
|
||||
BDrugs.Add(DrugsObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
DrugsObj.Id = SelectDrugsRowId;
|
||||
BLL.Drugs.Update(DrugsObj);
|
||||
BDrugs.Update(DrugsObj);
|
||||
}
|
||||
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
@ -124,7 +126,7 @@ namespace DataDictionary.UI
|
||||
private void GetDrugsDataTable(string DrugKind)
|
||||
{
|
||||
dgv.Rows.Clear();
|
||||
DataTable dt = BLL.Drugs.GetDataTable(DrugKind);
|
||||
DataTable dt = BDrugs.GetDataTable(DrugKind);
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgv.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using HelperDB;
|
||||
|
||||
namespace DataDictionary.UI
|
||||
@ -26,7 +28,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
dgvEventsKind.DataSource = DataDictionary.BLL.Events.GetDataTable();
|
||||
dgvEventsKind.DataSource = BEvents.GetDataTable();
|
||||
}
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -91,7 +93,7 @@ namespace DataDictionary.UI
|
||||
if (this.ValidInput())
|
||||
{
|
||||
|
||||
Model.Events EventsObj = new Model.Events();
|
||||
Events EventsObj = new Events();
|
||||
EventsObj.Name = txtName.Text.Trim();
|
||||
EventsObj.EventKind = cboEventKind.Text;
|
||||
EventsObj.HelpCode = txtHelpCode.Text;
|
||||
@ -102,23 +104,23 @@ namespace DataDictionary.UI
|
||||
EventsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
if (BLL.Events.IsExit(txtName.Text.Trim()))
|
||||
if (BEvents.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
BLL.Events.Add(EventsObj);
|
||||
BEvents.Add(EventsObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
EventsObj.Id = SelectEventsKindRowId;
|
||||
BLL.Events.Update(EventsObj);
|
||||
BEvents.Update(EventsObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
dgvEventsKind.DataSource = DataDictionary.BLL.Events.GetDataTable();
|
||||
dgvEventsKind.DataSource = BEvents.GetDataTable();
|
||||
}
|
||||
private void txtName_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -67,7 +69,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
if (this.ValidInput())
|
||||
{
|
||||
Model.MedicalItemKind MedicalItemKindObj = new Model.MedicalItemKind();
|
||||
MedicalItemKind MedicalItemKindObj = new MedicalItemKind();
|
||||
MedicalItemKindObj.Name = txtName.Text.Trim();
|
||||
if(cboIsMed.Text =="药品")
|
||||
{
|
||||
@ -86,12 +88,12 @@ namespace DataDictionary.UI
|
||||
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.MedicalItemKind.Add(MedicalItemKindObj);
|
||||
BMedicalItemKind.Add(MedicalItemKindObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
MedicalItemKindObj.Id = SelectMedicalItemKindRowId;
|
||||
BLL.MedicalItemKind.Update(MedicalItemKindObj);
|
||||
BMedicalItemKind.Update(MedicalItemKindObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
@ -102,7 +104,7 @@ namespace DataDictionary.UI
|
||||
private void GetMedicalItemKindDataTable()
|
||||
{
|
||||
dgvMedicalItemKind.Rows.Clear();
|
||||
DataTable dt = BLL.MedicalItemKind.GetDataTable();
|
||||
DataTable dt = BMedicalItemKind.GetDataTable();
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgvMedicalItemKind.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using HelperDB;
|
||||
|
||||
namespace DataDictionary.UI
|
||||
@ -24,7 +26,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
dgvOperation.DataSource = DataDictionary.BLL.Operation.GetDataTable();
|
||||
dgvOperation.DataSource = BOperation.GetDataTable();
|
||||
}
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -75,7 +77,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
if (this.ValidInput())
|
||||
{
|
||||
Model.Operation OperationObj = new Model.Operation();
|
||||
Operation OperationObj = new Operation();
|
||||
OperationObj.Name = txtName.Text.Trim();
|
||||
OperationObj.IcdCode = txtICDcode.Text.Trim();
|
||||
OperationObj.HelpCode = txtHelpCode.Text;
|
||||
@ -85,23 +87,23 @@ namespace DataDictionary.UI
|
||||
OperationObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
if (BLL.Operation.IsExit(txtName.Text.Trim()))
|
||||
if (BOperation.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
BLL.Operation.Add(OperationObj);
|
||||
BOperation.Add(OperationObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
OperationObj.Id = SelectOperationRowId;
|
||||
BLL.Operation.Update(OperationObj);
|
||||
BOperation.Update(OperationObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
dgvOperation.DataSource = DataDictionary.BLL.Operation.GetDataTable();
|
||||
dgvOperation.DataSource = BOperation.GetDataTable();
|
||||
}
|
||||
|
||||
private void tsbCancel_Click(object sender, EventArgs e)
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using HelperDB;
|
||||
|
||||
namespace DataDictionary.UI
|
||||
@ -24,7 +26,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
dgvOutputLiquids.DataSource = DataDictionary.BLL.OutputLiquids.GetDataTable();
|
||||
dgvOutputLiquids.DataSource = BOutputLiquids.GetDataTable();
|
||||
}
|
||||
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
@ -33,7 +35,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
chkIsValid.Checked = true;
|
||||
if (BLL.OutputLiquids.IsExit(txtName.Text.Trim()))
|
||||
if (BOutputLiquids.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
@ -72,7 +74,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
if (this.ValidInput())
|
||||
{
|
||||
Model.OutputLiquids OutputLiquidsObj = new Model.OutputLiquids();
|
||||
OutputLiquids OutputLiquidsObj = new OutputLiquids();
|
||||
OutputLiquidsObj.Name = txtName.Text.Trim();
|
||||
OutputLiquidsObj.HelpCode = txtHelpCode.Text;
|
||||
OutputLiquidsObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
|
||||
@ -81,23 +83,23 @@ namespace DataDictionary.UI
|
||||
OutputLiquidsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
if (BLL.OutputLiquids.IsExit(txtName.Text.Trim()))
|
||||
if (BOutputLiquids.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
BLL.OutputLiquids.Add(OutputLiquidsObj);
|
||||
BOutputLiquids.Add(OutputLiquidsObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
OutputLiquidsObj.Id = SelectOutputLiquidsRowId;
|
||||
BLL.OutputLiquids.Update(OutputLiquidsObj);
|
||||
BOutputLiquids.Update(OutputLiquidsObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
dgvOutputLiquids.DataSource = DataDictionary.BLL.OutputLiquids.GetDataTable();
|
||||
dgvOutputLiquids.DataSource = BOutputLiquids.GetDataTable();
|
||||
}
|
||||
private bool ValidInput()
|
||||
{
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using HelperDB;
|
||||
|
||||
namespace DataDictionary.UI
|
||||
@ -25,12 +27,12 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
dgvPatientKind.DataSource = DataDictionary.BLL.PatientKind.GetDataTable();
|
||||
dgvPatientKind.DataSource = BPatientKind.GetDataTable();
|
||||
}
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
_state = AIMSExtension.EditState.ADD;
|
||||
Model.PatientKind PatientKindObj = new Model.PatientKind();
|
||||
PatientKind PatientKindObj = new PatientKind();
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
chkIsValid.Checked = true;
|
||||
@ -67,7 +69,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
if (this.ValidInput())
|
||||
{
|
||||
Model.PatientKind PatientKindObj = new Model.PatientKind();
|
||||
PatientKind PatientKindObj = new PatientKind();
|
||||
PatientKindObj.No = txtNo.Text.Trim();
|
||||
PatientKindObj.Name = txtName.Text.Trim();
|
||||
PatientKindObj.HelpCode = txtHelpCode.Text;
|
||||
@ -77,24 +79,24 @@ namespace DataDictionary.UI
|
||||
PatientKindObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
if (BLL.PatientKind.IsExit(txtNo.Text.Trim()))
|
||||
if (BPatientKind.IsExit(txtNo.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
|
||||
if (BLL.PatientKind.NameExit(txtName.Text.Trim()))
|
||||
if (BPatientKind.NameExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
|
||||
BLL.PatientKind.Add(PatientKindObj);
|
||||
BPatientKind.Add(PatientKindObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
PatientKindObj.Id = SelectPatientKindRowId;
|
||||
BLL.PatientKind.Update(PatientKindObj);
|
||||
BPatientKind.Update(PatientKindObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using HelperDB;
|
||||
|
||||
namespace DataDictionary.UI
|
||||
@ -24,7 +26,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
dgvSysConfig.DataSource = DataDictionary.BLL.SysConfig.GetDataTable();
|
||||
dgvSysConfig.DataSource = BSysConfig.GetDataTable();
|
||||
}
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -32,7 +34,7 @@ namespace DataDictionary.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
chkIsValid.Checked = true;
|
||||
if (BLL.SysConfig.IsExit(txtName.Text.Trim()))
|
||||
if (BSysConfig.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
@ -86,7 +88,7 @@ namespace DataDictionary.UI
|
||||
{
|
||||
if (this.ValidInput())
|
||||
{
|
||||
Model.SysConfig SysConfigObj = new Model.SysConfig();
|
||||
SysConfig SysConfigObj = new SysConfig();
|
||||
SysConfigObj.Name = txtName.Text.Trim();
|
||||
SysConfigObj.Value = txtValue.Text.Trim();
|
||||
SysConfigObj.Note = txtNote.Text;
|
||||
@ -96,23 +98,23 @@ namespace DataDictionary.UI
|
||||
SysConfigObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
if (BLL.SysConfig.IsExit(txtName.Text.Trim()))
|
||||
if (BSysConfig.IsExit(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("该事件已存在");
|
||||
return;
|
||||
}
|
||||
BLL.SysConfig.Add(SysConfigObj);
|
||||
BSysConfig.Add(SysConfigObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
SysConfigObj.Id = SelectSysConfigRowId;
|
||||
BLL.SysConfig.Update(SysConfigObj);
|
||||
BSysConfig.Update(SysConfigObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
dgvSysConfig.DataSource = DataDictionary.BLL.SysConfig.GetDataTable();
|
||||
dgvSysConfig.DataSource = BSysConfig.GetDataTable();
|
||||
}
|
||||
|
||||
private void tsbExit_Click(object sender, EventArgs e)
|
||||
|
||||
@ -91,7 +91,7 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
DateTime beginTime = Convert.ToDateTime(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"));
|
||||
DateTime endTime = Convert.ToDateTime(dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59"));
|
||||
DataTable vPlanedOpeList = AIMS.OperationFront.BLL.OperationApply.GetOperationFrontDataTable(beginTime.ToString("yyyy-MM-dd 00:00:00"), endTime.ToString("yyyy-MM-dd 23:59:59"));
|
||||
DataTable vPlanedOpeList = BOperationApply.GetOperationFrontDataTable(beginTime.ToString("yyyy-MM-dd 00:00:00"), endTime.ToString("yyyy-MM-dd 23:59:59"));
|
||||
if (vPlanedOpeList.Rows.Count <= 0) return;
|
||||
|
||||
string roomname = "";
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -28,7 +30,7 @@ namespace DrugManagement.UI
|
||||
private void GetDosageKindDataTable()
|
||||
{
|
||||
dgvDosageKind.Rows.Clear();
|
||||
DataTable dt = BLL.DosageKind.GetDataTable();
|
||||
DataTable dt = BDosageKind.GetDataTable();
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgvDosageKind.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
@ -88,7 +90,7 @@ namespace DrugManagement.UI
|
||||
MessageBox.Show("名称不能为空!");
|
||||
return;
|
||||
}
|
||||
Model.DosageKind DosageKindObj = new Model.DosageKind();
|
||||
DosageKind DosageKindObj = new DosageKind();
|
||||
DosageKindObj.Name = txtName.Text.Trim();
|
||||
DosageKindObj.HelpCode = txtHelpCode.Text.Trim();
|
||||
DosageKindObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
|
||||
@ -97,13 +99,13 @@ namespace DrugManagement.UI
|
||||
DosageKindObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.DosageKind.Add(DosageKindObj);
|
||||
BDosageKind.Add(DosageKindObj);
|
||||
}
|
||||
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
DosageKindObj.Id = SelectDosageKindId;
|
||||
BLL.DosageKind.Update(DosageKindObj);
|
||||
BDosageKind.Update(DosageKindObj);
|
||||
}
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -28,7 +30,7 @@ namespace DrugManagement.UI
|
||||
private void GetDosageUnitDataTable()
|
||||
{
|
||||
dgvDosageUnit.Rows.Clear();
|
||||
DataTable dt = BLL.DosageUnit.GetDataTable();
|
||||
DataTable dt = BDosageUnit.GetDataTable();
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgvDosageUnit.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
@ -95,7 +97,7 @@ namespace DrugManagement.UI
|
||||
MessageBox.Show("单位类型不能为空!");
|
||||
return;
|
||||
}
|
||||
Model.DosageUnit DosageUnitObj = new Model.DosageUnit();
|
||||
DosageUnit DosageUnitObj = new DosageUnit();
|
||||
DosageUnitObj.Name = txtName.Text.Trim();
|
||||
|
||||
if (cboUnitType.Text == "剂量单位")
|
||||
@ -113,13 +115,13 @@ namespace DrugManagement.UI
|
||||
DosageUnitObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.DosageUnit.Add(DosageUnitObj);
|
||||
BDosageUnit.Add(DosageUnitObj);
|
||||
}
|
||||
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
DosageUnitObj.Id = SelectDosageUnitId;
|
||||
BLL.DosageUnit.Update(DosageUnitObj);
|
||||
BDosageUnit.Update(DosageUnitObj);
|
||||
}
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -12,7 +14,7 @@ namespace DrugManagement.UI
|
||||
public partial class frmDrugKind : Form
|
||||
{
|
||||
public AIMSExtension.EditState _state;
|
||||
private List<DrugManagement.Model.DrugKind> DrugKindObjList = new List<Model.DrugKind>();
|
||||
private List<DrugKind> DrugKindObjList = new List<DrugKind>();
|
||||
private int SelectRowId = 0;
|
||||
public frmDrugKind()
|
||||
{
|
||||
@ -24,7 +26,7 @@ namespace DrugManagement.UI
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvDrugKind);
|
||||
this.cboMedicalItemKind.DataSource =
|
||||
AIMSExtension.PublicMethod.GetNewDataTable(DataDictionary.BLL.MedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
this.cboMedicalItemKind.DisplayMember = "Name";
|
||||
this.cboMedicalItemKind.ValueMember = "Id";
|
||||
GetDrugKindDataTable();
|
||||
@ -33,7 +35,7 @@ namespace DrugManagement.UI
|
||||
private void GetDrugKindDataTable()
|
||||
{
|
||||
dgvDrugKind.Rows.Clear();
|
||||
DataTable dt = BLL.DrugKind.GetDataTable();
|
||||
DataTable dt = BDrugKind.GetDataTable();
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgvDrugKind.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
@ -91,7 +93,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
if (ValidInput())
|
||||
{
|
||||
Model.DrugKind DrugKindObj = new Model.DrugKind();
|
||||
DrugKind DrugKindObj = new DrugKind();
|
||||
DrugKindObj.Name = txtName.Text.Trim();
|
||||
DrugKindObj.MedicalItemKindId = int.Parse(cboMedicalItemKind.SelectedValue.ToString());
|
||||
DrugKindObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
|
||||
@ -101,12 +103,12 @@ namespace DrugManagement.UI
|
||||
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.DrugKind.Add(DrugKindObj);
|
||||
BDrugKind.Add(DrugKindObj);
|
||||
}
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
DrugKindObj.Id = SelectRowId;
|
||||
BLL.DrugKind.Update(DrugKindObj);
|
||||
BDrugKind.Update(DrugKindObj);
|
||||
}
|
||||
GetDrugKindDataTable();
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -68,7 +70,7 @@ namespace DrugManagement.UI
|
||||
|
||||
AIMSExtension.PublicMethod.ValidDataGridViewExistsItemName(dgvDrugManufacturer, "NameColumn", txtName.Text);
|
||||
|
||||
Model.DrugManufacturer DrugManufacturerObj = new Model.DrugManufacturer();
|
||||
DrugManufacturer DrugManufacturerObj = new DrugManufacturer();
|
||||
|
||||
DrugManufacturerObj.Name = txtName.Text.Trim();
|
||||
DrugManufacturerObj.HelpCode = txtHelpCode.Text.Trim();
|
||||
@ -82,7 +84,7 @@ namespace DrugManagement.UI
|
||||
if (!AIMSExtension.PublicMethod.ValidDataGridViewExistsItemName(dgvDrugManufacturer, "NameColumn", txtName.Text))
|
||||
{
|
||||
|
||||
BLL.DrugManufacturer.Add(DrugManufacturerObj);
|
||||
BDrugManufacturer.Add(DrugManufacturerObj);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -92,7 +94,7 @@ namespace DrugManagement.UI
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
DrugManufacturerObj.Id = SelectDrugManufacturerId;
|
||||
BLL.DrugManufacturer.Update(DrugManufacturerObj);
|
||||
BDrugManufacturer.Update(DrugManufacturerObj);
|
||||
}
|
||||
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
|
||||
@ -113,7 +115,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
|
||||
dgvDrugManufacturer.Rows.Clear();
|
||||
DataTable dt = BLL.DrugManufacturer.GetDataTable();
|
||||
DataTable dt = BDrugManufacturer.GetDataTable();
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgvDrugManufacturer.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -26,7 +27,7 @@ namespace DrugManagement.UI
|
||||
int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height - this.Size.Height) / 2;
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
this.Location = (Point)new Size(x, y);
|
||||
dgvDrugManufacturer.DataSource = BLL.DrugManufacturer.GetDataTable(HelpCode);
|
||||
dgvDrugManufacturer.DataSource = BDrugManufacturer.GetDataTable(HelpCode);
|
||||
}
|
||||
|
||||
private void dgvDrugManufacturer_KeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -31,13 +33,13 @@ namespace DrugManagement.UI
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel6, false);
|
||||
|
||||
DataTable dt = AIMSExtension.PublicMethod.GetNewDataTable(DataDictionary.BLL.MedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
DataTable dt = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
TreeNode Node = treeView1.Nodes.Add(dt.Rows[i]["Id"].ToString(), dt.Rows[i]["Name"].ToString());
|
||||
|
||||
DataTable dt1 = BLL.DrugKind.GetDataTable(dt.Rows[i]["Id"].ToString());
|
||||
DataTable dt1 = BDrugKind.GetDataTable(dt.Rows[i]["Id"].ToString());
|
||||
|
||||
for (int j = 0; j < dt1.Rows.Count; j++)
|
||||
{
|
||||
@ -45,13 +47,13 @@ namespace DrugManagement.UI
|
||||
}
|
||||
}
|
||||
|
||||
cboDrugKind.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BLL.DrugKind.GetDataTable(), "IsValid='有效'", "");
|
||||
cboDrugKind.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BDrugKind.GetDataTable(), "IsValid='有效'", "");
|
||||
|
||||
cboDrugKind.DisplayMember = "Name";
|
||||
cboDrugKind.ValueMember = "Id";
|
||||
cboDrugKind.SelectedIndex = -1;
|
||||
|
||||
cboDosageKind.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BLL.DosageKind.GetDataTable(), "IsValid='有效'", "");
|
||||
cboDosageKind.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BDosageKind.GetDataTable(), "IsValid='有效'", "");
|
||||
|
||||
cboDosageKind.DisplayMember = "Name";
|
||||
cboDosageKind.ValueMember = "Id";
|
||||
@ -68,7 +70,7 @@ namespace DrugManagement.UI
|
||||
TreeNode sNode = treeView1.SelectedNode;
|
||||
if (sNode.Parent != null)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = new Model.DrugKind();
|
||||
DrugKind DrugKindObj = new DrugKind();
|
||||
cboDrugKind.SelectedValue = sNode.Name;
|
||||
}
|
||||
}
|
||||
@ -114,7 +116,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
if(ValidInput())
|
||||
{
|
||||
Model.MedicalDict MedicalDictObj = new Model.MedicalDict();
|
||||
MedicalDict MedicalDictObj = new MedicalDict();
|
||||
MedicalDictObj.No = txtNo.Text.Trim();
|
||||
MedicalDictObj.Name = txtName.Text.Trim();
|
||||
MedicalDictObj.HelpCode = txtHelpCode.Text;
|
||||
@ -127,13 +129,13 @@ namespace DrugManagement.UI
|
||||
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.MedicalDict.Add(MedicalDictObj);
|
||||
BMedicalDict.Add(MedicalDictObj);
|
||||
}
|
||||
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
MedicalDictObj.Id = SelectMedicalDictRowId;
|
||||
BLL.MedicalDict.Update(MedicalDictObj);
|
||||
BMedicalDict.Update(MedicalDictObj);
|
||||
}
|
||||
}
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
@ -144,9 +146,9 @@ namespace DrugManagement.UI
|
||||
|
||||
if (sNode.Parent != null)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = new Model.DrugKind();
|
||||
DrugKind DrugKindObj = new DrugKind();
|
||||
cboDrugKind.SelectedValue = sNode.Name;
|
||||
dgvMedicalDict.DataSource = BLL.MedicalDict.GetDataTable(int.Parse(cboDrugKind.SelectedValue.ToString()));
|
||||
dgvMedicalDict.DataSource = BMedicalDict.GetDataTable(int.Parse(cboDrugKind.SelectedValue.ToString()));
|
||||
|
||||
}
|
||||
}
|
||||
@ -170,7 +172,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
MessageBox.Show("剂型不能为空!");
|
||||
}
|
||||
else if (_state == AIMSExtension.EditState.ADD && BLL.MedicalDict.Exists(txtNo.Text))
|
||||
else if (_state == AIMSExtension.EditState.ADD && BMedicalDict.Exists(txtNo.Text))
|
||||
{
|
||||
MessageBox.Show("编码不能重复!");
|
||||
}
|
||||
@ -198,16 +200,16 @@ namespace DrugManagement.UI
|
||||
|
||||
if (sNode.Parent != null)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = new Model.DrugKind();
|
||||
DrugKind DrugKindObj = new DrugKind();
|
||||
cboDrugKind.SelectedValue = sNode.Name;
|
||||
dgvMedicalDict.DataSource = BLL.MedicalDict.GetDataTable(int.Parse(cboDrugKind.SelectedValue.ToString()));
|
||||
dgvMedicalDict.DataSource = BMedicalDict.GetDataTable(int.Parse(cboDrugKind.SelectedValue.ToString()));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void btnFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
dgvMedicalDict.DataSource = BLL.MedicalDict.GetDataTableByName(txtInput.Text.Trim());
|
||||
dgvMedicalDict.DataSource = BMedicalDict.GetDataTableByName(txtInput.Text.Trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -21,7 +22,7 @@ namespace DrugManagement.UI
|
||||
private void frmMedicalDictList_Load(object sender, EventArgs e)
|
||||
{
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicalDictList);
|
||||
dgvMedicalDictList.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BLL.MedicalDict.GetDataTableByName(HelpCode), "IsValid='有效'", "");
|
||||
dgvMedicalDictList.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalDict.GetDataTableByName(HelpCode), "IsValid='有效'", "");
|
||||
}
|
||||
|
||||
private void dgvMedicalDictList_KeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -29,11 +31,11 @@ namespace DrugManagement.UI
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicalItem);
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicamentPrice);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
DataTable dt = AIMSExtension.PublicMethod.GetNewDataTable(DataDictionary.BLL.MedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
DataTable dt = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
TreeNode Node = treeView1.Nodes.Add(dt.Rows[i]["Id"].ToString(), dt.Rows[i]["Name"].ToString());
|
||||
DataTable dt1 = BLL.DrugKind.GetDataTable(dt.Rows[i]["Id"].ToString());
|
||||
DataTable dt1 = BDrugKind.GetDataTable(dt.Rows[i]["Id"].ToString());
|
||||
for (int j = 0; j < dt1.Rows.Count; j++)
|
||||
{
|
||||
Node.Nodes.Add(dt1.Rows[j]["Id"].ToString(), dt1.Rows[j]["Name"].ToString());
|
||||
@ -49,7 +51,7 @@ namespace DrugManagement.UI
|
||||
|
||||
if (sNode != null)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = new Model.DrugKind();
|
||||
DrugKind DrugKindObj = new DrugKind();
|
||||
frmMedicalItemDetail.DrugKindId =int.Parse(sNode.Name);
|
||||
}
|
||||
|
||||
@ -78,7 +80,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
IsValid = 1;
|
||||
}
|
||||
dgvMedicalItem.DataSource = BLL.MedicalItem.GetMedicalItemDrugDataTable(txtInput.Text.Trim(), IsValid);
|
||||
dgvMedicalItem.DataSource = BMedicalItem.GetMedicalItemDrugDataTable(txtInput.Text.Trim(), IsValid);
|
||||
if (dgvMedicalItem.Rows.Count > 0)
|
||||
{
|
||||
dgvMedicalItem.ClearSelection();
|
||||
@ -94,8 +96,8 @@ namespace DrugManagement.UI
|
||||
|
||||
if (sNode != null)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = new Model.DrugKind();
|
||||
dgvMedicalItem.DataSource = BLL.MedicalItem.GetMedicalItemByDrugKindId(int.Parse(sNode.Name));
|
||||
DrugKind DrugKindObj = new DrugKind();
|
||||
dgvMedicalItem.DataSource = BMedicalItem.GetMedicalItemByDrugKindId(int.Parse(sNode.Name));
|
||||
}
|
||||
|
||||
}
|
||||
@ -111,7 +113,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
frmMedicamentPrice.MedicamentPriceId = int.Parse(dgvMedicamentPrice.CurrentRow.Cells["IdColumn1"].Value.ToString());
|
||||
}
|
||||
frmMedicamentPrice.SelectRowMedicalItemObj = BLL.MedicalItem.GetModel(int.Parse(dgvMedicalItem.CurrentRow.Cells["Id"].Value.ToString()));
|
||||
frmMedicamentPrice.SelectRowMedicalItemObj = BMedicalItem.GetModel(int.Parse(dgvMedicalItem.CurrentRow.Cells["Id"].Value.ToString()));
|
||||
frmMedicamentPrice.ShowDialog();
|
||||
}
|
||||
}
|
||||
@ -174,7 +176,7 @@ namespace DrugManagement.UI
|
||||
if (dgvMedicalItem.Rows.Count > 0)
|
||||
{
|
||||
int MedicalItemId = int.Parse(dgvMedicalItem.CurrentRow.Cells["Id"].Value.ToString());
|
||||
dgvMedicamentPrice.DataSource = BLL.MedicamentPrice.GetDataTable(MedicalItemId);
|
||||
dgvMedicamentPrice.DataSource = BMedicamentPrice.GetDataTable(MedicalItemId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,13 +7,16 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
|
||||
namespace DrugManagement.UI
|
||||
{
|
||||
public partial class frmMedicalItemDetail : Form
|
||||
{
|
||||
public int DrugKindId = 0;
|
||||
private frmMedicalDictList frmMedicalDictList;
|
||||
private Model.MedicalDict MedicalDictObj = new Model.MedicalDict();
|
||||
private MedicalDict MedicalDictObj = new MedicalDict();
|
||||
public AIMSExtension.EditState _State;
|
||||
public int MedicalItemEditId = 0;
|
||||
public frmMedicalItemDetail()
|
||||
@ -32,9 +35,9 @@ namespace DrugManagement.UI
|
||||
Init();
|
||||
if (DrugKindId != 0)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = BLL.DrugKind.GetModel(DrugKindId);
|
||||
DrugKind DrugKindObj = BDrugKind.GetModel(DrugKindId);
|
||||
cboDrugKind.Text = DrugKindObj.Name;
|
||||
cboDrugKindTotal.Text = DataDictionary.BLL.MedicalItemKind.GetModel(DrugKindObj.MedicalItemKindId).Name;
|
||||
cboDrugKindTotal.Text = BMedicalItemKind.GetModel(DrugKindObj.MedicalItemKindId.Value).Name;
|
||||
}
|
||||
|
||||
chkIsValid.Checked = true;
|
||||
@ -45,8 +48,8 @@ namespace DrugManagement.UI
|
||||
|
||||
if (_State == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
Model.MedicalItem MedicalItemObj = new Model.MedicalItem();
|
||||
MedicalItemObj = BLL.MedicalItem.GetModel(MedicalItemEditId);
|
||||
MedicalItem MedicalItemObj = new MedicalItem();
|
||||
MedicalItemObj = BMedicalItem.GetModel(MedicalItemEditId);
|
||||
txtNo.Text = MedicalItemObj.No;
|
||||
txtName.Text = MedicalItemObj.Name;
|
||||
txtHelpCode.Text = MedicalItemObj.HelpCode;
|
||||
@ -56,7 +59,7 @@ namespace DrugManagement.UI
|
||||
txtStand.Text = MedicalItemObj.Stand;
|
||||
txtBarCode.Text = MedicalItemObj.BarCode;
|
||||
txtMedicalDictNo.Text = MedicalItemObj.MedicalDictNo;
|
||||
cboDrugKindTotal.SelectedValue = BLL.DrugKind.GetModel(MedicalItemObj.DrugKindId).MedicalItemKindId;
|
||||
cboDrugKindTotal.SelectedValue = BDrugKind.GetModel(MedicalItemObj.DrugKindId.Value).MedicalItemKindId;
|
||||
cboDrugKind.SelectedValue = MedicalItemObj.DrugKindId;
|
||||
|
||||
cboPharmaCology.SelectedValue = MedicalItemObj.PharmaCologyId;
|
||||
@ -93,56 +96,56 @@ namespace DrugManagement.UI
|
||||
|
||||
private void Init()
|
||||
{
|
||||
cboDosageKind.DataSource = BLL.DosageKind.GetDataTable();
|
||||
cboDosageKind.DataSource = BDosageKind.GetDataTable();
|
||||
|
||||
cboDosageKind.DisplayMember = "Name";
|
||||
cboDosageKind.ValueMember = "Id";
|
||||
cboDosageKind.SelectedIndex = -1;
|
||||
|
||||
|
||||
cboDrugKind.DataSource = BLL.DrugKind.GetDataTable();
|
||||
cboDrugKind.DataSource = BDrugKind.GetDataTable();
|
||||
cboDrugKind.DisplayMember = "Name";
|
||||
cboDrugKind.ValueMember = "Id";
|
||||
cboDrugKind.SelectedIndex = -1;
|
||||
|
||||
cboDrugKindTotal.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(DataDictionary.BLL.MedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
cboDrugKindTotal.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
|
||||
cboDrugKindTotal.DisplayMember = "Name";
|
||||
cboDrugKindTotal.ValueMember = "Id";
|
||||
cboDrugKindTotal.SelectedIndex = -1;
|
||||
|
||||
cboInsuranceKind.DisplayMember = "Name";
|
||||
cboInsuranceKind.ValueMember = "Id";
|
||||
cboInsuranceKind.DataSource = DataDictionary.BLL.DataDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='医保用药类别')");
|
||||
cboInsuranceKind.DataSource = BBasicDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='医保用药类别')");
|
||||
cboInsuranceKind.SelectedIndex = -1;
|
||||
|
||||
cboInsuranceKindNH.DisplayMember = "Name";
|
||||
cboInsuranceKindNH.ValueMember = "Id";
|
||||
cboInsuranceKindNH.DataSource = DataDictionary.BLL.DataDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='医保用药类别')");
|
||||
cboInsuranceKindNH.DataSource = BBasicDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='医保用药类别')");
|
||||
cboInsuranceKindNH.SelectedIndex = -1;
|
||||
|
||||
cboDosageUnit.DataSource = BLL.DosageUnit.GetDataTable(1);
|
||||
cboDosageUnit.DataSource = BDosageUnit.GetDataTable(1);
|
||||
cboDosageUnit.DisplayMember = "Name";
|
||||
cboDosageUnit.ValueMember = "Id";
|
||||
cboDosageUnit.SelectedIndex = -1;
|
||||
|
||||
cboPharmaCology.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BLL.PharmaCology.GetDataTable(), "IsValid='有效'", "");
|
||||
cboPharmaCology.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BPharmaCology.GetDataTable(), "IsValid='有效'", "");
|
||||
cboPharmaCology.DisplayMember = "Name";
|
||||
cboPharmaCology.ValueMember = "Id";
|
||||
cboPharmaCology.SelectedIndex = -1;
|
||||
|
||||
cboDosageUnit.DataSource = BLL.DosageUnit.GetDataTable(1);
|
||||
cboDosageUnit.DataSource = BDosageUnit.GetDataTable(1);
|
||||
cboDosageUnit.DisplayMember = "Name";
|
||||
cboDosageUnit.ValueMember = "Id";
|
||||
cboDosageUnit.SelectedIndex = -1;
|
||||
|
||||
|
||||
cboPackingUnit.DataSource = BLL.DosageUnit.GetDataTable(2);
|
||||
cboPackingUnit.DataSource = BDosageUnit.GetDataTable(2);
|
||||
cboPackingUnit.DisplayMember = "Name";
|
||||
cboPackingUnit.ValueMember = "Id";
|
||||
cboPackingUnit.SelectedIndex = -1;
|
||||
|
||||
|
||||
cboSplitUnit.DataSource = BLL.DosageUnit.GetDataTable(2);
|
||||
cboSplitUnit.DataSource = BDosageUnit.GetDataTable(2);
|
||||
cboSplitUnit.DisplayMember = "Name";
|
||||
cboSplitUnit.ValueMember = "Id";
|
||||
cboSplitUnit.SelectedIndex = -1;
|
||||
@ -154,7 +157,7 @@ namespace DrugManagement.UI
|
||||
frmMedicalDictList.HelpCode = txtName.Text.Trim();
|
||||
frmMedicalDictList.FormClosed += new FormClosedEventHandler(frmMedicalDictList_FormClosed);
|
||||
|
||||
if (AIMSExtension.PublicMethod.GetNewDataTable(BLL.MedicalDict.GetDataTableByName(txtName.Text.Trim()), "IsValid='有效'", "").Rows.Count > 0)
|
||||
if (AIMSExtension.PublicMethod.GetNewDataTable(BMedicalDict.GetDataTableByName(txtName.Text.Trim()), "IsValid='有效'", "").Rows.Count > 0)
|
||||
{
|
||||
frmMedicalDictList.ShowDialog();
|
||||
}
|
||||
@ -162,8 +165,8 @@ namespace DrugManagement.UI
|
||||
|
||||
void frmMedicalDictList_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
MedicalDictObj = BLL.MedicalDict.GetModel(frmMedicalDictList.MedicalDictId);
|
||||
int RowsCount =BLL.MedicalItem.GetMedicalItemByDictNo(MedicalDictObj.No);
|
||||
MedicalDictObj = BMedicalDict.GetModel(frmMedicalDictList.MedicalDictId);
|
||||
int RowsCount =BMedicalItem.GetMedicalItemByDictNo(MedicalDictObj.No);
|
||||
if (RowsCount == 0)
|
||||
{
|
||||
txtNo.Text = MedicalDictObj.No;
|
||||
@ -174,11 +177,11 @@ namespace DrugManagement.UI
|
||||
txtNo.Text = MedicalDictObj.No + (RowsCount + 1);
|
||||
}
|
||||
txtName.Text = MedicalDictObj.Name;
|
||||
cboDosageKind.Text = BLL.DosageKind.GetModel(MedicalDictObj.DosageKindId).Name;
|
||||
cboDosageKind.Text = BDosageKind.GetModel(MedicalDictObj.DosageKindId.Value).Name;
|
||||
txtMedicalDictNo.Text = MedicalDictObj.No;
|
||||
|
||||
cboDrugKind.Text = BLL.DrugKind.GetModel(MedicalDictObj.DrugKindId).Name;
|
||||
cboDrugKindTotal.Text = DataDictionary.BLL.MedicalItemKind.GetModel(BLL.DrugKind.GetModel(MedicalDictObj.DrugKindId).MedicalItemKindId).Name;
|
||||
cboDrugKind.Text = BDrugKind.GetModel(MedicalDictObj.DrugKindId.Value).Name;
|
||||
cboDrugKindTotal.Text = BMedicalItemKind.GetModel(BDrugKind.GetModel(MedicalDictObj.DrugKindId.Value).MedicalItemKindId.Value).Name;
|
||||
chkIsValid.Checked = true;
|
||||
|
||||
txtStand.Select();
|
||||
@ -190,9 +193,9 @@ namespace DrugManagement.UI
|
||||
AIMSExtension.PublicMethod.ClearControl(panel1);
|
||||
if (DrugKindId != 0)
|
||||
{
|
||||
Model.DrugKind DrugKindObj = BLL.DrugKind.GetModel(DrugKindId);
|
||||
DrugKind DrugKindObj = BDrugKind.GetModel(DrugKindId);
|
||||
cboDrugKind.Text = DrugKindObj.Name;
|
||||
cboDrugKindTotal.Text = DataDictionary.BLL.MedicalItemKind.GetModel(DrugKindObj.MedicalItemKindId).Name;
|
||||
cboDrugKindTotal.Text = BMedicalItemKind.GetModel(DrugKindObj.MedicalItemKindId.Value).Name;
|
||||
}
|
||||
chkIsValid.Checked = true;
|
||||
txtName.Select();
|
||||
@ -205,7 +208,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
if (ValidInput())
|
||||
{
|
||||
Model.MedicalItem MedicalItemObj = new Model.MedicalItem();
|
||||
MedicalItem MedicalItemObj = new MedicalItem();
|
||||
MedicalItemObj.No = txtNo.Text.Trim();
|
||||
MedicalItemObj.Name = txtName.Text.Trim();
|
||||
MedicalItemObj.HelpCode = txtHelpCode.Text.Trim();
|
||||
@ -234,12 +237,12 @@ namespace DrugManagement.UI
|
||||
|
||||
if (_State == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.MedicalItem.Add(MedicalItemObj);
|
||||
BMedicalItem.Add(MedicalItemObj);
|
||||
}
|
||||
if (_State == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
MedicalItemObj.Id = MedicalItemEditId;
|
||||
BLL.MedicalItem.Update(MedicalItemObj);
|
||||
BMedicalItem.Update(MedicalItemObj);
|
||||
|
||||
}
|
||||
tsbCancel_Click(null, null);
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -12,7 +14,7 @@ namespace DrugManagement.UI
|
||||
public partial class frmMedicamentPrice : Form
|
||||
{
|
||||
public AIMSExtension.EditState _state;
|
||||
public Model.MedicalItem SelectRowMedicalItemObj;
|
||||
public MedicalItem SelectRowMedicalItemObj;
|
||||
public int DrugManufacturerId =0;
|
||||
public string DrugManufacturerName;
|
||||
private frmDrugManufacturerList frmDrugManufacturerList;
|
||||
@ -53,13 +55,13 @@ namespace DrugManagement.UI
|
||||
txtRetailPrice.Enabled = false;
|
||||
txtDrugManufacturer.Enabled = false;
|
||||
|
||||
Model.MedicamentPrice MedicamentPriceObj = BLL.MedicamentPrice.GetModel(MedicamentPriceId);
|
||||
Model.MedicalItem MedicalItemObj = BLL.MedicalItem.GetModel(MedicamentPriceObj.MedicalItemId);
|
||||
MedicamentPrice MedicamentPriceObj = BMedicamentPrice.GetModel(MedicamentPriceId);
|
||||
MedicalItem MedicalItemObj = BMedicalItem.GetModel(MedicamentPriceObj.MedicalItemId.Value);
|
||||
txtNo.Text = MedicalItemObj.No;
|
||||
txtName.Text = MedicalItemObj.Name;
|
||||
txtPackingUnit.Text = MedicalItemObj.PackingUnit;
|
||||
|
||||
txtDrugManufacturer.Text = BLL.DrugManufacturer.GetModel(MedicamentPriceObj.DrugManufacturerId).Name;
|
||||
txtDrugManufacturer.Text = BDrugManufacturer.GetModel(MedicamentPriceObj.DrugManufacturerId.Value).Name;
|
||||
txtPurchasePrice.Text = MedicamentPriceObj.PurchasePrice.ToString();
|
||||
txtRetailPrice.Text = MedicamentPriceObj.RetailPrice.ToString();
|
||||
txtTradePrice.Text = MedicamentPriceObj.TradePrice.ToString();
|
||||
@ -126,7 +128,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
Model.MedicamentPrice MedicamentPriceObj = new Model.MedicamentPrice();
|
||||
MedicamentPrice MedicamentPriceObj = new MedicamentPrice();
|
||||
MedicamentPriceObj.MedicalItemId = SelectRowMedicalItemObj.Id;
|
||||
MedicamentPriceObj.DrugManufacturerId = DrugManufacturerId;
|
||||
MedicamentPriceObj.PurchasePrice = decimal.Parse(txtPurchasePrice.Text.Trim());
|
||||
@ -136,7 +138,7 @@ namespace DrugManagement.UI
|
||||
MedicamentPriceObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
MedicamentPriceObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
MedicamentPriceObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
BLL.MedicamentPrice.Add(MedicamentPriceObj);
|
||||
BMedicamentPrice.Add(MedicamentPriceObj);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -146,13 +148,13 @@ namespace DrugManagement.UI
|
||||
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
Model.MedicamentPrice MedicamentPriceObj = new Model.MedicamentPrice();
|
||||
MedicamentPrice MedicamentPriceObj = new MedicamentPrice();
|
||||
MedicamentPriceObj.Id = MedicamentPriceId;
|
||||
MedicamentPriceObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
|
||||
MedicamentPriceObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
MedicamentPriceObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
MedicamentPriceObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
BLL.MedicamentPrice.Update(MedicamentPriceObj);
|
||||
BMedicamentPrice.Update(MedicamentPriceObj);
|
||||
}
|
||||
Close();
|
||||
}
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -70,7 +72,7 @@ namespace DrugManagement.UI
|
||||
MessageBox.Show("名称不能为空!");
|
||||
return;
|
||||
}
|
||||
Model.PharmaCology PharmaCologyObj = new Model.PharmaCology();
|
||||
PharmaCology PharmaCologyObj = new PharmaCology();
|
||||
PharmaCologyObj.Name = txtName.Text.Trim();
|
||||
PharmaCologyObj.HelpCode = txtHelpCode.Text.Trim();
|
||||
PharmaCologyObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
|
||||
@ -79,13 +81,13 @@ namespace DrugManagement.UI
|
||||
PharmaCologyObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
if (_state == AIMSExtension.EditState.ADD)
|
||||
{
|
||||
BLL.PharmaCology.Add(PharmaCologyObj);
|
||||
BPharmaCology.Add(PharmaCologyObj);
|
||||
}
|
||||
|
||||
if (_state == AIMSExtension.EditState.EDIT)
|
||||
{
|
||||
PharmaCologyObj.Id = SelectPharmaCologyId;
|
||||
BLL.PharmaCology.Update(PharmaCologyObj);
|
||||
BPharmaCology.Update(PharmaCologyObj);
|
||||
}
|
||||
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
|
||||
_state = AIMSExtension.EditState.BROWSE;
|
||||
@ -107,7 +109,7 @@ namespace DrugManagement.UI
|
||||
{
|
||||
|
||||
dgvPharmaCology.Rows.Clear();
|
||||
DataTable dt = BLL.PharmaCology.GetDataTable();
|
||||
DataTable dt = BPharmaCology.GetDataTable();
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
dgvPharmaCology.Rows.Add(dt.Rows[i]["Id"].ToString(),
|
||||
|
||||
@ -6,6 +6,8 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using DevComponents.DotNetBar;
|
||||
|
||||
namespace AIMS
|
||||
@ -27,31 +29,31 @@ namespace AIMS
|
||||
//label2.Text = "@山西瑞禾康医疗科技有限公司 V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
txtNo.Select();
|
||||
txtNo.Focus();
|
||||
//#if DEBUG
|
||||
// txtNo.Text = "admin";
|
||||
// txtPassWord.Text = "1";
|
||||
// btnOk_Click(null, null);
|
||||
//#endif
|
||||
//#if DEBUG
|
||||
// txtNo.Text = "admin";
|
||||
// txtPassWord.Text = "1";
|
||||
// btnOk_Click(null, null);
|
||||
//#endif
|
||||
}
|
||||
private void btnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (AIMS.PublicUI.BLL.Person.Login(txtNo.Text, txtPassWord.Text))
|
||||
if (BPerson.Login(txtNo.Text, txtPassWord.Text))
|
||||
{
|
||||
AIMS.PublicUI.Model.Person PersonObj = AIMS.PublicUI.BLL.Person.GetModelByNo(txtNo.Text);
|
||||
AIMSExtension.PublicMethod.OperatorId = PersonObj.Id;
|
||||
Person PersonObj = BPerson.GetModelByNo(txtNo.Text);
|
||||
AIMSExtension.PublicMethod.OperatorId = PersonObj.Id.Value;
|
||||
AIMSExtension.PublicMethod.OperatorNo = PersonObj.No;
|
||||
AIMSExtension.PublicMethod.OperatorName = PersonObj.Name;
|
||||
AIMSExtension.PublicMethod.RoleId = PersonObj.RoleId;
|
||||
AIMSExtension.PublicMethod.DepId = PersonObj.DepId;
|
||||
AIMSExtension.PublicMethod.DeptName = AIMS.PublicUI.BLL.Department.GetModel(PersonObj.DepId).Name;
|
||||
AIMS.PublicUI.Model.Role role = AIMS.PublicUI.BLL.Role.GetModel(PersonObj.RoleId);
|
||||
AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel;
|
||||
AIMSExtension.PublicMethod.RoleId = PersonObj.RoleId.Value;
|
||||
AIMSExtension.PublicMethod.DepId = PersonObj.DepId.Value;
|
||||
AIMSExtension.PublicMethod.DeptName = BDepartment.GetModel(PersonObj.DepId.Value).Name;
|
||||
Role role = BRole.GetModel(PersonObj.RoleId.Value);
|
||||
AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value;
|
||||
Hide();
|
||||
//在这里为编辑器注册
|
||||
new System.Threading.Thread(Reg).Start();
|
||||
//DevComponents.DotNetBar.StyleManager.MetroColorGeneratorParameters = DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters.Office2016Blue;
|
||||
new FormMainManage().ShowDialog();
|
||||
new FormMainManage().ShowDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -1,17 +1,14 @@
|
||||
using AIMS.DocManager;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using DevComponents.DotNetBar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using AIMS.DocManager;
|
||||
using AIMS.OperationDoing.AnasRecordBill.UI;
|
||||
using AIMS.PublicUI.Model;
|
||||
using DevComponents.DotNetBar;
|
||||
|
||||
namespace AIMS
|
||||
{
|
||||
@ -126,9 +123,9 @@ namespace AIMS
|
||||
lv7.Size = new Size(PanelWidth - 5, PanelHeight - 35);
|
||||
lv7.Location = new Point(2, 28);
|
||||
|
||||
List<AIMS.PublicUI.Model.Menu> menuListP = new List<AIMS.PublicUI.Model.Menu>();
|
||||
AIMS.PublicUI.Model.Menu menu = new AIMS.PublicUI.Model.Menu();
|
||||
menuListP = AIMS.PublicUI.BLL.Menu.GetMenuRootListManage(AIMSExtension.PublicMethod.RoleId, "0");
|
||||
List<AIMSModel.Menu> menuListP = new List<AIMSModel.Menu>();
|
||||
AIMSModel.Menu menu = new AIMSModel.Menu();
|
||||
menuListP = BMenu.GetMenuRootListManage(AIMSExtension.PublicMethod.RoleId, "0");
|
||||
for (int i = 0; i < menuListP.Count; i++)
|
||||
{
|
||||
var menuSec = menuListP[i];
|
||||
@ -207,7 +204,7 @@ namespace AIMS
|
||||
public void BindOperationsList(DevComponents.DotNetBar.Controls.DataGridViewX lvex, DateTime beginTime, DateTime endTime, bool isLoginPerson, bool isEnOpe = false)
|
||||
{
|
||||
lvex.Rows.Clear();
|
||||
DataTable dt = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetSelectPatientDataTable
|
||||
DataTable dt = SelectPatient.GetSelectPatientDataTable
|
||||
(beginTime, endTime, isLoginPerson, AIMSExtension.PublicMethod.OperatorName, isEnOpe);
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
@ -246,7 +243,7 @@ namespace AIMS
|
||||
{
|
||||
try
|
||||
{
|
||||
DataTable dt = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetSelectPatientChart();
|
||||
DataTable dt = SelectPatient.GetSelectPatientChart();
|
||||
|
||||
List<string> xData = new List<string>();
|
||||
List<int> yData = new List<int>();
|
||||
@ -263,7 +260,7 @@ namespace AIMS
|
||||
}
|
||||
public void BindOperationsListChart2()
|
||||
{
|
||||
DataTable dt = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetSelectPatientChart2();
|
||||
DataTable dt = SelectPatient.GetSelectPatientChart2();
|
||||
|
||||
List<string> xData = new List<string>();
|
||||
List<int> yData = new List<int>();
|
||||
@ -284,7 +281,7 @@ namespace AIMS
|
||||
if (sideNavItem.Tag == null) return;
|
||||
selsideNavItem = sideNavItem;
|
||||
sideNavItem.Text = sideNavItem.Text + " ¡ú";
|
||||
AIMS.PublicUI.Model.Menu menu = sideNavItem.Tag as AIMS.PublicUI.Model.Menu;
|
||||
AIMSModel.Menu menu = sideNavItem.Tag as AIMSModel.Menu;
|
||||
string path = menu.Path;
|
||||
if (path.Length > 0)
|
||||
{
|
||||
@ -384,14 +381,14 @@ namespace AIMS
|
||||
|
||||
public void BindfrmNoticeMain()
|
||||
{
|
||||
List<Notice> NoticeList = PublicUI.BLL.NoticeTemplate.HistoryNoticeData();
|
||||
List<Notice> NoticeList = BNotice.HistoryNoticeData();
|
||||
|
||||
System.Windows.Forms.ListViewItem[] lists = new System.Windows.Forms.ListViewItem[NoticeList.Count];
|
||||
lv7.Items.Clear();
|
||||
|
||||
for (int i = 0; i < NoticeList.Count; i++)
|
||||
{
|
||||
lists[i] = new System.Windows.Forms.ListViewItem(new string[] { NoticeList[i].Id.ToString(), NoticeList[i].Contents, NoticeList[i].OperateDate.ToString("yyyy-MM-dd") }, i);
|
||||
lists[i] = new System.Windows.Forms.ListViewItem(new string[] { NoticeList[i].Id.ToString(), NoticeList[i].Contents, NoticeList[i].OperateDate.Value.ToString("yyyy-MM-dd") }, i);
|
||||
}
|
||||
|
||||
lv7.Items.AddRange(lists);
|
||||
@ -471,10 +468,10 @@ namespace AIMS
|
||||
int SelApplyId = int.Parse(dataGridView.CurrentRow.Cells[0].Value.ToString());
|
||||
if (SelApplyId != 0)
|
||||
{
|
||||
AIMS.OperationFront.Model.OperationApply apply = AIMS.OperationFront.BLL.OperationApply.GetModel(SelApplyId);
|
||||
AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecordBillNew frmAnasRecord = new frmAnasRecordBillNew();
|
||||
frmAnasRecord.PatientId = apply.Oris_PatientId;
|
||||
frmAnasRecord.ApplyId = apply.Id;
|
||||
OperationApply apply = BOperationApply.GetModel(SelApplyId);
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = apply.OrisPatientId.Value;
|
||||
frmAnasRecord.ApplyId = apply.Id.Value;
|
||||
frmAnasRecord.State = AIMSExtension.EditState.BROWSE;
|
||||
frmAnasRecord.Show();
|
||||
}
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationAfter.BLL
|
||||
{
|
||||
public class OperationReview
|
||||
{
|
||||
public static DataTable GetOperationReviewDataTable(string MdrecNo, string PatientName, string OperationBeginTime, string OperationEndTime)
|
||||
{
|
||||
return new DAL.OperationReviewDB().GetOperationReviewDataTable(MdrecNo, PatientName, OperationBeginTime, OperationEndTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,27 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationAfter.DAL
|
||||
{
|
||||
public class OperationReviewDB
|
||||
{
|
||||
public DataTable GetOperationReviewDataTable(string MdrecNo, string PatientName, string OperationBeginTime, string OperationEndTime)
|
||||
{
|
||||
string strSql = " SELECT of1.PatientId, of1.ApplyId, of1.MdrecNo, of1.ArchivesNo, of1.PatientName,of1.ApplyDepName, of1.PatientKind,"+
|
||||
" of1.Sex, of1.BirthDay, of1.Height, of1.[Weight], of1.BloodType,"+
|
||||
" of1.RHBloodType, of1.Illdistrict, of1.SickBed, of1.OperationType,"+
|
||||
" of1.[State],od.DiagnoseInfoName, od.OperationInfoName,"+
|
||||
" od.OperationBeginTime,od.OperationEndTime,"+
|
||||
" od.AnaesthesiaMethodName, od.OperationCutTypeName,"+
|
||||
" od.OperationBodyPositionName, od.OperationPositionName,"+
|
||||
" od.OperationDoctor, od.Assistant, od.AnesthesiaDoctor,"+
|
||||
" od.Nurse, od.Remarks,of1.MedicalRecord,of1.MedicalRecordTime FROM V_OperationDoing od" +
|
||||
" LEFT JOIN V_OperationFront of1 ON of1.PatientId = od.PatientId WHERE (of1.MdrecNo ='" + MdrecNo + "' OR of1.PatientName LIKE '" + PatientName + "%')" +
|
||||
" AND od.OperationBeginTime >='" + OperationBeginTime + "' AND od.OperationBeginTime <'" + OperationEndTime + "' AND " +
|
||||
" od.[State] IN ('手术结束','麻醉恢复结束')";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@ -29,9 +31,9 @@ namespace AIMS.OperationAfter.UI
|
||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgv);
|
||||
dgv.BackgroundColor = System.Drawing.Color.Snow;
|
||||
|
||||
List<AIMS.PublicUI.Model.Department> list = new List<AIMS.PublicUI.Model.Department>();
|
||||
list = AIMS.PublicUI.BLL.Department.GetDepartmentAllList("诊疗部门");
|
||||
list.Insert(0, new AIMS.PublicUI.Model.Department
|
||||
List<Department> list = new List<Department>();
|
||||
list = BDepartment.GetDepartmentAllList("诊疗部门");
|
||||
list.Insert(0, new Department
|
||||
{
|
||||
Id = -1,
|
||||
Name = "全部科室"
|
||||
@ -55,7 +57,7 @@ namespace AIMS.OperationAfter.UI
|
||||
tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[1]);
|
||||
|
||||
|
||||
List<DataDictionary.Model.OperationRoom> rooms = DataDictionary.BLL.OperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
foreach (var item in rooms)
|
||||
{
|
||||
tokenEditor2.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken(item.Id.ToString(), item.Name));
|
||||
@ -100,7 +102,7 @@ namespace AIMS.OperationAfter.UI
|
||||
|
||||
string name = txtName.Text;
|
||||
|
||||
DataTable dt = OperationFront.BLL.OperationApply.GetOperationFrontDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
||||
DataTable dt = BOperationApply.GetOperationFrontDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
||||
dgv.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(dt, "State IN ('已排程','已访视') and ApplyDepName LIKE '%" + Department + "%'", "");
|
||||
|
||||
for (int i = 0; i < dgv.Rows.Count; i++)
|
||||
|
||||
@ -30,7 +30,7 @@ namespace AIMS.OperationAfter.UI
|
||||
toolStripSeparator2.Visible = false;
|
||||
tsbSet.Visible = false;
|
||||
}
|
||||
dgv.DataSource = AIMS.OperationAfter.BLL.OperationReview.GetOperationReviewDataTable(txtMdrecNo.Text.Trim(), txtPatientName.Text.Trim(),
|
||||
dgv.DataSource = BOperationReview.GetOperationReviewDataTable(txtMdrecNo.Text.Trim(), txtPatientName.Text.Trim(),
|
||||
dtpOperationBeginTime.Value.ToString("yyyy-MM-dd"),
|
||||
dtpOperationEndTime.Value.AddDays(1).ToString("yyyy-MM-dd")
|
||||
);
|
||||
@ -80,10 +80,10 @@ namespace AIMS.OperationAfter.UI
|
||||
int PatientId = int.Parse(dgv.CurrentRow.Cells["PatientId"].Value.ToString());
|
||||
int ApplyId = int.Parse(dgv.CurrentRow.Cells["ApplyId"].Value.ToString());
|
||||
|
||||
DataTable OperationDoingdt = AIMS.OperationDoing.AnasRecordBill.BLL.OperationRecord.GetOperationDoingDataTableByPatientId(PatientId, 2);
|
||||
DataTable OperationDoingdt = BOperationRecord.GetOperationDoingDataTableByPatientId(PatientId, 2);
|
||||
if (OperationDoingdt.Rows.Count > 0)
|
||||
{
|
||||
AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecoverBillNew();
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = PatientId;
|
||||
frmAnasRecord.ApplyId = ApplyId;
|
||||
frmAnasRecord.State = AIMSExtension.EditState.BROWSE;
|
||||
@ -108,7 +108,7 @@ namespace AIMS.OperationAfter.UI
|
||||
|
||||
private void btnFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
dgv.DataSource = AIMS.OperationAfter.BLL.OperationReview.GetOperationReviewDataTable(txtMdrecNo.Text.Trim(), txtPatientName.Text.Trim(),
|
||||
dgv.DataSource = BOperationReview.GetOperationReviewDataTable(txtMdrecNo.Text.Trim(), txtPatientName.Text.Trim(),
|
||||
dtpOperationBeginTime.Value.ToString("yyyy-MM-dd"),
|
||||
dtpOperationEndTime.Value.AddDays(1).ToString("yyyy-MM-dd")
|
||||
);
|
||||
|
||||
@ -8,6 +8,7 @@ using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing.Drawing2D;
|
||||
using AIMSModel;
|
||||
using AIMSBLL;
|
||||
|
||||
namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
@ -27,7 +28,7 @@ namespace AIMS.OperationAfter.UI
|
||||
/// </summary>
|
||||
private void Initial()
|
||||
{
|
||||
List<DataDictionary.Model.OperationRoom> rooms = DataDictionary.BLL.OperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
SetTabPages(rooms );
|
||||
//DataTable dt = BLL.BPatients.GetPatientOperationInfo();
|
||||
//FullUCControlData(dt);
|
||||
@ -38,7 +39,7 @@ namespace AIMS.OperationAfter.UI
|
||||
/// <summary>
|
||||
/// 根据手术间数量设置有多少个TabPages,每个TabPages显示10个手术间
|
||||
/// </summary>
|
||||
private void SetTabPages(List<DataDictionary.Model.OperationRoom> list)
|
||||
private void SetTabPages(List<OperationRoom> list)
|
||||
{
|
||||
tabControl.TabPages.Clear();
|
||||
if (list.Count > 0 && list.Count <= 10)
|
||||
@ -68,10 +69,10 @@ namespace AIMS.OperationAfter.UI
|
||||
/// </summary>
|
||||
/// <param name="tabPagesIndex"></param>
|
||||
/// <param name="roomlist"></param>
|
||||
private void FullControlToTabPages(int tabPagesIndex, List<DataDictionary.Model.OperationRoom> roomlist)
|
||||
private void FullControlToTabPages(int tabPagesIndex, List<OperationRoom> roomlist)
|
||||
{
|
||||
int i = 0, j = 0;
|
||||
foreach (DataDictionary.Model.OperationRoom room in roomlist)
|
||||
foreach (OperationRoom room in roomlist)
|
||||
{
|
||||
AIMS.OremrUserControl.UCPatientPhysiology uc = new AIMS.OremrUserControl.UCPatientPhysiology();
|
||||
uc.OperationRoom = room.Name;
|
||||
|
||||
@ -85,7 +85,7 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
DateTime beginTime = Convert.ToDateTime(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"));
|
||||
DateTime endTime = Convert.ToDateTime(dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59"));
|
||||
DataTable vPlanedOpeList = AIMS.OperationFront.BLL.OperationApply.GetOperationFrontDataTable(beginTime.ToString("yyyy-MM-dd 00:00:00"), endTime.ToString("yyyy-MM-dd 23:59:59"));
|
||||
DataTable vPlanedOpeList = BOperationApply.GetOperationFrontDataTable(beginTime.ToString("yyyy-MM-dd 00:00:00"), endTime.ToString("yyyy-MM-dd 23:59:59"));
|
||||
if (vPlanedOpeList.Rows.Count <= 0) return;
|
||||
|
||||
string roomname = "";
|
||||
|
||||
@ -1,41 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FactAnaesthesiaMethod
|
||||
{
|
||||
public static void Add(Model.FactAnaesthesiaMethod FactAnaesthesiaMethodObj)
|
||||
{
|
||||
new DAL.FactAnaesthesiaMethodDB().Add(FactAnaesthesiaMethodObj);
|
||||
}
|
||||
|
||||
public static void Update(Model.FactAnaesthesiaMethod FactAnaesthesiaMethodObj)
|
||||
{
|
||||
new DAL.FactAnaesthesiaMethodDB().Update(FactAnaesthesiaMethodObj);
|
||||
}
|
||||
|
||||
|
||||
public static void Delete(int PatientId)
|
||||
{
|
||||
new DAL.FactAnaesthesiaMethodDB().Delete(PatientId);
|
||||
}
|
||||
|
||||
public static Model.FactAnaesthesiaMethod GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactAnaesthesiaMethodDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactAnaesthesiaMethodDB().GetDataTable(strWhere);
|
||||
}
|
||||
|
||||
public static List<int> GetFactAnaesthesiaMethodIdList(int PatientId)
|
||||
{
|
||||
return new DAL.FactAnaesthesiaMethodDB().GetFactAnaesthesiaMethodIdList(PatientId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,36 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FactDiagnoseInfo
|
||||
{
|
||||
public static void Add(Model.FactDiagnoseInfo FactDiagnoseInfoObj)
|
||||
{
|
||||
new DAL.FactDiagnoseInfoDB().Add(FactDiagnoseInfoObj);
|
||||
}
|
||||
|
||||
public static void Delete(int PatientId)
|
||||
{
|
||||
new DAL.FactDiagnoseInfoDB().Delete(PatientId);
|
||||
}
|
||||
|
||||
public static Model.FactDiagnoseInfo GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactDiagnoseInfoDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactDiagnoseInfoDB().GetDataTable(strWhere);
|
||||
}
|
||||
|
||||
public static List<int> GetFactDiagnoseInfoIdList(int PatientId)
|
||||
{
|
||||
return new DAL.FactDiagnoseInfoDB().GetFactDiagnoseInfoIdList(PatientId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FactOperationBodyPosition
|
||||
{
|
||||
public static void Add(Model.FactOperationBodyPosition FactOperationBodyPositionObj)
|
||||
{
|
||||
new DAL.FactOperationBodyPositionDB().Add(FactOperationBodyPositionObj);
|
||||
}
|
||||
|
||||
public static void Delete(int PatientId)
|
||||
{
|
||||
new DAL.FactOperationBodyPositionDB().Delete(PatientId);
|
||||
}
|
||||
|
||||
public static Model.FactOperationBodyPosition GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactOperationBodyPositionDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactOperationBodyPositionDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static List<int> GetFactOperationBodyPositionIdList(int PatientId)
|
||||
{
|
||||
return new DAL.FactOperationBodyPositionDB().GetFactOperationBodyPositionIdList(PatientId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,31 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FactOperationCutType
|
||||
{
|
||||
public static void Add(Model.FactOperationCutType FactOperationCutTypeObj)
|
||||
{
|
||||
new DAL.FactOperationCutTypeDB().Add(FactOperationCutTypeObj);
|
||||
}
|
||||
public static void Delete(int PatientId)
|
||||
{
|
||||
new DAL.FactOperationCutTypeDB().Delete(PatientId);
|
||||
}
|
||||
public static Model.FactOperationCutType GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactOperationCutTypeDB().GetModel(Id);
|
||||
}
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactOperationCutTypeDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static List<int> GetFactOperationCutTypeIdList(int PatientId)
|
||||
{
|
||||
return new DAL.FactOperationCutTypeDB().GetFactOperationCutTypeIdList(PatientId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FactOperationInfo
|
||||
{
|
||||
public static void Add(Model.FactOperationInfo FactOperationInfoObj)
|
||||
{
|
||||
new DAL.FactOperationInfoDB().Add(FactOperationInfoObj);
|
||||
}
|
||||
|
||||
public static void Delete(int PatientId)
|
||||
{
|
||||
new DAL.FactOperationInfoDB().Delete(PatientId);
|
||||
}
|
||||
|
||||
public static Model.FactOperationInfo GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactOperationInfoDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactOperationInfoDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static List<int> GetFactOperationInfoIdList(int PatientId)
|
||||
{
|
||||
return new DAL.FactOperationInfoDB().GetFactOperationInfoIdList(PatientId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,31 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
class FactOperationPosition
|
||||
{
|
||||
public static void Add(Model.FactOperationPosition FactOperationPositionObj)
|
||||
{
|
||||
new DAL.FactOperationPositionDB().Add(FactOperationPositionObj);
|
||||
}
|
||||
public static void Delete(int PatientId)
|
||||
{
|
||||
new DAL.FactOperationPositionDB().Delete(PatientId);
|
||||
}
|
||||
public static Model.FactOperationPosition GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactOperationPositionDB().GetModel(Id);
|
||||
}
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactOperationPositionDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static List<int> GetFactOperationPositionIdList(int PatientId)
|
||||
{
|
||||
return new DAL.FactOperationPositionDB().GetFactOperationPositionIdList(PatientId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FactPersonDuty
|
||||
{
|
||||
public static void Add(Model.FactPersonDuty FactPersonDutyObj)
|
||||
{
|
||||
new DAL.FactPersonDutyDB().Add(FactPersonDutyObj);
|
||||
}
|
||||
|
||||
public static void Delete(int PatientId, int PersonDutyId)
|
||||
{
|
||||
new DAL.FactPersonDutyDB().Delete(PatientId, PersonDutyId);
|
||||
}
|
||||
|
||||
public static Model.FactPersonDuty GetModel(int Id)
|
||||
{
|
||||
return new DAL.FactPersonDutyDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.FactPersonDutyDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static List<int> GetPersonIdList(int PatientId, int PersonDutyId)
|
||||
{
|
||||
return new DAL.FactPersonDutyDB().GetPersonIdList(PatientId, PersonDutyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using AIMS.OperationDoing.AnasRecordBill.Model;
|
||||
using DrawGraph;
|
||||
using AIMSBLL;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class FillAnasRecordBillData
|
||||
{
|
||||
public static DateTime GetMaxTime(int PatientId,int Type)
|
||||
{
|
||||
return new DAL.FillAnasRecordBillDataDB().GetMaxTime(PatientId, Type);
|
||||
}
|
||||
public static int GetDataCount(int RecorId,int PatientId, int Type)
|
||||
{
|
||||
return new DAL.FillAnasRecordBillDataDB().GetDataCount( RecorId,PatientId, Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,137 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using DrawGraph;
|
||||
using AIMSBLL;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class InRoom
|
||||
{
|
||||
public static void UpdateApplyState(int PatientId, int ApplyId)
|
||||
{
|
||||
try
|
||||
{
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
AIMS.OperationFront.BLL.OperationApply.UpdateApplyState(ApplyId, 6); //修改状态为手术中
|
||||
|
||||
//手术诊断
|
||||
List<int> ApplyDiagnoseIdList = AIMS.OperationFront.BLL.ApplyDiagnoseInfo.GetApplyDiagnoseIdList(ApplyId);
|
||||
for (int i = 0; i < ApplyDiagnoseIdList.Count; i++)
|
||||
{
|
||||
OperationDoing.AnasRecordBill.Model.FactDiagnoseInfo FactDiagnoseInfoObj = new OperationDoing.AnasRecordBill.Model.FactDiagnoseInfo();
|
||||
FactDiagnoseInfoObj.PatientId = PatientId;
|
||||
FactDiagnoseInfoObj.ApplyId = ApplyId;
|
||||
FactDiagnoseInfoObj.DiagnoseId = ApplyDiagnoseIdList[i];
|
||||
FactDiagnoseInfoObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactDiagnoseInfoObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactDiagnoseInfoObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
OperationDoing.AnasRecordBill.BLL.FactDiagnoseInfo.Add(FactDiagnoseInfoObj);
|
||||
}
|
||||
//实施手术
|
||||
List<AIMS.OperationFront.Model.ApplyOperationInfo> ApplyOperationInfoList = AIMS.OperationFront.BLL.ApplyOperationInfo.GetApplyOperationIdList(ApplyId);
|
||||
for (int i = 0; i < ApplyOperationInfoList.Count; i++)
|
||||
{
|
||||
OperationDoing.AnasRecordBill.Model.FactOperationInfo FactOperationInfoObj = new OperationDoing.AnasRecordBill.Model.FactOperationInfo();
|
||||
FactOperationInfoObj.PatientId = PatientId;
|
||||
FactOperationInfoObj.ApplyId = ApplyId;
|
||||
FactOperationInfoObj.OperationId = ApplyOperationInfoList[i].OperationId;
|
||||
FactOperationInfoObj.OperationName = ApplyOperationInfoList[i].OperationName;
|
||||
FactOperationInfoObj.LeftRemark = ApplyOperationInfoList[i].LeftRemark;
|
||||
FactOperationInfoObj.RightRemark = ApplyOperationInfoList[i].RightRemark;
|
||||
FactOperationInfoObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactOperationInfoObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactOperationInfoObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
OperationDoing.AnasRecordBill.BLL.FactOperationInfo.Add(FactOperationInfoObj);
|
||||
}
|
||||
//实施麻醉
|
||||
List<int> ApplyAnaesthesiaMethodList = AIMS.OperationFront.BLL.ApplyAnaesthesiaMethod.GetApplyAnaesthesiaMethodList(ApplyId);
|
||||
for (int i = 0; i < ApplyAnaesthesiaMethodList.Count; i++)
|
||||
{
|
||||
OperationDoing.AnasRecordBill.Model.FactAnaesthesiaMethod FactAnaesthesiaMethodObj = new Model.FactAnaesthesiaMethod();
|
||||
FactAnaesthesiaMethodObj.PatientId = PatientId;
|
||||
FactAnaesthesiaMethodObj.ApplyId = ApplyId;
|
||||
FactAnaesthesiaMethodObj.AnaesthesiaMethodId = ApplyAnaesthesiaMethodList[i];
|
||||
FactAnaesthesiaMethodObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactAnaesthesiaMethodObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactAnaesthesiaMethodObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
OperationDoing.AnasRecordBill.BLL.FactAnaesthesiaMethod.Add(FactAnaesthesiaMethodObj);
|
||||
}
|
||||
|
||||
//手术部位
|
||||
List<int> ApplyOperationPositionList = AIMS.OperationFront.BLL.ApplyOperationPosition.GetApplyOperationPositionIdList(ApplyId);
|
||||
for (int i = 0; i < ApplyOperationPositionList.Count; i++)
|
||||
{
|
||||
OperationDoing.AnasRecordBill.Model.FactOperationPosition FactOperationPositionObj = new Model.FactOperationPosition();
|
||||
FactOperationPositionObj.PatientId = PatientId;
|
||||
FactOperationPositionObj.ApplyId = ApplyId;
|
||||
FactOperationPositionObj.OperationPositionId = ApplyOperationPositionList[i];
|
||||
FactOperationPositionObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactOperationPositionObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactOperationPositionObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
OperationDoing.AnasRecordBill.BLL.FactOperationPosition.Add(FactOperationPositionObj);
|
||||
}
|
||||
|
||||
//手术切口
|
||||
List<int> ApplyOperationCutTypeList = AIMS.OperationFront.BLL.ApplyOperationCutType.GetApplyOperationCutTypeIdList(ApplyId);
|
||||
for (int i = 0; i < ApplyOperationCutTypeList.Count; i++)
|
||||
{
|
||||
OperationDoing.AnasRecordBill.Model.FactOperationCutType FactOperationCutTypeObj = new Model.FactOperationCutType();
|
||||
FactOperationCutTypeObj.PatientId = PatientId;
|
||||
FactOperationCutTypeObj.ApplyId = ApplyId;
|
||||
FactOperationCutTypeObj.OperationCutTypeId = ApplyOperationCutTypeList[i];
|
||||
FactOperationCutTypeObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactOperationCutTypeObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactOperationCutTypeObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
OperationDoing.AnasRecordBill.BLL.FactOperationCutType.Add(FactOperationCutTypeObj);
|
||||
}
|
||||
//医生信息
|
||||
|
||||
DataTable dt = OperationFront.BLL.ApplyPersonDuty.GetPersonDataTable(ApplyId);
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
Model.FactPersonDuty FactPersonDutyObj = new Model.FactPersonDuty();
|
||||
FactPersonDutyObj.PatientId = PatientId;
|
||||
FactPersonDutyObj.ApplyId = ApplyId;
|
||||
FactPersonDutyObj.PersonDutyId = int.Parse(dt.Rows[i]["PersonDutyId"].ToString());
|
||||
FactPersonDutyObj.PersonId = int.Parse(dt.Rows[i]["PersonId"].ToString());
|
||||
FactPersonDutyObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactPersonDutyObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactPersonDutyObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
BLL.FactPersonDuty.Add(FactPersonDutyObj);
|
||||
}
|
||||
|
||||
//增加入室事件
|
||||
DataDictionary.Model.Events EventsObj = DataDictionary.BLL.Events.GetModelByName("入室");
|
||||
|
||||
if (EventsObj.Name != null)
|
||||
{
|
||||
FactEvents FactEventsObj = new FactEvents();
|
||||
FactEventsObj.EventId = EventsObj.Id;
|
||||
FactEventsObj.EventTypeId = 1;
|
||||
FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00"));
|
||||
FactEventsObj.EventEndTime = FactEventsObj.EventBeginTime;
|
||||
FactEventsObj.IsContinue = 0;
|
||||
FactEventsObj.PatientId = PatientId;
|
||||
FactEventsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactEventsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactEventsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
|
||||
BFactEvents.Add(FactEventsObj);
|
||||
}
|
||||
|
||||
|
||||
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
|
||||
}
|
||||
catch
|
||||
{
|
||||
HelperDB.DbHelperSQL.RollbackTrans();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,101 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Windows.Forms;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class OperationRecord
|
||||
{
|
||||
public static int AddTitleTime(int PatientId, int ApplyId, int RecoverId, string TableColumnName, DateTime Time,int RoomId)
|
||||
{
|
||||
return new DAL.OperationRecordDB().AddTitleTime(PatientId, ApplyId, RecoverId, TableColumnName, Time, RoomId);
|
||||
}
|
||||
public static void UpdateTitleTime(int PatientId, string TableColumnName, DateTime Time)
|
||||
{
|
||||
new DAL.OperationRecordDB().UpdateTitleTime(PatientId, TableColumnName, Time);
|
||||
}
|
||||
|
||||
public static Model.TitleTime GetTitleTime(int PatientId,int RecoverId)
|
||||
{
|
||||
return new DAL.OperationRecordDB().GetTitleTime(PatientId, RecoverId);
|
||||
}
|
||||
public static void Update(Model.OperationRecord OperationRecordObj)
|
||||
{
|
||||
new DAL.OperationRecordDB().Update(OperationRecordObj);
|
||||
}
|
||||
public static void UpdateState(int PatientId, int TypeId, int State)
|
||||
{
|
||||
new DAL.OperationRecordDB().UpdateState(PatientId,TypeId, State);
|
||||
}
|
||||
public static void DeleteOperationRecordData(int RecorId,int PatientId, int TypeId)
|
||||
{
|
||||
new DAL.OperationRecordDB().DeleteOperationRecordData(RecorId,PatientId, TypeId);
|
||||
}
|
||||
public static void DeleteOperationRecorvreData(int PatientId, int TypeId)
|
||||
{
|
||||
new DAL.OperationRecordDB().DeleteOperationRecorvreData(PatientId, TypeId);
|
||||
}
|
||||
public static void DeleteEvent(int PatientId, int eventId)
|
||||
{
|
||||
new DAL.OperationRecordDB().DeleteEvent(PatientId, eventId);
|
||||
}
|
||||
public static Model.OperationRecord GetModel(int PatientId)
|
||||
{
|
||||
return new DAL.OperationRecordDB().GetModel(PatientId);
|
||||
}
|
||||
public static DataTable GetOperationDoingDataTableByPatientId(int PatientId, int TypeId)
|
||||
{
|
||||
return new DAL.OperationRecordDB().GetOperationDoingMainInfo(PatientId, TypeId);
|
||||
}
|
||||
public static bool ValidInput(int PatientId, int TypeId)
|
||||
{
|
||||
|
||||
bool result = false;
|
||||
DataTable dt = new DAL.OperationRecordDB().GetOperationDoingMainInfo(PatientId, TypeId);
|
||||
if (dt.Rows[0]["InRoomTime"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("入室不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["OutRoomTime"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("出室不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["OperationBeginTime"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("手术开始时间不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["OperationEndTime"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("手术结束时间不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["DiagnoseInfoName"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("术后诊断不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["OperationInfoName"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("实施手术不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["AnaesthesiaMethodName"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("麻醉方式不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["OperationDoctor"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("手术医生不能为空!");
|
||||
}
|
||||
else if (dt.Rows[0]["AnesthesiaDoctor"].ToString().Length < 1)
|
||||
{
|
||||
MessageBox.Show("麻醉医生不能为空!");
|
||||
}
|
||||
else
|
||||
{
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.BLL
|
||||
{
|
||||
public class SelectPatient
|
||||
{
|
||||
public static DataTable GetSelectPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
return new DAL.SelectPatient().GetSelectPatientDataTable(BeginDate);
|
||||
}
|
||||
|
||||
public static DataTable GetSelectPatientDataTable(DateTime BeginDate,string Room)
|
||||
{
|
||||
return new DAL.SelectPatient().GetSelectPatientDataTable(BeginDate,Room);
|
||||
}
|
||||
|
||||
public static DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
return new DAL.SelectPatient().GetRelieveLockingPatientDataTable(BeginDate);
|
||||
}
|
||||
public static DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate,string Room)
|
||||
{
|
||||
return new DAL.SelectPatient().GetRelieveLockingPatientDataTable(BeginDate,Room);
|
||||
}
|
||||
public static DataTable GetRecoverPatientDataTable(DateTime BeginDate )
|
||||
{
|
||||
return new DAL.SelectPatient().GetRecoverPatientDataTable(BeginDate);
|
||||
}
|
||||
public static DataTable GetSelectPatientDataTable(DateTime BeginDate, DateTime EndDate, bool isLoginPerson, string person, bool isEnOpe)
|
||||
{
|
||||
return new DAL.SelectPatient().GetSelectPatientDataTable(BeginDate, EndDate, isLoginPerson, person, isEnOpe);
|
||||
}
|
||||
public static DataTable GetSelectPatientChart()
|
||||
{
|
||||
return new DAL.SelectPatient().GetSelectPatientChart();
|
||||
}
|
||||
public static DataTable GetSelectPatientChart2()
|
||||
{
|
||||
return new DAL.SelectPatient().GetSelectPatientChart2();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,76 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class AddPhysioParamDB
|
||||
{
|
||||
public List<Model.AddPhysioParam> AddPhysioParamList()
|
||||
{
|
||||
List<Model.AddPhysioParam> AddPhysioParamList = new List<Model.AddPhysioParam>();
|
||||
string strSql = "SELECT pc.Id, pc.Name, pc.Color, pc.imgPath, pc.decHighLimit, pc.decLowLimit,pc.IsValid" +
|
||||
" FROM PhysioDataConfig pc WHERE pc.IsValid=1";
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
Model.AddPhysioParam AddPhysioParam = new Model.AddPhysioParam();
|
||||
AddPhysioParam.Id = int.Parse(dt.Rows[i]["Id"].ToString());
|
||||
AddPhysioParam.Name = dt.Rows[i]["Name"].ToString();
|
||||
AddPhysioParam.ImgPath = dt.Rows[i]["imgPath"].ToString();
|
||||
AddPhysioParam.Color = dt.Rows[i]["Color"].ToString();
|
||||
AddPhysioParam.DecHighLimit = double.Parse(dt.Rows[i]["decHighLimit"].ToString());
|
||||
AddPhysioParam.DecLowLimit = double.Parse(dt.Rows[i]["decLowLimit"].ToString());
|
||||
AddPhysioParamList.Add(AddPhysioParam);
|
||||
}
|
||||
return AddPhysioParamList;
|
||||
}
|
||||
public List<Model.AddPhysioParam> AddOtherPhysioParamList()
|
||||
{
|
||||
List<Model.AddPhysioParam> AddPhysioParamList = new List<Model.AddPhysioParam>();
|
||||
string strSql = "SELECT pc.Id, pc.Name, pc.Color, pc.imgPath, pc.decHighLimit, pc.decLowLimit,pc.IsValid" +
|
||||
" FROM PhysioDataConfig pc WHERE pc.NAME IN ('入室','麻醉开始','手术开始','手术结束','麻醉完成','出室','插管','拔管')";
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
Model.AddPhysioParam AddPhysioParam = new Model.AddPhysioParam();
|
||||
AddPhysioParam.Id = int.Parse(dt.Rows[i]["Id"].ToString());
|
||||
AddPhysioParam.Name = dt.Rows[i]["Name"].ToString();
|
||||
AddPhysioParam.ImgPath = dt.Rows[i]["imgPath"].ToString();
|
||||
AddPhysioParam.Color = dt.Rows[i]["Color"].ToString();
|
||||
AddPhysioParam.DecHighLimit = double.Parse(dt.Rows[i]["decHighLimit"].ToString());
|
||||
AddPhysioParam.DecLowLimit = double.Parse(dt.Rows[i]["decLowLimit"].ToString());
|
||||
AddPhysioParamList.Add(AddPhysioParam);
|
||||
}
|
||||
return AddPhysioParamList;
|
||||
}
|
||||
|
||||
public DataTable GetPhysioData(int PatientId, int PhysioDataType)
|
||||
{
|
||||
string strSql = "SELECT p.PhysioDataConfigId, pdc.Name, p.RecordTime,p.VALUE FROM dbo.PhysioData p " +
|
||||
"LEFT JOIN PhysioDataConfig pdc ON pdc.Id = p.PhysioDataConfigId where p.PatientId='" + PatientId + "' and p.PhysioDataType='" + PhysioDataType + "' ORDER BY p.RecordTime";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql); ;
|
||||
}
|
||||
|
||||
public void Add(Model.PhysioData PhysioDataObj)
|
||||
{
|
||||
StringBuilder strSql = new StringBuilder();
|
||||
strSql.Append("insert into [PhysioData](");
|
||||
strSql.Append("PatientId,PhysioDataType,PhysioDataConfigId,RecordTime,Value,IsValid,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("" + PhysioDataObj.PatientId + ",");
|
||||
strSql.Append("" + PhysioDataObj.PhysioDataType + ",");
|
||||
strSql.Append("" + PhysioDataObj.PhysioParamID + ",");
|
||||
strSql.Append("'" + PhysioDataObj.RecordTime + "',");
|
||||
strSql.Append("" + PhysioDataObj.Value + ",");
|
||||
strSql.Append("" + 1 + ",");
|
||||
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',");
|
||||
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',");
|
||||
strSql.Append("'" + AIMSExtension.PublicMethod.SystemDate() + "'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,113 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactAnaesthesiaMethodDB
|
||||
{
|
||||
public void Add(Model.FactAnaesthesiaMethod FactAnaesthesiaMethodObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactAnaesthesiaMethod](");
|
||||
strSql.Append("PatientId,ApplyId,AnaesthesiaMethodId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+FactAnaesthesiaMethodObj.PatientId+",");
|
||||
strSql.Append(""+FactAnaesthesiaMethodObj.ApplyId+",");
|
||||
strSql.Append(""+FactAnaesthesiaMethodObj.AnaesthesiaMethodId+",");
|
||||
strSql.Append("'"+FactAnaesthesiaMethodObj.OperatorNo+"',");
|
||||
strSql.Append("'"+FactAnaesthesiaMethodObj.OperatorName+"',");
|
||||
strSql.Append("'"+FactAnaesthesiaMethodObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Update(Model.FactAnaesthesiaMethod FactAnaesthesiaMethodObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("update FactAnaesthesiaMethod set ");
|
||||
strSql.Append("PatientId="+FactAnaesthesiaMethodObj.PatientId+",");
|
||||
strSql.Append("ApplyId="+FactAnaesthesiaMethodObj.ApplyId+",");
|
||||
strSql.Append("AnaesthesiaMethodId="+FactAnaesthesiaMethodObj.AnaesthesiaMethodId+",");
|
||||
strSql.Append("OperatorNo='"+FactAnaesthesiaMethodObj.OperatorNo+"',");
|
||||
strSql.Append("OperatorName='"+FactAnaesthesiaMethodObj.OperatorName+"',");
|
||||
strSql.Append("OperateDate='"+FactAnaesthesiaMethodObj.OperateDate+"'");
|
||||
strSql.Append(" where Id="+FactAnaesthesiaMethodObj.Id+" ");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int PatientId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactAnaesthesiaMethod ");
|
||||
strSql.Append(" where PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public Model.FactAnaesthesiaMethod GetModel(int Id)
|
||||
{
|
||||
Model.FactAnaesthesiaMethod FactAnaesthesiaMethodObj = new Model.FactAnaesthesiaMethod();
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,ApplyId,AnaesthesiaMethodId,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from FactAnaesthesiaMethod ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactAnaesthesiaMethodObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactAnaesthesiaMethodObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactAnaesthesiaMethodObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["AnaesthesiaMethodId"].ToString()!="")
|
||||
{
|
||||
FactAnaesthesiaMethodObj.AnaesthesiaMethodId = int.Parse(ds.Tables[0].Rows[0]["AnaesthesiaMethodId"].ToString());
|
||||
}
|
||||
FactAnaesthesiaMethodObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactAnaesthesiaMethodObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactAnaesthesiaMethodObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactAnaesthesiaMethodObj;
|
||||
}
|
||||
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select [Id],[PatientId],[ApplyId],[AnaesthesiaMethodId],[OperatorNo],[OperatorName],[OperateDate] ");
|
||||
strSql.Append(" FROM FactAnaesthesiaMethod ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetFactAnaesthesiaMethodIdList(int PatientId)
|
||||
{
|
||||
List<int> AnaesthesiaMethodIdList = new List<int>();
|
||||
string strSql = "SELECT AnaesthesiaMethodId FROM FactAnaesthesiaMethod WHERE PatientId='" + PatientId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
AnaesthesiaMethodIdList.Add(int.Parse(dt.Rows[i]["AnaesthesiaMethodId"].ToString()));
|
||||
|
||||
}
|
||||
return AnaesthesiaMethodIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,100 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactDiagnoseInfoDB
|
||||
{
|
||||
public void Add(Model.FactDiagnoseInfo FactDiagnoseInfoObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactDiagnoseInfo](");
|
||||
strSql.Append("PatientId,ApplyId,DiagnoseId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+FactDiagnoseInfoObj.PatientId+",");
|
||||
strSql.Append(""+FactDiagnoseInfoObj.ApplyId+",");
|
||||
strSql.Append(""+FactDiagnoseInfoObj.DiagnoseId+",");
|
||||
strSql.Append("'"+FactDiagnoseInfoObj.OperatorNo+"',");
|
||||
strSql.Append("'"+FactDiagnoseInfoObj.OperatorName+"',");
|
||||
strSql.Append("'"+FactDiagnoseInfoObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int PatientId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactDiagnoseInfo ");
|
||||
strSql.Append(" where PatientId="+PatientId+"" );
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public Model.FactDiagnoseInfo GetModel(int Id)
|
||||
{
|
||||
Model.FactDiagnoseInfo FactDiagnoseInfoObj = new Model.FactDiagnoseInfo();
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,ApplyId,DiagnoseId,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from FactDiagnoseInfo ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactDiagnoseInfoObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactDiagnoseInfoObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactDiagnoseInfoObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["DiagnoseId"].ToString()!="")
|
||||
{
|
||||
FactDiagnoseInfoObj.DiagnoseId = int.Parse(ds.Tables[0].Rows[0]["DiagnoseId"].ToString());
|
||||
}
|
||||
FactDiagnoseInfoObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactDiagnoseInfoObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactDiagnoseInfoObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactDiagnoseInfoObj;
|
||||
}
|
||||
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select [Id],[PatientId],[ApplyId],[DiagnoseId],[OperatorNo],[OperatorName],[OperateDate] ");
|
||||
strSql.Append(" FROM FactDiagnoseInfo ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetFactDiagnoseInfoIdList(int PatientId)
|
||||
{
|
||||
List<int> DiagnoseIdList = new List<int>();
|
||||
string strSql = "SELECT DiagnoseId FROM FactDiagnoseInfo WHERE PatientId='" + PatientId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
DiagnoseIdList.Add(int.Parse(dt.Rows[i]["DiagnoseId"].ToString()));
|
||||
|
||||
}
|
||||
return DiagnoseIdList;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,99 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactOperationBodyPositionDB
|
||||
{
|
||||
public void Add(Model.FactOperationBodyPosition FactOperationBodyPositionObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactOperationBodyPosition](");
|
||||
strSql.Append("PatientId,ApplyId,OperationBodyPositionId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+FactOperationBodyPositionObj.PatientId+",");
|
||||
strSql.Append(""+FactOperationBodyPositionObj.ApplyId+",");
|
||||
strSql.Append(""+FactOperationBodyPositionObj.OperationBodyPositionId+",");
|
||||
strSql.Append("'"+FactOperationBodyPositionObj.OperatorNo+"',");
|
||||
strSql.Append("'"+FactOperationBodyPositionObj.OperatorName+"',");
|
||||
strSql.Append("'"+FactOperationBodyPositionObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int PatientId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactOperationBodyPosition ");
|
||||
strSql.Append(" where PatientId="+PatientId+"" );
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public Model.FactOperationBodyPosition GetModel(int Id)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
Model.FactOperationBodyPosition FactOperationBodyPositionObj = new Model.FactOperationBodyPosition();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,ApplyId,OperationBodyPositionId,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from FactOperationBodyPosition ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactOperationBodyPositionObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactOperationBodyPositionObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactOperationBodyPositionObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["OperationBodyPositionId"].ToString()!="")
|
||||
{
|
||||
FactOperationBodyPositionObj.OperationBodyPositionId = int.Parse(ds.Tables[0].Rows[0]["OperationBodyPositionId"].ToString());
|
||||
}
|
||||
FactOperationBodyPositionObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactOperationBodyPositionObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactOperationBodyPositionObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactOperationBodyPositionObj;
|
||||
}
|
||||
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select [Id],[PatientId],[ApplyId],[OperationBodyPositionId],[OperatorNo],[OperatorName],[OperateDate] ");
|
||||
strSql.Append(" FROM FactOperationBodyPosition ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetFactOperationBodyPositionIdList(int PatientId)
|
||||
{
|
||||
List<int> FactOperationBodyPositionIdList = new List<int>();
|
||||
string strSql = "SELECT OperationBodyPositionId FROM FactOperationBodyPosition WHERE PatientId='" + PatientId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
FactOperationBodyPositionIdList.Add(int.Parse(dt.Rows[i]["OperationBodyPositionId"].ToString()));
|
||||
|
||||
}
|
||||
return FactOperationBodyPositionIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,96 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactOperationCutTypeDB
|
||||
{
|
||||
public void Add(Model.FactOperationCutType FactOperationCutTypeObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactOperationCutType](");
|
||||
strSql.Append("PatientId,ApplyId,OperationCutTypeId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+FactOperationCutTypeObj.PatientId+",");
|
||||
strSql.Append(""+FactOperationCutTypeObj.ApplyId+",");
|
||||
strSql.Append(""+FactOperationCutTypeObj.OperationCutTypeId+",");
|
||||
strSql.Append("'"+FactOperationCutTypeObj.OperatorNo+"',");
|
||||
strSql.Append("'"+FactOperationCutTypeObj.OperatorName+"',");
|
||||
strSql.Append("'"+FactOperationCutTypeObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public void Delete(int PatientId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactOperationCutType ");
|
||||
strSql.Append(" where PatientId="+PatientId+"" );
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public Model.FactOperationCutType GetModel(int Id)
|
||||
{
|
||||
Model.FactOperationCutType FactOperationCutTypeObj = new Model.FactOperationCutType();
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,ApplyId,OperationCutTypeId,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from FactOperationCutType ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactOperationCutTypeObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactOperationCutTypeObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactOperationCutTypeObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["OperationCutTypeId"].ToString()!="")
|
||||
{
|
||||
FactOperationCutTypeObj.OperationCutTypeId = int.Parse(ds.Tables[0].Rows[0]["OperationCutTypeId"].ToString());
|
||||
}
|
||||
FactOperationCutTypeObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactOperationCutTypeObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactOperationCutTypeObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactOperationCutTypeObj;
|
||||
}
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select [Id],[PatientId],[ApplyId],[OperationCutTypeId],[OperatorNo],[OperatorName],[OperateDate] ");
|
||||
strSql.Append(" FROM FactOperationCutType ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetFactOperationCutTypeIdList(int PatientId)
|
||||
{
|
||||
List<int> FactOperationCutTypeIdList = new List<int>();
|
||||
string strSql = "SELECT OperationCutTypeId FROM FactOperationCutType WHERE PatientId='" + PatientId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
FactOperationCutTypeIdList.Add(int.Parse(dt.Rows[i]["OperationCutTypeId"].ToString()));
|
||||
|
||||
}
|
||||
return FactOperationCutTypeIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,102 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactOperationInfoDB
|
||||
{
|
||||
public void Add(Model.FactOperationInfo FactOperationInfoObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactOperationInfo](");
|
||||
strSql.Append("PatientId,ApplyId,OperationId,OperatorNo,OperatorName,OperateDate,OperationName,LeftRemark,RightRemark");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("" + FactOperationInfoObj.PatientId + ",");
|
||||
strSql.Append("" + FactOperationInfoObj.ApplyId + ",");
|
||||
strSql.Append("" + FactOperationInfoObj.OperationId + ",");
|
||||
strSql.Append("'" + FactOperationInfoObj.OperatorNo + "',");
|
||||
strSql.Append("'" + FactOperationInfoObj.OperatorName + "',");
|
||||
strSql.Append("'" + FactOperationInfoObj.OperateDate + "',");
|
||||
strSql.Append("'" + FactOperationInfoObj.OperationName + "',");
|
||||
strSql.Append("'" + FactOperationInfoObj.LeftRemark + "',");
|
||||
strSql.Append("'" + FactOperationInfoObj.RightRemark + "'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int PatientId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactOperationInfo ");
|
||||
strSql.Append(" where PatientId="+PatientId+"" );
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public Model.FactOperationInfo GetModel(int Id)
|
||||
{
|
||||
Model.FactOperationInfo FactOperationInfoObj = new Model.FactOperationInfo();
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select * from FactOperationInfo ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactOperationInfoObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactOperationInfoObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactOperationInfoObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["OperationId"].ToString()!="")
|
||||
{
|
||||
FactOperationInfoObj.OperationId = int.Parse(ds.Tables[0].Rows[0]["OperationId"].ToString());
|
||||
}
|
||||
FactOperationInfoObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactOperationInfoObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
FactOperationInfoObj.OperationName = ds.Tables[0].Rows[0]["OperationName"].ToString();
|
||||
FactOperationInfoObj.LeftRemark = ds.Tables[0].Rows[0]["LeftRemark"].ToString();
|
||||
FactOperationInfoObj.RightRemark = ds.Tables[0].Rows[0]["RightRemark"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactOperationInfoObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactOperationInfoObj;
|
||||
}
|
||||
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select * ");
|
||||
strSql.Append(" FROM FactOperationInfo ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetFactOperationInfoIdList(int PatientId)
|
||||
{
|
||||
List<int> OperationIdList = new List<int>();
|
||||
string strSql = "SELECT OperationId FROM FactOperationInfo WHERE PatientId='" + PatientId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
OperationIdList.Add(int.Parse(dt.Rows[i]["OperationId"].ToString()));
|
||||
|
||||
}
|
||||
return OperationIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,96 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactOperationPositionDB
|
||||
{
|
||||
public void Add(Model.FactOperationPosition FactOperationPositionObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactOperationPosition](");
|
||||
strSql.Append("PatientId,ApplyId,OperationPositionId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+FactOperationPositionObj.PatientId+",");
|
||||
strSql.Append(""+FactOperationPositionObj.ApplyId+",");
|
||||
strSql.Append(""+FactOperationPositionObj.OperationPositionId+",");
|
||||
strSql.Append("'"+FactOperationPositionObj.OperatorNo+"',");
|
||||
strSql.Append("'"+FactOperationPositionObj.OperatorName+"',");
|
||||
strSql.Append("'"+FactOperationPositionObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public void Delete(int PatientId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactOperationPosition ");
|
||||
strSql.Append(" where PatientId="+PatientId+"" );
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public Model.FactOperationPosition GetModel(int Id)
|
||||
{
|
||||
Model.FactOperationPosition FactOperationPositionObj = new Model.FactOperationPosition();
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,ApplyId,OperationPositionId,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from FactOperationPosition ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactOperationPositionObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactOperationPositionObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactOperationPositionObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["OperationPositionId"].ToString()!="")
|
||||
{
|
||||
FactOperationPositionObj.OperationPositionId = int.Parse(ds.Tables[0].Rows[0]["OperationPositionId"].ToString());
|
||||
}
|
||||
FactOperationPositionObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactOperationPositionObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactOperationPositionObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactOperationPositionObj;
|
||||
}
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select [Id],[PatientId],[ApplyId],[OperationPositionId],[OperatorNo],[OperatorName],[OperateDate] ");
|
||||
strSql.Append(" FROM FactOperationPosition ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetFactOperationPositionIdList(int PatientId)
|
||||
{
|
||||
List<int> FactOperationPositionIdList = new List<int>();
|
||||
string strSql = "SELECT OperationPositionId FROM FactOperationPosition WHERE PatientId='" + PatientId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
FactOperationPositionIdList.Add(int.Parse(dt.Rows[i]["OperationPositionId"].ToString()));
|
||||
|
||||
}
|
||||
return FactOperationPositionIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,103 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FactPersonDutyDB
|
||||
{
|
||||
public void Add(Model.FactPersonDuty FactPersonDutyObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [FactPersonDuty](");
|
||||
strSql.Append("PatientId,ApplyId,PersonDutyId,PersonId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+FactPersonDutyObj.PatientId+",");
|
||||
strSql.Append(""+FactPersonDutyObj.ApplyId+",");
|
||||
strSql.Append(""+FactPersonDutyObj.PersonDutyId+",");
|
||||
strSql.Append(""+FactPersonDutyObj.PersonId+",");
|
||||
strSql.Append("'"+FactPersonDutyObj.OperatorNo+"',");
|
||||
strSql.Append("'"+FactPersonDutyObj.OperatorName+"',");
|
||||
strSql.Append("'"+FactPersonDutyObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int PatientId, int PersonDutyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete FactPersonDuty ");
|
||||
strSql.Append(" where PatientId=" + PatientId + " and PersonDutyId=" + PersonDutyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public Model.FactPersonDuty GetModel(int Id)
|
||||
{
|
||||
Model.FactPersonDuty FactPersonDutyObj = new Model.FactPersonDuty();
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,ApplyId,PersonDutyId,PersonId,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from FactPersonDuty ");
|
||||
strSql.Append(" where Id="+Id+"" );
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
|
||||
{
|
||||
FactPersonDutyObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PatientId"].ToString()!="")
|
||||
{
|
||||
FactPersonDutyObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["ApplyId"].ToString()!="")
|
||||
{
|
||||
FactPersonDutyObj.ApplyId = int.Parse(ds.Tables[0].Rows[0]["ApplyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PersonDutyId"].ToString()!="")
|
||||
{
|
||||
FactPersonDutyObj.PersonDutyId = int.Parse(ds.Tables[0].Rows[0]["PersonDutyId"].ToString());
|
||||
}
|
||||
if(ds.Tables[0].Rows[0]["PersonId"].ToString()!="")
|
||||
{
|
||||
FactPersonDutyObj.PersonId = int.Parse(ds.Tables[0].Rows[0]["PersonId"].ToString());
|
||||
}
|
||||
FactPersonDutyObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
FactPersonDutyObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
|
||||
{
|
||||
FactPersonDutyObj.OperateDate=DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return FactPersonDutyObj;
|
||||
}
|
||||
|
||||
public DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select [Id],[PatientId],[ApplyId],[PersonDutyId],[PersonId],[OperatorNo],[OperatorName],[OperateDate] ");
|
||||
strSql.Append(" FROM FactPersonDuty ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strWhere.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetPersonIdList(int PatientId, int PersonDutyId)
|
||||
{
|
||||
List<int> PersonIdList = new List<int>();
|
||||
string strSql = "SELECT PersonId FROM FactPersonDuty WHERE PatientId=" + PatientId + " AND PersonDutyId =" + PersonDutyId + "";
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
PersonIdList.Add(int.Parse(dt.Rows[i]["PersonId"].ToString()));
|
||||
}
|
||||
|
||||
return PersonIdList;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,54 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class FillAnasRecordBillDataDB
|
||||
{
|
||||
public DataTable FillDrugData(int PatientId, int DrugTypeId)
|
||||
{
|
||||
string strSql = " SELECT fd.Id,d.Id as DrugsId, d.Name AS DrugName ,fd.IsContinue,fd.Dosage,fd.DosageUnit,fd.DrugBeginTime, fd.DrugEndTime,fd.DrugChannel,fd.GiveDrugType,fd.Remark,d.DrugKind,[Density],[DensityUnit],[Velocity],[VelocityUnit],[BloodType] ,fd.[OperatorNo],fd.[OperatorName],fd.[OperateDate],fd.ParentId FROM FactDrug fd " +
|
||||
"LEFT JOIN Drugs d ON d.Id = fd.DrugId " +
|
||||
"WHERE fd.PatientId=" + PatientId + " AND fd.DrugTypeId=" + DrugTypeId + " ";
|
||||
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public DataTable FillOutFluid(int PatientId, int DrugTypeId)
|
||||
{
|
||||
string strSql = "SELECT fol.Id, fol.OutputLiquidsId,ol.Name AS OutputLiquidsName, fol.BeginTime, fol.EndTime, fol.Dosage, fol.DosageUnit,fol.Remark " +
|
||||
"FROM FactOutputLiquids fol " +
|
||||
"LEFT JOIN OutputLiquids ol ON ol.Id = fol.OutputLiquidsId " +
|
||||
"WHERE fol.PatientId=" + PatientId + " AND fol.OutputLiquidsTypeId=" + DrugTypeId + " ";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public DateTime GetMaxTime(int PatientId, int TypeId)
|
||||
{
|
||||
string strSql = "SELECT ISNULL(MAX(A.MaxTime),GETDATE()) MaxTime FROM ( " +
|
||||
"SELECT fd.DrugEndTime AS MaxTime FROM FactDrug fd WHERE fd.DrugTypeId=" + TypeId + " and fd.PatientId=" + PatientId + " " +
|
||||
"UNION ALL " +
|
||||
"SELECT fe.EventEndTime AS MaxTime FROM FactEvents fe LEFT JOIN Events e ON e.Id =fe.EventId WHERE fe.EventTypeId=" + TypeId + " and fe.PatientId=" + PatientId + " " +
|
||||
"UNION ALL " +
|
||||
"SELECT fol.EndTime AS MaxTime FROM FactOutputLiquids fol WHERE fol.OutputLiquidsTypeId=" + TypeId + " and fol.PatientId=" + PatientId + " )A ";
|
||||
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
|
||||
return DateTime.Parse(dt.Rows[0]["MaxTime"].ToString());
|
||||
}
|
||||
public int GetDataCount(int RecorId,int PatientId, int TypeId)
|
||||
{
|
||||
string strSql = "SELECT SUM(A.RowCounts) AS RowCounts FROM ( " +
|
||||
"SELECT COUNT(*) AS RowCounts FROM FactDrug fd WHERE fd.DrugTypeId =" + TypeId + " and fd.PatientId=" + PatientId + " UNION ALL " +
|
||||
"SELECT COUNT(*) AS RowCounts FROM FactEvents fe WHERE fe.EventTypeId=" + TypeId + " and fe.PatientId=" + PatientId + " and EventId<>7 UNION ALL " +
|
||||
"SELECT COUNT(*) AS RowCounts FROM FactOutputLiquids fol WHERE OutputLiquidsTypeId=" + TypeId + " and fol.PatientId=" + PatientId + " UNION ALL " +
|
||||
"SELECT COUNT(*) AS RowCounts FROM FactBloodGasAnalysis fol WHERE OperationRecordId=" + RecorId + " )A ";
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
|
||||
return int.Parse(dt.Rows[0]["RowCounts"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,243 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class OperationRecordDB
|
||||
{
|
||||
public int AddTitleTime(int PatientId, int ApplyId, int RecoverId, string TableColumnName, DateTime Time, int RoomId)
|
||||
{
|
||||
string strSql = "INSERT INTO OperationRecord(PatientId,OperationApplyId,RecoverId," + TableColumnName + ",OperatorNo,OperatorName,OperateDate,RoomId)" +
|
||||
"VALUES (" + PatientId + "," + ApplyId + "," + RecoverId + ",'" + Time + "','" + AIMSExtension.PublicMethod.OperatorNo + "','"
|
||||
+ AIMSExtension.PublicMethod.OperatorName + "','" + AIMSExtension.PublicMethod.SystemDate() + "','" + RoomId + "');select @@identity ";
|
||||
return Convert.ToInt32(HelperDB.DbHelperSQL.ExecNonQuery(strSql));
|
||||
;
|
||||
}
|
||||
|
||||
public void UpdateTitleTime(int PatientId, string TableColumnName, DateTime Time)
|
||||
{
|
||||
string strSql = "Update OperationRecord Set " + TableColumnName + "='" + Time.ToString("yyyy-MM-dd HH:mm:ss") +
|
||||
"',OperatorNo='" + AIMSExtension.PublicMethod.OperatorNo +
|
||||
"',OperatorName='" + AIMSExtension.PublicMethod.OperatorName + "' WHERE PatientId=" + PatientId + "";
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql);
|
||||
}
|
||||
|
||||
public Model.TitleTime GetTitleTime(int PatientId, int RecoverId)
|
||||
{
|
||||
Model.TitleTime TitleTimeObj = new Model.TitleTime();
|
||||
string strSql = "SELECT OperationApplyId,ISNULL((SELECT TOP 1 fe.EventBeginTime FROM FactEvents fe LEFT JOIN Events e ON e.Id =fe.EventId WHERE fe.EventTypeId=1 and e.Name='入室' and PatientId=" + PatientId + " ),getdate()) as InRoomTime, OutRoomTime, OperationBeginTime,OperationEndTime " +
|
||||
"FROM OperationRecord WHERE PatientId='" + PatientId + "' and RecoverId='" + RecoverId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
if (dt.Rows[0]["OperationApplyId"].ToString() != "")
|
||||
{
|
||||
TitleTimeObj.OperationApplyId = int.Parse(dt.Rows[0]["OperationApplyId"].ToString());
|
||||
}
|
||||
|
||||
if (dt.Rows[0]["InRoomTime"].ToString() != "")
|
||||
{
|
||||
TitleTimeObj.InRoomTime = DateTime.Parse(DateTime.Parse(dt.Rows[0]["InRoomTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"));
|
||||
}
|
||||
|
||||
if (dt.Rows[0]["OutRoomTime"].ToString() != "")
|
||||
{
|
||||
TitleTimeObj.OutRoomTime = DateTime.Parse(dt.Rows[0]["OutRoomTime"].ToString());
|
||||
}
|
||||
if (dt.Rows[0]["OperationBeginTime"].ToString() != "")
|
||||
{
|
||||
TitleTimeObj.OperationBeginTime = DateTime.Parse(dt.Rows[0]["OperationBeginTime"].ToString());
|
||||
}
|
||||
if (dt.Rows[0]["OperationEndTime"].ToString() != "")
|
||||
{
|
||||
TitleTimeObj.OperationEndTime = DateTime.Parse(dt.Rows[0]["OperationEndTime"].ToString());
|
||||
}
|
||||
|
||||
}
|
||||
return TitleTimeObj;
|
||||
}
|
||||
|
||||
public void Update(Model.OperationRecord OperationRecordObj)
|
||||
{
|
||||
StringBuilder strSql = new StringBuilder();
|
||||
strSql.Append("update OperationRecord set ");
|
||||
strSql.Append("OperationLevelId=" + OperationRecordObj.OperationLevelId + ",");
|
||||
strSql.Append("OpeAfterMode='" + OperationRecordObj.OpeAfterMode + "',");
|
||||
strSql.Append("SpecialSituation='" + OperationRecordObj.SpecialSituation + "',");
|
||||
strSql.Append("PunctureBodyPosition='" + OperationRecordObj.PunctureBodyPosition + "',");
|
||||
strSql.Append("PuncturePosition='" + OperationRecordObj.PuncturePosition + "',");
|
||||
strSql.Append("CatheterDepth='" + OperationRecordObj.CatheterDepth + "',");
|
||||
strSql.Append("NeedleSize='" + OperationRecordObj.NeedleSize + "',");
|
||||
strSql.Append("NeedleDirection='" + OperationRecordObj.NeedleDirection + "',");
|
||||
strSql.Append("AnaesthesiaPlane='" + OperationRecordObj.AnaesthesiaPlane + "',");
|
||||
strSql.Append("AnaesthesiaEffect='" + OperationRecordObj.AnaesthesiaEffect + "',");
|
||||
strSql.Append("CannulaOrLaryngealMaskType='" + OperationRecordObj.CannulaOrLaryngealMaskType + "',");
|
||||
strSql.Append("TubeNumber='" + OperationRecordObj.TubeNumber + "',");
|
||||
strSql.Append("Depth='" + OperationRecordObj.Depth + "',");
|
||||
strSql.Append("TracheaInner=" + OperationRecordObj.TracheaInner + ",");
|
||||
strSql.Append("BronchialInner=" + OperationRecordObj.BronchialInner + ",");
|
||||
strSql.Append("FastAnaesthesia=" + OperationRecordObj.FastAnaesthesia + ",");
|
||||
strSql.Append("PlaneAnaesthesia=" + OperationRecordObj.PlaneAnaesthesia + ",");
|
||||
strSql.Append("Mouth=" + OperationRecordObj.Mouth + ",");
|
||||
strSql.Append("NoseLeft=" + OperationRecordObj.NoseLeft + ",");
|
||||
strSql.Append("NoseRight=" + OperationRecordObj.NoseRight + ",");
|
||||
strSql.Append("Photopic=" + OperationRecordObj.Photopic + ",");
|
||||
strSql.Append("Cuff=" + OperationRecordObj.Cuff + ",");
|
||||
strSql.Append("StopperFabric=" + OperationRecordObj.StopperFabric + ",");
|
||||
strSql.Append("Remarks='" + OperationRecordObj.Remarks + "',");
|
||||
strSql.Append("OperatorNo='" + OperationRecordObj.OperatorNo + "',");
|
||||
strSql.Append("OperatorName='" + OperationRecordObj.OperatorName + "',");
|
||||
strSql.Append("OperateDate='" + OperationRecordObj.OperateDate + "'");
|
||||
strSql.Append(" where PatientId=" + OperationRecordObj.PatientId + " ");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public Model.OperationRecord GetModel(int PatientId)
|
||||
{
|
||||
Model.OperationRecord OperationRecordObj = new Model.OperationRecord();
|
||||
StringBuilder strSql = new StringBuilder();
|
||||
strSql.Append("select ");
|
||||
strSql.Append("Id,PatientId,OperationApplyId,State,OperationLevelId,OpeAfterMode,SpecialSituation,PunctureBodyPosition,PuncturePosition,CatheterDepth,NeedleSize,NeedleDirection,AnaesthesiaPlane,AnaesthesiaEffect,CannulaOrLaryngealMaskType,TubeNumber,Depth,TracheaInner,BronchialInner,FastAnaesthesia,PlaneAnaesthesia,Mouth,NoseLeft,NoseRight,Photopic,Cuff,StopperFabric,Remarks,OperatorNo,OperatorName,OperateDate ");
|
||||
strSql.Append(" from OperationRecord ");
|
||||
strSql.Append(" where PatientId=" + PatientId + "");
|
||||
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
|
||||
if (ds.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
if (ds.Tables[0].Rows[0]["Id"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["PatientId"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.PatientId = int.Parse(ds.Tables[0].Rows[0]["PatientId"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["OperationApplyId"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.OperationApplyId = int.Parse(ds.Tables[0].Rows[0]["OperationApplyId"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["OperationLevelId"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.OperationLevelId = int.Parse(ds.Tables[0].Rows[0]["OperationLevelId"].ToString());
|
||||
}
|
||||
OperationRecordObj.OpeAfterMode = ds.Tables[0].Rows[0]["OpeAfterMode"].ToString();
|
||||
OperationRecordObj.SpecialSituation = ds.Tables[0].Rows[0]["SpecialSituation"].ToString();
|
||||
OperationRecordObj.PunctureBodyPosition = ds.Tables[0].Rows[0]["PunctureBodyPosition"].ToString();
|
||||
OperationRecordObj.PuncturePosition = ds.Tables[0].Rows[0]["PuncturePosition"].ToString();
|
||||
OperationRecordObj.CatheterDepth = ds.Tables[0].Rows[0]["CatheterDepth"].ToString();
|
||||
OperationRecordObj.NeedleSize = ds.Tables[0].Rows[0]["NeedleSize"].ToString();
|
||||
OperationRecordObj.NeedleDirection = ds.Tables[0].Rows[0]["NeedleDirection"].ToString();
|
||||
OperationRecordObj.AnaesthesiaPlane = ds.Tables[0].Rows[0]["AnaesthesiaPlane"].ToString();
|
||||
OperationRecordObj.AnaesthesiaEffect = ds.Tables[0].Rows[0]["AnaesthesiaEffect"].ToString();
|
||||
OperationRecordObj.CannulaOrLaryngealMaskType = ds.Tables[0].Rows[0]["CannulaOrLaryngealMaskType"].ToString();
|
||||
OperationRecordObj.TubeNumber = ds.Tables[0].Rows[0]["TubeNumber"].ToString();
|
||||
OperationRecordObj.Depth = ds.Tables[0].Rows[0]["Depth"].ToString();
|
||||
if (ds.Tables[0].Rows[0]["TracheaInner"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.TracheaInner = int.Parse(ds.Tables[0].Rows[0]["TracheaInner"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["BronchialInner"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.BronchialInner = int.Parse(ds.Tables[0].Rows[0]["BronchialInner"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["FastAnaesthesia"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.FastAnaesthesia = int.Parse(ds.Tables[0].Rows[0]["FastAnaesthesia"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["PlaneAnaesthesia"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.PlaneAnaesthesia = int.Parse(ds.Tables[0].Rows[0]["PlaneAnaesthesia"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["Mouth"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.Mouth = int.Parse(ds.Tables[0].Rows[0]["Mouth"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["NoseLeft"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.NoseLeft = int.Parse(ds.Tables[0].Rows[0]["NoseLeft"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["NoseRight"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.NoseRight = int.Parse(ds.Tables[0].Rows[0]["NoseRight"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["Photopic"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.Photopic = int.Parse(ds.Tables[0].Rows[0]["Photopic"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["Cuff"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.Cuff = int.Parse(ds.Tables[0].Rows[0]["Cuff"].ToString());
|
||||
}
|
||||
if (ds.Tables[0].Rows[0]["StopperFabric"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.StopperFabric = int.Parse(ds.Tables[0].Rows[0]["StopperFabric"].ToString());
|
||||
}
|
||||
OperationRecordObj.Remarks = ds.Tables[0].Rows[0]["Remarks"].ToString();
|
||||
OperationRecordObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
|
||||
OperationRecordObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
|
||||
if (ds.Tables[0].Rows[0]["OperateDate"].ToString() != "")
|
||||
{
|
||||
OperationRecordObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
|
||||
}
|
||||
}
|
||||
return OperationRecordObj;
|
||||
}
|
||||
|
||||
public DataTable GetOperationDoingMainInfo(int PatientId, int TypeId)
|
||||
{
|
||||
string strSql = "SELECT od.Id,od.PatientId, od.ApplyId,(SELECT TOP 1 fe.EventBeginTime FROM FactEvents fe LEFT JOIN Events e ON e.Id =fe.EventId WHERE e.Name='入室' and PatientId=" + PatientId + " and EventTypeId=" + TypeId + " ) as InRoomTime,"
|
||||
+ "(SELECT TOP 1 fe.EventBeginTime FROM FactEvents fe LEFT JOIN Events e ON e.Id =fe.EventId WHERE e.Name='出室' and PatientId=" + PatientId + " and EventTypeId=" + TypeId + " ) as OutRoomTime, "
|
||||
+ "(SELECT TOP 1 fe.EventBeginTime FROM FactEvents fe LEFT JOIN Events e ON e.Id =fe.EventId WHERE e.Name='手术开始' and PatientId=" + PatientId + " and EventTypeId=" + TypeId + " ) as OperationBeginTime, "
|
||||
+ "(SELECT TOP 1 fe.EventBeginTime FROM FactEvents fe LEFT JOIN Events e ON e.Id =fe.EventId WHERE e.Name='手术结束' and PatientId=" + PatientId + " and EventTypeId=" + TypeId + " ) as OperationEndTime, " +
|
||||
"od.OperationLevelName, od.OpeAfterMode, od.SpecialSituation," +
|
||||
"od.PunctureBodyPosition, od.PuncturePosition, od.CatheterDepth,od.NeedleSize, od.NeedleDirection, od.AnaesthesiaPlane," +
|
||||
"od.AnaesthesiaEffect, od.DiagnoseInfoName, od.OperationInfoName,od.AnaesthesiaMethodName, od.OperationCutTypeName," +
|
||||
"od.OperationBodyPositionName, od.OperationPositionName, od.OperationDoctor,od.Assistant, od.AnesthesiaDoctor, od.Nurse,od.Nurse2," +
|
||||
"od.OperatorNo,od.OperatorName,od.OperateDate,od.Remarks,od.State,OperationDoctorId ,[AssistantId] ,[AnesthesiaDoctorId] ,[InstrumentNurseId],[TourNurseId],DiagnoseInfoId,OperationInfoId,AnaesthesiaMethodId,OrtherDoctor,OrtherDoctorId,OperationPositionId,OperationBodyPositionId,ASALevel,SpecialCase,Fasting,BloodType FROM V_OperationDoing od WHERE od.PatientId=" + PatientId + " and od.RecoverId='" + TypeId + "'";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
}
|
||||
|
||||
public void UpdateState(int PatientId, int TypeId, int State)
|
||||
{
|
||||
string strSql = "UPDATE OperationRecord SET " + (State == 1 ? " OutRoomTime=null, " : "") + " [State] = " + State +
|
||||
",OperatorNo = '" + AIMSExtension.PublicMethod.OperatorNo +
|
||||
"',OperatorName = '" + AIMSExtension.PublicMethod.OperatorName +
|
||||
"',OperateDate = '" + AIMSExtension.PublicMethod.SystemDate() +
|
||||
"' WHERE PatientId=" + PatientId + " and RecoverId='" + TypeId + "'";
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId)
|
||||
{
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactAnaesthesiaMethod WHERE PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactBloodGasAnalysis WHERE OperationRecordId=" + RecorId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactDiagnoseInfo WHERE PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactDrug WHERE DrugTypeId=" + TypeId + " and PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactEvents WHERE EventTypeId=" + TypeId + " and PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactOperationBodyPosition WHERE PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactOperationCutType WHERE PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactOperationInfo WHERE PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactOperationPosition WHERE PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactOutputLiquids WHERE OutputLiquidsTypeId=" + TypeId + " and PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactPersonDuty WHERE PatientId=" + PatientId + " and PersonDutyId=" + TypeId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM OperationRecordInfo WHERE OperationRecordId=" + RecorId);
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM PhysioData WHERE PatientId =" + RecorId);
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM OperationRecord WHERE id=" + RecorId);
|
||||
}
|
||||
public void DeleteOperationRecorvreData(int PatientId, int TypeId)
|
||||
{
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactDrug WHERE DrugTypeId=" + TypeId + " and PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactEvents WHERE EventTypeId=" + TypeId + " and PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactOutputLiquids WHERE OutputLiquidsTypeId=" + TypeId + " and PatientId=" + PatientId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactPersonDuty WHERE PatientId=" + PatientId + " and PersonDutyId=" + TypeId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM OperationRecord WHERE id=" + PatientId + " and RecoverId=" + TypeId + "");
|
||||
}
|
||||
public void DeleteEvent(int PatientId, int EventId)
|
||||
{
|
||||
HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactEvents WHERE EventTypeId=1 and EventId =" + EventId + " and PatientId=" + PatientId + "");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,68 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.DAL
|
||||
{
|
||||
public class SelectPatient
|
||||
{
|
||||
public DataTable GetSelectPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, " +
|
||||
"of1.ApplyOperationInfoName, of1.OperationDoctor, " +
|
||||
"of1.AnesthesiaDoctor,of1.OperationRoomId " +
|
||||
"FROM V_OperationFront of1 WHERE of1.State in('已排程','已访视') and of1.PlanOperationTime>='" + BeginDate + "' AND of1.PlanOperationTime<'" + BeginDate.AddDays(1) + "'";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public DataTable GetSelectPatientDataTable(DateTime BeginDate, string Room)
|
||||
{
|
||||
string strSql = "SELECT of1.ApplyId Id, of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, " +
|
||||
"of1.ApplyOperationInfoName, of1.OperationDoctor, " +
|
||||
"of1.AnesthesiaDoctor,of1.OperationRoomId , of1.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of1.PlanOperationTime,of1.InstrumentNurse,of1.TourNurse,of1.ApplyDiagnoseInfoName,of1.OperationRoom " +
|
||||
"FROM V_OperationFront of1 WHERE of1.State in('已审核','预排程','已排程','已访视') and of1.OrderOperationTime>='" + BeginDate + "' AND of1.OrderOperationTime<'" + BeginDate.AddDays(1) + "'";
|
||||
if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of1.ApplyOperationInfoName, of1.OperationDoctor, of1.AnesthesiaDoctor,of1.OperationRoomId,of2.State FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术中','手术结束') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "'";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate, string Room)
|
||||
{
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1";
|
||||
if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'";
|
||||
strSql += " order by [StateId] asc";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public DataTable GetRecoverPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.OutRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public DataTable GetSelectPatientDataTable(DateTime BeginDate, DateTime EndDate, bool isLoginPerson, string person, bool isEnOpe)
|
||||
{
|
||||
string strSql = "SELECT of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, " +
|
||||
"of1.ApplyOperationInfoName, of1.OperationDoctor, of1.State ," +
|
||||
"of1.AnesthesiaDoctor,of1.OperationRoomId,of1.InstrumentNurse,of1.TourNurse " +
|
||||
"FROM V_OperationFront of1 WHERE of1.OrderOperationTime>='" + BeginDate + "' AND of1.OrderOperationTime<'" + EndDate + "' ";
|
||||
if (isLoginPerson == true) strSql += " and AnesthesiaDoctor like '%" + person + "%'";
|
||||
if (isEnOpe == true) strSql += " and state ='手术结束'";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public DataTable GetSelectPatientChart()
|
||||
{
|
||||
string strSql = "select CONVERT(nvarchar(7), InRoomTime,120) dat, SUM(ROUND((DATEDIFF(minute, OperationBeginTime, OperationEndTime)) / CONVERT(FLOAT, 60), 1)) AS DiffDate from V_OperationDoing group by CONVERT(nvarchar(7), InRoomTime, 120)";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public DataTable GetSelectPatientChart2()
|
||||
{
|
||||
string strSql = "select CONVERT(nvarchar(7), InRoomTime,120) dat,COUNT(*) con from V_OperationDoing group by CONVERT(nvarchar(7), InRoomTime,120) ";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using DrawGraph;
|
||||
using HelperDB;
|
||||
using System;
|
||||
@ -15,20 +16,20 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
return _record;
|
||||
}
|
||||
Model.TitleTime TitleTime = BLL.OperationRecord.GetTitleTime(PatientId, RecoverId);
|
||||
TitleTime titleTime = BOperationRecord.GetTitleTime(PatientId, RecoverId);
|
||||
_record.PatientId = PatientId;
|
||||
_record.OperationApplyId = TitleTime.OperationApplyId;
|
||||
_record.InRoomTime = TitleTime.InRoomTime;
|
||||
_record.OperationBeginTime = TitleTime.OperationBeginTime;
|
||||
_record.OperationEndTime = TitleTime.OperationEndTime;
|
||||
_record.OutRoomTime = TitleTime.OutRoomTime;
|
||||
_record.OperationApplyId = titleTime.OperationApplyId;
|
||||
_record.InRoomTime = titleTime.InRoomTime;
|
||||
_record.OperationBeginTime = titleTime.OperationBeginTime;
|
||||
_record.OperationEndTime = titleTime.OperationEndTime;
|
||||
_record.OutRoomTime = titleTime.OutRoomTime;
|
||||
|
||||
DataTable OperationFrontdt = OperationFront.BLL.OperationApply.GetOperationFrontDataTableByPatientId(PatientId);
|
||||
DataTable OperationFrontdt = BOperationApply.GetOperationFrontDataTableByPatientId(PatientId);
|
||||
if (OperationFrontdt.Rows.Count > 0)
|
||||
{
|
||||
_record.DepartmentId = int.Parse( OperationFrontdt.Rows[0]["DepartmentId"].ToString());
|
||||
_record.DepartmentId = int.Parse(OperationFrontdt.Rows[0]["DepartmentId"].ToString());
|
||||
_record.ApplyDepartmentName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString() + " " + OperationFrontdt.Rows[0]["SickBed"].ToString();
|
||||
_record.ApplyDepName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString() ;
|
||||
_record.ApplyDepName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString();
|
||||
_record.EndemicArea = OperationFrontdt.Rows[0]["Illdistrict"].ToString();
|
||||
_record.Bed = OperationFrontdt.Rows[0]["SickBed"].ToString();
|
||||
_record.InHospitalNo = OperationFrontdt.Rows[0]["MdrecNo"].ToString();
|
||||
@ -48,7 +49,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
|
||||
}
|
||||
|
||||
DataTable OperationDoingdt = BLL.OperationRecord.GetOperationDoingDataTableByPatientId(PatientId, RecoverId);
|
||||
DataTable OperationDoingdt = BOperationRecord.GetOperationDoingDataTableByPatientId(PatientId, RecoverId);
|
||||
if (OperationDoingdt.Rows.Count > 0)
|
||||
{
|
||||
_record.Id = int.Parse(OperationDoingdt.Rows[0]["Id"].ToString().Trim());
|
||||
@ -96,7 +97,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
//药品
|
||||
_record.FactDrugList.Clear();
|
||||
DataTable DrugAllData = new DAL.FillAnasRecordBillDataDB().FillDrugData(PatientId, TypeId);
|
||||
DataTable DrugAllData = BOperationRecord.FillDrugData(PatientId, TypeId);
|
||||
for (int i = 0; i < DrugAllData.Rows.Count; i++)
|
||||
{
|
||||
FactDrug FactDrug = new FactDrug();
|
||||
@ -186,7 +187,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
//出量
|
||||
_record.FactOutputLiquidsList.Clear();
|
||||
DataTable OutputLiquidsDistinct = new DAL.FillAnasRecordBillDataDB().FillOutFluid(PatientId, TypeId);
|
||||
DataTable OutputLiquidsDistinct = BOperationRecord.FillOutFluid(PatientId, TypeId);
|
||||
|
||||
for (int i = 0; i < OutputLiquidsDistinct.Rows.Count; i++)
|
||||
{
|
||||
|
||||
@ -1,23 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class AddPhysioParam
|
||||
{
|
||||
public int Id { get; set; }//编号
|
||||
public string Name { get; set; } //名称
|
||||
public int yAisx { get; set; }//归属那条Y轴
|
||||
public string Color { get; set; } //线条颜色
|
||||
public string ImgPath { get; set; }//图片路径
|
||||
public double DecHighLimit { get; set; }//最高限制
|
||||
public double DecLowLimit { get; set; }//最低限制
|
||||
public int IsValid { get; set; }//是否有效 1有效 0无效
|
||||
public string OperatorNo { get; set; }//操作员编号
|
||||
public string OperatorName { get; set; }//操作员姓名
|
||||
public DateTime OperateDate { get; set; }//操作时间
|
||||
public int YAisx;
|
||||
}
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class AnasRecordBillRemark
|
||||
{
|
||||
/// <summary>
|
||||
/// 术后镇痛方式
|
||||
/// </summary>
|
||||
public string OpeAfterModeStr = "";
|
||||
/// <summary>
|
||||
/// 穿刺
|
||||
/// </summary>
|
||||
public string PunctureStr = "";
|
||||
|
||||
/// <summary>
|
||||
/// 插管
|
||||
/// </summary>
|
||||
public string CannulaStr = "";
|
||||
|
||||
/// <summary>
|
||||
/// 麻醉单备注
|
||||
/// </summary>
|
||||
public string RemarksStr ="";
|
||||
}
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class DistinctFactDrug
|
||||
{
|
||||
public int PatientId;
|
||||
public int DrugTypeId;
|
||||
public int DrugId;
|
||||
public string DrugName;
|
||||
public string DosageUnit;
|
||||
public List<FactDrugItem> DrugItem = new List<FactDrugItem>();
|
||||
}
|
||||
|
||||
public class FactDrugItem
|
||||
{
|
||||
public int DrugId;
|
||||
public DateTime DrugBeginTime;
|
||||
public DateTime DrugEndTime;
|
||||
public decimal Dosage;
|
||||
public string DosageUnit;
|
||||
public string DrugChannel;
|
||||
public string GiveDrugType;
|
||||
public string Remark;
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactAnaesthesiaMethod
|
||||
{
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _anaesthesiamethodid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int AnaesthesiaMethodId
|
||||
{
|
||||
set { _anaesthesiamethodid = value; }
|
||||
get { return _anaesthesiamethodid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,76 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactDiagnoseInfo
|
||||
{
|
||||
#region Model
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _diagnoseid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DiagnoseId
|
||||
{
|
||||
set { _diagnoseid = value; }
|
||||
get { return _diagnoseid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
#endregion Model
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactOperationBodyPosition
|
||||
{
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _operationbodypositionid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperationBodyPositionId
|
||||
{
|
||||
set { _operationbodypositionid = value; }
|
||||
get { return _operationbodypositionid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactOperationCutType
|
||||
{
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _operationcuttypeid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperationCutTypeId
|
||||
{
|
||||
set { _operationcuttypeid = value; }
|
||||
get { return _operationcuttypeid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,103 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactOperationInfo
|
||||
{
|
||||
#region Model
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _operationid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
private string operationName;
|
||||
private string leftRemark;
|
||||
private string rightRemark;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperationId
|
||||
{
|
||||
set { _operationid = value; }
|
||||
get { return _operationid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperationName
|
||||
{
|
||||
get { return operationName; }
|
||||
set { operationName = value; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LeftRemark
|
||||
{
|
||||
get { return leftRemark; }
|
||||
set { leftRemark = value; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RightRemark
|
||||
{
|
||||
get { return rightRemark; }
|
||||
set { rightRemark = value; }
|
||||
}
|
||||
#endregion Model
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactOperationPosition
|
||||
{
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _operationpositionid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperationPositionId
|
||||
{
|
||||
set { _operationpositionid = value; }
|
||||
get { return _operationpositionid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,83 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class FactPersonDuty
|
||||
{
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _applyid;
|
||||
private int _persondutyid;
|
||||
private int _personid;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime? _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set { _id = value; }
|
||||
get { return _id; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set { _patientid = value; }
|
||||
get { return _patientid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ApplyId
|
||||
{
|
||||
set { _applyid = value; }
|
||||
get { return _applyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PersonDutyId
|
||||
{
|
||||
set { _persondutyid = value; }
|
||||
get { return _persondutyid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PersonId
|
||||
{
|
||||
set { _personid = value; }
|
||||
get { return _personid; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set { _operatorno = value; }
|
||||
get { return _operatorno; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set { _operatorname = value; }
|
||||
get { return _operatorname; }
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime? OperateDate
|
||||
{
|
||||
set { _operatedate = value; }
|
||||
get { return _operatedate; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,283 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class OperationRecord
|
||||
{
|
||||
#region Model
|
||||
private int _id;
|
||||
private int _patientid;
|
||||
private int _operationapplyid;
|
||||
private int _operationlevelid;
|
||||
private string _opeaftermode;
|
||||
private string _specialsituation;
|
||||
private string _puncturebodyposition;
|
||||
private string _punctureposition;
|
||||
private string _catheterdepth;
|
||||
private string _needlesize;
|
||||
private string _needledirection;
|
||||
private string _anaesthesiaplane;
|
||||
private string _anaesthesiaeffect;
|
||||
private string _cannulaorlaryngealmasktype;
|
||||
private string _tubenumber;
|
||||
private string _depth;
|
||||
private int _tracheainner;
|
||||
private int _bronchialinner;
|
||||
private int _fastanaesthesia;
|
||||
private int _planeanaesthesia;
|
||||
private int _mouth;
|
||||
private int _noseleft;
|
||||
private int _noseright;
|
||||
private int _photopic;
|
||||
private int _cuff;
|
||||
private int _stopperfabric;
|
||||
private string _remarks;
|
||||
private string _operatorno;
|
||||
private string _operatorname;
|
||||
private DateTime _operatedate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Id
|
||||
{
|
||||
set{ _id=value;}
|
||||
get{return _id;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PatientId
|
||||
{
|
||||
set{ _patientid=value;}
|
||||
get{return _patientid;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperationApplyId
|
||||
{
|
||||
set{ _operationapplyid=value;}
|
||||
get{return _operationapplyid;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 手术分级
|
||||
/// </summary>
|
||||
public int OperationLevelId
|
||||
{
|
||||
set{ _operationlevelid=value;}
|
||||
get{return _operationlevelid;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 术后镇痛方式
|
||||
/// </summary>
|
||||
public string OpeAfterMode
|
||||
{
|
||||
set{ _opeaftermode=value;}
|
||||
get{return _opeaftermode;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 特殊情况
|
||||
/// </summary>
|
||||
public string SpecialSituation
|
||||
{
|
||||
set{ _specialsituation=value;}
|
||||
get{return _specialsituation;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 穿刺体位
|
||||
/// </summary>
|
||||
public string PunctureBodyPosition
|
||||
{
|
||||
set{ _puncturebodyposition=value;}
|
||||
get{return _puncturebodyposition;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 穿刺部位
|
||||
/// </summary>
|
||||
public string PuncturePosition
|
||||
{
|
||||
set{ _punctureposition=value;}
|
||||
get{return _punctureposition;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 导管深度
|
||||
/// </summary>
|
||||
public string CatheterDepth
|
||||
{
|
||||
set{ _catheterdepth=value;}
|
||||
get{return _catheterdepth;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 针号
|
||||
/// </summary>
|
||||
public string NeedleSize
|
||||
{
|
||||
set{ _needlesize=value;}
|
||||
get{return _needlesize;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 针向
|
||||
/// </summary>
|
||||
public string NeedleDirection
|
||||
{
|
||||
set{ _needledirection=value;}
|
||||
get{return _needledirection;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 麻醉平面
|
||||
/// </summary>
|
||||
public string AnaesthesiaPlane
|
||||
{
|
||||
set{ _anaesthesiaplane=value;}
|
||||
get{return _anaesthesiaplane;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 麻醉效果
|
||||
/// </summary>
|
||||
public string AnaesthesiaEffect
|
||||
{
|
||||
set{ _anaesthesiaeffect=value;}
|
||||
get{return _anaesthesiaeffect;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CannulaOrLaryngealMaskType
|
||||
{
|
||||
set{ _cannulaorlaryngealmasktype=value;}
|
||||
get{return _cannulaorlaryngealmasktype;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 管号
|
||||
/// </summary>
|
||||
public string TubeNumber
|
||||
{
|
||||
set{ _tubenumber=value;}
|
||||
get{return _tubenumber;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 深度
|
||||
/// </summary>
|
||||
public string Depth
|
||||
{
|
||||
set{ _depth=value;}
|
||||
get{return _depth;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 气管内
|
||||
/// </summary>
|
||||
public int TracheaInner
|
||||
{
|
||||
set{ _tracheainner=value;}
|
||||
get{return _tracheainner;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 支气管内
|
||||
/// </summary>
|
||||
public int BronchialInner
|
||||
{
|
||||
set{ _bronchialinner=value;}
|
||||
get{return _bronchialinner;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 快速麻醉
|
||||
/// </summary>
|
||||
public int FastAnaesthesia
|
||||
{
|
||||
set{ _fastanaesthesia=value;}
|
||||
get{return _fastanaesthesia;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 表面麻醉
|
||||
/// </summary>
|
||||
public int PlaneAnaesthesia
|
||||
{
|
||||
set{ _planeanaesthesia=value;}
|
||||
get{return _planeanaesthesia;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 经口
|
||||
/// </summary>
|
||||
public int Mouth
|
||||
{
|
||||
set{ _mouth=value;}
|
||||
get{return _mouth;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int NoseLeft
|
||||
{
|
||||
set{ _noseleft=value;}
|
||||
get{return _noseleft;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int NoseRight
|
||||
{
|
||||
set{ _noseright=value;}
|
||||
get{return _noseright;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 明视
|
||||
/// </summary>
|
||||
public int Photopic
|
||||
{
|
||||
set{ _photopic=value;}
|
||||
get{return _photopic;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 套囊
|
||||
/// </summary>
|
||||
public int Cuff
|
||||
{
|
||||
set{ _cuff=value;}
|
||||
get{return _cuff;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 塞布
|
||||
/// </summary>
|
||||
public int StopperFabric
|
||||
{
|
||||
set{ _stopperfabric=value;}
|
||||
get{return _stopperfabric;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks
|
||||
{
|
||||
set{ _remarks=value;}
|
||||
get{return _remarks;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorNo
|
||||
{
|
||||
set{ _operatorno=value;}
|
||||
get{return _operatorno;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperatorName
|
||||
{
|
||||
set{ _operatorname=value;}
|
||||
get{return _operatorname;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateDate
|
||||
{
|
||||
set{ _operatedate=value;}
|
||||
get{return _operatedate;}
|
||||
}
|
||||
#endregion Model
|
||||
}
|
||||
}
|
||||
@ -1,62 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using DrawGraph;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.Model
|
||||
{
|
||||
public class PhysioData : PointPair
|
||||
{
|
||||
private int _Id;
|
||||
private int _PhysioParamID;
|
||||
private int _physiodatatype;
|
||||
private int _PatientId;
|
||||
private DateTime _RecordTime;
|
||||
private Double _Value;
|
||||
|
||||
#region 属性
|
||||
public int Id
|
||||
{
|
||||
get { return _Id; }
|
||||
set { _Id = value; }
|
||||
}
|
||||
public int PhysioParamID
|
||||
{
|
||||
get { return _PhysioParamID; }
|
||||
set { _PhysioParamID = value; }
|
||||
}
|
||||
public int PhysioDataType
|
||||
{
|
||||
get { return _physiodatatype; }
|
||||
set { _physiodatatype = value; }
|
||||
}
|
||||
|
||||
public int PatientId
|
||||
{
|
||||
get { return _PatientId; }
|
||||
set { _PatientId = value; }
|
||||
}
|
||||
public DateTime RecordTime
|
||||
{
|
||||
get { return _RecordTime; }
|
||||
set
|
||||
{
|
||||
_RecordTime = value;
|
||||
this.X = new XDate(value);
|
||||
}
|
||||
}
|
||||
public Double Value
|
||||
{
|
||||
get { return this._Value; }
|
||||
set
|
||||
{
|
||||
this._Value = value;
|
||||
this.Y = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@ -3,6 +3,7 @@ using AIMS.OperationFront.UI;
|
||||
using AIMS.PublicUI.UI;
|
||||
using AIMSBLL;
|
||||
using AIMSExtension;
|
||||
using AIMSModel;
|
||||
using DevComponents.Editors.DateTimeAdv;
|
||||
using DrawGraph;
|
||||
using Newtonsoft.Json;
|
||||
@ -122,7 +123,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
int pylWidth = 3;
|
||||
|
||||
PrintDocument pDoc = new PrintDocument();
|
||||
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
|
||||
pDoc.DefaultPageSettings.Landscape = false;
|
||||
pDoc.OriginAtMargins = true;
|
||||
pDoc.DefaultPageSettings.Margins = new Margins(pylWidth, 0, 0, 0);//8, 0);
|
||||
@ -244,7 +245,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
count = 0;
|
||||
int pylWidth = 3;
|
||||
PrintDocument pDoc = new PrintDocument();
|
||||
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
|
||||
pDoc.DefaultPageSettings.Landscape = false;
|
||||
pDoc.OriginAtMargins = true;
|
||||
pDoc.DefaultPageSettings.PrinterResolution.Kind = PrinterResolutionKind.High;
|
||||
@ -772,8 +773,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
_record.OperationApplyId = ApplyId;
|
||||
_record.PatientId = PatientId;
|
||||
_record.RecoverId = RecoverId;
|
||||
_record.Id = BLL.OperationRecord.AddTitleTime(PatientId, ApplyId, RecoverId, "InRoomTime", DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")), NowRoom.Id.Value);
|
||||
BLL.OperationRecord.UpdateState(PatientId, RecoverId, 1);
|
||||
_record.Id = BOperationRecord.AddTitleTime(PatientId, ApplyId, RecoverId, "InRoomTime", DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")), NowRoom.Id.Value);
|
||||
BOperationRecord.UpdateState(PatientId, RecoverId, 1);
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
//_record.currentPage = 1;
|
||||
ClearTimeText();
|
||||
@ -922,7 +923,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
MessageBox.Show("请选择患者!");
|
||||
return;
|
||||
}
|
||||
if (BLL.FillAnasRecordBillData.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0)
|
||||
if (BOperationRecord.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0)
|
||||
{
|
||||
MessageBox.Show("清除数据在进行作废手术操作!");
|
||||
return;
|
||||
@ -933,9 +934,9 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
OperationFront.BLL.OperationApply.UpdateApplyState(ApplyId, 11);
|
||||
//BLL.OperationRecord.DeleteOperationRecordData(PatientId, RecoverId);
|
||||
BLL.OperationRecord.UpdateState(PatientId, 1, 5);
|
||||
BOperationApply.UpdateApplyState(ApplyId, 11);
|
||||
//BOperationRecord.DeleteOperationRecordData(PatientId, RecoverId);
|
||||
BOperationRecord.UpdateState(PatientId, 1, 5);
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
|
||||
//ClearData();
|
||||
@ -954,7 +955,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
MessageBox.Show("请选择患者!");
|
||||
return;
|
||||
}
|
||||
if (BLL.FillAnasRecordBillData.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0)
|
||||
if (BOperationRecord.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0)
|
||||
{
|
||||
MessageBox.Show("清除数据在进行取消转入操作!");
|
||||
return;
|
||||
@ -964,8 +965,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
try
|
||||
{
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
OperationFront.BLL.OperationApply.UpdateApplyState(ApplyId, 5);
|
||||
BLL.OperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId);
|
||||
BOperationApply.UpdateApplyState(ApplyId, 5);
|
||||
BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId);
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
|
||||
DisposeTimer();
|
||||
@ -1820,8 +1821,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
}
|
||||
_record.State = "手术结束";
|
||||
OperationFront.BLL.OperationApply.UpdateApplyState(ApplyId, 8);
|
||||
BLL.OperationRecord.UpdateState(PatientId, 1, 2);
|
||||
BOperationApply.UpdateApplyState(ApplyId, 8);
|
||||
BOperationRecord.UpdateState(PatientId, 1, 2);
|
||||
|
||||
//PublicMethod.WriteLog("结束转出手术: " + _record.Id);
|
||||
//TipBox.Hidden(true);
|
||||
|
||||
@ -165,7 +165,7 @@ namespace AIMS.PublicUI.UI
|
||||
_VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
_DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem;
|
||||
_DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
DataTable dt = DataDictionary.BLL.Drugs.GetDrugsDataTable();
|
||||
DataTable dt = BDrugs.GetDrugsDataTable();
|
||||
FullCommonlyDrugs(dt, AnesPanel);
|
||||
}
|
||||
|
||||
@ -1260,7 +1260,7 @@ namespace AIMS.PublicUI.UI
|
||||
if (TabSelDrugs.SelectedTab.Name == "AnesTab")
|
||||
{
|
||||
panel = AnesPanel;
|
||||
dt = DataDictionary.BLL.Drugs.GetDrugsDataTable();
|
||||
dt = BDrugs.GetDrugsDataTable();
|
||||
}
|
||||
if (Superitem.Tag != null && Superitem.Tag.ToString() != "")
|
||||
{
|
||||
|
||||
@ -28,13 +28,13 @@ namespace AIMS.PublicUI.UI
|
||||
rbSingle.Checked = true;
|
||||
|
||||
|
||||
cboName.DataSource = DataDictionary.BLL.OutputLiquids.GetDataTable();
|
||||
cboName.DataSource = BOutputLiquids.GetDataTable();
|
||||
cboName.DisplayMember = "Name";
|
||||
cboName.ValueMember = "Id";
|
||||
cboName.SelectedIndex = -1;
|
||||
|
||||
|
||||
cboDosageUnit.DataSource = DrugManagement.BLL.DosageUnit.GetDataTable(1);
|
||||
cboDosageUnit.DataSource = BDosageUnit.GetDataTable(1);
|
||||
cboDosageUnit.DisplayMember = "Name";
|
||||
cboDosageUnit.ValueMember = "Id";
|
||||
cboDosageUnit.SelectedIndex = -1;
|
||||
@ -52,7 +52,7 @@ namespace AIMS.PublicUI.UI
|
||||
MessageBox.Show("剂量不能为空!");
|
||||
return;
|
||||
}
|
||||
if (OperationDoing.AnasRecordBill.BLL.OperationRecord.GetTitleTime(PatientId, OutputLiquidTypeId).InRoomTime > dtpBegin.Value)
|
||||
if (BOperationRecord.GetTitleTime(PatientId, OutputLiquidTypeId).InRoomTime > dtpBegin.Value)
|
||||
{
|
||||
MessageBox.Show("不能早于入室时间!");
|
||||
return;
|
||||
|
||||
@ -93,7 +93,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
cboOperationLevel.DisplayMember = "Name";
|
||||
cboOperationLevel.ValueMember = "Id";
|
||||
cboOperationLevel.DataSource = DataDictionary.BLL.OperationLevel.GetDataTable("IsValid=1");
|
||||
cboOperationLevel.DataSource = BOperationLevel.GetDataTable("IsValid=1");
|
||||
cboOperationLevel.SelectedIndex = -1;
|
||||
|
||||
if (txtOperationCut.DataSource == null) BindBasicDictionaryToComboBox(txtOperationCut, "手术切口");
|
||||
@ -525,7 +525,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
foreach (int RowId in frmOperationDoctor.SelectPersonData)
|
||||
{
|
||||
controlTextBox.Text += AIMS.PublicUI.BLL.Person.GetModel(RowId).Name + " ,";
|
||||
controlTextBox.Text += BPerson.GetModel(RowId).Name + " ,";
|
||||
}
|
||||
if (controlTextBox.Text != "")
|
||||
{
|
||||
@ -1215,7 +1215,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
SelectAnaesthesiaMethodData = frmAnaesthesia.SelectAnaesthesiaMethodData;
|
||||
foreach (int RowId in frmAnaesthesia.SelectAnaesthesiaMethodData)
|
||||
{
|
||||
txtAnaesthesiaMethod.Text += DataDictionary.BLL.AnaesthesiaMethod.GetModel(RowId).Name + " ,";
|
||||
txtAnaesthesiaMethod.Text += BAnaesthesiaMethod.GetModel(RowId).Name + " ,";
|
||||
}
|
||||
int idxStart = txtAnaesthesiaMethod.Text.LastIndexOf(" ,");
|
||||
txtAnaesthesiaMethod.Text = txtAnaesthesiaMethod.Text.Substring(0, idxStart);
|
||||
|
||||
@ -27,8 +27,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmSelectPatientNew_Load(object sender, EventArgs e)
|
||||
{
|
||||
List<DataDictionary.Model.OperationRoom> rooms = DataDictionary.BLL.OperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new DataDictionary.Model.OperationRoom() { Id = -1, Name = "" });
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
|
||||
cboRoom.DataSource = rooms;
|
||||
cboRoom.DisplayMember = "Name";
|
||||
cboRoom.ValueMember = "Id";
|
||||
@ -65,7 +65,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
panel2.Visible = false;
|
||||
int i = 0, j = 0;
|
||||
|
||||
DataTable dt = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetSelectPatientDataTable
|
||||
DataTable dt = SelectPatient.GetSelectPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
@ -85,7 +85,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
if (i >= 5) break;
|
||||
}
|
||||
|
||||
DataTable dt2 = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetRelieveLockingPatientDataTable
|
||||
DataTable dt2 = SelectPatient.GetRelieveLockingPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
@ -160,7 +160,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
opeapply.State = 4;
|
||||
opeapply.OperationRoomId = int.Parse(seleteRoom.RoomId);
|
||||
opeapply.PlanOperationTime = dtpSelectPatientTime.Value;
|
||||
opeapply.PlanOrder = AIMS.OperationFront.BLL.OperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1;
|
||||
opeapply.PlanOrder = BOperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1;
|
||||
BOperationApply.Update(opeapply);
|
||||
}
|
||||
}
|
||||
@ -180,7 +180,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
frmAnasRecord.ApplyId = applyId;
|
||||
frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(RoomId);
|
||||
frmAnasRecord.State = AIMSExtension.EditState.ADD;
|
||||
OperationDoing.AnasRecordBill.BLL.InRoom.UpdateApplyState(PatientId, applyId); //修改状态
|
||||
SelectPatient.UpdateApplyState(PatientId, applyId); //修改状态
|
||||
|
||||
if (isMainOpen == false)
|
||||
{
|
||||
@ -231,7 +231,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
if (uc.buttonX2.Text == "取消手术")
|
||||
{
|
||||
if (BLL.FillAnasRecordBillData.GetDataCount(RecorId, PatientId, 1) > 0)
|
||||
if (BOperationRecord.GetDataCount(RecorId, PatientId, 1) > 0)
|
||||
{
|
||||
MessageBox.Show("清除数据在进行取消转入操作!");
|
||||
return;
|
||||
@ -241,8 +241,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
try
|
||||
{
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
OperationFront.BLL.OperationApply.UpdateApplyState(applyId, 4);
|
||||
BLL.OperationRecord.DeleteOperationRecordData(RecorId, PatientId, 1);
|
||||
BOperationApply.UpdateApplyState(applyId, 4);
|
||||
BOperationRecord.DeleteOperationRecordData(RecorId, PatientId, 1);
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
|
||||
if (isMainOpen == false)
|
||||
@ -267,9 +267,9 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
try
|
||||
{
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
OperationFront.BLL.OperationApply.UpdateApplyState(applyId, 6);
|
||||
BLL.OperationRecord.UpdateState(PatientId, 1, 1);
|
||||
BLL.OperationRecord.DeleteEvent(PatientId, 8);
|
||||
BOperationApply.UpdateApplyState(applyId, 6);
|
||||
BOperationRecord.UpdateState(PatientId, 1, 1);
|
||||
BOperationRecord.DeleteEvent(PatientId, 8);
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
|
||||
AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecordBillNew frmAnasRecord = new frmAnasRecordBillNew();
|
||||
@ -326,7 +326,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
opeapply.State = 4;
|
||||
opeapply.OperationRoomId = int.Parse(seleteRoom.RoomId);
|
||||
opeapply.PlanOperationTime = dtpSelectPatientTime.Value;
|
||||
opeapply.PlanOrder = AIMS.OperationFront.BLL.OperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1;
|
||||
opeapply.PlanOrder = BOperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1;
|
||||
BOperationApply.Update(opeapply);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using DrawGraph;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using DrawGraph;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@ -21,12 +23,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmDeletePhysio_Load(object sender, EventArgs e)
|
||||
{
|
||||
List<DataDictionary.Model.OperationRoom> rooms = DataDictionary.BLL.OperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
|
||||
panel1.Controls.Clear();
|
||||
int rows = 0;
|
||||
//循环加载CheckBox控件
|
||||
foreach (DataDictionary.Model.OperationRoom ade in rooms )
|
||||
foreach (OperationRoom ade in rooms )
|
||||
{
|
||||
if (NowRoomId!=null && ade.Id.ToString() == NowRoomId) continue;
|
||||
RadioButton cb = new RadioButton ();
|
||||
@ -47,7 +49,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
//判断CheckBox被选中时
|
||||
if (((RadioButton)sender).Checked)
|
||||
{
|
||||
RoomId = (((RadioButton)sender).Tag as DataDictionary.Model.OperationRoom).Id.ToString();
|
||||
RoomId = (((RadioButton)sender).Tag as OperationRoom).Id.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecoverBill.BLL
|
||||
{
|
||||
public class SelectPatient
|
||||
{
|
||||
public static DataTable GetSelectPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
return new DAL.SelectPatientDB().GetSelectPatientDataTable(BeginDate);
|
||||
}
|
||||
|
||||
public static DataTable GetRecoverLockingPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
return new DAL.SelectPatientDB().GetRecoverLockingPatientDataTable(BeginDate);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,27 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationDoing.AnasRecoverBill.DAL
|
||||
{
|
||||
public class SelectPatientDB
|
||||
{
|
||||
public DataTable GetSelectPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, " +
|
||||
"or2.OperationInfoName AS ApplyOperationInfoName,or2.OperationDoctor,or2.AnesthesiaDoctor,of1.OperationRoomId " +
|
||||
"FROM V_OperationFront of1 "+
|
||||
"LEFT JOIN V_OperationDoing or2 ON or2.PatientId =of1.PatientId " +
|
||||
"WHERE of1.State ='手术结束' and or2.InRoomTime>='" + BeginDate + "' AND or2.InRoomTime<'" + BeginDate.AddDays(1) + "'";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public DataTable GetRecoverLockingPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,(select OutRoomTime from OperationRecord where OperationRecord.RecoverId=1 and OperationRecord.PatientId=of2.PatientId) OutRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '麻醉恢复中') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=2 ";
|
||||
strSql += " order by [StateId] asc";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecoverBill.Model
|
||||
{
|
||||
public class TitleTime
|
||||
{
|
||||
private DateTime? _inroomtime;
|
||||
private DateTime? _outroomtime;
|
||||
|
||||
public DateTime? InRoomTime
|
||||
{
|
||||
set { _inroomtime = value; }
|
||||
get { return _inroomtime; }
|
||||
}
|
||||
|
||||
public DateTime? OutRoomTime
|
||||
{
|
||||
set { _outroomtime = value; }
|
||||
get { return _outroomtime; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1748
AIMS/OperationDoing/AnasRecoverBill/frmAnasRecoverBillNew.cs
Normal file
1748
AIMS/OperationDoing/AnasRecoverBill/frmAnasRecoverBillNew.cs
Normal file
File diff suppressed because it is too large
Load Diff
@ -117,315 +117,10 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="btnNextPage.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray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Z00e8Tlvqz6RoQdDuiXt19VscmOq
|
||||
PpGhB4M6JNwnAfukaY8Y1Scy9GCIkLQ7/hWD9/CMHZ9CYuEDZ9cRB+M5jQQDz39O4RSS0Fzm9ckSyBZR
|
||||
fSJDz5zE6jH2w4oSENUnMvR8SyyMIVmHRAqI6hMZeqZvMfu3giM9icSqh7wZ7UOC+/9IYvYJ12wad2hP
|
||||
eJEAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="plPrintBrowse.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
|
||||
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
|
||||
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
|
||||
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
|
||||
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
|
||||
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
|
||||
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
|
||||
S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
|
||||
vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6t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BNVB7RqgAAAABJ
|
||||
RU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="plPrint.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
|
||||
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
|
||||
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
|
||||
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
|
||||
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
|
||||
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
|
||||
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
|
||||
S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
|
||||
vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5iRcIUm2MjTMzM424
|
||||
HJaRuKC/6386/A198T0j8Xa/l4fuyollCpMEdHHdWClJKUI+PT2VyeLQDf88xP848K/zWBrIieXwOTxR
|
||||
RKhoyri8OFG7eWyugJvCo3N5/6mJ/zDsT1qca5Eo9Z8ANcoISN2gAuTnPoCiEAESeVDc9d/75oM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I+YX4NljbcI/XPtl3EPmEf/XyJvgEUyPgZn4DTHEEgO8z+tsUGcEZCVNQkXMhO5
|
||||
s4Lz4IUiMtgHKdipQQesA/bZBbPeIjIFsnXe4E5twF5YsQkwItwyk1yDJ4ALqpb1+JpjOhSRY1gLNOdW
|
||||
DbZ7fYndgmZFHGRFNre69J8BL2JdpngJFmBvgBGZdLo98RsBIquwV/TNlwD6PHZjwBt+5AHrxnhUB7Ds
|
||||
l/0SHWyaS2BEiD0pMR/sPnwwMyJzI+jHquWa0NirqsJVzwOwYpLwY+FfUIVg0Uqym1Tx2zRRS+wDvy1z
|
||||
+URBRLinf6V0YYWARgp8yPVKgx+ORHmUtZDxwAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnUpPage.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
|
||||
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
|
||||
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
|
||||
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
|
||||
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
|
||||
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
|
||||
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4Lzj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ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK
|
||||
j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDAAACwwBP0AiyAAAAVxJREFUSEu1lktKxEAQ
|
||||
hnslHmAEQXcjiCvvIG48gmeQdPqRTOahHsc7eICBQVH0CG58gC7cCS7iX5kk9rQliN29+Bho0v9HdVdN
|
||||
Iuq6ZsmKmcdUZJaYuBxLZZ65/S7sIpGVZ6tAJM1ISGWBFjLXmzJX9/jF43xGB7tILMNPf5GYbYRfkwB8
|
||||
cPtd2EWiD/cl2m5ActsKYkh+VLKOSm4cQQKJLi89QQxJy+icOmmGC/cFgZKmRcc4okpkpjrCPbyjm+JK
|
||||
+k7K1T54YsI7AiXa7uCIXplglxBJtYdKXphQnwCJLu+YQI4ASa7+UgURVMmCCeT4vwRtu4s7eWRCfYIk
|
||||
qKYYpu6udk50ujlZvqD6iT/AxL9Fn/iVP0fCTk5wdJ8JJA4FMNVFYgne83a8hmaYp5bQ/AzQEFfpJKaR
|
||||
UNdt4X46UWxJMzv0IRHpa4VCWdDa3TdYMT2E8IHb/00tvgDOKBzXYb2Q5gAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="plRefresh.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
|
||||
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
|
||||
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
|
||||
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee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hCiY77cjQMhYS3Kp60xZjWPqx3oSljw+WY00+wQCxJVhDh3j/wiyWvPELxs6s0O9mKlQAAAAA
|
||||
SUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>62</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAABMLAAATCwAAAAAAAAAA
|
||||
@ -9,12 +9,13 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
public partial class frmRecoverPatient : Form
|
||||
{
|
||||
List<DataDictionary.Model.OperationRoom> rooms;
|
||||
List<OperationRoom> rooms;
|
||||
public frmRecoverPatient()
|
||||
{
|
||||
InitializeComponent();
|
||||
@ -30,7 +31,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
dgv.DataError += new DataGridViewDataErrorEventHandler(dgv_DataError);
|
||||
|
||||
rooms = DataDictionary.BLL.OperationRoom.GetOperationRooms("IsValid=1 and Site='恢复室'");
|
||||
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='恢复室'");
|
||||
|
||||
FillDgv();
|
||||
dgv.ClearSelection();
|
||||
@ -60,7 +61,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
private void FillDgv()
|
||||
{
|
||||
dgv.Rows.Clear();
|
||||
DataTable dt = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetRecoverPatientDataTable
|
||||
DataTable dt = SelectPatient.GetRecoverPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()));
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
@ -77,11 +78,11 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
|
||||
panel3.Controls.Clear();
|
||||
DataTable dt2 = OperationDoing.AnasRecoverBill.BLL.SelectPatient.GetRecoverLockingPatientDataTable
|
||||
DataTable dt2 = SelectPatient.GetRecoverLockingPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()));
|
||||
|
||||
int i = 0, j = 0;
|
||||
foreach (DataDictionary.Model.OperationRoom room in rooms)
|
||||
foreach (OperationRoom room in rooms)
|
||||
{
|
||||
ucPatientRecoverCard uc = new ucPatientRecoverCard(room);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
@ -126,7 +127,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
if (uc.buttonX1.Text == "转入恢复")
|
||||
{
|
||||
AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecoverBillNew frmAnasRecord = new frmAnasRecoverBillNew();
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = SelPatientId;
|
||||
frmAnasRecord.ApplyId = SelApplyId;
|
||||
frmAnasRecord.RecoverId = RecoverId;
|
||||
@ -135,10 +136,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
try
|
||||
{
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
OperationFront.BLL.OperationApply.UpdateApplyState(SelApplyId, 7);// 7 麻醉恢复中
|
||||
BOperationApply.UpdateApplyState(SelApplyId, 7);// 7 麻醉恢复中
|
||||
|
||||
//增加入室事件
|
||||
DataDictionary.Model.Events EventsObj = DataDictionary.BLL.Events.GetModelByName("入室");
|
||||
Events EventsObj = BEvents.GetModelByName("入室");
|
||||
if (EventsObj.Name != null)
|
||||
{
|
||||
FactEvents FactEventsObj = new FactEvents();
|
||||
@ -164,7 +165,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
else
|
||||
{
|
||||
AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecoverBillNew frmAnasRecord = new frmAnasRecoverBillNew();
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = PatientId;
|
||||
frmAnasRecord.ApplyId = applyId;
|
||||
frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(int.Parse(uc.Tag.ToString()));
|
||||
@ -1,13 +1,7 @@
|
||||
using AIMS.PublicUI.BLL;
|
||||
using DevComponents.DotNetBar;
|
||||
using AIMSModel;
|
||||
using DrawGraph;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Printing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill
|
||||
|
||||
@ -839,7 +839,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
SelectOperationDoctor = frmOperationDoctor.SelectPersonData;
|
||||
foreach (int RowId in frmOperationDoctor.SelectPersonData)
|
||||
{
|
||||
uTextCA1.Text += AIMS.PublicUI.BLL.Person.GetModel(RowId).Name + " ,";
|
||||
uTextCA1.Text += BPerson.GetModel(RowId).Name + " ,";
|
||||
}
|
||||
int idxStart = uTextCA1.Text.LastIndexOf(" ,");
|
||||
uTextCA1.Text = uTextCA1.Text.Substring(0, idxStart);
|
||||
@ -865,7 +865,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
SelectOperationDoctor = frmOperationDoctor.SelectPersonData;
|
||||
foreach (int RowId in frmOperationDoctor.SelectPersonData)
|
||||
{
|
||||
uTextCA2.Text += AIMS.PublicUI.BLL.Person.GetModel(RowId).Name + " ,";
|
||||
uTextCA2.Text += BPerson.GetModel(RowId).Name + " ,";
|
||||
}
|
||||
int idxStart = uTextCA2.Text.LastIndexOf(" ,");
|
||||
uTextCA2.Text = uTextCA2.Text.Substring(0, idxStart);
|
||||
@ -892,7 +892,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
SelectOperationDoctor = frmOperationDoctor.SelectPersonData;
|
||||
foreach (int RowId in frmOperationDoctor.SelectPersonData)
|
||||
{
|
||||
uTextCA4.Text += AIMS.PublicUI.BLL.Person.GetModel(RowId).Name + " ,";
|
||||
uTextCA4.Text += BPerson.GetModel(RowId).Name + " ,";
|
||||
}
|
||||
int idxStart = uTextCA4.Text.LastIndexOf(" ,");
|
||||
uTextCA4.Text = uTextCA4.Text.Substring(0, idxStart);
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using AIMS.OremrUserControl;
|
||||
using AIMSBLL;
|
||||
using AIMSModel;
|
||||
using DrawGraph;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -22,8 +24,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmSelectPatientGoodsBill_Load(object sender, EventArgs e)
|
||||
{
|
||||
List<DataDictionary.Model.OperationRoom> rooms = DataDictionary.BLL.OperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new DataDictionary.Model.OperationRoom() { Id = -1, Name = "" });
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
|
||||
cboRoom.DataSource = rooms;
|
||||
cboRoom.DisplayMember = "Name";
|
||||
cboRoom.ValueMember = "Id";
|
||||
@ -60,7 +62,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
panel2.Visible = false;
|
||||
int i = 0, j = 0;
|
||||
|
||||
DataTable dt2 = OperationDoing.AnasRecordBill.BLL.SelectPatient.GetRelieveLockingPatientDataTable
|
||||
DataTable dt2 = SelectPatient.GetRelieveLockingPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
|
||||
@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class ApplyAnaesthesiaMethod
|
||||
{
|
||||
public static void Add(Model.ApplyAnaesthesiaMethod ApplyAnaesthesiaMethodObj)
|
||||
{
|
||||
new DAL.ApplyAnaesthesiaMethodDB().Add(ApplyAnaesthesiaMethodObj);
|
||||
}
|
||||
|
||||
public static void Delete(int OperationApplyId)
|
||||
{
|
||||
new DAL.ApplyAnaesthesiaMethodDB().Delete(OperationApplyId);
|
||||
}
|
||||
public static List<int> GetApplyAnaesthesiaMethodList(int OperationApplyId)
|
||||
{
|
||||
return new DAL.ApplyAnaesthesiaMethodDB().GetApplyAnaesthesiaMethodList(OperationApplyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class ApplyDiagnoseInfo
|
||||
{
|
||||
public static void Add(Model.ApplyDiagnoseInfo ApplyDiagnoseInfoObj)
|
||||
{
|
||||
new DAL.ApplyDiagnoseInfoDB().Add(ApplyDiagnoseInfoObj);
|
||||
}
|
||||
|
||||
public static void Delete(int OperationApplyId)
|
||||
{
|
||||
new DAL.ApplyDiagnoseInfoDB().Delete(OperationApplyId);
|
||||
}
|
||||
public static List<int> GetApplyDiagnoseIdList(int OperationApplyId)
|
||||
{
|
||||
return new DAL.ApplyDiagnoseInfoDB().GetApplyDiagnoseIdList(OperationApplyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class ApplyOperationCutType
|
||||
{
|
||||
public static void Add(Model.ApplyOperationCutType ApplyOperationCutTypeObj)
|
||||
{
|
||||
new DAL.ApplyOperationCutTypeDB().Add(ApplyOperationCutTypeObj);
|
||||
}
|
||||
|
||||
public static void Delete(int OperationApplyId)
|
||||
{
|
||||
new DAL.ApplyOperationCutTypeDB().Delete(OperationApplyId);
|
||||
}
|
||||
public static List<int> GetApplyOperationCutTypeIdList(int OperationApplyId)
|
||||
{
|
||||
return new DAL.ApplyOperationCutTypeDB().GetApplyOperationCutTypeIdList(OperationApplyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class ApplyOperationInfo
|
||||
{
|
||||
public static void Add(Model.ApplyOperationInfo ApplyOperationInfoObj)
|
||||
{
|
||||
new DAL.ApplyOperationInfoDB().Add(ApplyOperationInfoObj);
|
||||
}
|
||||
|
||||
public static void Delete(int OperationApplyId)
|
||||
{
|
||||
new DAL.ApplyOperationInfoDB().Delete(OperationApplyId);
|
||||
}
|
||||
public static List<Model.ApplyOperationInfo> GetApplyOperationIdList(int OperationApplyId)
|
||||
{
|
||||
return new DAL.ApplyOperationInfoDB().GetApplyOperationIdList(OperationApplyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class ApplyOperationPosition
|
||||
{
|
||||
public static void Add(Model.ApplyOperationPosition ApplyOperationPositionObj)
|
||||
{
|
||||
new DAL.ApplyOperationPositionDB().Add(ApplyOperationPositionObj);
|
||||
}
|
||||
|
||||
public static void Delete(int OperationApplyId)
|
||||
{
|
||||
new DAL.ApplyOperationPositionDB().Delete(OperationApplyId);
|
||||
}
|
||||
public static List<int> GetApplyOperationPositionIdList(int OperationApplyId)
|
||||
{
|
||||
return new DAL.ApplyOperationPositionDB().GetApplyOperationPositionIdList(OperationApplyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,28 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class ApplyPersonDuty
|
||||
{
|
||||
public static int Add(Model.ApplyPersonDuty ApplyPersonDutyObj)
|
||||
{
|
||||
return new DAL.ApplyPersonDutyDB().Add(ApplyPersonDutyObj);
|
||||
}
|
||||
|
||||
public static void Delete(int OperationApplyId, int PersonDutyId)
|
||||
{
|
||||
new DAL.ApplyPersonDutyDB().Delete(OperationApplyId, PersonDutyId);
|
||||
}
|
||||
public static List<int> GetPersonIdList(int OperationApplyId, int PersonDutyId)
|
||||
{
|
||||
return new DAL.ApplyPersonDutyDB().GetPersonIdList(OperationApplyId, PersonDutyId);
|
||||
}
|
||||
public static DataTable GetPersonDataTable(int OperationApplyId)
|
||||
{
|
||||
return new DAL.ApplyPersonDutyDB().GetPersonDataTable(OperationApplyId);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,125 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using HelperDB;
|
||||
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class OperationApply
|
||||
{
|
||||
public static void Add(Model.OperationApply OperationApplyObj)
|
||||
{
|
||||
new DAL.OperationApplyDB().Add(OperationApplyObj);
|
||||
}
|
||||
|
||||
public static void Update(Model.OperationApply OperationApplyObj)
|
||||
{
|
||||
new DAL.OperationApplyDB().Update(OperationApplyObj);
|
||||
}
|
||||
public static void UpdatePlanOrder(int ApplyId, int PlanOrder)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdatePlanOrder(ApplyId, PlanOrder);
|
||||
}
|
||||
public static void UpdateOperationRoom(int ApplyId, int OperationRoomId, int MaxPlanOrder)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateOperationRoom(ApplyId, OperationRoomId, MaxPlanOrder);
|
||||
}
|
||||
public static void UpdateASA(int ApplyId, string ASA, string HeartFunctionLevel, int IsFasting)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateASA(ApplyId, ASA, HeartFunctionLevel, IsFasting);
|
||||
}
|
||||
public static void UpdateASA(int ApplyId, string ASA, string HeartFunctionLevel)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateASA(ApplyId, ASA, HeartFunctionLevel);
|
||||
}
|
||||
public static int GetMaxPlanOrder(DateTime PlanOperationTime, int OperationRoomId)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetMaxPlanOrder(PlanOperationTime, OperationRoomId);
|
||||
}
|
||||
|
||||
public static Model.OperationApply GetModel(int Id)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static int GetOperationApplyMaxId()
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetOperationApplyMaxId();
|
||||
}
|
||||
public static DataTable GetOperationFrontDataTableByPatientId(int PatientId)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetOperationFrontDataTableByPatientId(PatientId);
|
||||
}
|
||||
public static DataTable GetOperationFrontDataTable(string BegInData, string EndData)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetOperationFrontDataTable(BegInData, EndData);
|
||||
}
|
||||
public static DataTable GetOperationFrontDataTableByPlanOperationTime(string BegInData, string EndData)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetOperationFrontDataTableByPlanOperationTime(BegInData, EndData);
|
||||
}
|
||||
public static void UpdateVerifyTime(int ApplyId, string VerifyTime, string VerifyOperatorNo)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateVerifyTime(ApplyId, VerifyTime, VerifyOperatorNo);
|
||||
}
|
||||
public static void UpdateApplyState(int ApplyId, int State)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateApplyState(ApplyId, State);
|
||||
}
|
||||
public static void UpdateApplyRoom(int ApplyId, int room)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateApplyRoom(ApplyId, room);
|
||||
}
|
||||
public static void UpdatePlanOperationTime(int ApplyId, string PlanOperationTime, int OperationRoomId, int State)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdatePlanOperationTime(ApplyId, PlanOperationTime, OperationRoomId, State);
|
||||
}
|
||||
public static void UpdateStopOperation(int ApplyId, string Content)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateStopOperation(ApplyId, Content);
|
||||
}
|
||||
public static DataTable GetOperationFrontByApplyId(List<int> ApplyIdList)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetOperationFrontByApplyId(ApplyIdList);
|
||||
}
|
||||
/// <summary>
|
||||
/// 排程手术小卡片数据集
|
||||
/// </summary>
|
||||
/// <param name="PlanOperationTime"></param>
|
||||
/// <param name="OperationRoomId"></param>
|
||||
/// <returns></returns>
|
||||
public static DataTable GetOperationRoomDataTable(DateTime PlanOperationTime, int OperationRoomId)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetOperationRoomDataTable(PlanOperationTime, OperationRoomId);
|
||||
}
|
||||
public static DataTable GetPlanOperationDataTable(DateTime PlanOperationTime, int OperationRoomId)
|
||||
{
|
||||
return new DAL.OperationApplyDB().GetPlanOperationDataTable(PlanOperationTime, OperationRoomId);
|
||||
}
|
||||
|
||||
public static void UpdateOperationRoom(int ApplyId, int OperationRoomId)
|
||||
{
|
||||
new DAL.OperationApplyDB().UpdateOperationRoom(ApplyId, OperationRoomId);
|
||||
}
|
||||
|
||||
public static DataTable SelectPlanedOpeByRoom(string whereSql)
|
||||
{
|
||||
try
|
||||
{
|
||||
string sql = @" SELECT * FROM V_OperationFront where " + whereSql + " ";
|
||||
return DBHelper.GetDataTable(sql);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.BLL
|
||||
{
|
||||
public class Oris_Patient
|
||||
{
|
||||
public static void Add(Model.Oris_Patient Oris_PatientObj)
|
||||
{
|
||||
new DAL.Oris_PatientDB().Add(Oris_PatientObj);
|
||||
}
|
||||
|
||||
public static void Update(Model.Oris_Patient Oris_PatientObj)
|
||||
{
|
||||
new DAL.Oris_PatientDB().Update(Oris_PatientObj);
|
||||
}
|
||||
|
||||
public static Model.Oris_Patient GetModel(int Id)
|
||||
{
|
||||
return new DAL.Oris_PatientDB().GetModel(Id);
|
||||
}
|
||||
|
||||
public static DataTable GetDataTable(string strWhere)
|
||||
{
|
||||
return new DAL.Oris_PatientDB().GetDataTable(strWhere);
|
||||
}
|
||||
public static int GetOris_PatientMaxId()
|
||||
{
|
||||
return new DAL.Oris_PatientDB().GetOris_PatientMaxId();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,48 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.DAL
|
||||
{
|
||||
public class ApplyAnaesthesiaMethodDB
|
||||
{
|
||||
public void Add(Model.ApplyAnaesthesiaMethod ApplyAnaesthesiaMethodObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [ApplyAnaesthesiaMethod](");
|
||||
strSql.Append("OperationApplyId,AnaesthesiaMethodId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+ApplyAnaesthesiaMethodObj.OperationApplyId+",");
|
||||
strSql.Append(""+ApplyAnaesthesiaMethodObj.AnaesthesiaMethodId+",");
|
||||
strSql.Append("'"+ApplyAnaesthesiaMethodObj.OperatorNo+"',");
|
||||
strSql.Append("'"+ApplyAnaesthesiaMethodObj.OperatorName+"',");
|
||||
strSql.Append("'"+ApplyAnaesthesiaMethodObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int OperationApplyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete ApplyAnaesthesiaMethod ");
|
||||
strSql.Append(" where OperationApplyId=" + OperationApplyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public List<int> GetApplyAnaesthesiaMethodList(int OperationApplyId)
|
||||
{
|
||||
List<int> ApplyAnaesthesiaMethodIdList = new List<int>();
|
||||
string strSql = "SELECT AnaesthesiaMethodId FROM ApplyAnaesthesiaMethod WHERE OperationApplyId='" + OperationApplyId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
ApplyAnaesthesiaMethodIdList.Add(int.Parse(dt.Rows[i]["AnaesthesiaMethodId"].ToString()));
|
||||
|
||||
}
|
||||
return ApplyAnaesthesiaMethodIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,47 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.DAL
|
||||
{
|
||||
public class ApplyDiagnoseInfoDB
|
||||
{
|
||||
public void Add(Model.ApplyDiagnoseInfo ApplyDiagnoseInfoObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [ApplyDiagnoseInfo](");
|
||||
strSql.Append("OperationApplyId,DiagnoseId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("" + ApplyDiagnoseInfoObj.OperationApplyId + ",");
|
||||
strSql.Append("" + ApplyDiagnoseInfoObj.DiagnoseId + ",");
|
||||
strSql.Append("'" + ApplyDiagnoseInfoObj.OperatorNo + "',");
|
||||
strSql.Append("'" + ApplyDiagnoseInfoObj.OperatorName + "',");
|
||||
strSql.Append("'" + ApplyDiagnoseInfoObj.OperateDate + "'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int OperationApplyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete ApplyDiagnoseInfo ");
|
||||
strSql.Append(" where OperationApplyId=" + OperationApplyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public List<int> GetApplyDiagnoseIdList(int OperationApplyId)
|
||||
{
|
||||
List<int> DiagnoseIdList = new List<int>();
|
||||
string strSql = "SELECT DiagnoseId FROM ApplyDiagnoseInfo WHERE OperationApplyId='" + OperationApplyId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
DiagnoseIdList.Add(int.Parse(dt.Rows[i]["DiagnoseId"].ToString()));
|
||||
|
||||
}
|
||||
return DiagnoseIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,49 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.DAL
|
||||
{
|
||||
public class ApplyOperationCutTypeDB
|
||||
{
|
||||
public void Add(Model.ApplyOperationCutType ApplyOperationCutTypeObj )
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [ApplyOperationCutType](");
|
||||
strSql.Append("OperationApplyId,OperationCutTypeId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+ApplyOperationCutTypeObj.OperationApplyId+",");
|
||||
strSql.Append(""+ApplyOperationCutTypeObj.OperationCutTypeId+",");
|
||||
strSql.Append("'"+ApplyOperationCutTypeObj.OperatorNo+"',");
|
||||
strSql.Append("'"+ApplyOperationCutTypeObj.OperatorName+"',");
|
||||
strSql.Append("'"+ApplyOperationCutTypeObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
|
||||
}
|
||||
|
||||
public void Delete(int OperationApplyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete ApplyOperationCutType ");
|
||||
strSql.Append(" where OperationApplyId=" + OperationApplyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<int> GetApplyOperationCutTypeIdList(int OperationApplyId)
|
||||
{
|
||||
List<int> ApplyOperationCutTypeIdList = new List<int>();
|
||||
string strSql = "SELECT OperationCutTypeId FROM ApplyOperationCutType WHERE OperationApplyId='" + OperationApplyId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
ApplyOperationCutTypeIdList.Add(int.Parse(dt.Rows[i]["OperationCutTypeId"].ToString()));
|
||||
}
|
||||
return ApplyOperationCutTypeIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,56 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.DAL
|
||||
{
|
||||
public class ApplyOperationInfoDB
|
||||
{
|
||||
public void Add(Model.ApplyOperationInfo ApplyOperationInfoObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [ApplyOperationInfo](");
|
||||
strSql.Append("OperationApplyId,OperationId,OperatorNo,OperatorName,OperateDate,OperationName,LeftRemark,RightRemark");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+ApplyOperationInfoObj.OperationApplyId+",");
|
||||
strSql.Append(""+ApplyOperationInfoObj.OperationId+",");
|
||||
strSql.Append("'"+ApplyOperationInfoObj.OperatorNo+"',");
|
||||
strSql.Append("'"+ApplyOperationInfoObj.OperatorName+"',");
|
||||
strSql.Append("'"+ApplyOperationInfoObj.OperateDate+"',");
|
||||
strSql.Append("'"+ApplyOperationInfoObj.OperationName+"',");
|
||||
strSql.Append("'"+ApplyOperationInfoObj.LeftRemark+"',");
|
||||
strSql.Append("'"+ApplyOperationInfoObj.RightRemark+"'");
|
||||
strSql.Append(")");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int OperationApplyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete ApplyOperationInfo ");
|
||||
strSql.Append(" where OperationApplyId=" + OperationApplyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public List<Model.ApplyOperationInfo> GetApplyOperationIdList(int OperationApplyId)
|
||||
{
|
||||
List<Model.ApplyOperationInfo> OperationIdList = new List<Model.ApplyOperationInfo>();
|
||||
string strSql = "SELECT * FROM ApplyOperationInfo WHERE OperationApplyId='" + OperationApplyId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
Model.ApplyOperationInfo info = new Model.ApplyOperationInfo();
|
||||
info.OperationId = int.Parse(dt.Rows[i]["OperationId"].ToString());
|
||||
info.OperationName = dt.Rows[i]["OperationName"].ToString();
|
||||
info.LeftRemark = dt.Rows[i]["LeftRemark"].ToString();
|
||||
info.RightRemark = dt.Rows[i]["RightRemark"].ToString();
|
||||
OperationIdList.Add(info);
|
||||
}
|
||||
return OperationIdList;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,48 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.DAL
|
||||
{
|
||||
public class ApplyOperationPositionDB
|
||||
{
|
||||
public void Add(Model.ApplyOperationPosition ApplyOperationPositionObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [ApplyOperationPosition](");
|
||||
strSql.Append("OperationApplyId,OperationPositionId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+ApplyOperationPositionObj.OperationApplyId+",");
|
||||
strSql.Append(""+ApplyOperationPositionObj.OperationPositionId+",");
|
||||
strSql.Append("'"+ApplyOperationPositionObj.OperatorNo+"',");
|
||||
strSql.Append("'"+ApplyOperationPositionObj.OperatorName+"',");
|
||||
strSql.Append("'"+ApplyOperationPositionObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int OperationApplyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete ApplyOperationPosition ");
|
||||
strSql.Append(" where OperationApplyId=" + OperationApplyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public List<int> GetApplyOperationPositionIdList(int OperationApplyId)
|
||||
{
|
||||
List<int> ApplyOperationPositionIdList = new List<int>();
|
||||
string strSql = "SELECT OperationPositionId FROM ApplyOperationPosition WHERE OperationApplyId='" + OperationApplyId + "'";
|
||||
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
ApplyOperationPositionIdList.Add(int.Parse(dt.Rows[i]["OperationPositionId"].ToString()));
|
||||
}
|
||||
return ApplyOperationPositionIdList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
namespace AIMS.OperationFront.DAL
|
||||
{
|
||||
public class ApplyPersonDutyDB
|
||||
{
|
||||
public int Add(Model.ApplyPersonDuty ApplyPersonDutyObj)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into [ApplyPersonDuty](");
|
||||
strSql.Append("OperationApplyId,PersonDutyId,PersonId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append(""+ApplyPersonDutyObj.OperationApplyId+",");
|
||||
strSql.Append(""+ApplyPersonDutyObj.PersonDutyId+",");
|
||||
strSql.Append(""+ApplyPersonDutyObj.PersonId+",");
|
||||
strSql.Append("'"+ApplyPersonDutyObj.OperatorNo+"',");
|
||||
strSql.Append("'"+ApplyPersonDutyObj.OperatorName+"',");
|
||||
strSql.Append("'"+ApplyPersonDutyObj.OperateDate+"'");
|
||||
strSql.Append(")");
|
||||
return HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
|
||||
public void Delete(int OperationApplyId, int PersonDutyId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete ApplyPersonDuty ");
|
||||
strSql.Append(" where PersonDutyId ="+PersonDutyId+" and OperationApplyId=" + OperationApplyId + "");
|
||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
public List<int> GetPersonIdList(int OperationApplyId,int PersonDutyId)
|
||||
{
|
||||
List<int> PersonIdList = new List<int>();
|
||||
string strSql = "SELECT PersonId FROM ApplyPersonDuty WHERE OperationApplyId=" + OperationApplyId + " AND PersonDutyId =" + PersonDutyId + "";
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
{
|
||||
PersonIdList.Add(int.Parse(dt.Rows[i]["PersonId"].ToString()));
|
||||
}
|
||||
|
||||
return PersonIdList;
|
||||
}
|
||||
public DataTable GetPersonDataTable(int OperationApplyId)
|
||||
{
|
||||
List<int> PersonIdList = new List<int>();
|
||||
string strSql = "SELECT PersonDutyId,PersonId FROM ApplyPersonDuty WHERE OperationApplyId=" + OperationApplyId + "";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user