<commit_before>###*
@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

  ###*
  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()
   
  ###*
  A status from the HL7 ActStatusNormal vocabulary
  @returns {String}
  ###
  status: -> @json['status']

  ###*
  Returns the value of the result. This will return an object. The properties of this
  object are dependent on the type of result.
  ###
  value: -> @json['value']

  ###*
  @returns {CodedValue}
  ###
  interpretation: -> new hQuery.CodedValue @json['interpretation'].codeSystem, @json['interpretation'].code
  <commit_msg>Fix order of arguments when creating interpretation coded value<commit_after>###*
@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

  ###*
  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()
   
  ###*
  A status from the HL7 ActStatusNormal vocabulary
  @returns {String}
  ###
  status: -> @json['status']

  ###*
  Returns the value of the result. This will return an object. The properties of this
  object are dependent on the type of result.
  ###
  value: -> @json['value']

  ###*
  @returns {CodedValue}
  ###
  interpretation: -> new hQuery.CodedValue @json['interpretation'].code, @json['interpretation'].codeSystem
  
{'fraction_non_alphanumeric': 0.10825132475397427, 'fraction_numerical': 0.002271006813020439, 'mean_word_length': 4.540880503144654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6525952', 'n_tokens_mistral': 784, 'n_tokens_neox': 736, 'n_words': 284}