本文整理匯總了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);
}