Sha256: 7777ac47702b0b93b5c682184f6d1599fa7a5cac9dc281cd2f2f85df51f635de
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
module FHIR class ContactPoint < FHIR::Model include FHIR::Hashable include FHIR::Json include FHIR::Xml SEARCH_PARAMS = METADATA = { 'id' => {'type'=>'string', 'path'=>'ContactPoint.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ContactPoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'system' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-system'=>['phone', 'fax', 'email', 'pager', 'url', 'other', 'phone', 'fax', 'email', 'pager', 'url', 'other']}, 'type'=>'code', 'path'=>'ContactPoint.system', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-system'}}, 'value' => {'type'=>'string', 'path'=>'ContactPoint.value', 'min'=>0, 'max'=>1}, 'use' => {'valid_codes'=>{'http://hl7.org/fhir/contact-point-use'=>['home', 'work', 'temp', 'old', 'mobile', 'home', 'work', 'temp', 'old', 'mobile']}, 'type'=>'code', 'path'=>'ContactPoint.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contact-point-use'}}, 'rank' => {'type'=>'positiveInt', 'path'=>'ContactPoint.rank', 'min'=>0, 'max'=>1}, 'period' => {'type'=>'Period', 'path'=>'ContactPoint.period', 'min'=>0, 'max'=>1} } attr_accessor :id # 0-1 string attr_accessor :extension # 0-* [ Extension ] attr_accessor :system # 0-1 code attr_accessor :value # 0-1 string attr_accessor :use # 0-1 code attr_accessor :rank # 0-1 positiveInt attr_accessor :period # 0-1 Period end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fhir_models-1.8.3 | lib/fhir_models/fhir/types/ContactPoint.rb |
fhir_models-1.8.2 | lib/fhir_models/fhir/types/ContactPoint.rb |
fhir_models-1.8.1 | lib/fhir_models/fhir/types/ContactPoint.rb |