Interface EnumFactory<T extends Enum<?>>

All Superinterfaces:
org.hl7.fhir.instance.model.api.IBaseEnumFactory<T>, Serializable
All Known Implementing Classes:
Account.AccountStatusEnumFactory, ActivityDefinition.RequestResourceTypesEnumFactory, Address.AddressTypeEnumFactory, Address.AddressUseEnumFactory, AdverseEvent.AdverseEventActualityEnumFactory, AdverseEvent.AdverseEventStatusEnumFactory, AllergyIntolerance.AllergyIntoleranceCategoryEnumFactory, AllergyIntolerance.AllergyIntoleranceCriticalityEnumFactory, AllergyIntolerance.AllergyIntoleranceSeverityEnumFactory, AllergyIntolerance.AllergyIntoleranceTypeEnumFactory, Appointment.AppointmentStatusEnumFactory, ArtifactAssessment.ArtifactAssessmentDispositionEnumFactory, ArtifactAssessment.ArtifactAssessmentInformationTypeEnumFactory, ArtifactAssessment.ArtifactAssessmentWorkflowStatusEnumFactory, AuditEvent.AuditEventActionEnumFactory, AuditEvent.AuditEventSeverityEnumFactory, Bundle.BundleTypeEnumFactory, Bundle.HTTPVerbEnumFactory, Bundle.LinkRelationTypesEnumFactory, Bundle.SearchEntryModeEnumFactory, CapabilityStatement.ConditionalDeleteStatusEnumFactory, CapabilityStatement.ConditionalReadStatusEnumFactory, CapabilityStatement.DocumentModeEnumFactory, CapabilityStatement.EventCapabilityModeEnumFactory, CapabilityStatement.ReferenceHandlingPolicyEnumFactory, CapabilityStatement.ResourceVersionPolicyEnumFactory, CapabilityStatement.RestfulCapabilityModeEnumFactory, CapabilityStatement.SystemRestfulInteractionEnumFactory, CapabilityStatement.TypeRestfulInteractionEnumFactory, CarePlan.CarePlanActivityKindEnumFactory, CarePlan.CarePlanActivityStatusEnumFactory, CarePlan.CarePlanIntentEnumFactory, CareTeam.CareTeamStatusEnumFactory, ChargeItem.ChargeItemStatusEnumFactory, Citation.RelatedArtifactTypeExpandedEnumFactory, ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory, CodeSystem.CodeSystemContentModeEnumFactory, CodeSystem.CodeSystemHierarchyMeaningEnumFactory, CodeSystem.PropertyTypeEnumFactory, ConceptMap.ConceptMapGroupUnmappedModeEnumFactory, ConditionDefinition.ConditionPreconditionTypeEnumFactory, ConditionDefinition.ConditionQuestionnairePurposeEnumFactory, Consent.ConsentStateEnumFactory, ContactPoint.ContactPointSystemEnumFactory, ContactPoint.ContactPointUseEnumFactory, Contract.ContractResourcePublicationStatusCodesEnumFactory, Contract.ContractResourceStatusCodesEnumFactory, Contributor.ContributorTypeEnumFactory, Coverage.KindEnumFactory, CoverageEligibilityRequest.EligibilityRequestPurposeEnumFactory, CoverageEligibilityResponse.EligibilityOutcomeEnumFactory, CoverageEligibilityResponse.EligibilityResponsePurposeEnumFactory, DataRequirement.SortDirectionEnumFactory, DataRequirement.ValueFilterComparatorEnumFactory, DetectedIssue.DetectedIssueSeverityEnumFactory, DetectedIssue.DetectedIssueStatusEnumFactory, Device.FHIRDeviceStatusEnumFactory, Device.UDIEntryTypeEnumFactory, DeviceDefinition.DeviceCorrectiveActionScopeEnumFactory, DeviceDefinition.DeviceDefinitionRegulatoryIdentifierTypeEnumFactory, DeviceDefinition.DeviceProductionIdentifierInUDIEnumFactory, DeviceDispense.DeviceDispenseStatusCodesEnumFactory, DeviceMetric.DeviceMetricCalibrationStateEnumFactory, DeviceMetric.DeviceMetricCalibrationTypeEnumFactory, DeviceMetric.DeviceMetricCategoryEnumFactory, DeviceMetric.DeviceMetricColorEnumFactory, DeviceMetric.DeviceMetricOperationalStatusEnumFactory, DeviceUsage.DeviceUsageStatusEnumFactory, DiagnosticReport.DiagnosticReportStatusEnumFactory, ElementDefinition.AggregationModeEnumFactory, ElementDefinition.ConstraintSeverityEnumFactory, ElementDefinition.DiscriminatorTypeEnumFactory, ElementDefinition.PropertyRepresentationEnumFactory, ElementDefinition.ReferenceVersionRulesEnumFactory, ElementDefinition.SlicingRulesEnumFactory, Encounter.EncounterLocationStatusEnumFactory, Encounter.EncounterStatusEnumFactory, Endpoint.EndpointStatusEnumFactory, EnrollmentResponse.EnrollmentOutcomeEnumFactory, Enumerations.ActionCardinalityBehaviorEnumFactory, Enumerations.ActionConditionKindEnumFactory, Enumerations.ActionGroupingBehaviorEnumFactory, Enumerations.ActionParticipantTypeEnumFactory, Enumerations.ActionPrecheckBehaviorEnumFactory, Enumerations.ActionRelationshipTypeEnumFactory, Enumerations.ActionRequiredBehaviorEnumFactory, Enumerations.ActionSelectionBehaviorEnumFactory, Enumerations.AdministrativeGenderEnumFactory, Enumerations.AllResourceTypesEnumFactory, Enumerations.BindingStrengthEnumFactory, Enumerations.CapabilityStatementKindEnumFactory, Enumerations.ClaimProcessingCodesEnumFactory, Enumerations.CompartmentTypeEnumFactory, Enumerations.CompositionStatusEnumFactory, Enumerations.ConceptMapRelationshipEnumFactory, Enumerations.ConsentDataMeaningEnumFactory, Enumerations.ConsentProvisionTypeEnumFactory, Enumerations.CurrenciesEnumFactory, Enumerations.DaysOfWeekEnumFactory, Enumerations.DeviceNameTypeEnumFactory, Enumerations.DocumentReferenceStatusEnumFactory, Enumerations.EventStatusEnumFactory, Enumerations.EvidenceVariableHandlingEnumFactory, Enumerations.ExampleScenarioActorTypeEnumFactory, Enumerations.FHIRTypesEnumFactory, Enumerations.FHIRVersionEnumFactory, Enumerations.FilterOperatorEnumFactory, Enumerations.FinancialResourceStatusCodesEnumFactory, Enumerations.ListModeEnumFactory, Enumerations.MeasureImprovementNotationEnumFactory, Enumerations.MimeTypesEnumFactory, Enumerations.NoteTypeEnumFactory, Enumerations.ObservationStatusEnumFactory, Enumerations.OperationParameterUseEnumFactory, Enumerations.ParticipationStatusEnumFactory, Enumerations.PublicationStatusEnumFactory, Enumerations.QuantityComparatorEnumFactory, Enumerations.RequestIntentEnumFactory, Enumerations.RequestPriorityEnumFactory, Enumerations.RequestStatusEnumFactory, Enumerations.ResourceTypesEnumFactory, Enumerations.SearchParamTypeEnumFactory, Enumerations.SubscriptionSearchModifierEnumFactory, Enumerations.SubscriptionStatusCodesEnumFactory, Enumerations.UseEnumFactory, EpisodeOfCare.EpisodeOfCareStatusEnumFactory, Event.EventStatusEnumFactory, EvidenceReport.ReportRelationshipTypeEnumFactory, EvidenceVariable.CharacteristicCombinationEnumFactory, ExplanationOfBenefit.ExplanationOfBenefitStatusEnumFactory, FamilyMemberHistory.FamilyHistoryStatusEnumFactory, Fivews.CanonicalStatusEnumFactory, Flag.FlagStatusEnumFactory, FormularyItem.FormularyItemStatusCodesEnumFactory, Goal.GoalLifecycleStatusEnumFactory, GraphDefinition.GraphCompartmentRuleEnumFactory, GraphDefinition.GraphCompartmentUseEnumFactory, Group.GroupMembershipBasisEnumFactory, Group.GroupTypeEnumFactory, GuidanceResponse.GuidanceResponseStatusEnumFactory, GuideParameterCode.GuideParameterCodeEnumFactory, HumanName.NameUseEnumFactory, Identifier.IdentifierUseEnumFactory, ImagingSelection.ImagingSelection2DGraphicTypeEnumFactory, ImagingSelection.ImagingSelection3DGraphicTypeEnumFactory, ImagingSelection.ImagingSelectionStatusEnumFactory, ImagingStudy.ImagingStudyStatusEnumFactory, Immunization.ImmunizationStatusCodesEnumFactory, ImmunizationEvaluation.ImmunizationEvaluationStatusCodesEnumFactory, ImplementationGuide.GuidePageGenerationEnumFactory, ImplementationGuide.SPDXLicenseEnumFactory, Ingredient.IngredientManufacturerRoleEnumFactory, InventoryReport.InventoryCountTypeEnumFactory, InventoryReport.InventoryReportStatusEnumFactory, Invoice.InvoiceStatusEnumFactory, Linkage.LinkageTypeEnumFactory, ListResource.ListStatusEnumFactory, Location.LocationModeEnumFactory, Location.LocationStatusEnumFactory, MeasureReport.MeasureReportStatusEnumFactory, MeasureReport.MeasureReportTypeEnumFactory, MeasureReport.SubmitDataUpdateTypeEnumFactory, Medication.MedicationStatusCodesEnumFactory, MedicationAdministration.MedicationAdministrationStatusCodesEnumFactory, MedicationDispense.MedicationDispenseStatusCodesEnumFactory, MedicationKnowledge.MedicationKnowledgeStatusCodesEnumFactory, MedicationRequest.MedicationRequestIntentEnumFactory, MedicationRequest.MedicationrequestStatusEnumFactory, MedicationUsage.MedicationUsageStatusCodesEnumFactory, MessageDefinition.MessageheaderResponseRequestEnumFactory, MessageDefinition.MessageSignificanceCategoryEnumFactory, MessageHeader.ResponseTypeEnumFactory, MolecularSequence.OrientationTypeEnumFactory, MolecularSequence.SequenceTypeEnumFactory, MolecularSequence.StrandTypeEnumFactory, MonetaryComponent.PriceComponentTypeEnumFactory, NamingSystem.NamingSystemIdentifierTypeEnumFactory, NamingSystem.NamingSystemTypeEnumFactory, Narrative.NarrativeStatusEnumFactory, NutritionProduct.NutritionProductStatusEnumFactory, Observation.TriggeredBytypeEnumFactory, ObservationDefinition.ObservationDataTypeEnumFactory, ObservationDefinition.ObservationRangeCategoryEnumFactory, OperationDefinition.OperationKindEnumFactory, OperationDefinition.OperationParameterScopeEnumFactory, OperationOutcome.IssueSeverityEnumFactory, OperationOutcome.IssueTypeEnumFactory, Patient.LinkTypeEnumFactory, PaymentReconciliation.PaymentOutcomeEnumFactory, Permission.PermissionRuleCombiningEnumFactory, Permission.PermissionStatusEnumFactory, Person.IdentityAssuranceLevelEnumFactory, Provenance.ProvenanceEntityRoleEnumFactory, Questionnaire.EnableWhenBehaviorEnumFactory, Questionnaire.QuestionnaireAnswerConstraintEnumFactory, Questionnaire.QuestionnaireItemDisabledDisplayEnumFactory, Questionnaire.QuestionnaireItemOperatorEnumFactory, Questionnaire.QuestionnaireItemTypeEnumFactory, QuestionnaireResponse.QuestionnaireResponseStatusEnumFactory, RelatedArtifact.RelatedArtifactTypeEnumFactory, Request.RequestIntentEnumFactory, Request.RequestPriorityEnumFactory, Request.RequestStatusEnumFactory, Requirements.ConformanceExpectationEnumFactory, SearchParameter.SearchComparatorEnumFactory, SearchParameter.SearchModifierCodeEnumFactory, SearchParameter.SearchProcessingModeTypeEnumFactory, Slot.SlotStatusEnumFactory, Specimen.SpecimenCombinedEnumFactory, Specimen.SpecimenStatusEnumFactory, SpecimenDefinition.SpecimenContainedPreferenceEnumFactory, StructureDefinition.ExtensionContextTypeEnumFactory, StructureDefinition.StructureDefinitionKindEnumFactory, StructureDefinition.TypeDerivationRuleEnumFactory, StructureMap.StructureMapGroupTypeModeEnumFactory, StructureMap.StructureMapInputModeEnumFactory, StructureMap.StructureMapModelModeEnumFactory, StructureMap.StructureMapSourceListModeEnumFactory, StructureMap.StructureMapTargetListModeEnumFactory, StructureMap.StructureMapTransformEnumFactory, Subscription.SubscriptionPayloadContentEnumFactory, SubscriptionStatus.SubscriptionNotificationTypeEnumFactory, SubscriptionTopic.CriteriaNotExistsBehaviorEnumFactory, SubscriptionTopic.InteractionTriggerEnumFactory, Substance.FHIRSubstanceStatusEnumFactory, SupplyDelivery.SupplyDeliveryStatusEnumFactory, SupplyRequest.SupplyRequestStatusEnumFactory, Task.TaskIntentEnumFactory, Task.TaskStatusEnumFactory, TerminologyCapabilities.CodeSearchSupportEnumFactory, TerminologyCapabilities.CommonLanguagesEnumFactory, TestReport.TestReportActionResultEnumFactory, TestReport.TestReportParticipantTypeEnumFactory, TestReport.TestReportResultEnumFactory, TestReport.TestReportStatusEnumFactory, TestScript.AssertionDirectionTypeEnumFactory, TestScript.AssertionOperatorTypeEnumFactory, TestScript.AssertionResponseTypesEnumFactory, TestScript.TestScriptRequestMethodCodeEnumFactory, Timing.EventTimingEnumFactory, Timing.UnitsOfTimeEnumFactory, Transport.TransportIntentEnumFactory, Transport.TransportStatusEnumFactory, TriggerDefinition.TriggerTypeEnumFactory, VerificationResult.StatusEnumFactory, VisionPrescription.VisionBaseEnumFactory, VisionPrescription.VisionEyesEnumFactory

public interface EnumFactory<T extends Enum<?>> extends org.hl7.fhir.instance.model.api.IBaseEnumFactory<T>
Helper class to help manage generic enumerated types
  • Method Summary

    Modifier and Type
    Method
    Description
    fromCode(String codeString)
    Read an enumeration value from the string that represents it on the XML or JSON
    toCode(T code)
    Get the XML/JSON representation for an enumerated value
    toSystem(T code)
    Get the system URI for an enumerated value
  • Method Details

    • fromCode

      Read an enumeration value from the string that represents it on the XML or JSON
      Specified by:
      fromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<T extends Enum<?>>
      Parameters:
      codeString - the value found in the XML or JSON
      Returns:
      the enumeration value
      Throws:
      Exception - is the value is not known
      IllegalArgumentException
    • toCode

      String toCode(T code)
      Get the XML/JSON representation for an enumerated value
      Specified by:
      toCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<T extends Enum<?>>
      Parameters:
      code - - the enumeration value
      Returns:
      the XML/JSON representation
    • toSystem

      String toSystem(T code)
      Get the system URI for an enumerated value
      Specified by:
      toSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<T extends Enum<?>>
      Parameters:
      code - - the enumeration value
      Returns:
      the XML/JSON representation