Class: FHIR::DSTU2::Account
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Account.rb
Constant Summary collapse
- SEARCH_PARAMS =
['balance', 'identifier', 'name', 'owner', 'patient', 'period', 'status', 'subject', 'type']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Account.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'Account.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'Account.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'Account.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'Account.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'Account.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'Account.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Account.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'Account.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'name' => { 'type' => 'string', 'path' => 'Account.name', 'min' => 0, 'max' => 1 }, 'type' => { 'type' => 'CodeableConcept', 'path' => 'Account.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/account-status' => ['active', 'inactive'] }, 'type' => 'code', 'path' => 'Account.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/account-status' } }, 'activePeriod' => { 'type' => 'Period', 'path' => 'Account.activePeriod', 'min' => 0, 'max' => 1 }, 'currency' => { 'type' => 'Coding', 'path' => 'Account.currency', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://www.iso.org/iso/home/standards/currency_codes' } }, 'balance' => { 'type' => 'Quantity', 'path' => 'Account.balance', 'min' => 0, 'max' => 1 }, 'coveragePeriod' => { 'type' => 'Period', 'path' => 'Account.coveragePeriod', 'min' => 0, 'max' => 1 }, 'subject' => { 'type' => 'Reference', 'path' => 'Account.subject', 'min' => 0, 'max' => 1 }, 'owner' => { 'type' => 'Reference', 'path' => 'Account.owner', 'min' => 0, 'max' => 1 }, 'description' => { 'type' => 'string', 'path' => 'Account.description', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#activePeriod ⇒ Object
0-1 Period.
-
#balance ⇒ Object
0-1 Quantity.
-
#contained ⇒ Object
0-* [ Resource ].
-
#coveragePeriod ⇒ Object
0-1 Period.
-
#currency ⇒ Object
0-1 Coding.
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#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 ].
-
#name ⇒ Object
0-1 string.
-
#owner ⇒ Object
0-1 Reference().
-
#status ⇒ Object
0-1 code.
-
#subject ⇒ Object
0-1 Reference().
-
#text ⇒ Object
0-1 Narrative.
-
#type ⇒ Object
0-1 CodeableConcept.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#activePeriod ⇒ Object
0-1 Period
43 44 45 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 43 def activePeriod @activePeriod end |
#balance ⇒ Object
0-1 Quantity
45 46 47 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 45 def balance @balance end |
#contained ⇒ Object
0-* [ Resource ]
36 37 38 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 36 def contained @contained end |
#coveragePeriod ⇒ Object
0-1 Period
46 47 48 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 46 def coveragePeriod @coveragePeriod end |
#currency ⇒ Object
0-1 Coding
44 45 46 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 44 def currency @currency end |
#description ⇒ Object
0-1 string
49 50 51 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 49 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
37 38 39 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 37 def extension @extension end |
#id ⇒ Object
0-1 id
31 32 33 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 31 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
39 40 41 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 39 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
33 34 35 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 33 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
34 35 36 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 34 def language @language end |
#meta ⇒ Object
0-1 Meta
32 33 34 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 32 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
38 39 40 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 38 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
40 41 42 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 40 def name @name end |
#owner ⇒ Object
0-1 Reference()
48 49 50 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 48 def owner @owner end |
#status ⇒ Object
0-1 code
42 43 44 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 42 def status @status end |
#subject ⇒ Object
0-1 Reference()
47 48 49 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 47 def subject @subject end |
#text ⇒ Object
0-1 Narrative
35 36 37 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 35 def text @text end |
#type ⇒ Object
0-1 CodeableConcept
41 42 43 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 41 def type @type end |
Instance Method Details
#resourceType ⇒ Object
51 52 53 |
# File 'lib/fhir_dstu2_models/fhir/resources/Account.rb', line 51 def resourceType 'Account' end |