Class: FHIR::Identifier

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_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', 'old']}, 'type'=>'code', 'path'=>'Identifier.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/identifier-use|4.0.0'}},
  'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v2-0203'=>['DL', 'PPN', 'BRN', 'MR', 'MCN', 'EN', 'TAX', 'NIIP', 'PRN', 'MD', 'DR', 'ACSN', 'UDI', 'SNO', 'SB', 'PLAC', 'FILL', 'JHN']}, '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, #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

#assignerObject

0-1 Reference(Organization)



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

def assigner
  @assigner
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



19
20
21
# File 'lib/fhir_models/fhir/types/Identifier.rb', line 19

def id
  @id
end

#periodObject

0-1 Period



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

def period
  @period
end

#systemObject

0-1 uri



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

def system
  @system
end

#typeObject

0-1 CodeableConcept



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

def type
  @type
end

#useObject

0-1 code



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

def use
  @use
end

#valueObject

0-1 string



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

def value
  @value
end