Class: FHIR::CodeSystem
- Defined in:
- lib/fhir_models/fhir/resources/CodeSystem.rb
Defined Under Namespace
Classes: Concept, Filter, Property
Constant Summary collapse
- SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'date', 'description', 'jurisdiction', 'name', 'publisher', 'status', 'title', 'url', 'version', 'code', 'content-mode', 'identifier', 'language', 'supplements', 'system']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'CodeSystem.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'CodeSystem.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'CodeSystem.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'=>'CodeSystem.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'CodeSystem.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'CodeSystem.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'CodeSystem.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'CodeSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'CodeSystem.url', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'CodeSystem.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'version' => {'type'=>'string', 'path'=>'CodeSystem.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'CodeSystem.name', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'CodeSystem.title', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'CodeSystem.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}}, 'experimental' => {'type'=>'boolean', 'path'=>'CodeSystem.experimental', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'CodeSystem.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'CodeSystem.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'CodeSystem.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'CodeSystem.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'CodeSystem.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'CodeSystem.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'purpose' => {'type'=>'markdown', 'path'=>'CodeSystem.purpose', 'min'=>0, 'max'=>1}, 'copyright' => {'type'=>'markdown', 'path'=>'CodeSystem.copyright', 'min'=>0, 'max'=>1}, 'caseSensitive' => {'type'=>'boolean', 'path'=>'CodeSystem.caseSensitive', 'min'=>0, 'max'=>1}, 'valueSet' => {'type'=>'canonical', 'path'=>'CodeSystem.valueSet', 'min'=>0, 'max'=>1}, 'hierarchyMeaning' => {'valid_codes'=>{'http://hl7.org/fhir/codesystem-hierarchy-meaning'=>['grouped-by', 'is-a', 'part-of', 'classified-with']}, 'type'=>'code', 'path'=>'CodeSystem.hierarchyMeaning', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|4.0.0'}}, 'compositional' => {'type'=>'boolean', 'path'=>'CodeSystem.compositional', 'min'=>0, 'max'=>1}, 'versionNeeded' => {'type'=>'boolean', 'path'=>'CodeSystem.versionNeeded', 'min'=>0, 'max'=>1}, 'content' => {'valid_codes'=>{'http://hl7.org/fhir/codesystem-content-mode'=>['not-present', 'example', 'fragment', 'complete', 'supplement']}, 'type'=>'code', 'path'=>'CodeSystem.content', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/codesystem-content-mode|4.0.0'}}, 'supplements' => {'type'=>'canonical', 'path'=>'CodeSystem.supplements', 'min'=>0, 'max'=>1}, 'count' => {'type'=>'unsignedInt', 'path'=>'CodeSystem.count', 'min'=>0, 'max'=>1}, 'filter' => {'type'=>'CodeSystem::Filter', 'path'=>'CodeSystem.filter', 'min'=>0, 'max'=>Float::INFINITY}, 'property' => {'type'=>'CodeSystem::Property', 'path'=>'CodeSystem.property', 'min'=>0, 'max'=>Float::INFINITY}, 'concept' => {'type'=>'CodeSystem::Concept', 'path'=>'CodeSystem.concept', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#caseSensitive ⇒ Object
0-1 boolean.
-
#compositional ⇒ Object
0-1 boolean.
-
#concept ⇒ Object
0-* [ CodeSystem::Concept ].
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#content ⇒ Object
1-1 code.
-
#copyright ⇒ Object
0-1 markdown.
-
#count ⇒ Object
0-1 unsignedInt.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 markdown.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#filter ⇒ Object
0-* [ CodeSystem::Filter ].
-
#hierarchyMeaning ⇒ Object
0-1 code.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#property ⇒ Object
0-* [ CodeSystem::Property ].
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 markdown.
-
#status ⇒ Object
1-1 code.
-
#supplements ⇒ Object
0-1 canonical.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
-
#url ⇒ Object
0-1 uri.
-
#useContext ⇒ Object
0-* [ UsageContext ].
-
#valueSet ⇒ Object
0-1 canonical.
-
#version ⇒ Object
0-1 string.
-
#versionNeeded ⇒ Object
0-1 boolean.
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
#caseSensitive ⇒ Object
0-1 boolean
201 202 203 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 201 def caseSensitive @caseSensitive end |
#compositional ⇒ Object
0-1 boolean
204 205 206 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 204 def compositional @compositional end |
#concept ⇒ Object
0-* [ CodeSystem::Concept ]
211 212 213 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 211 def concept @concept end |
#contact ⇒ Object
0-* [ ContactDetail ]
195 196 197 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 195 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
183 184 185 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 183 def contained @contained end |
#content ⇒ Object
1-1 code
206 207 208 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 206 def content @content end |
#copyright ⇒ Object
0-1 markdown
200 201 202 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 200 def copyright @copyright end |
#count ⇒ Object
0-1 unsignedInt
208 209 210 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 208 def count @count end |
#date ⇒ Object
0-1 dateTime
193 194 195 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 193 def date @date end |
#description ⇒ Object
0-1 markdown
196 197 198 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 196 def description @description end |
#experimental ⇒ Object
0-1 boolean
192 193 194 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 192 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
184 185 186 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 184 def extension @extension end |
#filter ⇒ Object
0-* [ CodeSystem::Filter ]
209 210 211 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 209 def filter @filter end |
#hierarchyMeaning ⇒ Object
0-1 code
203 204 205 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 203 def hierarchyMeaning @hierarchyMeaning end |
#id ⇒ Object
0-1 id
178 179 180 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 178 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
187 188 189 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 187 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
180 181 182 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 180 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
198 199 200 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 198 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
181 182 183 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 181 def language @language end |
#meta ⇒ Object
0-1 Meta
179 180 181 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 179 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
185 186 187 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 185 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
189 190 191 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 189 def name @name end |
#property ⇒ Object
0-* [ CodeSystem::Property ]
210 211 212 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 210 def property @property end |
#publisher ⇒ Object
0-1 string
194 195 196 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 194 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
199 200 201 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 199 def purpose @purpose end |
#status ⇒ Object
1-1 code
191 192 193 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 191 def status @status end |
#supplements ⇒ Object
0-1 canonical
207 208 209 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 207 def supplements @supplements end |
#text ⇒ Object
0-1 Narrative
182 183 184 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 182 def text @text end |
#title ⇒ Object
0-1 string
190 191 192 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 190 def title @title end |
#url ⇒ Object
0-1 uri
186 187 188 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 186 def url @url end |
#useContext ⇒ Object
0-* [ UsageContext ]
197 198 199 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 197 def useContext @useContext end |
#valueSet ⇒ Object
0-1 canonical
202 203 204 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 202 def valueSet @valueSet end |
#version ⇒ Object
0-1 string
188 189 190 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 188 def version @version end |
#versionNeeded ⇒ Object
0-1 boolean
205 206 207 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 205 def versionNeeded @versionNeeded end |
Instance Method Details
#resourceType ⇒ Object
213 214 215 |
# File 'lib/fhir_models/fhir/resources/CodeSystem.rb', line 213 def resourceType 'CodeSystem' end |