C# Class Dicom.HL7.HL7v2

Exibir arquivo Open project: fo-dicom/mdcm Class Usage Examples

Public Methods

Method Description
Count ( Tag tag ) : int
Count ( string tag ) : int
CountSegments ( string id ) : int
Get ( Tag tag, string defaultValue ) : string
Get ( string tag, string defaultValue ) : string
GetSegments ( ) : IEnumerable
GetSegments ( string id ) : IEnumerable
HL7v2 ( ) : System
IsHeaderSegment ( string segmentId ) : bool
Parse ( string hl7 ) : HL7v2
Set ( Tag tag, string value ) : void
Set ( string tag, string value ) : void
ToString ( ) : string
ToString ( string segmentSeperator ) : string
this ( Tag tag ) : string
this ( string tag ) : string

Private Methods

Method Description
GetComponent ( Tag tag ) : string
GetField ( Tag tag ) : string
GetSegment ( Tag tag ) : List
GetSubComponent ( Tag tag ) : string
SetComponent ( Tag tag, string value ) : void
SetField ( Tag tag, string value ) : void
SetSubComponent ( Tag tag, string value ) : void

Method Details

Count() public method

public Count ( Tag tag ) : int
tag Tag
return int

Count() public method

public Count ( string tag ) : int
tag string
return int

CountSegments() public method

public CountSegments ( string id ) : int
id string
return int

Get() public method

public Get ( Tag tag, string defaultValue ) : string
tag Tag
defaultValue string
return string

Get() public method

public Get ( string tag, string defaultValue ) : string
tag string
defaultValue string
return string

GetSegments() public method

public GetSegments ( ) : IEnumerable
return IEnumerable

GetSegments() public method

public GetSegments ( string id ) : IEnumerable
id string
return IEnumerable

HL7v2() public method

public HL7v2 ( ) : System
return System

IsHeaderSegment() public static method

public static IsHeaderSegment ( string segmentId ) : bool
segmentId string
return bool

Parse() public static method

public static Parse ( string hl7 ) : HL7v2
hl7 string
return HL7v2

Set() public method

public Set ( Tag tag, string value ) : void
tag Tag
value string
return void

Set() public method

public Set ( string tag, string value ) : void
tag string
value string
return void

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( string segmentSeperator ) : string
segmentSeperator string
return string

this() public method

public this ( Tag tag ) : string
tag Tag
return string

this() public method

public this ( string tag ) : string
tag string
return string