Class: FHIR::R4::CodeSystem
- Defined in:
- lib/fhir_models/r4/generated/resources/CodeSystem.rb
Defined Under Namespace
Classes: Concept, Filter, Property
Constant Summary collapse
- SEARCH_PARAMS =
['code', 'content-mode', 'context', 'context-quantity', 'context-type', 'context-type-quantity', 'context-type-value', 'date', 'description', 'identifier', 'jurisdiction', 'language', 'name', 'publisher', 'status', 'supplements', 'system', 'title', 'url', 'version']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'CodeSystem.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'CodeSystem.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'CodeSystem.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'=>'CodeSystem.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'CodeSystem.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'CodeSystem.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'CodeSystem.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'CodeSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'CodeSystem.url', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'CodeSystem.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'version' => {'type'=>'string', 'path'=>'CodeSystem.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'CodeSystem.name', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'CodeSystem.title', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'CodeSystem.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}}, 'experimental' => {'type'=>'boolean', 'path'=>'CodeSystem.experimental', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'CodeSystem.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'CodeSystem.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'CodeSystem.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'CodeSystem.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'CodeSystem.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'CodeSystem.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'purpose' => {'type'=>'markdown', 'path'=>'CodeSystem.purpose', 'min'=>0, 'max'=>1}, 'copyright' => {'type'=>'markdown', 'path'=>'CodeSystem.copyright', 'min'=>0, 'max'=>1}, 'caseSensitive' => {'type'=>'boolean', 'path'=>'CodeSystem.caseSensitive', 'min'=>0, 'max'=>1}, 'valueSet' => {'type'=>'canonical', 'path'=>'CodeSystem.valueSet', 'min'=>0, 'max'=>1}, 'hierarchyMeaning' => {'valid_codes'=>{'http://hl7.org/fhir/codesystem-hierarchy-meaning'=>['grouped-by', 'is-a', 'part-of', 'classified-with']}, 'type'=>'code', 'path'=>'CodeSystem.hierarchyMeaning', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning'}}, 'compositional' => {'type'=>'boolean', 'path'=>'CodeSystem.compositional', 'min'=>0, 'max'=>1}, 'versionNeeded' => {'type'=>'boolean', 'path'=>'CodeSystem.versionNeeded', 'min'=>0, 'max'=>1}, 'content' => {'valid_codes'=>{'http://hl7.org/fhir/codesystem-content-mode'=>['not-present', 'example', 'fragment', 'complete', 'supplement']}, 'type'=>'code', 'path'=>'CodeSystem.content', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/codesystem-content-mode'}}, 'supplements' => {'type'=>'canonical', 'path'=>'CodeSystem.supplements', 'min'=>0, 'max'=>1}, 'count' => {'type'=>'unsignedInt', 'path'=>'CodeSystem.count', 'min'=>0, 'max'=>1}, 'filter' => {'type'=>'CodeSystem::Filter', 'path'=>'CodeSystem.filter', 'min'=>0, 'max'=>Float::INFINITY}, 'property' => {'type'=>'CodeSystem::Property', 'path'=>'CodeSystem.property', 'min'=>0, 'max'=>Float::INFINITY}, 'concept' => {'type'=>'CodeSystem::Concept', 'path'=>'CodeSystem.concept', 'min'=>0, 'max'=>Float::INFINITY} }
Constants included from FHIR::R4
Constants included from FHIR
Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription
Instance Attribute Summary collapse
-
#caseSensitive ⇒ Object
0-1 boolean.
-
#compositional ⇒ Object
0-1 boolean.
-
#concept ⇒ Object
0-* [ CodeSystem::Concept ].
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#content ⇒ Object
1-1 code.
-
#copyright ⇒ Object
0-1 markdown.
-
#count ⇒ Object
0-1 unsignedInt.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 markdown.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#filter ⇒ Object
0-* [ CodeSystem::Filter ].
-
#hierarchyMeaning ⇒ Object
0-1 code.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#property ⇒ Object
0-* [ CodeSystem::Property ].
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 markdown.
-
#status ⇒ Object
1-1 code.
-
#supplements ⇒ Object
0-1 canonical.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
-
#url ⇒ Object
0-1 uri.
-
#useContext ⇒ Object
0-* [ UsageContext ].
-
#valueSet ⇒ Object
0-1 canonical.
-
#version ⇒ Object
0-1 string.
-
#versionNeeded ⇒ Object
0-1 boolean.
Instance Method Summary collapse
Methods included from FHIR::R4
#fhir_version_string, #versioned_fhir_module
Methods included from FHIR
default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module
Methods included from ClassMethods
Methods included from ClassXml
#from_xml, #valid?, #validate, #xml_node_to_hash
Methods included from InstanceXml
Methods included from ClassJson
Methods included from InstanceJson
Methods included from Hashable
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
Methods included from Deprecate
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
#caseSensitive ⇒ Object
0-1 boolean
202 203 204 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 202 def caseSensitive @caseSensitive end |
#compositional ⇒ Object
0-1 boolean
205 206 207 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 205 def compositional @compositional end |
#concept ⇒ Object
0-* [ CodeSystem::Concept ]
212 213 214 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 212 def concept @concept end |
#contact ⇒ Object
0-* [ ContactDetail ]
196 197 198 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 196 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
184 185 186 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 184 def contained @contained end |
#content ⇒ Object
1-1 code
207 208 209 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 207 def content @content end |
#copyright ⇒ Object
0-1 markdown
201 202 203 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 201 def copyright @copyright end |
#count ⇒ Object
0-1 unsignedInt
209 210 211 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 209 def count @count end |
#date ⇒ Object
0-1 dateTime
194 195 196 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 194 def date @date end |
#description ⇒ Object
0-1 markdown
197 198 199 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 197 def description @description end |
#experimental ⇒ Object
0-1 boolean
193 194 195 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 193 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
185 186 187 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 185 def extension @extension end |
#filter ⇒ Object
0-* [ CodeSystem::Filter ]
210 211 212 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 210 def filter @filter end |
#hierarchyMeaning ⇒ Object
0-1 code
204 205 206 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 204 def hierarchyMeaning @hierarchyMeaning end |
#id ⇒ Object
0-1 id
179 180 181 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 179 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
188 189 190 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 188 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
181 182 183 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 181 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
199 200 201 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 199 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
182 183 184 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 182 def language @language end |
#meta ⇒ Object
0-1 Meta
180 181 182 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 180 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
186 187 188 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 186 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
190 191 192 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 190 def name @name end |
#property ⇒ Object
0-* [ CodeSystem::Property ]
211 212 213 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 211 def property @property end |
#publisher ⇒ Object
0-1 string
195 196 197 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 195 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
200 201 202 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 200 def purpose @purpose end |
#status ⇒ Object
1-1 code
192 193 194 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 192 def status @status end |
#supplements ⇒ Object
0-1 canonical
208 209 210 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 208 def supplements @supplements end |
#text ⇒ Object
0-1 Narrative
183 184 185 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 183 def text @text end |
#title ⇒ Object
0-1 string
191 192 193 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 191 def title @title end |
#url ⇒ Object
0-1 uri
187 188 189 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 187 def url @url end |
#useContext ⇒ Object
0-* [ UsageContext ]
198 199 200 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 198 def useContext @useContext end |
#valueSet ⇒ Object
0-1 canonical
203 204 205 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 203 def valueSet @valueSet end |
#version ⇒ Object
0-1 string
189 190 191 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 189 def version @version end |
#versionNeeded ⇒ Object
0-1 boolean
206 207 208 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 206 def versionNeeded @versionNeeded end |
Instance Method Details
#resourceType ⇒ Object
214 215 216 |
# File 'lib/fhir_models/r4/generated/resources/CodeSystem.rb', line 214 def resourceType 'CodeSystem' end |