Fixing issues with incorrectly referenced symbols. May still need to update the references to use constants from the R5 models.

This commit is contained in:
Sean McIlvenna
2020-02-10 15:17:23 -08:00
parent c9594bf43d
commit 88445618dd
3 changed files with 10 additions and 7 deletions

View File

@@ -14,12 +14,8 @@ import org.eclipse.jetty.websocket.api.Session;
import org.eclipse.jetty.websocket.client.ClientUpgradeRequest;
import org.eclipse.jetty.websocket.client.WebSocketClient;
import org.hl7.fhir.instance.model.api.IIdType;
import org.hl7.fhir.r5.model.Bundle;
import org.hl7.fhir.r5.model.Observation;
import org.hl7.fhir.r5.model.Patient;
import org.hl7.fhir.r5.model.Subscription;
import org.hl7.fhir.r5.model.Topic;
import org.hl7.fhir.r5.model.codesystems.SubscriptionChannelType;
import org.hl7.fhir.r4.model.codesystems.SubscriptionChannelType;
import org.hl7.fhir.r5.model.*;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -111,7 +107,7 @@ public class ExampleServerR5IT {
* Create a matching resource
*/
Observation obs = new Observation();
obs.setStatus(Observation.ObservationStatus.FINAL);
obs.setStatus(Enumerations.ObservationStatus.FINAL);
ourClient.create().resource(obs).execute();
// Give some time for the subscription to deliver