
Package ca.uhn.fhir.jpa.provider
Class BaseJpaResourceProviderConceptMap<T extends org.hl7.fhir.instance.model.api.IBaseResource>
java.lang.Object
ca.uhn.fhir.jpa.provider.BaseJpaProvider
ca.uhn.fhir.jpa.provider.BaseJpaResourceProvider<T>
ca.uhn.fhir.jpa.provider.BaseJpaResourceProviderConceptMap<T>
- 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>
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.provider.BaseJpaProvider
myStorageSettings, REMOTE_ADDR, REMOTE_UA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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.Methods inherited from class ca.uhn.fhir.jpa.provider.BaseJpaResourceProvider
create, delete, doExpunge, expunge, expunge, getDao, getHistoryForResourceInstance, getHistoryForResourceType, getResourceType, meta, meta, metaAdd, metaDelete, patch, read, setDao, update, validate, validate
Methods inherited from class ca.uhn.fhir.jpa.provider.BaseJpaProvider
createExpungeOptions, createExpungeResponse, endRequest, endRequest, getContext, processSinceOrAt, setContext, setStorageSettingsForUnitTest, startRequest, startRequest
-
Constructor Details
-
BaseJpaResourceProviderConceptMap
public BaseJpaResourceProviderConceptMap()
-
-
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?
-