Class PdqResponseToPdqmResponseTranslator
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.iti78.PdqResponseToPdqmResponseTranslator
- All Implemented Interfaces:
GroovyObject,ToFhirTranslator<Message>
public class PdqResponseToPdqmResponseTranslator
extends Object
implements ToFhirTranslator<Message>, GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static Address.AddressUseaddressUse(Object field, Address.AddressUse defaultUse) protected static voidaddSearchScore(PdqPatient pdqPatient, Object response) protected AddressconvertAddress(Object xad) protected voidconvertAddresses(Object xads, List<Address> addresses) protected voidconvertGender(String gender, PdqPatient patient) protected Identifierprotected voidconvertIdentifiers(Object cxs, List<Identifier> identifiers) protected HumanNameconvertName(Object xpn) protected voidconvertNames(Object xpns, List<HumanName> names) protected ContactPointconvertTelecom(Object xtn, ContactPoint.ContactPointUse defaultUse, ContactPoint.ContactPointSystem defaultSystem) protected static List<PdqPatient> handleErrorResponse(RSP_K21 message) protected List<PdqPatient> handleRegularSearchResponse(Object responseCollection) protected static CodeableConceptmakeCodeableConcept(String code, String system, String display) protected static HumanName.NameUsenameUse(Object field, HumanName.NameUse defaultUse) protected PdqPatientpidToPatient(Object response) voidvoidsetNationalIdentifierUri(String nationalIdentifierUri) voidvoidsetPdqSupplierResourceIdentifierUri(String pdqSupplierResourceIdentifierUri) protected static ContactPoint.ContactPointSystemtelecomSystem(Object field, ContactPoint.ContactPointSystem defaultSystem) protected static ContactPoint.ContactPointUsetelecomUse(Object field, ContactPoint.ContactPointUse defaultUse) translateToFhir(Message message, Map<String, Object> parameters) Translates something into a FHIR objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
PdqResponseToPdqmResponseTranslator
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClassin interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClassin interfaceGroovyObject
-
getPdqSupplierResourceIdentifierUri
-
getPdqSupplierResourceIdentifierOid
-
setPdqSupplierResourceIdentifierOid
-
getNationalIdentifierUri
-
setPdqSupplierResourceIdentifierUri
-
setNationalIdentifierUri
-
translateToFhir
Description copied from interface:ToFhirTranslatorTranslates something into a FHIR object- Specified by:
translateToFhirin interfaceToFhirTranslator<Message>- Parameters:
message- input data- Returns:
- FHIR data
-
handleRegularSearchResponse
-
addSearchScore
-
pidToPatient
-
convertGender
-
makeCodeableConcept
-
handleErrorResponse
-
convertIdentifiers
-
convertIdentifier
-
convertAddresses
-
convertAddress
-
convertNames
-
convertName
-
convertTelecom
protected ContactPoint convertTelecom(Object xtn, ContactPoint.ContactPointUse defaultUse, ContactPoint.ContactPointSystem defaultSystem) -
telecomUse
protected static ContactPoint.ContactPointUse telecomUse(Object field, ContactPoint.ContactPointUse defaultUse) -
telecomSystem
protected static ContactPoint.ContactPointSystem telecomSystem(Object field, ContactPoint.ContactPointSystem defaultSystem) -
nameUse
-
addressUse
-