Module: Tnql::Nodes::DiagnosisDetailNode
- Defined in:
- lib/tnql/nodes/diagnosis.rb
Instance Method Summary collapse
Instance Method Details
#meta_data_item ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/tnql/nodes/diagnosis.rb', line 17 def range = date_fragment.to_daterange { 'tumour.diagnosisdate' => { Tnql::LIMITS => [ range.date1.try(:to_date).try(:iso8601), range.date2.try(:to_date).try(:iso8601) ] } } end |