Class: FHIR::Parameters::Parameter
- Defined in:
- lib/fhir_models/fhir/resources/Parameters.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'value' => ['base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'Address', 'Age', 'Annotation', 'Attachment', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'HumanName', 'Identifier', 'Money', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing', 'Meta'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'Parameter.name', 'min'=>1, 'max'=>1}, 'valueBase64Binary' => {'type'=>'base64Binary', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueBoolean' => {'type'=>'boolean', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueCode' => {'type'=>'code', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueDate' => {'type'=>'date', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueDateTime' => {'type'=>'dateTime', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueDecimal' => {'type'=>'decimal', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueId' => {'type'=>'id', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueInstant' => {'type'=>'instant', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueInteger' => {'type'=>'integer', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueMarkdown' => {'type'=>'markdown', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueOid' => {'type'=>'oid', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valuePositiveInt' => {'type'=>'positiveInt', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueString' => {'type'=>'string', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueTime' => {'type'=>'time', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueUri' => {'type'=>'uri', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueAddress' => {'type'=>'Address', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueAge' => {'type'=>'Age', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueAnnotation' => {'type'=>'Annotation', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueAttachment' => {'type'=>'Attachment', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueCoding' => {'type'=>'Coding', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueContactPoint' => {'type'=>'ContactPoint', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueCount' => {'type'=>'Count', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueDistance' => {'type'=>'Distance', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueDuration' => {'type'=>'Duration', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueHumanName' => {'type'=>'HumanName', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueIdentifier' => {'type'=>'Identifier', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueMoney' => {'type'=>'Money', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valuePeriod' => {'type'=>'Period', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueRange' => {'type'=>'Range', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueRatio' => {'type'=>'Ratio', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueReference' => {'type'=>'Reference', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueSampledData' => {'type'=>'SampledData', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueSignature' => {'type'=>'Signature', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueTiming' => {'type'=>'Timing', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueMeta' => {'type'=>'Meta', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'resource' => {'type'=>'Resource', 'path'=>'Parameter.resource', 'min'=>0, 'max'=>1}, 'part' => {'type'=>'Parameters::Parameter', 'path'=>'Parameter.part', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#part ⇒ Object
0-* [ Parameters::Parameter ].
-
#resource ⇒ Object
0-1 Resource.
-
#valueAddress ⇒ Object
0-1 Address.
-
#valueAge ⇒ Object
0-1 Age.
-
#valueAnnotation ⇒ Object
0-1 Annotation.
-
#valueAttachment ⇒ Object
0-1 Attachment.
-
#valueBase64Binary ⇒ Object
0-1 base64Binary.
-
#valueBoolean ⇒ Object
0-1 boolean.
-
#valueCode ⇒ Object
0-1 code.
-
#valueCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#valueCoding ⇒ Object
0-1 Coding.
-
#valueContactPoint ⇒ Object
0-1 ContactPoint.
-
#valueCount ⇒ Object
0-1 Count.
-
#valueDate ⇒ Object
0-1 date.
-
#valueDateTime ⇒ Object
0-1 dateTime.
-
#valueDecimal ⇒ Object
0-1 decimal.
-
#valueDistance ⇒ Object
0-1 Distance.
-
#valueDuration ⇒ Object
0-1 Duration.
-
#valueHumanName ⇒ Object
0-1 HumanName.
-
#valueId ⇒ Object
0-1 id.
-
#valueIdentifier ⇒ Object
0-1 Identifier.
-
#valueInstant ⇒ Object
0-1 instant.
-
#valueInteger ⇒ Object
0-1 integer.
-
#valueMarkdown ⇒ Object
0-1 markdown.
-
#valueMeta ⇒ Object
0-1 Meta.
-
#valueMoney ⇒ Object
0-1 Money.
-
#valueOid ⇒ Object
0-1 oid.
-
#valuePeriod ⇒ Object
0-1 Period.
-
#valuePositiveInt ⇒ Object
0-1 positiveInt.
-
#valueQuantity ⇒ Object
0-1 Quantity.
-
#valueRange ⇒ Object
0-1 Range.
-
#valueRatio ⇒ Object
0-1 Ratio.
-
#valueReference ⇒ Object
0-1 Reference().
-
#valueSampledData ⇒ Object
0-1 SampledData.
-
#valueSignature ⇒ Object
0-1 Signature.
-
#valueString ⇒ Object
0-1 string.
-
#valueTime ⇒ Object
0-1 time.
-
#valueTiming ⇒ Object
0-1 Timing.
-
#valueUnsignedInt ⇒ Object
0-1 unsignedInt.
-
#valueUri ⇒ Object
0-1 uri.
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
#extension ⇒ Object
0-* [ Extension ]
72 73 74 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 72 def extension @extension end |
#id ⇒ Object
0-1 string
71 72 73 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 71 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
73 74 75 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 73 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
74 75 76 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 74 def name @name end |
#part ⇒ Object
0-* [ Parameters::Parameter ]
114 115 116 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 114 def part @part end |
#resource ⇒ Object
0-1 Resource
113 114 115 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 113 def resource @resource end |
#valueAddress ⇒ Object
0-1 Address
91 92 93 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 91 def valueAddress @valueAddress end |
#valueAge ⇒ Object
0-1 Age
92 93 94 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 92 def valueAge @valueAge end |
#valueAnnotation ⇒ Object
0-1 Annotation
93 94 95 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 93 def valueAnnotation @valueAnnotation end |
#valueAttachment ⇒ Object
0-1 Attachment
94 95 96 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 94 def valueAttachment @valueAttachment end |
#valueBase64Binary ⇒ Object
0-1 base64Binary
75 76 77 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 75 def valueBase64Binary @valueBase64Binary end |
#valueBoolean ⇒ Object
0-1 boolean
76 77 78 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 76 def valueBoolean @valueBoolean end |
#valueCode ⇒ Object
0-1 code
77 78 79 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 77 def valueCode @valueCode end |
#valueCodeableConcept ⇒ Object
0-1 CodeableConcept
95 96 97 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 95 def valueCodeableConcept @valueCodeableConcept end |
#valueCoding ⇒ Object
0-1 Coding
96 97 98 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 96 def valueCoding @valueCoding end |
#valueContactPoint ⇒ Object
0-1 ContactPoint
97 98 99 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 97 def valueContactPoint @valueContactPoint end |
#valueCount ⇒ Object
0-1 Count
98 99 100 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 98 def valueCount @valueCount end |
#valueDate ⇒ Object
0-1 date
78 79 80 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 78 def valueDate @valueDate end |
#valueDateTime ⇒ Object
0-1 dateTime
79 80 81 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 79 def valueDateTime @valueDateTime end |
#valueDecimal ⇒ Object
0-1 decimal
80 81 82 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 80 def valueDecimal @valueDecimal end |
#valueDistance ⇒ Object
0-1 Distance
99 100 101 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 99 def valueDistance @valueDistance end |
#valueDuration ⇒ Object
0-1 Duration
100 101 102 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 100 def valueDuration @valueDuration end |
#valueHumanName ⇒ Object
0-1 HumanName
101 102 103 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 101 def valueHumanName @valueHumanName end |
#valueId ⇒ Object
0-1 id
81 82 83 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 81 def valueId @valueId end |
#valueIdentifier ⇒ Object
0-1 Identifier
102 103 104 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 102 def valueIdentifier @valueIdentifier end |
#valueInstant ⇒ Object
0-1 instant
82 83 84 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 82 def valueInstant @valueInstant end |
#valueInteger ⇒ Object
0-1 integer
83 84 85 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 83 def valueInteger @valueInteger end |
#valueMarkdown ⇒ Object
0-1 markdown
84 85 86 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 84 def valueMarkdown @valueMarkdown end |
#valueMeta ⇒ Object
0-1 Meta
112 113 114 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 112 def valueMeta @valueMeta end |
#valueMoney ⇒ Object
0-1 Money
103 104 105 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 103 def valueMoney @valueMoney end |
#valueOid ⇒ Object
0-1 oid
85 86 87 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 85 def valueOid @valueOid end |
#valuePeriod ⇒ Object
0-1 Period
104 105 106 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 104 def valuePeriod @valuePeriod end |
#valuePositiveInt ⇒ Object
0-1 positiveInt
86 87 88 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 86 def valuePositiveInt @valuePositiveInt end |
#valueQuantity ⇒ Object
0-1 Quantity
105 106 107 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 105 def valueQuantity @valueQuantity end |
#valueRange ⇒ Object
0-1 Range
106 107 108 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 106 def valueRange @valueRange end |
#valueRatio ⇒ Object
0-1 Ratio
107 108 109 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 107 def valueRatio @valueRatio end |
#valueReference ⇒ Object
0-1 Reference()
108 109 110 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 108 def valueReference @valueReference end |
#valueSampledData ⇒ Object
0-1 SampledData
109 110 111 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 109 def valueSampledData @valueSampledData end |
#valueSignature ⇒ Object
0-1 Signature
110 111 112 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 110 def valueSignature @valueSignature end |
#valueString ⇒ Object
0-1 string
87 88 89 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 87 def valueString @valueString end |
#valueTime ⇒ Object
0-1 time
88 89 90 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 88 def valueTime @valueTime end |
#valueTiming ⇒ Object
0-1 Timing
111 112 113 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 111 def valueTiming @valueTiming end |
#valueUnsignedInt ⇒ Object
0-1 unsignedInt
89 90 91 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 89 def valueUnsignedInt @valueUnsignedInt end |
#valueUri ⇒ Object
0-1 uri
90 91 92 |
# File 'lib/fhir_models/fhir/resources/Parameters.rb', line 90 def valueUri @valueUri end |