Class: FHIR::DSTU2::ProcessResponse

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb

Defined Under Namespace

Classes: Notes

Constant Summary collapse

SEARCH_PARAMS =
['identifier', 'organization', 'request', 'requestorganization', 'requestprovider']
METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'ProcessResponse.id', 'min' => 0, 'max' => 1 },
  'meta' => { 'type' => 'Meta', 'path' => 'ProcessResponse.meta', 'min' => 0, 'max' => 1 },
  'implicitRules' => { 'type' => 'uri', 'path' => 'ProcessResponse.implicitRules', 'min' => 0, 'max' => 1 },
  'language' => { 'type' => 'code', 'path' => 'ProcessResponse.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
  'text' => { 'type' => 'Narrative', 'path' => 'ProcessResponse.text', 'min' => 0, 'max' => 1 },
  'contained' => { 'type' => 'Resource', 'path' => 'ProcessResponse.contained', 'min' => 0, 'max' => Float::INFINITY },
  'extension' => { 'type' => 'Extension', 'path' => 'ProcessResponse.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcessResponse.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'identifier' => { 'type' => 'Identifier', 'path' => 'ProcessResponse.identifier', 'min' => 0, 'max' => Float::INFINITY },
  'request' => { 'type' => 'Reference', 'path' => 'ProcessResponse.request', 'min' => 0, 'max' => 1 },
  'outcome' => { 'valid_codes' => { 'http://hl7.org/fhir/processoutcomecodes' => ['complete', 'pended', 'error'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/process-outcome' } },
  'disposition' => { 'type' => 'string', 'path' => 'ProcessResponse.disposition', 'min' => 0, 'max' => 1 },
  'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.ruleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } },
  'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } },
  'created' => { 'type' => 'dateTime', 'path' => 'ProcessResponse.created', 'min' => 0, 'max' => 1 },
  'organization' => { 'type' => 'Reference', 'path' => 'ProcessResponse.organization', 'min' => 0, 'max' => 1 },
  'requestProvider' => { 'type' => 'Reference', 'path' => 'ProcessResponse.requestProvider', 'min' => 0, 'max' => 1 },
  'requestOrganization' => { 'type' => 'Reference', 'path' => 'ProcessResponse.requestOrganization', 'min' => 0, 'max' => 1 },
  'form' => { 'valid_codes' => { 'http://hl7.org/fhir/forms-codes' => ['1', '2'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.form', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/forms' } },
  'notes' => { 'type' => 'ProcessResponse::Notes', 'path' => 'ProcessResponse.notes', 'min' => 0, 'max' => Float::INFINITY },
  'error' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication-error' => ['A001', 'A002'] }, 'type' => 'Coding', 'path' => 'ProcessResponse.error', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication-error' } }
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#containedObject

0-* [ Resource ]



58
59
60
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 58

def contained
  @contained
end

#createdObject

0-1 dateTime



67
68
69
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 67

def created
  @created
end

#dispositionObject

0-1 string



64
65
66
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 64

def disposition
  @disposition
end

#errorObject

0-* [ Coding ]



73
74
75
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 73

def error
  @error
end

#extensionObject

0-* [ Extension ]



59
60
61
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 59

def extension
  @extension
end

#formObject

0-1 Coding



71
72
73
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 71

def form
  @form
end

#idObject

0-1 id



53
54
55
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 53

def id
  @id
end

#identifierObject

0-* [ Identifier ]



61
62
63
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 61

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



55
56
57
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 55

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



56
57
58
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 56

def language
  @language
end

#metaObject

0-1 Meta



54
55
56
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 54

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



60
61
62
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 60

def modifierExtension
  @modifierExtension
end

#notesObject

0-* [ ProcessResponse::Notes ]



72
73
74
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 72

def notes
  @notes
end

#organizationObject

0-1 Reference()



68
69
70
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 68

def organization
  @organization
end

#originalRulesetObject

0-1 Coding



66
67
68
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 66

def originalRuleset
  @originalRuleset
end

#outcomeObject

0-1 Coding



63
64
65
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 63

def outcome
  @outcome
end

#requestObject

0-1 Reference()



62
63
64
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 62

def request
  @request
end

#requestOrganizationObject

0-1 Reference()



70
71
72
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 70

def requestOrganization
  @requestOrganization
end

#requestProviderObject

0-1 Reference()



69
70
71
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 69

def requestProvider
  @requestProvider
end

#rulesetObject

0-1 Coding



65
66
67
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 65

def ruleset
  @ruleset
end

#textObject

0-1 Narrative



57
58
59
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 57

def text
  @text
end

Instance Method Details

#resourceTypeObject



75
76
77
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb', line 75

def resourceType
  'ProcessResponse'
end