app/assets/javascripts/patient_api_extension.js.coffee in hqmf2js-1.1.0 vs app/assets/javascripts/patient_api_extension.js.coffee in hqmf2js-1.2.0
- old
+ new
@@ -11,9 +11,13 @@
tsLow = new TS()
tsLow.date = this.startDate() || this.date() || null
tsHigh = new TS()
tsHigh.date = this.endDate() || this.date() || null
new IVL_TS(tsLow, tsHigh)
+hQuery.CodedEntry::asTS = ->
+ ts = new TS()
+ ts.date = this.timeStamp()
+ ts
hQuery.CodedEntry::respondTo = (functionName) ->
typeof(@[functionName]) == "function"
hQuery.CodedEntryList::isTrue = ->