Sha256: 7b4eb0518703065eab9d6c92d74dfb22e1e566bee238d177cecd3a6430e4f4dd

Contents?: true

Size: 740 Bytes

Versions: 2

Compression:

Stored size: 740 Bytes

Contents

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

# =require core.coffee

###*

The plan of care contains data defining prospective or intended orders, interventions, encounters, services, and procedures for the patient.

@exports CareGoal as hQuery.CareGoal
@augments hQuery.CodedEntry
###
class hQuery.CareGoal extends hQuery.CodedEntry

  constructor: (@json) ->
    super(@json)

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


  ###*
  @returns {CodedValue}
  ###
  targetOutcome: ->
    if @json['targetOutcome']?['unit']?
      new hQuery.Scalar @json['targetOutcome']
    else if @json['targetOutcome']?
      hQuery.createCodedValue @json['targetOutcome']

Version data entries

2 entries across 2 versions & 1 rubygems

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