Class: FHIR::DSTU2::Conformance::Rest::Resource::SearchParam

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_dstu2_models/fhir/resources/Conformance.rb

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'SearchParam.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'SearchParam.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'SearchParam.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'name' => { 'type' => 'string', 'path' => 'SearchParam.name', 'min' => 1, 'max' => 1 },
  'definition' => { 'type' => 'uri', 'path' => 'SearchParam.definition', 'min' => 0, 'max' => 1 },
  'type' => { 'valid_codes' => { 'http://hl7.org/fhir/search-param-type' => ['number', 'date', 'string', 'token', 'reference', 'composite', 'quantity', 'uri'] }, 'type' => 'code', 'path' => 'SearchParam.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-param-type' } },
  'documentation' => { 'type' => 'string', 'path' => 'SearchParam.documentation', 'min' => 0, 'max' => 1 },
  'target' => { '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' => 'SearchParam.target', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } },
  'modifier' => { 'valid_codes' => { 'http://hl7.org/fhir/search-modifier-code' => ['missing', 'exact', 'contains', 'not', 'text', 'in', 'not-in', 'below', 'above', 'type'] }, 'type' => 'code', 'path' => 'SearchParam.modifier', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/search-modifier-code' } },
  'chain' => { 'type' => 'string', 'path' => 'SearchParam.chain', 'min' => 0, 'max' => Float::INFINITY }
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#chainObject

0-* [ string ]



237
238
239
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 237

def chain
  @chain
end

#definitionObject

0-1 uri



232
233
234
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 232

def definition
  @definition
end

#documentationObject

0-1 string



234
235
236
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 234

def documentation
  @documentation
end

#extensionObject

0-* [ Extension ]



229
230
231
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 229

def extension
  @extension
end

#idObject

0-1 id



228
229
230
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 228

def id
  @id
end

#modifierObject

0-* [ code ]



236
237
238
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 236

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



230
231
232
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 230

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 string



231
232
233
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 231

def name
  @name
end

#targetObject

0-* [ code ]



235
236
237
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 235

def target
  @target
end

#typeObject

1-1 code



233
234
235
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 233

def type
  @type
end