Class: FHIR::BiologicallyDerivedProduct::Collection
- Defined in:
- lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'collected' => ['dateTime', 'Period'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Collection.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Collection.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Collection.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'collector' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'], 'type'=>'Reference', 'path'=>'Collection.collector', 'min'=>0, 'max'=>1}, 'source' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Collection.source', 'min'=>0, 'max'=>1}, 'collectedDateTime' => {'type'=>'dateTime', 'path'=>'Collection.collected[x]', 'min'=>0, 'max'=>1}, 'collectedPeriod' => {'type'=>'Period', 'path'=>'Collection.collected[x]', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#collectedDateTime ⇒ Object
0-1 dateTime.
-
#collectedPeriod ⇒ Object
0-1 Period.
-
#collector ⇒ Object
0-1 Reference(Practitioner|PractitionerRole).
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#source ⇒ Object
0-1 Reference(Patient|Organization).
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#collectedDateTime ⇒ Object
0-1 dateTime
53 54 55 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 53 def collectedDateTime @collectedDateTime end |
#collectedPeriod ⇒ Object
0-1 Period
54 55 56 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 54 def collectedPeriod @collectedPeriod end |
#collector ⇒ Object
0-1 Reference(Practitioner|PractitionerRole)
51 52 53 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 51 def collector @collector end |
#extension ⇒ Object
0-* [ Extension ]
49 50 51 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 49 def extension @extension end |
#id ⇒ Object
0-1 string
48 49 50 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 48 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
50 51 52 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 50 def modifierExtension @modifierExtension end |
#source ⇒ Object
0-1 Reference(Patient|Organization)
52 53 54 |
# File 'lib/fhir_models/fhir/resources/BiologicallyDerivedProduct.rb', line 52 def source @source end |