public class PdqmRequestToPdqQueryTranslator extends Object implements FhirTranslator<ca.uhn.hl7v2.model.Message>, groovy.lang.GroovyObject
Modifier and Type | Class and Description |
---|---|
static class |
PdqmRequestToPdqQueryTranslator.CompositeIdentifier |
Constructor and Description |
---|
PdqmRequestToPdqQueryTranslator(UriMapper uriMapper) |
Modifier and Type | Method and Description |
---|---|
protected String |
convertBirthDate(ca.uhn.fhir.rest.param.DateAndListParam birthDateParam) |
static void |
fillSearchParameters(Map<String,Object> parameters,
Repeatable target) |
protected Object |
firstOrNull(List<?> list) |
groovy.lang.MetaClass |
getMetaClass() |
String |
getPdqSupplierResourceIdentifierUri() |
Object |
getProperty(String property) |
String |
getQueryName() |
String |
getReceiverDeviceName() |
String |
getReceiverFacilityName() |
String |
getSenderDeviceName() |
String |
getSenderFacilityName() |
Object |
invokeMethod(String method,
Object arguments) |
protected Date |
searchDate(ca.uhn.fhir.rest.param.DateParam param) |
protected List<String> |
searchDateList(ca.uhn.fhir.rest.param.DateAndListParam param) |
protected String |
searchNumber(ca.uhn.fhir.rest.param.NumberParam param) |
protected String |
searchString(ca.uhn.fhir.rest.param.StringParam param,
boolean forceExactSearch) |
protected List<String> |
searchStringList(ca.uhn.fhir.rest.param.StringAndListParam param,
boolean forceExactSearch) |
protected Optional<PdqmRequestToPdqQueryTranslator.CompositeIdentifier> |
searchToken(ca.uhn.fhir.rest.param.TokenParam identifierParam) |
protected List<Optional<PdqmRequestToPdqQueryTranslator.CompositeIdentifier>> |
searchTokenList(ca.uhn.fhir.rest.param.TokenAndListParam param) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setPdqSupplierResourceIdentifierUri(String pdqSupplierResourceIdentifierUri) |
void |
setProperty(String property,
Object value) |
void |
setQueryName(String value) |
void |
setReceiverDeviceName(String value) |
void |
setReceiverFacilityName(String value) |
void |
setSenderDeviceName(String value) |
void |
setSenderFacilityName(String value) |
QBP_Q21 |
translateFhir(Object request,
Map<String,Object> parameters)
Translates a FhirObject into something else
|
protected QBP_Q21 |
translateFhirReadToHL7v2(org.hl7.fhir.dstu3.model.IdType resourceId) |
protected QBP_Q21 |
translateFhirSearchToHL7v2(Iti78SearchParameters searchParameters) |
public PdqmRequestToPdqQueryTranslator(UriMapper uriMapper)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public String getQueryName()
public void setQueryName(String value)
public String getSenderDeviceName()
public void setSenderDeviceName(String value)
public String getSenderFacilityName()
public void setSenderFacilityName(String value)
public String getReceiverDeviceName()
public void setReceiverDeviceName(String value)
public String getReceiverFacilityName()
public void setReceiverFacilityName(String value)
public String getPdqSupplierResourceIdentifierUri()
public void setPdqSupplierResourceIdentifierUri(String pdqSupplierResourceIdentifierUri)
public QBP_Q21 translateFhir(Object request, Map<String,Object> parameters)
FhirTranslator
translateFhir
in interface FhirTranslator<ca.uhn.hl7v2.model.Message>
request
- FhirObjectprotected QBP_Q21 translateFhirReadToHL7v2(org.hl7.fhir.dstu3.model.IdType resourceId)
protected QBP_Q21 translateFhirSearchToHL7v2(Iti78SearchParameters searchParameters)
protected String convertBirthDate(ca.uhn.fhir.rest.param.DateAndListParam birthDateParam)
protected Date searchDate(ca.uhn.fhir.rest.param.DateParam param)
protected String searchString(ca.uhn.fhir.rest.param.StringParam param, boolean forceExactSearch)
protected List<String> searchStringList(ca.uhn.fhir.rest.param.StringAndListParam param, boolean forceExactSearch)
protected String searchNumber(ca.uhn.fhir.rest.param.NumberParam param)
protected Optional<PdqmRequestToPdqQueryTranslator.CompositeIdentifier> searchToken(ca.uhn.fhir.rest.param.TokenParam identifierParam)
protected List<Optional<PdqmRequestToPdqQueryTranslator.CompositeIdentifier>> searchTokenList(ca.uhn.fhir.rest.param.TokenAndListParam param)
public static void fillSearchParameters(Map<String,Object> parameters, Repeatable target)
Copyright © 2018 Open eHealth Foundation. All rights reserved.