Class: FHIR::ExampleScenario::Instance
- Defined in:
- lib/fhir_models/fhir/resources/ExampleScenario.rb
Defined Under Namespace
Classes: ContainedInstance, Version
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Instance.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Instance.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Instance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'resourceId' => {'type'=>'string', 'path'=>'Instance.resourceId', 'min'=>1, 'max'=>1}, 'resourceType' => {'local_name'=>'local_resourceType', 'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['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', 'Device', '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', 'Location', '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', 'Organization', 'OrganizationAffiliation', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'PlanDefinition', 'Practitioner', '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'=>'code', 'path'=>'Instance.resourceType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types|4.0.0'}}, 'name' => {'type'=>'string', 'path'=>'Instance.name', 'min'=>0, 'max'=>1}, 'description' => {'type'=>'markdown', 'path'=>'Instance.description', 'min'=>0, 'max'=>1}, 'version' => {'type'=>'ExampleScenario::Instance::Version', 'path'=>'Instance.version', 'min'=>0, 'max'=>Float::INFINITY}, 'containedInstance' => {'type'=>'ExampleScenario::Instance::ContainedInstance', 'path'=>'Instance.containedInstance', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#containedInstance ⇒ Object
0-* [ ExampleScenario::Instance::ContainedInstance ].
-
#description ⇒ Object
0-1 markdown.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#local_resourceType ⇒ Object
1-1 code.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#resourceId ⇒ Object
1-1 string.
-
#version ⇒ Object
0-* [ ExampleScenario::Instance::Version ].
Method Summary
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
#containedInstance ⇒ Object
0-* [ ExampleScenario::Instance::ContainedInstance ]
125 126 127 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 125 def containedInstance @containedInstance end |
#description ⇒ Object
0-1 markdown
123 124 125 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 123 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
118 119 120 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 118 def extension @extension end |
#id ⇒ Object
0-1 string
117 118 119 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 117 def id @id end |
#local_resourceType ⇒ Object
1-1 code
121 122 123 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 121 def local_resourceType @local_resourceType end |
#modifierExtension ⇒ Object
0-* [ Extension ]
119 120 121 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 119 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
122 123 124 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 122 def name @name end |
#resourceId ⇒ Object
1-1 string
120 121 122 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 120 def resourceId @resourceId end |
#version ⇒ Object
0-* [ ExampleScenario::Instance::Version ]
124 125 126 |
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 124 def version @version end |