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, Appointment.AppointmentStatusEnumFactory, Appointment.ParticipationStatusEnumFactory, AppointmentResponse.AppointmentResponseStatusEnumFactory, ArtifactAssessment.ArtifactAssessmentDispositionEnumFactory, ArtifactAssessment.ArtifactAssessmentInformationTypeEnumFactory, ArtifactAssessment.ArtifactAssessmentWorkflowStatusEnumFactory, AuditEvent.AuditEventActionEnumFactory, AuditEvent.AuditEventSeverityEnumFactory, BiologicallyDerivedProductDispense.BiologicallyDerivedProductDispenseCodesEnumFactory, 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.CarePlanIntentEnumFactory, CareTeam.CareTeamStatusEnumFactory, ChargeItem.ChargeItemStatusEnumFactory, Citation.RelatedArtifactTypeExpandedEnumFactory, ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory, CodeSystem.CodeSystemHierarchyMeaningEnumFactory, CodeSystem.PropertyTypeEnumFactory, ConceptMap.ConceptMapAttributeTypeEnumFactory, ConceptMap.ConceptMapGroupUnmappedModeEnumFactory, ConceptMap.ConceptMapPropertyTypeEnumFactory, 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.DeviceMetricOperationalStatusEnumFactory, DeviceUsage.DeviceUsageStatusEnumFactory, DiagnosticReport.DiagnosticReportStatusEnumFactory, DocumentReference.DocumentReferenceStatusEnumFactory, ElementDefinition.AdditionalBindingPurposeVSEnumFactory, ElementDefinition.AggregationModeEnumFactory, ElementDefinition.ConstraintSeverityEnumFactory, ElementDefinition.DiscriminatorTypeEnumFactory, ElementDefinition.PropertyRepresentationEnumFactory, ElementDefinition.ReferenceVersionRulesEnumFactory, ElementDefinition.SlicingRulesEnumFactory, Encounter.EncounterLocationStatusEnumFactory, Endpoint.EndpointStatusEnumFactory, EnrollmentResponse.EnrollmentOutcomeEnumFactory, Enumerations.ActionCardinalityBehaviorEnumFactory, Enumerations.ActionConditionKindEnumFactory, Enumerations.ActionGroupingBehaviorEnumFactory, Enumerations.ActionParticipantTypeEnumFactory, Enumerations.ActionPrecheckBehaviorEnumFactory, Enumerations.ActionRelationshipTypeEnumFactory, Enumerations.ActionRequiredBehaviorEnumFactory, Enumerations.ActionSelectionBehaviorEnumFactory, Enumerations.AdministrativeGenderEnumFactory, Enumerations.AllLanguagesEnumFactory, Enumerations.BindingStrengthEnumFactory, Enumerations.CapabilityStatementKindEnumFactory, Enumerations.ClaimProcessingCodesEnumFactory, Enumerations.CodeSystemContentModeEnumFactory, Enumerations.CommonLanguagesEnumFactory, Enumerations.CompartmentTypeEnumFactory, Enumerations.CompositionStatusEnumFactory, Enumerations.ConceptMapRelationshipEnumFactory, Enumerations.ConsentDataMeaningEnumFactory, Enumerations.ConsentProvisionTypeEnumFactory, Enumerations.CurrenciesEnumFactory, Enumerations.DaysOfWeekEnumFactory, Enumerations.DeviceNameTypeEnumFactory, Enumerations.EncounterStatusEnumFactory, Enumerations.EventStatusEnumFactory, Enumerations.EvidenceVariableHandlingEnumFactory, Enumerations.ExampleScenarioActorTypeEnumFactory, Enumerations.FHIRTypesEnumFactory, Enumerations.FHIRVersionEnumFactory, Enumerations.FilterOperatorEnumFactory, Enumerations.FinancialResourceStatusCodesEnumFactory, Enumerations.ListModeEnumFactory, Enumerations.MeasureImprovementNotationEnumFactory, Enumerations.MimeTypesEnumFactory, Enumerations.ObservationStatusEnumFactory, Enumerations.OperationParameterUseEnumFactory, Enumerations.PublicationStatusEnumFactory, Enumerations.QuantityComparatorEnumFactory, Enumerations.RequestIntentEnumFactory, Enumerations.RequestPriorityEnumFactory, Enumerations.RequestStatusEnumFactory, Enumerations.ResourceTypeEnumEnumFactory, Enumerations.SearchComparatorEnumFactory, Enumerations.SearchModifierCodeEnumFactory, Enumerations.SearchParamTypeEnumFactory, Enumerations.SubscriptionStatusCodesEnumFactory, Enumerations.UseEnumFactory, Enumerations.VersionIndependentResourceTypesAllEnumFactory, EpisodeOfCare.EpisodeOfCareStatusEnumFactory, Event.EventStatusEnumFactory, EvidenceReport.ReportRelationshipTypeEnumFactory, EvidenceVariable.CharacteristicCombinationEnumFactory, ExplanationOfBenefit.ExplanationOfBenefitStatusEnumFactory, FamilyMemberHistory.FamilyHistoryStatusEnumFactory, Fivews.CanonicalStatusEnumFactory, Flag.FlagStatusEnumFactory, FormularyItem.FormularyItemStatusCodesEnumFactory, GenomicStudy.GenomicStudyStatusEnumFactory, 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, InventoryItem.InventoryItemStatusCodesEnumFactory, 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, MedicationStatement.MedicationStatementStatusCodesEnumFactory, 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.NoteTypeEnumFactory, 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.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, TestReport.TestReportActionResultEnumFactory, TestReport.TestReportParticipantTypeEnumFactory, TestReport.TestReportResultEnumFactory, TestReport.TestReportStatusEnumFactory, TestScript.AssertionDirectionTypeEnumFactory, TestScript.AssertionManualCompletionTypeEnumFactory, TestScript.AssertionOperatorTypeEnumFactory, TestScript.AssertionResponseTypesEnumFactory, TestScript.TestScriptRequestMethodCodeEnumFactory, Timing.EventTimingEnumFactory, Timing.UnitsOfTimeEnumFactory, Transport.TransportIntentEnumFactory, Transport.TransportStatusEnumFactory, TriggerDefinition.TriggerTypeEnumFactory, VerificationResult.VerificationResultStatusEnumFactory, 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