Package | Description |
---|---|
ca.uhn.hl7v2.app | |
ca.uhn.hl7v2.conf.check | |
ca.uhn.hl7v2.model | |
ca.uhn.hl7v2.parser | |
ca.uhn.hl7v2.protocol.impl | |
ca.uhn.hl7v2.util |
Modifier and Type | Method and Description |
---|---|
static Message |
DefaultApplication.makeACK(Segment inboundHeader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultValidator.checkForExtraFields(Segment segment,
List<Integer> allowedFields,
List<HL7Exception> exList)
Checks a segment against a list of allowed fields (ie those mentioned in the profile with
usage other than X).
|
protected List<HL7Exception> |
DefaultValidator.doTestSegment(Segment segment,
Seg profile,
String profileID,
boolean theValidateChildren) |
List<HL7Exception> |
DefaultValidator.testSegment(Segment segment,
Seg profile,
String profileID)
Tests a segment against a segment section of a profile.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSegment
Provides common functionality needed by implementers of the Segment
interface.
|
class |
GenericSegment
An unspecified segment that has an undefined number of fields, each
of which is a Varies.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MessageVisitorSupport.end(Segment segment,
Location location) |
boolean |
DelegatingMessageVisitor.end(Segment segment,
Location location) |
boolean |
MessageVisitors.PopulatedVisitor.end(Segment segment,
Location location) |
boolean |
MessageVisitor.end(Segment segment,
Location location)
Leaves a segment
|
static void |
Varies.fixOBX5(Segment segment,
ModelClassFactory factory)
Deprecated.
use FixOBX5#fixOBX5
|
static void |
Varies.fixOBX5(Segment segment,
ModelClassFactory factory,
ParserConfiguration parserConfiguration)
Deprecated.
use FixOBX5#fixOBX5
|
boolean |
MessageVisitorSupport.start(Segment segment,
Location location) |
boolean |
DelegatingMessageVisitor.start(Segment segment,
Location location) |
boolean |
MessageVisitors.StructuresVisitor.start(Segment segment,
Location location) |
boolean |
MessageVisitors.PopulatedVisitor.start(Segment segment,
Location location) |
boolean |
MessageVisitor.start(Segment segment,
Location location)
Enters a segment
|
Modifier and Type | Method and Description |
---|---|
Segment |
XMLParser.getCriticalResponseData(String message)
Returns a minimal amount of data from a message string, including only the data needed to
send a response to the remote system.
|
abstract Segment |
Parser.getCriticalResponseData(String message)
Returns a minimal amount of data from a message string, including only the data needed to
send a response to the remote system.
|
Segment |
PipeParser.getCriticalResponseData(String message)
Returns a minimal amount of data from a message string, including only
the data needed to send a response to the remote system.
|
Segment |
GenericParser.getCriticalResponseData(String message)
Returns a minimal amount of data from a message string, including only the data needed to
send a response to the remote system.
|
static Segment |
Parser.makeControlMSH(String version,
ModelClassFactory factory)
Creates a version-specific MSH object and returns it as a
version-independent MSH interface.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Segment> |
ModelClassFactory.getSegmentClass(String theName,
String theVersion) |
Class<? extends Segment> |
CanonicalModelClassFactory.getSegmentClass(String theName,
String theVersion) |
Class<? extends Segment> |
GenericModelClassFactory.getSegmentClass(String theName,
String theVersion) |
Class<? extends Segment> |
CustomModelClassFactory.getSegmentClass(String name,
String version) |
Class<? extends Segment> |
DefaultModelClassFactory.getSegmentClass(String theName,
String theVersion) |
Modifier and Type | Method and Description |
---|---|
String |
XMLParser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract String |
Parser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Encodes a particular segment and returns the encoded structure
|
String |
PipeParser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Encodes a particular segment and returns the encoded structure
|
String |
GenericParser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Encodes a particular segment and returns the encoded structure
|
boolean |
XMLParser.encode(Segment segmentObject,
Element segmentElement)
Populates the given Element with data from the given Segment, by inserting Elements
corresponding to the Segment's fields, their components, etc.
|
static String |
PipeParser.encode(Segment source,
EncodingCharacters encodingChars)
Returns given segment serialized as a pipe-encoded string.
|
static void |
FixFieldDataType.fix(Segment segment,
int typeField,
int dataField,
String defaultType,
String invalidType,
ModelClassFactory factory,
ParserConfiguration parserConfiguration)
A more generic version of the task of adapting a varies field to a given type
|
static void |
FixFieldDataType.fixMFE4(Segment segment,
ModelClassFactory factory,
ParserConfiguration parserConfiguration) |
static void |
FixFieldDataType.fixOBX5(Segment segment,
ModelClassFactory factory,
ParserConfiguration parserConfiguration)
Sets the data type of field 5 in the given OBX segment to the value of OBX-2.
|
void |
XMLParser.parse(Segment segmentObject,
Element segmentElement)
Populates the given Segment object with data from the given XML Element.
|
void |
XMLParser.parse(Segment segment,
String string,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract void |
Parser.parse(Segment segment,
String string,
EncodingCharacters encodingCharacters)
Parses a particular segment and returns the encoded structure
|
void |
PipeParser.parse(Segment destination,
String segment,
EncodingCharacters encodingChars)
Parses a segment string and populates the given Segment object.
|
void |
GenericParser.parse(Segment segment,
String string,
EncodingCharacters encodingCharacters)
Parses a particular segment and returns the encoded structure
|
void |
PipeParser.parse(Segment destination,
String segment,
EncodingCharacters encodingChars,
int theRepetition)
Parses a segment string and populates the given Segment object.
|
Modifier and Type | Method and Description |
---|---|
String |
ApplicationRouterImpl.logAndMakeErrorMessage(Exception e,
Segment inHeader,
Parser p,
String encoding)
Logs the given exception and creates an error message to send to the
remote system.
|
Modifier and Type | Method and Description |
---|---|
Segment |
SegmentFinder.findSegment(String namePattern,
int rep)
Returns the first segment with a name that matches the given pattern, in a depth-first search.
|
Segment |
Terser.getSegment(String segSpec)
Returns the segment specified in the given segment_path_spec.
|
Segment |
SegmentFinder.getSegment(String namePattern,
int rep)
Returns the first segment with a name matching the given pattern that is a sibling of
the structure at the current location.
|
Modifier and Type | Method and Description |
---|---|
static void |
DeepCopy.copy(Segment from,
Segment to)
Copies contents from the source segment to the destination segment.
|
static String |
Terser.get(Segment segment,
int field,
int rep,
int component,
int subcomponent)
Returns the string value of the Primitive at the given location.
|
static void |
Terser.set(Segment segment,
int field,
int rep,
int component,
int subcomponent,
String value)
Sets the string value of the Primitive at the given location.
|
static void |
Terser.set(Segment segment,
Location location,
String value) |
Copyright © 2001–2017 University Health Network. All rights reserved.