Пример #1
0
        public void GetTestDataPerson()
        {
            Patient p = NewPatient("Emerald", "Caro");
            ResourceEntry <Patient> entry = client.Create(p, null, false);
            string id = entry.GetBasicId();

            var pat = client.Read <Patient>(id);

            HttpTests.AssertHttpOk(client);

            HttpTests.AssertValidResourceContentTypePresent(client);
            HttpTests.AssertLastModifiedPresent(client);
            HttpTests.AssertContentLocationPresentAndValid(client);
        }