public class PdqResponseToPdqmResponseTranslator extends Object implements ToFhirTranslator<ca.uhn.hl7v2.model.Message>, groovy.lang.GroovyObject
Constructor and Description |
---|
PdqResponseToPdqmResponseTranslator(UriMapper uriMapper) |
Modifier and Type | Method and Description |
---|---|
protected org.hl7.fhir.dstu3.model.Address.AddressUse |
addressUse(Object field,
org.hl7.fhir.dstu3.model.Address.AddressUse defaultUse) |
protected void |
addSearchScore(PdqPatient pdqPatient,
Object response) |
protected org.hl7.fhir.dstu3.model.Address |
convertAddress(Object xad) |
protected void |
convertAddresses(Object xads,
List<org.hl7.fhir.dstu3.model.Address> addresses) |
protected org.hl7.fhir.dstu3.model.Identifier |
convertIdentifier(Object cx) |
protected void |
convertIdentifiers(Object cxs,
List<org.hl7.fhir.dstu3.model.Identifier> identifiers) |
protected org.hl7.fhir.dstu3.model.HumanName |
convertName(Object xpn) |
protected void |
convertNames(Object xpns,
List<org.hl7.fhir.dstu3.model.HumanName> names) |
protected org.hl7.fhir.dstu3.model.ContactPoint |
convertTelecom(Object xtn,
org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse defaultUse,
org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem defaultSystem) |
groovy.lang.MetaClass |
getMetaClass() |
String |
getNationalIdentifierUri() |
String |
getPdqSupplierResourceIdentifierOid() |
String |
getPdqSupplierResourceIdentifierUri() |
Object |
getProperty(String property) |
protected List<PdqPatient> |
handleErrorResponse(RSP_K21 message) |
protected List<PdqPatient> |
handleRegularSearchResponse(Object responseCollection) |
Object |
invokeMethod(String method,
Object arguments) |
protected org.hl7.fhir.dstu3.model.HumanName.NameUse |
nameUse(Object field,
org.hl7.fhir.dstu3.model.HumanName.NameUse defaultUse) |
protected PdqPatient |
pidToPatient(Object response) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setNationalIdentifierUri(String nationalIdentifierUri) |
void |
setPdqSupplierResourceIdentifierOid(String value) |
void |
setPdqSupplierResourceIdentifierUri(String pdqSupplierResourceIdentifierUri) |
void |
setProperty(String property,
Object value) |
protected org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem |
telecomSystem(Object field,
org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem defaultSystem) |
protected org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse |
telecomUse(Object field,
org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse defaultUse) |
List<PdqPatient> |
translateToFhir(ca.uhn.hl7v2.model.Message message,
Map<String,Object> parameters)
Translates something into a FHIR object
|
public PdqResponseToPdqmResponseTranslator(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 getPdqSupplierResourceIdentifierUri()
public String getPdqSupplierResourceIdentifierOid()
public void setPdqSupplierResourceIdentifierOid(String value)
public String getNationalIdentifierUri()
public void setPdqSupplierResourceIdentifierUri(String pdqSupplierResourceIdentifierUri)
public void setNationalIdentifierUri(String nationalIdentifierUri)
public List<PdqPatient> translateToFhir(ca.uhn.hl7v2.model.Message message, Map<String,Object> parameters)
ToFhirTranslator
translateToFhir
in interface ToFhirTranslator<ca.uhn.hl7v2.model.Message>
message
- input dataprotected List<PdqPatient> handleRegularSearchResponse(Object responseCollection)
protected void addSearchScore(PdqPatient pdqPatient, Object response)
protected PdqPatient pidToPatient(Object response)
protected List<PdqPatient> handleErrorResponse(RSP_K21 message)
protected void convertIdentifiers(Object cxs, List<org.hl7.fhir.dstu3.model.Identifier> identifiers)
protected org.hl7.fhir.dstu3.model.Identifier convertIdentifier(Object cx)
protected void convertAddresses(Object xads, List<org.hl7.fhir.dstu3.model.Address> addresses)
protected org.hl7.fhir.dstu3.model.Address convertAddress(Object xad)
protected void convertNames(Object xpns, List<org.hl7.fhir.dstu3.model.HumanName> names)
protected org.hl7.fhir.dstu3.model.HumanName convertName(Object xpn)
protected org.hl7.fhir.dstu3.model.ContactPoint convertTelecom(Object xtn, org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse defaultUse, org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem defaultSystem)
protected org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse telecomUse(Object field, org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse defaultUse)
protected org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem telecomSystem(Object field, org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem defaultSystem)
protected org.hl7.fhir.dstu3.model.HumanName.NameUse nameUse(Object field, org.hl7.fhir.dstu3.model.HumanName.NameUse defaultUse)
protected org.hl7.fhir.dstu3.model.Address.AddressUse addressUse(Object field, org.hl7.fhir.dstu3.model.Address.AddressUse defaultUse)
Copyright © 2018 Open eHealth Foundation. All rights reserved.