Module: FHIR

Extended by:
ClassMethods
Includes:
ClassMethods
Included in:
R4, R4B, R5
Defined in:
lib/fhir_models/r4.rb,
lib/fhir_models/r5.rb,
lib/fhir_models/r4b.rb,
lib/fhir_models/fhir.rb,
lib/fhir_models/version.rb,
lib/fhir_models/deprecate.rb,
lib/fhir_models/bootstrap/xml.rb,
lib/fhir_models/bootstrap/json.rb,
lib/fhir_models/bootstrap/field.rb,
lib/fhir_models/bootstrap/model.rb,
lib/fhir_models/r4/generated/r4.rb,
lib/fhir_models/r5/generated/r5.rb,
lib/fhir_models/r4/bootstrap/xml.rb,
lib/fhir_models/r5/bootstrap/xml.rb,
lib/fhir_models/r4/bootstrap/json.rb,
lib/fhir_models/r4b/bootstrap/xml.rb,
lib/fhir_models/r4b/generated/r4b.rb,
lib/fhir_models/r5/bootstrap/json.rb,
lib/fhir_models/bootstrap/hashable.rb,
lib/fhir_models/generator/template.rb,
lib/fhir_models/r4/bootstrap/model.rb,
lib/fhir_models/r4b/bootstrap/json.rb,
lib/fhir_models/r5/bootstrap/model.rb,
lib/fhir_models/generator/generator.rb,
lib/fhir_models/generator/ig_loader.rb,
lib/fhir_models/r4b/bootstrap/model.rb,
lib/fhir_models/bootstrap/preprocess.rb,
lib/fhir_models/generator/ig_metadata.rb,
lib/fhir_models/generator/ig_resources.rb,
lib/fhir_models/r4/generated/types/Age.rb,
lib/fhir_models/r5/generated/types/Age.rb,
lib/fhir_models/r4/generated/types/Meta.rb,
lib/fhir_models/r4b/generated/types/Age.rb,
lib/fhir_models/r5/generated/types/Base.rb,
lib/fhir_models/r5/generated/types/Meta.rb,
lib/fhir_models/r4/bootstrap/definitions.rb,
lib/fhir_models/r4/generated/types/Count.rb,
lib/fhir_models/r4/generated/types/Money.rb,
lib/fhir_models/r4/generated/types/Range.rb,
lib/fhir_models/r4/generated/types/Ratio.rb,
lib/fhir_models/r4b/generated/types/Meta.rb,
lib/fhir_models/r5/bootstrap/definitions.rb,
lib/fhir_models/r5/generated/types/Count.rb,
lib/fhir_models/r5/generated/types/Money.rb,
lib/fhir_models/r5/generated/types/Range.rb,
lib/fhir_models/r5/generated/types/Ratio.rb,
lib/fhir_models/generator/class_generator.rb,
lib/fhir_models/r4/generated/types/Coding.rb,
lib/fhir_models/r4/generated/types/Dosage.rb,
lib/fhir_models/r4/generated/types/Period.rb,
lib/fhir_models/r4/generated/types/Timing.rb,
lib/fhir_models/r4b/bootstrap/definitions.rb,
lib/fhir_models/r4b/generated/types/Count.rb,
lib/fhir_models/r4b/generated/types/Money.rb,
lib/fhir_models/r4b/generated/types/Range.rb,
lib/fhir_models/r4b/generated/types/Ratio.rb,
lib/fhir_models/r5/generated/types/Coding.rb,
lib/fhir_models/r5/generated/types/Dosage.rb,
lib/fhir_models/r5/generated/types/Period.rb,
lib/fhir_models/r5/generated/types/Timing.rb,
lib/fhir_models/r4/generated/types/Address.rb,
lib/fhir_models/r4/generated/types/Element.rb,
lib/fhir_models/r4b/generated/types/Coding.rb,
lib/fhir_models/r4b/generated/types/Dosage.rb,
lib/fhir_models/r4b/generated/types/Period.rb,
lib/fhir_models/r4b/generated/types/Timing.rb,
lib/fhir_models/r5/generated/types/Address.rb,
lib/fhir_models/r5/generated/types/Element.rb,
lib/fhir_models/r4/generated/resources/Flag.rb,
lib/fhir_models/r4/generated/resources/Goal.rb,
lib/fhir_models/r4/generated/resources/List.rb,
lib/fhir_models/r4/generated/resources/Slot.rb,
lib/fhir_models/r4/generated/resources/Task.rb,
lib/fhir_models/r4/generated/types/Distance.rb,
lib/fhir_models/r4/generated/types/Duration.rb,
lib/fhir_models/r4/generated/types/Quantity.rb,
lib/fhir_models/r4b/generated/types/Address.rb,
lib/fhir_models/r4b/generated/types/Element.rb,
lib/fhir_models/r5/generated/resources/Flag.rb,
lib/fhir_models/r5/generated/resources/Goal.rb,
lib/fhir_models/r5/generated/resources/List.rb,
lib/fhir_models/r5/generated/resources/Slot.rb,
lib/fhir_models/r5/generated/resources/Task.rb,
lib/fhir_models/r5/generated/types/DataType.rb,
lib/fhir_models/r5/generated/types/Distance.rb,
lib/fhir_models/r5/generated/types/Duration.rb,
lib/fhir_models/r5/generated/types/Quantity.rb,
lib/fhir_models/bootstrap/common_definitions.rb,
lib/fhir_models/generator/metadata_generator.rb,
lib/fhir_models/r4/generated/resources/Basic.rb,
lib/fhir_models/r4/generated/resources/Claim.rb,
lib/fhir_models/r4/generated/resources/Group.rb,
lib/fhir_models/r4/generated/resources/Media.rb,
lib/fhir_models/r4/generated/types/Extension.rb,
lib/fhir_models/r4/generated/types/HumanName.rb,
lib/fhir_models/r4/generated/types/Narrative.rb,
lib/fhir_models/r4/generated/types/Reference.rb,
lib/fhir_models/r4/generated/types/Signature.rb,
lib/fhir_models/r4b/generated/resources/Flag.rb,
lib/fhir_models/r4b/generated/resources/Goal.rb,
lib/fhir_models/r4b/generated/resources/List.rb,
lib/fhir_models/r4b/generated/resources/Slot.rb,
lib/fhir_models/r4b/generated/resources/Task.rb,
lib/fhir_models/r4b/generated/types/DataType.rb,
lib/fhir_models/r4b/generated/types/Distance.rb,
lib/fhir_models/r4b/generated/types/Duration.rb,
lib/fhir_models/r4b/generated/types/Quantity.rb,
lib/fhir_models/r5/generated/resources/Basic.rb,
lib/fhir_models/r5/generated/resources/Claim.rb,
lib/fhir_models/r5/generated/resources/Group.rb,
lib/fhir_models/r5/generated/types/Extension.rb,
lib/fhir_models/r5/generated/types/HumanName.rb,
lib/fhir_models/r5/generated/types/Narrative.rb,
lib/fhir_models/r5/generated/types/Reference.rb,
lib/fhir_models/r5/generated/types/Signature.rb,
lib/fhir_models/r4/generated/resources/Binary.rb,
lib/fhir_models/r4/generated/resources/Bundle.rb,
lib/fhir_models/r4/generated/resources/Device.rb,
lib/fhir_models/r4/generated/resources/Person.rb,
lib/fhir_models/r4/generated/types/Annotation.rb,
lib/fhir_models/r4/generated/types/Attachment.rb,
lib/fhir_models/r4/generated/types/Expression.rb,
lib/fhir_models/r4/generated/types/Identifier.rb,
lib/fhir_models/r4/generated/types/Population.rb,
lib/fhir_models/r4b/generated/resources/Basic.rb,
lib/fhir_models/r4b/generated/resources/Claim.rb,
lib/fhir_models/r4b/generated/resources/Group.rb,
lib/fhir_models/r4b/generated/resources/Media.rb,
lib/fhir_models/r4b/generated/types/Extension.rb,
lib/fhir_models/r4b/generated/types/HumanName.rb,
lib/fhir_models/r4b/generated/types/Narrative.rb,
lib/fhir_models/r4b/generated/types/Reference.rb,
lib/fhir_models/r4b/generated/types/Signature.rb,
lib/fhir_models/r5/generated/resources/Binary.rb,
lib/fhir_models/r5/generated/resources/Bundle.rb,
lib/fhir_models/r5/generated/resources/Device.rb,
lib/fhir_models/r5/generated/resources/Person.rb,
lib/fhir_models/r5/generated/types/Annotation.rb,
lib/fhir_models/r5/generated/types/Attachment.rb,
lib/fhir_models/r5/generated/types/Expression.rb,
lib/fhir_models/r5/generated/types/Identifier.rb,
lib/fhir_models/r5/generated/types/RatioRange.rb,
lib/fhir_models/r4/generated/resources/Account.rb,
lib/fhir_models/r4/generated/resources/Consent.rb,
lib/fhir_models/r4/generated/resources/Invoice.rb,
lib/fhir_models/r4/generated/resources/Library.rb,
lib/fhir_models/r4/generated/resources/Linkage.rb,
lib/fhir_models/r4/generated/resources/Measure.rb,
lib/fhir_models/r4/generated/resources/Patient.rb,
lib/fhir_models/r4/generated/types/Contributor.rb,
lib/fhir_models/r4/generated/types/SampledData.rb,
lib/fhir_models/r4b/generated/resources/Binary.rb,
lib/fhir_models/r4b/generated/resources/Bundle.rb,
lib/fhir_models/r4b/generated/resources/Device.rb,
lib/fhir_models/r4b/generated/resources/Person.rb,
lib/fhir_models/r4b/generated/types/Annotation.rb,
lib/fhir_models/r4b/generated/types/Attachment.rb,
lib/fhir_models/r4b/generated/types/Expression.rb,
lib/fhir_models/r4b/generated/types/Identifier.rb,
lib/fhir_models/r4b/generated/types/Population.rb,
lib/fhir_models/r4b/generated/types/RatioRange.rb,
lib/fhir_models/r5/generated/resources/Account.rb,
lib/fhir_models/r5/generated/resources/Consent.rb,
lib/fhir_models/r5/generated/resources/Invoice.rb,
lib/fhir_models/r5/generated/resources/Library.rb,
lib/fhir_models/r5/generated/resources/Linkage.rb,
lib/fhir_models/r5/generated/resources/Measure.rb,
lib/fhir_models/r5/generated/resources/Patient.rb,
lib/fhir_models/r5/generated/types/Contributor.rb,
lib/fhir_models/r5/generated/types/SampledData.rb,
lib/fhir_models/r4/generated/resources/CarePlan.rb,
lib/fhir_models/r4/generated/resources/CareTeam.rb,
lib/fhir_models/r4/generated/resources/Contract.rb,
lib/fhir_models/r4/generated/resources/Coverage.rb,
lib/fhir_models/r4/generated/resources/Endpoint.rb,
lib/fhir_models/r4/generated/resources/Evidence.rb,
lib/fhir_models/r4/generated/resources/Location.rb,
lib/fhir_models/r4/generated/resources/Resource.rb,
lib/fhir_models/r4/generated/resources/Schedule.rb,
lib/fhir_models/r4/generated/resources/Specimen.rb,
lib/fhir_models/r4/generated/resources/ValueSet.rb,
lib/fhir_models/r4/generated/types/ContactPoint.rb,
lib/fhir_models/r4/generated/types/UsageContext.rb,
lib/fhir_models/r4b/generated/resources/Account.rb,
lib/fhir_models/r4b/generated/resources/Consent.rb,
lib/fhir_models/r4b/generated/resources/Invoice.rb,
lib/fhir_models/r4b/generated/resources/Library.rb,
lib/fhir_models/r4b/generated/resources/Linkage.rb,
lib/fhir_models/r4b/generated/resources/Measure.rb,
lib/fhir_models/r4b/generated/resources/Patient.rb,
lib/fhir_models/r4b/generated/types/Contributor.rb,
lib/fhir_models/r4b/generated/types/SampledData.rb,
lib/fhir_models/r5/generated/resources/CarePlan.rb,
lib/fhir_models/r5/generated/resources/CareTeam.rb,
lib/fhir_models/r5/generated/resources/Citation.rb,
lib/fhir_models/r5/generated/resources/Contract.rb,
lib/fhir_models/r5/generated/resources/Coverage.rb,
lib/fhir_models/r5/generated/resources/Endpoint.rb,
lib/fhir_models/r5/generated/resources/Evidence.rb,
lib/fhir_models/r5/generated/resources/Location.rb,
lib/fhir_models/r5/generated/resources/Resource.rb,
lib/fhir_models/r5/generated/resources/Schedule.rb,
lib/fhir_models/r5/generated/resources/Specimen.rb,
lib/fhir_models/r5/generated/resources/TestPlan.rb,
lib/fhir_models/r5/generated/resources/ValueSet.rb,
lib/fhir_models/r5/generated/types/Availability.rb,
lib/fhir_models/r5/generated/types/BackboneType.rb,
lib/fhir_models/r5/generated/types/ContactPoint.rb,
lib/fhir_models/r5/generated/types/UsageContext.rb,
lib/fhir_models/r4/generated/resources/Condition.rb,
lib/fhir_models/r4/generated/resources/Encounter.rb,
lib/fhir_models/r4/generated/resources/Procedure.rb,
lib/fhir_models/r4/generated/resources/Substance.rb,
lib/fhir_models/r4/generated/types/ContactDetail.rb,
lib/fhir_models/r4b/generated/resources/CarePlan.rb,
lib/fhir_models/r4b/generated/resources/CareTeam.rb,
lib/fhir_models/r4b/generated/resources/Citation.rb,
lib/fhir_models/r4b/generated/resources/Contract.rb,
lib/fhir_models/r4b/generated/resources/Coverage.rb,
lib/fhir_models/r4b/generated/resources/Endpoint.rb,
lib/fhir_models/r4b/generated/resources/Evidence.rb,
lib/fhir_models/r4b/generated/resources/Location.rb,
lib/fhir_models/r4b/generated/resources/Resource.rb,
lib/fhir_models/r4b/generated/resources/Schedule.rb,
lib/fhir_models/r4b/generated/resources/Specimen.rb,
lib/fhir_models/r4b/generated/resources/ValueSet.rb,
lib/fhir_models/r4b/generated/types/ContactPoint.rb,
lib/fhir_models/r4b/generated/types/UsageContext.rb,
lib/fhir_models/r5/generated/resources/Condition.rb,
lib/fhir_models/r5/generated/resources/Encounter.rb,
lib/fhir_models/r5/generated/resources/Procedure.rb,
lib/fhir_models/r5/generated/resources/Substance.rb,
lib/fhir_models/r5/generated/resources/Transport.rb,
lib/fhir_models/r5/generated/types/ContactDetail.rb,
lib/fhir_models/r5/generated/types/PrimitiveType.rb,
lib/fhir_models/r4/generated/resources/AuditEvent.rb,
lib/fhir_models/r4/generated/resources/ChargeItem.rb,
lib/fhir_models/r4/generated/resources/CodeSystem.rb,
lib/fhir_models/r4/generated/resources/ConceptMap.rb,
lib/fhir_models/r4/generated/resources/Medication.rb,
lib/fhir_models/r4/generated/resources/Parameters.rb,
lib/fhir_models/r4/generated/resources/Provenance.rb,
lib/fhir_models/r4/generated/resources/TestReport.rb,
lib/fhir_models/r4/generated/resources/TestScript.rb,
lib/fhir_models/r4b/generated/resources/Condition.rb,
lib/fhir_models/r4b/generated/resources/Encounter.rb,
lib/fhir_models/r4b/generated/resources/Procedure.rb,
lib/fhir_models/r4b/generated/resources/Substance.rb,
lib/fhir_models/r4b/generated/types/ContactDetail.rb,
lib/fhir_models/r5/generated/resources/AuditEvent.rb,
lib/fhir_models/r5/generated/resources/ChargeItem.rb,
lib/fhir_models/r5/generated/resources/CodeSystem.rb,
lib/fhir_models/r5/generated/resources/ConceptMap.rb,
lib/fhir_models/r5/generated/resources/Ingredient.rb,
lib/fhir_models/r5/generated/resources/Medication.rb,
lib/fhir_models/r5/generated/resources/Parameters.rb,
lib/fhir_models/r5/generated/resources/Permission.rb,
lib/fhir_models/r5/generated/resources/Provenance.rb,
lib/fhir_models/r5/generated/resources/TestReport.rb,
lib/fhir_models/r5/generated/resources/TestScript.rb,
lib/fhir_models/fhir_ext/common_element_definition.rb,
lib/fhir_models/r4/generated/resources/Appointment.rb,
lib/fhir_models/r4/generated/resources/Composition.rb,
lib/fhir_models/r4/generated/resources/Observation.rb,
lib/fhir_models/r4/generated/types/BackboneElement.rb,
lib/fhir_models/r4/generated/types/CodeableConcept.rb,
lib/fhir_models/r4/generated/types/DataRequirement.rb,
lib/fhir_models/r4/generated/types/MarketingStatus.rb,
lib/fhir_models/r4/generated/types/RelatedArtifact.rb,
lib/fhir_models/r4/generated/types/SubstanceAmount.rb,
lib/fhir_models/r4b/generated/resources/AuditEvent.rb,
lib/fhir_models/r4b/generated/resources/ChargeItem.rb,
lib/fhir_models/r4b/generated/resources/CodeSystem.rb,
lib/fhir_models/r4b/generated/resources/ConceptMap.rb,
lib/fhir_models/r4b/generated/resources/Ingredient.rb,
lib/fhir_models/r4b/generated/resources/Medication.rb,
lib/fhir_models/r4b/generated/resources/Parameters.rb,
lib/fhir_models/r4b/generated/resources/Provenance.rb,
lib/fhir_models/r4b/generated/resources/TestReport.rb,
lib/fhir_models/r4b/generated/resources/TestScript.rb,
lib/fhir_models/r5/generated/resources/Appointment.rb,
lib/fhir_models/r5/generated/resources/Composition.rb,
lib/fhir_models/r5/generated/resources/DeviceUsage.rb,
lib/fhir_models/r5/generated/resources/Observation.rb,
lib/fhir_models/r5/generated/types/BackboneElement.rb,
lib/fhir_models/r5/generated/types/CodeableConcept.rb,
lib/fhir_models/r5/generated/types/DataRequirement.rb,
lib/fhir_models/r5/generated/types/MarketingStatus.rb,
lib/fhir_models/r5/generated/types/RelatedArtifact.rb,
lib/fhir_models/r4/generated/resources/AdverseEvent.rb,
lib/fhir_models/r4/generated/resources/CatalogEntry.rb,
lib/fhir_models/r4/generated/resources/DeviceMetric.rb,
lib/fhir_models/r4/generated/resources/ImagingStudy.rb,
lib/fhir_models/r4/generated/resources/Immunization.rb,
lib/fhir_models/r4/generated/resources/NamingSystem.rb,
lib/fhir_models/r4/generated/resources/Organization.rb,
lib/fhir_models/r4/generated/resources/Practitioner.rb,
lib/fhir_models/r4/generated/resources/RequestGroup.rb,
lib/fhir_models/r4/generated/resources/StructureMap.rb,
lib/fhir_models/r4/generated/resources/Subscription.rb,
lib/fhir_models/r4/generated/types/ProductShelfLife.rb,
lib/fhir_models/r4b/generated/resources/Appointment.rb,
lib/fhir_models/r4b/generated/resources/Composition.rb,
lib/fhir_models/r4b/generated/resources/Observation.rb,
lib/fhir_models/r4b/generated/types/BackboneElement.rb,
lib/fhir_models/r4b/generated/types/CodeableConcept.rb,
lib/fhir_models/r4b/generated/types/DataRequirement.rb,
lib/fhir_models/r4b/generated/types/MarketingStatus.rb,
lib/fhir_models/r4b/generated/types/RelatedArtifact.rb,
lib/fhir_models/r5/generated/resources/AdverseEvent.rb,
lib/fhir_models/r5/generated/resources/DeviceMetric.rb,
lib/fhir_models/r5/generated/resources/GenomicStudy.rb,
lib/fhir_models/r5/generated/resources/ImagingStudy.rb,
lib/fhir_models/r5/generated/resources/Immunization.rb,
lib/fhir_models/r5/generated/resources/NamingSystem.rb,
lib/fhir_models/r5/generated/resources/Organization.rb,
lib/fhir_models/r5/generated/resources/Practitioner.rb,
lib/fhir_models/r5/generated/resources/Requirements.rb,
lib/fhir_models/r5/generated/resources/StructureMap.rb,
lib/fhir_models/r5/generated/resources/Subscription.rb,
lib/fhir_models/r5/generated/types/ProductShelfLife.rb,
lib/fhir_models/fhir_ext/common_structure_definition.rb,
lib/fhir_models/r4/generated/resources/BodyStructure.rb,
lib/fhir_models/r4/generated/resources/ClaimResponse.rb,
lib/fhir_models/r4/generated/resources/Communication.rb,
lib/fhir_models/r4/generated/resources/DetectedIssue.rb,
lib/fhir_models/r4/generated/resources/DeviceRequest.rb,
lib/fhir_models/r4/generated/resources/EpisodeOfCare.rb,
lib/fhir_models/r4/generated/resources/InsurancePlan.rb,
lib/fhir_models/r4/generated/resources/MeasureReport.rb,
lib/fhir_models/r4/generated/resources/MessageHeader.rb,
lib/fhir_models/r4/generated/resources/PaymentNotice.rb,
lib/fhir_models/r4/generated/resources/Questionnaire.rb,
lib/fhir_models/r4/generated/resources/RelatedPerson.rb,
lib/fhir_models/r4/generated/resources/ResearchStudy.rb,
lib/fhir_models/r4/generated/resources/SupplyRequest.rb,
lib/fhir_models/r4/generated/types/ElementDefinition.rb,
lib/fhir_models/r4/generated/types/TriggerDefinition.rb,
lib/fhir_models/r4b/generated/resources/AdverseEvent.rb,
lib/fhir_models/r4b/generated/resources/CatalogEntry.rb,
lib/fhir_models/r4b/generated/resources/DeviceMetric.rb,
lib/fhir_models/r4b/generated/resources/ImagingStudy.rb,
lib/fhir_models/r4b/generated/resources/Immunization.rb,
lib/fhir_models/r4b/generated/resources/NamingSystem.rb,
lib/fhir_models/r4b/generated/resources/Organization.rb,
lib/fhir_models/r4b/generated/resources/Practitioner.rb,
lib/fhir_models/r4b/generated/resources/RequestGroup.rb,
lib/fhir_models/r4b/generated/resources/StructureMap.rb,
lib/fhir_models/r4b/generated/resources/Subscription.rb,
lib/fhir_models/r4b/generated/types/ProductShelfLife.rb,
lib/fhir_models/r5/generated/resources/BodyStructure.rb,
lib/fhir_models/r5/generated/resources/ClaimResponse.rb,
lib/fhir_models/r5/generated/resources/Communication.rb,
lib/fhir_models/r5/generated/resources/DetectedIssue.rb,
lib/fhir_models/r5/generated/resources/DeviceRequest.rb,
lib/fhir_models/r5/generated/resources/EpisodeOfCare.rb,
lib/fhir_models/r5/generated/resources/FormularyItem.rb,
lib/fhir_models/r5/generated/resources/InsurancePlan.rb,
lib/fhir_models/r5/generated/resources/InventoryItem.rb,
lib/fhir_models/r5/generated/resources/MeasureReport.rb,
lib/fhir_models/r5/generated/resources/MessageHeader.rb,
lib/fhir_models/r5/generated/resources/PaymentNotice.rb,
lib/fhir_models/r5/generated/resources/Questionnaire.rb,
lib/fhir_models/r5/generated/resources/RelatedPerson.rb,
lib/fhir_models/r5/generated/resources/ResearchStudy.rb,
lib/fhir_models/r5/generated/resources/SupplyRequest.rb,
lib/fhir_models/r5/generated/types/CodeableReference.rb,
lib/fhir_models/r5/generated/types/ElementDefinition.rb,
lib/fhir_models/r5/generated/types/MonetaryComponent.rb,
lib/fhir_models/r5/generated/types/TriggerDefinition.rb,
lib/fhir_models/fhir_ext/structure_definition_finding.rb,
lib/fhir_models/r4/generated/resources/DomainResource.rb,
lib/fhir_models/r4/generated/resources/NutritionOrder.rb,
lib/fhir_models/r4/generated/resources/PlanDefinition.rb,
lib/fhir_models/r4/generated/resources/RiskAssessment.rb,
lib/fhir_models/r4/generated/resources/ServiceRequest.rb,
lib/fhir_models/r4/generated/resources/SupplyDelivery.rb,
lib/fhir_models/r4/generated/types/ProdCharacteristic.rb,
lib/fhir_models/r4b/generated/resources/BodyStructure.rb,
lib/fhir_models/r4b/generated/resources/ClaimResponse.rb,
lib/fhir_models/r4b/generated/resources/Communication.rb,
lib/fhir_models/r4b/generated/resources/DetectedIssue.rb,
lib/fhir_models/r4b/generated/resources/DeviceRequest.rb,
lib/fhir_models/r4b/generated/resources/EpisodeOfCare.rb,
lib/fhir_models/r4b/generated/resources/InsurancePlan.rb,
lib/fhir_models/r4b/generated/resources/MeasureReport.rb,
lib/fhir_models/r4b/generated/resources/MessageHeader.rb,
lib/fhir_models/r4b/generated/resources/PaymentNotice.rb,
lib/fhir_models/r4b/generated/resources/Questionnaire.rb,
lib/fhir_models/r4b/generated/resources/RelatedPerson.rb,
lib/fhir_models/r4b/generated/resources/ResearchStudy.rb,
lib/fhir_models/r4b/generated/resources/SupplyRequest.rb,
lib/fhir_models/r4b/generated/types/CodeableReference.rb,
lib/fhir_models/r4b/generated/types/ElementDefinition.rb,
lib/fhir_models/r4b/generated/types/TriggerDefinition.rb,
lib/fhir_models/r5/generated/resources/DeviceDispense.rb,
lib/fhir_models/r5/generated/resources/DomainResource.rb,
lib/fhir_models/r5/generated/resources/EvidenceReport.rb,
lib/fhir_models/r5/generated/resources/NutritionOrder.rb,
lib/fhir_models/r5/generated/resources/PlanDefinition.rb,
lib/fhir_models/r5/generated/resources/RiskAssessment.rb,
lib/fhir_models/r5/generated/resources/ServiceRequest.rb,
lib/fhir_models/r5/generated/resources/SupplyDelivery.rb,
lib/fhir_models/r4/generated/resources/EventDefinition.rb,
lib/fhir_models/r4/generated/resources/ExampleScenario.rb,
lib/fhir_models/r4/generated/resources/GraphDefinition.rb,
lib/fhir_models/r4/generated/resources/ResearchSubject.rb,
lib/fhir_models/r4/generated/resources/SearchParameter.rb,
lib/fhir_models/r4/generated/types/ParameterDefinition.rb,
lib/fhir_models/r4b/generated/resources/DomainResource.rb,
lib/fhir_models/r4b/generated/resources/EvidenceReport.rb,
lib/fhir_models/r4b/generated/resources/NutritionOrder.rb,
lib/fhir_models/r4b/generated/resources/PlanDefinition.rb,
lib/fhir_models/r4b/generated/resources/RiskAssessment.rb,
lib/fhir_models/r4b/generated/resources/ServiceRequest.rb,
lib/fhir_models/r4b/generated/resources/SupplyDelivery.rb,
lib/fhir_models/r4b/generated/types/ProdCharacteristic.rb,
lib/fhir_models/r5/generated/resources/ActorDefinition.rb,
lib/fhir_models/r5/generated/resources/EventDefinition.rb,
lib/fhir_models/r5/generated/resources/ExampleScenario.rb,
lib/fhir_models/r5/generated/resources/GraphDefinition.rb,
lib/fhir_models/r5/generated/resources/InventoryReport.rb,
lib/fhir_models/r5/generated/resources/NutritionIntake.rb,
lib/fhir_models/r5/generated/resources/ResearchSubject.rb,
lib/fhir_models/r5/generated/resources/SearchParameter.rb,
lib/fhir_models/r5/generated/types/ParameterDefinition.rb,
lib/fhir_models/r4/generated/resources/DeviceDefinition.rb,
lib/fhir_models/r4/generated/resources/DiagnosticReport.rb,
lib/fhir_models/r4/generated/resources/DocumentManifest.rb,
lib/fhir_models/r4/generated/resources/EvidenceVariable.rb,
lib/fhir_models/r4/generated/resources/GuidanceResponse.rb,
lib/fhir_models/r4/generated/resources/MedicinalProduct.rb,
lib/fhir_models/r4/generated/resources/OperationOutcome.rb,
lib/fhir_models/r4/generated/resources/PractitionerRole.rb,
lib/fhir_models/r4/generated/resources/SubstancePolymer.rb,
lib/fhir_models/r4/generated/resources/SubstanceProtein.rb,
lib/fhir_models/r4b/generated/resources/EventDefinition.rb,
lib/fhir_models/r4b/generated/resources/ExampleScenario.rb,
lib/fhir_models/r4b/generated/resources/GraphDefinition.rb,
lib/fhir_models/r4b/generated/resources/ResearchSubject.rb,
lib/fhir_models/r4b/generated/resources/SearchParameter.rb,
lib/fhir_models/r4b/generated/types/ParameterDefinition.rb,
lib/fhir_models/r5/generated/resources/DeviceDefinition.rb,
lib/fhir_models/r5/generated/resources/DiagnosticReport.rb,
lib/fhir_models/r5/generated/resources/EncounterHistory.rb,
lib/fhir_models/r5/generated/resources/EvidenceVariable.rb,
lib/fhir_models/r5/generated/resources/GuidanceResponse.rb,
lib/fhir_models/r5/generated/resources/ImagingSelection.rb,
lib/fhir_models/r5/generated/resources/MetadataResource.rb,
lib/fhir_models/r5/generated/resources/NutritionProduct.rb,
lib/fhir_models/r5/generated/resources/OperationOutcome.rb,
lib/fhir_models/r5/generated/resources/PractitionerRole.rb,
lib/fhir_models/r5/generated/resources/SubstancePolymer.rb,
lib/fhir_models/r5/generated/resources/SubstanceProtein.rb,
lib/fhir_models/r5/generated/types/VirtualServiceDetail.rb,
lib/fhir_models/r4/fhir_ext/structure_definition_compare.rb,
lib/fhir_models/r4/generated/resources/DocumentReference.rb,
lib/fhir_models/r4/generated/resources/EnrollmentRequest.rb,
lib/fhir_models/r4/generated/resources/HealthcareService.rb,
lib/fhir_models/r4/generated/resources/MedicationRequest.rb,
lib/fhir_models/r4/generated/resources/MessageDefinition.rb,
lib/fhir_models/r4/generated/resources/MolecularSequence.rb,
lib/fhir_models/r4b/generated/resources/DeviceDefinition.rb,
lib/fhir_models/r4b/generated/resources/DiagnosticReport.rb,
lib/fhir_models/r4b/generated/resources/DocumentManifest.rb,
lib/fhir_models/r4b/generated/resources/EvidenceVariable.rb,
lib/fhir_models/r4b/generated/resources/GuidanceResponse.rb,
lib/fhir_models/r4b/generated/resources/NutritionProduct.rb,
lib/fhir_models/r4b/generated/resources/OperationOutcome.rb,
lib/fhir_models/r4b/generated/resources/PractitionerRole.rb,
lib/fhir_models/r5/fhir_ext/structure_definition_compare.rb,
lib/fhir_models/r5/generated/resources/CanonicalResource.rb,
lib/fhir_models/r5/generated/resources/DeviceAssociation.rb,
lib/fhir_models/r5/generated/resources/DocumentReference.rb,
lib/fhir_models/r5/generated/resources/EnrollmentRequest.rb,
lib/fhir_models/r5/generated/resources/HealthcareService.rb,
lib/fhir_models/r5/generated/resources/MedicationRequest.rb,
lib/fhir_models/r5/generated/resources/MessageDefinition.rb,
lib/fhir_models/r5/generated/resources/MolecularSequence.rb,
lib/fhir_models/r5/generated/resources/SubscriptionTopic.rb,
lib/fhir_models/r5/generated/types/ExtendedContactDetail.rb,
lib/fhir_models/r4/generated/resources/ActivityDefinition.rb,
lib/fhir_models/r4/generated/resources/AllergyIntolerance.rb,
lib/fhir_models/r4/generated/resources/ClinicalImpression.rb,
lib/fhir_models/r4/generated/resources/DeviceUseStatement.rb,
lib/fhir_models/r4/generated/resources/EnrollmentResponse.rb,
lib/fhir_models/r4/generated/resources/MedicationDispense.rb,
lib/fhir_models/r4/generated/resources/ResearchDefinition.rb,
lib/fhir_models/r4/generated/resources/SpecimenDefinition.rb,
lib/fhir_models/r4/generated/resources/VerificationResult.rb,
lib/fhir_models/r4/generated/resources/VisionPrescription.rb,
lib/fhir_models/r4b/fhir_ext/structure_definition_compare.rb,
lib/fhir_models/r4b/generated/resources/DocumentReference.rb,
lib/fhir_models/r4b/generated/resources/EnrollmentRequest.rb,
lib/fhir_models/r4b/generated/resources/HealthcareService.rb,
lib/fhir_models/r4b/generated/resources/MedicationRequest.rb,
lib/fhir_models/r4b/generated/resources/MessageDefinition.rb,
lib/fhir_models/r4b/generated/resources/MolecularSequence.rb,
lib/fhir_models/r4b/generated/resources/SubscriptionTopic.rb,
lib/fhir_models/r5/generated/resources/ActivityDefinition.rb,
lib/fhir_models/r5/generated/resources/AllergyIntolerance.rb,
lib/fhir_models/r5/generated/resources/ArtifactAssessment.rb,
lib/fhir_models/r5/generated/resources/ClinicalImpression.rb,
lib/fhir_models/r5/generated/resources/EnrollmentResponse.rb,
lib/fhir_models/r5/generated/resources/MedicationDispense.rb,
lib/fhir_models/r5/generated/resources/SpecimenDefinition.rb,
lib/fhir_models/r5/generated/resources/SubscriptionStatus.rb,
lib/fhir_models/r5/generated/resources/VerificationResult.rb,
lib/fhir_models/r5/generated/resources/VisionPrescription.rb,
lib/fhir_models/r4/generated/resources/AppointmentResponse.rb,
lib/fhir_models/r4/generated/resources/CapabilityStatement.rb,
lib/fhir_models/r4/generated/resources/FamilyMemberHistory.rb,
lib/fhir_models/r4/generated/resources/ImplementationGuide.rb,
lib/fhir_models/r4/generated/resources/MedicationKnowledge.rb,
lib/fhir_models/r4/generated/resources/MedicationStatement.rb,
lib/fhir_models/r4/generated/resources/OperationDefinition.rb,
lib/fhir_models/r4/generated/resources/StructureDefinition.rb,
lib/fhir_models/r4b/generated/resources/ActivityDefinition.rb,
lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb,
lib/fhir_models/r4b/generated/resources/ClinicalImpression.rb,
lib/fhir_models/r4b/generated/resources/DeviceUseStatement.rb,
lib/fhir_models/r4b/generated/resources/EnrollmentResponse.rb,
lib/fhir_models/r4b/generated/resources/MedicationDispense.rb,
lib/fhir_models/r4b/generated/resources/ResearchDefinition.rb,
lib/fhir_models/r4b/generated/resources/SpecimenDefinition.rb,
lib/fhir_models/r4b/generated/resources/SubscriptionStatus.rb,
lib/fhir_models/r4b/generated/resources/VerificationResult.rb,
lib/fhir_models/r4b/generated/resources/VisionPrescription.rb,
lib/fhir_models/r5/generated/resources/AppointmentResponse.rb,
lib/fhir_models/r5/generated/resources/CapabilityStatement.rb,
lib/fhir_models/r5/generated/resources/ConditionDefinition.rb,
lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb,
lib/fhir_models/r5/generated/resources/ImplementationGuide.rb,
lib/fhir_models/r5/generated/resources/MedicationKnowledge.rb,
lib/fhir_models/r5/generated/resources/MedicationStatement.rb,
lib/fhir_models/r5/generated/resources/OperationDefinition.rb,
lib/fhir_models/r5/generated/resources/StructureDefinition.rb,
lib/fhir_models/r5/generated/resources/SubstanceDefinition.rb,
lib/fhir_models/r4/generated/resources/ChargeItemDefinition.rb,
lib/fhir_models/r4/generated/resources/CommunicationRequest.rb,
lib/fhir_models/r4/generated/resources/ExplanationOfBenefit.rb,
lib/fhir_models/r4/generated/resources/SubstanceNucleicAcid.rb,
lib/fhir_models/r4b/generated/resources/AppointmentResponse.rb,
lib/fhir_models/r4b/generated/resources/CapabilityStatement.rb,
lib/fhir_models/r4b/generated/resources/FamilyMemberHistory.rb,
lib/fhir_models/r4b/generated/resources/ImplementationGuide.rb,
lib/fhir_models/r4b/generated/resources/MedicationKnowledge.rb,
lib/fhir_models/r4b/generated/resources/MedicationStatement.rb,
lib/fhir_models/r4b/generated/resources/OperationDefinition.rb,
lib/fhir_models/r4b/generated/resources/StructureDefinition.rb,
lib/fhir_models/r4b/generated/resources/SubstanceDefinition.rb,
lib/fhir_models/r5/generated/resources/ChargeItemDefinition.rb,
lib/fhir_models/r5/generated/resources/CommunicationRequest.rb,
lib/fhir_models/r5/generated/resources/ExplanationOfBenefit.rb,
lib/fhir_models/r5/generated/resources/RequestOrchestration.rb,
lib/fhir_models/r5/generated/resources/SubstanceNucleicAcid.rb,
lib/fhir_models/fhir_ext/common_structure_definition_compare.rb,
lib/fhir_models/r4/generated/resources/CompartmentDefinition.rb,
lib/fhir_models/r4/generated/resources/ObservationDefinition.rb,
lib/fhir_models/r4/generated/resources/PaymentReconciliation.rb,
lib/fhir_models/r4/generated/resources/QuestionnaireResponse.rb,
lib/fhir_models/r4/generated/resources/RiskEvidenceSynthesis.rb,
lib/fhir_models/r4b/generated/resources/ChargeItemDefinition.rb,
lib/fhir_models/r4b/generated/resources/CommunicationRequest.rb,
lib/fhir_models/r4b/generated/resources/ExplanationOfBenefit.rb,
lib/fhir_models/r5/generated/resources/ClinicalUseDefinition.rb,
lib/fhir_models/r5/generated/resources/CompartmentDefinition.rb,
lib/fhir_models/r5/generated/resources/ObservationDefinition.rb,
lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb,
lib/fhir_models/r5/generated/resources/QuestionnaireResponse.rb,
lib/fhir_models/r4/generated/resources/ImmunizationEvaluation.rb,
lib/fhir_models/r4/generated/resources/SubstanceSpecification.rb,
lib/fhir_models/r4b/generated/resources/ClinicalUseDefinition.rb,
lib/fhir_models/r4b/generated/resources/CompartmentDefinition.rb,
lib/fhir_models/r4b/generated/resources/ObservationDefinition.rb,
lib/fhir_models/r4b/generated/resources/PaymentReconciliation.rb,
lib/fhir_models/r4b/generated/resources/QuestionnaireResponse.rb,
lib/fhir_models/r5/generated/resources/ImmunizationEvaluation.rb,
lib/fhir_models/r5/generated/resources/RegulatedAuthorization.rb,
lib/fhir_models/r4/generated/resources/EffectEvidenceSynthesis.rb,
lib/fhir_models/r4/generated/resources/OrganizationAffiliation.rb,
lib/fhir_models/r4/generated/resources/SubstanceSourceMaterial.rb,
lib/fhir_models/r4/generated/resources/TerminologyCapabilities.rb,
lib/fhir_models/r4b/generated/resources/ImmunizationEvaluation.rb,
lib/fhir_models/r4b/generated/resources/RegulatedAuthorization.rb,
lib/fhir_models/r5/generated/resources/OrganizationAffiliation.rb,
lib/fhir_models/r5/generated/resources/SubstanceSourceMaterial.rb,
lib/fhir_models/r5/generated/resources/TerminologyCapabilities.rb,
lib/fhir_models/r4/generated/resources/MedicationAdministration.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductPackaged.rb,
lib/fhir_models/r4b/generated/resources/OrganizationAffiliation.rb,
lib/fhir_models/r4b/generated/resources/TerminologyCapabilities.rb,
lib/fhir_models/r5/generated/resources/MedicationAdministration.rb,
lib/fhir_models/r4/generated/resources/ResearchElementDefinition.rb,
lib/fhir_models/r4b/generated/resources/MedicationAdministration.rb,
lib/fhir_models/r5/generated/resources/PackagedProductDefinition.rb,
lib/fhir_models/r4/generated/resources/BiologicallyDerivedProduct.rb,
lib/fhir_models/r4/generated/resources/CoverageEligibilityRequest.rb,
lib/fhir_models/r4/generated/resources/ImmunizationRecommendation.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductIndication.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductIngredient.rb,
lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb,
lib/fhir_models/r4b/generated/resources/ResearchElementDefinition.rb,
lib/fhir_models/r5/generated/resources/BiologicallyDerivedProduct.rb,
lib/fhir_models/r5/generated/resources/CoverageEligibilityRequest.rb,
lib/fhir_models/r5/generated/resources/ImmunizationRecommendation.rb,
lib/fhir_models/r5/generated/resources/ManufacturedItemDefinition.rb,
lib/fhir_models/r5/generated/resources/MedicinalProductDefinition.rb,
lib/fhir_models/r4/generated/resources/CoverageEligibilityResponse.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductInteraction.rb,
lib/fhir_models/r4b/generated/resources/BiologicallyDerivedProduct.rb,
lib/fhir_models/r4b/generated/resources/CoverageEligibilityRequest.rb,
lib/fhir_models/r4b/generated/resources/ImmunizationRecommendation.rb,
lib/fhir_models/r4b/generated/resources/ManufacturedItemDefinition.rb,
lib/fhir_models/r4b/generated/resources/MedicinalProductDefinition.rb,
lib/fhir_models/r5/generated/resources/CoverageEligibilityResponse.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductManufactured.rb,
lib/fhir_models/r4b/generated/resources/CoverageEligibilityResponse.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductAuthorization.rb,
lib/fhir_models/r4/generated/resources/SubstanceReferenceInformation.rb,
lib/fhir_models/r5/generated/resources/SubstanceReferenceInformation.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductPharmaceutical.rb,
lib/fhir_models/r5/generated/resources/AdministrableProductDefinition.rb,
lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductContraindication.rb,
lib/fhir_models/r4/generated/resources/MedicinalProductUndesirableEffect.rb,
lib/fhir_models/r5/generated/resources/BiologicallyDerivedProductDispense.rb

