Class JpaTerminologyProvider

java.lang.Object
ca.uhn.fhir.cql.dstu3.provider.JpaTerminologyProvider
All Implemented Interfaces:
org.opencds.cqf.cql.engine.terminology.TerminologyProvider

@Component public class JpaTerminologyProvider extends Object implements org.opencds.cqf.cql.engine.terminology.TerminologyProvider
Created by Christopher Schuler on 7/17/2017.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JpaTerminologyProvider​(ITermReadSvcDstu3 theTerminologySvc, ca.uhn.fhir.jpa.api.dao.DaoRegistry theDaoRegistry, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Iterable<org.opencds.cqf.cql.engine.runtime.Code>
    expand​(org.opencds.cqf.cql.engine.terminology.ValueSetInfo valueSet)
     
    boolean
    in​(org.opencds.cqf.cql.engine.runtime.Code code, org.opencds.cqf.cql.engine.terminology.ValueSetInfo valueSet)
     
    void
     
    org.opencds.cqf.cql.engine.runtime.Code
    lookup​(org.opencds.cqf.cql.engine.runtime.Code code, org.opencds.cqf.cql.engine.terminology.CodeSystemInfo codeSystem)
     

    Methods inherited from class java.lang.Object

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

    • JpaTerminologyProvider

      @Autowired public JpaTerminologyProvider(ITermReadSvcDstu3 theTerminologySvc, ca.uhn.fhir.jpa.api.dao.DaoRegistry theDaoRegistry, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
  • Method Details

    • init

      @PostConstruct public void init()
    • in

      public boolean in(org.opencds.cqf.cql.engine.runtime.Code code, org.opencds.cqf.cql.engine.terminology.ValueSetInfo valueSet) throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
      Specified by:
      in in interface org.opencds.cqf.cql.engine.terminology.TerminologyProvider
      Throws:
      ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
    • expand

      public Iterable<org.opencds.cqf.cql.engine.runtime.Code> expand(org.opencds.cqf.cql.engine.terminology.ValueSetInfo valueSet) throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
      Specified by:
      expand in interface org.opencds.cqf.cql.engine.terminology.TerminologyProvider
      Throws:
      ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
    • lookup

      public org.opencds.cqf.cql.engine.runtime.Code lookup(org.opencds.cqf.cql.engine.runtime.Code code, org.opencds.cqf.cql.engine.terminology.CodeSystemInfo codeSystem) throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
      Specified by:
      lookup in interface org.opencds.cqf.cql.engine.terminology.TerminologyProvider
      Throws:
      ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException