Class: FHIR::DSTU2::ProcessRequest

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

Defined Under Namespace

Classes: Item

Constant Summary collapse

SEARCH_PARAMS =
['action', 'identifier', 'organization', 'provider']
METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'ProcessRequest.id', 'min' => 0, 'max' => 1 },
  'meta' => { 'type' => 'Meta', 'path' => 'ProcessRequest.meta', 'min' => 0, 'max' => 1 },
  'implicitRules' => { 'type' => 'uri', 'path' => 'ProcessRequest.implicitRules', 'min' => 0, 'max' => 1 },
  'language' => { 'type' => 'code', 'path' => 'ProcessRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
  'text' => { 'type' => 'Narrative', 'path' => 'ProcessRequest.text', 'min' => 0, 'max' => 1 },
  'contained' => { 'type' => 'Resource', 'path' => 'ProcessRequest.contained', 'min' => 0, 'max' => Float::INFINITY },
  'extension' => { 'type' => 'Extension', 'path' => 'ProcessRequest.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcessRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'action' => { 'valid_codes' => { 'http://hl7.org/fhir/actionlist' => ['cancel', 'poll', 'reprocess', 'status'] }, 'type' => 'code', 'path' => 'ProcessRequest.action', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/actionlist' } },
  'identifier' => { 'type' => 'Identifier', 'path' => 'ProcessRequest.identifier', 'min' => 0, 'max' => Float::INFINITY },
  'ruleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'ProcessRequest.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' => 'ProcessRequest.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } },
  'created' => { 'type' => 'dateTime', 'path' => 'ProcessRequest.created', 'min' => 0, 'max' => 1 },
  'target' => { 'type' => 'Reference', 'path' => 'ProcessRequest.target', 'min' => 0, 'max' => 1 },
  'provider' => { 'type' => 'Reference', 'path' => 'ProcessRequest.provider', 'min' => 0, 'max' => 1 },
  'organization' => { 'type' => 'Reference', 'path' => 'ProcessRequest.organization', 'min' => 0, 'max' => 1 },
  'request' => { 'type' => 'Reference', 'path' => 'ProcessRequest.request', 'min' => 0, 'max' => 1 },
  'response' => { 'type' => 'Reference', 'path' => 'ProcessRequest.response', 'min' => 0, 'max' => 1 },
  'nullify' => { 'type' => 'boolean', 'path' => 'ProcessRequest.nullify', 'min' => 0, 'max' => 1 },
  'reference' => { 'type' => 'string', 'path' => 'ProcessRequest.reference', 'min' => 0, 'max' => 1 },
  'item' => { 'type' => 'ProcessRequest::Item', 'path' => 'ProcessRequest.item', 'min' => 0, 'max' => Float::INFINITY },
  'include' => { 'type' => 'string', 'path' => 'ProcessRequest.include', 'min' => 0, 'max' => Float::INFINITY },
  'exclude' => { 'type' => 'string', 'path' => 'ProcessRequest.exclude', 'min' => 0, 'max' => Float::INFINITY },
  'period' => { 'type' => 'Period', 'path' => 'ProcessRequest.period', 'min' => 0, 'max' => 1 }
}

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

#actionObject

1-1 code



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

def action
  @action
end

#containedObject

0-* [ Resource ]



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

def contained
  @contained
end

#createdObject

0-1 dateTime



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

def created
  @created
end

#excludeObject

0-* [ string ]



76
77
78
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb', line 76

def exclude
  @exclude
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 id



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

def id
  @id
end

#identifierObject

0-* [ Identifier ]



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

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



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

def implicitRules
  @implicitRules
end

#includeObject

0-* [ string ]



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

def include
  @include
end

#itemObject

0-* [ ProcessRequest::Item ]



74
75
76
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb', line 74

def item
  @item
end

#languageObject

0-1 code



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

def language
  @language
end

#metaObject

0-1 Meta



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

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#nullifyObject

0-1 boolean



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

def nullify
  @nullify
end

#organizationObject

0-1 Reference()



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

def organization
  @organization
end

#originalRulesetObject

0-1 Coding



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

def originalRuleset
  @originalRuleset
end

#periodObject

0-1 Period



77
78
79
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb', line 77

def period
  @period
end

#providerObject

0-1 Reference()



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

def provider
  @provider
end

#referenceObject

0-1 string



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

def reference
  @reference
end

#requestObject

0-1 Reference()



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

def request
  @request
end

#responseObject

0-1 Reference()



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

def response
  @response
end

#rulesetObject

0-1 Coding



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

def ruleset
  @ruleset
end

#targetObject

0-1 Reference()



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

def target
  @target
end

#textObject

0-1 Narrative



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

def text
  @text
end

Instance Method Details

#resourceTypeObject



79
80
81
# File 'lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb', line 79

def resourceType
  'ProcessRequest'
end