IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Constants related to msg for communication with BIS, conversion utilities from and to formats used in messageds, etc. Constants are not defined static in order to enable corrections for different variants of the program. More...
Public Member Functions | |
DateTime | ConvertTime (string timestr) |
Converts a atring that represents date and time in the messages to a DateTime object. More... | |
string | ConvertTime (DateTime t) |
Converts a DateTime object to a string that represents date and time in the messages. More... | |
string | ConvertTime (DateTime t, bool includetime) |
Converts a DateTime object to a string that represents date and time in the messages. Seconds are not included even if time is included. More... | |
string | ConvertTime (DateTime t, bool includetime, bool underscores) |
Converts a DateTime object to a string that represents date and time in the messages. Seconds are not included even if time is included. More... | |
string | ConvertTime (DateTime t, bool includetime, bool includeseconds, bool underscores) |
Converts a DateTime object to a string that represents date and time in the messages. More... | |
string | TimeStamp (bool includetime, bool underscores) |
Returns a timestamp for the Current time. The string is produced by ConvertTime() called with the Current time. More... | |
string | TimeStamp (bool includetime) |
Returns a timestamp for the Current time. The string is produced by ConvertTime() called with the Current time. More... | |
string | TimeStamp () |
Returns a timestamp for the Current time. The string is produced by ConvertTime() called with the Current time. More... | |
OeAction | ConvertOeAction (string actioncode) |
Returns action corresponding to the specified action code for SpecimenObesrvationEvent. More... | |
string | ConvertOeAction (OeAction action) |
Converts OeAction enumerator to string value for Action element. More... | |
string | ConvertOeActionCode (OeAction action) |
Converts OeAction enumerator to string value for Action CODE element. More... | |
OoAction | ConvertOoAction (string actioncode) |
Returns action corresponding to the specified action code for SpecimenObservationOrder. More... | |
string | ConvertOoAction (OoAction actioncode) |
Returns a string corresponding to the specified observation order action code, as stated in the SpecimenObservationOrder specification. More... | |
string | ConvertOoCode (OoAction actioncode) |
Returns a string corresponding to the specified observation order action code, as stated in the SpecimenObservationOrder specification for the message code (not action code). This is used for generation of the appropriate XML message code attribute when this needs to be modified. More... | |
OoStatus | ConvertOoStatus (string statuscode) |
Returns observation order status corresponding to the status code. More... | |
string | ConvertOoStatus (OoStatus statuscode) |
Returns a string corresponding to the specified observation order status code. More... | |
ActionPriority | ConvertActionPriority (string code) |
Returns action priority corresponding to the string code. More... | |
string | ConvertQuantity (decimal q) |
Converts a quantity to string format that is used in messages (9 numerical digits, with eventual leading zeros, last two are after the comma). More... | |
decimal | ConvertQuantity (string qstr) |
Converts a string representation of quantity to number type. String form containts 9 numerical digits, with eventual leading zeros, last two are after the comma. More... | |
Properties | |
static MsgConst | Const [get] |
Returns the process-wide class containing constants used in BIS messages. Class is initialized with respect to the application variant that is currently running. More... | |
![]() | |
virtual IReporter | R [get] |
Reporter for this class. More... | |
bool | OoCheckAll [set] |
Static Private Attributes | |
static MsgConst | _msgConst = null |
Additional Inherited Members | |
![]() | |
string | FtCode = "FIAB_TE000001" |
![]() | |
string | OeActionActivate = "POXX_HN111003" |
![]() | |
bool | OoCheckAliveConsistency = false |
string | CreationTimeElement = "creationTime" |
Name of the Root XML node for all messages. More... | |
string | OoActionCreate = "POXX_HN121002" |
string | OoOrderStatusCompleted = "completed" |
string | OoMessageType = "Observation" |
![]() | |
string | ActionPriorityRoutine = "R" |
string | DiagnosisCodeSystem = "MKB10" |
int | DiagnosisTypeClinical = 1 |
int | GenderMale = 1 |
readonly DateTime | NullDateTime = new DateTime(1990, 1, 1) |
int | NullInt = -1 |
bool | NullBool = false |
string | LabexId = "Labex" |
string | OoRootName = "MCCI_MT000100HT03.Message" |
int | OoGenderMale = 1 |
Constants related to msg for communication with BIS, conversion utilities from and to formats used in messageds, etc. Constants are not defined static in order to enable corrections for different variants of the program.
|
inline |
Converts a atring that represents date and time in the messages to a DateTime object.
timestr | String that represents the time, format is "YYYYMMDDhhmmss". |
References IG.Lib.ReporterBase.ReviseException().
Referenced by IG.Lib.DocFindings.Read().
|
inline |
Converts a DateTime object to a string that represents date and time in the messages.
t | Time to be converted to a string. |
|
inline |
Converts a DateTime object to a string that represents date and time in the messages. Seconds are not included even if time is included.
t | Time to be converted to a string. Seconds are not included even if time is included. |
includetime | If true then time is also included, otherwise only date is included. |
|
inline |
Converts a DateTime object to a string that represents date and time in the messages. Seconds are not included even if time is included.
t | Time to be converted to a string. |
includetime | If true then time is also included, otherwise only date is included. |
underscores |
|
inline |
Converts a DateTime object to a string that represents date and time in the messages.
t | Time to be converted to a string. |
includetime | If true then time is also included, otherwise only date is included. |
includeseconds | If true then seconds time are also included in time. |
underscores |
References IG.Lib.ReporterBase.ReviseException().
|
inline |
Returns a timestamp for the Current time. The string is produced by ConvertTime() called with the Current time.
Referenced by LabexBis.BisCommunicationSettings.MessageFileName().
|
inline |
Returns a timestamp for the Current time. The string is produced by ConvertTime() called with the Current time.
|
inline |
Returns a timestamp for the Current time. The string is produced by ConvertTime() called with the Current time.
|
inline |
Returns action corresponding to the specified action code for SpecimenObesrvationEvent.
actioncode | Action code. |
|
inline |
Converts OeAction enumerator to string value for Action element.
|
inline |
Converts OeAction enumerator to string value for Action CODE element.
|
inline |
Returns action corresponding to the specified action code for SpecimenObservationOrder.
actioncode | Action code. |
|
inline |
Returns a string corresponding to the specified observation order action code, as stated in the SpecimenObservationOrder specification.
|
inline |
Returns a string corresponding to the specified observation order action code, as stated in the SpecimenObservationOrder specification for the message code (not action code). This is used for generation of the appropriate XML message code attribute when this needs to be modified.
|
inline |
Returns observation order status corresponding to the status code.
|
inline |
Returns a string corresponding to the specified observation order status code.
|
inline |
Returns action priority corresponding to the string code.
|
inline |
Converts a quantity to string format that is used in messages (9 numerical digits, with eventual leading zeros, last two are after the comma).
q | Quantity to be converted. |
|
inline |
Converts a string representation of quantity to number type. String form containts 9 numerical digits, with eventual leading zeros, last two are after the comma.
q | Quantity to be converted. |
|
staticprivate |
|
staticget |
Returns the process-wide class containing constants used in BIS messages. Class is initialized with respect to the application variant that is currently running.
Referenced by IG.Lib.AutopsyAssociatedDisease.AutopsyAssociatedDisease(), IG.Lib.AutopsyBasicDisease.AutopsyBasicDisease(), IG.Lib.AutopsyDeathReason.AutopsyDeathReason(), IG.Lib.AutopsyOtherInformation.AutopsyOtherInformation(), IG.Lib.MsgObervationOrder.PrepareOoNullify(), IG.Lib.DocFindings.Read(), IG.Lib.MsgBase.SetSenderBis(), and IG.Lib.MsgBase.SetSenderLabex().