Class XdsHl7v2Renderer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.XdsHl7v2Renderer
A renderer of HL7 v2 elements which considers XDS-specific
requirements regarding required and prohibited fields
as prescribed in the ITI TF Volume 3 Chapter 4.
- Author:
- Dmytro Rud
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.hl7v2.parser.EncodingCharactersEncoding characters for HL7 v2 messages.static final ca.uhn.hl7v2.parser.Escaping -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringencode(Hl7v2Based hl7v2based) Encodes the given HL7-based XDS model object using specific rules regarding required and prohibited HL7 fields.static booleanisEmpty(Hl7v2Based hl7v2based)
-
Field Details
-
ENCODING_CHARACTERS
public static final ca.uhn.hl7v2.parser.EncodingCharacters ENCODING_CHARACTERSEncoding characters for HL7 v2 messages. -
ESCAPING
public static final ca.uhn.hl7v2.parser.Escaping ESCAPING
-
-
Method Details
-
isEmpty
-
encode
Encodes the given HL7-based XDS model object using specific rules regarding required and prohibited HL7 fields.- Parameters:
hl7v2based- source HL7-based XDS object model to be rendered.- Returns:
- String representation of the given HL7 v2 composite field.
-