Class: FHIR::DSTU2::Identifier

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_dstu2_models/fhir/types/Identifier.rb

Constant Summary collapse

SEARCH_PARAMS =
METADATA = {
  'id' => { 'type' => 'id', 'path' => 'Identifier.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Identifier.extension', 'min' => 0, 'max' => Float::INFINITY },
  'use' => { 'valid_codes' => { 'http://hl7.org/fhir/identifier-use' => ['usual', 'official', 'temp', 'secondary'] }, 'type' => 'code', 'path' => 'Identifier.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/identifier-use' } },
  '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' => 'Identifier.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/identifier-type' } },
  'system' => { 'type' => 'uri', 'path' => 'Identifier.system', 'min' => 0, 'max' => 1 },
  'value' => { 'type' => 'string', 'path' => 'Identifier.value', 'min' => 0, 'max' => 1 },
  'period' => { 'type' => 'Period', 'path' => 'Identifier.period', 'min' => 0, 'max' => 1 },
  'assigner' => { 'type' => 'Reference', 'path' => 'Identifier.assigner', 'min' => 0, 'max' => 1 }
}

Instance Attribute Summary collapse

Method Summary

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

#assignerObject

0-1 Reference()



27
28
29
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 27

def assigner
  @assigner
end

#extensionObject

0-* [ Extension ]



21
22
23
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 21

def extension
  @extension
end

#idObject

0-1 id



20
21
22
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 20

def id
  @id
end

#periodObject

0-1 Period



26
27
28
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 26

def period
  @period
end

#systemObject

0-1 uri



24
25
26
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 24

def system
  @system
end

#typeObject

0-1 CodeableConcept



23
24
25
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 23

def type
  @type
end

#useObject

0-1 code



22
23
24
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 22

def use
  @use
end

#valueObject

0-1 string



25
26
27
# File 'lib/fhir_dstu2_models/fhir/types/Identifier.rb', line 25

def value
  @value
end