Sha256: 9f04c88a26e6056fcef695e6352ae08d007282f3474d727fa0934aa359b053c3

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

###*
@namespace scoping into the hquery namespace
###
this.hQuery ||= {}


# =require core.coffee
###*
Observations generated by laboratories, imaging procedures, and other procedures. The scope
includes hematology, chemistry, serology, virology, toxicology, microbiology, plain x-ray,
ultrasound, CT, MRI, angiography, cardiac echo, nuclear medicine, pathology, and procedure
observations.
@class
@augments hQuery.CodedEntry
@exports Result as hQuery.Result
###
class hQuery.Result extends hQuery.CodedEntry
  constructor: (@json) ->
    super(@json)

  ###*
  ASTM CCR defines a restricted set of required result Type codes (see ResultTypeCode in section 7.3
  Summary of CCD value sets), used to categorize a result into one of several commonly accepted values
  (e.g. Hematology, Chemistry, Nuclear Medicine).
  @returns {CodedValue}
  ###
  resultType: -> this.type()

  ###*
  @returns {CodedValue}
  ###
  interpretation: -> hQuery.createCodedValue  @json['interpretation']

  ###*
  @returns {String}
  ###
  referenceRange: -> @json['referenceRange']

  ###*
  @returns {String}
  ###
  referenceRangeHigh: -> @json['referenceRangeHigh']

  ###*
  @returns {String}
  ###
  referenceRangeLow: -> @json['referenceRangeLow']

  ###*
  @returns {String}
  ###
  comment: -> @json['comment']

  ###*
  The resulting status of a procedure as defined in the QDM documentation. This is different
  than the status_code associated with the `CodedEntry` object, which relates to the data criteria
  status as defined in health-data-standards/lib/hqmf-model/data_criteria.json.
  @returns {CodedValue}
  ###
  qdmStatus: -> hQuery.createCodedValue  @json['qdm_status']

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hquery-patient-api-1.1.1 app/assets/javascripts/result.js.coffee
hquery-patient-api-1.1.0 app/assets/javascripts/result.js.coffee