Class Hl7v3Utils
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3Utils
- All Implemented Interfaces:
GroovyObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildInstanceIdentifier(MarkupBuilder builder, String elementName, boolean useNullFlavor, String root, String extension) static voidbuildInstanceIdentifier(MarkupBuilder builder, String elementName, boolean useNullFlavor, String root, String extension, String assigningAuthorityName) static voidbuildReceiverAndSender(MarkupBuilder builder, GPathResult originalXml, String defaultNamespaceUri) static voidconditional(MarkupBuilder builder, String elementName, String content) static voidconditional(MarkupBuilder builder, String elementName, String content, Map attributes) static ObjectcreateCustodian(MarkupBuilder builder, String mpiSystemIdRoot, Object mpiSystemIdExtension) static Stringstatic voidfakePatientPerson(MarkupBuilder builder) static MarkupBuildergetBuilder(OutputStream output) static MarkupBuildergetBuilder(OutputStream output, String charset) static Stringstatic StringidString(GPathResult id) static StringiiToCx(GPathResult xmlIdNode) static Stringrender(GPathResult source) voidstatic GPathResultMethods 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
-
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:
getMetaClassin interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClassin 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
-