This commit is contained in:
jamesagnew 2020-05-21 20:38:11 -04:00
parent 8ff7d5407a
commit 5ba7f1525f
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ public class SubscriptionsDstu2Test extends BaseResourceProviderDstu2Test {
subs.getChannel().setType(SubscriptionChannelTypeEnum.REST_HOOK);
subs.setStatus(SubscriptionStatusEnum.REQUESTED);
subs.setCriteria("Observation?identifier=123");
subs.getChannel().setEndpoint("http://example.com");
IIdType id = ourClient.create().resource(subs).execute().getId().toUnqualifiedVersionless();
subs.setId(id);