Implementation
const Map<String, R5ResourceType> resourceTypeFromStringMap =
<String, R5ResourceType>{
'Account': R5ResourceType.Account,
'ActivityDefinition': R5ResourceType.ActivityDefinition,
'ActorDefinition': R5ResourceType.ActorDefinition,
'AdministrableProductDefinition':
R5ResourceType.AdministrableProductDefinition,
'AdverseEvent': R5ResourceType.AdverseEvent,
'AllergyIntolerance': R5ResourceType.AllergyIntolerance,
'Appointment': R5ResourceType.Appointment,
'AppointmentResponse': R5ResourceType.AppointmentResponse,
'ArtifactAssessment': R5ResourceType.ArtifactAssessment,
'AuditEvent': R5ResourceType.AuditEvent,
'Basic': R5ResourceType.Basic,
'Binary': R5ResourceType.Binary,
'BiologicallyDerivedProduct': R5ResourceType.BiologicallyDerivedProduct,
'BiologicallyDerivedProductDispense':
R5ResourceType.BiologicallyDerivedProductDispense,
'BodyStructure': R5ResourceType.BodyStructure,
'Bundle': R5ResourceType.Bundle,
'CapabilityStatement': R5ResourceType.CapabilityStatement,
'CarePlan': R5ResourceType.CarePlan,
'CareTeam': R5ResourceType.CareTeam,
'ChargeItem': R5ResourceType.ChargeItem,
'ChargeItemDefinition': R5ResourceType.ChargeItemDefinition,
'Citation': R5ResourceType.Citation,
'Claim': R5ResourceType.Claim,
'ClaimResponse': R5ResourceType.ClaimResponse,
'ClinicalImpression': R5ResourceType.ClinicalImpression,
'ClinicalUseDefinition': R5ResourceType.ClinicalUseDefinition,
'CodeSystem': R5ResourceType.CodeSystem,
'Communication': R5ResourceType.Communication,
'CommunicationRequest': R5ResourceType.CommunicationRequest,
'CompartmentDefinition': R5ResourceType.CompartmentDefinition,
'Composition': R5ResourceType.Composition,
'ConceptMap': R5ResourceType.ConceptMap,
'Condition': R5ResourceType.Condition,
'ConditionDefinition': R5ResourceType.ConditionDefinition,
'Consent': R5ResourceType.Consent,
'Contract': R5ResourceType.Contract,
'Coverage': R5ResourceType.Coverage,
'CoverageEligibilityRequest': R5ResourceType.CoverageEligibilityRequest,
'CoverageEligibilityResponse': R5ResourceType.CoverageEligibilityResponse,
'DetectedIssue': R5ResourceType.DetectedIssue,
'Device': R5ResourceType.Device,
'DeviceAssociation': R5ResourceType.DeviceAssociation,
'DeviceDefinition': R5ResourceType.DeviceDefinition,
'DeviceDispense': R5ResourceType.DeviceDispense,
'DeviceMetric': R5ResourceType.DeviceMetric,
'DeviceRequest': R5ResourceType.DeviceRequest,
'DeviceUsage': R5ResourceType.DeviceUsage,
'DiagnosticReport': R5ResourceType.DiagnosticReport,
'DocumentReference': R5ResourceType.DocumentReference,
'Encounter': R5ResourceType.Encounter,
'EncounterHistory': R5ResourceType.EncounterHistory,
'Endpoint': R5ResourceType.Endpoint,
'EnrollmentRequest': R5ResourceType.EnrollmentRequest,
'EnrollmentResponse': R5ResourceType.EnrollmentResponse,
'EpisodeOfCare': R5ResourceType.EpisodeOfCare,
'EventDefinition': R5ResourceType.EventDefinition,
'Evidence': R5ResourceType.Evidence,
'EvidenceReport': R5ResourceType.EvidenceReport,
'EvidenceVariable': R5ResourceType.EvidenceVariable,
'ExampleScenario': R5ResourceType.ExampleScenario,
'ExplanationOfBenefit': R5ResourceType.ExplanationOfBenefit,
'FamilyMemberHistory': R5ResourceType.FamilyMemberHistory,
'Flag': R5ResourceType.Flag,
'FormularyItem': R5ResourceType.FormularyItem,
'GenomicStudy': R5ResourceType.GenomicStudy,
'Goal': R5ResourceType.Goal,
'GraphDefinition': R5ResourceType.GraphDefinition,
'Group': R5ResourceType.Group,
'GuidanceResponse': R5ResourceType.GuidanceResponse,
'HealthcareService': R5ResourceType.HealthcareService,
'ImagingSelection': R5ResourceType.ImagingSelection,
'ImagingStudy': R5ResourceType.ImagingStudy,
'Immunization': R5ResourceType.Immunization,
'ImmunizationEvaluation': R5ResourceType.ImmunizationEvaluation,
'ImmunizationRecommendation': R5ResourceType.ImmunizationRecommendation,
'ImplementationGuide': R5ResourceType.ImplementationGuide,
'Ingredient': R5ResourceType.Ingredient,
'InsurancePlan': R5ResourceType.InsurancePlan,
'InventoryItem': R5ResourceType.InventoryItem,
'InventoryReport': R5ResourceType.InventoryReport,
'Invoice': R5ResourceType.Invoice,
'Library': R5ResourceType.Library,
'Linkage': R5ResourceType.Linkage,
'List': R5ResourceType.List,
'Location': R5ResourceType.Location,
'ManufacturedItemDefinition': R5ResourceType.ManufacturedItemDefinition,
'Measure': R5ResourceType.Measure,
'MeasureReport': R5ResourceType.MeasureReport,
'Medication': R5ResourceType.Medication,
'MedicationAdministration': R5ResourceType.MedicationAdministration,
'MedicationDispense': R5ResourceType.MedicationDispense,
'MedicationKnowledge': R5ResourceType.MedicationKnowledge,
'MedicationRequest': R5ResourceType.MedicationRequest,
'MedicationStatement': R5ResourceType.MedicationStatement,
'MedicinalProductDefinition': R5ResourceType.MedicinalProductDefinition,
'MessageDefinition': R5ResourceType.MessageDefinition,
'MessageHeader': R5ResourceType.MessageHeader,
'MolecularSequence': R5ResourceType.MolecularSequence,
'NamingSystem': R5ResourceType.NamingSystem,
'NutritionIntake': R5ResourceType.NutritionIntake,
'NutritionOrder': R5ResourceType.NutritionOrder,
'NutritionProduct': R5ResourceType.NutritionProduct,
'Observation': R5ResourceType.Observation,
'ObservationDefinition': R5ResourceType.ObservationDefinition,
'OperationDefinition': R5ResourceType.OperationDefinition,
'OperationOutcome': R5ResourceType.OperationOutcome,
'Organization': R5ResourceType.Organization,
'OrganizationAffiliation': R5ResourceType.OrganizationAffiliation,
'PackagedProductDefinition': R5ResourceType.PackagedProductDefinition,
'Parameters': R5ResourceType.Parameters,
'Patient': R5ResourceType.Patient,
'PaymentNotice': R5ResourceType.PaymentNotice,
'PaymentReconciliation': R5ResourceType.PaymentReconciliation,
'Permission': R5ResourceType.Permission,
'Person': R5ResourceType.Person,
'PlanDefinition': R5ResourceType.PlanDefinition,
'Practitioner': R5ResourceType.Practitioner,
'PractitionerRole': R5ResourceType.PractitionerRole,
'Procedure': R5ResourceType.Procedure,
'Provenance': R5ResourceType.Provenance,
'Questionnaire': R5ResourceType.Questionnaire,
'QuestionnaireResponse': R5ResourceType.QuestionnaireResponse,
'RegulatedAuthorization': R5ResourceType.RegulatedAuthorization,
'RelatedPerson': R5ResourceType.RelatedPerson,
'RequestOrchestration': R5ResourceType.RequestOrchestration,
'Requirements': R5ResourceType.Requirements,
'ResearchStudy': R5ResourceType.ResearchStudy,
'ResearchSubject': R5ResourceType.ResearchSubject,
'RiskAssessment': R5ResourceType.RiskAssessment,
'Schedule': R5ResourceType.Schedule,
'SearchParameter': R5ResourceType.SearchParameter,
'ServiceRequest': R5ResourceType.ServiceRequest,
'Slot': R5ResourceType.Slot,
'Specimen': R5ResourceType.Specimen,
'SpecimenDefinition': R5ResourceType.SpecimenDefinition,
'StructureDefinition': R5ResourceType.StructureDefinition,
'StructureMap': R5ResourceType.StructureMap,
'Subscription': R5ResourceType.Subscription,
'SubscriptionStatus': R5ResourceType.SubscriptionStatus,
'SubscriptionTopic': R5ResourceType.SubscriptionTopic,
'Substance': R5ResourceType.Substance,
'SubstanceDefinition': R5ResourceType.SubstanceDefinition,
'SubstanceNucleicAcid': R5ResourceType.SubstanceNucleicAcid,
'SubstancePolymer': R5ResourceType.SubstancePolymer,
'SubstanceProtein': R5ResourceType.SubstanceProtein,
'SubstanceReferenceInformation': R5ResourceType.SubstanceReferenceInformation,
'SubstanceSourceMaterial': R5ResourceType.SubstanceSourceMaterial,
'SupplyDelivery': R5ResourceType.SupplyDelivery,
'SupplyRequest': R5ResourceType.SupplyRequest,
'Task': R5ResourceType.Task,
'TerminologyCapabilities': R5ResourceType.TerminologyCapabilities,
'TestPlan': R5ResourceType.TestPlan,
'TestReport': R5ResourceType.TestReport,
'TestScript': R5ResourceType.TestScript,
'Transport': R5ResourceType.Transport,
'ValueSet': R5ResourceType.ValueSet,
'VerificationResult': R5ResourceType.VerificationResult,
'VisionPrescription': R5ResourceType.VisionPrescription,
};