Class: FHIR::R4B::Parameters::Parameter

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'value' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'url', 'uuid', 'Address', 'Age', 'Annotation', 'Attachment', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'HumanName', 'Identifier', 'Money', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing', 'ContactDetail', 'Contributor', 'DataRequirement', 'Expression', 'ParameterDefinition', 'RelatedArtifact', 'TriggerDefinition', 'UsageContext', 'Dosage', '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},
  'valueCanonical' => {'type'=>'canonical', '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},
  'valueUrl' => {'type'=>'url', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueUuid' => {'type'=>'uuid', '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},
  'valueContactDetail' => {'type'=>'ContactDetail', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueContributor' => {'type'=>'Contributor', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueDataRequirement' => {'type'=>'DataRequirement', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueExpression' => {'type'=>'Expression', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueParameterDefinition' => {'type'=>'ParameterDefinition', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueRelatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueTriggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueUsageContext' => {'type'=>'UsageContext', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueDosage' => {'type'=>'Dosage', '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}
}

Constants included from FHIR::R4

FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::TYPES

Constants included from FHIR

Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription

Constants included from FHIR::R4B

FHIR::R4B::PRIMITIVES, RESOURCES, TYPES

Instance Attribute Summary collapse

Method Summary

Methods included from FHIR::R4

#fhir_version_string, #versioned_fhir_module

Methods included from FHIR

default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module

Methods included from ClassMethods

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

Methods included from FHIR::R4B

#fhir_version_string, #versioned_fhir_module

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

Methods included from Deprecate

#deprecate

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 ]



85
86
87
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 85

def extension
  @extension
end

#idObject

0-1 string



84
85
86
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 84

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



86
87
88
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 86

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 string



87
88
89
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 87

def name
  @name
end

#partObject

0-* [ Parameters::Parameter ]



139
140
141
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 139

def part
  @part
end

#resourceObject

0-1 Resource



138
139
140
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 138

def resource
  @resource
end

#valueAddressObject

0-1 Address



107
108
109
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 107

def valueAddress
  @valueAddress
end

#valueAgeObject

0-1 Age



108
109
110
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 108

def valueAge
  @valueAge
end

#valueAnnotationObject

0-1 Annotation



109
110
111
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 109

def valueAnnotation
  @valueAnnotation
end

#valueAttachmentObject

0-1 Attachment



110
111
112
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 110

def valueAttachment
  @valueAttachment
end

#valueBase64BinaryObject

0-1 base64Binary



88
89
90
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 88

def valueBase64Binary
  @valueBase64Binary
end

#valueBooleanObject

0-1 boolean



89
90
91
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 89

def valueBoolean
  @valueBoolean
end

#valueCanonicalObject

0-1 canonical



90
91
92
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 90

def valueCanonical
  @valueCanonical
end

#valueCodeObject

0-1 code



91
92
93
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 91

def valueCode
  @valueCode
end

#valueCodeableConceptObject

0-1 CodeableConcept



111
112
113
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 111

def valueCodeableConcept
  @valueCodeableConcept
end

#valueCodingObject

0-1 Coding



112
113
114
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 112

def valueCoding
  @valueCoding
end

#valueContactDetailObject

0-1 ContactDetail



128
129
130
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 128

def valueContactDetail
  @valueContactDetail
end

#valueContactPointObject

0-1 ContactPoint



113
114
115
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 113

def valueContactPoint
  @valueContactPoint
end

#valueContributorObject

0-1 Contributor



129
130
131
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 129

def valueContributor
  @valueContributor
end

#valueCountObject

0-1 Count



114
115
116
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 114

def valueCount
  @valueCount
end

#valueDataRequirementObject

0-1 DataRequirement



130
131
132
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 130

def valueDataRequirement
  @valueDataRequirement
end

#valueDateObject

0-1 date



92
93
94
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 92

def valueDate
  @valueDate
end

#valueDateTimeObject

0-1 dateTime



93
94
95
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 93

def valueDateTime
  @valueDateTime
end

#valueDecimalObject

0-1 decimal



94
95
96
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 94

def valueDecimal
  @valueDecimal
end

#valueDistanceObject

0-1 Distance



115
116
117
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 115

def valueDistance
  @valueDistance
end

#valueDosageObject

0-1 Dosage



136
137
138
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 136

def valueDosage
  @valueDosage
end

#valueDurationObject

0-1 Duration



116
117
118
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 116

def valueDuration
  @valueDuration
end

#valueExpressionObject

0-1 Expression



131
132
133
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 131

def valueExpression
  @valueExpression
end

#valueHumanNameObject

0-1 HumanName



117
118
119
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 117

def valueHumanName
  @valueHumanName
end

#valueIdObject

0-1 id



95
96
97
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 95

def valueId
  @valueId
end

#valueIdentifierObject

0-1 Identifier



118
119
120
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 118

def valueIdentifier
  @valueIdentifier
end

#valueInstantObject

0-1 instant



96
97
98
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 96

def valueInstant
  @valueInstant
end

#valueIntegerObject

0-1 integer



97
98
99
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 97

def valueInteger
  @valueInteger
end

#valueMarkdownObject

0-1 markdown



98
99
100
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 98

def valueMarkdown
  @valueMarkdown
end

#valueMetaObject

0-1 Meta



137
138
139
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 137

def valueMeta
  @valueMeta
end

#valueMoneyObject

0-1 Money



119
120
121
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 119

def valueMoney
  @valueMoney
end

#valueOidObject

0-1 oid



99
100
101
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 99

def valueOid
  @valueOid
end

#valueParameterDefinitionObject

0-1 ParameterDefinition



132
133
134
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 132

def valueParameterDefinition
  @valueParameterDefinition
end

#valuePeriodObject

0-1 Period



120
121
122
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 120

def valuePeriod
  @valuePeriod
end

#valuePositiveIntObject

0-1 positiveInt



100
101
102
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 100

def valuePositiveInt
  @valuePositiveInt
end

#valueQuantityObject

0-1 Quantity



121
122
123
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 121

def valueQuantity
  @valueQuantity
end

#valueRangeObject

0-1 Range



122
123
124
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 122

def valueRange
  @valueRange
end

#valueRatioObject

0-1 Ratio



123
124
125
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 123

def valueRatio
  @valueRatio
end

#valueReferenceObject

0-1 Reference()



124
125
126
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 124

def valueReference
  @valueReference
end

#valueRelatedArtifactObject

0-1 RelatedArtifact



133
134
135
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 133

def valueRelatedArtifact
  @valueRelatedArtifact
end

#valueSampledDataObject

0-1 SampledData



125
126
127
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 125

def valueSampledData
  @valueSampledData
end

#valueSignatureObject

0-1 Signature



126
127
128
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 126

def valueSignature
  @valueSignature
end

#valueStringObject

0-1 string



101
102
103
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 101

def valueString
  @valueString
end

#valueTimeObject

0-1 time



102
103
104
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 102

def valueTime
  @valueTime
end

#valueTimingObject

0-1 Timing



127
128
129
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 127

def valueTiming
  @valueTiming
end

#valueTriggerDefinitionObject

0-1 TriggerDefinition



134
135
136
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 134

def valueTriggerDefinition
  @valueTriggerDefinition
end

#valueUnsignedIntObject

0-1 unsignedInt



103
104
105
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 103

def valueUnsignedInt
  @valueUnsignedInt
end

#valueUriObject

0-1 uri



104
105
106
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 104

def valueUri
  @valueUri
end

#valueUrlObject

0-1 url



105
106
107
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 105

def valueUrl
  @valueUrl
end

#valueUsageContextObject

0-1 UsageContext



135
136
137
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 135

def valueUsageContext
  @valueUsageContext
end

#valueUuidObject

0-1 uuid



106
107
108
# File 'lib/fhir_models/r4b/generated/resources/Parameters.rb', line 106

def valueUuid
  @valueUuid
end