Class ValueSetExpansionFilterContext

java.lang.Object
org.hl7.fhir.common.hapi.validation.support.ValueSetExpansionFilterContext

Class to apply ValueSet filters during in-memory expansion. Will only work on 'code', 'concept' and 'display' property types. Supports: equal | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValueSetExpansionFilterContext(org.hl7.fhir.r5.model.CodeSystem codeSystem, List<org.hl7.fhir.r5.model.ValueSet.ConceptSetFilterComponent> filters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isFiltered(ca.uhn.fhir.util.FhirVersionIndependentConcept concept)
     
    boolean
    passesFilter(org.hl7.fhir.r5.model.ValueSet.ConceptSetFilterComponent filter, ca.uhn.fhir.util.FhirVersionIndependentConcept concept)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ValueSetExpansionFilterContext

      public ValueSetExpansionFilterContext(org.hl7.fhir.r5.model.CodeSystem codeSystem, List<org.hl7.fhir.r5.model.ValueSet.ConceptSetFilterComponent> filters)
  • Method Details

    • isFiltered

      public boolean isFiltered(ca.uhn.fhir.util.FhirVersionIndependentConcept concept)
    • passesFilter

      public boolean passesFilter(org.hl7.fhir.r5.model.ValueSet.ConceptSetFilterComponent filter, ca.uhn.fhir.util.FhirVersionIndependentConcept concept)