Class: FHIR::ChargeItemDefinition
- Defined in:
- lib/fhir_models/fhir/resources/ChargeItemDefinition.rb
Defined Under Namespace
Classes: Applicability, PropertyGroup
Constant Summary collapse
- SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'date', 'description', 'effective', 'identifier', 'jurisdiction', 'publisher', 'status', 'title', 'url', 'version']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'ChargeItemDefinition.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'ChargeItemDefinition.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'ChargeItemDefinition.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'ChargeItemDefinition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'ChargeItemDefinition.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'ChargeItemDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'ChargeItemDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ChargeItemDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'ChargeItemDefinition.url', 'min'=>1, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'ChargeItemDefinition.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'version' => {'type'=>'string', 'path'=>'ChargeItemDefinition.version', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'ChargeItemDefinition.title', 'min'=>0, 'max'=>1}, 'derivedFromUri' => {'type'=>'uri', 'path'=>'ChargeItemDefinition.derivedFromUri', 'min'=>0, 'max'=>Float::INFINITY}, 'partOf' => {'type'=>'canonical', 'path'=>'ChargeItemDefinition.partOf', 'min'=>0, 'max'=>Float::INFINITY}, 'replaces' => {'type'=>'canonical', 'path'=>'ChargeItemDefinition.replaces', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'ChargeItemDefinition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}}, 'experimental' => {'type'=>'boolean', 'path'=>'ChargeItemDefinition.experimental', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'ChargeItemDefinition.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'ChargeItemDefinition.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'ChargeItemDefinition.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'ChargeItemDefinition.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'ChargeItemDefinition.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'ChargeItemDefinition.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'copyright' => {'type'=>'markdown', 'path'=>'ChargeItemDefinition.copyright', 'min'=>0, 'max'=>1}, 'approvalDate' => {'type'=>'date', 'path'=>'ChargeItemDefinition.approvalDate', 'min'=>0, 'max'=>1}, 'lastReviewDate' => {'type'=>'date', 'path'=>'ChargeItemDefinition.lastReviewDate', 'min'=>0, 'max'=>1}, 'effectivePeriod' => {'type'=>'Period', 'path'=>'ChargeItemDefinition.effectivePeriod', 'min'=>0, 'max'=>1}, 'code' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/chargeitem-billingcodes'=>['1100', '1210', '1320']}, 'type'=>'CodeableConcept', 'path'=>'ChargeItemDefinition.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/chargeitem-billingcodes'}}, 'instance' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance', 'http://hl7.org/fhir/StructureDefinition/Device'], 'type'=>'Reference', 'path'=>'ChargeItemDefinition.instance', 'min'=>0, 'max'=>Float::INFINITY}, 'applicability' => {'type'=>'ChargeItemDefinition::Applicability', 'path'=>'ChargeItemDefinition.applicability', 'min'=>0, 'max'=>Float::INFINITY}, 'propertyGroup' => {'type'=>'ChargeItemDefinition::PropertyGroup', 'path'=>'ChargeItemDefinition.propertyGroup', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#applicability ⇒ Object
0-* [ ChargeItemDefinition::Applicability ].
-
#approvalDate ⇒ Object
0-1 date.
-
#code ⇒ Object
0-1 CodeableConcept.
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 markdown.
-
#date ⇒ Object
0-1 dateTime.
-
#derivedFromUri ⇒ Object
0-* [ uri ].
-
#description ⇒ Object
0-1 markdown.
-
#effectivePeriod ⇒ Object
0-1 Period.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#instance ⇒ Object
0-* [ Reference(Medication|Substance|Device) ].
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#lastReviewDate ⇒ Object
0-1 date.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#partOf ⇒ Object
0-* [ canonical ].
-
#propertyGroup ⇒ Object
0-* [ ChargeItemDefinition::PropertyGroup ].
-
#publisher ⇒ Object
0-1 string.
-
#replaces ⇒ Object
0-* [ canonical ].
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
-
#url ⇒ Object
1-1 uri.
-
#useContext ⇒ Object
0-* [ UsageContext ].
-
#version ⇒ Object
0-1 string.
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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #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
#applicability ⇒ Object
0-* [ ChargeItemDefinition::Applicability ]
137 138 139 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 137 def applicability @applicability end |
#approvalDate ⇒ Object
0-1 date
132 133 134 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 132 def approvalDate @approvalDate end |
#code ⇒ Object
0-1 CodeableConcept
135 136 137 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 135 def code @code end |
#contact ⇒ Object
0-* [ ContactDetail ]
127 128 129 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 127 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
113 114 115 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 113 def contained @contained end |
#copyright ⇒ Object
0-1 markdown
131 132 133 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 131 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
125 126 127 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 125 def date @date end |
#derivedFromUri ⇒ Object
0-* [ uri ]
120 121 122 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 120 def derivedFromUri @derivedFromUri end |
#description ⇒ Object
0-1 markdown
128 129 130 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 128 def description @description end |
#effectivePeriod ⇒ Object
0-1 Period
134 135 136 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 134 def effectivePeriod @effectivePeriod end |
#experimental ⇒ Object
0-1 boolean
124 125 126 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 124 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
114 115 116 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 114 def extension @extension end |
#id ⇒ Object
0-1 id
108 109 110 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 108 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
117 118 119 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 117 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
110 111 112 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 110 def implicitRules @implicitRules end |
#instance ⇒ Object
0-* [ Reference(Medication|Substance|Device) ]
136 137 138 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 136 def instance @instance end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
130 131 132 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 130 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
111 112 113 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 111 def language @language end |
#lastReviewDate ⇒ Object
0-1 date
133 134 135 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 133 def lastReviewDate @lastReviewDate end |
#meta ⇒ Object
0-1 Meta
109 110 111 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 109 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
115 116 117 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 115 def modifierExtension @modifierExtension end |
#partOf ⇒ Object
0-* [ canonical ]
121 122 123 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 121 def partOf @partOf end |
#propertyGroup ⇒ Object
0-* [ ChargeItemDefinition::PropertyGroup ]
138 139 140 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 138 def propertyGroup @propertyGroup end |
#publisher ⇒ Object
0-1 string
126 127 128 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 126 def publisher @publisher end |
#replaces ⇒ Object
0-* [ canonical ]
122 123 124 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 122 def replaces @replaces end |
#status ⇒ Object
1-1 code
123 124 125 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 123 def status @status end |
#text ⇒ Object
0-1 Narrative
112 113 114 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 112 def text @text end |
#title ⇒ Object
0-1 string
119 120 121 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 119 def title @title end |
#url ⇒ Object
1-1 uri
116 117 118 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 116 def url @url end |
#useContext ⇒ Object
0-* [ UsageContext ]
129 130 131 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 129 def useContext @useContext end |
#version ⇒ Object
0-1 string
118 119 120 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 118 def version @version end |
Instance Method Details
#resourceType ⇒ Object
140 141 142 |
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 140 def resourceType 'ChargeItemDefinition' end |