Class: FHIR::EventDefinition
- Defined in:
- lib/fhir_models/fhir/resources/EventDefinition.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'subject' => ['CodeableConcept', 'Reference'] }
- SEARCH_PARAMS =
['composed-of', 'context', 'context-quantity', 'context-type', 'date', 'depends-on', 'derived-from', 'description', 'effective', 'identifier', 'jurisdiction', 'name', 'predecessor', 'publisher', 'status', 'successor', 'title', 'topic', 'url', 'version']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'EventDefinition.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'EventDefinition.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'EventDefinition.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'EventDefinition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'EventDefinition.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'EventDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'EventDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'EventDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'EventDefinition.url', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'EventDefinition.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'version' => {'type'=>'string', 'path'=>'EventDefinition.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'EventDefinition.name', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'EventDefinition.title', 'min'=>0, 'max'=>1}, 'subtitle' => {'type'=>'string', 'path'=>'EventDefinition.subtitle', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'EventDefinition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}}, 'experimental' => {'type'=>'boolean', 'path'=>'EventDefinition.experimental', 'min'=>0, 'max'=>1}, 'subjectCodeableConcept' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Patient', 'Practitioner', 'Organization', 'Location', 'Device', 'Account', 'ActivityDefinition', 'AdverseEvent', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BiologicallyDerivedProduct', 'BodyStructure', 'Bundle', 'CapabilityStatement', 'CarePlan', 'CareTeam', 'CatalogEntry', 'ChargeItem', 'ChargeItemDefinition', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'CodeSystem', 'Communication', 'CommunicationRequest', 'CompartmentDefinition', 'Composition', 'ConceptMap', 'Condition', 'Consent', 'Contract', 'Coverage', 'CoverageEligibilityRequest', 'CoverageEligibilityResponse', 'DetectedIssue', 'DeviceDefinition', 'DeviceMetric', 'DeviceRequest', 'DeviceUseStatement', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EffectEvidenceSynthesis', 'Encounter', 'Endpoint', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'EventDefinition', 'Evidence', 'EvidenceVariable', 'ExampleScenario', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'GraphDefinition', 'Group', 'GuidanceResponse', 'HealthcareService', 'ImagingStudy', 'Immunization', 'ImmunizationEvaluation', 'ImmunizationRecommendation', 'ImplementationGuide', 'InsurancePlan', 'Invoice', 'Library', 'Linkage', 'List', 'Measure', 'MeasureReport', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationKnowledge', 'MedicationRequest', 'MedicationStatement', 'MedicinalProduct', 'MedicinalProductAuthorization', 'MedicinalProductContraindication', 'MedicinalProductIndication', 'MedicinalProductIngredient', 'MedicinalProductInteraction', 'MedicinalProductManufactured', 'MedicinalProductPackaged', 'MedicinalProductPharmaceutical', 'MedicinalProductUndesirableEffect', 'MessageDefinition', 'MessageHeader', 'MolecularSequence', 'NamingSystem', 'NutritionOrder', 'Observation', 'ObservationDefinition', 'OperationDefinition', 'OperationOutcome', 'OrganizationAffiliation', 'Parameters', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'PlanDefinition', 'PractitionerRole', 'Procedure', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'RelatedPerson', 'RequestGroup', 'ResearchDefinition', 'ResearchElementDefinition', 'ResearchStudy', 'ResearchSubject', 'Resource', 'RiskAssessment', 'RiskEvidenceSynthesis', 'Schedule', 'SearchParameter', 'ServiceRequest', 'Slot', 'Specimen', 'SpecimenDefinition', 'StructureDefinition', 'StructureMap', 'Subscription', 'Substance', 'SubstanceNucleicAcid', 'SubstancePolymer', 'SubstanceProtein', 'SubstanceReferenceInformation', 'SubstanceSourceMaterial', 'SubstanceSpecification', 'SupplyDelivery', 'SupplyRequest', 'Task', 'TerminologyCapabilities', 'TestReport', 'TestScript', 'ValueSet', 'VerificationResult', 'VisionPrescription']}, 'type'=>'CodeableConcept', 'path'=>'EventDefinition.subject[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/subject-type'}}, 'subjectReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'EventDefinition.subject[x]', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'EventDefinition.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'EventDefinition.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'EventDefinition.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'EventDefinition.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'EventDefinition.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'EventDefinition.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'purpose' => {'type'=>'markdown', 'path'=>'EventDefinition.purpose', 'min'=>0, 'max'=>1}, 'usage' => {'type'=>'string', 'path'=>'EventDefinition.usage', 'min'=>0, 'max'=>1}, 'copyright' => {'type'=>'markdown', 'path'=>'EventDefinition.copyright', 'min'=>0, 'max'=>1}, 'approvalDate' => {'type'=>'date', 'path'=>'EventDefinition.approvalDate', 'min'=>0, 'max'=>1}, 'lastReviewDate' => {'type'=>'date', 'path'=>'EventDefinition.lastReviewDate', 'min'=>0, 'max'=>1}, 'effectivePeriod' => {'type'=>'Period', 'path'=>'EventDefinition.effectivePeriod', 'min'=>0, 'max'=>1}, 'topic' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/definition-topic'=>['treatment', 'education', 'assessment']}, 'type'=>'CodeableConcept', 'path'=>'EventDefinition.topic', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/definition-topic'}}, 'author' => {'type'=>'ContactDetail', 'path'=>'EventDefinition.author', 'min'=>0, 'max'=>Float::INFINITY}, 'editor' => {'type'=>'ContactDetail', 'path'=>'EventDefinition.editor', 'min'=>0, 'max'=>Float::INFINITY}, 'reviewer' => {'type'=>'ContactDetail', 'path'=>'EventDefinition.reviewer', 'min'=>0, 'max'=>Float::INFINITY}, 'endorser' => {'type'=>'ContactDetail', 'path'=>'EventDefinition.endorser', 'min'=>0, 'max'=>Float::INFINITY}, 'relatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'EventDefinition.relatedArtifact', 'min'=>0, 'max'=>Float::INFINITY}, 'trigger' => {'type'=>'TriggerDefinition', 'path'=>'EventDefinition.trigger', 'min'=>1, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#approvalDate ⇒ Object
0-1 date.
-
#author ⇒ Object
0-* [ ContactDetail ].
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 markdown.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 markdown.
-
#editor ⇒ Object
0-* [ ContactDetail ].
-
#effectivePeriod ⇒ Object
0-1 Period.
-
#endorser ⇒ Object
0-* [ ContactDetail ].
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#lastReviewDate ⇒ Object
0-1 date.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 markdown.
-
#relatedArtifact ⇒ Object
0-* [ RelatedArtifact ].
-
#reviewer ⇒ Object
0-* [ ContactDetail ].
-
#status ⇒ Object
1-1 code.
-
#subjectCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#subjectReference ⇒ Object
0-1 Reference(Group).
-
#subtitle ⇒ Object
0-1 string.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
-
#topic ⇒ Object
0-* [ CodeableConcept ].
-
#trigger ⇒ Object
1-* [ TriggerDefinition ].
-
#url ⇒ Object
0-1 uri.
-
#usage ⇒ Object
0-1 string.
-
#useContext ⇒ Object
0-* [ UsageContext ].
-
#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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
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
#approvalDate ⇒ Object
0-1 date
78 79 80 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 78 def approvalDate @approvalDate end |
#author ⇒ Object
0-* [ ContactDetail ]
82 83 84 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 82 def @author end |
#contact ⇒ Object
0-* [ ContactDetail ]
71 72 73 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 71 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
56 57 58 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 56 def contained @contained end |
#copyright ⇒ Object
0-1 markdown
77 78 79 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 77 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
69 70 71 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 69 def date @date end |
#description ⇒ Object
0-1 markdown
72 73 74 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 72 def description @description end |
#editor ⇒ Object
0-* [ ContactDetail ]
83 84 85 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 83 def editor @editor end |
#effectivePeriod ⇒ Object
0-1 Period
80 81 82 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 80 def effectivePeriod @effectivePeriod end |
#endorser ⇒ Object
0-* [ ContactDetail ]
85 86 87 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 85 def endorser @endorser end |
#experimental ⇒ Object
0-1 boolean
66 67 68 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 66 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
57 58 59 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 57 def extension @extension end |
#id ⇒ Object
0-1 id
51 52 53 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 51 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
60 61 62 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 60 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
53 54 55 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 53 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
74 75 76 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 74 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
54 55 56 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 54 def language @language end |
#lastReviewDate ⇒ Object
0-1 date
79 80 81 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 79 def lastReviewDate @lastReviewDate end |
#meta ⇒ Object
0-1 Meta
52 53 54 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 52 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
58 59 60 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 58 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
62 63 64 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 62 def name @name end |
#publisher ⇒ Object
0-1 string
70 71 72 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 70 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
75 76 77 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 75 def purpose @purpose end |
#relatedArtifact ⇒ Object
0-* [ RelatedArtifact ]
86 87 88 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 86 def @relatedArtifact end |
#reviewer ⇒ Object
0-* [ ContactDetail ]
84 85 86 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 84 def reviewer @reviewer end |
#status ⇒ Object
1-1 code
65 66 67 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 65 def status @status end |
#subjectCodeableConcept ⇒ Object
0-1 CodeableConcept
67 68 69 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 67 def subjectCodeableConcept @subjectCodeableConcept end |
#subjectReference ⇒ Object
0-1 Reference(Group)
68 69 70 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 68 def subjectReference @subjectReference end |
#subtitle ⇒ Object
0-1 string
64 65 66 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 64 def subtitle @subtitle end |
#text ⇒ Object
0-1 Narrative
55 56 57 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 55 def text @text end |
#title ⇒ Object
0-1 string
63 64 65 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 63 def title @title end |
#topic ⇒ Object
0-* [ CodeableConcept ]
81 82 83 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 81 def topic @topic end |
#trigger ⇒ Object
1-* [ TriggerDefinition ]
87 88 89 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 87 def trigger @trigger end |
#url ⇒ Object
0-1 uri
59 60 61 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 59 def url @url end |
#usage ⇒ Object
0-1 string
76 77 78 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 76 def usage @usage end |
#useContext ⇒ Object
0-* [ UsageContext ]
73 74 75 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 73 def useContext @useContext end |
#version ⇒ Object
0-1 string
61 62 63 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 61 def version @version end |
Instance Method Details
#resourceType ⇒ Object
89 90 91 |
# File 'lib/fhir_models/fhir/resources/EventDefinition.rb', line 89 def resourceType 'EventDefinition' end |