Implementation
const Map<String, Stu3ResourceType> resourceTypeFromStringMap =
<String, Stu3ResourceType>{
'Account': Stu3ResourceType.Account,
'ActivityDefinition': Stu3ResourceType.ActivityDefinition,
'AdverseEvent': Stu3ResourceType.AdverseEvent,
'AllergyIntolerance': Stu3ResourceType.AllergyIntolerance,
'Appointment': Stu3ResourceType.Appointment,
'AppointmentResponse': Stu3ResourceType.AppointmentResponse,
'AuditEvent': Stu3ResourceType.AuditEvent,
'Basic': Stu3ResourceType.Basic,
'Binary': Stu3ResourceType.Binary,
'BodySite': Stu3ResourceType.BodySite,
'Bundle': Stu3ResourceType.Bundle,
'CapabilityStatement': Stu3ResourceType.CapabilityStatement,
'CarePlan': Stu3ResourceType.CarePlan,
'CareTeam': Stu3ResourceType.CareTeam,
'ChargeItem': Stu3ResourceType.ChargeItem,
'Claim': Stu3ResourceType.Claim,
'ClaimResponse': Stu3ResourceType.ClaimResponse,
'ClinicalImpression': Stu3ResourceType.ClinicalImpression,
'CodeSystem': Stu3ResourceType.CodeSystem,
'Communication': Stu3ResourceType.Communication,
'CommunicationRequest': Stu3ResourceType.CommunicationRequest,
'CompartmentDefinition': Stu3ResourceType.CompartmentDefinition,
'Composition': Stu3ResourceType.Composition,
'ConceptMap': Stu3ResourceType.ConceptMap,
'Condition': Stu3ResourceType.Condition,
'Consent': Stu3ResourceType.Consent,
'Contract': Stu3ResourceType.Contract,
'Coverage': Stu3ResourceType.Coverage,
'DataElement': Stu3ResourceType.DataElement,
'DetectedIssue': Stu3ResourceType.DetectedIssue,
'Device': Stu3ResourceType.Device,
'DeviceComponent': Stu3ResourceType.DeviceComponent,
'DeviceMetric': Stu3ResourceType.DeviceMetric,
'DeviceRequest': Stu3ResourceType.DeviceRequest,
'DeviceUseStatement': Stu3ResourceType.DeviceUseStatement,
'DiagnosticReport': Stu3ResourceType.DiagnosticReport,
'DocumentManifest': Stu3ResourceType.DocumentManifest,
'DocumentReference': Stu3ResourceType.DocumentReference,
'EligibilityRequest': Stu3ResourceType.EligibilityRequest,
'EligibilityResponse': Stu3ResourceType.EligibilityResponse,
'Encounter': Stu3ResourceType.Encounter,
'Endpoint': Stu3ResourceType.Endpoint,
'EnrollmentRequest': Stu3ResourceType.EnrollmentRequest,
'EnrollmentResponse': Stu3ResourceType.EnrollmentResponse,
'EpisodeOfCare': Stu3ResourceType.EpisodeOfCare,
'ExpansionProfile': Stu3ResourceType.ExpansionProfile,
'ExplanationOfBenefit': Stu3ResourceType.ExplanationOfBenefit,
'FamilyMemberHistory': Stu3ResourceType.FamilyMemberHistory,
'Flag': Stu3ResourceType.Flag,
'Goal': Stu3ResourceType.Goal,
'GraphDefinition': Stu3ResourceType.GraphDefinition,
'Group': Stu3ResourceType.Group,
'GuidanceResponse': Stu3ResourceType.GuidanceResponse,
'HealthcareService': Stu3ResourceType.HealthcareService,
'ImagingManifest': Stu3ResourceType.ImagingManifest,
'ImagingStudy': Stu3ResourceType.ImagingStudy,
'Immunization': Stu3ResourceType.Immunization,
'ImmunizationRecommendation': Stu3ResourceType.ImmunizationRecommendation,
'ImplementationGuide': Stu3ResourceType.ImplementationGuide,
'Library': Stu3ResourceType.Library,
'Linkage': Stu3ResourceType.Linkage,
'List': Stu3ResourceType.FhirList,
'Location': Stu3ResourceType.Location,
'Measure': Stu3ResourceType.Measure,
'MeasureReport': Stu3ResourceType.MeasureReport,
'Media': Stu3ResourceType.Media,
'Medication': Stu3ResourceType.Medication,
'MedicationAdministration': Stu3ResourceType.MedicationAdministration,
'MedicationDispense': Stu3ResourceType.MedicationDispense,
'MedicationRequest': Stu3ResourceType.MedicationRequest,
'MedicationStatement': Stu3ResourceType.MedicationStatement,
'MessageDefinition': Stu3ResourceType.MessageDefinition,
'MessageHeader': Stu3ResourceType.MessageHeader,
'NamingSystem': Stu3ResourceType.NamingSystem,
'NutritionOrder': Stu3ResourceType.NutritionOrder,
'Observation': Stu3ResourceType.Observation,
'OperationDefinition': Stu3ResourceType.OperationDefinition,
'OperationOutcome': Stu3ResourceType.OperationOutcome,
'Organization': Stu3ResourceType.Organization,
'Parameters': Stu3ResourceType.Parameters,
'Patient': Stu3ResourceType.Patient,
'PaymentNotice': Stu3ResourceType.PaymentNotice,
'PaymentReconciliation': Stu3ResourceType.PaymentReconciliation,
'Person': Stu3ResourceType.Person,
'PlanDefinition': Stu3ResourceType.PlanDefinition,
'Practitioner': Stu3ResourceType.Practitioner,
'PractitionerRole': Stu3ResourceType.PractitionerRole,
'Procedure': Stu3ResourceType.Procedure,
'ProcedureRequest': Stu3ResourceType.ProcedureRequest,
'ProcessRequest': Stu3ResourceType.ProcessRequest,
'ProcessResponse': Stu3ResourceType.ProcessResponse,
'Provenance': Stu3ResourceType.Provenance,
'Questionnaire': Stu3ResourceType.Questionnaire,
'QuestionnaireResponse': Stu3ResourceType.QuestionnaireResponse,
'ReferralRequest': Stu3ResourceType.ReferralRequest,
'RelatedPerson': Stu3ResourceType.RelatedPerson,
'RequestGroup': Stu3ResourceType.RequestGroup,
'ResearchStudy': Stu3ResourceType.ResearchStudy,
'ResearchSubject': Stu3ResourceType.ResearchSubject,
'RiskAssessment': Stu3ResourceType.RiskAssessment,
'Schedule': Stu3ResourceType.Schedule,
'SearchParameter': Stu3ResourceType.SearchParameter,
'Sequence': Stu3ResourceType.Sequence,
'ServiceDefinition': Stu3ResourceType.ServiceDefinition,
'Slot': Stu3ResourceType.Slot,
'Specimen': Stu3ResourceType.Specimen,
'StructureDefinition': Stu3ResourceType.StructureDefinition,
'StructureMap': Stu3ResourceType.StructureMap,
'Subscription': Stu3ResourceType.Subscription,
'Substance': Stu3ResourceType.Substance,
'SupplyDelivery': Stu3ResourceType.SupplyDelivery,
'SupplyRequest': Stu3ResourceType.SupplyRequest,
'Task': Stu3ResourceType.Task,
'TestReport': Stu3ResourceType.TestReport,
'TestScript': Stu3ResourceType.TestScript,
'ValueSet': Stu3ResourceType.ValueSet,
'VisionPrescription': Stu3ResourceType.VisionPrescription,
};