Defined Under Namespace

Modules: Boot, ClassJson, ClassMethods, ClassXml, CommonDefinitions, CommonElementDefinition, CommonStructureDefinition, CommonStructureDefinitionCompare, Deprecate, Hashable, InstanceJson, InstanceXml, Json, Models, R4, R4B, R5, Xml Classes: Field, Generator, Model, StructureDefinitionFinding

Constant Summary collapse

PRIMITIVES =
FHIR::R4::PRIMITIVES
TYPES =
FHIR::R4::TYPES
RESOURCES =
FHIR::R4::RESOURCES
Age =
FHIR::R4::Age
Meta =
FHIR::R4::Meta
Definitions =
FHIR::R4::Definitions
Count =
FHIR::R4::Count
Money =
FHIR::R4::Money
Range =
FHIR::R4::Range
Ratio =
FHIR::R4::Ratio
Coding =
FHIR::R4::Coding
Dosage =
FHIR::R4::Dosage
Period =
FHIR::R4::Period
Timing =
FHIR::R4::Timing
Address =
FHIR::R4::Address
Element =
FHIR::R4::Element
Flag =
FHIR::R4::Flag
Goal =
FHIR::R4::Goal
List =
FHIR::R4::List
Slot =
FHIR::R4::Slot
Task =
FHIR::R4::Task
Distance =
FHIR::R4::Distance
Duration =
FHIR::R4::Duration
Quantity =
FHIR::R4::Quantity
Basic =
FHIR::R4::Basic
Claim =
FHIR::R4::Claim
Group =
FHIR::R4::Group
Media =
FHIR::R4::Media
Extension =
FHIR::R4::Extension
HumanName =
FHIR::R4::HumanName
Narrative =
FHIR::R4::Narrative
Reference =
FHIR::R4::Reference
Signature =
FHIR::R4::Signature
Binary =
FHIR::R4::Binary
Bundle =
FHIR::R4::Bundle
Device =
FHIR::R4::Device
Person =
FHIR::R4::Person
Annotation =
FHIR::R4::Annotation
Attachment =
FHIR::R4::Attachment
Expression =
FHIR::R4::Expression
Identifier =
FHIR::R4::Identifier
Population =
FHIR::R4::Population
Account =
FHIR::R4::Account
FHIR::R4::Consent
Invoice =
FHIR::R4::Invoice
Library =
FHIR::R4::Library
Linkage =
FHIR::R4::Linkage
Measure =
FHIR::R4::Measure
Patient =
FHIR::R4::Patient
Contributor =
FHIR::R4::Contributor
SampledData =
FHIR::R4::SampledData
CarePlan =
FHIR::R4::CarePlan
CareTeam =
FHIR::R4::CareTeam
Contract =
FHIR::R4::Contract
Coverage =
FHIR::R4::Coverage
Endpoint =
FHIR::R4::Endpoint
Evidence =
FHIR::R4::Evidence
Location =
FHIR::R4::Location
Resource =
FHIR::R4::Resource
Schedule =
FHIR::R4::Schedule
Specimen =
FHIR::R4::Specimen
ValueSet =
FHIR::R4::ValueSet
ContactPoint =
FHIR::R4::ContactPoint
UsageContext =
FHIR::R4::UsageContext
Condition =
FHIR::R4::Condition
Encounter =
FHIR::R4::Encounter
Procedure =
FHIR::R4::Procedure
Substance =
FHIR::R4::Substance
ContactDetail =
FHIR::R4::ContactDetail
AuditEvent =
FHIR::R4::AuditEvent
ChargeItem =
FHIR::R4::ChargeItem
CodeSystem =
FHIR::R4::CodeSystem
ConceptMap =
FHIR::R4::ConceptMap
Medication =
FHIR::R4::Medication
Parameters =
FHIR::R4::Parameters
Provenance =
FHIR::R4::Provenance
TestReport =
FHIR::R4::TestReport
TestScript =
FHIR::R4::TestScript
Appointment =
FHIR::R4::Appointment
Composition =
FHIR::R4::Composition
Observation =
FHIR::R4::Observation
BackboneElement =
FHIR::R4::BackboneElement
CodeableConcept =
FHIR::R4::CodeableConcept
DataRequirement =
FHIR::R4::DataRequirement
MarketingStatus =
FHIR::R4::MarketingStatus
RelatedArtifact =
FHIR::R4::RelatedArtifact
SubstanceAmount =
FHIR::R4::SubstanceAmount
AdverseEvent =
FHIR::R4::AdverseEvent
CatalogEntry =
FHIR::R4::CatalogEntry
DeviceMetric =
FHIR::R4::DeviceMetric
ImagingStudy =
FHIR::R4::ImagingStudy
Immunization =
FHIR::R4::Immunization
NamingSystem =
FHIR::R4::NamingSystem
Organization =
FHIR::R4::Organization
Practitioner =
FHIR::R4::Practitioner
RequestGroup =
FHIR::R4::RequestGroup
StructureMap =
FHIR::R4::StructureMap
Subscription =
FHIR::R4::Subscription
ProductShelfLife =
FHIR::R4::ProductShelfLife
BodyStructure =
FHIR::R4::BodyStructure
ClaimResponse =
FHIR::R4::ClaimResponse
Communication =
FHIR::R4::Communication
DetectedIssue =
FHIR::R4::DetectedIssue
DeviceRequest =
FHIR::R4::DeviceRequest
EpisodeOfCare =
FHIR::R4::EpisodeOfCare
InsurancePlan =
FHIR::R4::InsurancePlan
MeasureReport =
FHIR::R4::MeasureReport
MessageHeader =
FHIR::R4::MessageHeader
PaymentNotice =
FHIR::R4::PaymentNotice
Questionnaire =
FHIR::R4::Questionnaire
RelatedPerson =
FHIR::R4::RelatedPerson
ResearchStudy =
FHIR::R4::ResearchStudy
SupplyRequest =
FHIR::R4::SupplyRequest
ElementDefinition =
FHIR::R4::ElementDefinition
TriggerDefinition =
FHIR::R4::TriggerDefinition
DomainResource =
FHIR::R4::DomainResource
NutritionOrder =
FHIR::R4::NutritionOrder
PlanDefinition =
FHIR::R4::PlanDefinition
RiskAssessment =
FHIR::R4::RiskAssessment
ServiceRequest =
FHIR::R4::ServiceRequest
SupplyDelivery =
FHIR::R4::SupplyDelivery
ProdCharacteristic =
FHIR::R4::ProdCharacteristic
EventDefinition =
FHIR::R4::EventDefinition
ExampleScenario =
FHIR::R4::ExampleScenario
GraphDefinition =
FHIR::R4::GraphDefinition
ResearchSubject =
FHIR::R4::ResearchSubject
SearchParameter =
FHIR::R4::SearchParameter
ParameterDefinition =
FHIR::R4::ParameterDefinition
DeviceDefinition =
FHIR::R4::DeviceDefinition
DiagnosticReport =
FHIR::R4::DiagnosticReport
DocumentManifest =
FHIR::R4::DocumentManifest
EvidenceVariable =
FHIR::R4::EvidenceVariable
GuidanceResponse =
FHIR::R4::GuidanceResponse
MedicinalProduct =
FHIR::R4::MedicinalProduct
OperationOutcome =
FHIR::R4::OperationOutcome
PractitionerRole =
FHIR::R4::PractitionerRole
SubstancePolymer =
FHIR::R4::SubstancePolymer
SubstanceProtein =
FHIR::R4::SubstanceProtein
StructureDefinitionCompare =
FHIR::R4::StructureDefinitionCompare
DocumentReference =
FHIR::R4::DocumentReference
EnrollmentRequest =
FHIR::R4::EnrollmentRequest
HealthcareService =
FHIR::R4::HealthcareService
MedicationRequest =
FHIR::R4::MedicationRequest
MessageDefinition =
FHIR::R4::MessageDefinition
MolecularSequence =
FHIR::R4::MolecularSequence
ActivityDefinition =
FHIR::R4::ActivityDefinition
AllergyIntolerance =
FHIR::R4::AllergyIntolerance
ClinicalImpression =
FHIR::R4::ClinicalImpression
DeviceUseStatement =
FHIR::R4::DeviceUseStatement
EnrollmentResponse =
FHIR::R4::EnrollmentResponse
MedicationDispense =
FHIR::R4::MedicationDispense
ResearchDefinition =
FHIR::R4::ResearchDefinition
SpecimenDefinition =
FHIR::R4::SpecimenDefinition
VerificationResult =
FHIR::R4::VerificationResult
VisionPrescription =
FHIR::R4::VisionPrescription
AppointmentResponse =
FHIR::R4::AppointmentResponse
CapabilityStatement =
FHIR::R4::CapabilityStatement
FamilyMemberHistory =
FHIR::R4::FamilyMemberHistory
ImplementationGuide =
FHIR::R4::ImplementationGuide
MedicationKnowledge =
FHIR::R4::MedicationKnowledge
MedicationStatement =
FHIR::R4::MedicationStatement
OperationDefinition =
FHIR::R4::OperationDefinition
StructureDefinition =
FHIR::R4::StructureDefinition
ChargeItemDefinition =
FHIR::R4::ChargeItemDefinition
CommunicationRequest =
FHIR::R4::CommunicationRequest
ExplanationOfBenefit =
FHIR::R4::ExplanationOfBenefit
SubstanceNucleicAcid =
FHIR::R4::SubstanceNucleicAcid
CompartmentDefinition =
FHIR::R4::CompartmentDefinition
ObservationDefinition =
FHIR::R4::ObservationDefinition
PaymentReconciliation =
FHIR::R4::PaymentReconciliation
QuestionnaireResponse =
FHIR::R4::QuestionnaireResponse
RiskEvidenceSynthesis =
FHIR::R4::RiskEvidenceSynthesis
ImmunizationEvaluation =
FHIR::R4::ImmunizationEvaluation
SubstanceSpecification =
FHIR::R4::SubstanceSpecification
EffectEvidenceSynthesis =
FHIR::R4::EffectEvidenceSynthesis
OrganizationAffiliation =
FHIR::R4::OrganizationAffiliation
SubstanceSourceMaterial =
FHIR::R4::SubstanceSourceMaterial
TerminologyCapabilities =
FHIR::R4::TerminologyCapabilities
MedicationAdministration =
FHIR::R4::MedicationAdministration
MedicinalProductPackaged =
FHIR::R4::MedicinalProductPackaged
ResearchElementDefinition =
FHIR::R4::ResearchElementDefinition
BiologicallyDerivedProduct =
FHIR::R4::BiologicallyDerivedProduct
CoverageEligibilityRequest =
FHIR::R4::CoverageEligibilityRequest
ImmunizationRecommendation =
FHIR::R4::ImmunizationRecommendation
MedicinalProductIndication =
FHIR::R4::MedicinalProductIndication
MedicinalProductIngredient =
FHIR::R4::MedicinalProductIngredient
CoverageEligibilityResponse =
FHIR::R4::CoverageEligibilityResponse
MedicinalProductInteraction =
FHIR::R4::MedicinalProductInteraction
MedicinalProductManufactured =
FHIR::R4::MedicinalProductManufactured
MedicinalProductAuthorization =
FHIR::R4::MedicinalProductAuthorization
SubstanceReferenceInformation =
FHIR::R4::SubstanceReferenceInformation
MedicinalProductPharmaceutical =
FHIR::R4::MedicinalProductPharmaceutical
MedicinalProductContraindication =
FHIR::R4::MedicinalProductContraindication
MedicinalProductUndesirableEffect =
FHIR::R4::MedicinalProductUndesirableEffect

