Class: FHIR::ConceptMap
- Defined in:
- lib/fhir_models/fhir/resources/ConceptMap.rb
Defined Under Namespace
Classes: Group
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'source' => ['uri', 'canonical'], 'target' => ['uri', 'canonical'] }
- SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'date', 'description', 'jurisdiction', 'name', 'publisher', 'status', 'title', 'url', 'version', 'identifier', 'dependson', 'other', 'product', 'source', 'source-code', 'source-system', 'source-uri', 'target', 'target-code', 'target-system', 'target-uri']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'ConceptMap.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'ConceptMap.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'ConceptMap.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'=>'ConceptMap.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'ConceptMap.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'ConceptMap.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'ConceptMap.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ConceptMap.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'ConceptMap.url', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'ConceptMap.identifier', 'min'=>0, 'max'=>1}, 'version' => {'type'=>'string', 'path'=>'ConceptMap.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'ConceptMap.name', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'ConceptMap.title', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'ConceptMap.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}}, 'experimental' => {'type'=>'boolean', 'path'=>'ConceptMap.experimental', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'ConceptMap.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'ConceptMap.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'ConceptMap.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'ConceptMap.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'ConceptMap.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'ConceptMap.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'purpose' => {'type'=>'markdown', 'path'=>'ConceptMap.purpose', 'min'=>0, 'max'=>1}, 'copyright' => {'type'=>'markdown', 'path'=>'ConceptMap.copyright', 'min'=>0, 'max'=>1}, 'sourceUri' => {'type'=>'uri', 'path'=>'ConceptMap.source[x]', 'min'=>0, 'max'=>1}, 'sourceCanonical' => {'type'=>'canonical', 'path'=>'ConceptMap.source[x]', 'min'=>0, 'max'=>1}, 'targetUri' => {'type'=>'uri', 'path'=>'ConceptMap.target[x]', 'min'=>0, 'max'=>1}, 'targetCanonical' => {'type'=>'canonical', 'path'=>'ConceptMap.target[x]', 'min'=>0, 'max'=>1}, 'group' => {'type'=>'ConceptMap::Group', 'path'=>'ConceptMap.group', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 markdown.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 markdown.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#group ⇒ Object
0-* [ ConceptMap::Group ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-1 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.
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 markdown.
-
#sourceCanonical ⇒ Object
0-1 canonical.
-
#sourceUri ⇒ Object
0-1 uri.
-
#status ⇒ Object
1-1 code.
-
#targetCanonical ⇒ Object
0-1 canonical.
-
#targetUri ⇒ Object
0-1 uri.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
-
#url ⇒ Object
0-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
#contact ⇒ Object
0-* [ ContactDetail ]
186 187 188 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 186 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
174 175 176 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 174 def contained @contained end |
#copyright ⇒ Object
0-1 markdown
191 192 193 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 191 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
184 185 186 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 184 def date @date end |
#description ⇒ Object
0-1 markdown
187 188 189 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 187 def description @description end |
#experimental ⇒ Object
0-1 boolean
183 184 185 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 183 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
175 176 177 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 175 def extension @extension end |
#group ⇒ Object
0-* [ ConceptMap::Group ]
196 197 198 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 196 def group @group end |
#id ⇒ Object
0-1 id
169 170 171 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 169 def id @id end |
#identifier ⇒ Object
0-1 Identifier
178 179 180 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 178 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
171 172 173 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 171 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
189 190 191 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 189 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
172 173 174 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 172 def language @language end |
#meta ⇒ Object
0-1 Meta
170 171 172 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 170 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
176 177 178 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 176 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
180 181 182 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 180 def name @name end |
#publisher ⇒ Object
0-1 string
185 186 187 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 185 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
190 191 192 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 190 def purpose @purpose end |
#sourceCanonical ⇒ Object
0-1 canonical
193 194 195 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 193 def sourceCanonical @sourceCanonical end |
#sourceUri ⇒ Object
0-1 uri
192 193 194 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 192 def sourceUri @sourceUri end |
#status ⇒ Object
1-1 code
182 183 184 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 182 def status @status end |
#targetCanonical ⇒ Object
0-1 canonical
195 196 197 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 195 def targetCanonical @targetCanonical end |
#targetUri ⇒ Object
0-1 uri
194 195 196 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 194 def targetUri @targetUri end |
#text ⇒ Object
0-1 Narrative
173 174 175 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 173 def text @text end |
#title ⇒ Object
0-1 string
181 182 183 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 181 def title @title end |
#url ⇒ Object
0-1 uri
177 178 179 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 177 def url @url end |
#useContext ⇒ Object
0-* [ UsageContext ]
188 189 190 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 188 def useContext @useContext end |
#version ⇒ Object
0-1 string
179 180 181 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 179 def version @version end |
Instance Method Details
#resourceType ⇒ Object
198 199 200 |
# File 'lib/fhir_models/fhir/resources/ConceptMap.rb', line 198 def resourceType 'ConceptMap' end |