Class: FHIR::ProcessResponse
- Defined in:
- lib/fhir/resources/ProcessResponse.rb
Defined Under Namespace
Classes: Notes
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'request' => ['Identifier', 'Reference'], 'organization' => ['Identifier', 'Reference'], 'requestProvider' => ['Identifier', 'Reference'], 'requestOrganization' => ['Identifier', 'Reference'] }
- SEARCH_PARAMS =
["identifier", "organization-identifier", "organization-reference", "request-identifier", "request-organization-identifier", "request-organization-reference", "request-provide-ridentifier", "request-provider-reference", "request-reference"]
- 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'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, '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}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/processresponse-status'=>['active', 'cancelled', 'draft', 'entered-in-error', 'active', 'cancelled', 'draft', 'entered-in-error']}, 'type'=>'code', 'path'=>'ProcessResponse.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/processresponse-status'}}, 'requestIdentifier' => {'type'=>'Identifier', 'path'=>'ProcessResponse.request[x]', 'min'=>0, 'max'=>1}, 'requestReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'ProcessResponse.request[x]', 'min'=>0, 'max'=>1}, 'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/processoutcomecodes'=>['complete', 'pended', 'error', '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', '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', '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}, 'organizationIdentifier' => {'type'=>'Identifier', 'path'=>'ProcessResponse.organization[x]', 'min'=>0, 'max'=>1}, 'organizationReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'ProcessResponse.organization[x]', 'min'=>0, 'max'=>1}, 'requestProviderIdentifier' => {'type'=>'Identifier', 'path'=>'ProcessResponse.requestProvider[x]', 'min'=>0, 'max'=>1}, 'requestProviderReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'ProcessResponse.requestProvider[x]', 'min'=>0, 'max'=>1}, 'requestOrganizationIdentifier' => {'type'=>'Identifier', 'path'=>'ProcessResponse.requestOrganization[x]', 'min'=>0, 'max'=>1}, 'requestOrganizationReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'ProcessResponse.requestOrganization[x]', 'min'=>0, 'max'=>1}, 'form' => {'valid_codes'=>{'http://hl7.org/fhir/forms-codes'=>['1', '2', '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', '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
-
#contained ⇒ Object
0-* [ Resource ].
-
#created ⇒ Object
0-1 dateTime.
-
#disposition ⇒ Object
0-1 string.
-
#error ⇒ Object
0-* [ Coding ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#form ⇒ Object
0-1 Coding.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#notes ⇒ Object
0-* [ ProcessResponse::Notes ].
-
#organizationIdentifier ⇒ Object
0-1 Identifier.
-
#organizationReference ⇒ Object
0-1 Reference(Organization).
-
#originalRuleset ⇒ Object
0-1 Coding.
-
#outcome ⇒ Object
0-1 Coding.
-
#requestIdentifier ⇒ Object
0-1 Identifier.
-
#requestOrganizationIdentifier ⇒ Object
0-1 Identifier.
-
#requestOrganizationReference ⇒ Object
0-1 Reference(Organization).
-
#requestProviderIdentifier ⇒ Object
0-1 Identifier.
-
#requestProviderReference ⇒ Object
0-1 Reference(Practitioner).
-
#requestReference ⇒ Object
0-1 Reference(Resource).
-
#ruleset ⇒ Object
0-1 Coding.
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#contained ⇒ Object
0-* [ Resource ]
68 69 70 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 68 def contained @contained end |
#created ⇒ Object
0-1 dateTime
79 80 81 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 79 def created @created end |
#disposition ⇒ Object
0-1 string
76 77 78 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 76 def disposition @disposition end |
#error ⇒ Object
0-* [ Coding ]
88 89 90 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 88 def error @error end |
#extension ⇒ Object
0-* [ Extension ]
69 70 71 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 69 def extension @extension end |
#form ⇒ Object
0-1 Coding
86 87 88 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 86 def form @form end |
#id ⇒ Object
0-1 id
63 64 65 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 63 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
71 72 73 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 71 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
65 66 67 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 65 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
66 67 68 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 66 def language @language end |
#meta ⇒ Object
0-1 Meta
64 65 66 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 64 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
70 71 72 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 70 def modifierExtension @modifierExtension end |
#notes ⇒ Object
0-* [ ProcessResponse::Notes ]
87 88 89 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 87 def notes @notes end |
#organizationIdentifier ⇒ Object
0-1 Identifier
80 81 82 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 80 def organizationIdentifier @organizationIdentifier end |
#organizationReference ⇒ Object
0-1 Reference(Organization)
81 82 83 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 81 def organizationReference @organizationReference end |
#originalRuleset ⇒ Object
0-1 Coding
78 79 80 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 78 def originalRuleset @originalRuleset end |
#outcome ⇒ Object
0-1 Coding
75 76 77 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 75 def outcome @outcome end |
#requestIdentifier ⇒ Object
0-1 Identifier
73 74 75 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 73 def requestIdentifier @requestIdentifier end |
#requestOrganizationIdentifier ⇒ Object
0-1 Identifier
84 85 86 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 84 def requestOrganizationIdentifier @requestOrganizationIdentifier end |
#requestOrganizationReference ⇒ Object
0-1 Reference(Organization)
85 86 87 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 85 def requestOrganizationReference @requestOrganizationReference end |
#requestProviderIdentifier ⇒ Object
0-1 Identifier
82 83 84 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 82 def requestProviderIdentifier @requestProviderIdentifier end |
#requestProviderReference ⇒ Object
0-1 Reference(Practitioner)
83 84 85 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 83 def requestProviderReference @requestProviderReference end |
#requestReference ⇒ Object
0-1 Reference(Resource)
74 75 76 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 74 def requestReference @requestReference end |
#ruleset ⇒ Object
0-1 Coding
77 78 79 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 77 def ruleset @ruleset end |
#status ⇒ Object
1-1 code
72 73 74 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 72 def status @status end |
#text ⇒ Object
0-1 Narrative
67 68 69 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 67 def text @text end |
Instance Method Details
#resourceType ⇒ Object
90 91 92 |
# File 'lib/fhir/resources/ProcessResponse.rb', line 90 def resourceType 'ProcessResponse' end |