Class: FHIR::DSTU2::NamingSystem
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb
Defined Under Namespace
Constant Summary collapse
- SEARCH_PARAMS =
['contact', 'context', 'date', 'id-type', 'kind', 'name', 'period', 'publisher', 'replaced-by', 'responsible', 'status', 'telecom', 'type', 'value']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'NamingSystem.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'NamingSystem.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'NamingSystem.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'NamingSystem.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, 'text' => {'type'=>'Narrative', 'path'=>'NamingSystem.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'NamingSystem.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'NamingSystem.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'NamingSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'NamingSystem.name', 'min'=>1, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'NamingSystem.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/namingsystem-type'=>['codesystem', 'identifier', 'root']}, 'type'=>'code', 'path'=>'NamingSystem.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/namingsystem-type'}}, 'publisher' => {'type'=>'string', 'path'=>'NamingSystem.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'NamingSystem::Contact', 'path'=>'NamingSystem.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'responsible' => {'type'=>'string', 'path'=>'NamingSystem.responsible', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'NamingSystem.date', 'min'=>1, 'max'=>1}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/identifier-type'=>['UDI', 'SNO', 'SB', 'PLAC', 'FILL'], 'http://hl7.org/fhir/v2/0203'=>['ACSN', 'AM', 'AMA', 'AN', 'ANC', 'AND', 'ANON', 'ANT', 'APRN', 'ASID', 'An Identifier for a provider a', 'An identifier for a provi', 'An identifier for a provider r', 'BA', 'BC', 'BCT', 'BR', 'BRN', 'BSNR', 'CC', 'CONM', 'CY', 'CZ', 'DDS', 'DEA', 'DFN', 'DI', 'DL', 'DN', 'DO', 'DP', 'DPM', 'DR', 'DS', 'EI', 'EN', 'ESN', 'FI', 'GI', 'GL', 'GN', 'HC', 'IND', 'JHN', 'LACSN', 'LANR', 'LI', 'LN', 'LR', 'MA', 'MB', 'MC', 'MCD', 'MCN', 'MCR', 'MCT', 'MD', 'MI', 'MR', 'MRT', 'MS', 'NBSNR', 'NCT', 'NE', 'NH', 'NI', 'NII', 'NIIP', 'NNxxx', 'NP', 'NPI', 'OD', 'PA', 'PC', 'PCN', 'PE', 'PEN', 'PI', 'PN', 'PNT', 'PPIN', 'PPN', 'PRC', 'PRN', 'PT', 'QA', 'RI', 'RN', 'RPH', 'RR', 'RRI', 'RRP', 'SID', 'SL', 'SN', 'SP', 'SR', 'SS', 'TAX', 'TN', 'TPR', 'U', 'UPIN', 'USID', 'VN', 'VP', 'VS', 'WC', 'WCN', 'WP', 'XX']}, 'type'=>'CodeableConcept', 'path'=>'NamingSystem.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-type'}}, 'description' => {'type'=>'string', 'path'=>'NamingSystem.description', 'min'=>0, 'max'=>1}, 'useContext' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>[], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>[], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'NamingSystem.useContext', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/use-context'}}, 'usage' => {'type'=>'string', 'path'=>'NamingSystem.usage', 'min'=>0, 'max'=>1}, 'uniqueId' => {'type'=>'NamingSystem::UniqueId', 'path'=>'NamingSystem.uniqueId', 'min'=>1, 'max'=>Float::INFINITY}, 'replacedBy' => {'type'=>'Reference', 'path'=>'NamingSystem.replacedBy', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#contact ⇒ Object
0-* [ NamingSystem::Contact ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#date ⇒ Object
1-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#implicitRules ⇒ Object
0-1 uri.
-
#kind ⇒ Object
1-1 code.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#publisher ⇒ Object
0-1 string.
-
#replacedBy ⇒ Object
0-1 Reference().
-
#responsible ⇒ Object
0-1 string.
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
-
#type ⇒ Object
0-1 CodeableConcept.
-
#uniqueId ⇒ Object
1-* [ NamingSystem::UniqueId ].
-
#usage ⇒ Object
0-1 string.
-
#useContext ⇒ Object
0-* [ 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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #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
#contact ⇒ Object
0-* [ NamingSystem::Contact ]
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 89 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 82 def contained @contained end |
#date ⇒ Object
1-1 dateTime
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 91 def date @date end |
#description ⇒ Object
0-1 string
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 93 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 83 def extension @extension end |
#id ⇒ Object
0-1 id
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 77 def id @id end |
#implicitRules ⇒ Object
0-1 uri
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 79 def implicitRules @implicitRules end |
#kind ⇒ Object
1-1 code
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 87 def kind @kind end |
#language ⇒ Object
0-1 code
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 80 def language @language end |
#meta ⇒ Object
0-1 Meta
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 78 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 84 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 85 def name @name end |
#publisher ⇒ Object
0-1 string
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 88 def publisher @publisher end |
#replacedBy ⇒ Object
0-1 Reference()
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 97 def replacedBy @replacedBy end |
#responsible ⇒ Object
0-1 string
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 90 def responsible @responsible end |
#status ⇒ Object
1-1 code
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 86 def status @status end |
#text ⇒ Object
0-1 Narrative
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 81 def text @text end |
#type ⇒ Object
0-1 CodeableConcept
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 92 def type @type end |
#uniqueId ⇒ Object
1-* [ NamingSystem::UniqueId ]
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 96 def uniqueId @uniqueId end |
#usage ⇒ Object
0-1 string
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 95 def usage @usage end |
#useContext ⇒ Object
0-* [ CodeableConcept ]
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 94 def useContext @useContext end |
Instance Method Details
#resourceType ⇒ Object
99 100 101 |
# File 'lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb', line 99 def resourceType 'NamingSystem' end |