Class PdqmRequestToPdqQueryTranslator
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.iti78.PdqmRequestToPdqQueryTranslator
- All Implemented Interfaces:
GroovyObject
,FhirTranslator<Message>
public class PdqmRequestToPdqQueryTranslator
extends Object
implements FhirTranslator<Message>, GroovyObject
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
convertBirthDate
(DateAndListParam birthDateParam) static void
fillSearchParameters
(Map<String, Object> parameters, Repeatable target) protected static <T> T
firstOrNull
(List<T> list) protected static Date
searchDate
(DateParam param) searchDateList
(DateAndListParam param) protected static String
searchNumber
(NumberParam param) protected static String
searchString
(StringParam param, boolean forceExactSearch) searchStringList
(StringAndListParam param, boolean forceExactSearch) searchToken
(TokenParam identifierParam) searchTokenList
(TokenAndListParam param) void
void
setPdqSupplierResourceIdentifierUri
(String pdqSupplierResourceIdentifierUri) void
setQueryName
(String value) void
setReceiverDeviceName
(String value) void
setReceiverFacilityName
(String value) void
setSenderDeviceName
(String value) void
setSenderFacilityName
(String value) translateFhir
(Object request, Map<String, Object> parameters) Translates a FhirObject into something elseprotected QBP_Q21
translateFhirReadToHL7v2
(org.hl7.fhir.r4.model.IdType resourceId) protected QBP_Q21
translateFhirSearchToHL7v2
(Iti78SearchParameters searchParameters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
PdqmRequestToPdqQueryTranslator
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClass
in interfaceGroovyObject
-
getQueryName
-
setQueryName
-
getSenderDeviceName
-
setSenderDeviceName
-
getSenderFacilityName
-
setSenderFacilityName
-
getReceiverDeviceName
-
setReceiverDeviceName
-
getReceiverFacilityName
-
setReceiverFacilityName
-
getPdqSupplierResourceIdentifierUri
-
setPdqSupplierResourceIdentifierUri
-
translateFhir
Description copied from interface:FhirTranslator
Translates a FhirObject into something else- Specified by:
translateFhir
in interfaceFhirTranslator<Message>
- Parameters:
request
- FhirObject- Returns:
- HL7v2 message
-
translateFhirReadToHL7v2
-
translateFhirSearchToHL7v2
-
convertBirthDate
-
searchDate
-
searchString
-
searchStringList
-
searchDateList
-
searchNumber
-
searchToken
protected Optional<PdqmRequestToPdqQueryTranslator.CompositeIdentifier> searchToken(TokenParam identifierParam) -
searchTokenList
protected List<Optional<PdqmRequestToPdqQueryTranslator.CompositeIdentifier>> searchTokenList(TokenAndListParam param) -
firstOrNull
-
fillSearchParameters
-