Class: FHIR::DSTU2::Parameters::Parameter
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Parameters.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'value' => ['boolean', 'integer', 'decimal', 'base64Binary', 'instant', 'string', 'uri', 'date', 'dateTime', 'time', 'code', 'oid', 'id', 'unsignedInt', 'positiveInt', 'markdown', 'Annotation', 'Attachment', 'Identifier', 'CodeableConcept', 'Coding', 'Quantity', 'Range', 'Period', 'Ratio', 'SampledData', 'Signature', 'HumanName', 'Address', 'ContactPoint', 'Timing', 'Reference', 'Meta'] }
- METADATA =
{ 'id' => { 'type' => 'id', '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 }, 'valueBoolean' => { 'type' => 'boolean', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueInteger' => { 'type' => 'integer', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueDecimal' => { 'type' => 'decimal', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueBase64Binary' => { 'type' => 'base64Binary', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueInstant' => { 'type' => 'instant', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueString' => { 'type' => 'string', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueUri' => { 'type' => 'uri', '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 }, 'valueTime' => { 'type' => 'time', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueCode' => { 'type' => 'code', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueOid' => { 'type' => 'oid', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueId' => { 'type' => 'id', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueUnsignedInt' => { 'type' => 'unsignedInt', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valuePositiveInt' => { 'type' => 'positiveInt', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueMarkdown' => { 'type' => 'markdown', '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 }, 'valueIdentifier' => { 'type' => 'Identifier', '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 }, 'valueQuantity' => { 'type' => 'Quantity', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueRange' => { 'type' => 'Range', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valuePeriod' => { 'type' => 'Period', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueRatio' => { 'type' => 'Ratio', '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 }, 'valueHumanName' => { 'type' => 'HumanName', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueAddress' => { 'type' => 'Address', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueContactPoint' => { 'type' => 'ContactPoint', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueTiming' => { 'type' => 'Timing', 'path' => 'Parameter.value[x]', 'min' => 0, 'max' => 1 }, 'valueReference' => { 'type' => 'Reference', '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 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#part ⇒ Object
0-* [ Parameters::Parameter ].
-
#resource ⇒ Object
0-1 Resource.
-
#valueAddress ⇒ Object
0-1 Address.
-
#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.
-
#valueDate ⇒ Object
0-1 date.
-
#valueDateTime ⇒ Object
0-1 dateTime.
-
#valueDecimal ⇒ Object
0-1 decimal.
-
#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.
-
#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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#extension ⇒ Object
0-* [ Extension ]
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 68 def extension @extension end |
#id ⇒ Object
0-1 id
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 67 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 69 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 70 def name @name end |
#part ⇒ Object
0-* [ Parameters::Parameter ]
105 106 107 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 105 def part @part end |
#resource ⇒ Object
0-1 Resource
104 105 106 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 104 def resource @resource end |
#valueAddress ⇒ Object
0-1 Address
99 100 101 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 99 def valueAddress @valueAddress end |
#valueAnnotation ⇒ Object
0-1 Annotation
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 87 def valueAnnotation @valueAnnotation end |
#valueAttachment ⇒ Object
0-1 Attachment
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 88 def valueAttachment @valueAttachment end |
#valueBase64Binary ⇒ Object
0-1 base64Binary
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 74 def valueBase64Binary @valueBase64Binary end |
#valueBoolean ⇒ Object
0-1 boolean
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 71 def valueBoolean @valueBoolean end |
#valueCode ⇒ Object
0-1 code
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 81 def valueCode @valueCode end |
#valueCodeableConcept ⇒ Object
0-1 CodeableConcept
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 90 def valueCodeableConcept @valueCodeableConcept end |
#valueCoding ⇒ Object
0-1 Coding
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 91 def valueCoding @valueCoding end |
#valueContactPoint ⇒ Object
0-1 ContactPoint
100 101 102 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 100 def valueContactPoint @valueContactPoint end |
#valueDate ⇒ Object
0-1 date
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 78 def valueDate @valueDate end |
#valueDateTime ⇒ Object
0-1 dateTime
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 79 def valueDateTime @valueDateTime end |
#valueDecimal ⇒ Object
0-1 decimal
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 73 def valueDecimal @valueDecimal end |
#valueHumanName ⇒ Object
0-1 HumanName
98 99 100 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 98 def valueHumanName @valueHumanName end |
#valueId ⇒ Object
0-1 id
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 83 def valueId @valueId end |
#valueIdentifier ⇒ Object
0-1 Identifier
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 89 def valueIdentifier @valueIdentifier end |
#valueInstant ⇒ Object
0-1 instant
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 75 def valueInstant @valueInstant end |
#valueInteger ⇒ Object
0-1 integer
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 72 def valueInteger @valueInteger end |
#valueMarkdown ⇒ Object
0-1 markdown
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 86 def valueMarkdown @valueMarkdown end |
#valueMeta ⇒ Object
0-1 Meta
103 104 105 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 103 def valueMeta @valueMeta end |
#valueOid ⇒ Object
0-1 oid
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 82 def valueOid @valueOid end |
#valuePeriod ⇒ Object
0-1 Period
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 94 def valuePeriod @valuePeriod end |
#valuePositiveInt ⇒ Object
0-1 positiveInt
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 85 def valuePositiveInt @valuePositiveInt end |
#valueQuantity ⇒ Object
0-1 Quantity
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 92 def valueQuantity @valueQuantity end |
#valueRange ⇒ Object
0-1 Range
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 93 def valueRange @valueRange end |
#valueRatio ⇒ Object
0-1 Ratio
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 95 def valueRatio @valueRatio end |
#valueReference ⇒ Object
0-1 Reference()
102 103 104 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 102 def valueReference @valueReference end |
#valueSampledData ⇒ Object
0-1 SampledData
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 96 def valueSampledData @valueSampledData end |
#valueSignature ⇒ Object
0-1 Signature
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 97 def valueSignature @valueSignature end |
#valueString ⇒ Object
0-1 string
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 76 def valueString @valueString end |
#valueTime ⇒ Object
0-1 time
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 80 def valueTime @valueTime end |
#valueTiming ⇒ Object
0-1 Timing
101 102 103 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 101 def valueTiming @valueTiming end |
#valueUnsignedInt ⇒ Object
0-1 unsignedInt
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 84 def valueUnsignedInt @valueUnsignedInt end |
#valueUri ⇒ Object
0-1 uri
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 77 def valueUri @valueUri end |