Class BaseJpaResourceProviderConceptMap<T extends org.hl7.fhir.instance.model.api.IBaseResource>

All Implemented Interfaces:
ca.uhn.fhir.rest.server.IResourceProvider
Direct Known Subclasses:
ConceptMapResourceProvider, ConceptMapResourceProvider, ConceptMapResourceProvider, ConceptMapResourceProvider, ConceptMapResourceProvider

public abstract class BaseJpaResourceProviderConceptMap<T extends org.hl7.fhir.instance.model.api.IBaseResource> extends BaseJpaResourceProvider<T>
  • Constructor Details

  • Method Details

    • translate

      public org.hl7.fhir.instance.model.api.IBaseParameters translate(jakarta.servlet.http.HttpServletRequest theServletRequest, org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theUrl, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theConceptMapVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSourceCodeSystem, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSourceCodeSystemVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSourceValueSetR4, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSourceValueSetR5, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSourceCodeR4, org.hl7.fhir.instance.model.api.IBaseCoding theSourceCodingR4, org.hl7.fhir.instance.model.api.IBaseDatatype theSourceCodeableConceptR4, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSourceCodeR5, org.hl7.fhir.instance.model.api.IBaseCoding theSourceCodingR5, org.hl7.fhir.instance.model.api.IBaseDatatype theSourceCodeableConceptR5, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theTargetValueSetR4, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theTargetValueSetR5, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theTargetCodeSystemR4, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theTargetCodeSystemR5, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theReverse, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Note: Several parameters for the $translate operation were renamed between FHIR R4 and R5. To be kind to implementers, we support both names on any version of FHIR, although we will error out if someone tries to use both.

      This is a messy solution: It means that we will advertise both sets of parameters in the CapabilityStatement, and that an R5 client can use an R4 parameter without getting an error. This seems like a good tradeoff though, since it makes the API easier to use when you are trying to upgrade FHIR versions. In future maybe we could make this configurable?