Class: FHIR::DSTU2::OperationDefinition
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb
Defined Under Namespace
Constant Summary collapse
- SEARCH_PARAMS =
['base', 'code', 'date', 'instance', 'kind', 'name', 'profile', 'publisher', 'status', 'system', 'type', 'url', 'version']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'OperationDefinition.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'OperationDefinition.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'OperationDefinition.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'OperationDefinition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, 'text' => {'type'=>'Narrative', 'path'=>'OperationDefinition.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'OperationDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'OperationDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'OperationDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'OperationDefinition.url', 'min'=>0, 'max'=>1}, 'version' => {'type'=>'string', 'path'=>'OperationDefinition.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'OperationDefinition.name', 'min'=>1, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'OperationDefinition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}}, 'kind' => {'valid_codes'=>{'http://hl7.org/fhir/operation-kind'=>['operation', 'query']}, 'type'=>'code', 'path'=>'OperationDefinition.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/operation-kind'}}, 'experimental' => {'type'=>'boolean', 'path'=>'OperationDefinition.experimental', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'OperationDefinition.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'OperationDefinition::Contact', 'path'=>'OperationDefinition.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'date' => {'type'=>'dateTime', 'path'=>'OperationDefinition.date', 'min'=>0, 'max'=>1}, 'description' => {'type'=>'string', 'path'=>'OperationDefinition.description', 'min'=>0, 'max'=>1}, 'requirements' => {'type'=>'string', 'path'=>'OperationDefinition.requirements', 'min'=>0, 'max'=>1}, 'idempotent' => {'type'=>'boolean', 'path'=>'OperationDefinition.idempotent', 'min'=>0, 'max'=>1}, 'code' => {'type'=>'code', 'path'=>'OperationDefinition.code', 'min'=>1, 'max'=>1}, 'notes' => {'type'=>'string', 'path'=>'OperationDefinition.notes', 'min'=>0, 'max'=>1}, 'base' => {'type'=>'Reference', 'path'=>'OperationDefinition.base', 'min'=>0, 'max'=>1}, 'system' => {'type'=>'boolean', 'path'=>'OperationDefinition.system', 'min'=>1, 'max'=>1}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'OperationDefinition.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, 'instance' => {'type'=>'boolean', 'path'=>'OperationDefinition.instance', 'min'=>1, 'max'=>1}, 'parameter' => {'type'=>'OperationDefinition::Parameter', 'path'=>'OperationDefinition.parameter', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#base ⇒ Object
0-1 Reference().
-
#code ⇒ Object
1-1 code.
-
#contact ⇒ Object
0-* [ OperationDefinition::Contact ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#idempotent ⇒ Object
0-1 boolean.
-
#implicitRules ⇒ Object
0-1 uri.
-
#instance ⇒ Object
1-1 boolean.
-
#kind ⇒ Object
1-1 code.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#notes ⇒ Object
0-1 string.
-
#parameter ⇒ Object
0-* [ OperationDefinition::Parameter ].
-
#publisher ⇒ Object
0-1 string.
-
#requirements ⇒ Object
0-1 string.
-
#status ⇒ Object
1-1 code.
-
#system ⇒ Object
1-1 boolean.
-
#text ⇒ Object
0-1 Narrative.
-
#type ⇒ Object
0-* [ code ].
-
#url ⇒ Object
0-1 uri.
-
#version ⇒ Object
0-1 string.
Instance Method Summary collapse
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?, #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
#base ⇒ Object
0-1 Reference()
140 141 142 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 140 def base @base end |
#code ⇒ Object
1-1 code
138 139 140 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 138 def code @code end |
#contact ⇒ Object
0-* [ OperationDefinition::Contact ]
133 134 135 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 133 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
123 124 125 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 123 def contained @contained end |
#date ⇒ Object
0-1 dateTime
134 135 136 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 134 def date @date end |
#description ⇒ Object
0-1 string
135 136 137 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 135 def description @description end |
#experimental ⇒ Object
0-1 boolean
131 132 133 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 131 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
124 125 126 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 124 def extension @extension end |
#id ⇒ Object
0-1 id
118 119 120 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 118 def id @id end |
#idempotent ⇒ Object
0-1 boolean
137 138 139 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 137 def idempotent @idempotent end |
#implicitRules ⇒ Object
0-1 uri
120 121 122 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 120 def implicitRules @implicitRules end |
#instance ⇒ Object
1-1 boolean
143 144 145 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 143 def instance @instance end |
#kind ⇒ Object
1-1 code
130 131 132 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 130 def kind @kind end |
#language ⇒ Object
0-1 code
121 122 123 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 121 def language @language end |
#meta ⇒ Object
0-1 Meta
119 120 121 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 119 def end |
#modifierExtension ⇒ Object
0-* [ Extension ]
125 126 127 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 125 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
128 129 130 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 128 def name @name end |
#notes ⇒ Object
0-1 string
139 140 141 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 139 def notes @notes end |
#parameter ⇒ Object
0-* [ OperationDefinition::Parameter ]
144 145 146 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 144 def parameter @parameter end |
#publisher ⇒ Object
0-1 string
132 133 134 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 132 def publisher @publisher end |
#requirements ⇒ Object
0-1 string
136 137 138 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 136 def requirements @requirements end |
#status ⇒ Object
1-1 code
129 130 131 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 129 def status @status end |
#system ⇒ Object
1-1 boolean
141 142 143 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 141 def system @system end |
#text ⇒ Object
0-1 Narrative
122 123 124 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 122 def text @text end |
#type ⇒ Object
0-* [ code ]
142 143 144 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 142 def type @type end |
#url ⇒ Object
0-1 uri
126 127 128 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 126 def url @url end |
#version ⇒ Object
0-1 string
127 128 129 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 127 def version @version end |
Instance Method Details
#resourceType ⇒ Object
146 147 148 |
# File 'lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb', line 146 def resourceType 'OperationDefinition' end |