Class R4FhirTerminologyProvider

    • Constructor Detail

      • R4FhirTerminologyProvider

        public R4FhirTerminologyProvider()
      • R4FhirTerminologyProvider

        public R4FhirTerminologyProvider​(ca.uhn.fhir.rest.client.api.IGenericClient fhirClient)
        Parameters:
        fhirClient - - an IGenericClient that has endpoint and authentication already defined and set.
    • Method Detail

      • getFhirClient

        public ca.uhn.fhir.rest.client.api.IGenericClient getFhirClient()
      • in

        public boolean in​(Code code,
                          ValueSetInfo valueSet)
                   throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
        Specified by:
        in in interface TerminologyProvider
        Throws:
        ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
      • expand

        public Iterable<Code> expand​(ValueSetInfo valueSet)
                              throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
        Specified by:
        expand in interface TerminologyProvider
        Throws:
        ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
      • lookup

        public Code lookup​(Code code,
                           CodeSystemInfo codeSystem)
                    throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
        Specified by:
        lookup in interface TerminologyProvider
        Throws:
        ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException