Class: FHIR::ChargeItemDefinition

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
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

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, #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

#applicabilityObject

0-* [ ChargeItemDefinition::Applicability ]



137
138
139
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 137

def applicability
  @applicability
end

#approvalDateObject

0-1 date



132
133
134
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 132

def approvalDate
  @approvalDate
end

#codeObject

0-1 CodeableConcept



135
136
137
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 135

def code
  @code
end

#contactObject

0-* [ ContactDetail ]



127
128
129
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 127

def contact
  @contact
end

#containedObject

0-* [ Resource ]



113
114
115
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 113

def contained
  @contained
end

0-1 markdown



131
132
133
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 131

def copyright
  @copyright
end

#dateObject

0-1 dateTime



125
126
127
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 125

def date
  @date
end

#derivedFromUriObject

0-* [ uri ]



120
121
122
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 120

def derivedFromUri
  @derivedFromUri
end

#descriptionObject

0-1 markdown



128
129
130
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 128

def description
  @description
end

#effectivePeriodObject

0-1 Period



134
135
136
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 134

def effectivePeriod
  @effectivePeriod
end

#experimentalObject

0-1 boolean



124
125
126
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 124

def experimental
  @experimental
end

#extensionObject

0-* [ Extension ]



114
115
116
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 114

def extension
  @extension
end

#idObject

0-1 id



108
109
110
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 108

def id
  @id
end

#identifierObject

0-* [ Identifier ]



117
118
119
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 117

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



110
111
112
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 110

def implicitRules
  @implicitRules
end

#instanceObject

0-* [ Reference(Medication|Substance|Device) ]



136
137
138
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 136

def instance
  @instance
end

#jurisdictionObject

0-* [ CodeableConcept ]



130
131
132
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 130

def jurisdiction
  @jurisdiction
end

#languageObject

0-1 code



111
112
113
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 111

def language
  @language
end

#lastReviewDateObject

0-1 date



133
134
135
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 133

def lastReviewDate
  @lastReviewDate
end

#metaObject

0-1 Meta



109
110
111
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 109

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



115
116
117
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 115

def modifierExtension
  @modifierExtension
end

#partOfObject

0-* [ canonical ]



121
122
123
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 121

def partOf
  @partOf
end

#propertyGroupObject

0-* [ ChargeItemDefinition::PropertyGroup ]



138
139
140
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 138

def propertyGroup
  @propertyGroup
end

#publisherObject

0-1 string



126
127
128
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 126

def publisher
  @publisher
end

#replacesObject

0-* [ canonical ]



122
123
124
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 122

def replaces
  @replaces
end

#statusObject

1-1 code



123
124
125
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 123

def status
  @status
end

#textObject

0-1 Narrative



112
113
114
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 112

def text
  @text
end

#titleObject

0-1 string



119
120
121
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 119

def title
  @title
end

#urlObject

1-1 uri



116
117
118
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 116

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



129
130
131
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 129

def useContext
  @useContext
end

#versionObject

0-1 string



118
119
120
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 118

def version
  @version
end

Instance Method Details

#resourceTypeObject



140
141
142
# File 'lib/fhir_models/fhir/resources/ChargeItemDefinition.rb', line 140

def resourceType
  'ChargeItemDefinition'
end