Sha256: af549314c25caa08d189c5509e89e5eac7ce2c4e8e171c7bf95967009780a69f
Contents?: true
Size: 719 Bytes
Versions: 8
Compression:
Stored size: 719 Bytes
Contents
module Tnql #:nodoc: all module Nodes module DiagnosisDateRangeNode def meta_data_item { 'tumour.diagnosisdate' => { Tnql::LIMITS => [ start.to_daterange.date1.try(:to_date).try(:iso8601), finish.to_daterange.date2.try(:to_date).try(:iso8601) ] } } end end module DiagnosisDetailNode def meta_data_item range = date_fragment.to_daterange { 'tumour.diagnosisdate' => { Tnql::LIMITS => [ range.date1.try(:to_date).try(:iso8601), range.date2.try(:to_date).try(:iso8601) ] } } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems