Class Utils
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.translation.Utils
- All Implemented Interfaces:
GroovyObject
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
buildInstanceIdentifier
(MarkupBuilder builder, String elementName, boolean useNullFlavor, Composite cx) static String
collectErrorInfo
(Message nak) static void
createName
(MarkupBuilder builder, Composite xpn) static void
createQueryAcknowledgementElement
(MarkupBuilder builder, GPathResult xml, Map status, String errorCodeSystem, String ackCodeFirstCharacter) static void
fillCx
(Composite cx, GPathResult element) static void
static void
fillFacets
(List<Map<String, String>> sources, Repeatable target) static void
fillMshFromSlurper
(GPathResult xml, Message msg, boolean useSenderDeviceName, boolean useReceiverDeviceName) static String
getIso
(GPathResult source) static String
static Object
nextRepetition
(Repeatable closure) static String
senderOrReceiverIdentification
(GPathResult senderOrReceiver, boolean useDeviceName) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClass
in 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)
-