Merge pull request #1610 from jasmdk/MissingMandatoryStatusOnSnomed

Missing mandatory status on created Snomed CodeSystem
This commit is contained in:
James Agnew 2019-12-11 19:27:47 -05:00 committed by GitHub
commit 10deea4967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.setUrl(SCT_URI);
cs.setName("SNOMED CT"); cs.setName("SNOMED CT");
cs.setContent(CodeSystem.CodeSystemContentMode.NOTPRESENT); cs.setContent(CodeSystem.CodeSystemContentMode.NOTPRESENT);
cs.setStatus(Enumerations.PublicationStatus.ACTIVE);
IIdType target = storeCodeSystem(theRequestDetails, codeSystemVersion, cs, null, null); IIdType target = storeCodeSystem(theRequestDetails, codeSystemVersion, cs, null, null);
return new UploadStatistics(code2concept.size(), target); return new UploadStatistics(code2concept.size(), target);