Class: FHIR::DSTU2::ImplementationGuide::Page

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Page.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Page.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Page.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'source' => { 'type' => 'uri', 'path' => 'Page.source', 'min' => 1, 'max' => 1 },
  'name' => { 'type' => 'string', 'path' => 'Page.name', 'min' => 1, 'max' => 1 },
  'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/guide-page-kind' => ['page', 'example', 'list', 'include', 'directory', 'dictionary', 'toc', 'resource'] }, 'type' => 'code', 'path' => 'Page.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/guide-page-kind' } },
  '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' => 'Page.type', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } },
  'package' => { 'type' => 'string', 'path' => 'Page.package', 'min' => 0, 'max' => Float::INFINITY },
  'format' => { 'type' => 'code', 'path' => 'Page.format', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } },
  'page' => { 'type' => 'ImplementationGuide::Page', 'path' => 'Page.page', '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

#extensionObject

0-* [ Extension ]



171
172
173
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 171

def extension
  @extension
end

#formatObject

0-1 code



178
179
180
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 178

def format
  @format
end

#idObject

0-1 id



170
171
172
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 170

def id
  @id
end

#kindObject

1-1 code



175
176
177
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 175

def kind
  @kind
end

#modifierExtensionObject

0-* [ Extension ]



172
173
174
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 172

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 string



174
175
176
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 174

def name
  @name
end

#packageObject

0-* [ string ]



177
178
179
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 177

def package
  @package
end

#pageObject

0-* [ ImplementationGuide::Page ]



179
180
181
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 179

def page
  @page
end

#sourceObject

1-1 uri



173
174
175
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 173

def source
  @source
end

#typeObject

0-* [ code ]



176
177
178
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 176

def type
  @type
end