public GetMedicalRecordResult GetMedicalRecord(string sessionId, int patientId) { const string MethodName = "GetMedicalRecord"; object[] parameters = new object[] { sessionId, patientId, }; GetMedicalRecordResult result = InvokeMethodWithSingleXmlResult <GetMedicalRecordResult>(MethodName, parameters); if (result.IsError) { throw CreatePartnerApiException(MethodName, result); } return(result); }
private string GetPatientRecord(int patientId) { GetMedicalRecordResult result = _emisInterface.GetMedicalRecord(_sessionId, patientId); return(result.ResultXml); }