Class: FHIR::R4::ConceptMap

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4/generated/resources/ConceptMap.rb

Defined Under Namespace

Classes: Group

Constant Summary collapse

MULTIPLE_TYPES =
{
  'source' => ['uri', 'canonical'],
  'target' => ['uri', 'canonical']
}
SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'context-type-quantity', 'context-type-value', 'date', 'dependson', 'description', 'identifier', 'jurisdiction', 'name', 'other', 'product', 'publisher', 'source', 'source-code', 'source-system', 'source-uri', 'status', 'target', 'target-code', 'target-system', 'target-uri', 'title', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'ConceptMap.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'ConceptMap.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'ConceptMap.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'=>'ConceptMap.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'ConceptMap.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'ConceptMap.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'ConceptMap.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ConceptMap.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'ConceptMap.url', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'ConceptMap.identifier', 'min'=>0, 'max'=>1},
  'version' => {'type'=>'string', 'path'=>'ConceptMap.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'ConceptMap.name', 'min'=>0, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'ConceptMap.title', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'ConceptMap.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}},
  'experimental' => {'type'=>'boolean', 'path'=>'ConceptMap.experimental', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'ConceptMap.date', 'min'=>0, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'ConceptMap.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'ConceptMap.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'ConceptMap.description', 'min'=>0, 'max'=>1},
  'useContext' => {'type'=>'UsageContext', 'path'=>'ConceptMap.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'ConceptMap.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'purpose' => {'type'=>'markdown', 'path'=>'ConceptMap.purpose', 'min'=>0, 'max'=>1},
  'copyright' => {'type'=>'markdown', 'path'=>'ConceptMap.copyright', 'min'=>0, 'max'=>1},
  'sourceUri' => {'type'=>'uri', 'path'=>'ConceptMap.source[x]', 'min'=>0, 'max'=>1},
  'sourceCanonical' => {'type'=>'canonical', 'path'=>'ConceptMap.source[x]', 'min'=>0, 'max'=>1},
  'targetUri' => {'type'=>'uri', 'path'=>'ConceptMap.target[x]', 'min'=>0, 'max'=>1},
  'targetCanonical' => {'type'=>'canonical', 'path'=>'ConceptMap.target[x]', 'min'=>0, 'max'=>1},
  'group' => {'type'=>'ConceptMap::Group', 'path'=>'ConceptMap.group', 'min'=>0, 'max'=>Float::INFINITY}
}

Constants included from FHIR::R4

PRIMITIVES, RESOURCES, TYPES

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

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

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#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

Methods included from Deprecate

#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

#contactObject

0-* [ ContactDetail ]



187
188
189
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 187

def contact
  @contact
end

#containedObject

0-* [ Resource ]



175
176
177
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 175

def contained
  @contained
end

0-1 markdown



192
193
194
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 192

def copyright
  @copyright
end

#dateObject

0-1 dateTime



185
186
187
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 185

def date
  @date
end

#descriptionObject

0-1 markdown



188
189
190
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 188

def description
  @description
end

#experimentalObject

0-1 boolean



184
185
186
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 184

def experimental
  @experimental
end

#extensionObject

0-* [ Extension ]



176
177
178
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 176

def extension
  @extension
end

#groupObject

0-* [ ConceptMap::Group ]



197
198
199
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 197

def group
  @group
end

#idObject

0-1 id



170
171
172
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 170

def id
  @id
end

#identifierObject

0-1 Identifier



179
180
181
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 179

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



172
173
174
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 172

def implicitRules
  @implicitRules
end

#jurisdictionObject

0-* [ CodeableConcept ]



190
191
192
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 190

def jurisdiction
  @jurisdiction
end

#languageObject

0-1 code



173
174
175
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 173

def language
  @language
end

#metaObject

0-1 Meta



171
172
173
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 171

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



177
178
179
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 177

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



181
182
183
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 181

def name
  @name
end

#publisherObject

0-1 string



186
187
188
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 186

def publisher
  @publisher
end

#purposeObject

0-1 markdown



191
192
193
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 191

def purpose
  @purpose
end

#sourceCanonicalObject

0-1 canonical



194
195
196
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 194

def sourceCanonical
  @sourceCanonical
end

#sourceUriObject

0-1 uri



193
194
195
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 193

def sourceUri
  @sourceUri
end

#statusObject

1-1 code



183
184
185
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 183

def status
  @status
end

#targetCanonicalObject

0-1 canonical



196
197
198
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 196

def targetCanonical
  @targetCanonical
end

#targetUriObject

0-1 uri



195
196
197
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 195

def targetUri
  @targetUri
end

#textObject

0-1 Narrative



174
175
176
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 174

def text
  @text
end

#titleObject

0-1 string



182
183
184
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 182

def title
  @title
end

#urlObject

0-1 uri



178
179
180
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 178

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



189
190
191
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 189

def useContext
  @useContext
end

#versionObject

0-1 string



180
181
182
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 180

def version
  @version
end

Instance Method Details

#resourceTypeObject



199
200
201
# File 'lib/fhir_models/r4/generated/resources/ConceptMap.rb', line 199

def resourceType
  'ConceptMap'
end