Class Hl7v3Utils
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3Utils
- All Implemented Interfaces:
GroovyObject
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
buildInstanceIdentifier
(MarkupBuilder builder, String elementName, boolean useNullFlavor, String root, String extension) static void
buildInstanceIdentifier
(MarkupBuilder builder, String elementName, boolean useNullFlavor, String root, String extension, String assigningAuthorityName) static void
buildReceiverAndSender
(MarkupBuilder builder, GPathResult originalXml, String defaultNamespaceUri) static void
conditional
(MarkupBuilder builder, String elementName, String content) static void
conditional
(MarkupBuilder builder, String elementName, String content, Map attributes) static Object
createCustodian
(MarkupBuilder builder, String mpiSystemIdRoot, Object mpiSystemIdExtension) static String
static void
fakePatientPerson
(MarkupBuilder builder) static MarkupBuilder
getBuilder
(OutputStream output) static MarkupBuilder
getBuilder
(OutputStream output, String charset) static String
static String
idString
(GPathResult id) static String
iiToCx
(GPathResult xmlIdNode) static String
render
(GPathResult source) void
static GPathResult
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
-
HL7V3_NSURI
- See Also:
-
-
Constructor Details
-
Hl7v3Utils
public Hl7v3Utils()
-
-
Method Details
-
getBuilder
-
buildInstanceIdentifier
public static void buildInstanceIdentifier(MarkupBuilder builder, String elementName, boolean useNullFlavor, String root, String extension) -
conditional
-
getMetaClass
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClass
in interfaceGroovyObject
-
hl7timestamp
-
getBuilder
-
slurp
-
buildInstanceIdentifier
public static void buildInstanceIdentifier(MarkupBuilder builder, String elementName, boolean useNullFlavor, String root, String extension, String assigningAuthorityName) -
buildReceiverAndSender
public static void buildReceiverAndSender(MarkupBuilder builder, GPathResult originalXml, String defaultNamespaceUri) -
conditional
public static void conditional(MarkupBuilder builder, String elementName, String content, Map attributes) -
dropTimeZone
-
createCustodian
public static Object createCustodian(MarkupBuilder builder, String mpiSystemIdRoot, Object mpiSystemIdExtension) -
fakePatientPerson
-
iiToCx
-
idString
-
render
-