From 29b08e7308a98be03c4a9c82fdf6b462e264b6b7 Mon Sep 17 00:00:00 2001 From: ahn Date: Wed, 27 Nov 2019 12:21:02 +0100 Subject: [PATCH] Missing mandatory status on created Snomed CodeSystem --- .../src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java index 566edfeee6e..3f7f55277dc 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java @@ -550,6 +550,7 @@ public class TermLoaderSvcImpl implements ITermLoaderSvc { cs.setUrl(SCT_URI); cs.setName("SNOMED CT"); cs.setContent(CodeSystem.CodeSystemContentMode.NOTPRESENT); + cs.setStatus(Enumerations.PublicationStatus.ACTIVE); IIdType target = storeCodeSystem(theRequestDetails, codeSystemVersion, cs, null, null); return new UploadStatistics(code2concept.size(), target);