Class Utils
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.translation.Utils
- All Implemented Interfaces:
GroovyObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildInstanceIdentifier(MarkupBuilder builder, String elementName, boolean useNullFlavor, Composite cx) static StringcollectErrorInfo(Message nak) static voidcreateName(MarkupBuilder builder, Composite xpn) static voidcreateQueryAcknowledgementElement(MarkupBuilder builder, GPathResult xml, Map status, String errorCodeSystem, String ackCodeFirstCharacter) static voidfillCx(Composite cx, GPathResult element) static voidstatic voidfillFacets(List<Map<String, String>> sources, Repeatable target) static voidfillMshFromSlurper(GPathResult xml, Message msg, boolean useSenderDeviceName, boolean useReceiverDeviceName) static StringgetIso(GPathResult source) static Stringstatic ObjectnextRepetition(Repeatable closure) static StringsenderOrReceiverIdentification(GPathResult senderOrReceiver, boolean useDeviceName) voidMethods 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
-
Field Details
-
HL7V2_NULL
- See Also:
-
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClassin interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClassin interfaceGroovyObject
-
nextRepetition
-
senderOrReceiverIdentification
public static String senderOrReceiverIdentification(GPathResult senderOrReceiver, boolean useDeviceName) -
fillMshFromSlurper
public static void fillMshFromSlurper(GPathResult xml, Message msg, boolean useSenderDeviceName, boolean useReceiverDeviceName) -
getIso
-
getIso
-
fillCx
-
fillCx
-
createName
-
createQueryAcknowledgementElement
public static void createQueryAcknowledgementElement(MarkupBuilder builder, GPathResult xml, Map status, String errorCodeSystem, String ackCodeFirstCharacter) -
fillFacets
-
collectErrorInfo
-
buildInstanceIdentifier
public static void buildInstanceIdentifier(MarkupBuilder builder, String elementName, boolean useNullFlavor, Composite cx)
-