Method: FieldGenerator#CNE

Defined in:
lib/ez7gen/service/2.4/field_generator.rb

#CNE(map, force = false) ⇒ Object

CNE Coded with no exceptions



201
202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'lib/ez7gen/service/2.4/field_generator.rb', line 201

def CNE(map, force=false)
  #check if the field is optional and randomly generate it of skip
  return '' if(!generate?(map, force))

  # <identifier (ST)> ^ <text (ST)>
  ST(map, true)
  # <name of coding system (IS)>
  # <alternate identifier(ST)>
  # <alternate text (ST)>
  # <name of alternate coding system (IS)>
  # <coding system version ID (ST)>
  # alternate coding system version ID (ST)>
  # <original text (ST)>
end