Class Method Summary collapse

Methods included from ClassMethods

from_contents

Class Method Details

.default_loggerObject



27
28
29
# File 'lib/fhir_models/fhir.rb', line 27

def self.default_logger
  @default_logger ||= Logger.new(ENV['FHIR_LOGGER'] || $stdout)
end

.fhir_version_stringObject

These are needed for the unit tests that call FHIR directly



93
94
95
# File 'lib/fhir_models/fhir.rb', line 93

def self.fhir_version_string
  'R4'
end

.loggerObject



19
20
21
# File 'lib/fhir_models/fhir.rb', line 19

def self.logger
  @logger || default_logger
end

.logger=(logger) ⇒ Object



23
24
25
# File 'lib/fhir_models/fhir.rb', line 23

def self.logger=(logger)
  @logger = logger
end

.primitive?(datatype:, value:) ⇒ Boolean

TODO: pull regexes from metadata

Returns:

  • (Boolean)


32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/fhir_models/fhir.rb', line 32

def self.primitive?(datatype:, value:)
  # Remaining data types: handle special cases before checking type StructureDefinitions
  case datatype.downcase
  when 'boolean'
    !(value.to_s =~ /\A(true|false)\Z/).nil?
  when 'integer', 'integer64'
    !(value.to_s =~ /\A(0|[-+]?[1-9][0-9]*)\Z/).nil?
  when 'string', 'markdown'
    value.is_a?(String)
  when 'decimal'
    !(value.to_s =~ /\A([-+]?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?)\Z/).nil?
  when 'uri'
    begin
      !URI.parse(value).nil?
    rescue StandardError
      false
    end
  when 'base64binary'
    # According to RFC-4648 base64binary encoding includes digits 0-9, a-z, A-Z, =, +, /, and whitespace
    # an empty string is considered valid
    # whitespace is not significant so we strip it out before doing the regex so that we can be sure that
    # the number of characters is a multiple of 4.
    # https://tools.ietf.org/html/rfc4648
    !(value.to_s.gsub(/\s/, '') =~ %r{\A(|[0-9a-zA-Z+=/]{4}+)\Z}).nil?
  when 'instant'
    formatted_value = value.respond_to?(:xmlschema) ? value.xmlschema : value.to_s
    !(formatted_value =~ /\A([0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))))))\Z/).nil?
  when 'date'
    !(value.to_s =~ /\A(-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?)\Z/).nil?
    # NOTE: we don't try to instantiate and verify  a Date because ruby does not natively suppport
    # partial dates, which the FHIR standard allows.
  when 'datetime'
    !(value.to_s =~ /\A(-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?)\Z/).nil?
    # NOTE: we don't try to instantiate and verify a DateTime because ruby does not natively suppport
    # partial dates, which the FHIR standard allows.
  when 'time'
    !(value.to_s =~ /\A(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?)\Z/).nil?
  when 'code'
    !(value.to_s =~ /\A[^\s]+(\s?[^\s]+)*\Z/).nil?
  when 'oid'
    !(value.to_s =~ /\Aurn:oid:[0-2](\.[1-9]\d*)+\Z/).nil?
  when 'id'
    !(value.to_s =~ /\A[A-Za-z0-9\-.]{1,64}\Z/).nil?
  when 'xhtml'
    fragment = Nokogiri::HTML::DocumentFragment.parse(value)
    value.is_a?(String) && fragment.errors.size.zero?
  when 'unsignedint'
    !(value.to_s =~ /\A(0|([1-9][0-9]*))\Z/).nil?
  when 'positiveint'
    !(value.to_s =~ /\A+?[1-9][0-9]*\Z/).nil?
  when 'canonical', 'url'
    !(value.to_s =~ /\S*/).nil?
  when 'uuid'
    !(value.to_s =~ /urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/).nil?
  else
    FHIR.logger.warn "Unable to check #{value} for datatype #{datatype}"
    false
  end
end

.versioned_fhir_moduleObject



97
98
99
# File 'lib/fhir_models/fhir.rb', line 97

def self.versioned_fhir_module
  FHIR::R4
end