public void DeletePatient_Tests() { // Arrange double version = 1.0; string contractNumber = "InHealth001"; string token = "1234"; INGManager ngm = new NGManager { EndpointUtils = new StubPlanElementEndpointUtils(), PlanElementUtils = new PlanElementUtils() }; PostDeletePatientRequest request = new PostDeletePatientRequest { ContractNumber = contractNumber, Token = token, Version = version, Id = "5325db68d6a4850adcbba92e", UserId = "5325c821072ef705080d3488" }; // Act PostDeletePatientResponse response = ngm.DeletePatient(request); //Assert Assert.IsNotNull(response); }
public CareTeamCommand(PostDeletePatientRequest req,IContactEndpointUtil contactEndpointUtil, string contactId) { if (req == null) throw new ArgumentNullException("request"); if (string.IsNullOrEmpty(contactId)) throw new ArgumentNullException("conatctId"); if (contactEndpointUtil == null) throw new ArgumentNullException("contactEndpointUtil"); _request = req; _contactId = contactId; _contactEndpointUtil = contactEndpointUtil; }
public void DeletePatient_Test() { INGManager ngm = new NGManager { EndpointUtils = new StubPlanElementEndpointUtils(), PlanElementUtils = new PlanElementUtils() }; PostDeletePatientRequest request = new PostDeletePatientRequest { ContractNumber = "InHealth001", Id = "5325db70d6a4850adcbba946", UserId = "5325c821072ef705080d3488", Token = ObjectId.GenerateNewId().ToString(), Version = 1.0 }; PostDeletePatientResponse response = ngm.DeletePatient(request); Assert.IsNotNull(response); }
public DereferencePatientInContactCommand(string contactId, PostDeletePatientRequest request, IContactEndpointUtil contactEndpointUtil) { if (contactId == null) { throw new ArgumentNullException("contactId"); } if (request == null) { throw new ArgumentNullException("request"); } if (contactEndpointUtil == null) { throw new ArgumentNullException("contactEndpointUtil"); } _contactId = contactId; _request = request; _contactEndpointUtil = contactEndpointUtil; }
public PatientToDosCommand(PostDeletePatientRequest req, IRestClient restClient) { request = req as PostDeletePatientRequest; client = restClient; }
public PatientObservationsCommand(PostDeletePatientRequest req, IRestClient restClient) { request = req as PostDeletePatientRequest; client = restClient; }
public CareMembersCommand(PostDeletePatientRequest req, IRestClient restClient) { request = req as PostDeletePatientRequest; client = restClient; }
public CohortPatientViewCommand(PostDeletePatientRequest req, IRestClient restClient) { request = req; client = restClient; }
public PatientUsersCommand(PostDeletePatientRequest req, IRestClient restClient) { request = req; client = restClient; }
public ContactCommand(PostDeletePatientRequest req, IRestClient restClient) { request = req as PostDeletePatientRequest; client = restClient; }
public PostDeletePatientResponse DeletePatient(PostDeletePatientRequest request) { throw new NotImplementedException(); }