本文整理汇总了C#中PixServiseTests.TestEmkServiceClient.AddMedRecord方法的典型用法代码示例。如果您正苦于以下问题:C# TestEmkServiceClient.AddMedRecord方法的具体用法?C# TestEmkServiceClient.AddMedRecord怎么用?C# TestEmkServiceClient.AddMedRecord使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PixServiseTests.TestEmkServiceClient
的用法示例。
在下文中一共展示了TestEmkServiceClient.AddMedRecord方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddAmbMedRecConsultNote_OpenCase
public void AddAmbMedRecConsultNote_OpenCase()
{
using (TestPixServiceClient PixClient = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
PixClient.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient EmkClient = new TestEmkServiceClient())
{
CaseAmb caseAmb = (new SetData()).MinCaseAmbSetForCreate();
EmkClient.CreateCase(Global.GUID, caseAmb);
EmkClient.AddMedRecord(Global.GUID, Data.idlpu, caseAmb.IdPatientMis, MedRecordData.consultNote, caseAmb.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例2: AddAmbMedRecClinicDiagnosis_CloseCase
public void AddAmbMedRecClinicDiagnosis_CloseCase()
{
using (TestPixServiceClient PixClient = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
PixClient.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient EmkClient = new TestEmkServiceClient())
{
CaseAmb caseAmb = (new SetData()).MinCaseAmbSet();
EmkClient.AddCase(Global.GUID, caseAmb);
EmkClient.AddMedRecord(Global.GUID, Data.idlpu, caseAmb.IdPatientMis, MedRecordData.clinicMainDiagnosis, caseAmb.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例3: AddMaxConsultNote
public void AddMaxConsultNote()
{
using (TestPixServiceClient c = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
c.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient client = new TestEmkServiceClient())
{
CaseAmb caseAmb = (new SetData()).MinCaseAmbSet();
MedRecord r = MedRecordData.consultNote;
client.AddCase(Global.GUID, caseAmb);
client.AddMedRecord(Global.GUID, caseAmb.IdLpu, caseAmb.IdPatientMis, r, caseAmb.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例4: AddMaxDispanseryOne
public void AddMaxDispanseryOne()
{
using (TestPixServiceClient c = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
c.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient client = new TestEmkServiceClient())
{
CaseAmb caseDisp = (new SetData()).MinCaseDispSet();
MedRecord r = MedRecordData.dispensaryOne;
client.AddCase(Global.GUID, caseDisp);
client.AddMedRecord(Global.GUID, caseDisp.IdLpu, caseDisp.IdPatientMis, r, caseDisp.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例5: AddMedRecord_ToCase_AmbCaseWithTfomsInfoFull
public void AddMedRecord_ToCase_AmbCaseWithTfomsInfoFull()
{
using (TestPixServiceClient c = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
c.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient client = new TestEmkServiceClient())
{
CaseAmb caseAmb = (new SetData()).MinCaseAmbSet();
client.AddCase(Global.GUID, caseAmb);
MedRecord medRecord = MedRecordData.tfomsInfo;
client.AddMedRecord(Global.GUID, Data.idlpu, caseAmb.IdPatientMis, medRecord, caseAmb.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例6: AddStatMedRecSickList_CloseCase
public void AddStatMedRecSickList_CloseCase()
{
using (TestPixServiceClient PixClient = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
PixClient.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient EmkClient = new TestEmkServiceClient())
{
CaseStat caseStat = (new SetData()).MinCaseStatSet();
EmkClient.AddCase(Global.GUID, caseStat);
EmkClient.AddMedRecord(Global.GUID, Data.idlpu, caseStat.IdPatientMis, MedRecordData.sickList, caseStat.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例7: AddStatMedRecAnatomDiagnosis_CloseCase
public void AddStatMedRecAnatomDiagnosis_CloseCase()
{
using (TestPixServiceClient PixClient = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
PixClient.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient EmkClient = new TestEmkServiceClient())
{
CaseStat caseStat = (new SetData()).MinCaseStatSet();
EmkClient.AddCase(Global.GUID, caseStat);
EmkClient.AddMedRecord(Global.GUID, Data.idlpu, caseStat.IdPatientMis, MedRecordData.anatomopathologicalClinicMainDiagnosis, caseStat.IdCaseMis);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}
示例8: AddMedRecord_ToPatient_StatCaseWithLaboratoryReportMin
public void AddMedRecord_ToPatient_StatCaseWithLaboratoryReportMin()
{
using (TestPixServiceClient c = new TestPixServiceClient())
{
PatientDto patient = (new SetData()).PatientSet();
c.AddPatient(Global.GUID, Data.idlpu, patient);
}
using (TestEmkServiceClient client = new TestEmkServiceClient())
{
CaseStat caseStat = (new SetData()).MinCaseStatSet();
client.AddCase(Global.GUID, caseStat);
MedRecord medRecord = (new SetData()).MinLaboratoryReport();
client.AddMedRecord(Global.GUID, Data.idlpu, caseStat.IdPatientMis, medRecord);
}
if (Global.errors == "")
Assert.Pass();
else
Assert.Fail(Global.errors);
}