File tree Expand file tree Collapse file tree
cqf-fhir-utility/src/main/java/org/opencds/cqf/fhir/utility/matcher Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import ca .uhn .fhir .rest .param .DateRangeParam ;
99import ca .uhn .fhir .rest .param .TokenParam ;
1010import java .util .ArrayList ;
11- import java .util .HashMap ;
1211import java .util .List ;
1312import java .util .Map ;
13+ import java .util .concurrent .ConcurrentHashMap ;
1414import java .util .stream .Collectors ;
1515import org .apache .commons .lang3 .NotImplementedException ;
1616import org .hl7 .fhir .dstu3 .model .CodeType ;
2424
2525public class ResourceMatcherDSTU3 implements ResourceMatcher {
2626
27- private Map <SPPathKey , IParsedExpression > pathCache = new HashMap <>();
28- private Map <String , RuntimeSearchParam > searchParams = new HashMap <>();
27+ private Map <SPPathKey , IParsedExpression > pathCache = new ConcurrentHashMap <>();
28+ private Map <String , RuntimeSearchParam > searchParams = new ConcurrentHashMap <>();
2929
3030 @ Override
3131 public IFhirPath getEngine () {
Original file line number Diff line number Diff line change 88import ca .uhn .fhir .rest .param .DateRangeParam ;
99import ca .uhn .fhir .rest .param .TokenParam ;
1010import java .util .ArrayList ;
11- import java .util .HashMap ;
1211import java .util .List ;
1312import java .util .Map ;
13+ import java .util .concurrent .ConcurrentHashMap ;
1414import java .util .stream .Collectors ;
1515import org .apache .commons .lang3 .NotImplementedException ;
1616import org .hl7 .fhir .instance .model .api .IBase ;
2828
2929public class ResourceMatcherR4 implements ResourceMatcher {
3030
31- private Map <SPPathKey , IParsedExpression > pathCache = new HashMap <>();
32- private Map <String , RuntimeSearchParam > searchParams = new HashMap <>();
31+ private Map <SPPathKey , IParsedExpression > pathCache = new ConcurrentHashMap <>();
32+ private Map <String , RuntimeSearchParam > searchParams = new ConcurrentHashMap <>();
3333
3434 @ Override
3535 public IFhirPath getEngine () {
Original file line number Diff line number Diff line change 88import ca .uhn .fhir .rest .param .DateRangeParam ;
99import ca .uhn .fhir .rest .param .TokenParam ;
1010import java .util .ArrayList ;
11- import java .util .HashMap ;
1211import java .util .List ;
1312import java .util .Map ;
13+ import java .util .concurrent .ConcurrentHashMap ;
1414import java .util .stream .Collectors ;
1515import org .apache .commons .lang3 .NotImplementedException ;
1616import org .hl7 .fhir .instance .model .api .IBase ;
2424
2525public class ResourceMatcherR5 implements ResourceMatcher {
2626
27- private Map <SPPathKey , IParsedExpression > pathCache = new HashMap <>();
28- private Map <String , RuntimeSearchParam > searchParams = new HashMap <>();
27+ private Map <SPPathKey , IParsedExpression > pathCache = new ConcurrentHashMap <>();
28+ private Map <String , RuntimeSearchParam > searchParams = new ConcurrentHashMap <>();
2929
3030 @ Override
3131 public IFhirPath getEngine () {
You can’t perform that action at this time.
0 commit comments