Uses of Interface
ca.uhn.hl7v2.model.Segment
Packages that use Segment
Package
Description
-
Uses of Segment in ca.uhn.hl7v2.app
Methods in ca.uhn.hl7v2.app with parameters of type Segment -
Uses of Segment in ca.uhn.hl7v2.conf.check
Methods in ca.uhn.hl7v2.conf.check with parameters of type SegmentModifier and TypeMethodDescriptionprotected voidDefaultValidator.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) DefaultValidator.testSegment(Segment segment, Seg profile, String profileID) Tests a segment against a segment section of a profile. -
Uses of Segment in ca.uhn.hl7v2.model
Classes in ca.uhn.hl7v2.model that implement SegmentModifier and TypeClassDescriptionclassProvides common functionality needed by implementers of the Segment interface.classAn unspecified segment that has an undefined number of fields, each of which is a Varies.Methods in ca.uhn.hl7v2.model with parameters of type SegmentModifier and TypeMethodDescriptionbooleanbooleanLeaves a segmentbooleanbooleanstatic voidVaries.fixOBX5(Segment segment, ModelClassFactory factory) Deprecated.use FixOBX5#fixOBX5static voidVaries.fixOBX5(Segment segment, ModelClassFactory factory, ParserConfiguration parserConfiguration) Deprecated.use FixOBX5#fixOBX5booleanbooleanEnters a segmentbooleanbooleanboolean -
Uses of Segment in ca.uhn.hl7v2.parser
Methods in ca.uhn.hl7v2.parser that return SegmentModifier and TypeMethodDescriptionGenericParser.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 SegmentParser.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.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.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.static SegmentParser.makeControlMSH(String version, ModelClassFactory factory) Creates a version-specific MSH object and returns it as a version-independent MSH interface.Methods in ca.uhn.hl7v2.parser that return types with arguments of type SegmentModifier and TypeMethodDescriptionCanonicalModelClassFactory.getSegmentClass(String theName, String theVersion) CustomModelClassFactory.getSegmentClass(String name, String version) DefaultModelClassFactory.getSegmentClass(String theName, String theVersion) GenericModelClassFactory.getSegmentClass(String theName, String theVersion) ModelClassFactory.getSegmentClass(String theName, String theVersion) Methods in ca.uhn.hl7v2.parser with parameters of type SegmentModifier and TypeMethodDescriptionGenericParser.doEncode(Segment structure, EncodingCharacters encodingCharacters) Encodes a particular segment and returns the encoded structureabstract StringParser.doEncode(Segment structure, EncodingCharacters encodingCharacters) Encodes a particular segment and returns the encoded structurePipeParser.doEncode(Segment structure, EncodingCharacters encodingCharacters) Encodes a particular segment and returns the encoded structureXMLParser.doEncode(Segment structure, EncodingCharacters encodingCharacters) Throws unsupported operation exceptionstatic StringPipeParser.encode(Segment source, EncodingCharacters encodingChars) Returns given segment serialized as a pipe-encoded string.booleanPopulates the given Element with data from the given Segment, by inserting Elements corresponding to the Segment's fields, their components, etc.static voidFixFieldDataType.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 typestatic voidFixFieldDataType.fixMFE4(Segment segment, ModelClassFactory factory, ParserConfiguration parserConfiguration) Sets the data type of field 4 in the given MFE segment to the value of MFE-5.static voidFixFieldDataType.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.voidGenericParser.parse(Segment segment, String string, EncodingCharacters encodingCharacters) Parses a particular segment and returns the encoded structureabstract voidParser.parse(Segment segment, String string, EncodingCharacters encodingCharacters) Parses a particular segment and returns the encoded structurevoidPipeParser.parse(Segment destination, String segment, EncodingCharacters encodingChars) Parses a segment string and populates the given Segment object.voidPipeParser.parse(Segment destination, String segment, EncodingCharacters encodingChars, int theRepetition) Parses a segment string and populates the given Segment object.voidXMLParser.parse(Segment segment, String string, EncodingCharacters encodingCharacters) Throws unsupported operation exceptionvoidPopulates the given Segment object with data from the given XML Element. -
Uses of Segment in ca.uhn.hl7v2.protocol.impl
Methods in ca.uhn.hl7v2.protocol.impl with parameters of type Segment -
Uses of Segment in ca.uhn.hl7v2.util
Methods in ca.uhn.hl7v2.util that return SegmentModifier and TypeMethodDescriptionSegmentFinder.findSegment(String namePattern, int rep) Returns the first segment with a name that matches the given pattern, in a depth-first search.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.Terser.getSegment(String segSpec) Returns the segment specified in the given segment_path_spec.Methods in ca.uhn.hl7v2.util with parameters of type SegmentModifier and TypeMethodDescriptionstatic voidCopies contents from the source segment to the destination segment.static StringReturns the string value of the Primitive at the given location.static voidSets the string value of the Primitive at the given location.static void
Message.generateACK()