Class: FHIR::STU3::Identifier

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

Constant Summary collapse

SEARCH_PARAMS =
METADATA = {
  'id' => {'type'=>'string', '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/v2/0203'=>['DL', 'PPN', 'BRN', 'MR', 'MCN', 'EN', 'TAX', 'NIIP', 'PRN', 'MD', 'DR', 'ACSN'], 'http://hl7.org/fhir/identifier-type'=>['UDI', 'SNO', 'SB', 'PLAC', 'FILL']}, '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_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], '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?, #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

#assignerObject

0-1 Reference(Organization)



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

def assigner
  @assigner
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#periodObject

0-1 Period



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

def period
  @period
end

#systemObject

0-1 uri



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

def system
  @system
end

#typeObject

0-1 CodeableConcept



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

def type
  @type
end

#useObject

0-1 code



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

def use
  @use
end

#valueObject

0-1 string



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

def value
  @value
end