Class: FHIR::DSTU2::Conformance::Messaging::Event

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' => 'Event.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Event.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Event.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'code' => { 'valid_codes' => { 'http://hl7.org/fhir/message-events' => ['MedicationAdministration-Complete', 'MedicationAdministration-Nullification', 'MedicationAdministration-Recording', 'MedicationAdministration-Update', 'admin-notify', 'diagnosticreport-provide', 'observation-provide', 'patient-link', 'patient-unlink', 'valueset-expand'] }, 'type' => 'Coding', 'path' => 'Event.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/message-events' } },
  'category' => { 'valid_codes' => { 'http://hl7.org/fhir/message-significance-category' => ['Consequence', 'Currency', 'Notification'] }, 'type' => 'code', 'path' => 'Event.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/message-significance-category' } },
  'mode' => { 'valid_codes' => { 'http://hl7.org/fhir/message-conformance-event-mode' => ['sender', 'receiver'] }, 'type' => 'code', 'path' => 'Event.mode', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/message-conformance-event-mode' } },
  'focus' => { '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' => 'Event.focus', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-types' } },
  'request' => { 'type' => 'Reference', 'path' => 'Event.request', 'min' => 1, 'max' => 1 },
  'response' => { 'type' => 'Reference', 'path' => 'Event.response', 'min' => 1, 'max' => 1 },
  'documentation' => { 'type' => 'string', 'path' => 'Event.documentation', 'min' => 0, 'max' => 1 }
}

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

#categoryObject

0-1 code



368
369
370
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 368

def category
  @category
end

#codeObject

1-1 Coding



367
368
369
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 367

def code
  @code
end

#documentationObject

0-1 string



373
374
375
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 373

def documentation
  @documentation
end

#extensionObject

0-* [ Extension ]



365
366
367
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 365

def extension
  @extension
end

#focusObject

1-1 code



370
371
372
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 370

def focus
  @focus
end

#idObject

0-1 id



364
365
366
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 364

def id
  @id
end

#modeObject

1-1 code



369
370
371
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 369

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



366
367
368
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 366

def modifierExtension
  @modifierExtension
end

#requestObject

1-1 Reference()



371
372
373
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 371

def request
  @request
end

#responseObject

1-1 Reference()



372
373
374
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 372

def response
  @response
end