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