Class: Eddy::Segments::DTM
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::DTM
- Defined in:
- lib/definitions/segments/generated/dtm.rb
Overview
Segment Summary:
- Id: DTM
- Name: Date/Time Reference
- Purpose: To specify pertinent dates and times.
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
-
#DTM01=(arg) ⇒ void
(also: #DateTimeQualifier=)
DTM01.
-
#DTM02=(arg) ⇒ void
(also: #Date=)
DTM02.
-
#DTM03=(arg) ⇒ void
(also: #Time=)
DTM03.
- #initialize(store) ⇒ void constructor
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/definitions/segments/generated/dtm.rb', line 12 def initialize(store) @id = "DTM" @name = "Date/Time Reference" @dtm01 = Eddy::Elements::E374.new(ref: "DTM01", req: "M") @dtm02 = Eddy::Elements::E373.new(ref: "DTM02", req: "X") @dtm03 = Eddy::Elements::E337.new(ref: "DTM03", req: "X") super( store, @dtm01, @dtm02, @dtm03, ) end |
Instance Method Details
#DTM01=(arg) ⇒ void Also known as: DateTimeQualifier=
This method returns an undefined value.
DTM01
- Id: 374
- Name: Date/Time Qualifier
- Type: ID
- Min/Max: 3/3
- Description: Code specifying type of date or time, or both date and time
36 37 38 |
# File 'lib/definitions/segments/generated/dtm.rb', line 36 def DTM01=(arg) @dtm01.value = arg end |
#DTM02=(arg) ⇒ void Also known as: Date=
This method returns an undefined value.
DTM02
- Id: 373
- Name: Date
- Type: DT
- Min/Max: 8/8
- Description: Date expressed as CCYYMMDD
51 52 53 |
# File 'lib/definitions/segments/generated/dtm.rb', line 51 def DTM02=(arg) @dtm02.value = arg end |
#DTM03=(arg) ⇒ void Also known as: Time=
This method returns an undefined value.
DTM03
- Id: 337
- Name: Time
- Type: TM
- Min/Max: 4/8
- Description: Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
66 67 68 |
# File 'lib/definitions/segments/generated/dtm.rb', line 66 def DTM03=(arg) @dtm03.value = arg end |