Class: FHIR::STU3::ExpansionProfile

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb

Defined Under Namespace

Classes: Designation, ExcludedSystem, FixedVersion

Constant Summary collapse

SEARCH_PARAMS =
['date', 'description', 'identifier', 'jurisdiction', 'name', 'publisher', 'status', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'ExpansionProfile.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'ExpansionProfile.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'ExpansionProfile.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', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-SP', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'ExpansionProfile.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'ExpansionProfile.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'ExpansionProfile.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'ExpansionProfile.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ExpansionProfile.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'ExpansionProfile.url', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'ExpansionProfile.identifier', 'min'=>0, 'max'=>1},
  'version' => {'type'=>'string', 'path'=>'ExpansionProfile.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'ExpansionProfile.name', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'ExpansionProfile.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}},
  'experimental' => {'type'=>'boolean', 'path'=>'ExpansionProfile.experimental', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'ExpansionProfile.date', 'min'=>0, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'ExpansionProfile.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'ExpansionProfile.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'ExpansionProfile.description', 'min'=>0, 'max'=>1},
  'useContext' => {'type'=>'UsageContext', 'path'=>'ExpansionProfile.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AN', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BU', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CS', 'CT', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DD', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DY', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FQ', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'HV', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'JT', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MI', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NH', 'NI', 'NL', 'NO', 'NP', 'NQ', 'NR', 'NT', 'NU', 'NZ', 'OM', 'PA', 'PC', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PU', 'PW', 'PY', 'PZ', 'QA', 'RE', 'RH', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SU', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TP', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VD', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WK', 'WS', 'YD', 'YE', 'YT', 'YU', 'ZA', 'ZM', 'ZR', 'ZW'], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>['001', '002', '014', '017', '015', '018', '011', '019', '419', '029', '013', '005', '021', '142', '143', '030', '034', '035', '145', '150', '151', '154', '039', '155', '009', '053', '054', '057', '061'], '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'], nil=>[]}, 'type'=>'CodeableConcept', 'path'=>'ExpansionProfile.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'fixedVersion' => {'type'=>'ExpansionProfile::FixedVersion', 'path'=>'ExpansionProfile.fixedVersion', 'min'=>0, 'max'=>Float::INFINITY},
  'excludedSystem' => {'type'=>'ExpansionProfile::ExcludedSystem', 'path'=>'ExpansionProfile.excludedSystem', 'min'=>0, 'max'=>1},
  'includeDesignations' => {'type'=>'boolean', 'path'=>'ExpansionProfile.includeDesignations', 'min'=>0, 'max'=>1},
  'designation' => {'type'=>'ExpansionProfile::Designation', 'path'=>'ExpansionProfile.designation', 'min'=>0, 'max'=>1},
  'includeDefinition' => {'type'=>'boolean', 'path'=>'ExpansionProfile.includeDefinition', 'min'=>0, 'max'=>1},
  'activeOnly' => {'type'=>'boolean', 'path'=>'ExpansionProfile.activeOnly', 'min'=>0, 'max'=>1},
  'excludeNested' => {'type'=>'boolean', 'path'=>'ExpansionProfile.excludeNested', 'min'=>0, 'max'=>1},
  'excludeNotForUI' => {'type'=>'boolean', 'path'=>'ExpansionProfile.excludeNotForUI', 'min'=>0, 'max'=>1},
  'excludePostCoordinated' => {'type'=>'boolean', 'path'=>'ExpansionProfile.excludePostCoordinated', 'min'=>0, 'max'=>1},
  'displayLanguage' => {'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', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-SP', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'ExpansionProfile.displayLanguage', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'limitedExpansion' => {'type'=>'boolean', 'path'=>'ExpansionProfile.limitedExpansion', 'min'=>0, 'max'=>1}
}

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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::STU3::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model

Instance Attribute Details

#activeOnlyObject

0-1 boolean



206
207
208
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 206

def activeOnly
  @activeOnly
end

#contactObject

0-* [ ContactDetail ]



197
198
199
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 197

def contact
  @contact
end

#containedObject

0-* [ Resource ]



186
187
188
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 186

def contained
  @contained
end

#dateObject

0-1 dateTime



195
196
197
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 195

def date
  @date
end

#descriptionObject

0-1 markdown



198
199
200
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 198

def description
  @description
end

#designationObject

0-1 ExpansionProfile::Designation



204
205
206
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 204

def designation
  @designation
end

#displayLanguageObject

0-1 code



210
211
212
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 210

def displayLanguage
  @displayLanguage
end

#excludedSystemObject

0-1 ExpansionProfile::ExcludedSystem



202
203
204
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 202

def excludedSystem
  @excludedSystem
end

#excludeNestedObject

0-1 boolean



207
208
209
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 207

def excludeNested
  @excludeNested
end

#excludeNotForUIObject

0-1 boolean



208
209
210
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 208

def excludeNotForUI
  @excludeNotForUI
end

#excludePostCoordinatedObject

0-1 boolean



209
210
211
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 209

def excludePostCoordinated
  @excludePostCoordinated
end

#experimentalObject

0-1 boolean



194
195
196
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 194

def experimental
  @experimental
end

#extensionObject

0-* [ Extension ]



187
188
189
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 187

def extension
  @extension
end

#fixedVersionObject

0-* [ ExpansionProfile::FixedVersion ]



201
202
203
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 201

def fixedVersion
  @fixedVersion
end

#idObject

0-1 id



181
182
183
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 181

def id
  @id
end

#identifierObject

0-1 Identifier



190
191
192
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 190

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



183
184
185
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 183

def implicitRules
  @implicitRules
end

#includeDefinitionObject

0-1 boolean



205
206
207
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 205

def includeDefinition
  @includeDefinition
end

#includeDesignationsObject

0-1 boolean



203
204
205
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 203

def includeDesignations
  @includeDesignations
end

#jurisdictionObject

0-* [ CodeableConcept ]



200
201
202
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 200

def jurisdiction
  @jurisdiction
end

#languageObject

0-1 code



184
185
186
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 184

def language
  @language
end

#limitedExpansionObject

0-1 boolean



211
212
213
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 211

def limitedExpansion
  @limitedExpansion
end

#metaObject

0-1 Meta



182
183
184
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 182

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



188
189
190
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 188

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



192
193
194
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 192

def name
  @name
end

#publisherObject

0-1 string



196
197
198
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 196

def publisher
  @publisher
end

#statusObject

1-1 code



193
194
195
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 193

def status
  @status
end

#textObject

0-1 Narrative



185
186
187
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 185

def text
  @text
end

#urlObject

0-1 uri



189
190
191
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 189

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



199
200
201
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 199

def useContext
  @useContext
end

#versionObject

0-1 string



191
192
193
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 191

def version
  @version
end

Instance Method Details

#resourceTypeObject



213
214
215
# File 'lib/fhir_stu3_models/fhir/resources/ExpansionProfile.rb', line 213

def resourceType
  'ExpansionProfile'
end