Class: FHIR::Composition::Attester

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Attester.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Attester.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Attester.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'mode' => {'valid_codes'=>{'http://hl7.org/fhir/composition-attestation-mode'=>['personal', 'professional', 'legal', 'official', 'personal', 'professional', 'legal', 'official']}, 'type'=>'code', 'path'=>'Attester.mode', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/composition-attestation-mode'}},
  'time' => {'type'=>'dateTime', 'path'=>'Attester.time', 'min'=>0, 'max'=>1},
  'party' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Attester.party', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

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?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#extensionObject

0-* [ Extension ]



48
49
50
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 48

def extension
  @extension
end

#idObject

0-1 string



47
48
49
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 47

def id
  @id
end

#modeObject

1-* [ code ]



50
51
52
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 50

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



49
50
51
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 49

def modifierExtension
  @modifierExtension
end

#partyObject

0-1 Reference(Patient|Practitioner|Organization)



52
53
54
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 52

def party
  @party
end

#timeObject

0-1 dateTime



51
52
53
# File 'lib/fhir_models/fhir/resources/Composition.rb', line 51

def time
  @time
end