Missing mandatory status on created Snomed CodeSystem

This commit is contained in:
ahn 2019-11-27 12:21:02 +01:00
parent df57d24333
commit 29b08e7308
1 changed files with 1 additions and 0 deletions

View File

@ -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);