Search in sources :

Example 1 with SnomedReferenceSetConverter

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;
}
Also used : SnomedConceptDocument(com.b2international.snowowl.snomed.datastore.index.entry.SnomedConceptDocument) SnomedReferenceSetConverter(com.b2international.snowowl.snomed.datastore.converter.SnomedReferenceSetConverter) SnomedReferenceSet(com.b2international.snowowl.snomed.core.domain.refset.SnomedReferenceSet)

Aggregations

SnomedReferenceSet (com.b2international.snowowl.snomed.core.domain.refset.SnomedReferenceSet)1 SnomedReferenceSetConverter (com.b2international.snowowl.snomed.datastore.converter.SnomedReferenceSetConverter)1 SnomedConceptDocument (com.b2international.snowowl.snomed.datastore.index.entry.SnomedConceptDocument)1