use of com.b2international.snowowl.snomed.datastore.converter.SnomedReferenceSetConverter in project snow-owl by b2ihealthcare.
the class SnomedRefSetMemberCreateRequest method getRefSet.
private SnomedReferenceSet getRefSet(TransactionContext context) {
final SnomedReferenceSet refSet = new SnomedReferenceSetConverter(context, Options.builder().build(), Collections.emptyList()).convert(context.lookup(referenceSetId, SnomedConceptDocument.class));
checkArgument(refSet.getType() != null, "Reference Set Properties are missing from identifier concept document: %s.", refSet.getId());
return refSet;
}
Aggregations