From 3bfecb27a85ff581dda1c8785a8763971bc818bb Mon Sep 17 00:00:00 2001 From: James Agnew Date: Wed, 8 Jul 2015 17:57:53 -0400 Subject: [PATCH] Update RI structures --- .../ca/uhn/fhir/validation/FhirValidator.java | 6 +- .../fhir/validation/IValidationContext.java | 17 + .../ca/uhn/fhir/validation/IValidator.java | 11 +- .../fhir/validation/SchemaBaseValidator.java | 11 +- .../validation/SchematronBaseValidator.java | 10 +- .../fhir/validation/ValidationContext.java | 29 +- .../ca/uhn/fhir/rest/server/CreateTest.java | 44 + .../dstu2hl7org/Dstu2Hl7OrgBundleFactory.java | 3 +- .../hl7/fhir/instance/formats/JsonParser.java | 12 + .../org/hl7/fhir/instance/model/Account.java | 705 + .../org/hl7/fhir/instance/model/Address.java | 193 +- .../java/org/hl7/fhir/instance/model/Age.java | 2 +- .../instance/model/AllergyIntolerance.java | 40 +- .../hl7/fhir/instance/model/Annotation.java | 273 + .../hl7/fhir/instance/model/Appointment.java | 28 +- .../instance/model/AppointmentResponse.java | 14 +- .../hl7/fhir/instance/model/Attachment.java | 2 +- .../hl7/fhir/instance/model/AuditEvent.java | 164 +- .../fhir/instance/model/BackboneElement.java | 2 +- .../org/hl7/fhir/instance/model/Base.java | 6 + .../fhir/instance/model/BaseReference.java | 2 +- .../org/hl7/fhir/instance/model/Basic.java | 8 +- .../org/hl7/fhir/instance/model/Binary.java | 2 +- .../org/hl7/fhir/instance/model/BodySite.java | 2 +- .../org/hl7/fhir/instance/model/Bundle.java | 60 +- .../org/hl7/fhir/instance/model/CarePlan.java | 54 +- .../org/hl7/fhir/instance/model/Claim.java | 20 +- .../fhir/instance/model/ClaimResponse.java | 2 +- .../instance/model/ClinicalImpression.java | 16 +- .../fhir/instance/model/CodeableConcept.java | 2 +- .../org/hl7/fhir/instance/model/Coding.java | 64 +- .../fhir/instance/model/Communication.java | 24 +- .../instance/model/CommunicationRequest.java | 34 +- .../hl7/fhir/instance/model/Composition.java | 22 +- .../hl7/fhir/instance/model/ConceptMap.java | 873 +- .../hl7/fhir/instance/model/Condition.java | 66 +- .../hl7/fhir/instance/model/Conformance.java | 74 +- .../hl7/fhir/instance/model/Constants.java | 6 +- .../hl7/fhir/instance/model/ContactPoint.java | 20 +- .../org/hl7/fhir/instance/model/Contract.java | 50 +- .../fhir/instance/model/Contraindication.java | 118 +- .../org/hl7/fhir/instance/model/Count.java | 2 +- .../org/hl7/fhir/instance/model/Coverage.java | 2 +- .../hl7/fhir/instance/model/DataElement.java | 28 +- .../org/hl7/fhir/instance/model/Device.java | 103 +- .../fhir/instance/model/DeviceComponent.java | 24 +- .../hl7/fhir/instance/model/DeviceMetric.java | 84 +- .../fhir/instance/model/DeviceUseRequest.java | 50 +- .../instance/model/DeviceUseStatement.java | 22 +- .../fhir/instance/model/DiagnosticOrder.java | 44 +- .../fhir/instance/model/DiagnosticReport.java | 90 +- .../org/hl7/fhir/instance/model/Distance.java | 2 +- .../fhir/instance/model/DocumentManifest.java | 14 +- .../instance/model/DocumentReference.java | 20 +- .../fhir/instance/model/DomainResource.java | 2 +- .../org/hl7/fhir/instance/model/Duration.java | 2 +- .../org/hl7/fhir/instance/model/Element.java | 2 +- .../instance/model/ElementDefinition.java | 288 +- .../instance/model/EligibilityRequest.java | 2 +- .../instance/model/EligibilityResponse.java | 2 +- .../hl7/fhir/instance/model/Encounter.java | 454 +- .../instance/model/EnrollmentRequest.java | 2 +- .../instance/model/EnrollmentResponse.java | 2 +- .../hl7/fhir/instance/model/Enumerations.java | 243 +- .../fhir/instance/model/EpisodeOfCare.java | 14 +- .../instance/model/ExplanationOfBenefit.java | 2 +- .../hl7/fhir/instance/model/Extension.java | 2 +- .../instance/model/FamilyMemberHistory.java | 58 +- .../org/hl7/fhir/instance/model/Flag.java | 8 +- .../org/hl7/fhir/instance/model/Goal.java | 26 +- .../org/hl7/fhir/instance/model/Group.java | 30 +- .../instance/model/HealthcareService.java | 16 +- .../hl7/fhir/instance/model/HumanName.java | 16 +- .../fhir/instance/model/IPrimitiveType.java | 36 + .../org/hl7/fhir/instance/model/IdType.java | 9 +- .../hl7/fhir/instance/model/Identifier.java | 10 +- .../model/ImagingObjectSelection.java | 2 +- .../hl7/fhir/instance/model/ImagingStudy.java | 687 +- .../hl7/fhir/instance/model/Immunization.java | 4 +- .../model/ImmunizationRecommendation.java | 2 +- .../instance/model/ImplementationGuide.java | 2295 +++ .../org/hl7/fhir/instance/model/List_.java | 112 +- .../org/hl7/fhir/instance/model/Location.java | 26 +- .../org/hl7/fhir/instance/model/Media.java | 8 +- .../hl7/fhir/instance/model/Medication.java | 8 +- .../model/MedicationAdministration.java | 38 +- .../instance/model/MedicationDispense.java | 48 +- .../model/MedicationPrescription.java | 90 +- .../instance/model/MedicationStatement.java | 40 +- .../fhir/instance/model/MessageHeader.java | 18 +- .../org/hl7/fhir/instance/model/Meta.java | 2 +- .../org/hl7/fhir/instance/model/Money.java | 2 +- .../hl7/fhir/instance/model/NamingSystem.java | 16 +- .../hl7/fhir/instance/model/Narrative.java | 10 +- .../fhir/instance/model/NutritionOrder.java | 26 +- .../hl7/fhir/instance/model/Observation.java | 288 +- .../instance/model/OperationDefinition.java | 478 +- .../fhir/instance/model/OperationOutcome.java | 23 +- .../org/hl7/fhir/instance/model/Order.java | 95 +- .../fhir/instance/model/OrderResponse.java | 85 +- .../hl7/fhir/instance/model/Organization.java | 12 +- .../hl7/fhir/instance/model/Parameters.java | 197 +- .../org/hl7/fhir/instance/model/Patient.java | 44 +- .../fhir/instance/model/PaymentNotice.java | 2 +- .../instance/model/PaymentReconciliation.java | 2 +- .../org/hl7/fhir/instance/model/Period.java | 2 +- .../org/hl7/fhir/instance/model/Person.java | 50 +- .../hl7/fhir/instance/model/Practitioner.java | 20 +- .../hl7/fhir/instance/model/Procedure.java | 30 +- .../fhir/instance/model/ProcedureRequest.java | 58 +- .../fhir/instance/model/ProcessRequest.java | 10 +- .../fhir/instance/model/ProcessResponse.java | 2 +- .../hl7/fhir/instance/model/Provenance.java | 172 +- .../org/hl7/fhir/instance/model/Quantity.java | 18 +- .../fhir/instance/model/Questionnaire.java | 38 +- .../instance/model/QuestionnaireAnswers.java | 60 +- .../org/hl7/fhir/instance/model/Range.java | 2 +- .../org/hl7/fhir/instance/model/Ratio.java | 2 +- .../hl7/fhir/instance/model/Reference.java | 2 +- .../fhir/instance/model/ReferralRequest.java | 16 +- .../fhir/instance/model/RelatedPerson.java | 94 +- .../org/hl7/fhir/instance/model/Resource.java | 16 +- .../fhir/instance/model/ResourceFactory.java | 40 +- .../hl7/fhir/instance/model/ResourceType.java | 530 +- .../fhir/instance/model/RiskAssessment.java | 22 +- .../hl7/fhir/instance/model/SampledData.java | 2 +- .../org/hl7/fhir/instance/model/Schedule.java | 6 +- .../fhir/instance/model/SearchParameter.java | 2 +- .../hl7/fhir/instance/model/Signature.java | 10 +- .../org/hl7/fhir/instance/model/Slot.java | 10 +- .../org/hl7/fhir/instance/model/Specimen.java | 26 +- .../instance/model/StructureDefinition.java | 34 +- .../hl7/fhir/instance/model/Subscription.java | 20 +- .../hl7/fhir/instance/model/Substance.java | 123 +- .../org/hl7/fhir/instance/model/Supply.java | 18 +- .../fhir/instance/model/SupplyDelivery.java | 8 +- .../fhir/instance/model/SupplyRequest.java | 532 +- .../hl7/fhir/instance/model/TestScript.java | 36 +- .../org/hl7/fhir/instance/model/Timing.java | 160 +- .../org/hl7/fhir/instance/model/ValueSet.java | 217 +- .../instance/model/VisionPrescription.java | 22 +- .../model/valuesets/Additionalmaterials.java | 121 + .../AdditionalmaterialsEnumFactory.java | 75 + .../model/valuesets/Adjudication.java | 130 + .../valuesets/AdjudicationEnumFactory.java | 79 + .../model/valuesets/AdjudicationError.java | 85 + .../AdjudicationErrorEnumFactory.java | 59 + .../model/valuesets/AdjustmentReason.java | 85 + .../AdjustmentReasonEnumFactory.java | 59 + .../model/valuesets/AnimalBreeds.java | 103 + .../valuesets/AnimalBreedsEnumFactory.java | 67 + .../model/valuesets/AnimalGenderstatus.java | 94 + .../AnimalGenderstatusEnumFactory.java | 63 + .../model/valuesets/AnimalSpecies.java | 94 + .../valuesets/AnimalSpeciesEnumFactory.java | 63 + .../model/valuesets/AnzscoOccupations.java | 12001 ++++++++++++++++ .../AnzscoOccupationsEnumFactory.java | 5355 +++++++ .../model/valuesets/AuditSourceType.java | 148 + .../valuesets/AuditSourceTypeEnumFactory.java | 87 + .../model/valuesets/BasicResourceType.java | 229 + .../BasicResourceTypeEnumFactory.java | 123 + .../model/valuesets/BindingConformance.java | 94 + .../BindingConformanceEnumFactory.java | 63 + .../model/valuesets/CarePlanGoalStatus.java | 103 + .../CarePlanGoalStatusEnumFactory.java | 67 + .../valuesets/ClassificationOrContext.java | 85 + .../ClassificationOrContextEnumFactory.java | 59 + .../model/valuesets/ConditionCategory.java | 103 + .../ConditionCategoryEnumFactory.java | 67 + .../model/valuesets/ConditionState.java | 94 + .../valuesets/ConditionStateEnumFactory.java | 63 + .../valuesets/ConformanceExpectation.java | 103 + .../ConformanceExpectationEnumFactory.java | 67 + .../model/valuesets/ContactentityType.java | 121 + .../ContactentityTypeEnumFactory.java | 75 + .../model/valuesets/ContractAction.java | 85 + .../valuesets/ContractActionEnumFactory.java | 59 + .../model/valuesets/ContractActorrole.java | 85 + .../ContractActorroleEnumFactory.java | 59 + .../model/valuesets/ContractSignerType.java | 220 + .../ContractSignerTypeEnumFactory.java | 119 + .../model/valuesets/ContractSubtype.java | 85 + .../valuesets/ContractSubtypeEnumFactory.java | 59 + .../model/valuesets/ContractTermSubtype.java | 94 + .../ContractTermSubtypeEnumFactory.java | 63 + .../model/valuesets/ContractTermType.java | 85 + .../ContractTermTypeEnumFactory.java | 59 + .../model/valuesets/ContractType.java | 85 + .../valuesets/ContractTypeEnumFactory.java | 59 + .../model/valuesets/DeviceAction.java | 94 + .../valuesets/DeviceActionEnumFactory.java | 63 + .../model/valuesets/EncounterAdmitSource.java | 157 + .../EncounterAdmitSourceEnumFactory.java | 91 + .../model/valuesets/EncounterDiet.java | 130 + .../valuesets/EncounterDietEnumFactory.java | 79 + .../EncounterDischargeDisposition.java | 148 + ...ounterDischargeDispositionEnumFactory.java | 87 + .../model/valuesets/EncounterPriority.java | 112 + .../EncounterPriorityEnumFactory.java | 71 + .../EncounterSpecialArrangements.java | 112 + ...counterSpecialArrangementsEnumFactory.java | 71 + .../model/valuesets/EncounterType.java | 103 + .../valuesets/EncounterTypeEnumFactory.java | 67 + .../instance/model/valuesets/Exception_.java | 85 + .../valuesets/Exception_EnumFactory.java | 59 + .../model/valuesets/FmConditions.java | 76 + .../valuesets/FmConditionsEnumFactory.java | 55 + .../fhir/instance/model/valuesets/Forms.java | 85 + .../model/valuesets/FormsEnumFactory.java | 59 + .../model/valuesets/Fundsreserve.java | 94 + .../valuesets/FundsreserveEnumFactory.java | 63 + .../model/valuesets/GoalPriority.java | 94 + .../valuesets/GoalPriorityEnumFactory.java | 63 + .../model/valuesets/GoalRelationshipType.java | 103 + .../GoalRelationshipTypeEnumFactory.java | 67 + ...munizationRecommendationDateCriterion.java | 112 + ...ecommendationDateCriterionEnumFactory.java | 71 + .../ImmunizationRecommendationStatus.java | 85 + ...zationRecommendationStatusEnumFactory.java | 59 + .../model/valuesets/Intervention.java | 85 + .../valuesets/InterventionEnumFactory.java | 59 + .../instance/model/valuesets/IssueType.java | 328 + .../model/valuesets/IssueTypeEnumFactory.java | 167 + .../model/valuesets/ListEmptyReason.java | 124 + .../valuesets/ListEmptyReasonEnumFactory.java | 75 + .../model/valuesets/ListExampleCodes.java | 148 + .../ListExampleCodesEnumFactory.java | 87 + .../model/valuesets/ListItemFlag.java | 121 + .../valuesets/ListItemFlagEnumFactory.java | 75 + .../instance/model/valuesets/ListOrder.java | 139 + .../model/valuesets/ListOrderEnumFactory.java | 83 + .../model/valuesets/LocationPhysicalType.java | 175 + .../LocationPhysicalTypeEnumFactory.java | 99 + .../instance/model/valuesets/MaxOccurs.java | 76 + .../model/valuesets/MaxOccursEnumFactory.java | 55 + .../valuesets/MessageReasonEncounter.java | 121 + .../MessageReasonEncounterEnumFactory.java | 75 + .../model/valuesets/MessageTransport.java | 94 + .../MessageTransportEnumFactory.java | 63 + .../model/valuesets/MissingToothReason.java | 103 + .../MissingToothReasonEnumFactory.java | 67 + .../instance/model/valuesets/Modifiers.java | 112 + .../model/valuesets/ModifiersEnumFactory.java | 71 + .../ObservationValueabsentreason.java | 139 + ...servationValueabsentreasonEnumFactory.java | 83 + .../valuesets/OralProsthodonticMaterial.java | 103 + .../OralProsthodonticMaterialEnumFactory.java | 67 + .../model/valuesets/OrganizationType.java | 130 + .../OrganizationTypeEnumFactory.java | 79 + .../valuesets/PatientContactRelationship.java | 166 + ...PatientContactRelationshipEnumFactory.java | 95 + .../instance/model/valuesets/Payeetype.java | 94 + .../model/valuesets/PayeetypeEnumFactory.java | 63 + .../model/valuesets/PaymentStatus.java | 85 + .../valuesets/PaymentStatusEnumFactory.java | 59 + .../instance/model/valuesets/PaymentType.java | 94 + .../valuesets/PaymentTypeEnumFactory.java | 63 + .../model/valuesets/PractitionerRole.java | 121 + .../PractitionerRoleEnumFactory.java | 75 + .../valuesets/PractitionerSpecialty.java | 112 + .../PractitionerSpecialtyEnumFactory.java | 71 + .../model/valuesets/ProcessOutcome.java | 94 + .../valuesets/ProcessOutcomeEnumFactory.java | 63 + .../model/valuesets/ProcessPriority.java | 94 + .../valuesets/ProcessPriorityEnumFactory.java | 63 + .../model/valuesets/ProvenanceAgentRole.java | 130 + .../ProvenanceAgentRoleEnumFactory.java | 79 + .../model/valuesets/ProvenanceAgentType.java | 130 + .../ProvenanceAgentTypeEnumFactory.java | 79 + .../valuesets/ReasonMedicationGivenCodes.java | 94 + ...ReasonMedicationGivenCodesEnumFactory.java | 63 + .../ReasonMedicationNotGivenCodes.java | 103 + ...sonMedicationNotGivenCodesEnumFactory.java | 67 + .../model/valuesets/Relationship.java | 112 + .../valuesets/RelationshipEnumFactory.java | 71 + .../valuesets/ResourceValidationMode.java | 94 + .../ResourceValidationModeEnumFactory.java | 63 + .../valuesets/RestfulSecurityService.java | 121 + .../RestfulSecurityServiceEnumFactory.java | 75 + .../model/valuesets/RiskProbability.java | 112 + .../valuesets/RiskProbabilityEnumFactory.java | 71 + .../instance/model/valuesets/Ruleset.java | 121 + .../model/valuesets/RulesetEnumFactory.java | 75 + .../model/valuesets/ServicePharmacy.java | 85 + .../valuesets/ServicePharmacyEnumFactory.java | 59 + .../model/valuesets/ServiceProduct.java | 85 + .../valuesets/ServiceProductEnumFactory.java | 59 + .../valuesets/ServiceProvisionConditions.java | 94 + ...ServiceProvisionConditionsEnumFactory.java | 63 + .../valuesets/ServiceReferralMethod.java | 112 + .../ServiceReferralMethodEnumFactory.java | 71 + .../model/valuesets/ServiceUscls.java | 238 + .../valuesets/ServiceUsclsEnumFactory.java | 127 + .../model/valuesets/SignatureType.java | 220 + .../valuesets/SignatureTypeEnumFactory.java | 119 + .../model/valuesets/SubscriptionTag.java | 85 + .../valuesets/SubscriptionTagEnumFactory.java | 59 + .../instance/model/valuesets/SupplyItem.java | 85 + .../valuesets/SupplyItemEnumFactory.java | 59 + .../instance/model/valuesets/SupplyKind.java | 85 + .../valuesets/SupplyKindEnumFactory.java | 59 + .../model/valuesets/SupplydeliveryType.java | 85 + .../SupplydeliveryTypeEnumFactory.java | 59 + .../model/valuesets/SupplyrequestKind.java | 85 + .../SupplyrequestKindEnumFactory.java | 59 + .../instance/model/valuesets/Surface.java | 166 + .../model/valuesets/SurfaceEnumFactory.java | 95 + .../fhir/instance/model/valuesets/Teeth.java | 355 + .../model/valuesets/TeethEnumFactory.java | 179 + .../fhir/instance/model/valuesets/Tooth.java | 445 + .../model/valuesets/ToothEnumFactory.java | 219 + .../valuesets/TransactionProcessingMode.java | 94 + .../TransactionProcessingModeEnumFactory.java | 63 + .../fhir/instance/model/valuesets/Udi.java | 76 + .../model/valuesets/UdiEnumFactory.java | 55 + .../valuesets/V3AcknowledgementCondition.java | 94 + ...V3AcknowledgementConditionEnumFactory.java | 63 + .../V3AcknowledgementDetailCode.java | 319 + ...3AcknowledgementDetailCodeEnumFactory.java | 163 + .../V3AcknowledgementDetailType.java | 106 + ...3AcknowledgementDetailTypeEnumFactory.java | 63 + .../valuesets/V3AcknowledgementType.java | 121 + .../V3AcknowledgementTypeEnumFactory.java | 75 + .../instance/model/valuesets/V3ActClass.java | 1558 ++ .../valuesets/V3ActClassEnumFactory.java | 459 + .../instance/model/valuesets/V3ActCode.java | 10030 +++++++++++++ .../model/valuesets/V3ActCodeEnumFactory.java | 4219 ++++++ .../valuesets/V3ActExposureLevelCode.java | 103 + .../V3ActExposureLevelCodeEnumFactory.java | 67 + .../V3ActInvoiceElementModifier.java | 103 + ...3ActInvoiceElementModifierEnumFactory.java | 67 + .../instance/model/valuesets/V3ActMood.java | 325 + .../model/valuesets/V3ActMoodEnumFactory.java | 143 + .../model/valuesets/V3ActPriority.java | 202 + .../valuesets/V3ActPriorityEnumFactory.java | 111 + .../instance/model/valuesets/V3ActReason.java | 2350 +++ .../valuesets/V3ActReasonEnumFactory.java | 1023 ++ .../V3ActRelationshipCheckpoint.java | 112 + ...3ActRelationshipCheckpointEnumFactory.java | 71 + .../valuesets/V3ActRelationshipJoin.java | 103 + .../V3ActRelationshipJoinEnumFactory.java | 67 + .../valuesets/V3ActRelationshipSplit.java | 103 + .../V3ActRelationshipSplitEnumFactory.java | 67 + .../valuesets/V3ActRelationshipSubset.java | 195 + .../V3ActRelationshipSubsetEnumFactory.java | 107 + .../valuesets/V3ActRelationshipType.java | 1491 ++ .../V3ActRelationshipTypeEnumFactory.java | 579 + .../instance/model/valuesets/V3ActSite.java | 553 + .../model/valuesets/V3ActSiteEnumFactory.java | 267 + .../instance/model/valuesets/V3ActStatus.java | 157 + .../valuesets/V3ActStatusEnumFactory.java | 91 + .../model/valuesets/V3ActUSPrivacyLaw.java | 172 + .../V3ActUSPrivacyLawEnumFactory.java | 79 + .../model/valuesets/V3ActUncertainty.java | 85 + .../V3ActUncertaintyEnumFactory.java | 59 + .../model/valuesets/V3AddressPartType.java | 337 + .../V3AddressPartTypeEnumFactory.java | 171 + .../model/valuesets/V3AddressUse.java | 241 + .../valuesets/V3AddressUseEnumFactory.java | 127 + .../valuesets/V3AdministrativeGender.java | 94 + .../V3AdministrativeGenderEnumFactory.java | 63 + ...V3AmericanIndianAlaskaNativeLanguages.java | 2362 +++ ...ndianAlaskaNativeLanguagesEnumFactory.java | 1071 ++ .../instance/model/valuesets/V3Calendar.java | 76 + .../model/valuesets/V3CalendarCycle.java | 229 + .../valuesets/V3CalendarCycleEnumFactory.java | 123 + .../valuesets/V3CalendarEnumFactory.java | 55 + .../model/valuesets/V3CalendarType.java | 76 + .../valuesets/V3CalendarTypeEnumFactory.java | 55 + .../instance/model/valuesets/V3Charset.java | 157 + .../model/valuesets/V3CharsetEnumFactory.java | 91 + .../model/valuesets/V3CodingRationale.java | 112 + .../V3CodingRationaleEnumFactory.java | 71 + .../V3CommunicationFunctionType.java | 94 + ...3CommunicationFunctionTypeEnumFactory.java | 63 + .../valuesets/V3CompressionAlgorithm.java | 121 + .../V3CompressionAlgorithmEnumFactory.java | 75 + .../model/valuesets/V3Confidentiality.java | 180 + .../V3ConfidentialityEnumFactory.java | 79 + .../model/valuesets/V3ContainerCap.java | 130 + .../valuesets/V3ContainerCapEnumFactory.java | 79 + .../model/valuesets/V3ContainerSeparator.java | 85 + .../V3ContainerSeparatorEnumFactory.java | 59 + .../valuesets/V3ContentProcessingMode.java | 85 + .../V3ContentProcessingModeEnumFactory.java | 59 + .../model/valuesets/V3ContextControl.java | 139 + .../V3ContextControlEnumFactory.java | 83 + .../model/valuesets/V3DataOperation.java | 247 + .../valuesets/V3DataOperationEnumFactory.java | 131 + .../model/valuesets/V3DeviceAlertLevel.java | 103 + .../V3DeviceAlertLevelEnumFactory.java | 67 + .../model/valuesets/V3DocumentCompletion.java | 148 + .../V3DocumentCompletionEnumFactory.java | 87 + .../model/valuesets/V3DocumentStorage.java | 103 + .../V3DocumentStorageEnumFactory.java | 67 + .../model/valuesets/V3EducationLevel.java | 148 + .../V3EducationLevelEnumFactory.java | 87 + .../model/valuesets/V3EmployeeJobClass.java | 85 + .../V3EmployeeJobClassEnumFactory.java | 59 + .../valuesets/V3EncounterAdmissionSource.java | 94 + ...V3EncounterAdmissionSourceEnumFactory.java | 63 + .../valuesets/V3EncounterSpecialCourtesy.java | 112 + ...V3EncounterSpecialCourtesyEnumFactory.java | 71 + .../model/valuesets/V3EntityClass.java | 313 + .../valuesets/V3EntityClassEnumFactory.java | 159 + .../model/valuesets/V3EntityCode.java | 1362 ++ .../valuesets/V3EntityCodeEnumFactory.java | 623 + .../model/valuesets/V3EntityDeterminer.java | 106 + .../V3EntityDeterminerEnumFactory.java | 67 + .../model/valuesets/V3EntityHandling.java | 229 + .../V3EntityHandlingEnumFactory.java | 123 + .../valuesets/V3EntityNamePartQualifier.java | 406 + .../V3EntityNamePartQualifierEnumFactory.java | 151 + .../V3EntityNamePartQualifierR2.java | 433 + ...3EntityNamePartQualifierR2EnumFactory.java | 159 + .../model/valuesets/V3EntityNamePartType.java | 112 + .../V3EntityNamePartTypeEnumFactory.java | 71 + .../valuesets/V3EntityNamePartTypeR2.java | 106 + .../V3EntityNamePartTypeR2EnumFactory.java | 67 + .../model/valuesets/V3EntityNameUse.java | 204 + .../valuesets/V3EntityNameUseEnumFactory.java | 111 + .../model/valuesets/V3EntityNameUseR2.java | 229 + .../V3EntityNameUseR2EnumFactory.java | 123 + .../model/valuesets/V3EntityRisk.java | 166 + .../valuesets/V3EntityRiskEnumFactory.java | 95 + .../model/valuesets/V3EntityStatus.java | 103 + .../valuesets/V3EntityStatusEnumFactory.java | 67 + .../valuesets/V3EquipmentAlertLevel.java | 103 + .../V3EquipmentAlertLevelEnumFactory.java | 67 + .../instance/model/valuesets/V3Ethnicity.java | 454 + .../valuesets/V3EthnicityEnumFactory.java | 223 + .../model/valuesets/V3ExposureMode.java | 112 + .../valuesets/V3ExposureModeEnumFactory.java | 71 + .../model/valuesets/V3GTSAbbreviation.java | 364 + .../V3GTSAbbreviationEnumFactory.java | 183 + .../model/valuesets/V3GenderStatus.java | 85 + .../valuesets/V3GenderStatusEnumFactory.java | 59 + .../model/valuesets/V3HL7UpdateMode.java | 139 + .../valuesets/V3HL7UpdateModeEnumFactory.java | 83 + .../instance/model/valuesets/V3Hl7Realm.java | 472 + .../valuesets/V3Hl7RealmEnumFactory.java | 231 + .../model/valuesets/V3Hl7V3Conformance.java | 121 + .../V3Hl7V3ConformanceEnumFactory.java | 75 + .../model/valuesets/V3HtmlLinkType.java | 202 + .../valuesets/V3HtmlLinkTypeEnumFactory.java | 111 + .../valuesets/V3IdentifierReliability.java | 94 + .../V3IdentifierReliabilityEnumFactory.java | 63 + .../model/valuesets/V3IdentifierScope.java | 112 + .../V3IdentifierScopeEnumFactory.java | 67 + .../valuesets/V3IntegrityCheckAlgorithm.java | 85 + .../V3IntegrityCheckAlgorithmEnumFactory.java | 59 + .../valuesets/V3LanguageAbilityMode.java | 121 + .../V3LanguageAbilityModeEnumFactory.java | 75 + .../V3LanguageAbilityProficiency.java | 103 + ...LanguageAbilityProficiencyEnumFactory.java | 67 + .../model/valuesets/V3LivingArrangement.java | 175 + .../V3LivingArrangementEnumFactory.java | 99 + .../model/valuesets/V3LocalMarkupIgnore.java | 85 + .../V3LocalMarkupIgnoreEnumFactory.java | 59 + .../valuesets/V3LocalRemoteControlState.java | 85 + .../V3LocalRemoteControlStateEnumFactory.java | 59 + .../V3ManagedParticipationStatus.java | 121 + ...ManagedParticipationStatusEnumFactory.java | 75 + .../model/valuesets/V3MapRelationship.java | 94 + .../V3MapRelationshipEnumFactory.java | 63 + .../model/valuesets/V3MaritalStatus.java | 157 + .../valuesets/V3MaritalStatusEnumFactory.java | 91 + .../valuesets/V3MessageWaitingPriority.java | 94 + .../V3MessageWaitingPriorityEnumFactory.java | 63 + .../model/valuesets/V3ModifyIndicator.java | 85 + .../V3ModifyIndicatorEnumFactory.java | 59 + .../model/valuesets/V3NullFlavor.java | 224 + .../valuesets/V3NullFlavorEnumFactory.java | 111 + .../V3ObservationInterpretation.java | 604 + ...3ObservationInterpretationEnumFactory.java | 243 + .../model/valuesets/V3ObservationMethod.java | 2810 ++++ .../V3ObservationMethodEnumFactory.java | 1263 ++ .../model/valuesets/V3ObservationValue.java | 2165 +++ .../V3ObservationValueEnumFactory.java | 927 ++ .../model/valuesets/V3OrderableDrugForm.java | 1507 ++ .../V3OrderableDrugFormEnumFactory.java | 691 + .../valuesets/V3ParticipationFunction.java | 518 + .../V3ParticipationFunctionEnumFactory.java | 247 + .../model/valuesets/V3ParticipationMode.java | 202 + .../V3ParticipationModeEnumFactory.java | 111 + .../valuesets/V3ParticipationSignature.java | 94 + .../V3ParticipationSignatureEnumFactory.java | 63 + .../model/valuesets/V3ParticipationType.java | 657 + .../V3ParticipationTypeEnumFactory.java | 291 + .../model/valuesets/V3PatientImportance.java | 148 + .../V3PatientImportanceEnumFactory.java | 87 + .../model/valuesets/V3PaymentTerms.java | 103 + .../valuesets/V3PaymentTermsEnumFactory.java | 67 + .../V3PeriodicIntervalOfTimeAbbreviation.java | 67 + ...IntervalOfTimeAbbreviationEnumFactory.java | 51 + .../valuesets/V3PersonDisabilityType.java | 157 + .../V3PersonDisabilityTypeEnumFactory.java | 91 + .../V3ProbabilityDistributionType.java | 148 + ...robabilityDistributionTypeEnumFactory.java | 87 + .../model/valuesets/V3ProcedureMethod.java | 67 + .../V3ProcedureMethodEnumFactory.java | 51 + .../model/valuesets/V3ProcessingID.java | 94 + .../valuesets/V3ProcessingIDEnumFactory.java | 63 + .../model/valuesets/V3ProcessingMode.java | 103 + .../V3ProcessingModeEnumFactory.java | 67 + .../valuesets/V3QueryParameterValue.java | 211 + .../V3QueryParameterValueEnumFactory.java | 115 + .../model/valuesets/V3QueryPriority.java | 85 + .../valuesets/V3QueryPriorityEnumFactory.java | 59 + .../model/valuesets/V3QueryRequestLimit.java | 85 + .../V3QueryRequestLimitEnumFactory.java | 59 + .../model/valuesets/V3QueryResponse.java | 103 + .../valuesets/V3QueryResponseEnumFactory.java | 67 + .../model/valuesets/V3QueryStatusCode.java | 112 + .../V3QueryStatusCodeEnumFactory.java | 71 + .../fhir/instance/model/valuesets/V3Race.java | 8356 +++++++++++ .../model/valuesets/V3RaceEnumFactory.java | 3735 +++++ .../model/valuesets/V3RelationalOperator.java | 139 + .../V3RelationalOperatorEnumFactory.java | 83 + .../valuesets/V3RelationshipConjunction.java | 94 + .../V3RelationshipConjunctionEnumFactory.java | 63 + .../valuesets/V3ReligiousAffiliation.java | 805 ++ .../V3ReligiousAffiliationEnumFactory.java | 379 + .../model/valuesets/V3ResponseLevel.java | 130 + .../valuesets/V3ResponseLevelEnumFactory.java | 79 + .../model/valuesets/V3ResponseModality.java | 94 + .../V3ResponseModalityEnumFactory.java | 63 + .../model/valuesets/V3ResponseMode.java | 94 + .../valuesets/V3ResponseModeEnumFactory.java | 63 + .../instance/model/valuesets/V3RoleClass.java | 1190 ++ .../valuesets/V3RoleClassEnumFactory.java | 467 + .../instance/model/valuesets/V3RoleCode.java | 3450 +++++ .../valuesets/V3RoleCodeEnumFactory.java | 1511 ++ .../model/valuesets/V3RoleLinkStatus.java | 121 + .../V3RoleLinkStatusEnumFactory.java | 75 + .../model/valuesets/V3RoleLinkType.java | 141 + .../valuesets/V3RoleLinkTypeEnumFactory.java | 83 + .../model/valuesets/V3RoleStatus.java | 130 + .../valuesets/V3RoleStatusEnumFactory.java | 79 + .../valuesets/V3RouteOfAdministration.java | 3541 +++++ .../V3RouteOfAdministrationEnumFactory.java | 1595 ++ .../model/valuesets/V3Sequencing.java | 94 + .../valuesets/V3SequencingEnumFactory.java | 63 + .../model/valuesets/V3SetOperator.java | 121 + .../valuesets/V3SetOperatorEnumFactory.java | 75 + .../model/valuesets/V3SpecialArrangement.java | 67 + .../V3SpecialArrangementEnumFactory.java | 51 + .../model/valuesets/V3SpecimenType.java | 1183 ++ .../valuesets/V3SpecimenTypeEnumFactory.java | 547 + .../V3SubstanceAdminSubstitution.java | 211 + ...SubstanceAdminSubstitutionEnumFactory.java | 91 + .../valuesets/V3SubstitutionCondition.java | 112 + .../V3SubstitutionConditionEnumFactory.java | 71 + .../valuesets/V3TableCellHorizontalAlign.java | 112 + ...V3TableCellHorizontalAlignEnumFactory.java | 71 + .../model/valuesets/V3TableCellScope.java | 103 + .../V3TableCellScopeEnumFactory.java | 67 + .../valuesets/V3TableCellVerticalAlign.java | 103 + .../V3TableCellVerticalAlignEnumFactory.java | 67 + .../model/valuesets/V3TableFrame.java | 148 + .../valuesets/V3TableFrameEnumFactory.java | 87 + .../model/valuesets/V3TableRules.java | 112 + .../valuesets/V3TableRulesEnumFactory.java | 71 + .../model/valuesets/V3TargetAwareness.java | 121 + .../V3TargetAwarenessEnumFactory.java | 75 + .../V3TelecommunicationCapabilities.java | 112 + ...ecommunicationCapabilitiesEnumFactory.java | 71 + .../model/valuesets/V3TimingEvent.java | 238 + .../valuesets/V3TimingEventEnumFactory.java | 123 + .../V3TransmissionRelationshipTypeCode.java | 76 + ...issionRelationshipTypeCodeEnumFactory.java | 55 + .../model/valuesets/V3TribalEntityUS.java | 5179 +++++++ .../V3TribalEntityUSEnumFactory.java | 2323 +++ .../valuesets/V3VaccineManufacturer.java | 427 + .../V3VaccineManufacturerEnumFactory.java | 211 + .../VaccinationProtocolDoseStatus.java | 85 + ...cinationProtocolDoseStatusEnumFactory.java | 59 + .../VaccinationProtocolDoseStatusReason.java | 112 + ...onProtocolDoseStatusReasonEnumFactory.java | 71 + .../VaccinationProtocolDoseTarget.java | 148 + ...cinationProtocolDoseTargetEnumFactory.java | 87 + .../model/valuesets/VisionProduct.java | 85 + .../valuesets/VisionProductEnumFactory.java | 59 + .../model/valuesets/XdsRelationshipType.java | 113 + .../XdsRelationshipTypeEnumFactory.java | 71 + .../terminologies/ITerminologyServices.java | 5 +- .../hl7/fhir/instance/utils/NameResolver.java | 5 + .../fhir/instance/utils/ProfileUtilities.java | 235 +- .../fhir/instance/utils/WorkerContext.java | 123 +- .../instance/validation/BaseValidator.java | 56 +- .../validation/InstanceValidator.java | 407 +- .../instance/validation/ProfileValidator.java | 7 +- .../validation/ValidationMessage.java | 70 +- .../xhtml/HeirarchicalTableGenerator.java | 53 +- .../fhir/instance/model/schema/account.sch | 54 + .../model/schema/allergyintolerance.sch | 54 +- .../instance/model/schema/appointment.sch | 48 +- .../model/schema/appointmentresponse.sch | 36 +- .../fhir/instance/model/schema/auditevent.sch | 66 +- .../hl7/fhir/instance/model/schema/basic.sch | 36 +- .../hl7/fhir/instance/model/schema/binary.sch | 6 - .../fhir/instance/model/schema/bodysite.sch | 42 +- .../hl7/fhir/instance/model/schema/bundle.sch | 18 - .../fhir/instance/model/schema/careplan.sch | 81 +- .../hl7/fhir/instance/model/schema/claim.sch | 114 +- .../instance/model/schema/claimresponse.sch | 87 +- .../model/schema/clinicalimpression.sch | 54 +- .../instance/model/schema/communication.sch | 48 +- .../model/schema/communicationrequest.sch | 54 +- .../instance/model/schema/composition.sch | 54 +- .../fhir/instance/model/schema/conceptmap.sch | 38 +- .../fhir/instance/model/schema/condition.sch | 78 +- .../instance/model/schema/conformance.sch | 36 +- .../fhir/instance/model/schema/contract.sch | 123 +- .../model/schema/contraindication.sch | 42 +- .../fhir/instance/model/schema/coverage.sch | 51 +- .../instance/model/schema/dataelement.sch | 42 +- .../hl7/fhir/instance/model/schema/device.sch | 37 +- .../instance/model/schema/devicecomponent.sch | 66 +- .../instance/model/schema/devicemetric.sch | 63 +- .../model/schema/deviceuserequest.sch | 69 +- .../model/schema/deviceusestatement.sch | 63 +- .../instance/model/schema/diagnosticorder.sch | 48 +- .../model/schema/diagnosticreport.sch | 48 +- .../model/schema/documentmanifest.sch | 48 +- .../model/schema/documentreference.sch | 84 +- .../model/schema/eligibilityrequest.sch | 36 +- .../model/schema/eligibilityresponse.sch | 36 +- .../fhir/instance/model/schema/encounter.sch | 91 +- .../model/schema/enrollmentrequest.sch | 39 +- .../model/schema/enrollmentresponse.sch | 36 +- .../instance/model/schema/episodeofcare.sch | 42 +- .../model/schema/explanationofbenefit.sch | 36 +- .../model/schema/familymemberhistory.sch | 48 +- .../instance/model/schema/fhir-single.xsd | 8402 +++++------ .../hl7/fhir/instance/model/schema/flag.sch | 42 +- .../hl7/fhir/instance/model/schema/goal.sch | 42 +- .../hl7/fhir/instance/model/schema/group.sch | 48 +- .../model/schema/healthcareservice.sch | 72 +- .../model/schema/imagingobjectselection.sch | 30 +- .../instance/model/schema/imagingstudy.sch | 44 +- .../instance/model/schema/immunization.sch | 78 +- .../schema/immunizationrecommendation.sch | 48 +- .../model/schema/implementationguide.sch | 48 + .../hl7/fhir/instance/model/schema/list.sch | 55 +- .../fhir/instance/model/schema/location.sch | 42 +- .../hl7/fhir/instance/model/schema/media.sch | 42 +- .../fhir/instance/model/schema/medication.sch | 42 +- .../model/schema/medicationadministration.sch | 66 +- .../model/schema/medicationdispense.sch | 105 +- .../model/schema/medicationprescription.sch | 111 +- .../model/schema/medicationstatement.sch | 93 +- .../instance/model/schema/messageheader.sch | 33 +- .../instance/model/schema/namingsystem.sch | 30 +- .../instance/model/schema/nutritionorder.sch | 159 +- .../instance/model/schema/observation.sch | 99 +- .../model/schema/operationdefinition.sch | 26 +- .../model/schema/operationoutcome.sch | 30 +- .../hl7/fhir/instance/model/schema/order.sch | 66 +- .../instance/model/schema/orderresponse.sch | 39 +- .../instance/model/schema/organization.sch | 42 +- .../fhir/instance/model/schema/patient.sch | 66 +- .../instance/model/schema/paymentnotice.sch | 39 +- .../model/schema/paymentreconciliation.sch | 45 +- .../hl7/fhir/instance/model/schema/person.sch | 30 +- .../instance/model/schema/practitioner.sch | 60 +- .../fhir/instance/model/schema/procedure.sch | 84 +- .../model/schema/procedurerequest.sch | 75 +- .../instance/model/schema/processrequest.sch | 36 +- .../instance/model/schema/processresponse.sch | 48 +- .../fhir/instance/model/schema/provenance.sch | 46 +- .../instance/model/schema/questionnaire.sch | 36 +- .../model/schema/questionnaireanswers.sch | 33 +- .../instance/model/schema/referralrequest.sch | 60 +- .../instance/model/schema/relatedperson.sch | 36 +- .../instance/model/schema/riskassessment.sch | 48 +- .../fhir/instance/model/schema/schedule.sch | 36 +- .../instance/model/schema/searchparameter.sch | 24 +- .../hl7/fhir/instance/model/schema/slot.sch | 36 +- .../fhir/instance/model/schema/specimen.sch | 78 +- .../model/schema/structuredefinition.sch | 52 +- .../instance/model/schema/subscription.sch | 27 +- .../fhir/instance/model/schema/substance.sch | 38 +- .../hl7/fhir/instance/model/schema/supply.sch | 48 +- .../instance/model/schema/supplydelivery.sch | 36 +- .../instance/model/schema/supplyrequest.sch | 72 +- .../fhir/instance/model/schema/testscript.sch | 36 +- .../fhir/instance/model/schema/valueset.sch | 44 +- .../model/schema/visionprescription.sch | 39 +- .../fhir/parser/XmlParserHl7OrgDstu2Test.java | 2 +- .../rest/server/IncludeHl7OrgDstu2Test.java | 2 +- ...verConformanceProviderHl7OrgDstu2Test.java | 4 +- ...ithBundleResourceParamHl7OrgDstu2Test.java | 3 +- sync_ri.sh | 26 +- 694 files changed, 148716 insertions(+), 12657 deletions(-) create mode 100644 hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidationContext.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/formats/JsonParser.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Account.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Annotation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IPrimitiveType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImplementationGuide.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Additionalmaterials.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdditionalmaterialsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Adjudication.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationError.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationErrorEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReason.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReasonEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreeds.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreedsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpecies.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpeciesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupations.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupationsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformance.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformanceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContext.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContextEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategoryEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionState.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionStateEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractAction.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorrole.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorroleEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtype.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtype.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceAction.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceActionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSource.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSourceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDiet.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDietEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDisposition.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDispositionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriority.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriorityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangements.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangementsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_EnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditions.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditionsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Forms.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FormsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Fundsreserve.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FundsreserveEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriority.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriorityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterion.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Intervention.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/InterventionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReason.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReasonEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodes.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlag.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlagEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrder.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrderEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccurs.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccursEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounter.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounterEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransport.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransportEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReason.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReasonEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Modifiers.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ModifiersEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreason.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreasonEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterial.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterialEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationship.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationshipEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Payeetype.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PayeetypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRole.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRoleEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialty.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialtyEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcome.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcomeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriority.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriorityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRole.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRoleEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodes.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodes.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Relationship.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RelationshipEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityService.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityServiceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbability.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbabilityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Ruleset.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RulesetEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacy.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacyEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProduct.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProductEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditions.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditionsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethod.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethodEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUscls.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUsclsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTag.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTagEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItem.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItemEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKind.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKindEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKind.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKindEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Surface.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SurfaceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Teeth.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TeethEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Tooth.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ToothEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Udi.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/UdiEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementCondition.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementConditionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClass.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClassEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifier.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifierEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMood.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMoodEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriority.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriorityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActReason.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActReasonEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpoint.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpointEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoin.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoinEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplit.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplitEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubset.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubsetEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSite.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSiteEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLaw.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLawEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertainty.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertaintyEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUse.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUseEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGender.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGenderEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguages.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguagesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Calendar.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycle.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycleEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Charset.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CharsetEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationale.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationaleEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithm.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithmEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Confidentiality.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ConfidentialityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCap.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCapEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparator.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparatorEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControl.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControlEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevel.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevelEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletion.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorage.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorageEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevel.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevelEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClass.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClassEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSource.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSourceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesy.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesyEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClass.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClassEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminer.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminerEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandling.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandlingEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifier.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2EnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2EnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUse.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2EnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRisk.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRiskEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevel.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevelEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Ethnicity.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EthnicityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7Realm.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7RealmEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3Conformance.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3ConformanceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliability.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliabilityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScope.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScopeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithm.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithmEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiency.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiencyEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangement.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangementEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnore.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnoreEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlState.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlStateEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationship.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationshipEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriority.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriorityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicator.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicatorEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavor.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavorEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethod.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethodEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValue.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValueEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugForm.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugFormEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationFunction.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationFunctionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignature.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignatureEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportance.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportanceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTerms.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTermsEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethod.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethodEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingID.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingIDEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValue.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValueEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriority.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriorityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimit.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimitEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponse.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponseEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Race.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RaceEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperator.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperatorEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunction.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunctionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliation.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevel.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevelEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModality.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModalityEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseMode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClass.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClassEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministration.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministrationEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Sequencing.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SequencingEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperator.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperatorEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangement.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangementEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitution.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitutionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionCondition.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionConditionEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlign.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlignEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScope.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScopeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlign.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlignEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrame.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrameEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRules.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRulesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwareness.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwarenessEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilities.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilitiesEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEvent.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEventEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCode.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCodeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUS.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUSEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturer.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturerEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatus.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReason.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReasonEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTarget.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTargetEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProduct.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProductEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipType.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipTypeEnumFactory.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/NameResolver.java create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/account.sch create mode 100644 hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/implementationguide.sch diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java index c8ee78032ec..525fdd16573 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java @@ -143,7 +143,7 @@ public class FhirValidator { public void validate(Bundle theBundle) { Validate.notNull(theBundle, "theBundle must not be null"); - ValidationContext ctx = ValidationContext.forBundle(myContext, theBundle); + IValidationContext ctx = ValidationContext.forBundle(myContext, theBundle); for (IValidator next : myValidators) { next.validateBundle(ctx); @@ -184,7 +184,7 @@ public class FhirValidator { public ValidationResult validateWithResult(Bundle theBundle) { Validate.notNull(theBundle, "theBundle must not be null"); - ValidationContext ctx = ValidationContext.forBundle(myContext, theBundle); + IValidationContext ctx = ValidationContext.forBundle(myContext, theBundle); for (IValidator next : myValidators) { next.validateBundle(ctx); @@ -204,7 +204,7 @@ public class FhirValidator { public ValidationResult validateWithResult(IBaseResource theResource) { Validate.notNull(theResource, "theResource must not be null"); - ValidationContext ctx = ValidationContext.forResource(myContext, theResource); + IValidationContext ctx = ValidationContext.forResource(myContext, theResource); for (IValidator next : myValidators) { next.validateResource(ctx); diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidationContext.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidationContext.java new file mode 100644 index 00000000000..6e51e7e0c07 --- /dev/null +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidationContext.java @@ -0,0 +1,17 @@ +package ca.uhn.fhir.validation; + +import org.hl7.fhir.instance.model.api.IBaseOperationOutcome; + +import ca.uhn.fhir.context.FhirContext; + +interface IValidationContext { + + public abstract FhirContext getFhirContext(); + + public abstract IBaseOperationOutcome getOperationOutcome(); + + public abstract T getResource(); + + public abstract String getXmlEncodedResource(); + +} \ No newline at end of file diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidator.java index 46c974e3ad6..6113ce3a5cf 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/IValidator.java @@ -4,6 +4,7 @@ import org.hl7.fhir.instance.model.api.IBaseResource; import ca.uhn.fhir.model.api.Bundle; + /* * #%L * HAPI FHIR - Core Library @@ -24,11 +25,13 @@ import ca.uhn.fhir.model.api.Bundle; * #L% */ +/** + * Registers + */ +public interface IValidator { -interface IValidator { + void validateResource(IValidationContext theCtx); - void validateResource(ValidationContext theCtx); - - void validateBundle(ValidationContext theContext); + void validateBundle(IValidationContext theContext); } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java index e2cf184bfe0..eb38ed64782 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java @@ -49,7 +49,6 @@ import ca.uhn.fhir.context.ConfigurationException; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.context.FhirVersionEnum; import ca.uhn.fhir.model.api.Bundle; -import ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue; import ca.uhn.fhir.rest.server.exceptions.InternalErrorException; import ca.uhn.fhir.util.OperationOutcomeUtil; @@ -77,7 +76,7 @@ class SchemaBaseValidator implements IValidator { myCtx = theContext; } - private void doValidate(ValidationContext theContext, String schemaName) { + private void doValidate(IValidationContext theContext, String schemaName) { Schema schema = loadSchema("dstu", schemaName); try { @@ -148,7 +147,7 @@ class SchemaBaseValidator implements IValidator { } @Override - public void validateBundle(ValidationContext theContext) { + public void validateBundle(IValidationContext theContext) { if (myCtx.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1)) { doValidate(theContext, "fhir-single.xsd"); } else { @@ -157,15 +156,15 @@ class SchemaBaseValidator implements IValidator { } @Override - public void validateResource(ValidationContext theContext) { + public void validateResource(IValidationContext theContext) { doValidate(theContext, "fhir-single.xsd"); } private static class MyErrorHandler implements org.xml.sax.ErrorHandler { - private ValidationContext myContext; + private IValidationContext myContext; - public MyErrorHandler(ValidationContext theContext) { + public MyErrorHandler(IValidationContext theContext) { myContext = theContext; } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java index 98f5dd41575..353826d0d70 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java @@ -53,7 +53,7 @@ public class SchematronBaseValidator implements IValidator { } @Override - public void validateResource(ValidationContext theCtx) { + public void validateResource(IValidationContext theCtx) { ISchematronResource sch = getSchematron(theCtx); StreamSource source = new StreamSource(new StringReader(theCtx.getXmlEncodedResource())); @@ -93,14 +93,14 @@ public class SchematronBaseValidator implements IValidator { } - private ISchematronResource getSchematron(ValidationContext theCtx) { + private ISchematronResource getSchematron(IValidationContext theCtx) { Class resource = theCtx.getResource().getClass(); Class baseResourceClass = theCtx.getFhirContext().getResourceDefinition(resource).getBaseDefinition().getImplementingClass(); return getSchematronAndCache(theCtx, "dstu", baseResourceClass); } - private ISchematronResource getSchematronAndCache(ValidationContext theCtx, String theVersion, Class theClass) { + private ISchematronResource getSchematronAndCache(IValidationContext theCtx, String theVersion, Class theClass) { synchronized (myClassToSchematron) { ISchematronResource retVal = myClassToSchematron.get(theClass); if (retVal != null) { @@ -122,10 +122,10 @@ public class SchematronBaseValidator implements IValidator { } @Override - public void validateBundle(ValidationContext theContext) { + public void validateBundle(IValidationContext theContext) { for (BundleEntry next : theContext.getResource().getEntries()) { if (next.getResource() != null) { - ValidationContext ctx = ValidationContext.newChild(theContext, next.getResource()); + IValidationContext ctx = ValidationContext.newChild(theContext, next.getResource()); validateResource(ctx); } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationContext.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationContext.java index 5fa2efd43b0..7f7485f5d7b 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationContext.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationContext.java @@ -27,24 +27,33 @@ import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.Bundle; import ca.uhn.fhir.rest.server.exceptions.InternalErrorException; -class ValidationContext { +class ValidationContext implements IValidationContext { + private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(ValidationContext.class); private final IEncoder myEncoder; private final FhirContext myFhirContext; private IBaseOperationOutcome myOperationOutcome; private final T myResource; private String myXmlEncodedResource; -private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(ValidationContext.class); + private ValidationContext(FhirContext theContext, T theResource, IEncoder theEncoder) { myFhirContext = theContext; myResource = theResource; myEncoder = theEncoder; } + /* (non-Javadoc) + * @see ca.uhn.fhir.validation.IValidationContext#getFhirContext() + */ + @Override public FhirContext getFhirContext() { return myFhirContext; } + /* (non-Javadoc) + * @see ca.uhn.fhir.validation.IValidationContext#getOperationOutcome() + */ + @Override public IBaseOperationOutcome getOperationOutcome() { if (myOperationOutcome == null) { try { @@ -57,10 +66,18 @@ private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger return myOperationOutcome; } + /* (non-Javadoc) + * @see ca.uhn.fhir.validation.IValidationContext#getResource() + */ + @Override public T getResource() { return myResource; } + /* (non-Javadoc) + * @see ca.uhn.fhir.validation.IValidationContext#getXmlEncodedResource() + */ + @Override public String getXmlEncodedResource() { if (myXmlEncodedResource == null) { myXmlEncodedResource = myEncoder.encode(); @@ -68,7 +85,7 @@ private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger return myXmlEncodedResource; } - public static ValidationContext forBundle(final FhirContext theContext, final Bundle theBundle) { + public static IValidationContext forBundle(final FhirContext theContext, final Bundle theBundle) { return new ValidationContext(theContext, theBundle, new IEncoder() { @Override public String encode() { @@ -77,7 +94,7 @@ private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger }); } - public static ValidationContext forResource(final FhirContext theContext, final T theResource) { + public static IValidationContext forResource(final FhirContext theContext, final T theResource) { return new ValidationContext(theContext, theResource, new IEncoder() { @Override public String encode() { @@ -86,8 +103,8 @@ private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger }); } - public static ValidationContext newChild(ValidationContext theContext, IBaseResource theResource) { - ValidationContext retVal = forResource(theContext.getFhirContext(), theResource); + public static IValidationContext newChild(IValidationContext theContext, IBaseResource theResource) { + ValidationContext retVal = (ValidationContext) forResource(theContext.getFhirContext(), theResource); retVal.myOperationOutcome = theContext.getOperationOutcome(); return retVal; } diff --git a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java index 22483bd2be4..4a0c5c710f1 100644 --- a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java +++ b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java @@ -91,6 +91,50 @@ public class CreateTest { } + @Test + public void testCreateWithWrongContentTypeXml() throws Exception { + + Patient patient = new Patient(); + patient.addIdentifier().setValue("001"); + patient.addIdentifier().setValue("002"); + + HttpPost httpPost = new HttpPost("http://localhost:" + ourPort + "/Patient"); + String inputString = ourCtx.newJsonParser().encodeResourceToString(patient); + ContentType inputCt = ContentType.create(Constants.CT_FHIR_XML, "UTF-8"); + httpPost.setEntity(new StringEntity(inputString, inputCt)); + + HttpResponse status = ourClient.execute(httpPost); + + String responseContent = IOUtils.toString(status.getEntity().getContent()); + IOUtils.closeQuietly(status.getEntity().getContent()); + ourLog.info("Response was:\n{}", responseContent); + + assertEquals(500, status.getStatusLine().getStatusCode()); + assertThat(responseContent, containsString("Unexpected character")); + } + + @Test + public void testCreateWithWrongContentTypeJson() throws Exception { + + Patient patient = new Patient(); + patient.addIdentifier().setValue("001"); + patient.addIdentifier().setValue("002"); + + HttpPost httpPost = new HttpPost("http://localhost:" + ourPort + "/Patient"); + String inputString = ourCtx.newXmlParser().encodeResourceToString(patient); + ContentType inputCt = ContentType.create(Constants.CT_FHIR_JSON, "UTF-8"); + httpPost.setEntity(new StringEntity(inputString, inputCt)); + + HttpResponse status = ourClient.execute(httpPost); + + String responseContent = IOUtils.toString(status.getEntity().getContent()); + IOUtils.closeQuietly(status.getEntity().getContent()); + ourLog.info("Response was:\n{}", responseContent); + + assertEquals(500, status.getStatusLine().getStatusCode()); + assertThat(responseContent, containsString("Unexpected char")); + } + @Test public void testCreateById() throws Exception { diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/rest/server/provider/dstu2hl7org/Dstu2Hl7OrgBundleFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/rest/server/provider/dstu2hl7org/Dstu2Hl7OrgBundleFactory.java index 1cd30a8c063..878cdbe8264 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/rest/server/provider/dstu2hl7org/Dstu2Hl7OrgBundleFactory.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/rest/server/provider/dstu2hl7org/Dstu2Hl7OrgBundleFactory.java @@ -20,7 +20,8 @@ package ca.uhn.fhir.rest.server.provider.dstu2hl7org; * #L% */ -import static org.apache.commons.lang3.StringUtils.*; +import static org.apache.commons.lang3.StringUtils.isBlank; +import static org.apache.commons.lang3.StringUtils.isNotBlank; import java.util.ArrayList; import java.util.Collections; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/formats/JsonParser.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/formats/JsonParser.java new file mode 100644 index 00000000000..a320f1ab19e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/formats/JsonParser.java @@ -0,0 +1,12 @@ +package org.hl7.fhir.instance.formats; + +import org.hl7.fhir.instance.model.Type; + +public class JsonParser { + + public String composeString(Type theValue, Object theObject) { + // TODO Auto-generated method stub + return null; + } + +} diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Account.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Account.java new file mode 100644 index 00000000000..d21a98ca4d0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Account.java @@ -0,0 +1,705 @@ +package org.hl7.fhir.instance.model; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + +import java.util.*; + +import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.instance.model.annotations.ResourceDef; +import org.hl7.fhir.instance.model.annotations.SearchParamDefinition; +import org.hl7.fhir.instance.model.annotations.Child; +import org.hl7.fhir.instance.model.annotations.Description; +import org.hl7.fhir.instance.model.annotations.Block; +import org.hl7.fhir.instance.model.api.*; +/** + * A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centres, etc. + */ +@ResourceDef(name="Account", profile="http://hl7.org/fhir/Profile/Account") +public class Account extends DomainResource { + + public enum AccountStatus { + /** + * This account is active and may be used + */ + ACTIVE, + /** + * This account is inactive and should not be used to track financial information + */ + INACTIVE, + /** + * added to help the parsers + */ + NULL; + public static AccountStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return ACTIVE; + if ("inactive".equals(codeString)) + return INACTIVE; + throw new Exception("Unknown AccountStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ACTIVE: return "active"; + case INACTIVE: return "inactive"; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case ACTIVE: return "http://hl7.org/fhir/account-status"; + case INACTIVE: return "http://hl7.org/fhir/account-status"; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case ACTIVE: return "This account is active and may be used"; + case INACTIVE: return "This account is inactive and should not be used to track financial information"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ACTIVE: return "Active"; + case INACTIVE: return "Inactive"; + default: return "?"; + } + } + } + + public static class AccountStatusEnumFactory implements EnumFactory { + public AccountStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return AccountStatus.ACTIVE; + if ("inactive".equals(codeString)) + return AccountStatus.INACTIVE; + throw new IllegalArgumentException("Unknown AccountStatus code '"+codeString+"'"); + } + public String toCode(AccountStatus code) { + if (code == AccountStatus.ACTIVE) + return "active"; + if (code == AccountStatus.INACTIVE) + return "inactive"; + return "?"; + } + } + + /** + * Unique identifier used to reference the account. May or may not be intended for human use. (E.g. credit card number). + */ + @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Account number", formalDefinition="Unique identifier used to reference the account. May or may not be intended for human use. (E.g. credit card number)." ) + protected List identifier; + + /** + * Name used for the account when displaying it to humans in reports, etc. + */ + @Child(name = "name", type = {StringType.class}, order=1, min=0, max=1) + @Description(shortDefinition="Human-readable label", formalDefinition="Name used for the account when displaying it to humans in reports, etc." ) + protected StringType name; + + /** + * Categorizes the account for reporting and searching purposes. + */ + @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1) + @Description(shortDefinition="E.g. patient, expense, depreciation", formalDefinition="Categorizes the account for reporting and searching purposes." ) + protected CodeableConcept type; + + /** + * Indicates whether the account is presently used/useable or not. + */ + @Child(name = "status", type = {CodeType.class}, order=3, min=0, max=1) + @Description(shortDefinition="active | inactive", formalDefinition="Indicates whether the account is presently used/useable or not." ) + protected Enumeration status; + + /** + * Indicates the period of time over which the account is allowed. + */ + @Child(name = "activePeriod", type = {Period.class}, order=4, min=0, max=1) + @Description(shortDefinition="Valid from..to", formalDefinition="Indicates the period of time over which the account is allowed." ) + protected Period activePeriod; + + /** + * Identifies the currency to which transactions must be converted when crediting or debiting the account. + */ + @Child(name = "currency", type = {Coding.class}, order=5, min=0, max=1) + @Description(shortDefinition="Base currency in which balance is tracked", formalDefinition="Identifies the currency to which transactions must be converted when crediting or debiting the account." ) + protected Coding currency; + + /** + * Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative. + */ + @Child(name = "balance", type = {Money.class}, order=6, min=0, max=1) + @Description(shortDefinition="How much is in account?", formalDefinition="Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative." ) + protected Money balance; + + /** + * Identifies the period of time the account applies to. E.g. accounts created per fiscal year, quarter, etc. + */ + @Child(name = "coveragePeriod", type = {Period.class}, order=7, min=0, max=1) + @Description(shortDefinition="Transaction window", formalDefinition="Identifies the period of time the account applies to. E.g. accounts created per fiscal year, quarter, etc." ) + protected Period coveragePeriod; + + /** + * Identifies the patient, device, practitioner, location or other object the account is associated with. + */ + @Child(name = "subject", type = {Patient.class, Device.class, Practitioner.class, Location.class, HealthcareService.class, Organization.class}, order=8, min=0, max=1) + @Description(shortDefinition="What is account tied to?", formalDefinition="Identifies the patient, device, practitioner, location or other object the account is associated with." ) + protected Reference subject; + + /** + * The actual object that is the target of the reference (Identifies the patient, device, practitioner, location or other object the account is associated with.) + */ + protected Resource subjectTarget; + + /** + * Indicates the organization, department, etc. with responsibility for the account. + */ + @Child(name = "owner", type = {Organization.class}, order=9, min=0, max=1) + @Description(shortDefinition="Who is responsible?", formalDefinition="Indicates the organization, department, etc. with responsibility for the account." ) + protected Reference owner; + + /** + * The actual object that is the target of the reference (Indicates the organization, department, etc. with responsibility for the account.) + */ + protected Organization ownerTarget; + + /** + * Provides additional information about what the account tracks and how it is used. + */ + @Child(name = "description", type = {StringType.class}, order=10, min=0, max=1) + @Description(shortDefinition="Explanation of purpose/use", formalDefinition="Provides additional information about what the account tracks and how it is used." ) + protected StringType description; + + private static final long serialVersionUID = -1926153194L; + + /* + * Constructor + */ + public Account() { + super(); + } + + /** + * @return {@link #identifier} (Unique identifier used to reference the account. May or may not be intended for human use. (E.g. credit card number).) + */ + public List getIdentifier() { + if (this.identifier == null) + this.identifier = new ArrayList(); + return this.identifier; + } + + public boolean hasIdentifier() { + if (this.identifier == null) + return false; + for (Identifier item : this.identifier) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #identifier} (Unique identifier used to reference the account. May or may not be intended for human use. (E.g. credit card number).) + */ + // syntactic sugar + public Identifier addIdentifier() { //3 + Identifier t = new Identifier(); + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return t; + } + + // syntactic sugar + public Account addIdentifier(Identifier t) { //3 + if (t == null) + return this; + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return this; + } + + /** + * @return {@link #name} (Name used for the account when displaying it to humans in reports, etc.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.name"); + else if (Configuration.doAutoCreate()) + this.name = new StringType(); // bb + return this.name; + } + + public boolean hasNameElement() { + return this.name != null && !this.name.isEmpty(); + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (Name used for the account when displaying it to humans in reports, etc.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public Account setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return Name used for the account when displaying it to humans in reports, etc. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value Name used for the account when displaying it to humans in reports, etc. + */ + public Account setName(String value) { + if (Utilities.noString(value)) + this.name = null; + else { + if (this.name == null) + this.name = new StringType(); + this.name.setValue(value); + } + return this; + } + + /** + * @return {@link #type} (Categorizes the account for reporting and searching purposes.) + */ + public CodeableConcept getType() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.type"); + else if (Configuration.doAutoCreate()) + this.type = new CodeableConcept(); // cc + return this.type; + } + + public boolean hasType() { + return this.type != null && !this.type.isEmpty(); + } + + /** + * @param value {@link #type} (Categorizes the account for reporting and searching purposes.) + */ + public Account setType(CodeableConcept value) { + this.type = value; + return this; + } + + /** + * @return {@link #status} (Indicates whether the account is presently used/useable or not.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + */ + public Enumeration getStatusElement() { + if (this.status == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.status"); + else if (Configuration.doAutoCreate()) + this.status = new Enumeration(new AccountStatusEnumFactory()); // bb + return this.status; + } + + public boolean hasStatusElement() { + return this.status != null && !this.status.isEmpty(); + } + + public boolean hasStatus() { + return this.status != null && !this.status.isEmpty(); + } + + /** + * @param value {@link #status} (Indicates whether the account is presently used/useable or not.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + */ + public Account setStatusElement(Enumeration value) { + this.status = value; + return this; + } + + /** + * @return Indicates whether the account is presently used/useable or not. + */ + public AccountStatus getStatus() { + return this.status == null ? null : this.status.getValue(); + } + + /** + * @param value Indicates whether the account is presently used/useable or not. + */ + public Account setStatus(AccountStatus value) { + if (value == null) + this.status = null; + else { + if (this.status == null) + this.status = new Enumeration(new AccountStatusEnumFactory()); + this.status.setValue(value); + } + return this; + } + + /** + * @return {@link #activePeriod} (Indicates the period of time over which the account is allowed.) + */ + public Period getActivePeriod() { + if (this.activePeriod == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.activePeriod"); + else if (Configuration.doAutoCreate()) + this.activePeriod = new Period(); // cc + return this.activePeriod; + } + + public boolean hasActivePeriod() { + return this.activePeriod != null && !this.activePeriod.isEmpty(); + } + + /** + * @param value {@link #activePeriod} (Indicates the period of time over which the account is allowed.) + */ + public Account setActivePeriod(Period value) { + this.activePeriod = value; + return this; + } + + /** + * @return {@link #currency} (Identifies the currency to which transactions must be converted when crediting or debiting the account.) + */ + public Coding getCurrency() { + if (this.currency == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.currency"); + else if (Configuration.doAutoCreate()) + this.currency = new Coding(); // cc + return this.currency; + } + + public boolean hasCurrency() { + return this.currency != null && !this.currency.isEmpty(); + } + + /** + * @param value {@link #currency} (Identifies the currency to which transactions must be converted when crediting or debiting the account.) + */ + public Account setCurrency(Coding value) { + this.currency = value; + return this; + } + + /** + * @return {@link #balance} (Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.) + */ + public Money getBalance() { + if (this.balance == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.balance"); + else if (Configuration.doAutoCreate()) + this.balance = new Money(); // cc + return this.balance; + } + + public boolean hasBalance() { + return this.balance != null && !this.balance.isEmpty(); + } + + /** + * @param value {@link #balance} (Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.) + */ + public Account setBalance(Money value) { + this.balance = value; + return this; + } + + /** + * @return {@link #coveragePeriod} (Identifies the period of time the account applies to. E.g. accounts created per fiscal year, quarter, etc.) + */ + public Period getCoveragePeriod() { + if (this.coveragePeriod == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.coveragePeriod"); + else if (Configuration.doAutoCreate()) + this.coveragePeriod = new Period(); // cc + return this.coveragePeriod; + } + + public boolean hasCoveragePeriod() { + return this.coveragePeriod != null && !this.coveragePeriod.isEmpty(); + } + + /** + * @param value {@link #coveragePeriod} (Identifies the period of time the account applies to. E.g. accounts created per fiscal year, quarter, etc.) + */ + public Account setCoveragePeriod(Period value) { + this.coveragePeriod = value; + return this; + } + + /** + * @return {@link #subject} (Identifies the patient, device, practitioner, location or other object the account is associated with.) + */ + public Reference getSubject() { + if (this.subject == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.subject"); + else if (Configuration.doAutoCreate()) + this.subject = new Reference(); // cc + return this.subject; + } + + public boolean hasSubject() { + return this.subject != null && !this.subject.isEmpty(); + } + + /** + * @param value {@link #subject} (Identifies the patient, device, practitioner, location or other object the account is associated with.) + */ + public Account setSubject(Reference value) { + this.subject = value; + return this; + } + + /** + * @return {@link #subject} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the patient, device, practitioner, location or other object the account is associated with.) + */ + public Resource getSubjectTarget() { + return this.subjectTarget; + } + + /** + * @param value {@link #subject} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the patient, device, practitioner, location or other object the account is associated with.) + */ + public Account setSubjectTarget(Resource value) { + this.subjectTarget = value; + return this; + } + + /** + * @return {@link #owner} (Indicates the organization, department, etc. with responsibility for the account.) + */ + public Reference getOwner() { + if (this.owner == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.owner"); + else if (Configuration.doAutoCreate()) + this.owner = new Reference(); // cc + return this.owner; + } + + public boolean hasOwner() { + return this.owner != null && !this.owner.isEmpty(); + } + + /** + * @param value {@link #owner} (Indicates the organization, department, etc. with responsibility for the account.) + */ + public Account setOwner(Reference value) { + this.owner = value; + return this; + } + + /** + * @return {@link #owner} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Indicates the organization, department, etc. with responsibility for the account.) + */ + public Organization getOwnerTarget() { + if (this.ownerTarget == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.owner"); + else if (Configuration.doAutoCreate()) + this.ownerTarget = new Organization(); // aa + return this.ownerTarget; + } + + /** + * @param value {@link #owner} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Indicates the organization, department, etc. with responsibility for the account.) + */ + public Account setOwnerTarget(Organization value) { + this.ownerTarget = value; + return this; + } + + /** + * @return {@link #description} (Provides additional information about what the account tracks and how it is used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public StringType getDescriptionElement() { + if (this.description == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Account.description"); + else if (Configuration.doAutoCreate()) + this.description = new StringType(); // bb + return this.description; + } + + public boolean hasDescriptionElement() { + return this.description != null && !this.description.isEmpty(); + } + + public boolean hasDescription() { + return this.description != null && !this.description.isEmpty(); + } + + /** + * @param value {@link #description} (Provides additional information about what the account tracks and how it is used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public Account setDescriptionElement(StringType value) { + this.description = value; + return this; + } + + /** + * @return Provides additional information about what the account tracks and how it is used. + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value Provides additional information about what the account tracks and how it is used. + */ + public Account setDescription(String value) { + if (Utilities.noString(value)) + this.description = null; + else { + if (this.description == null) + this.description = new StringType(); + this.description.setValue(value); + } + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("identifier", "Identifier", "Unique identifier used to reference the account. May or may not be intended for human use. (E.g. credit card number).", 0, java.lang.Integer.MAX_VALUE, identifier)); + childrenList.add(new Property("name", "string", "Name used for the account when displaying it to humans in reports, etc.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("type", "CodeableConcept", "Categorizes the account for reporting and searching purposes.", 0, java.lang.Integer.MAX_VALUE, type)); + childrenList.add(new Property("status", "code", "Indicates whether the account is presently used/useable or not.", 0, java.lang.Integer.MAX_VALUE, status)); + childrenList.add(new Property("activePeriod", "Period", "Indicates the period of time over which the account is allowed.", 0, java.lang.Integer.MAX_VALUE, activePeriod)); + childrenList.add(new Property("currency", "Coding", "Identifies the currency to which transactions must be converted when crediting or debiting the account.", 0, java.lang.Integer.MAX_VALUE, currency)); + childrenList.add(new Property("balance", "Money", "Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.", 0, java.lang.Integer.MAX_VALUE, balance)); + childrenList.add(new Property("coveragePeriod", "Period", "Identifies the period of time the account applies to. E.g. accounts created per fiscal year, quarter, etc.", 0, java.lang.Integer.MAX_VALUE, coveragePeriod)); + childrenList.add(new Property("subject", "Reference(Patient|Device|Practitioner|Location|HealthcareService|Organization)", "Identifies the patient, device, practitioner, location or other object the account is associated with.", 0, java.lang.Integer.MAX_VALUE, subject)); + childrenList.add(new Property("owner", "Reference(Organization)", "Indicates the organization, department, etc. with responsibility for the account.", 0, java.lang.Integer.MAX_VALUE, owner)); + childrenList.add(new Property("description", "string", "Provides additional information about what the account tracks and how it is used.", 0, java.lang.Integer.MAX_VALUE, description)); + } + + public Account copy() { + Account dst = new Account(); + copyValues(dst); + if (identifier != null) { + dst.identifier = new ArrayList(); + for (Identifier i : identifier) + dst.identifier.add(i.copy()); + }; + dst.name = name == null ? null : name.copy(); + dst.type = type == null ? null : type.copy(); + dst.status = status == null ? null : status.copy(); + dst.activePeriod = activePeriod == null ? null : activePeriod.copy(); + dst.currency = currency == null ? null : currency.copy(); + dst.balance = balance == null ? null : balance.copy(); + dst.coveragePeriod = coveragePeriod == null ? null : coveragePeriod.copy(); + dst.subject = subject == null ? null : subject.copy(); + dst.owner = owner == null ? null : owner.copy(); + dst.description = description == null ? null : description.copy(); + return dst; + } + + protected Account typedCopy() { + return copy(); + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof Account)) + return false; + Account o = (Account) other; + return compareDeep(identifier, o.identifier, true) && compareDeep(name, o.name, true) && compareDeep(type, o.type, true) + && compareDeep(status, o.status, true) && compareDeep(activePeriod, o.activePeriod, true) && compareDeep(currency, o.currency, true) + && compareDeep(balance, o.balance, true) && compareDeep(coveragePeriod, o.coveragePeriod, true) + && compareDeep(subject, o.subject, true) && compareDeep(owner, o.owner, true) && compareDeep(description, o.description, true) + ; + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof Account)) + return false; + Account o = (Account) other; + return compareValues(name, o.name, true) && compareValues(status, o.status, true) && compareValues(description, o.description, true) + ; + } + + public boolean isEmpty() { + return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (name == null || name.isEmpty()) + && (type == null || type.isEmpty()) && (status == null || status.isEmpty()) && (activePeriod == null || activePeriod.isEmpty()) + && (currency == null || currency.isEmpty()) && (balance == null || balance.isEmpty()) && (coveragePeriod == null || coveragePeriod.isEmpty()) + && (subject == null || subject.isEmpty()) && (owner == null || owner.isEmpty()) && (description == null || description.isEmpty()) + ; + } + + @Override + public ResourceType getResourceType() { + return ResourceType.Account; + } + + @SearchParamDefinition(name="owner", path="Account.owner", description="Who is responsible?", type="reference" ) + public static final String SP_OWNER = "owner"; + @SearchParamDefinition(name="identifier", path="Account.identifier", description="Account number", type="token" ) + public static final String SP_IDENTIFIER = "identifier"; + @SearchParamDefinition(name="period", path="Account.coveragePeriod", description="Transaction window", type="date" ) + public static final String SP_PERIOD = "period"; + @SearchParamDefinition(name="balance", path="Account.balance", description="How much is in account?", type="number" ) + public static final String SP_BALANCE = "balance"; + @SearchParamDefinition(name="subject", path="Account.subject", description="What is account tied to?", type="reference" ) + public static final String SP_SUBJECT = "subject"; + @SearchParamDefinition(name="patient", path="Account.subject", description="What is account tied to?", type="reference" ) + public static final String SP_PATIENT = "patient"; + @SearchParamDefinition(name="name", path="Account.name", description="Human-readable label", type="string" ) + public static final String SP_NAME = "name"; + @SearchParamDefinition(name="type", path="Account.type", description="E.g. patient, expense, depreciation", type="token" ) + public static final String SP_TYPE = "type"; + @SearchParamDefinition(name="status", path="Account.status", description="active | inactive", type="token" ) + public static final String SP_STATUS = "status"; + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Address.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Address.java index b7147bea8d8..9577601ea66 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Address.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Address.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -90,10 +90,10 @@ public class Address extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case HOME: return "http://hl7.org.fhir/address-use"; - case WORK: return "http://hl7.org.fhir/address-use"; - case TEMP: return "http://hl7.org.fhir/address-use"; - case OLD: return "http://hl7.org.fhir/address-use"; + case HOME: return "http://hl7.org/fhir/address-use"; + case WORK: return "http://hl7.org/fhir/address-use"; + case TEMP: return "http://hl7.org/fhir/address-use"; + case OLD: return "http://hl7.org/fhir/address-use"; default: return "?"; } } @@ -110,8 +110,8 @@ public class Address extends Type implements ICompositeType { switch (this) { case HOME: return "Home"; case WORK: return "Work"; - case TEMP: return "Temp"; - case OLD: return "Old"; + case TEMP: return "Temporary"; + case OLD: return "Old / Incorrect"; default: return "?"; } } @@ -145,6 +145,92 @@ public class Address extends Type implements ICompositeType { } } + public enum AddressType { + /** + * Mailing addresses - PO Boxes and care-of addresses + */ + POSTAL, + /** + * A physical address that can be visited + */ + PHYSICAL, + /** + * An address that is both physical and postal + */ + BOTH, + /** + * added to help the parsers + */ + NULL; + public static AddressType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("postal".equals(codeString)) + return POSTAL; + if ("physical".equals(codeString)) + return PHYSICAL; + if ("both".equals(codeString)) + return BOTH; + throw new Exception("Unknown AddressType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case POSTAL: return "postal"; + case PHYSICAL: return "physical"; + case BOTH: return "both"; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case POSTAL: return "http://hl7.org/fhir/address-type"; + case PHYSICAL: return "http://hl7.org/fhir/address-type"; + case BOTH: return "http://hl7.org/fhir/address-type"; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case POSTAL: return "Mailing addresses - PO Boxes and care-of addresses"; + case PHYSICAL: return "A physical address that can be visited"; + case BOTH: return "An address that is both physical and postal"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case POSTAL: return "Postal"; + case PHYSICAL: return "Physical"; + case BOTH: return "Postal & Physical"; + default: return "?"; + } + } + } + + public static class AddressTypeEnumFactory implements EnumFactory { + public AddressType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("postal".equals(codeString)) + return AddressType.POSTAL; + if ("physical".equals(codeString)) + return AddressType.PHYSICAL; + if ("both".equals(codeString)) + return AddressType.BOTH; + throw new IllegalArgumentException("Unknown AddressType code '"+codeString+"'"); + } + public String toCode(AddressType code) { + if (code == AddressType.POSTAL) + return "postal"; + if (code == AddressType.PHYSICAL) + return "physical"; + if (code == AddressType.BOTH) + return "both"; + return "?"; + } + } + /** * The purpose of this address. */ @@ -152,10 +238,17 @@ public class Address extends Type implements ICompositeType { @Description(shortDefinition="home | work | temp | old - purpose of this address", formalDefinition="The purpose of this address." ) protected Enumeration use; + /** + * Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both. + */ + @Child(name = "type", type = {CodeType.class}, order=1, min=0, max=1) + @Description(shortDefinition="postal | physical | both", formalDefinition="Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." ) + protected Enumeration type; + /** * A full text representation of the address. */ - @Child(name = "text", type = {StringType.class}, order=1, min=0, max=1) + @Child(name = "text", type = {StringType.class}, order=2, min=0, max=1) @Description(shortDefinition="Text representation of the address", formalDefinition="A full text representation of the address." ) protected StringType text; @@ -163,46 +256,46 @@ public class Address extends Type implements ICompositeType { * This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information. */ - @Child(name = "line", type = {StringType.class}, order=2, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "line", type = {StringType.class}, order=3, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Street name, number, direction & P.O. Box etc", formalDefinition="This component contains the house number, apartment number, street name, street direction, \nP.O. Box number, delivery hints, and similar address information." ) protected List line; /** * The name of the city, town, village or other community or delivery center. */ - @Child(name = "city", type = {StringType.class}, order=3, min=0, max=1) + @Child(name = "city", type = {StringType.class}, order=4, min=0, max=1) @Description(shortDefinition="Name of city, town etc.", formalDefinition="The name of the city, town, village or other community or delivery center." ) protected StringType city; /** * Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). */ - @Child(name = "state", type = {StringType.class}, order=4, min=0, max=1) + @Child(name = "state", type = {StringType.class}, order=5, min=0, max=1) @Description(shortDefinition="Sub-unit of country (abreviations ok)", formalDefinition="Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)." ) protected StringType state; /** * A postal code designating a region defined by the postal service. */ - @Child(name = "postalCode", type = {StringType.class}, order=5, min=0, max=1) + @Child(name = "postalCode", type = {StringType.class}, order=6, min=0, max=1) @Description(shortDefinition="Postal code for area", formalDefinition="A postal code designating a region defined by the postal service." ) protected StringType postalCode; /** * Country - a nation as commonly understood or generally accepted. */ - @Child(name = "country", type = {StringType.class}, order=6, min=0, max=1) + @Child(name = "country", type = {StringType.class}, order=7, min=0, max=1) @Description(shortDefinition="Country (can be ISO 3166 3 letter code)", formalDefinition="Country - a nation as commonly understood or generally accepted." ) protected StringType country; /** * Time period when address was/is in use. */ - @Child(name = "period", type = {Period.class}, order=7, min=0, max=1) + @Child(name = "period", type = {Period.class}, order=8, min=0, max=1) @Description(shortDefinition="Time period when address was/is in use", formalDefinition="Time period when address was/is in use." ) protected Period period; - private static final long serialVersionUID = -470351694L; + private static final long serialVersionUID = 1890613287L; /* * Constructor @@ -260,6 +353,55 @@ P.O. Box number, delivery hints, and similar address information. return this; } + /** + * @return {@link #type} (Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + */ + public Enumeration getTypeElement() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Address.type"); + else if (Configuration.doAutoCreate()) + this.type = new Enumeration(new AddressTypeEnumFactory()); // bb + return this.type; + } + + public boolean hasTypeElement() { + return this.type != null && !this.type.isEmpty(); + } + + public boolean hasType() { + return this.type != null && !this.type.isEmpty(); + } + + /** + * @param value {@link #type} (Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + */ + public Address setTypeElement(Enumeration value) { + this.type = value; + return this; + } + + /** + * @return Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both. + */ + public AddressType getType() { + return this.type == null ? null : this.type.getValue(); + } + + /** + * @param value Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both. + */ + public Address setType(AddressType value) { + if (value == null) + this.type = null; + else { + if (this.type == null) + this.type = new Enumeration(new AddressTypeEnumFactory()); + this.type.setValue(value); + } + return this; + } + /** * @return {@link #text} (A full text representation of the address.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value */ @@ -590,6 +732,7 @@ P.O. Box number, delivery hints, and similar address information.) protected void listChildren(List childrenList) { super.listChildren(childrenList); childrenList.add(new Property("use", "code", "The purpose of this address.", 0, java.lang.Integer.MAX_VALUE, use)); + childrenList.add(new Property("type", "code", "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", 0, java.lang.Integer.MAX_VALUE, type)); childrenList.add(new Property("text", "string", "A full text representation of the address.", 0, java.lang.Integer.MAX_VALUE, text)); childrenList.add(new Property("line", "string", "This component contains the house number, apartment number, street name, street direction, \nP.O. Box number, delivery hints, and similar address information.", 0, java.lang.Integer.MAX_VALUE, line)); childrenList.add(new Property("city", "string", "The name of the city, town, village or other community or delivery center.", 0, java.lang.Integer.MAX_VALUE, city)); @@ -603,6 +746,7 @@ P.O. Box number, delivery hints, and similar address information.) Address dst = new Address(); copyValues(dst); dst.use = use == null ? null : use.copy(); + dst.type = type == null ? null : type.copy(); dst.text = text == null ? null : text.copy(); if (line != null) { dst.line = new ArrayList(); @@ -628,9 +772,10 @@ P.O. Box number, delivery hints, and similar address information.) if (!(other instanceof Address)) return false; Address o = (Address) other; - return compareDeep(use, o.use, true) && compareDeep(text, o.text, true) && compareDeep(line, o.line, true) - && compareDeep(city, o.city, true) && compareDeep(state, o.state, true) && compareDeep(postalCode, o.postalCode, true) - && compareDeep(country, o.country, true) && compareDeep(period, o.period, true); + return compareDeep(use, o.use, true) && compareDeep(type, o.type, true) && compareDeep(text, o.text, true) + && compareDeep(line, o.line, true) && compareDeep(city, o.city, true) && compareDeep(state, o.state, true) + && compareDeep(postalCode, o.postalCode, true) && compareDeep(country, o.country, true) && compareDeep(period, o.period, true) + ; } @Override @@ -640,15 +785,15 @@ P.O. Box number, delivery hints, and similar address information.) if (!(other instanceof Address)) return false; Address o = (Address) other; - return compareValues(use, o.use, true) && compareValues(text, o.text, true) && compareValues(line, o.line, true) - && compareValues(city, o.city, true) && compareValues(state, o.state, true) && compareValues(postalCode, o.postalCode, true) - && compareValues(country, o.country, true); + return compareValues(use, o.use, true) && compareValues(type, o.type, true) && compareValues(text, o.text, true) + && compareValues(line, o.line, true) && compareValues(city, o.city, true) && compareValues(state, o.state, true) + && compareValues(postalCode, o.postalCode, true) && compareValues(country, o.country, true); } public boolean isEmpty() { - return super.isEmpty() && (use == null || use.isEmpty()) && (text == null || text.isEmpty()) - && (line == null || line.isEmpty()) && (city == null || city.isEmpty()) && (state == null || state.isEmpty()) - && (postalCode == null || postalCode.isEmpty()) && (country == null || country.isEmpty()) + return super.isEmpty() && (use == null || use.isEmpty()) && (type == null || type.isEmpty()) + && (text == null || text.isEmpty()) && (line == null || line.isEmpty()) && (city == null || city.isEmpty()) + && (state == null || state.isEmpty()) && (postalCode == null || postalCode.isEmpty()) && (country == null || country.isEmpty()) && (period == null || period.isEmpty()); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Age.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Age.java index 776eecc77aa..6ad0c29e724 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Age.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Age.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import org.hl7.fhir.instance.model.annotations.DatatypeDef; import org.hl7.fhir.instance.model.annotations.Block; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AllergyIntolerance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AllergyIntolerance.java index b1762cedd01..c0b419de82e 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AllergyIntolerance.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AllergyIntolerance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class AllergyIntolerance extends DomainResource { } public String getSystem() { switch (this) { - case UNCONFIRMED: return "http://hl7.org.fhir/allergy-intolerance-status"; - case CONFIRMED: return "http://hl7.org.fhir/allergy-intolerance-status"; - case RESOLVED: return "http://hl7.org.fhir/allergy-intolerance-status"; - case REFUTED: return "http://hl7.org.fhir/allergy-intolerance-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/allergy-intolerance-status"; + case UNCONFIRMED: return "http://hl7.org/fhir/allergy-intolerance-status"; + case CONFIRMED: return "http://hl7.org/fhir/allergy-intolerance-status"; + case RESOLVED: return "http://hl7.org/fhir/allergy-intolerance-status"; + case REFUTED: return "http://hl7.org/fhir/allergy-intolerance-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/allergy-intolerance-status"; default: return "?"; } } @@ -198,9 +198,9 @@ public class AllergyIntolerance extends DomainResource { } public String getSystem() { switch (this) { - case LOW: return "http://hl7.org.fhir/allergy-intolerance-criticality"; - case HIGH: return "http://hl7.org.fhir/allergy-intolerance-criticality"; - case UNASSESSIBLE: return "http://hl7.org.fhir/allergy-intolerance-criticality"; + case LOW: return "http://hl7.org/fhir/allergy-intolerance-criticality"; + case HIGH: return "http://hl7.org/fhir/allergy-intolerance-criticality"; + case UNASSESSIBLE: return "http://hl7.org/fhir/allergy-intolerance-criticality"; default: return "?"; } } @@ -277,8 +277,8 @@ public class AllergyIntolerance extends DomainResource { } public String getSystem() { switch (this) { - case IMMUNE: return "http://hl7.org.fhir/allergy-intolerance-type"; - case NONIMMUNE: return "http://hl7.org.fhir/allergy-intolerance-type"; + case IMMUNE: return "http://hl7.org/fhir/allergy-intolerance-type"; + case NONIMMUNE: return "http://hl7.org/fhir/allergy-intolerance-type"; default: return "?"; } } @@ -356,9 +356,9 @@ public class AllergyIntolerance extends DomainResource { } public String getSystem() { switch (this) { - case FOOD: return "http://hl7.org.fhir/allergy-intolerance-category"; - case MEDICATION: return "http://hl7.org.fhir/allergy-intolerance-category"; - case ENVIRONMENT: return "http://hl7.org.fhir/allergy-intolerance-category"; + case FOOD: return "http://hl7.org/fhir/allergy-intolerance-category"; + case MEDICATION: return "http://hl7.org/fhir/allergy-intolerance-category"; + case ENVIRONMENT: return "http://hl7.org/fhir/allergy-intolerance-category"; default: return "?"; } } @@ -442,9 +442,9 @@ public class AllergyIntolerance extends DomainResource { } public String getSystem() { switch (this) { - case UNLIKELY: return "http://hl7.org.fhir/reaction-event-certainty"; - case LIKELY: return "http://hl7.org.fhir/reaction-event-certainty"; - case CONFIRMED: return "http://hl7.org.fhir/reaction-event-certainty"; + case UNLIKELY: return "http://hl7.org/fhir/reaction-event-certainty"; + case LIKELY: return "http://hl7.org/fhir/reaction-event-certainty"; + case CONFIRMED: return "http://hl7.org/fhir/reaction-event-certainty"; default: return "?"; } } @@ -528,9 +528,9 @@ public class AllergyIntolerance extends DomainResource { } public String getSystem() { switch (this) { - case MILD: return "http://hl7.org.fhir/reaction-event-severity"; - case MODERATE: return "http://hl7.org.fhir/reaction-event-severity"; - case SEVERE: return "http://hl7.org.fhir/reaction-event-severity"; + case MILD: return "http://hl7.org/fhir/reaction-event-severity"; + case MODERATE: return "http://hl7.org/fhir/reaction-event-severity"; + case SEVERE: return "http://hl7.org/fhir/reaction-event-severity"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Annotation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Annotation.java new file mode 100644 index 00000000000..867c84378dc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Annotation.java @@ -0,0 +1,273 @@ +package org.hl7.fhir.instance.model; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + +import java.util.*; + +import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.instance.model.annotations.Child; +import org.hl7.fhir.instance.model.annotations.Description; +import org.hl7.fhir.instance.model.annotations.DatatypeDef; +import org.hl7.fhir.instance.model.annotations.Block; +import org.hl7.fhir.instance.model.api.*; +/** + * A text note which also contains information about who made the statement and when. + */ +@DatatypeDef(name="Annotation") +public class Annotation extends Type implements ICompositeType { + + /** + * The individual responsible for making the annotation. + */ + @Child(name = "author", type = {Practitioner.class, Patient.class, RelatedPerson.class, StringType.class}, order=0, min=0, max=1) + @Description(shortDefinition="Individual responsible for the annotation", formalDefinition="The individual responsible for making the annotation." ) + protected Type author; + + /** + * Indicates when this particular annotation was made. + */ + @Child(name = "time", type = {DateTimeType.class}, order=1, min=0, max=1) + @Description(shortDefinition="When the annotation was made", formalDefinition="Indicates when this particular annotation was made." ) + protected DateTimeType time; + + /** + * The text of the annotation. + */ + @Child(name = "text", type = {StringType.class}, order=2, min=1, max=1) + @Description(shortDefinition="The annotation - text content", formalDefinition="The text of the annotation." ) + protected StringType text; + + private static final long serialVersionUID = -575590381L; + + /* + * Constructor + */ + public Annotation() { + super(); + } + + /* + * Constructor + */ + public Annotation(StringType text) { + super(); + this.text = text; + } + + /** + * @return {@link #author} (The individual responsible for making the annotation.) + */ + public Type getAuthor() { + return this.author; + } + + /** + * @return {@link #author} (The individual responsible for making the annotation.) + */ + public Reference getAuthorReference() throws Exception { + if (!(this.author instanceof Reference)) + throw new Exception("Type mismatch: the type Reference was expected, but "+this.author.getClass().getName()+" was encountered"); + return (Reference) this.author; + } + + public boolean hasAuthorReference() throws Exception { + return this.author instanceof Reference; + } + + /** + * @return {@link #author} (The individual responsible for making the annotation.) + */ + public StringType getAuthorStringType() throws Exception { + if (!(this.author instanceof StringType)) + throw new Exception("Type mismatch: the type StringType was expected, but "+this.author.getClass().getName()+" was encountered"); + return (StringType) this.author; + } + + public boolean hasAuthorStringType() throws Exception { + return this.author instanceof StringType; + } + + public boolean hasAuthor() { + return this.author != null && !this.author.isEmpty(); + } + + /** + * @param value {@link #author} (The individual responsible for making the annotation.) + */ + public Annotation setAuthor(Type value) { + this.author = value; + return this; + } + + /** + * @return {@link #time} (Indicates when this particular annotation was made.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value + */ + public DateTimeType getTimeElement() { + if (this.time == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Annotation.time"); + else if (Configuration.doAutoCreate()) + this.time = new DateTimeType(); // bb + return this.time; + } + + public boolean hasTimeElement() { + return this.time != null && !this.time.isEmpty(); + } + + public boolean hasTime() { + return this.time != null && !this.time.isEmpty(); + } + + /** + * @param value {@link #time} (Indicates when this particular annotation was made.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value + */ + public Annotation setTimeElement(DateTimeType value) { + this.time = value; + return this; + } + + /** + * @return Indicates when this particular annotation was made. + */ + public Date getTime() { + return this.time == null ? null : this.time.getValue(); + } + + /** + * @param value Indicates when this particular annotation was made. + */ + public Annotation setTime(Date value) { + if (value == null) + this.time = null; + else { + if (this.time == null) + this.time = new DateTimeType(); + this.time.setValue(value); + } + return this; + } + + /** + * @return {@link #text} (The text of the annotation.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value + */ + public StringType getTextElement() { + if (this.text == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Annotation.text"); + else if (Configuration.doAutoCreate()) + this.text = new StringType(); // bb + return this.text; + } + + public boolean hasTextElement() { + return this.text != null && !this.text.isEmpty(); + } + + public boolean hasText() { + return this.text != null && !this.text.isEmpty(); + } + + /** + * @param value {@link #text} (The text of the annotation.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value + */ + public Annotation setTextElement(StringType value) { + this.text = value; + return this; + } + + /** + * @return The text of the annotation. + */ + public String getText() { + return this.text == null ? null : this.text.getValue(); + } + + /** + * @param value The text of the annotation. + */ + public Annotation setText(String value) { + if (this.text == null) + this.text = new StringType(); + this.text.setValue(value); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("author[x]", "Reference(Practitioner|Patient|RelatedPerson)|string", "The individual responsible for making the annotation.", 0, java.lang.Integer.MAX_VALUE, author)); + childrenList.add(new Property("time", "dateTime", "Indicates when this particular annotation was made.", 0, java.lang.Integer.MAX_VALUE, time)); + childrenList.add(new Property("text", "string", "The text of the annotation.", 0, java.lang.Integer.MAX_VALUE, text)); + } + + public Annotation copy() { + Annotation dst = new Annotation(); + copyValues(dst); + dst.author = author == null ? null : author.copy(); + dst.time = time == null ? null : time.copy(); + dst.text = text == null ? null : text.copy(); + return dst; + } + + protected Annotation typedCopy() { + return copy(); + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof Annotation)) + return false; + Annotation o = (Annotation) other; + return compareDeep(author, o.author, true) && compareDeep(time, o.time, true) && compareDeep(text, o.text, true) + ; + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof Annotation)) + return false; + Annotation o = (Annotation) other; + return compareValues(time, o.time, true) && compareValues(text, o.text, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (author == null || author.isEmpty()) && (time == null || time.isEmpty()) + && (text == null || text.isEmpty()); + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Appointment.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Appointment.java index 174980dcd54..1a635edcecb 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Appointment.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Appointment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -105,12 +105,12 @@ public class Appointment extends DomainResource { } public String getSystem() { switch (this) { - case PENDING: return "http://hl7.org.fhir/appointmentstatus"; - case BOOKED: return "http://hl7.org.fhir/appointmentstatus"; - case ARRIVED: return "http://hl7.org.fhir/appointmentstatus"; - case FULFILLED: return "http://hl7.org.fhir/appointmentstatus"; - case CANCELLED: return "http://hl7.org.fhir/appointmentstatus"; - case NOSHOW: return "http://hl7.org.fhir/appointmentstatus"; + case PENDING: return "http://hl7.org/fhir/appointmentstatus"; + case BOOKED: return "http://hl7.org/fhir/appointmentstatus"; + case ARRIVED: return "http://hl7.org/fhir/appointmentstatus"; + case FULFILLED: return "http://hl7.org/fhir/appointmentstatus"; + case CANCELLED: return "http://hl7.org/fhir/appointmentstatus"; + case NOSHOW: return "http://hl7.org/fhir/appointmentstatus"; default: return "?"; } } @@ -212,9 +212,9 @@ public class Appointment extends DomainResource { } public String getSystem() { switch (this) { - case REQUIRED: return "http://hl7.org.fhir/participantrequired"; - case OPTIONAL: return "http://hl7.org.fhir/participantrequired"; - case INFORMATIONONLY: return "http://hl7.org.fhir/participantrequired"; + case REQUIRED: return "http://hl7.org/fhir/participantrequired"; + case OPTIONAL: return "http://hl7.org/fhir/participantrequired"; + case INFORMATIONONLY: return "http://hl7.org/fhir/participantrequired"; default: return "?"; } } @@ -305,10 +305,10 @@ public class Appointment extends DomainResource { } public String getSystem() { switch (this) { - case ACCEPTED: return "http://hl7.org.fhir/participationstatus"; - case DECLINED: return "http://hl7.org.fhir/participationstatus"; - case TENTATIVE: return "http://hl7.org.fhir/participationstatus"; - case NEEDSACTION: return "http://hl7.org.fhir/participationstatus"; + case ACCEPTED: return "http://hl7.org/fhir/participationstatus"; + case DECLINED: return "http://hl7.org/fhir/participationstatus"; + case TENTATIVE: return "http://hl7.org/fhir/participationstatus"; + case NEEDSACTION: return "http://hl7.org/fhir/participationstatus"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AppointmentResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AppointmentResponse.java index b01f1776e76..5e4a302118d 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AppointmentResponse.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AppointmentResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -105,12 +105,12 @@ public class AppointmentResponse extends DomainResource { } public String getSystem() { switch (this) { - case ACCEPTED: return "http://hl7.org.fhir/participantstatus"; - case DECLINED: return "http://hl7.org.fhir/participantstatus"; - case TENTATIVE: return "http://hl7.org.fhir/participantstatus"; - case INPROCESS: return "http://hl7.org.fhir/participantstatus"; - case COMPLETED: return "http://hl7.org.fhir/participantstatus"; - case NEEDSACTION: return "http://hl7.org.fhir/participantstatus"; + case ACCEPTED: return "http://hl7.org/fhir/participantstatus"; + case DECLINED: return "http://hl7.org/fhir/participantstatus"; + case TENTATIVE: return "http://hl7.org/fhir/participantstatus"; + case INPROCESS: return "http://hl7.org/fhir/participantstatus"; + case COMPLETED: return "http://hl7.org/fhir/participantstatus"; + case NEEDSACTION: return "http://hl7.org/fhir/participantstatus"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Attachment.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Attachment.java index 4bc1a919bed..c5b73994363 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Attachment.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Attachment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AuditEvent.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AuditEvent.java index a0b3e39cc59..b721c927b31 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AuditEvent.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/AuditEvent.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class AuditEvent extends DomainResource { } public String getSystem() { switch (this) { - case C: return "http://hl7.org.fhir/audit-event-action"; - case R: return "http://hl7.org.fhir/audit-event-action"; - case U: return "http://hl7.org.fhir/audit-event-action"; - case D: return "http://hl7.org.fhir/audit-event-action"; - case E: return "http://hl7.org.fhir/audit-event-action"; + case C: return "http://hl7.org/fhir/audit-event-action"; + case R: return "http://hl7.org/fhir/audit-event-action"; + case U: return "http://hl7.org/fhir/audit-event-action"; + case D: return "http://hl7.org/fhir/audit-event-action"; + case E: return "http://hl7.org/fhir/audit-event-action"; default: return "?"; } } @@ -205,10 +205,10 @@ public class AuditEvent extends DomainResource { } public String getSystem() { switch (this) { - case _0: return "http://hl7.org.fhir/audit-event-outcome"; - case _4: return "http://hl7.org.fhir/audit-event-outcome"; - case _8: return "http://hl7.org.fhir/audit-event-outcome"; - case _12: return "http://hl7.org.fhir/audit-event-outcome"; + case _0: return "http://hl7.org/fhir/audit-event-outcome"; + case _4: return "http://hl7.org/fhir/audit-event-outcome"; + case _8: return "http://hl7.org/fhir/audit-event-outcome"; + case _12: return "http://hl7.org/fhir/audit-event-outcome"; default: return "?"; } } @@ -312,11 +312,11 @@ public class AuditEvent extends DomainResource { } public String getSystem() { switch (this) { - case _1: return "http://hl7.org.fhir/network-type"; - case _2: return "http://hl7.org.fhir/network-type"; - case _3: return "http://hl7.org.fhir/network-type"; - case _4: return "http://hl7.org.fhir/network-type"; - case _5: return "http://hl7.org.fhir/network-type"; + case _1: return "http://hl7.org/fhir/network-type"; + case _2: return "http://hl7.org/fhir/network-type"; + case _3: return "http://hl7.org/fhir/network-type"; + case _4: return "http://hl7.org/fhir/network-type"; + case _5: return "http://hl7.org/fhir/network-type"; default: return "?"; } } @@ -332,11 +332,11 @@ public class AuditEvent extends DomainResource { } public String getDisplay() { switch (this) { - case _1: return " "; - case _2: return " "; - case _3: return " "; - case _4: return " "; - case _5: return " "; + case _1: return "Machine Name"; + case _2: return "IP Address"; + case _3: return "Telephone Number"; + case _4: return "Email address"; + case _5: return "URI"; default: return "?"; } } @@ -419,10 +419,10 @@ public class AuditEvent extends DomainResource { } public String getSystem() { switch (this) { - case _1: return "http://hl7.org.fhir/object-type"; - case _2: return "http://hl7.org.fhir/object-type"; - case _3: return "http://hl7.org.fhir/object-type"; - case _4: return "http://hl7.org.fhir/object-type"; + case _1: return "http://hl7.org/fhir/object-type"; + case _2: return "http://hl7.org/fhir/object-type"; + case _3: return "http://hl7.org/fhir/object-type"; + case _4: return "http://hl7.org/fhir/object-type"; default: return "?"; } } @@ -437,10 +437,10 @@ public class AuditEvent extends DomainResource { } public String getDisplay() { switch (this) { - case _1: return " "; - case _2: return " "; - case _3: return " "; - case _4: return " "; + case _1: return "Person"; + case _2: return "System Object"; + case _3: return "Organization"; + case _4: return "Other"; default: return "?"; } } @@ -659,30 +659,30 @@ public class AuditEvent extends DomainResource { } public String getSystem() { switch (this) { - case _1: return "http://hl7.org.fhir/object-role"; - case _2: return "http://hl7.org.fhir/object-role"; - case _3: return "http://hl7.org.fhir/object-role"; - case _4: return "http://hl7.org.fhir/object-role"; - case _5: return "http://hl7.org.fhir/object-role"; - case _6: return "http://hl7.org.fhir/object-role"; - case _7: return "http://hl7.org.fhir/object-role"; - case _8: return "http://hl7.org.fhir/object-role"; - case _9: return "http://hl7.org.fhir/object-role"; - case _10: return "http://hl7.org.fhir/object-role"; - case _11: return "http://hl7.org.fhir/object-role"; - case _12: return "http://hl7.org.fhir/object-role"; - case _13: return "http://hl7.org.fhir/object-role"; - case _14: return "http://hl7.org.fhir/object-role"; - case _15: return "http://hl7.org.fhir/object-role"; - case _16: return "http://hl7.org.fhir/object-role"; - case _17: return "http://hl7.org.fhir/object-role"; - case _18: return "http://hl7.org.fhir/object-role"; - case _19: return "http://hl7.org.fhir/object-role"; - case _20: return "http://hl7.org.fhir/object-role"; - case _21: return "http://hl7.org.fhir/object-role"; - case _22: return "http://hl7.org.fhir/object-role"; - case _23: return "http://hl7.org.fhir/object-role"; - case _24: return "http://hl7.org.fhir/object-role"; + case _1: return "http://hl7.org/fhir/object-role"; + case _2: return "http://hl7.org/fhir/object-role"; + case _3: return "http://hl7.org/fhir/object-role"; + case _4: return "http://hl7.org/fhir/object-role"; + case _5: return "http://hl7.org/fhir/object-role"; + case _6: return "http://hl7.org/fhir/object-role"; + case _7: return "http://hl7.org/fhir/object-role"; + case _8: return "http://hl7.org/fhir/object-role"; + case _9: return "http://hl7.org/fhir/object-role"; + case _10: return "http://hl7.org/fhir/object-role"; + case _11: return "http://hl7.org/fhir/object-role"; + case _12: return "http://hl7.org/fhir/object-role"; + case _13: return "http://hl7.org/fhir/object-role"; + case _14: return "http://hl7.org/fhir/object-role"; + case _15: return "http://hl7.org/fhir/object-role"; + case _16: return "http://hl7.org/fhir/object-role"; + case _17: return "http://hl7.org/fhir/object-role"; + case _18: return "http://hl7.org/fhir/object-role"; + case _19: return "http://hl7.org/fhir/object-role"; + case _20: return "http://hl7.org/fhir/object-role"; + case _21: return "http://hl7.org/fhir/object-role"; + case _22: return "http://hl7.org/fhir/object-role"; + case _23: return "http://hl7.org/fhir/object-role"; + case _24: return "http://hl7.org/fhir/object-role"; default: return "?"; } } @@ -976,21 +976,21 @@ public class AuditEvent extends DomainResource { } public String getSystem() { switch (this) { - case _1: return "http://hl7.org.fhir/object-lifecycle"; - case _2: return "http://hl7.org.fhir/object-lifecycle"; - case _3: return "http://hl7.org.fhir/object-lifecycle"; - case _4: return "http://hl7.org.fhir/object-lifecycle"; - case _5: return "http://hl7.org.fhir/object-lifecycle"; - case _6: return "http://hl7.org.fhir/object-lifecycle"; - case _7: return "http://hl7.org.fhir/object-lifecycle"; - case _8: return "http://hl7.org.fhir/object-lifecycle"; - case _9: return "http://hl7.org.fhir/object-lifecycle"; - case _10: return "http://hl7.org.fhir/object-lifecycle"; - case _11: return "http://hl7.org.fhir/object-lifecycle"; - case _12: return "http://hl7.org.fhir/object-lifecycle"; - case _13: return "http://hl7.org.fhir/object-lifecycle"; - case _14: return "http://hl7.org.fhir/object-lifecycle"; - case _15: return "http://hl7.org.fhir/object-lifecycle"; + case _1: return "http://hl7.org/fhir/object-lifecycle"; + case _2: return "http://hl7.org/fhir/object-lifecycle"; + case _3: return "http://hl7.org/fhir/object-lifecycle"; + case _4: return "http://hl7.org/fhir/object-lifecycle"; + case _5: return "http://hl7.org/fhir/object-lifecycle"; + case _6: return "http://hl7.org/fhir/object-lifecycle"; + case _7: return "http://hl7.org/fhir/object-lifecycle"; + case _8: return "http://hl7.org/fhir/object-lifecycle"; + case _9: return "http://hl7.org/fhir/object-lifecycle"; + case _10: return "http://hl7.org/fhir/object-lifecycle"; + case _11: return "http://hl7.org/fhir/object-lifecycle"; + case _12: return "http://hl7.org/fhir/object-lifecycle"; + case _13: return "http://hl7.org/fhir/object-lifecycle"; + case _14: return "http://hl7.org/fhir/object-lifecycle"; + case _15: return "http://hl7.org/fhir/object-lifecycle"; default: return "?"; } } @@ -1016,21 +1016,21 @@ public class AuditEvent extends DomainResource { } public String getDisplay() { switch (this) { - case _1: return " "; - case _2: return " "; - case _3: return " "; - case _4: return " "; - case _5: return " "; - case _6: return " "; - case _7: return " "; - case _8: return " "; - case _9: return " "; - case _10: return " "; - case _11: return " "; - case _12: return " "; - case _13: return " "; - case _14: return " "; - case _15: return " "; + case _1: return "Origination / Creation"; + case _2: return "Import / Copy from original"; + case _3: return "Amendment"; + case _4: return "Verification"; + case _5: return "Translation"; + case _6: return "Access / Use"; + case _7: return "De-identification"; + case _8: return "Aggregation, summarization, derivation"; + case _9: return "Report"; + case _10: return "Export / Copy to target"; + case _11: return "Disclosure"; + case _12: return "Receipt of disclosure"; + case _13: return "Archiving"; + case _14: return "Logical deletion"; + case _15: return "Permanent erasure / Physical destruction"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BackboneElement.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BackboneElement.java index 73db47d58fd..4dee3dc6d09 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BackboneElement.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BackboneElement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Base.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Base.java index 7affb41b4b2..a674765dbe6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Base.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Base.java @@ -54,6 +54,12 @@ private Map userData; return (String) getUserData(name); } + public int getUserInt(String name) { + if (!hasUserData(name)) + return 0; + return (Integer) getUserData(name); + } + public boolean hasFormatComment() { return (formatComments != null && !formatComments.isEmpty()); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BaseReference.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BaseReference.java index 0ca2cbd5c4f..39c575880b9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BaseReference.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BaseReference.java @@ -1,10 +1,10 @@ package org.hl7.fhir.instance.model; +import org.hl7.fhir.instance.model.api.IAnyResource; import org.hl7.fhir.instance.model.api.IBaseReference; import org.hl7.fhir.instance.model.api.IBaseResource; import org.hl7.fhir.instance.model.api.ICompositeType; import org.hl7.fhir.instance.model.api.IIdType; -import org.hl7.fhir.instance.model.api.IAnyResource; public abstract class BaseReference extends Type implements IBaseReference, ICompositeType { diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Basic.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Basic.java index a6c68bf7351..ff8c57ab0f6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Basic.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Basic.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -63,7 +63,7 @@ public class Basic extends DomainResource { * Identifies the patient, practitioner, device or any other resource that is the "focus" of this resoruce. */ @Child(name = "subject", type = {}, order=2, min=0, max=1) - @Description(shortDefinition="Identifies the", formalDefinition="Identifies the patient, practitioner, device or any other resource that is the 'focus' of this resoruce." ) + @Description(shortDefinition="Identifies the focus of this resource", formalDefinition="Identifies the patient, practitioner, device or any other resource that is the 'focus' of this resoruce." ) protected Reference subject; /** @@ -360,11 +360,11 @@ public class Basic extends DomainResource { @SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token" ) public static final String SP_CODE = "code"; - @SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the", type="reference" ) + @SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the focus of this resource", type="reference" ) public static final String SP_SUBJECT = "subject"; @SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date" ) public static final String SP_CREATED = "created"; - @SearchParamDefinition(name="patient", path="Basic.subject", description="Identifies the", type="reference" ) + @SearchParamDefinition(name="patient", path="Basic.subject", description="Identifies the focus of this resource", type="reference" ) public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference" ) public static final String SP_AUTHOR = "author"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Binary.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Binary.java index d6a5e89a6bf..998ee0b5e18 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Binary.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Binary.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BodySite.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BodySite.java index 5be82cabf61..dbf4e239322 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BodySite.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/BodySite.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Bundle.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Bundle.java index 353e5ac7545..4d0d931c040 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Bundle.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Bundle.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -113,13 +113,13 @@ public class Bundle extends Resource implements IBaseBundle { } public String getSystem() { switch (this) { - case DOCUMENT: return "http://hl7.org.fhir/bundle-type"; - case MESSAGE: return "http://hl7.org.fhir/bundle-type"; - case TRANSACTION: return "http://hl7.org.fhir/bundle-type"; - case TRANSACTIONRESPONSE: return "http://hl7.org.fhir/bundle-type"; - case HISTORY: return "http://hl7.org.fhir/bundle-type"; - case SEARCHSET: return "http://hl7.org.fhir/bundle-type"; - case COLLECTION: return "http://hl7.org.fhir/bundle-type"; + case DOCUMENT: return "http://hl7.org/fhir/bundle-type"; + case MESSAGE: return "http://hl7.org/fhir/bundle-type"; + case TRANSACTION: return "http://hl7.org/fhir/bundle-type"; + case TRANSACTIONRESPONSE: return "http://hl7.org/fhir/bundle-type"; + case HISTORY: return "http://hl7.org/fhir/bundle-type"; + case SEARCHSET: return "http://hl7.org/fhir/bundle-type"; + case COLLECTION: return "http://hl7.org/fhir/bundle-type"; default: return "?"; } } @@ -198,6 +198,10 @@ public class Bundle extends Resource implements IBaseBundle { * This resource is returned because it is referred to from another resource in the search set */ INCLUDE, + /** + * An OperationOutcome that provides additional information about the processing of a search + */ + OUTCOME, /** * added to help the parsers */ @@ -209,19 +213,23 @@ public class Bundle extends Resource implements IBaseBundle { return MATCH; if ("include".equals(codeString)) return INCLUDE; + if ("outcome".equals(codeString)) + return OUTCOME; throw new Exception("Unknown SearchEntryMode code '"+codeString+"'"); } public String toCode() { switch (this) { case MATCH: return "match"; case INCLUDE: return "include"; + case OUTCOME: return "outcome"; default: return "?"; } } public String getSystem() { switch (this) { - case MATCH: return "http://hl7.org.fhir/search-entry-mode"; - case INCLUDE: return "http://hl7.org.fhir/search-entry-mode"; + case MATCH: return "http://hl7.org/fhir/search-entry-mode"; + case INCLUDE: return "http://hl7.org/fhir/search-entry-mode"; + case OUTCOME: return "http://hl7.org/fhir/search-entry-mode"; default: return "?"; } } @@ -229,6 +237,7 @@ public class Bundle extends Resource implements IBaseBundle { switch (this) { case MATCH: return "This resource matched the search specification"; case INCLUDE: return "This resource is returned because it is referred to from another resource in the search set"; + case OUTCOME: return "An OperationOutcome that provides additional information about the processing of a search"; default: return "?"; } } @@ -236,6 +245,7 @@ public class Bundle extends Resource implements IBaseBundle { switch (this) { case MATCH: return "match"; case INCLUDE: return "include"; + case OUTCOME: return "outcome"; default: return "?"; } } @@ -250,6 +260,8 @@ public class Bundle extends Resource implements IBaseBundle { return SearchEntryMode.MATCH; if ("include".equals(codeString)) return SearchEntryMode.INCLUDE; + if ("outcome".equals(codeString)) + return SearchEntryMode.OUTCOME; throw new IllegalArgumentException("Unknown SearchEntryMode code '"+codeString+"'"); } public String toCode(SearchEntryMode code) { @@ -257,6 +269,8 @@ public class Bundle extends Resource implements IBaseBundle { return "match"; if (code == SearchEntryMode.INCLUDE) return "include"; + if (code == SearchEntryMode.OUTCOME) + return "outcome"; return "?"; } } @@ -306,10 +320,10 @@ public class Bundle extends Resource implements IBaseBundle { } public String getSystem() { switch (this) { - case GET: return "http://hl7.org.fhir/http-verb"; - case POST: return "http://hl7.org.fhir/http-verb"; - case PUT: return "http://hl7.org.fhir/http-verb"; - case DELETE: return "http://hl7.org.fhir/http-verb"; + case GET: return "http://hl7.org/fhir/http-verb"; + case POST: return "http://hl7.org/fhir/http-verb"; + case PUT: return "http://hl7.org/fhir/http-verb"; + case DELETE: return "http://hl7.org/fhir/http-verb"; default: return "?"; } } @@ -546,7 +560,7 @@ public class Bundle extends Resource implements IBaseBundle { * The Resources for the entry. */ @Child(name = "resource", type = {Resource.class}, order=3, min=0, max=1) - @Description(shortDefinition="Resources in this bundle", formalDefinition="The Resources for the entry." ) + @Description(shortDefinition="A resource in the bundle", formalDefinition="The Resources for the entry." ) protected Resource resource; /** @@ -821,7 +835,7 @@ public class Bundle extends Resource implements IBaseBundle { * Why this entry is in the result set - whether it's included as a match or because of an _include requirement. */ @Child(name = "mode", type = {CodeType.class}, order=1, min=0, max=1) - @Description(shortDefinition="match | include - why this is in the result set", formalDefinition="Why this entry is in the result set - whether it's included as a match or because of an _include requirement." ) + @Description(shortDefinition="match | include | outcome - why this is in the result set", formalDefinition="Why this entry is in the result set - whether it's included as a match or because of an _include requirement." ) protected Enumeration mode; /** @@ -989,10 +1003,10 @@ public class Bundle extends Resource implements IBaseBundle { protected Enumeration method; /** - * A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation). + * The URL for this entry, relative to the root. */ @Child(name = "url", type = {UriType.class}, order=2, min=1, max=1) - @Description(shortDefinition="The URL for the transaction", formalDefinition="A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation)." ) + @Description(shortDefinition="URL for HTTP equivalent of this entry", formalDefinition="The URL for this entry, relative to the root." ) protected UriType url; /** @@ -1087,7 +1101,7 @@ public class Bundle extends Resource implements IBaseBundle { } /** - * @return {@link #url} (A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (The URL for this entry, relative to the root.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -1107,7 +1121,7 @@ public class Bundle extends Resource implements IBaseBundle { } /** - * @param value {@link #url} (A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (The URL for this entry, relative to the root.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public BundleEntryTransactionComponent setUrlElement(UriType value) { this.url = value; @@ -1115,14 +1129,14 @@ public class Bundle extends Resource implements IBaseBundle { } /** - * @return A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation). + * @return The URL for this entry, relative to the root. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation). + * @param value The URL for this entry, relative to the root. */ public BundleEntryTransactionComponent setUrl(String value) { if (this.url == null) @@ -1330,7 +1344,7 @@ public class Bundle extends Resource implements IBaseBundle { protected void listChildren(List childrenList) { super.listChildren(childrenList); childrenList.add(new Property("method", "code", "The HTTP verb for this entry in either a update history, or a transaction/ transaction response.", 0, java.lang.Integer.MAX_VALUE, method)); - childrenList.add(new Property("url", "uri", "A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation).", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "The URL for this entry, relative to the root.", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("ifNoneMatch", "string", "If the ETag values match, return a 304 Not modified status. See the read/vread interaction documentation.", 0, java.lang.Integer.MAX_VALUE, ifNoneMatch)); childrenList.add(new Property("ifMatch", "string", "Only perform the operation if the Etag value matches. For more information, see the API section 'Managing Resource Contention'.", 0, java.lang.Integer.MAX_VALUE, ifMatch)); childrenList.add(new Property("ifModifiedSince", "instant", "Only perform the operation if the last updated date matches. For more information, see the API section 'Managing Resource Contention'.", 0, java.lang.Integer.MAX_VALUE, ifModifiedSince)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CarePlan.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CarePlan.java index f168c4b0ca2..cc3238a9de1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CarePlan.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CarePlan.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class CarePlan extends DomainResource { } public String getSystem() { switch (this) { - case PLANNED: return "http://hl7.org.fhir/care-plan-status"; - case ACTIVE: return "http://hl7.org.fhir/care-plan-status"; - case COMPLETED: return "http://hl7.org.fhir/care-plan-status"; + case PLANNED: return "http://hl7.org/fhir/care-plan-status"; + case ACTIVE: return "http://hl7.org/fhir/care-plan-status"; + case COMPLETED: return "http://hl7.org/fhir/care-plan-status"; default: return "?"; } } @@ -198,13 +198,13 @@ public class CarePlan extends DomainResource { } public String getSystem() { switch (this) { - case DIET: return "http://hl7.org.fhir/care-plan-activity-category"; - case DRUG: return "http://hl7.org.fhir/care-plan-activity-category"; - case ENCOUNTER: return "http://hl7.org.fhir/care-plan-activity-category"; - case OBSERVATION: return "http://hl7.org.fhir/care-plan-activity-category"; - case PROCEDURE: return "http://hl7.org.fhir/care-plan-activity-category"; - case SUPPLY: return "http://hl7.org.fhir/care-plan-activity-category"; - case OTHER: return "http://hl7.org.fhir/care-plan-activity-category"; + case DIET: return "http://hl7.org/fhir/care-plan-activity-category"; + case DRUG: return "http://hl7.org/fhir/care-plan-activity-category"; + case ENCOUNTER: return "http://hl7.org/fhir/care-plan-activity-category"; + case OBSERVATION: return "http://hl7.org/fhir/care-plan-activity-category"; + case PROCEDURE: return "http://hl7.org/fhir/care-plan-activity-category"; + case SUPPLY: return "http://hl7.org/fhir/care-plan-activity-category"; + case OTHER: return "http://hl7.org/fhir/care-plan-activity-category"; default: return "?"; } } @@ -333,12 +333,12 @@ public class CarePlan extends DomainResource { } public String getSystem() { switch (this) { - case NOTSTARTED: return "http://hl7.org.fhir/care-plan-activity-status"; - case SCHEDULED: return "http://hl7.org.fhir/care-plan-activity-status"; - case INPROGRESS: return "http://hl7.org.fhir/care-plan-activity-status"; - case ONHOLD: return "http://hl7.org.fhir/care-plan-activity-status"; - case COMPLETED: return "http://hl7.org.fhir/care-plan-activity-status"; - case CANCELLED: return "http://hl7.org.fhir/care-plan-activity-status"; + case NOTSTARTED: return "http://hl7.org/fhir/care-plan-activity-status"; + case SCHEDULED: return "http://hl7.org/fhir/care-plan-activity-status"; + case INPROGRESS: return "http://hl7.org/fhir/care-plan-activity-status"; + case ONHOLD: return "http://hl7.org/fhir/care-plan-activity-status"; + case COMPLETED: return "http://hl7.org/fhir/care-plan-activity-status"; + case CANCELLED: return "http://hl7.org/fhir/care-plan-activity-status"; default: return "?"; } } @@ -1027,6 +1027,10 @@ public class CarePlan extends DomainResource { return (CodeableConcept) this.reason; } + public boolean hasReasonCodeableConcept() throws Exception { + return this.reason instanceof CodeableConcept; + } + /** * @return {@link #reason} (Provides the health condition(s) or other rationale that drove the inclusion of this particular activity as part of the plan.) */ @@ -1036,6 +1040,10 @@ public class CarePlan extends DomainResource { return (Reference) this.reason; } + public boolean hasReasonReference() throws Exception { + return this.reason instanceof Reference; + } + public boolean hasReason() { return this.reason != null && !this.reason.isEmpty(); } @@ -1243,6 +1251,10 @@ public class CarePlan extends DomainResource { return (Timing) this.scheduled; } + public boolean hasScheduledTiming() throws Exception { + return this.scheduled instanceof Timing; + } + /** * @return {@link #scheduled} (The period, timing or frequency upon which the described activity is to occur.) */ @@ -1252,6 +1264,10 @@ public class CarePlan extends DomainResource { return (Period) this.scheduled; } + public boolean hasScheduledPeriod() throws Exception { + return this.scheduled instanceof Period; + } + /** * @return {@link #scheduled} (The period, timing or frequency upon which the described activity is to occur.) */ @@ -1261,6 +1277,10 @@ public class CarePlan extends DomainResource { return (StringType) this.scheduled; } + public boolean hasScheduledStringType() throws Exception { + return this.scheduled instanceof StringType; + } + public boolean hasScheduled() { return this.scheduled != null && !this.scheduled.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Claim.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Claim.java index 6c2055ad2d1..db0a4de6782 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Claim.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Claim.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -100,11 +100,11 @@ public class Claim extends DomainResource { } public String getSystem() { switch (this) { - case INSTITUTIONAL: return "http://hl7.org.fhir/type-link"; - case ORAL: return "http://hl7.org.fhir/type-link"; - case PHARMACY: return "http://hl7.org.fhir/type-link"; - case PROFESSIONAL: return "http://hl7.org.fhir/type-link"; - case VISION: return "http://hl7.org.fhir/type-link"; + case INSTITUTIONAL: return "http://hl7.org/fhir/type-link"; + case ORAL: return "http://hl7.org/fhir/type-link"; + case PHARMACY: return "http://hl7.org/fhir/type-link"; + case PROFESSIONAL: return "http://hl7.org/fhir/type-link"; + case VISION: return "http://hl7.org/fhir/type-link"; default: return "?"; } } @@ -207,10 +207,10 @@ public class Claim extends DomainResource { } public String getSystem() { switch (this) { - case COMPLETE: return "http://hl7.org.fhir/use-link"; - case PROPOSED: return "http://hl7.org.fhir/use-link"; - case EXPLORATORY: return "http://hl7.org.fhir/use-link"; - case OTHER: return "http://hl7.org.fhir/use-link"; + case COMPLETE: return "http://hl7.org/fhir/use-link"; + case PROPOSED: return "http://hl7.org/fhir/use-link"; + case EXPLORATORY: return "http://hl7.org/fhir/use-link"; + case OTHER: return "http://hl7.org/fhir/use-link"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClaimResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClaimResponse.java index 22866e94ecf..b4eeb6d922a 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClaimResponse.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClaimResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClinicalImpression.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClinicalImpression.java index adabdf2fe9d..31357a19adf 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClinicalImpression.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ClinicalImpression.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class ClinicalImpression extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/clinical-impression-status"; - case COMPLETED: return "http://hl7.org.fhir/clinical-impression-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/clinical-impression-status"; + case INPROGRESS: return "http://hl7.org/fhir/clinical-impression-status"; + case COMPLETED: return "http://hl7.org/fhir/clinical-impression-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/clinical-impression-status"; default: return "?"; } } @@ -1089,6 +1089,10 @@ public class ClinicalImpression extends DomainResource { return (CodeableConcept) this.trigger; } + public boolean hasTriggerCodeableConcept() throws Exception { + return this.trigger instanceof CodeableConcept; + } + /** * @return {@link #trigger} (The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource.) */ @@ -1098,6 +1102,10 @@ public class ClinicalImpression extends DomainResource { return (Reference) this.trigger; } + public boolean hasTriggerReference() throws Exception { + return this.trigger instanceof Reference; + } + public boolean hasTrigger() { return this.trigger != null && !this.trigger.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CodeableConcept.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CodeableConcept.java index 1b26edc79fd..dee9561853e 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CodeableConcept.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CodeableConcept.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coding.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coding.java index 43a2ed2f670..e30f231f65c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coding.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coding.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -74,13 +74,13 @@ public class Coding extends Type implements IBaseCoding, ICompositeType { protected StringType display; /** - * Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). + * Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays). */ - @Child(name = "primary", type = {BooleanType.class}, order=4, min=0, max=1) - @Description(shortDefinition="If this code was chosen directly by the user", formalDefinition="Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." ) - protected BooleanType primary; + @Child(name = "userSelected", type = {BooleanType.class}, order=4, min=0, max=1) + @Description(shortDefinition="If this coding was chosen directly by the user", formalDefinition="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." ) + protected BooleanType userSelected; - private static final long serialVersionUID = 2019442517L; + private static final long serialVersionUID = -1417514061L; /* * Constructor @@ -286,47 +286,47 @@ public class Coding extends Type implements IBaseCoding, ICompositeType { } /** - * @return {@link #primary} (Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays).). This is the underlying object with id, value and extensions. The accessor "getPrimary" gives direct access to the value + * @return {@link #userSelected} (Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).). This is the underlying object with id, value and extensions. The accessor "getUserSelected" gives direct access to the value */ - public BooleanType getPrimaryElement() { - if (this.primary == null) + public BooleanType getUserSelectedElement() { + if (this.userSelected == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Coding.primary"); + throw new Error("Attempt to auto-create Coding.userSelected"); else if (Configuration.doAutoCreate()) - this.primary = new BooleanType(); // bb - return this.primary; + this.userSelected = new BooleanType(); // bb + return this.userSelected; } - public boolean hasPrimaryElement() { - return this.primary != null && !this.primary.isEmpty(); + public boolean hasUserSelectedElement() { + return this.userSelected != null && !this.userSelected.isEmpty(); } - public boolean hasPrimary() { - return this.primary != null && !this.primary.isEmpty(); + public boolean hasUserSelected() { + return this.userSelected != null && !this.userSelected.isEmpty(); } /** - * @param value {@link #primary} (Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays).). This is the underlying object with id, value and extensions. The accessor "getPrimary" gives direct access to the value + * @param value {@link #userSelected} (Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).). This is the underlying object with id, value and extensions. The accessor "getUserSelected" gives direct access to the value */ - public Coding setPrimaryElement(BooleanType value) { - this.primary = value; + public Coding setUserSelectedElement(BooleanType value) { + this.userSelected = value; return this; } /** - * @return Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). + * @return Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays). */ - public boolean getPrimary() { - return this.primary == null || this.primary.isEmpty() ? false : this.primary.getValue(); + public boolean getUserSelected() { + return this.userSelected == null || this.userSelected.isEmpty() ? false : this.userSelected.getValue(); } /** - * @param value Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). + * @param value Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays). */ - public Coding setPrimary(boolean value) { - if (this.primary == null) - this.primary = new BooleanType(); - this.primary.setValue(value); + public Coding setUserSelected(boolean value) { + if (this.userSelected == null) + this.userSelected = new BooleanType(); + this.userSelected.setValue(value); return this; } @@ -336,7 +336,7 @@ public class Coding extends Type implements IBaseCoding, ICompositeType { childrenList.add(new Property("version", "string", "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", 0, java.lang.Integer.MAX_VALUE, version)); childrenList.add(new Property("code", "code", "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", 0, java.lang.Integer.MAX_VALUE, code)); childrenList.add(new Property("display", "string", "A representation of the meaning of the code in the system, following the rules of the system.", 0, java.lang.Integer.MAX_VALUE, display)); - childrenList.add(new Property("primary", "boolean", "Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays).", 0, java.lang.Integer.MAX_VALUE, primary)); + childrenList.add(new Property("userSelected", "boolean", "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).", 0, java.lang.Integer.MAX_VALUE, userSelected)); } public Coding copy() { @@ -346,7 +346,7 @@ public class Coding extends Type implements IBaseCoding, ICompositeType { dst.version = version == null ? null : version.copy(); dst.code = code == null ? null : code.copy(); dst.display = display == null ? null : display.copy(); - dst.primary = primary == null ? null : primary.copy(); + dst.userSelected = userSelected == null ? null : userSelected.copy(); return dst; } @@ -362,7 +362,7 @@ public class Coding extends Type implements IBaseCoding, ICompositeType { return false; Coding o = (Coding) other; return compareDeep(system, o.system, true) && compareDeep(version, o.version, true) && compareDeep(code, o.code, true) - && compareDeep(display, o.display, true) && compareDeep(primary, o.primary, true); + && compareDeep(display, o.display, true) && compareDeep(userSelected, o.userSelected, true); } @Override @@ -373,12 +373,12 @@ public class Coding extends Type implements IBaseCoding, ICompositeType { return false; Coding o = (Coding) other; return compareValues(system, o.system, true) && compareValues(version, o.version, true) && compareValues(code, o.code, true) - && compareValues(display, o.display, true) && compareValues(primary, o.primary, true); + && compareValues(display, o.display, true) && compareValues(userSelected, o.userSelected, true); } public boolean isEmpty() { return super.isEmpty() && (system == null || system.isEmpty()) && (version == null || version.isEmpty()) - && (code == null || code.isEmpty()) && (display == null || display.isEmpty()) && (primary == null || primary.isEmpty()) + && (code == null || code.isEmpty()) && (display == null || display.isEmpty()) && (userSelected == null || userSelected.isEmpty()) ; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Communication.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Communication.java index dd6aea812c2..28a4a014456 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Communication.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Communication.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class Communication extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/communication-status"; - case COMPLETED: return "http://hl7.org.fhir/communication-status"; - case SUSPENDED: return "http://hl7.org.fhir/communication-status"; - case REJECTED: return "http://hl7.org.fhir/communication-status"; - case FAILED: return "http://hl7.org.fhir/communication-status"; + case INPROGRESS: return "http://hl7.org/fhir/communication-status"; + case COMPLETED: return "http://hl7.org/fhir/communication-status"; + case SUSPENDED: return "http://hl7.org/fhir/communication-status"; + case REJECTED: return "http://hl7.org/fhir/communication-status"; + case FAILED: return "http://hl7.org/fhir/communication-status"; default: return "?"; } } @@ -202,6 +202,10 @@ public class Communication extends DomainResource { return (StringType) this.content; } + public boolean hasContentStringType() throws Exception { + return this.content instanceof StringType; + } + /** * @return {@link #content} (An individual message part for multi-part messages.) */ @@ -211,6 +215,10 @@ public class Communication extends DomainResource { return (Attachment) this.content; } + public boolean hasContentAttachment() throws Exception { + return this.content instanceof Attachment; + } + /** * @return {@link #content} (An individual message part for multi-part messages.) */ @@ -220,6 +228,10 @@ public class Communication extends DomainResource { return (Reference) this.content; } + public boolean hasContentReference() throws Exception { + return this.content instanceof Reference; + } + public boolean hasContent() { return this.content != null && !this.content.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CommunicationRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CommunicationRequest.java index a86ef121179..6e7e293e1d8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CommunicationRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/CommunicationRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -133,16 +133,16 @@ public class CommunicationRequest extends DomainResource { } public String getSystem() { switch (this) { - case PROPOSED: return "http://hl7.org.fhir/communication-request-status"; - case PLANNED: return "http://hl7.org.fhir/communication-request-status"; - case REQUESTED: return "http://hl7.org.fhir/communication-request-status"; - case RECEIVED: return "http://hl7.org.fhir/communication-request-status"; - case ACCEPTED: return "http://hl7.org.fhir/communication-request-status"; - case INPROGRESS: return "http://hl7.org.fhir/communication-request-status"; - case COMPLETED: return "http://hl7.org.fhir/communication-request-status"; - case SUSPENDED: return "http://hl7.org.fhir/communication-request-status"; - case REJECTED: return "http://hl7.org.fhir/communication-request-status"; - case FAILED: return "http://hl7.org.fhir/communication-request-status"; + case PROPOSED: return "http://hl7.org/fhir/communication-request-status"; + case PLANNED: return "http://hl7.org/fhir/communication-request-status"; + case REQUESTED: return "http://hl7.org/fhir/communication-request-status"; + case RECEIVED: return "http://hl7.org/fhir/communication-request-status"; + case ACCEPTED: return "http://hl7.org/fhir/communication-request-status"; + case INPROGRESS: return "http://hl7.org/fhir/communication-request-status"; + case COMPLETED: return "http://hl7.org/fhir/communication-request-status"; + case SUSPENDED: return "http://hl7.org/fhir/communication-request-status"; + case REJECTED: return "http://hl7.org/fhir/communication-request-status"; + case FAILED: return "http://hl7.org/fhir/communication-request-status"; default: return "?"; } } @@ -272,6 +272,10 @@ public class CommunicationRequest extends DomainResource { return (StringType) this.content; } + public boolean hasContentStringType() throws Exception { + return this.content instanceof StringType; + } + /** * @return {@link #content} (An individual message part for multi-part messages.) */ @@ -281,6 +285,10 @@ public class CommunicationRequest extends DomainResource { return (Attachment) this.content; } + public boolean hasContentAttachment() throws Exception { + return this.content instanceof Attachment; + } + /** * @return {@link #content} (An individual message part for multi-part messages.) */ @@ -290,6 +298,10 @@ public class CommunicationRequest extends DomainResource { return (Reference) this.content; } + public boolean hasContentReference() throws Exception { + return this.content instanceof Reference; + } + public boolean hasContent() { return this.content != null && !this.content.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Composition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Composition.java index 96a89623280..995d23b588c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Composition.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Composition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class Composition extends DomainResource { } public String getSystem() { switch (this) { - case PRELIMINARY: return "http://hl7.org.fhir/composition-status"; - case FINAL: return "http://hl7.org.fhir/composition-status"; - case APPENDED: return "http://hl7.org.fhir/composition-status"; - case AMENDED: return "http://hl7.org.fhir/composition-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/composition-status"; + case PRELIMINARY: return "http://hl7.org/fhir/composition-status"; + case FINAL: return "http://hl7.org/fhir/composition-status"; + case APPENDED: return "http://hl7.org/fhir/composition-status"; + case AMENDED: return "http://hl7.org/fhir/composition-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/composition-status"; default: return "?"; } } @@ -205,10 +205,10 @@ public class Composition extends DomainResource { } public String getSystem() { switch (this) { - case PERSONAL: return "http://hl7.org.fhir/composition-attestation-mode"; - case PROFESSIONAL: return "http://hl7.org.fhir/composition-attestation-mode"; - case LEGAL: return "http://hl7.org.fhir/composition-attestation-mode"; - case OFFICIAL: return "http://hl7.org.fhir/composition-attestation-mode"; + case PERSONAL: return "http://hl7.org/fhir/composition-attestation-mode"; + case PROFESSIONAL: return "http://hl7.org/fhir/composition-attestation-mode"; + case LEGAL: return "http://hl7.org/fhir/composition-attestation-mode"; + case OFFICIAL: return "http://hl7.org/fhir/composition-attestation-mode"; default: return "?"; } } @@ -964,7 +964,7 @@ public class Composition extends DomainResource { /** * A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type. */ - @Child(name = "class", type = {CodeableConcept.class}, order=3, min=0, max=1) + @Child(name = "class_", type = {CodeableConcept.class}, order=3, min=0, max=1) @Description(shortDefinition="Categorization of Composition", formalDefinition="A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type." ) protected CodeableConcept class_; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ConceptMap.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ConceptMap.java index 0570cb6e1dc..42067abc17d 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ConceptMap.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ConceptMap.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -207,12 +207,12 @@ public class ConceptMap extends DomainResource { } @Block() - public static class ConceptMapElementComponent extends BackboneElement implements IBaseBackboneElement { + public static class SourceElementComponent extends BackboneElement implements IBaseBackboneElement { /** - * An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system). + * An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system). */ @Child(name = "codeSystem", type = {UriType.class}, order=1, min=0, max=1) - @Description(shortDefinition="Code System (if value set crosses code systems)", formalDefinition="An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system)." ) + @Description(shortDefinition="Code System (if value set crosses code systems)", formalDefinition="An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)." ) protected UriType codeSystem; /** @@ -222,36 +222,29 @@ public class ConceptMap extends DomainResource { @Description(shortDefinition="Identifies element being mapped", formalDefinition="Identity (code or path) or the element/item being mapped." ) protected CodeType code; - /** - * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. - */ - @Child(name = "dependsOn", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Other elements required for this mapping (from context)", formalDefinition="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value." ) - protected List dependsOn; - /** * A concept from the target value set that this concept maps to. */ - @Child(name = "map", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Target of this map", formalDefinition="A concept from the target value set that this concept maps to." ) - protected List map; + @Child(name = "target", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Concept in target system for element", formalDefinition="A concept from the target value set that this concept maps to." ) + protected List target; - private static final long serialVersionUID = 2079040744L; + private static final long serialVersionUID = -458143877L; /* * Constructor */ - public ConceptMapElementComponent() { + public SourceElementComponent() { super(); } /** - * @return {@link #codeSystem} (An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value + * @return {@link #codeSystem} (An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value */ public UriType getCodeSystemElement() { if (this.codeSystem == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapElementComponent.codeSystem"); + throw new Error("Attempt to auto-create SourceElementComponent.codeSystem"); else if (Configuration.doAutoCreate()) this.codeSystem = new UriType(); // bb return this.codeSystem; @@ -266,24 +259,24 @@ public class ConceptMap extends DomainResource { } /** - * @param value {@link #codeSystem} (An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value + * @param value {@link #codeSystem} (An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value */ - public ConceptMapElementComponent setCodeSystemElement(UriType value) { + public SourceElementComponent setCodeSystemElement(UriType value) { this.codeSystem = value; return this; } /** - * @return An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system). + * @return An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system). */ public String getCodeSystem() { return this.codeSystem == null ? null : this.codeSystem.getValue(); } /** - * @param value An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system). + * @param value An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system). */ - public ConceptMapElementComponent setCodeSystem(String value) { + public SourceElementComponent setCodeSystem(String value) { if (Utilities.noString(value)) this.codeSystem = null; else { @@ -300,7 +293,7 @@ public class ConceptMap extends DomainResource { public CodeType getCodeElement() { if (this.code == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapElementComponent.code"); + throw new Error("Attempt to auto-create SourceElementComponent.code"); else if (Configuration.doAutoCreate()) this.code = new CodeType(); // bb return this.code; @@ -317,7 +310,7 @@ public class ConceptMap extends DomainResource { /** * @param value {@link #code} (Identity (code or path) or the element/item being mapped.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value */ - public ConceptMapElementComponent setCodeElement(CodeType value) { + public SourceElementComponent setCodeElement(CodeType value) { this.code = value; return this; } @@ -332,7 +325,7 @@ public class ConceptMap extends DomainResource { /** * @param value Identity (code or path) or the element/item being mapped. */ - public ConceptMapElementComponent setCode(String value) { + public SourceElementComponent setCode(String value) { if (Utilities.noString(value)) this.code = null; else { @@ -343,6 +336,347 @@ public class ConceptMap extends DomainResource { return this; } + /** + * @return {@link #target} (A concept from the target value set that this concept maps to.) + */ + public List getTarget() { + if (this.target == null) + this.target = new ArrayList(); + return this.target; + } + + public boolean hasTarget() { + if (this.target == null) + return false; + for (TargetElementComponent item : this.target) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #target} (A concept from the target value set that this concept maps to.) + */ + // syntactic sugar + public TargetElementComponent addTarget() { //3 + TargetElementComponent t = new TargetElementComponent(); + if (this.target == null) + this.target = new ArrayList(); + this.target.add(t); + return t; + } + + // syntactic sugar + public SourceElementComponent addTarget(TargetElementComponent t) { //3 + if (t == null) + return this; + if (this.target == null) + this.target = new ArrayList(); + this.target.add(t); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("codeSystem", "uri", "An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system).", 0, java.lang.Integer.MAX_VALUE, codeSystem)); + childrenList.add(new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, java.lang.Integer.MAX_VALUE, code)); + childrenList.add(new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target)); + } + + public SourceElementComponent copy() { + SourceElementComponent dst = new SourceElementComponent(); + copyValues(dst); + dst.codeSystem = codeSystem == null ? null : codeSystem.copy(); + dst.code = code == null ? null : code.copy(); + if (target != null) { + dst.target = new ArrayList(); + for (TargetElementComponent i : target) + dst.target.add(i.copy()); + }; + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof SourceElementComponent)) + return false; + SourceElementComponent o = (SourceElementComponent) other; + return compareDeep(codeSystem, o.codeSystem, true) && compareDeep(code, o.code, true) && compareDeep(target, o.target, true) + ; + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof SourceElementComponent)) + return false; + SourceElementComponent o = (SourceElementComponent) other; + return compareValues(codeSystem, o.codeSystem, true) && compareValues(code, o.code, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (codeSystem == null || codeSystem.isEmpty()) && (code == null || code.isEmpty()) + && (target == null || target.isEmpty()); + } + + } + + @Block() + public static class TargetElementComponent extends BackboneElement implements IBaseBackboneElement { + /** + * An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). + */ + @Child(name = "codeSystem", type = {UriType.class}, order=1, min=0, max=1) + @Description(shortDefinition="System of the target (if necessary)", formalDefinition="An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems)." ) + protected UriType codeSystem; + + /** + * Identity (code or path) or the element/item that the map refers to. + */ + @Child(name = "code", type = {CodeType.class}, order=2, min=0, max=1) + @Description(shortDefinition="Code that identifies the target element", formalDefinition="Identity (code or path) or the element/item that the map refers to." ) + protected CodeType code; + + /** + * The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). + */ + @Child(name = "equivalence", type = {CodeType.class}, order=3, min=1, max=1) + @Description(shortDefinition="equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint", formalDefinition="The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source)." ) + protected Enumeration equivalence; + + /** + * A description of status/issues in mapping that conveys additional information not represented in the structured data. + */ + @Child(name = "comments", type = {StringType.class}, order=4, min=0, max=1) + @Description(shortDefinition="Description of status/issues in mapping", formalDefinition="A description of status/issues in mapping that conveys additional information not represented in the structured data." ) + protected StringType comments; + + /** + * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. + */ + @Child(name = "dependsOn", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Other elements required for this mapping (from context)", formalDefinition="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value." ) + protected List dependsOn; + + /** + * A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on. + */ + @Child(name = "product", type = {OtherElementComponent.class}, order=6, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Other concepts that this mapping also produces", formalDefinition="A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on." ) + protected List product; + + private static final long serialVersionUID = -804990059L; + + /* + * Constructor + */ + public TargetElementComponent() { + super(); + } + + /* + * Constructor + */ + public TargetElementComponent(Enumeration equivalence) { + super(); + this.equivalence = equivalence; + } + + /** + * @return {@link #codeSystem} (An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value + */ + public UriType getCodeSystemElement() { + if (this.codeSystem == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TargetElementComponent.codeSystem"); + else if (Configuration.doAutoCreate()) + this.codeSystem = new UriType(); // bb + return this.codeSystem; + } + + public boolean hasCodeSystemElement() { + return this.codeSystem != null && !this.codeSystem.isEmpty(); + } + + public boolean hasCodeSystem() { + return this.codeSystem != null && !this.codeSystem.isEmpty(); + } + + /** + * @param value {@link #codeSystem} (An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value + */ + public TargetElementComponent setCodeSystemElement(UriType value) { + this.codeSystem = value; + return this; + } + + /** + * @return An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). + */ + public String getCodeSystem() { + return this.codeSystem == null ? null : this.codeSystem.getValue(); + } + + /** + * @param value An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). + */ + public TargetElementComponent setCodeSystem(String value) { + if (Utilities.noString(value)) + this.codeSystem = null; + else { + if (this.codeSystem == null) + this.codeSystem = new UriType(); + this.codeSystem.setValue(value); + } + return this; + } + + /** + * @return {@link #code} (Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value + */ + public CodeType getCodeElement() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TargetElementComponent.code"); + else if (Configuration.doAutoCreate()) + this.code = new CodeType(); // bb + return this.code; + } + + public boolean hasCodeElement() { + return this.code != null && !this.code.isEmpty(); + } + + public boolean hasCode() { + return this.code != null && !this.code.isEmpty(); + } + + /** + * @param value {@link #code} (Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value + */ + public TargetElementComponent setCodeElement(CodeType value) { + this.code = value; + return this; + } + + /** + * @return Identity (code or path) or the element/item that the map refers to. + */ + public String getCode() { + return this.code == null ? null : this.code.getValue(); + } + + /** + * @param value Identity (code or path) or the element/item that the map refers to. + */ + public TargetElementComponent setCode(String value) { + if (Utilities.noString(value)) + this.code = null; + else { + if (this.code == null) + this.code = new CodeType(); + this.code.setValue(value); + } + return this; + } + + /** + * @return {@link #equivalence} (The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source).). This is the underlying object with id, value and extensions. The accessor "getEquivalence" gives direct access to the value + */ + public Enumeration getEquivalenceElement() { + if (this.equivalence == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TargetElementComponent.equivalence"); + else if (Configuration.doAutoCreate()) + this.equivalence = new Enumeration(new ConceptMapEquivalenceEnumFactory()); // bb + return this.equivalence; + } + + public boolean hasEquivalenceElement() { + return this.equivalence != null && !this.equivalence.isEmpty(); + } + + public boolean hasEquivalence() { + return this.equivalence != null && !this.equivalence.isEmpty(); + } + + /** + * @param value {@link #equivalence} (The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source).). This is the underlying object with id, value and extensions. The accessor "getEquivalence" gives direct access to the value + */ + public TargetElementComponent setEquivalenceElement(Enumeration value) { + this.equivalence = value; + return this; + } + + /** + * @return The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). + */ + public ConceptMapEquivalence getEquivalence() { + return this.equivalence == null ? null : this.equivalence.getValue(); + } + + /** + * @param value The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). + */ + public TargetElementComponent setEquivalence(ConceptMapEquivalence value) { + if (this.equivalence == null) + this.equivalence = new Enumeration(new ConceptMapEquivalenceEnumFactory()); + this.equivalence.setValue(value); + return this; + } + + /** + * @return {@link #comments} (A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the value + */ + public StringType getCommentsElement() { + if (this.comments == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TargetElementComponent.comments"); + else if (Configuration.doAutoCreate()) + this.comments = new StringType(); // bb + return this.comments; + } + + public boolean hasCommentsElement() { + return this.comments != null && !this.comments.isEmpty(); + } + + public boolean hasComments() { + return this.comments != null && !this.comments.isEmpty(); + } + + /** + * @param value {@link #comments} (A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the value + */ + public TargetElementComponent setCommentsElement(StringType value) { + this.comments = value; + return this; + } + + /** + * @return A description of status/issues in mapping that conveys additional information not represented in the structured data. + */ + public String getComments() { + return this.comments == null ? null : this.comments.getValue(); + } + + /** + * @param value A description of status/issues in mapping that conveys additional information not represented in the structured data. + */ + public TargetElementComponent setComments(String value) { + if (Utilities.noString(value)) + this.comments = null; + else { + if (this.comments == null) + this.comments = new StringType(); + this.comments.setValue(value); + } + return this; + } + /** * @return {@link #dependsOn} (A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.) */ @@ -374,7 +708,7 @@ public class ConceptMap extends DomainResource { } // syntactic sugar - public ConceptMapElementComponent addDependsOn(OtherElementComponent t) { //3 + public TargetElementComponent addDependsOn(OtherElementComponent t) { //3 if (t == null) return this; if (this.dependsOn == null) @@ -384,67 +718,71 @@ public class ConceptMap extends DomainResource { } /** - * @return {@link #map} (A concept from the target value set that this concept maps to.) + * @return {@link #product} (A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.) */ - public List getMap() { - if (this.map == null) - this.map = new ArrayList(); - return this.map; + public List getProduct() { + if (this.product == null) + this.product = new ArrayList(); + return this.product; } - public boolean hasMap() { - if (this.map == null) + public boolean hasProduct() { + if (this.product == null) return false; - for (ConceptMapElementMapComponent item : this.map) + for (OtherElementComponent item : this.product) if (!item.isEmpty()) return true; return false; } /** - * @return {@link #map} (A concept from the target value set that this concept maps to.) + * @return {@link #product} (A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.) */ // syntactic sugar - public ConceptMapElementMapComponent addMap() { //3 - ConceptMapElementMapComponent t = new ConceptMapElementMapComponent(); - if (this.map == null) - this.map = new ArrayList(); - this.map.add(t); + public OtherElementComponent addProduct() { //3 + OtherElementComponent t = new OtherElementComponent(); + if (this.product == null) + this.product = new ArrayList(); + this.product.add(t); return t; } // syntactic sugar - public ConceptMapElementComponent addMap(ConceptMapElementMapComponent t) { //3 + public TargetElementComponent addProduct(OtherElementComponent t) { //3 if (t == null) return this; - if (this.map == null) - this.map = new ArrayList(); - this.map.add(t); + if (this.product == null) + this.product = new ArrayList(); + this.product.add(t); return this; } protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("codeSystem", "uri", "An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system).", 0, java.lang.Integer.MAX_VALUE, codeSystem)); - childrenList.add(new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, java.lang.Integer.MAX_VALUE, code)); + childrenList.add(new Property("codeSystem", "uri", "An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).", 0, java.lang.Integer.MAX_VALUE, codeSystem)); + childrenList.add(new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, java.lang.Integer.MAX_VALUE, code)); + childrenList.add(new Property("equivalence", "code", "The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source).", 0, java.lang.Integer.MAX_VALUE, equivalence)); + childrenList.add(new Property("comments", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, java.lang.Integer.MAX_VALUE, comments)); childrenList.add(new Property("dependsOn", "", "A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.", 0, java.lang.Integer.MAX_VALUE, dependsOn)); - childrenList.add(new Property("map", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, map)); + childrenList.add(new Property("product", "@ConceptMap.element.target.dependsOn", "A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product)); } - public ConceptMapElementComponent copy() { - ConceptMapElementComponent dst = new ConceptMapElementComponent(); + public TargetElementComponent copy() { + TargetElementComponent dst = new TargetElementComponent(); copyValues(dst); dst.codeSystem = codeSystem == null ? null : codeSystem.copy(); dst.code = code == null ? null : code.copy(); + dst.equivalence = equivalence == null ? null : equivalence.copy(); + dst.comments = comments == null ? null : comments.copy(); if (dependsOn != null) { dst.dependsOn = new ArrayList(); for (OtherElementComponent i : dependsOn) dst.dependsOn.add(i.copy()); }; - if (map != null) { - dst.map = new ArrayList(); - for (ConceptMapElementMapComponent i : map) - dst.map.add(i.copy()); + if (product != null) { + dst.product = new ArrayList(); + for (OtherElementComponent i : product) + dst.product.add(i.copy()); }; return dst; } @@ -453,26 +791,29 @@ public class ConceptMap extends DomainResource { public boolean equalsDeep(Base other) { if (!super.equalsDeep(other)) return false; - if (!(other instanceof ConceptMapElementComponent)) + if (!(other instanceof TargetElementComponent)) return false; - ConceptMapElementComponent o = (ConceptMapElementComponent) other; - return compareDeep(codeSystem, o.codeSystem, true) && compareDeep(code, o.code, true) && compareDeep(dependsOn, o.dependsOn, true) - && compareDeep(map, o.map, true); + TargetElementComponent o = (TargetElementComponent) other; + return compareDeep(codeSystem, o.codeSystem, true) && compareDeep(code, o.code, true) && compareDeep(equivalence, o.equivalence, true) + && compareDeep(comments, o.comments, true) && compareDeep(dependsOn, o.dependsOn, true) && compareDeep(product, o.product, true) + ; } @Override public boolean equalsShallow(Base other) { if (!super.equalsShallow(other)) return false; - if (!(other instanceof ConceptMapElementComponent)) + if (!(other instanceof TargetElementComponent)) return false; - ConceptMapElementComponent o = (ConceptMapElementComponent) other; - return compareValues(codeSystem, o.codeSystem, true) && compareValues(code, o.code, true); + TargetElementComponent o = (TargetElementComponent) other; + return compareValues(codeSystem, o.codeSystem, true) && compareValues(code, o.code, true) && compareValues(equivalence, o.equivalence, true) + && compareValues(comments, o.comments, true); } public boolean isEmpty() { return super.isEmpty() && (codeSystem == null || codeSystem.isEmpty()) && (code == null || code.isEmpty()) - && (dependsOn == null || dependsOn.isEmpty()) && (map == null || map.isEmpty()); + && (equivalence == null || equivalence.isEmpty()) && (comments == null || comments.isEmpty()) + && (dependsOn == null || dependsOn.isEmpty()) && (product == null || product.isEmpty()); } } @@ -697,353 +1038,13 @@ public class ConceptMap extends DomainResource { && (code == null || code.isEmpty()); } - } - - @Block() - public static class ConceptMapElementMapComponent extends BackboneElement implements IBaseBackboneElement { - /** - * An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). - */ - @Child(name = "codeSystem", type = {UriType.class}, order=1, min=0, max=1) - @Description(shortDefinition="System of the target (if necessary)", formalDefinition="An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems)." ) - protected UriType codeSystem; - - /** - * Identity (code or path) or the element/item that the map refers to. - */ - @Child(name = "code", type = {CodeType.class}, order=2, min=0, max=1) - @Description(shortDefinition="Code that identifies the target element", formalDefinition="Identity (code or path) or the element/item that the map refers to." ) - protected CodeType code; - - /** - * The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target. - */ - @Child(name = "equivalence", type = {CodeType.class}, order=3, min=1, max=1) - @Description(shortDefinition="equivalent | equal | wider | subsumes | narrower | specialises | inexact | unmatched | disjoint", formalDefinition="The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target." ) - protected Enumeration equivalence; - - /** - * A description of status/issues in mapping that conveys additional information not represented in the structured data. - */ - @Child(name = "comments", type = {StringType.class}, order=4, min=0, max=1) - @Description(shortDefinition="Description of status/issues in mapping", formalDefinition="A description of status/issues in mapping that conveys additional information not represented in the structured data." ) - protected StringType comments; - - /** - * A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on. - */ - @Child(name = "product", type = {OtherElementComponent.class}, order=5, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Other concepts that this mapping also produces", formalDefinition="A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on." ) - protected List product; - - private static final long serialVersionUID = 949452924L; - - /* - * Constructor - */ - public ConceptMapElementMapComponent() { - super(); - } - - /* - * Constructor - */ - public ConceptMapElementMapComponent(Enumeration equivalence) { - super(); - this.equivalence = equivalence; - } - - /** - * @return {@link #codeSystem} (An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value - */ - public UriType getCodeSystemElement() { - if (this.codeSystem == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapElementMapComponent.codeSystem"); - else if (Configuration.doAutoCreate()) - this.codeSystem = new UriType(); // bb - return this.codeSystem; - } - - public boolean hasCodeSystemElement() { - return this.codeSystem != null && !this.codeSystem.isEmpty(); - } - - public boolean hasCodeSystem() { - return this.codeSystem != null && !this.codeSystem.isEmpty(); - } - - /** - * @param value {@link #codeSystem} (An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value - */ - public ConceptMapElementMapComponent setCodeSystemElement(UriType value) { - this.codeSystem = value; - return this; - } - - /** - * @return An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). - */ - public String getCodeSystem() { - return this.codeSystem == null ? null : this.codeSystem.getValue(); - } - - /** - * @param value An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). - */ - public ConceptMapElementMapComponent setCodeSystem(String value) { - if (Utilities.noString(value)) - this.codeSystem = null; - else { - if (this.codeSystem == null) - this.codeSystem = new UriType(); - this.codeSystem.setValue(value); - } - return this; - } - - /** - * @return {@link #code} (Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value - */ - public CodeType getCodeElement() { - if (this.code == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapElementMapComponent.code"); - else if (Configuration.doAutoCreate()) - this.code = new CodeType(); // bb - return this.code; - } - - public boolean hasCodeElement() { - return this.code != null && !this.code.isEmpty(); - } - - public boolean hasCode() { - return this.code != null && !this.code.isEmpty(); - } - - /** - * @param value {@link #code} (Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value - */ - public ConceptMapElementMapComponent setCodeElement(CodeType value) { - this.code = value; - return this; - } - - /** - * @return Identity (code or path) or the element/item that the map refers to. - */ - public String getCode() { - return this.code == null ? null : this.code.getValue(); - } - - /** - * @param value Identity (code or path) or the element/item that the map refers to. - */ - public ConceptMapElementMapComponent setCode(String value) { - if (Utilities.noString(value)) - this.code = null; - else { - if (this.code == null) - this.code = new CodeType(); - this.code.setValue(value); - } - return this; - } - - /** - * @return {@link #equivalence} (The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target.). This is the underlying object with id, value and extensions. The accessor "getEquivalence" gives direct access to the value - */ - public Enumeration getEquivalenceElement() { - if (this.equivalence == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapElementMapComponent.equivalence"); - else if (Configuration.doAutoCreate()) - this.equivalence = new Enumeration(new ConceptMapEquivalenceEnumFactory()); // bb - return this.equivalence; - } - - public boolean hasEquivalenceElement() { - return this.equivalence != null && !this.equivalence.isEmpty(); - } - - public boolean hasEquivalence() { - return this.equivalence != null && !this.equivalence.isEmpty(); - } - - /** - * @param value {@link #equivalence} (The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target.). This is the underlying object with id, value and extensions. The accessor "getEquivalence" gives direct access to the value - */ - public ConceptMapElementMapComponent setEquivalenceElement(Enumeration value) { - this.equivalence = value; - return this; - } - - /** - * @return The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target. - */ - public ConceptMapEquivalence getEquivalence() { - return this.equivalence == null ? null : this.equivalence.getValue(); - } - - /** - * @param value The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target. - */ - public ConceptMapElementMapComponent setEquivalence(ConceptMapEquivalence value) { - if (this.equivalence == null) - this.equivalence = new Enumeration(new ConceptMapEquivalenceEnumFactory()); - this.equivalence.setValue(value); - return this; - } - - /** - * @return {@link #comments} (A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the value - */ - public StringType getCommentsElement() { - if (this.comments == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapElementMapComponent.comments"); - else if (Configuration.doAutoCreate()) - this.comments = new StringType(); // bb - return this.comments; - } - - public boolean hasCommentsElement() { - return this.comments != null && !this.comments.isEmpty(); - } - - public boolean hasComments() { - return this.comments != null && !this.comments.isEmpty(); - } - - /** - * @param value {@link #comments} (A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the value - */ - public ConceptMapElementMapComponent setCommentsElement(StringType value) { - this.comments = value; - return this; - } - - /** - * @return A description of status/issues in mapping that conveys additional information not represented in the structured data. - */ - public String getComments() { - return this.comments == null ? null : this.comments.getValue(); - } - - /** - * @param value A description of status/issues in mapping that conveys additional information not represented in the structured data. - */ - public ConceptMapElementMapComponent setComments(String value) { - if (Utilities.noString(value)) - this.comments = null; - else { - if (this.comments == null) - this.comments = new StringType(); - this.comments.setValue(value); - } - return this; - } - - /** - * @return {@link #product} (A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.) - */ - public List getProduct() { - if (this.product == null) - this.product = new ArrayList(); - return this.product; - } - - public boolean hasProduct() { - if (this.product == null) - return false; - for (OtherElementComponent item : this.product) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #product} (A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.) - */ - // syntactic sugar - public OtherElementComponent addProduct() { //3 - OtherElementComponent t = new OtherElementComponent(); - if (this.product == null) - this.product = new ArrayList(); - this.product.add(t); - return t; - } - - // syntactic sugar - public ConceptMapElementMapComponent addProduct(OtherElementComponent t) { //3 - if (t == null) - return this; - if (this.product == null) - this.product = new ArrayList(); - this.product.add(t); - return this; - } - - protected void listChildren(List childrenList) { - super.listChildren(childrenList); - childrenList.add(new Property("codeSystem", "uri", "An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).", 0, java.lang.Integer.MAX_VALUE, codeSystem)); - childrenList.add(new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, java.lang.Integer.MAX_VALUE, code)); - childrenList.add(new Property("equivalence", "code", "The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target.", 0, java.lang.Integer.MAX_VALUE, equivalence)); - childrenList.add(new Property("comments", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, java.lang.Integer.MAX_VALUE, comments)); - childrenList.add(new Property("product", "@ConceptMap.element.dependsOn", "A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product)); - } - - public ConceptMapElementMapComponent copy() { - ConceptMapElementMapComponent dst = new ConceptMapElementMapComponent(); - copyValues(dst); - dst.codeSystem = codeSystem == null ? null : codeSystem.copy(); - dst.code = code == null ? null : code.copy(); - dst.equivalence = equivalence == null ? null : equivalence.copy(); - dst.comments = comments == null ? null : comments.copy(); - if (product != null) { - dst.product = new ArrayList(); - for (OtherElementComponent i : product) - dst.product.add(i.copy()); - }; - return dst; - } - - @Override - public boolean equalsDeep(Base other) { - if (!super.equalsDeep(other)) - return false; - if (!(other instanceof ConceptMapElementMapComponent)) - return false; - ConceptMapElementMapComponent o = (ConceptMapElementMapComponent) other; - return compareDeep(codeSystem, o.codeSystem, true) && compareDeep(code, o.code, true) && compareDeep(equivalence, o.equivalence, true) - && compareDeep(comments, o.comments, true) && compareDeep(product, o.product, true); - } - - @Override - public boolean equalsShallow(Base other) { - if (!super.equalsShallow(other)) - return false; - if (!(other instanceof ConceptMapElementMapComponent)) - return false; - ConceptMapElementMapComponent o = (ConceptMapElementMapComponent) other; - return compareValues(codeSystem, o.codeSystem, true) && compareValues(code, o.code, true) && compareValues(equivalence, o.equivalence, true) - && compareValues(comments, o.comments, true); - } - - public boolean isEmpty() { - return super.isEmpty() && (codeSystem == null || codeSystem.isEmpty()) && (code == null || code.isEmpty()) - && (equivalence == null || equivalence.isEmpty()) && (comments == null || comments.isEmpty()) - && (product == null || product.isEmpty()); - } - } /** - * An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1) - @Description(shortDefinition="Globally unique logical id for concept map", formalDefinition="An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:)." ) + @Description(shortDefinition="Globally unique logical id for concept map", formalDefinition="An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:)." ) protected UriType url; /** @@ -1149,9 +1150,9 @@ public class ConceptMap extends DomainResource { */ @Child(name = "element", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Mappings for a concept from the source set", formalDefinition="Mappings for an individual concept in the source to one or more concepts in the target." ) - protected List element; + protected List element; - private static final long serialVersionUID = 729155675L; + private static final long serialVersionUID = -1713063390L; /* * Constructor @@ -1171,7 +1172,7 @@ public class ConceptMap extends DomainResource { } /** - * @return {@link #url} (An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -1191,7 +1192,7 @@ public class ConceptMap extends DomainResource { } /** - * @param value {@link #url} (An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public ConceptMap setUrlElement(UriType value) { this.url = value; @@ -1199,14 +1200,14 @@ public class ConceptMap extends DomainResource { } /** - * @return An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @return An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @param value An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public ConceptMap setUrl(String value) { if (Utilities.noString(value)) @@ -1772,6 +1773,10 @@ public class ConceptMap extends DomainResource { return (UriType) this.source; } + public boolean hasSourceUriType() throws Exception { + return this.source instanceof UriType; + } + /** * @return {@link #source} (The source value set that specifies the concepts that are being mapped.) */ @@ -1781,6 +1786,10 @@ public class ConceptMap extends DomainResource { return (Reference) this.source; } + public boolean hasSourceReference() throws Exception { + return this.source instanceof Reference; + } + public boolean hasSource() { return this.source != null && !this.source.isEmpty(); } @@ -1809,6 +1818,10 @@ public class ConceptMap extends DomainResource { return (UriType) this.target; } + public boolean hasTargetUriType() throws Exception { + return this.target instanceof UriType; + } + /** * @return {@link #target} (The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.) */ @@ -1818,6 +1831,10 @@ public class ConceptMap extends DomainResource { return (Reference) this.target; } + public boolean hasTargetReference() throws Exception { + return this.target instanceof Reference; + } + public boolean hasTarget() { return this.target != null && !this.target.isEmpty(); } @@ -1833,16 +1850,16 @@ public class ConceptMap extends DomainResource { /** * @return {@link #element} (Mappings for an individual concept in the source to one or more concepts in the target.) */ - public List getElement() { + public List getElement() { if (this.element == null) - this.element = new ArrayList(); + this.element = new ArrayList(); return this.element; } public boolean hasElement() { if (this.element == null) return false; - for (ConceptMapElementComponent item : this.element) + for (SourceElementComponent item : this.element) if (!item.isEmpty()) return true; return false; @@ -1852,27 +1869,27 @@ public class ConceptMap extends DomainResource { * @return {@link #element} (Mappings for an individual concept in the source to one or more concepts in the target.) */ // syntactic sugar - public ConceptMapElementComponent addElement() { //3 - ConceptMapElementComponent t = new ConceptMapElementComponent(); + public SourceElementComponent addElement() { //3 + SourceElementComponent t = new SourceElementComponent(); if (this.element == null) - this.element = new ArrayList(); + this.element = new ArrayList(); this.element.add(t); return t; } // syntactic sugar - public ConceptMap addElement(ConceptMapElementComponent t) { //3 + public ConceptMap addElement(SourceElementComponent t) { //3 if (t == null) return this; if (this.element == null) - this.element = new ArrayList(); + this.element = new ArrayList(); this.element.add(t); return this; } protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("identifier", "Identifier", "Formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("version", "string", "The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.", 0, java.lang.Integer.MAX_VALUE, version)); childrenList.add(new Property("name", "string", "A free text natural language name describing the concept map.", 0, java.lang.Integer.MAX_VALUE, name)); @@ -1917,8 +1934,8 @@ public class ConceptMap extends DomainResource { dst.source = source == null ? null : source.copy(); dst.target = target == null ? null : target.copy(); if (element != null) { - dst.element = new ArrayList(); - for (ConceptMapElementComponent i : element) + dst.element = new ArrayList(); + for (SourceElementComponent i : element) dst.element.add(i.copy()); }; return dst; @@ -1975,28 +1992,34 @@ public class ConceptMap extends DomainResource { public static final String SP_DATE = "date"; @SearchParamDefinition(name="identifier", path="ConceptMap.identifier", description="Additional identifier for the concept map", type="token" ) public static final String SP_IDENTIFIER = "identifier"; - @SearchParamDefinition(name="product", path="ConceptMap.element.map.product.element", description="Reference to element/field/valueset mapping depends on", type="uri" ) + @SearchParamDefinition(name="product", path="ConceptMap.element.target.product.element", description="Reference to element/field/valueset mapping depends on", type="uri" ) public static final String SP_PRODUCT = "product"; - @SearchParamDefinition(name="dependson", path="ConceptMap.element.dependsOn.element", description="Reference to element/field/valueset mapping depends on", type="uri" ) + @SearchParamDefinition(name="dependson", path="ConceptMap.element.target.dependsOn.element", description="Reference to element/field/valueset mapping depends on", type="uri" ) public static final String SP_DEPENDSON = "dependson"; @SearchParamDefinition(name="description", path="ConceptMap.description", description="Text search in the description of the concept map", type="string" ) public static final String SP_DESCRIPTION = "description"; + @SearchParamDefinition(name="targetsystem", path="ConceptMap.element.target.codeSystem", description="System of the target (if necessary)", type="uri" ) + public static final String SP_TARGETSYSTEM = "targetsystem"; @SearchParamDefinition(name="source", path="ConceptMap.source[x]", description="The system for any concepts mapped by this concept map", type="reference" ) public static final String SP_SOURCE = "source"; @SearchParamDefinition(name="version", path="ConceptMap.version", description="The version identifier of the concept map", type="token" ) public static final String SP_VERSION = "version"; + @SearchParamDefinition(name="sourcesystem", path="ConceptMap.element.codeSystem", description="Code System (if value set crosses code systems)", type="uri" ) + public static final String SP_SOURCESYSTEM = "sourcesystem"; @SearchParamDefinition(name="url", path="ConceptMap.url", description="The url of the concept map", type="uri" ) public static final String SP_URL = "url"; @SearchParamDefinition(name="target", path="ConceptMap.target[x]", description="Provides context to the mappings", type="reference" ) public static final String SP_TARGET = "target"; - @SearchParamDefinition(name="system", path="ConceptMap.element.map.codeSystem", description="The system for any destination concepts mapped by this map", type="uri" ) - public static final String SP_SYSTEM = "system"; + @SearchParamDefinition(name="sourcecode", path="ConceptMap.element.code", description="Identifies element being mapped", type="token" ) + public static final String SP_SOURCECODE = "sourcecode"; @SearchParamDefinition(name="name", path="ConceptMap.name", description="Name of the concept map", type="string" ) public static final String SP_NAME = "name"; @SearchParamDefinition(name="context", path="ConceptMap.useContext", description="A use context assigned to the concept map", type="token" ) public static final String SP_CONTEXT = "context"; @SearchParamDefinition(name="publisher", path="ConceptMap.publisher", description="Name of the publisher of the concept map", type="string" ) public static final String SP_PUBLISHER = "publisher"; + @SearchParamDefinition(name="targetcode", path="ConceptMap.element.target.code", description="Code that identifies the target element", type="token" ) + public static final String SP_TARGETCODE = "targetcode"; @SearchParamDefinition(name="status", path="ConceptMap.status", description="Status of the concept map", type="token" ) public static final String SP_STATUS = "status"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Condition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Condition.java index 1462a91fc53..962cb989d50 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Condition.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Condition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -105,12 +105,12 @@ public class Condition extends DomainResource { } public String getSystem() { switch (this) { - case PROVISIONAL: return "http://hl7.org.fhir/condition-status"; - case WORKING: return "http://hl7.org.fhir/condition-status"; - case CONFIRMED: return "http://hl7.org.fhir/condition-status"; - case REFUTED: return "http://hl7.org.fhir/condition-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/condition-status"; - case UNKNOWN: return "http://hl7.org.fhir/condition-status"; + case PROVISIONAL: return "http://hl7.org/fhir/condition-status"; + case WORKING: return "http://hl7.org/fhir/condition-status"; + case CONFIRMED: return "http://hl7.org/fhir/condition-status"; + case REFUTED: return "http://hl7.org/fhir/condition-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/condition-status"; + case UNKNOWN: return "http://hl7.org/fhir/condition-status"; default: return "?"; } } @@ -504,6 +504,10 @@ public class Condition extends DomainResource { return (CodeableConcept) this.site; } + public boolean hasSiteCodeableConcept() throws Exception { + return this.site instanceof CodeableConcept; + } + /** * @return {@link #site} (Code that identifies the structural location.) */ @@ -513,6 +517,10 @@ public class Condition extends DomainResource { return (Reference) this.site; } + public boolean hasSiteReference() throws Exception { + return this.site instanceof Reference; + } + public boolean hasSite() { return this.site != null && !this.site.isEmpty(); } @@ -1333,6 +1341,10 @@ public class Condition extends DomainResource { return (DateTimeType) this.onset; } + public boolean hasOnsetDateTimeType() throws Exception { + return this.onset instanceof DateTimeType; + } + /** * @return {@link #onset} (Estimated or actual date or date-time the condition began, in the opinion of the clinician.) */ @@ -1342,6 +1354,10 @@ public class Condition extends DomainResource { return (Age) this.onset; } + public boolean hasOnsetAge() throws Exception { + return this.onset instanceof Age; + } + /** * @return {@link #onset} (Estimated or actual date or date-time the condition began, in the opinion of the clinician.) */ @@ -1351,6 +1367,10 @@ public class Condition extends DomainResource { return (Period) this.onset; } + public boolean hasOnsetPeriod() throws Exception { + return this.onset instanceof Period; + } + /** * @return {@link #onset} (Estimated or actual date or date-time the condition began, in the opinion of the clinician.) */ @@ -1360,6 +1380,10 @@ public class Condition extends DomainResource { return (Range) this.onset; } + public boolean hasOnsetRange() throws Exception { + return this.onset instanceof Range; + } + /** * @return {@link #onset} (Estimated or actual date or date-time the condition began, in the opinion of the clinician.) */ @@ -1369,6 +1393,10 @@ public class Condition extends DomainResource { return (StringType) this.onset; } + public boolean hasOnsetStringType() throws Exception { + return this.onset instanceof StringType; + } + public boolean hasOnset() { return this.onset != null && !this.onset.isEmpty(); } @@ -1397,6 +1425,10 @@ public class Condition extends DomainResource { return (DateType) this.abatement; } + public boolean hasAbatementDateType() throws Exception { + return this.abatement instanceof DateType; + } + /** * @return {@link #abatement} (The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.) */ @@ -1406,6 +1438,10 @@ public class Condition extends DomainResource { return (Age) this.abatement; } + public boolean hasAbatementAge() throws Exception { + return this.abatement instanceof Age; + } + /** * @return {@link #abatement} (The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.) */ @@ -1415,6 +1451,10 @@ public class Condition extends DomainResource { return (BooleanType) this.abatement; } + public boolean hasAbatementBooleanType() throws Exception { + return this.abatement instanceof BooleanType; + } + /** * @return {@link #abatement} (The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.) */ @@ -1424,6 +1464,10 @@ public class Condition extends DomainResource { return (Period) this.abatement; } + public boolean hasAbatementPeriod() throws Exception { + return this.abatement instanceof Period; + } + /** * @return {@link #abatement} (The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.) */ @@ -1433,6 +1477,10 @@ public class Condition extends DomainResource { return (Range) this.abatement; } + public boolean hasAbatementRange() throws Exception { + return this.abatement instanceof Range; + } + /** * @return {@link #abatement} (The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.) */ @@ -1442,6 +1490,10 @@ public class Condition extends DomainResource { return (StringType) this.abatement; } + public boolean hasAbatementStringType() throws Exception { + return this.abatement instanceof StringType; + } + public boolean hasAbatement() { return this.abatement != null && !this.abatement.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Conformance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Conformance.java index f2036b6a80a..0fa8ad3cea7 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Conformance.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Conformance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -78,8 +78,8 @@ public class Conformance extends DomainResource implements IBaseConformance { } public String getSystem() { switch (this) { - case CLIENT: return "http://hl7.org.fhir/restful-conformance-mode"; - case SERVER: return "http://hl7.org.fhir/restful-conformance-mode"; + case CLIENT: return "http://hl7.org/fhir/restful-conformance-mode"; + case SERVER: return "http://hl7.org/fhir/restful-conformance-mode"; default: return "?"; } } @@ -327,9 +327,9 @@ public class Conformance extends DomainResource implements IBaseConformance { } public String getSystem() { switch (this) { - case NOVERSION: return "http://hl7.org.fhir/versioning-policy"; - case VERSIONED: return "http://hl7.org.fhir/versioning-policy"; - case VERSIONEDUPDATE: return "http://hl7.org.fhir/versioning-policy"; + case NOVERSION: return "http://hl7.org/fhir/versioning-policy"; + case VERSIONED: return "http://hl7.org/fhir/versioning-policy"; + case VERSIONEDUPDATE: return "http://hl7.org/fhir/versioning-policy"; default: return "?"; } } @@ -499,9 +499,9 @@ public class Conformance extends DomainResource implements IBaseConformance { } public String getSystem() { switch (this) { - case CONSEQUENCE: return "http://hl7.org.fhir/message-significance-category"; - case CURRENCY: return "http://hl7.org.fhir/message-significance-category"; - case NOTIFICATION: return "http://hl7.org.fhir/message-significance-category"; + case CONSEQUENCE: return "http://hl7.org/fhir/message-significance-category"; + case CURRENCY: return "http://hl7.org/fhir/message-significance-category"; + case NOTIFICATION: return "http://hl7.org/fhir/message-significance-category"; default: return "?"; } } @@ -578,8 +578,8 @@ public class Conformance extends DomainResource implements IBaseConformance { } public String getSystem() { switch (this) { - case SENDER: return "http://hl7.org.fhir/message-conformance-event-mode"; - case RECEIVER: return "http://hl7.org.fhir/message-conformance-event-mode"; + case SENDER: return "http://hl7.org/fhir/message-conformance-event-mode"; + case RECEIVER: return "http://hl7.org/fhir/message-conformance-event-mode"; default: return "?"; } } @@ -650,8 +650,8 @@ public class Conformance extends DomainResource implements IBaseConformance { } public String getSystem() { switch (this) { - case PRODUCER: return "http://hl7.org.fhir/document-mode"; - case CONSUMER: return "http://hl7.org.fhir/document-mode"; + case PRODUCER: return "http://hl7.org/fhir/document-mode"; + case CONSUMER: return "http://hl7.org/fhir/document-mode"; default: return "?"; } } @@ -1759,7 +1759,7 @@ public class Conformance extends DomainResource implements IBaseConformance { * Types of security services are supported/required by the system. */ @Child(name = "service", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="OAuth | OAuth2 | NTLM | Basic | Kerberos", formalDefinition="Types of security services are supported/required by the system." ) + @Description(shortDefinition="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates", formalDefinition="Types of security services are supported/required by the system." ) protected List service; /** @@ -2188,14 +2188,14 @@ public class Conformance extends DomainResource implements IBaseConformance { protected CodeType type; /** - * A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. + * A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses. */ @Child(name = "profile", type = {StructureDefinition.class}, order=2, min=0, max=1) - @Description(shortDefinition="What structural features are supported", formalDefinition="A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations." ) + @Description(shortDefinition="What structural features are supported", formalDefinition="A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses." ) protected Reference profile; /** - * The actual object that is the target of the reference (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.) + * The actual object that is the target of the reference (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses.) */ protected StructureDefinition profileTarget; @@ -2325,7 +2325,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return {@link #profile} (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.) + * @return {@link #profile} (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses.) */ public Reference getProfile() { if (this.profile == null) @@ -2341,7 +2341,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @param value {@link #profile} (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.) + * @param value {@link #profile} (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses.) */ public ConformanceRestResourceComponent setProfile(Reference value) { this.profile = value; @@ -2349,7 +2349,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return {@link #profile} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.) + * @return {@link #profile} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses.) */ public StructureDefinition getProfileTarget() { if (this.profileTarget == null) @@ -2361,7 +2361,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @param value {@link #profile} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.) + * @param value {@link #profile} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses.) */ public ConformanceRestResourceComponent setProfileTarget(StructureDefinition value) { this.profileTarget = value; @@ -2779,7 +2779,7 @@ public class Conformance extends DomainResource implements IBaseConformance { protected void listChildren(List childrenList) { super.listChildren(childrenList); childrenList.add(new Property("type", "code", "A type of resource exposed via the restful interface.", 0, java.lang.Integer.MAX_VALUE, type)); - childrenList.add(new Property("profile", "Reference(StructureDefinition)", "A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.", 0, java.lang.Integer.MAX_VALUE, profile)); + childrenList.add(new Property("profile", "Reference(StructureDefinition)", "A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses.", 0, java.lang.Integer.MAX_VALUE, profile)); childrenList.add(new Property("interaction", "", "Identifies a restful operation supported by the solution.", 0, java.lang.Integer.MAX_VALUE, interaction)); childrenList.add(new Property("versioning", "code", "Thi field is set to true to specify that the system does not support (server) or use (client) versioning for this resource type. If this is not set to true, the server must at least correctly track and populate the versionId meta-property on resources.", 0, java.lang.Integer.MAX_VALUE, versioning)); childrenList.add(new Property("readHistory", "boolean", "A flag for whether the server is able to return past versions as part of the vRead operation.", 0, java.lang.Integer.MAX_VALUE, readHistory)); @@ -4779,10 +4779,10 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1) - @Description(shortDefinition="Logical uri to reference this statement", formalDefinition="An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:)." ) + @Description(shortDefinition="Logical uri to reference this statement", formalDefinition="An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:)." ) protected UriType url; /** @@ -4891,13 +4891,13 @@ public class Conformance extends DomainResource implements IBaseConformance { protected List format; /** - * A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. + * A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}. */ @Child(name = "profile", type = {StructureDefinition.class}, order=16, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Profiles supported by the system", formalDefinition="A list of profiles supported by the system. For a server, 'supported by the system' means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile." ) + @Description(shortDefinition="Profiles supported by the system", formalDefinition="A list of profiles supported by the system. For a server, 'supported by the system' means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}." ) protected List profile; /** - * The actual objects that are the target of the reference (A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.) + * The actual objects that are the target of the reference (A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.) */ protected List profileTarget; @@ -4943,7 +4943,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return {@link #url} (An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -4963,7 +4963,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @param value {@link #url} (An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public Conformance setUrlElement(UriType value) { this.url = value; @@ -4971,14 +4971,14 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @return An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @param value An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public Conformance setUrl(String value) { if (Utilities.noString(value)) @@ -5657,7 +5657,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return {@link #profile} (A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.) + * @return {@link #profile} (A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.) */ public List getProfile() { if (this.profile == null) @@ -5675,7 +5675,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return {@link #profile} (A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.) + * @return {@link #profile} (A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.) */ // syntactic sugar public Reference addProfile() { //3 @@ -5697,7 +5697,7 @@ public class Conformance extends DomainResource implements IBaseConformance { } /** - * @return {@link #profile} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.) + * @return {@link #profile} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.) */ public List getProfileTarget() { if (this.profileTarget == null) @@ -5707,7 +5707,7 @@ public class Conformance extends DomainResource implements IBaseConformance { // syntactic sugar /** - * @return {@link #profile} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.) + * @return {@link #profile} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.) */ public StructureDefinition addProfileTarget() { StructureDefinition r = new StructureDefinition(); @@ -5839,7 +5839,7 @@ public class Conformance extends DomainResource implements IBaseConformance { protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("version", "string", "The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.", 0, java.lang.Integer.MAX_VALUE, version)); childrenList.add(new Property("name", "string", "A free text natural language name identifying the conformance statement.", 0, java.lang.Integer.MAX_VALUE, name)); childrenList.add(new Property("publisher", "string", "The name of the individual or organization that published the conformance.", 0, java.lang.Integer.MAX_VALUE, publisher)); @@ -5855,7 +5855,7 @@ public class Conformance extends DomainResource implements IBaseConformance { childrenList.add(new Property("fhirVersion", "id", "The version of the FHIR specification on which this conformance statement is based.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); childrenList.add(new Property("acceptUnknown", "boolean", "A flag that indicates whether the application accepts unknown elements as part of a resource.", 0, java.lang.Integer.MAX_VALUE, acceptUnknown)); childrenList.add(new Property("format", "code", "A list of the formats supported by this implementation using their content types.", 0, java.lang.Integer.MAX_VALUE, format)); - childrenList.add(new Property("profile", "Reference(StructureDefinition)", "A list of profiles supported by the system. For a server, 'supported by the system' means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.", 0, java.lang.Integer.MAX_VALUE, profile)); + childrenList.add(new Property("profile", "Reference(StructureDefinition)", "A list of profiles supported by the system. For a server, 'supported by the system' means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.", 0, java.lang.Integer.MAX_VALUE, profile)); childrenList.add(new Property("rest", "", "A definition of the restful capabilities of the solution, if any.", 0, java.lang.Integer.MAX_VALUE, rest)); childrenList.add(new Property("messaging", "", "A description of the messaging capabilities of the solution.", 0, java.lang.Integer.MAX_VALUE, messaging)); childrenList.add(new Property("document", "", "A document definition.", 0, java.lang.Integer.MAX_VALUE, document)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Constants.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Constants.java index 2e8831d43d9..fb9d2dc7cfb 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Constants.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Constants.java @@ -29,12 +29,12 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 public class Constants { public final static String VERSION = "0.5.0"; - public final static String REVISION = "5320"; - public final static String DATE = "Sun May 31 15:45:19 EDT 2015"; + public final static String REVISION = "5780"; + public final static String DATE = "Wed Jul 08 17:35:37 EDT 2015"; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ContactPoint.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ContactPoint.java index 03de65e24a5..70e806ee862 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ContactPoint.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ContactPoint.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -90,10 +90,10 @@ public class ContactPoint extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case PHONE: return "http://hl7.org.fhir/contact-point-system"; - case FAX: return "http://hl7.org.fhir/contact-point-system"; - case EMAIL: return "http://hl7.org.fhir/contact-point-system"; - case URL: return "http://hl7.org.fhir/contact-point-system"; + case PHONE: return "http://hl7.org/fhir/contact-point-system"; + case FAX: return "http://hl7.org/fhir/contact-point-system"; + case EMAIL: return "http://hl7.org/fhir/contact-point-system"; + case URL: return "http://hl7.org/fhir/contact-point-system"; default: return "?"; } } @@ -197,11 +197,11 @@ public class ContactPoint extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case HOME: return "http://hl7.org.fhir/contact-point-use"; - case WORK: return "http://hl7.org.fhir/contact-point-use"; - case TEMP: return "http://hl7.org.fhir/contact-point-use"; - case OLD: return "http://hl7.org.fhir/contact-point-use"; - case MOBILE: return "http://hl7.org.fhir/contact-point-use"; + case HOME: return "http://hl7.org/fhir/contact-point-use"; + case WORK: return "http://hl7.org/fhir/contact-point-use"; + case TEMP: return "http://hl7.org/fhir/contact-point-use"; + case OLD: return "http://hl7.org/fhir/contact-point-use"; + case MOBILE: return "http://hl7.org/fhir/contact-point-use"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contract.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contract.java index d8472cca3f1..7283cfc5cd2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contract.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contract.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -292,6 +292,10 @@ public class Contract extends DomainResource { return (CodeableConcept) this.entity; } + public boolean hasEntityCodeableConcept() throws Exception { + return this.entity instanceof CodeableConcept; + } + /** * @return {@link #entity} (Specific type of Contract Valued Item that may be priced.) */ @@ -301,6 +305,10 @@ public class Contract extends DomainResource { return (Reference) this.entity; } + public boolean hasEntityReference() throws Exception { + return this.entity instanceof Reference; + } + public boolean hasEntity() { return this.entity != null && !this.entity.isEmpty(); } @@ -1679,6 +1687,10 @@ public class Contract extends DomainResource { return (CodeableConcept) this.entity; } + public boolean hasEntityCodeableConcept() throws Exception { + return this.entity instanceof CodeableConcept; + } + /** * @return {@link #entity} (Specific type of Contract Provision Valued Item that may be priced.) */ @@ -1688,6 +1700,10 @@ public class Contract extends DomainResource { return (Reference) this.entity; } + public boolean hasEntityReference() throws Exception { + return this.entity instanceof Reference; + } + public boolean hasEntity() { return this.entity != null && !this.entity.isEmpty(); } @@ -2043,6 +2059,10 @@ public class Contract extends DomainResource { return (Attachment) this.content; } + public boolean hasContentAttachment() throws Exception { + return this.content instanceof Attachment; + } + /** * @return {@link #content} (Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.) */ @@ -2052,6 +2072,10 @@ public class Contract extends DomainResource { return (Reference) this.content; } + public boolean hasContentReference() throws Exception { + return this.content instanceof Reference; + } + public boolean hasContent() { return this.content != null && !this.content.isEmpty(); } @@ -2144,6 +2168,10 @@ public class Contract extends DomainResource { return (Attachment) this.content; } + public boolean hasContentAttachment() throws Exception { + return this.content instanceof Attachment; + } + /** * @return {@link #content} (Contract legal text in human renderable form.) */ @@ -2153,6 +2181,10 @@ public class Contract extends DomainResource { return (Reference) this.content; } + public boolean hasContentReference() throws Exception { + return this.content instanceof Reference; + } + public boolean hasContent() { return this.content != null && !this.content.isEmpty(); } @@ -2245,6 +2277,10 @@ public class Contract extends DomainResource { return (Attachment) this.content; } + public boolean hasContentAttachment() throws Exception { + return this.content instanceof Attachment; + } + /** * @return {@link #content} (Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).) */ @@ -2254,6 +2290,10 @@ public class Contract extends DomainResource { return (Reference) this.content; } + public boolean hasContentReference() throws Exception { + return this.content instanceof Reference; + } + public boolean hasContent() { return this.content != null && !this.content.isEmpty(); } @@ -3042,6 +3082,10 @@ public class Contract extends DomainResource { return (Attachment) this.binding; } + public boolean hasBindingAttachment() throws Exception { + return this.binding instanceof Attachment; + } + /** * @return {@link #binding} (Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.) */ @@ -3051,6 +3095,10 @@ public class Contract extends DomainResource { return (Reference) this.binding; } + public boolean hasBindingReference() throws Exception { + return this.binding instanceof Reference; + } + public boolean hasBinding() { return this.binding != null && !this.binding.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contraindication.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contraindication.java index aab683f8c03..621072d24d6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contraindication.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Contraindication.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -46,6 +46,92 @@ import org.hl7.fhir.instance.model.api.*; @ResourceDef(name="Contraindication", profile="http://hl7.org/fhir/Profile/Contraindication") public class Contraindication extends DomainResource { + public enum ContraindicationSeverity { + /** + * null + */ + HIGH, + /** + * null + */ + MODERATE, + /** + * null + */ + LOW, + /** + * added to help the parsers + */ + NULL; + public static ContraindicationSeverity fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("high".equals(codeString)) + return HIGH; + if ("moderate".equals(codeString)) + return MODERATE; + if ("low".equals(codeString)) + return LOW; + throw new Exception("Unknown ContraindicationSeverity code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HIGH: return "high"; + case MODERATE: return "moderate"; + case LOW: return "low"; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case HIGH: return "High"; + case MODERATE: return "Moderate"; + case LOW: return "Low"; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case HIGH: return ""; + case MODERATE: return ""; + case LOW: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HIGH: return "high"; + case MODERATE: return "moderate"; + case LOW: return "low"; + default: return "?"; + } + } + } + + public static class ContraindicationSeverityEnumFactory implements EnumFactory { + public ContraindicationSeverity fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("high".equals(codeString)) + return ContraindicationSeverity.HIGH; + if ("moderate".equals(codeString)) + return ContraindicationSeverity.MODERATE; + if ("low".equals(codeString)) + return ContraindicationSeverity.LOW; + throw new IllegalArgumentException("Unknown ContraindicationSeverity code '"+codeString+"'"); + } + public String toCode(ContraindicationSeverity code) { + if (code == ContraindicationSeverity.HIGH) + return "high"; + if (code == ContraindicationSeverity.MODERATE) + return "moderate"; + if (code == ContraindicationSeverity.LOW) + return "low"; + return "?"; + } + } + @Block() public static class ContraindicationMitigationComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -275,8 +361,8 @@ public class Contraindication extends DomainResource { * Indicates the degree of importance associated with the identified issue based on the potential impact on the patient. */ @Child(name = "severity", type = {CodeType.class}, order=2, min=0, max=1) - @Description(shortDefinition="high | medium | low", formalDefinition="Indicates the degree of importance associated with the identified issue based on the potential impact on the patient." ) - protected CodeType severity; + @Description(shortDefinition="high | moderate | low", formalDefinition="Indicates the degree of importance associated with the identified issue based on the potential impact on the patient." ) + protected Enumeration severity; /** * Indicates the resource representing the current activity or proposed activity that. @@ -331,13 +417,13 @@ public class Contraindication extends DomainResource { protected UriType reference; /** - * Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action. + * Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindication from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action. */ @Child(name = "mitigation", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Step taken to address", formalDefinition="Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action." ) + @Description(shortDefinition="Step taken to address", formalDefinition="Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindication from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action." ) protected List mitigation; - private static final long serialVersionUID = 528603336L; + private static final long serialVersionUID = -1915322652L; /* * Constructor @@ -417,12 +503,12 @@ public class Contraindication extends DomainResource { /** * @return {@link #severity} (Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value */ - public CodeType getSeverityElement() { + public Enumeration getSeverityElement() { if (this.severity == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Contraindication.severity"); else if (Configuration.doAutoCreate()) - this.severity = new CodeType(); // bb + this.severity = new Enumeration(new ContraindicationSeverityEnumFactory()); // bb return this.severity; } @@ -437,7 +523,7 @@ public class Contraindication extends DomainResource { /** * @param value {@link #severity} (Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value */ - public Contraindication setSeverityElement(CodeType value) { + public Contraindication setSeverityElement(Enumeration value) { this.severity = value; return this; } @@ -445,19 +531,19 @@ public class Contraindication extends DomainResource { /** * @return Indicates the degree of importance associated with the identified issue based on the potential impact on the patient. */ - public String getSeverity() { + public ContraindicationSeverity getSeverity() { return this.severity == null ? null : this.severity.getValue(); } /** * @param value Indicates the degree of importance associated with the identified issue based on the potential impact on the patient. */ - public Contraindication setSeverity(String value) { - if (Utilities.noString(value)) + public Contraindication setSeverity(ContraindicationSeverity value) { + if (value == null) this.severity = null; else { if (this.severity == null) - this.severity = new CodeType(); + this.severity = new Enumeration(new ContraindicationSeverityEnumFactory()); this.severity.setValue(value); } return this; @@ -723,7 +809,7 @@ public class Contraindication extends DomainResource { } /** - * @return {@link #mitigation} (Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.) + * @return {@link #mitigation} (Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindication from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.) */ public List getMitigation() { if (this.mitigation == null) @@ -741,7 +827,7 @@ public class Contraindication extends DomainResource { } /** - * @return {@link #mitigation} (Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.) + * @return {@link #mitigation} (Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindication from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.) */ // syntactic sugar public ContraindicationMitigationComponent addMitigation() { //3 @@ -773,7 +859,7 @@ public class Contraindication extends DomainResource { childrenList.add(new Property("author", "Reference(Practitioner|Device)", "Identifies the provider or software that identified the.", 0, java.lang.Integer.MAX_VALUE, author)); childrenList.add(new Property("identifier", "Identifier", "Business identifier associated with the contraindication record.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("reference", "uri", "The literature, knowledge-base or similar reference that describes the propensity for the contraindication identified.", 0, java.lang.Integer.MAX_VALUE, reference)); - childrenList.add(new Property("mitigation", "", "Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.", 0, java.lang.Integer.MAX_VALUE, mitigation)); + childrenList.add(new Property("mitigation", "", "Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindication from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.", 0, java.lang.Integer.MAX_VALUE, mitigation)); } public Contraindication copy() { diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Count.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Count.java index db07a15ea3e..9c3dedcd828 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Count.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Count.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import org.hl7.fhir.instance.model.annotations.DatatypeDef; import org.hl7.fhir.instance.model.annotations.Block; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coverage.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coverage.java index cbd1000ad15..d03c4252a21 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coverage.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Coverage.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DataElement.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DataElement.java index 6a49eece552..de31d5851a4 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DataElement.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DataElement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -106,12 +106,12 @@ public class DataElement extends DomainResource { } public String getSystem() { switch (this) { - case COMPARABLE: return "http://hl7.org.fhir/dataelement-specificity"; - case FULLYSPECIFIED: return "http://hl7.org.fhir/dataelement-specificity"; - case EQUIVALENT: return "http://hl7.org.fhir/dataelement-specificity"; - case CONVERTABLE: return "http://hl7.org.fhir/dataelement-specificity"; - case SCALEABLE: return "http://hl7.org.fhir/dataelement-specificity"; - case FLEXIBLE: return "http://hl7.org.fhir/dataelement-specificity"; + case COMPARABLE: return "http://hl7.org/fhir/dataelement-specificity"; + case FULLYSPECIFIED: return "http://hl7.org/fhir/dataelement-specificity"; + case EQUIVALENT: return "http://hl7.org/fhir/dataelement-specificity"; + case CONVERTABLE: return "http://hl7.org/fhir/dataelement-specificity"; + case SCALEABLE: return "http://hl7.org/fhir/dataelement-specificity"; + case FLEXIBLE: return "http://hl7.org/fhir/dataelement-specificity"; default: return "?"; } } @@ -621,10 +621,10 @@ public class DataElement extends DomainResource { } /** - * An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1) - @Description(shortDefinition="Globally unique logical id for data element", formalDefinition="An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:)." ) + @Description(shortDefinition="Globally unique logical id for data element", formalDefinition="An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:)." ) protected UriType url; /** @@ -736,7 +736,7 @@ public class DataElement extends DomainResource { } /** - * @return {@link #url} (An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -756,7 +756,7 @@ public class DataElement extends DomainResource { } /** - * @param value {@link #url} (An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public DataElement setUrlElement(UriType value) { this.url = value; @@ -764,14 +764,14 @@ public class DataElement extends DomainResource { } /** - * @return An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @return An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @param value An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public DataElement setUrl(String value) { if (Utilities.noString(value)) @@ -1354,7 +1354,7 @@ public class DataElement extends DomainResource { protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("identifier", "Identifier", "Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("version", "string", "The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.", 0, java.lang.Integer.MAX_VALUE, version)); childrenList.add(new Property("name", "string", "The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.", 0, java.lang.Integer.MAX_VALUE, name)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Device.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Device.java index be2c5c2500f..08abbe9dd9c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Device.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Device.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class Device extends DomainResource { } public String getSystem() { switch (this) { - case AVAILABLE: return "http://hl7.org.fhir/devicestatus"; - case NOTAVAILABLE: return "http://hl7.org.fhir/devicestatus"; - case ENTEREDINERROR: return "http://hl7.org.fhir/devicestatus"; + case AVAILABLE: return "http://hl7.org/fhir/devicestatus"; + case NOTAVAILABLE: return "http://hl7.org/fhir/devicestatus"; + case ENTEREDINERROR: return "http://hl7.org/fhir/devicestatus"; default: return "?"; } } @@ -146,66 +146,73 @@ public class Device extends DomainResource { @Description(shortDefinition="What kind of device this is", formalDefinition="Code or identifier to identify a kind of device." ) protected CodeableConcept type; + /** + * Descriptive information, usage information or implantation information that is not captured in an existing element. + */ + @Child(name = "note", type = {Annotation.class}, order=2, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Device notes and comments", formalDefinition="Descriptive information, usage information or implantation information that is not captured in an existing element." ) + protected List note; + /** * Status of the Device availability. */ - @Child(name = "status", type = {CodeType.class}, order=2, min=0, max=1) + @Child(name = "status", type = {CodeType.class}, order=3, min=0, max=1) @Description(shortDefinition="available | not-available | entered-in-error", formalDefinition="Status of the Device availability." ) protected Enumeration status; /** * A name of the manufacturer. */ - @Child(name = "manufacturer", type = {StringType.class}, order=3, min=0, max=1) + @Child(name = "manufacturer", type = {StringType.class}, order=4, min=0, max=1) @Description(shortDefinition="Name of device manufacturer", formalDefinition="A name of the manufacturer." ) protected StringType manufacturer; /** * The "model" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type. */ - @Child(name = "model", type = {StringType.class}, order=4, min=0, max=1) + @Child(name = "model", type = {StringType.class}, order=5, min=0, max=1) @Description(shortDefinition="Model id assigned by the manufacturer", formalDefinition="The 'model' - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type." ) protected StringType model; /** * The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware. */ - @Child(name = "version", type = {StringType.class}, order=5, min=0, max=1) + @Child(name = "version", type = {StringType.class}, order=6, min=0, max=1) @Description(shortDefinition="Version number (i.e. software)", formalDefinition="The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware." ) protected StringType version; /** * The Date and time when the device was manufactured. */ - @Child(name = "manufactureDate", type = {DateTimeType.class}, order=6, min=0, max=1) + @Child(name = "manufactureDate", type = {DateTimeType.class}, order=7, min=0, max=1) @Description(shortDefinition="Manufacture date", formalDefinition="The Date and time when the device was manufactured." ) protected DateTimeType manufactureDate; /** * The date and time beyond which this device is no longer valid or should not be used (if applicable). */ - @Child(name = "expiry", type = {DateTimeType.class}, order=7, min=0, max=1) + @Child(name = "expiry", type = {DateTimeType.class}, order=8, min=0, max=1) @Description(shortDefinition="Date and time of expiry of this device (if applicable)", formalDefinition="The date and time beyond which this device is no longer valid or should not be used (if applicable)." ) protected DateTimeType expiry; /** * United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm. */ - @Child(name = "udi", type = {StringType.class}, order=8, min=0, max=1) + @Child(name = "udi", type = {StringType.class}, order=9, min=0, max=1) @Description(shortDefinition="FDA Mandated Unique Device Identifier", formalDefinition="United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm." ) protected StringType udi; /** * Lot number assigned by the manufacturer. */ - @Child(name = "lotNumber", type = {StringType.class}, order=9, min=0, max=1) + @Child(name = "lotNumber", type = {StringType.class}, order=10, min=0, max=1) @Description(shortDefinition="Lot number of manufacture", formalDefinition="Lot number assigned by the manufacturer." ) protected StringType lotNumber; /** * An organization that is responsible for the provision and ongoing maintenance of the device. */ - @Child(name = "owner", type = {Organization.class}, order=10, min=0, max=1) + @Child(name = "owner", type = {Organization.class}, order=11, min=0, max=1) @Description(shortDefinition="Organization responsible for device", formalDefinition="An organization that is responsible for the provision and ongoing maintenance of the device." ) protected Reference owner; @@ -217,7 +224,7 @@ public class Device extends DomainResource { /** * The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. "in/with the patient"), or a coded location. */ - @Child(name = "location", type = {Location.class}, order=11, min=0, max=1) + @Child(name = "location", type = {Location.class}, order=12, min=0, max=1) @Description(shortDefinition="Where the resource is found", formalDefinition="The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. 'in/with the patient'), or a coded location." ) protected Reference location; @@ -229,7 +236,7 @@ public class Device extends DomainResource { /** * Patient information, if the resource is affixed to a person. */ - @Child(name = "patient", type = {Patient.class}, order=12, min=0, max=1) + @Child(name = "patient", type = {Patient.class}, order=13, min=0, max=1) @Description(shortDefinition="If the resource is affixed to a person", formalDefinition="Patient information, if the resource is affixed to a person." ) protected Reference patient; @@ -241,18 +248,18 @@ public class Device extends DomainResource { /** * Contact details for an organization or a particular human that is responsible for the device. */ - @Child(name = "contact", type = {ContactPoint.class}, order=13, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "contact", type = {ContactPoint.class}, order=14, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Details for human/organization for support", formalDefinition="Contact details for an organization or a particular human that is responsible for the device." ) protected List contact; /** * A network address on which the device may be contacted directly. */ - @Child(name = "url", type = {UriType.class}, order=14, min=0, max=1) + @Child(name = "url", type = {UriType.class}, order=15, min=0, max=1) @Description(shortDefinition="Network address to contact device", formalDefinition="A network address on which the device may be contacted directly." ) protected UriType url; - private static final long serialVersionUID = -612440681L; + private static final long serialVersionUID = 366690094L; /* * Constructor @@ -333,6 +340,46 @@ public class Device extends DomainResource { return this; } + /** + * @return {@link #note} (Descriptive information, usage information or implantation information that is not captured in an existing element.) + */ + public List getNote() { + if (this.note == null) + this.note = new ArrayList(); + return this.note; + } + + public boolean hasNote() { + if (this.note == null) + return false; + for (Annotation item : this.note) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #note} (Descriptive information, usage information or implantation information that is not captured in an existing element.) + */ + // syntactic sugar + public Annotation addNote() { //3 + Annotation t = new Annotation(); + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return t; + } + + // syntactic sugar + public Device addNote(Annotation t) { //3 + if (t == null) + return this; + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return this; + } + /** * @return {@link #status} (Status of the Device availability.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ @@ -950,6 +997,7 @@ public class Device extends DomainResource { super.listChildren(childrenList); childrenList.add(new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by organizations like manufacturers or owners . If the identifier identifies the type of device, Device.type should be used.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("type", "CodeableConcept", "Code or identifier to identify a kind of device.", 0, java.lang.Integer.MAX_VALUE, type)); + childrenList.add(new Property("note", "Annotation", "Descriptive information, usage information or implantation information that is not captured in an existing element.", 0, java.lang.Integer.MAX_VALUE, note)); childrenList.add(new Property("status", "code", "Status of the Device availability.", 0, java.lang.Integer.MAX_VALUE, status)); childrenList.add(new Property("manufacturer", "string", "A name of the manufacturer.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); childrenList.add(new Property("model", "string", "The 'model' - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.", 0, java.lang.Integer.MAX_VALUE, model)); @@ -974,6 +1022,11 @@ public class Device extends DomainResource { dst.identifier.add(i.copy()); }; dst.type = type == null ? null : type.copy(); + if (note != null) { + dst.note = new ArrayList(); + for (Annotation i : note) + dst.note.add(i.copy()); + }; dst.status = status == null ? null : status.copy(); dst.manufacturer = manufacturer == null ? null : manufacturer.copy(); dst.model = model == null ? null : model.copy(); @@ -1005,12 +1058,12 @@ public class Device extends DomainResource { if (!(other instanceof Device)) return false; Device o = (Device) other; - return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(status, o.status, true) - && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(model, o.model, true) && compareDeep(version, o.version, true) - && compareDeep(manufactureDate, o.manufactureDate, true) && compareDeep(expiry, o.expiry, true) - && compareDeep(udi, o.udi, true) && compareDeep(lotNumber, o.lotNumber, true) && compareDeep(owner, o.owner, true) - && compareDeep(location, o.location, true) && compareDeep(patient, o.patient, true) && compareDeep(contact, o.contact, true) - && compareDeep(url, o.url, true); + return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(note, o.note, true) + && compareDeep(status, o.status, true) && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(model, o.model, true) + && compareDeep(version, o.version, true) && compareDeep(manufactureDate, o.manufactureDate, true) + && compareDeep(expiry, o.expiry, true) && compareDeep(udi, o.udi, true) && compareDeep(lotNumber, o.lotNumber, true) + && compareDeep(owner, o.owner, true) && compareDeep(location, o.location, true) && compareDeep(patient, o.patient, true) + && compareDeep(contact, o.contact, true) && compareDeep(url, o.url, true); } @Override @@ -1028,7 +1081,7 @@ public class Device extends DomainResource { public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (type == null || type.isEmpty()) - && (status == null || status.isEmpty()) && (manufacturer == null || manufacturer.isEmpty()) + && (note == null || note.isEmpty()) && (status == null || status.isEmpty()) && (manufacturer == null || manufacturer.isEmpty()) && (model == null || model.isEmpty()) && (version == null || version.isEmpty()) && (manufactureDate == null || manufactureDate.isEmpty()) && (expiry == null || expiry.isEmpty()) && (udi == null || udi.isEmpty()) && (lotNumber == null || lotNumber.isEmpty()) && (owner == null || owner.isEmpty()) && (location == null || location.isEmpty()) && (patient == null || patient.isEmpty()) diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceComponent.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceComponent.java index 56dbe54382e..e76d19e1bce 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceComponent.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceComponent.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -140,17 +140,17 @@ public class DeviceComponent extends DomainResource { } public String getSystem() { switch (this) { - case OTHER: return "http://hl7.org.fhir/measurement-principle"; - case CHEMICAL: return "http://hl7.org.fhir/measurement-principle"; - case ELECTRICAL: return "http://hl7.org.fhir/measurement-principle"; - case IMPEDANCE: return "http://hl7.org.fhir/measurement-principle"; - case NUCLEAR: return "http://hl7.org.fhir/measurement-principle"; - case OPTICAL: return "http://hl7.org.fhir/measurement-principle"; - case THERMAL: return "http://hl7.org.fhir/measurement-principle"; - case BIOLOGICAL: return "http://hl7.org.fhir/measurement-principle"; - case MECHANICAL: return "http://hl7.org.fhir/measurement-principle"; - case ACOUSTICAL: return "http://hl7.org.fhir/measurement-principle"; - case MANUAL: return "http://hl7.org.fhir/measurement-principle"; + case OTHER: return "http://hl7.org/fhir/measurement-principle"; + case CHEMICAL: return "http://hl7.org/fhir/measurement-principle"; + case ELECTRICAL: return "http://hl7.org/fhir/measurement-principle"; + case IMPEDANCE: return "http://hl7.org/fhir/measurement-principle"; + case NUCLEAR: return "http://hl7.org/fhir/measurement-principle"; + case OPTICAL: return "http://hl7.org/fhir/measurement-principle"; + case THERMAL: return "http://hl7.org/fhir/measurement-principle"; + case BIOLOGICAL: return "http://hl7.org/fhir/measurement-principle"; + case MECHANICAL: return "http://hl7.org/fhir/measurement-principle"; + case ACOUSTICAL: return "http://hl7.org/fhir/measurement-principle"; + case MANUAL: return "http://hl7.org/fhir/measurement-principle"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceMetric.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceMetric.java index b25e48e833c..253fd1ae430 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceMetric.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceMetric.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class DeviceMetric extends DomainResource { } public String getSystem() { switch (this) { - case ON: return "http://hl7.org.fhir/metric-operational-status"; - case OFF: return "http://hl7.org.fhir/metric-operational-status"; - case STANDBY: return "http://hl7.org.fhir/metric-operational-status"; + case ON: return "http://hl7.org/fhir/metric-operational-status"; + case OFF: return "http://hl7.org/fhir/metric-operational-status"; + case STANDBY: return "http://hl7.org/fhir/metric-operational-status"; default: return "?"; } } @@ -205,14 +205,14 @@ public class DeviceMetric extends DomainResource { } public String getSystem() { switch (this) { - case BLACK: return "http://hl7.org.fhir/metric-color"; - case RED: return "http://hl7.org.fhir/metric-color"; - case GREEN: return "http://hl7.org.fhir/metric-color"; - case YELLOW: return "http://hl7.org.fhir/metric-color"; - case BLUE: return "http://hl7.org.fhir/metric-color"; - case MAGENTA: return "http://hl7.org.fhir/metric-color"; - case CYAN: return "http://hl7.org.fhir/metric-color"; - case WHITE: return "http://hl7.org.fhir/metric-color"; + case BLACK: return "http://hl7.org/fhir/metric-color"; + case RED: return "http://hl7.org/fhir/metric-color"; + case GREEN: return "http://hl7.org/fhir/metric-color"; + case YELLOW: return "http://hl7.org/fhir/metric-color"; + case BLUE: return "http://hl7.org/fhir/metric-color"; + case MAGENTA: return "http://hl7.org/fhir/metric-color"; + case CYAN: return "http://hl7.org/fhir/metric-color"; + case WHITE: return "http://hl7.org/fhir/metric-color"; default: return "?"; } } @@ -333,10 +333,10 @@ public class DeviceMetric extends DomainResource { } public String getSystem() { switch (this) { - case MEASUREMENT: return "http://hl7.org.fhir/metric-category"; - case SETTING: return "http://hl7.org.fhir/metric-category"; - case CALCULATION: return "http://hl7.org.fhir/metric-category"; - case UNSPECIFIED: return "http://hl7.org.fhir/metric-category"; + case MEASUREMENT: return "http://hl7.org/fhir/metric-category"; + case SETTING: return "http://hl7.org/fhir/metric-category"; + case CALCULATION: return "http://hl7.org/fhir/metric-category"; + case UNSPECIFIED: return "http://hl7.org/fhir/metric-category"; default: return "?"; } } @@ -433,10 +433,10 @@ public class DeviceMetric extends DomainResource { } public String getSystem() { switch (this) { - case UNSPECIFIED: return "http://hl7.org.fhir/metric-calibration-type"; - case OFFSET: return "http://hl7.org.fhir/metric-calibration-type"; - case GAIN: return "http://hl7.org.fhir/metric-calibration-type"; - case TWOPOINT: return "http://hl7.org.fhir/metric-calibration-type"; + case UNSPECIFIED: return "http://hl7.org/fhir/metric-calibration-type"; + case OFFSET: return "http://hl7.org/fhir/metric-calibration-type"; + case GAIN: return "http://hl7.org/fhir/metric-calibration-type"; + case TWOPOINT: return "http://hl7.org/fhir/metric-calibration-type"; default: return "?"; } } @@ -533,10 +533,10 @@ public class DeviceMetric extends DomainResource { } public String getSystem() { switch (this) { - case NOTCALIBRATED: return "http://hl7.org.fhir/metric-calibration-state"; - case CALIBRATIONREQUIRED: return "http://hl7.org.fhir/metric-calibration-state"; - case CALIBRATED: return "http://hl7.org.fhir/metric-calibration-state"; - case UNSPECIFIED: return "http://hl7.org.fhir/metric-calibration-state"; + case NOTCALIBRATED: return "http://hl7.org/fhir/metric-calibration-state"; + case CALIBRATIONREQUIRED: return "http://hl7.org/fhir/metric-calibration-state"; + case CALIBRATED: return "http://hl7.org/fhir/metric-calibration-state"; + case UNSPECIFIED: return "http://hl7.org/fhir/metric-calibration-state"; default: return "?"; } } @@ -868,10 +868,10 @@ An example would be a DeviceComponent that represents a Channel. This reference protected Enumeration operationalStatus; /** - * Describes the typical color of the representation of observations that have been generated for this DeviceMetric. + * Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta. */ @Child(name = "color", type = {CodeType.class}, order=6, min=0, max=1) - @Description(shortDefinition="black | red | green | yellow | blue | magenta | cyan | white", formalDefinition="Describes the typical color of the representation of observations that have been generated for this DeviceMetric." ) + @Description(shortDefinition="black | red | green | yellow | blue | magenta | cyan | white", formalDefinition="Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta." ) protected Enumeration color; /** @@ -882,12 +882,12 @@ An example would be a DeviceComponent that represents a Channel. This reference protected Enumeration category; /** - * Describes the measurement repetition time. This is not -necessarily the same as the update -period. + * Describes the measurement repetition time. This is not necessarily the same as the update period. +The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. +The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured. */ @Child(name = "measurementPeriod", type = {Timing.class}, order=8, min=0, max=1) - @Description(shortDefinition="Describes the measurement repetition time", formalDefinition="Describes the measurement repetition time. This is not\nnecessarily the same as the update\nperiod." ) + @Description(shortDefinition="Describes the measurement repetition time", formalDefinition="Describes the measurement repetition time. This is not necessarily the same as the update period.\nThe measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour.\nThe update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured." ) protected Timing measurementPeriod; /** @@ -1132,7 +1132,7 @@ An example would be a DeviceComponent that represents a Channel. This reference } /** - * @return {@link #color} (Describes the typical color of the representation of observations that have been generated for this DeviceMetric.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value + * @return {@link #color} (Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value */ public Enumeration getColorElement() { if (this.color == null) @@ -1152,7 +1152,7 @@ An example would be a DeviceComponent that represents a Channel. This reference } /** - * @param value {@link #color} (Describes the typical color of the representation of observations that have been generated for this DeviceMetric.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value + * @param value {@link #color} (Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value */ public DeviceMetric setColorElement(Enumeration value) { this.color = value; @@ -1160,14 +1160,14 @@ An example would be a DeviceComponent that represents a Channel. This reference } /** - * @return Describes the typical color of the representation of observations that have been generated for this DeviceMetric. + * @return Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta. */ public DeviceMetricColor getColor() { return this.color == null ? null : this.color.getValue(); } /** - * @param value Describes the typical color of the representation of observations that have been generated for this DeviceMetric. + * @param value Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta. */ public DeviceMetric setColor(DeviceMetricColor value) { if (value == null) @@ -1226,9 +1226,9 @@ An example would be a DeviceComponent that represents a Channel. This reference } /** - * @return {@link #measurementPeriod} (Describes the measurement repetition time. This is not -necessarily the same as the update -period.) + * @return {@link #measurementPeriod} (Describes the measurement repetition time. This is not necessarily the same as the update period. +The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. +The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.) */ public Timing getMeasurementPeriod() { if (this.measurementPeriod == null) @@ -1244,9 +1244,9 @@ period.) } /** - * @param value {@link #measurementPeriod} (Describes the measurement repetition time. This is not -necessarily the same as the update -period.) + * @param value {@link #measurementPeriod} (Describes the measurement repetition time. This is not necessarily the same as the update period. +The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. +The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.) */ public DeviceMetric setMeasurementPeriod(Timing value) { this.measurementPeriod = value; @@ -1301,9 +1301,9 @@ period.) childrenList.add(new Property("source", "Reference(Device)", "Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc.", 0, java.lang.Integer.MAX_VALUE, source)); childrenList.add(new Property("parent", "Reference(DeviceComponent)", "Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device.\nAn example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.", 0, java.lang.Integer.MAX_VALUE, parent)); childrenList.add(new Property("operationalStatus", "code", "Indicates current operational state of the device. For example: On, Off, Standby, etc.", 0, java.lang.Integer.MAX_VALUE, operationalStatus)); - childrenList.add(new Property("color", "code", "Describes the typical color of the representation of observations that have been generated for this DeviceMetric.", 0, java.lang.Integer.MAX_VALUE, color)); + childrenList.add(new Property("color", "code", "Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.", 0, java.lang.Integer.MAX_VALUE, color)); childrenList.add(new Property("category", "code", "Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.", 0, java.lang.Integer.MAX_VALUE, category)); - childrenList.add(new Property("measurementPeriod", "Timing", "Describes the measurement repetition time. This is not\nnecessarily the same as the update\nperiod.", 0, java.lang.Integer.MAX_VALUE, measurementPeriod)); + childrenList.add(new Property("measurementPeriod", "Timing", "Describes the measurement repetition time. This is not necessarily the same as the update period.\nThe measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour.\nThe update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.", 0, java.lang.Integer.MAX_VALUE, measurementPeriod)); childrenList.add(new Property("calibration", "", "Describes the calibrations that have been performed or that are required to be performed.", 0, java.lang.Integer.MAX_VALUE, calibration)); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseRequest.java index caa22d9e665..7e476704ad1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -133,16 +133,16 @@ public class DeviceUseRequest extends DomainResource { } public String getSystem() { switch (this) { - case PROPOSED: return "http://hl7.org.fhir/device-use-request-status"; - case PLANNED: return "http://hl7.org.fhir/device-use-request-status"; - case REQUESTED: return "http://hl7.org.fhir/device-use-request-status"; - case RECEIVED: return "http://hl7.org.fhir/device-use-request-status"; - case ACCEPTED: return "http://hl7.org.fhir/device-use-request-status"; - case INPROGRESS: return "http://hl7.org.fhir/device-use-request-status"; - case COMPLETED: return "http://hl7.org.fhir/device-use-request-status"; - case SUSPENDED: return "http://hl7.org.fhir/device-use-request-status"; - case REJECTED: return "http://hl7.org.fhir/device-use-request-status"; - case ABORTED: return "http://hl7.org.fhir/device-use-request-status"; + case PROPOSED: return "http://hl7.org/fhir/device-use-request-status"; + case PLANNED: return "http://hl7.org/fhir/device-use-request-status"; + case REQUESTED: return "http://hl7.org/fhir/device-use-request-status"; + case RECEIVED: return "http://hl7.org/fhir/device-use-request-status"; + case ACCEPTED: return "http://hl7.org/fhir/device-use-request-status"; + case INPROGRESS: return "http://hl7.org/fhir/device-use-request-status"; + case COMPLETED: return "http://hl7.org/fhir/device-use-request-status"; + case SUSPENDED: return "http://hl7.org/fhir/device-use-request-status"; + case REJECTED: return "http://hl7.org/fhir/device-use-request-status"; + case ABORTED: return "http://hl7.org/fhir/device-use-request-status"; default: return "?"; } } @@ -275,10 +275,10 @@ public class DeviceUseRequest extends DomainResource { } public String getSystem() { switch (this) { - case ROUTINE: return "http://hl7.org.fhir/device-use-request-priority"; - case URGENT: return "http://hl7.org.fhir/device-use-request-priority"; - case STAT: return "http://hl7.org.fhir/device-use-request-priority"; - case ASAP: return "http://hl7.org.fhir/device-use-request-priority"; + case ROUTINE: return "http://hl7.org/fhir/device-use-request-priority"; + case URGENT: return "http://hl7.org/fhir/device-use-request-priority"; + case STAT: return "http://hl7.org/fhir/device-use-request-priority"; + case ASAP: return "http://hl7.org/fhir/device-use-request-priority"; default: return "?"; } } @@ -470,6 +470,10 @@ public class DeviceUseRequest extends DomainResource { return (CodeableConcept) this.bodySite; } + public boolean hasBodySiteCodeableConcept() throws Exception { + return this.bodySite instanceof CodeableConcept; + } + /** * @return {@link #bodySite} (Indicates the site on the subject's body where the device should be used ( i.e. the target site).) */ @@ -479,6 +483,10 @@ public class DeviceUseRequest extends DomainResource { return (Reference) this.bodySite; } + public boolean hasBodySiteReference() throws Exception { + return this.bodySite instanceof Reference; + } + public boolean hasBodySite() { return this.bodySite != null && !this.bodySite.isEmpty(); } @@ -960,6 +968,10 @@ public class DeviceUseRequest extends DomainResource { return (Timing) this.timing; } + public boolean hasTimingTiming() throws Exception { + return this.timing instanceof Timing; + } + /** * @return {@link #timing} (The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -969,6 +981,10 @@ public class DeviceUseRequest extends DomainResource { return (Period) this.timing; } + public boolean hasTimingPeriod() throws Exception { + return this.timing instanceof Period; + } + /** * @return {@link #timing} (The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -978,6 +994,10 @@ public class DeviceUseRequest extends DomainResource { return (DateTimeType) this.timing; } + public boolean hasTimingDateTimeType() throws Exception { + return this.timing instanceof DateTimeType; + } + public boolean hasTiming() { return this.timing != null && !this.timing.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseStatement.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseStatement.java index 8a7a9b1260a..ad6766525fe 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseStatement.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceUseStatement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -153,6 +153,10 @@ public class DeviceUseStatement extends DomainResource { return (CodeableConcept) this.bodySite; } + public boolean hasBodySiteCodeableConcept() throws Exception { + return this.bodySite instanceof CodeableConcept; + } + /** * @return {@link #bodySite} (Indicates the site on the subject's body where the device was used ( i.e. the target site).) */ @@ -162,6 +166,10 @@ public class DeviceUseStatement extends DomainResource { return (Reference) this.bodySite; } + public boolean hasBodySiteReference() throws Exception { + return this.bodySite instanceof Reference; + } + public boolean hasBodySite() { return this.bodySite != null && !this.bodySite.isEmpty(); } @@ -485,6 +493,10 @@ public class DeviceUseStatement extends DomainResource { return (Timing) this.timing; } + public boolean hasTimingTiming() throws Exception { + return this.timing instanceof Timing; + } + /** * @return {@link #timing} (How often the device was used.) */ @@ -494,6 +506,10 @@ public class DeviceUseStatement extends DomainResource { return (Period) this.timing; } + public boolean hasTimingPeriod() throws Exception { + return this.timing instanceof Period; + } + /** * @return {@link #timing} (How often the device was used.) */ @@ -503,6 +519,10 @@ public class DeviceUseStatement extends DomainResource { return (DateTimeType) this.timing; } + public boolean hasTimingDateTimeType() throws Exception { + return this.timing instanceof DateTimeType; + } + public boolean hasTiming() { return this.timing != null && !this.timing.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticOrder.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticOrder.java index 4b8e275c7a3..468bc8fe18f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticOrder.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticOrder.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -154,19 +154,19 @@ public class DiagnosticOrder extends DomainResource { } public String getSystem() { switch (this) { - case PROPOSED: return "http://hl7.org.fhir/diagnostic-order-status"; - case DRAFT: return "http://hl7.org.fhir/diagnostic-order-status"; - case PLANNED: return "http://hl7.org.fhir/diagnostic-order-status"; - case REQUESTED: return "http://hl7.org.fhir/diagnostic-order-status"; - case RECEIVED: return "http://hl7.org.fhir/diagnostic-order-status"; - case ACCEPTED: return "http://hl7.org.fhir/diagnostic-order-status"; - case INPROGRESS: return "http://hl7.org.fhir/diagnostic-order-status"; - case REVIEW: return "http://hl7.org.fhir/diagnostic-order-status"; - case COMPLETED: return "http://hl7.org.fhir/diagnostic-order-status"; - case CANCELLED: return "http://hl7.org.fhir/diagnostic-order-status"; - case SUSPENDED: return "http://hl7.org.fhir/diagnostic-order-status"; - case REJECTED: return "http://hl7.org.fhir/diagnostic-order-status"; - case FAILED: return "http://hl7.org.fhir/diagnostic-order-status"; + case PROPOSED: return "http://hl7.org/fhir/diagnostic-order-status"; + case DRAFT: return "http://hl7.org/fhir/diagnostic-order-status"; + case PLANNED: return "http://hl7.org/fhir/diagnostic-order-status"; + case REQUESTED: return "http://hl7.org/fhir/diagnostic-order-status"; + case RECEIVED: return "http://hl7.org/fhir/diagnostic-order-status"; + case ACCEPTED: return "http://hl7.org/fhir/diagnostic-order-status"; + case INPROGRESS: return "http://hl7.org/fhir/diagnostic-order-status"; + case REVIEW: return "http://hl7.org/fhir/diagnostic-order-status"; + case COMPLETED: return "http://hl7.org/fhir/diagnostic-order-status"; + case CANCELLED: return "http://hl7.org/fhir/diagnostic-order-status"; + case SUSPENDED: return "http://hl7.org/fhir/diagnostic-order-status"; + case REJECTED: return "http://hl7.org/fhir/diagnostic-order-status"; + case FAILED: return "http://hl7.org/fhir/diagnostic-order-status"; default: return "?"; } } @@ -317,10 +317,10 @@ public class DiagnosticOrder extends DomainResource { } public String getSystem() { switch (this) { - case ROUTINE: return "http://hl7.org.fhir/diagnostic-order-priority"; - case URGENT: return "http://hl7.org.fhir/diagnostic-order-priority"; - case STAT: return "http://hl7.org.fhir/diagnostic-order-priority"; - case ASAP: return "http://hl7.org.fhir/diagnostic-order-priority"; + case ROUTINE: return "http://hl7.org/fhir/diagnostic-order-priority"; + case URGENT: return "http://hl7.org/fhir/diagnostic-order-priority"; + case STAT: return "http://hl7.org/fhir/diagnostic-order-priority"; + case ASAP: return "http://hl7.org/fhir/diagnostic-order-priority"; default: return "?"; } } @@ -784,6 +784,10 @@ public class DiagnosticOrder extends DomainResource { return (CodeableConcept) this.bodySite; } + public boolean hasBodySiteCodeableConcept() throws Exception { + return this.bodySite instanceof CodeableConcept; + } + /** * @return {@link #bodySite} (Anatomical location where the request test should be performed. This is the target site.) */ @@ -793,6 +797,10 @@ public class DiagnosticOrder extends DomainResource { return (Reference) this.bodySite; } + public boolean hasBodySiteReference() throws Exception { + return this.bodySite instanceof Reference; + } + public boolean hasBodySite() { return this.bodySite != null && !this.bodySite.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticReport.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticReport.java index e2400eb8886..0dd033a1217 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticReport.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DiagnosticReport.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -112,13 +112,13 @@ public class DiagnosticReport extends DomainResource { } public String getSystem() { switch (this) { - case REGISTERED: return "http://hl7.org.fhir/diagnostic-report-status"; - case PARTIAL: return "http://hl7.org.fhir/diagnostic-report-status"; - case FINAL: return "http://hl7.org.fhir/diagnostic-report-status"; - case CORRECTED: return "http://hl7.org.fhir/diagnostic-report-status"; - case APPENDED: return "http://hl7.org.fhir/diagnostic-report-status"; - case CANCELLED: return "http://hl7.org.fhir/diagnostic-report-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/diagnostic-report-status"; + case REGISTERED: return "http://hl7.org/fhir/diagnostic-report-status"; + case PARTIAL: return "http://hl7.org/fhir/diagnostic-report-status"; + case FINAL: return "http://hl7.org/fhir/diagnostic-report-status"; + case CORRECTED: return "http://hl7.org/fhir/diagnostic-report-status"; + case APPENDED: return "http://hl7.org/fhir/diagnostic-report-status"; + case CANCELLED: return "http://hl7.org/fhir/diagnostic-report-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/diagnostic-report-status"; default: return "?"; } } @@ -363,9 +363,9 @@ public class DiagnosticReport extends DomainResource { /** * A code or name that describes this diagnostic report. */ - @Child(name = "name", type = {CodeableConcept.class}, order=0, min=1, max=1) + @Child(name = "code", type = {CodeableConcept.class}, order=0, min=1, max=1) @Description(shortDefinition="Name/Code for this diagnostic report", formalDefinition="A code or name that describes this diagnostic report." ) - protected CodeableConcept name; + protected CodeableConcept code; /** * The status of the diagnostic report as a whole. @@ -477,13 +477,13 @@ public class DiagnosticReport extends DomainResource { /** * One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. */ - @Child(name = "imagingStudy", type = {ImagingStudy.class}, order=12, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "imagingStudy", type = {ImagingStudy.class, ImagingObjectSelection.class}, order=12, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Reference to full details of imaging associated with the diagnostic report", formalDefinition="One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images." ) protected List imagingStudy; /** * The actual objects that are the target of the reference (One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.) */ - protected List imagingStudyTarget; + protected List imagingStudyTarget; /** @@ -514,7 +514,7 @@ public class DiagnosticReport extends DomainResource { @Description(shortDefinition="Entire Report as issued", formalDefinition="Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent." ) protected List presentedForm; - private static final long serialVersionUID = 486295410L; + private static final long serialVersionUID = 14484749L; /* * Constructor @@ -526,9 +526,9 @@ public class DiagnosticReport extends DomainResource { /* * Constructor */ - public DiagnosticReport(CodeableConcept name, Enumeration status, InstantType issued, Reference subject, Reference performer, Type effective) { + public DiagnosticReport(CodeableConcept code, Enumeration status, InstantType issued, Reference subject, Reference performer, Type effective) { super(); - this.name = name; + this.code = code; this.status = status; this.issued = issued; this.subject = subject; @@ -537,26 +537,26 @@ public class DiagnosticReport extends DomainResource { } /** - * @return {@link #name} (A code or name that describes this diagnostic report.) + * @return {@link #code} (A code or name that describes this diagnostic report.) */ - public CodeableConcept getName() { - if (this.name == null) + public CodeableConcept getCode() { + if (this.code == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create DiagnosticReport.name"); + throw new Error("Attempt to auto-create DiagnosticReport.code"); else if (Configuration.doAutoCreate()) - this.name = new CodeableConcept(); // cc - return this.name; + this.code = new CodeableConcept(); // cc + return this.code; } - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); + public boolean hasCode() { + return this.code != null && !this.code.isEmpty(); } /** - * @param value {@link #name} (A code or name that describes this diagnostic report.) + * @param value {@link #code} (A code or name that describes this diagnostic report.) */ - public DiagnosticReport setName(CodeableConcept value) { - this.name = value; + public DiagnosticReport setCode(CodeableConcept value) { + this.code = value; return this; } @@ -913,6 +913,10 @@ public class DiagnosticReport extends DomainResource { return (DateTimeType) this.effective; } + public boolean hasEffectiveDateTimeType() throws Exception { + return this.effective instanceof DateTimeType; + } + /** * @return {@link #effective} (The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.) */ @@ -922,6 +926,10 @@ public class DiagnosticReport extends DomainResource { return (Period) this.effective; } + public boolean hasEffectivePeriod() throws Exception { + return this.effective instanceof Period; + } + public boolean hasEffective() { return this.effective != null && !this.effective.isEmpty(); } @@ -1099,24 +1107,12 @@ public class DiagnosticReport extends DomainResource { /** * @return {@link #imagingStudy} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.) */ - public List getImagingStudyTarget() { + public List getImagingStudyTarget() { if (this.imagingStudyTarget == null) - this.imagingStudyTarget = new ArrayList(); + this.imagingStudyTarget = new ArrayList(); return this.imagingStudyTarget; } - // syntactic sugar - /** - * @return {@link #imagingStudy} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.) - */ - public ImagingStudy addImagingStudyTarget() { - ImagingStudy r = new ImagingStudy(); - if (this.imagingStudyTarget == null) - this.imagingStudyTarget = new ArrayList(); - this.imagingStudyTarget.add(r); - return r; - } - /** * @return {@link #image} (A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).) */ @@ -1288,7 +1284,7 @@ public class DiagnosticReport extends DomainResource { protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("name", "CodeableConcept", "A code or name that describes this diagnostic report.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("code", "CodeableConcept", "A code or name that describes this diagnostic report.", 0, java.lang.Integer.MAX_VALUE, code)); childrenList.add(new Property("status", "code", "The status of the diagnostic report as a whole.", 0, java.lang.Integer.MAX_VALUE, status)); childrenList.add(new Property("issued", "instant", "The date and time that this version of the report was released from the source diagnostic service.", 0, java.lang.Integer.MAX_VALUE, issued)); childrenList.add(new Property("subject", "Reference(Patient|Group|Device|Location)", "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.", 0, java.lang.Integer.MAX_VALUE, subject)); @@ -1300,7 +1296,7 @@ public class DiagnosticReport extends DomainResource { childrenList.add(new Property("effective[x]", "dateTime|Period", "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", 0, java.lang.Integer.MAX_VALUE, effective)); childrenList.add(new Property("specimen", "Reference(Specimen)", "Details about the specimens on which this diagnostic report is based.", 0, java.lang.Integer.MAX_VALUE, specimen)); childrenList.add(new Property("result", "Reference(Observation)", "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. 'atomic' results), or they can be grouping observations that include references to other members of the group (e.g. 'panels').", 0, java.lang.Integer.MAX_VALUE, result)); - childrenList.add(new Property("imagingStudy", "Reference(ImagingStudy)", "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", 0, java.lang.Integer.MAX_VALUE, imagingStudy)); + childrenList.add(new Property("imagingStudy", "Reference(ImagingStudy|ImagingObjectSelection)", "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", 0, java.lang.Integer.MAX_VALUE, imagingStudy)); childrenList.add(new Property("image", "", "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", 0, java.lang.Integer.MAX_VALUE, image)); childrenList.add(new Property("conclusion", "string", "Concise and clinically contextualized narrative interpretation of the diagnostic report.", 0, java.lang.Integer.MAX_VALUE, conclusion)); childrenList.add(new Property("codedDiagnosis", "CodeableConcept", "Codes for the conclusion.", 0, java.lang.Integer.MAX_VALUE, codedDiagnosis)); @@ -1310,7 +1306,7 @@ public class DiagnosticReport extends DomainResource { public DiagnosticReport copy() { DiagnosticReport dst = new DiagnosticReport(); copyValues(dst); - dst.name = name == null ? null : name.copy(); + dst.code = code == null ? null : code.copy(); dst.status = status == null ? null : status.copy(); dst.issued = issued == null ? null : issued.copy(); dst.subject = subject == null ? null : subject.copy(); @@ -1373,7 +1369,7 @@ public class DiagnosticReport extends DomainResource { if (!(other instanceof DiagnosticReport)) return false; DiagnosticReport o = (DiagnosticReport) other; - return compareDeep(name, o.name, true) && compareDeep(status, o.status, true) && compareDeep(issued, o.issued, true) + return compareDeep(code, o.code, true) && compareDeep(status, o.status, true) && compareDeep(issued, o.issued, true) && compareDeep(subject, o.subject, true) && compareDeep(performer, o.performer, true) && compareDeep(encounter, o.encounter, true) && compareDeep(identifier, o.identifier, true) && compareDeep(requestDetail, o.requestDetail, true) && compareDeep(serviceCategory, o.serviceCategory, true) && compareDeep(effective, o.effective, true) @@ -1394,7 +1390,7 @@ public class DiagnosticReport extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && (name == null || name.isEmpty()) && (status == null || status.isEmpty()) + return super.isEmpty() && (code == null || code.isEmpty()) && (status == null || status.isEmpty()) && (issued == null || issued.isEmpty()) && (subject == null || subject.isEmpty()) && (performer == null || performer.isEmpty()) && (encounter == null || encounter.isEmpty()) && (identifier == null || identifier.isEmpty()) && (requestDetail == null || requestDetail.isEmpty()) && (serviceCategory == null || serviceCategory.isEmpty()) @@ -1419,6 +1415,8 @@ public class DiagnosticReport extends DomainResource { public static final String SP_REQUEST = "request"; @SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who was the source of the report (organization)", type="reference" ) public static final String SP_PERFORMER = "performer"; + @SearchParamDefinition(name="code", path="DiagnosticReport.code", description="The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result", type="token" ) + public static final String SP_CODE = "code"; @SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference" ) public static final String SP_SUBJECT = "subject"; @SearchParamDefinition(name="diagnosis", path="DiagnosticReport.codedDiagnosis", description="A coded diagnosis on the report", type="token" ) @@ -1433,8 +1431,6 @@ public class DiagnosticReport extends DomainResource { public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference" ) public static final String SP_SPECIMEN = "specimen"; - @SearchParamDefinition(name="name", path="DiagnosticReport.name", description="The name of the report (e.g. the code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result)", type="token" ) - public static final String SP_NAME = "name"; @SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date" ) public static final String SP_ISSUED = "issued"; @SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token" ) diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Distance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Distance.java index cd1df9bd6cc..e17df5ea0b1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Distance.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Distance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import org.hl7.fhir.instance.model.annotations.DatatypeDef; import org.hl7.fhir.instance.model.annotations.Block; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentManifest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentManifest.java index 242af24c107..6e1fcaa0340 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentManifest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentManifest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -89,6 +89,10 @@ public class DocumentManifest extends DomainResource { return (Attachment) this.p; } + public boolean hasPAttachment() throws Exception { + return this.p instanceof Attachment; + } + /** * @return {@link #p} (The list of DocumentReference or Media Resources, or Attachment that consist of the parts of this document manifest. Usually, these would be document references, but direct references to Media or Attachments are also allowed.) */ @@ -98,6 +102,10 @@ public class DocumentManifest extends DomainResource { return (Reference) this.p; } + public boolean hasPReference() throws Exception { + return this.p instanceof Reference; + } + public boolean hasP() { return this.p != null && !this.p.isEmpty(); } @@ -357,7 +365,7 @@ public class DocumentManifest extends DomainResource { * The status of this document manifest. */ @Child(name = "status", type = {CodeType.class}, order=8, min=1, max=1) - @Description(shortDefinition="current | superceded | entered-in-error", formalDefinition="The status of this document manifest." ) + @Description(shortDefinition="current | superseded | entered-in-error", formalDefinition="The status of this document manifest." ) protected Enumeration status; /** @@ -1013,7 +1021,7 @@ public class DocumentManifest extends DomainResource { public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="recipient", path="DocumentManifest.recipient", description="Intended to get notified about this set of documents", type="reference" ) public static final String SP_RECIPIENT = "recipient"; - @SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superceded | entered-in-error", type="token" ) + @SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superseded | entered-in-error", type="token" ) public static final String SP_STATUS = "status"; @SearchParamDefinition(name="contentref", path="DocumentManifest.content.pReference", description="Contents of this set of documents", type="reference" ) public static final String SP_CONTENTREF = "contentref"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentReference.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentReference.java index c55268af026..28dce35f3c1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentReference.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DocumentReference.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -49,7 +49,7 @@ public class DocumentReference extends DomainResource { public enum DocumentRelationshipType { /** - * This document logically replaces or supercedes the target document + * This document logically replaces or supersedes the target document */ REPLACES, /** @@ -92,16 +92,16 @@ public class DocumentReference extends DomainResource { } public String getSystem() { switch (this) { - case REPLACES: return "http://hl7.org.fhir/document-relationship-type"; - case TRANSFORMS: return "http://hl7.org.fhir/document-relationship-type"; - case SIGNS: return "http://hl7.org.fhir/document-relationship-type"; - case APPENDS: return "http://hl7.org.fhir/document-relationship-type"; + case REPLACES: return "http://hl7.org/fhir/document-relationship-type"; + case TRANSFORMS: return "http://hl7.org/fhir/document-relationship-type"; + case SIGNS: return "http://hl7.org/fhir/document-relationship-type"; + case APPENDS: return "http://hl7.org/fhir/document-relationship-type"; default: return "?"; } } public String getDefinition() { switch (this) { - case REPLACES: return "This document logically replaces or supercedes the target document"; + case REPLACES: return "This document logically replaces or supersedes the target document"; case TRANSFORMS: return "This document was generated by transforming the target document (e.g. format or language conversion)"; case SIGNS: return "This document is a signature of the target document"; case APPENDS: return "This document adds additional information to the target document"; @@ -801,7 +801,7 @@ public class DocumentReference extends DomainResource { /** * A categorization for the type of document. The class is an abstraction from the type specifying the high-level kind of document (e.g., Report, Summary, Images, Treatment Plan, Patient Preferences, Workflow) at a macro level. */ - @Child(name = "class", type = {CodeableConcept.class}, order=4, min=0, max=1) + @Child(name = "class_", type = {CodeableConcept.class}, order=4, min=0, max=1) @Description(shortDefinition="Categorization of document", formalDefinition="A categorization for the type of document. The class is an abstraction from the type specifying the high-level kind of document (e.g., Report, Summary, Images, Treatment Plan, Patient Preferences, Workflow) at a macro level." ) protected CodeableConcept class_; @@ -866,7 +866,7 @@ public class DocumentReference extends DomainResource { * The status of this document reference. */ @Child(name = "status", type = {CodeType.class}, order=11, min=1, max=1) - @Description(shortDefinition="current | superceded | entered-in-error", formalDefinition="The status of this document reference." ) + @Description(shortDefinition="current | superseded | entered-in-error", formalDefinition="The status of this document reference." ) protected Enumeration status; /** @@ -1788,7 +1788,7 @@ public class DocumentReference extends DomainResource { public static final String SP_RELATESTO = "relatesto"; @SearchParamDefinition(name="facility", path="DocumentReference.context.facilityType", description="Kind of facility where patient was seen", type="token" ) public static final String SP_FACILITY = "facility"; - @SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superceded | entered-in-error", type="token" ) + @SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superseded | entered-in-error", type="token" ) public static final String SP_STATUS = "status"; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DomainResource.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DomainResource.java index 117add3f18f..81b12b98330 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DomainResource.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DomainResource.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Duration.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Duration.java index 456130b2059..6cb121084b5 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Duration.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Duration.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import org.hl7.fhir.instance.model.annotations.DatatypeDef; import org.hl7.fhir.instance.model.annotations.Block; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Element.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Element.java index 79b37c7a01b..b1443582d38 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Element.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Element.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ElementDefinition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ElementDefinition.java index 3c6fe351a28..96bbd717310 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ElementDefinition.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ElementDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -70,7 +70,7 @@ public class ElementDefinition extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case XMLATTR: return "http://hl7.org.fhir/property-representation"; + case XMLATTR: return "http://hl7.org/fhir/property-representation"; default: return "?"; } } @@ -142,9 +142,9 @@ public class ElementDefinition extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case CLOSED: return "http://hl7.org.fhir/resource-slicing-rules"; - case OPEN: return "http://hl7.org.fhir/resource-slicing-rules"; - case OPENATEND: return "http://hl7.org.fhir/resource-slicing-rules"; + case CLOSED: return "http://hl7.org/fhir/resource-slicing-rules"; + case OPEN: return "http://hl7.org/fhir/resource-slicing-rules"; + case OPENATEND: return "http://hl7.org/fhir/resource-slicing-rules"; default: return "?"; } } @@ -228,9 +228,9 @@ public class ElementDefinition extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case CONTAINED: return "http://hl7.org.fhir/resource-aggregation-mode"; - case REFERENCED: return "http://hl7.org.fhir/resource-aggregation-mode"; - case BUNDLED: return "http://hl7.org.fhir/resource-aggregation-mode"; + case CONTAINED: return "http://hl7.org/fhir/resource-aggregation-mode"; + case REFERENCED: return "http://hl7.org/fhir/resource-aggregation-mode"; + case BUNDLED: return "http://hl7.org/fhir/resource-aggregation-mode"; default: return "?"; } } @@ -307,8 +307,8 @@ public class ElementDefinition extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case ERROR: return "http://hl7.org.fhir/constraint-severity"; - case WARNING: return "http://hl7.org.fhir/constraint-severity"; + case ERROR: return "http://hl7.org/fhir/constraint-severity"; + case WARNING: return "http://hl7.org/fhir/constraint-severity"; default: return "?"; } } @@ -348,106 +348,6 @@ public class ElementDefinition extends Type implements ICompositeType { } } - public enum BindingStrength { - /** - * To be conformant, instances of this element SHALL include a code from the specified value set - */ - REQUIRED, - /** - * To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead. - */ - EXTENSIBLE, - /** - * Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant - */ - PREFERRED, - /** - * Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included - */ - EXAMPLE, - /** - * added to help the parsers - */ - NULL; - public static BindingStrength fromCode(String codeString) throws Exception { - if (codeString == null || "".equals(codeString)) - return null; - if ("required".equals(codeString)) - return REQUIRED; - if ("extensible".equals(codeString)) - return EXTENSIBLE; - if ("preferred".equals(codeString)) - return PREFERRED; - if ("example".equals(codeString)) - return EXAMPLE; - throw new Exception("Unknown BindingStrength code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case REQUIRED: return "required"; - case EXTENSIBLE: return "extensible"; - case PREFERRED: return "preferred"; - case EXAMPLE: return "example"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case REQUIRED: return "http://hl7.org.fhir/binding-strength"; - case EXTENSIBLE: return "http://hl7.org.fhir/binding-strength"; - case PREFERRED: return "http://hl7.org.fhir/binding-strength"; - case EXAMPLE: return "http://hl7.org.fhir/binding-strength"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case REQUIRED: return "To be conformant, instances of this element SHALL include a code from the specified value set"; - case EXTENSIBLE: return "To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead."; - case PREFERRED: return "Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant"; - case EXAMPLE: return "Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included"; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case REQUIRED: return "Required"; - case EXTENSIBLE: return "Extensible"; - case PREFERRED: return "Preferred"; - case EXAMPLE: return "Example"; - default: return "?"; - } - } - } - - public static class BindingStrengthEnumFactory implements EnumFactory { - public BindingStrength fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("required".equals(codeString)) - return BindingStrength.REQUIRED; - if ("extensible".equals(codeString)) - return BindingStrength.EXTENSIBLE; - if ("preferred".equals(codeString)) - return BindingStrength.PREFERRED; - if ("example".equals(codeString)) - return BindingStrength.EXAMPLE; - throw new IllegalArgumentException("Unknown BindingStrength code '"+codeString+"'"); - } - public String toCode(BindingStrength code) { - if (code == BindingStrength.REQUIRED) - return "required"; - if (code == BindingStrength.EXTENSIBLE) - return "extensible"; - if (code == BindingStrength.PREFERRED) - return "preferred"; - if (code == BindingStrength.EXAMPLE) - return "example"; - return "?"; - } - } - @Block() public static class ElementDefinitionSlicingComponent extends Element implements IBaseDatatypeElement { /** @@ -749,11 +649,11 @@ public class ElementDefinition extends Type implements ICompositeType { protected CodeType code; /** - * Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. + * Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. */ - @Child(name = "profile", type = {UriType.class}, order=2, min=0, max=1) - @Description(shortDefinition="Profile.structure to apply", formalDefinition="Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile." ) - protected UriType profile; + @Child(name = "profile", type = {UriType.class}, order=2, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Profile (StructureDefinition) to apply", formalDefinition="Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them." ) + protected List profile; /** * If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. @@ -762,7 +662,7 @@ public class ElementDefinition extends Type implements ICompositeType { @Description(shortDefinition="contained | referenced | bundled - how aggregated", formalDefinition="If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle." ) protected List> aggregation; - private static final long serialVersionUID = -345007341L; + private static final long serialVersionUID = -988693373L; /* * Constructor @@ -825,52 +725,57 @@ public class ElementDefinition extends Type implements ICompositeType { } /** - * @return {@link #profile} (Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value + * @return {@link #profile} (Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them.) */ - public UriType getProfileElement() { + public List getProfile() { if (this.profile == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create TypeRefComponent.profile"); - else if (Configuration.doAutoCreate()) - this.profile = new UriType(); // bb + this.profile = new ArrayList(); return this.profile; } - public boolean hasProfileElement() { - return this.profile != null && !this.profile.isEmpty(); - } - public boolean hasProfile() { - return this.profile != null && !this.profile.isEmpty(); + if (this.profile == null) + return false; + for (UriType item : this.profile) + if (!item.isEmpty()) + return true; + return false; } /** - * @param value {@link #profile} (Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value + * @return {@link #profile} (Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them.) */ - public TypeRefComponent setProfileElement(UriType value) { - this.profile = value; + // syntactic sugar + public UriType addProfileElement() {//2 + UriType t = new UriType(); + if (this.profile == null) + this.profile = new ArrayList(); + this.profile.add(t); + return t; + } + + /** + * @param value {@link #profile} (Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them.) + */ + public TypeRefComponent addProfile(String value) { //1 + UriType t = new UriType(); + t.setValue(value); + if (this.profile == null) + this.profile = new ArrayList(); + this.profile.add(t); return this; } /** - * @return Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. + * @param value {@link #profile} (Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them.) */ - public String getProfile() { - return this.profile == null ? null : this.profile.getValue(); - } - - /** - * @param value Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. - */ - public TypeRefComponent setProfile(String value) { - if (Utilities.noString(value)) - this.profile = null; - else { - if (this.profile == null) - this.profile = new UriType(); - this.profile.setValue(value); - } - return this; + public boolean hasProfile(String value) { + if (this.profile == null) + return false; + for (UriType v : this.profile) + if (v.equals(value)) // uri + return true; + return false; } /** @@ -930,7 +835,7 @@ public class ElementDefinition extends Type implements ICompositeType { protected void listChildren(List childrenList) { super.listChildren(childrenList); childrenList.add(new Property("code", "code", "Name of Data type or Resource that is a(or the) type used for this element.", 0, java.lang.Integer.MAX_VALUE, code)); - childrenList.add(new Property("profile", "uri", "Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile.", 0, java.lang.Integer.MAX_VALUE, profile)); + childrenList.add(new Property("profile", "uri", "Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them.", 0, java.lang.Integer.MAX_VALUE, profile)); childrenList.add(new Property("aggregation", "code", "If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.", 0, java.lang.Integer.MAX_VALUE, aggregation)); } @@ -938,7 +843,11 @@ public class ElementDefinition extends Type implements ICompositeType { TypeRefComponent dst = new TypeRefComponent(); copyValues(dst); dst.code = code == null ? null : code.copy(); - dst.profile = profile == null ? null : profile.copy(); + if (profile != null) { + dst.profile = new ArrayList(); + for (UriType i : profile) + dst.profile.add(i.copy()); + }; if (aggregation != null) { dst.aggregation = new ArrayList>(); for (Enumeration i : aggregation) @@ -986,11 +895,11 @@ public class ElementDefinition extends Type implements ICompositeType { protected IdType key; /** - * Used to label the constraint in OCL or in short displays incapable of displaying the full human description. + * Description of why this constraint is necessary or appropriate. */ - @Child(name = "name", type = {StringType.class}, order=2, min=0, max=1) - @Description(shortDefinition="Short human label", formalDefinition="Used to label the constraint in OCL or in short displays incapable of displaying the full human description." ) - protected StringType name; + @Child(name = "requirements", type = {StringType.class}, order=2, min=0, max=1) + @Description(shortDefinition="Why this constraint necessary or appropriate", formalDefinition="Description of why this constraint is necessary or appropriate." ) + protected StringType requirements; /** * Identifies the impact constraint violation has on the conformance of the instance. @@ -1013,7 +922,7 @@ public class ElementDefinition extends Type implements ICompositeType { @Description(shortDefinition="XPath expression of constraint", formalDefinition="An XPath expression of constraint that can be executed to see if this constraint is met." ) protected StringType xpath; - private static final long serialVersionUID = -1195616532L; + private static final long serialVersionUID = 854521265L; /* * Constructor @@ -1079,50 +988,50 @@ public class ElementDefinition extends Type implements ICompositeType { } /** - * @return {@link #name} (Used to label the constraint in OCL or in short displays incapable of displaying the full human description.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + * @return {@link #requirements} (Description of why this constraint is necessary or appropriate.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value */ - public StringType getNameElement() { - if (this.name == null) + public StringType getRequirementsElement() { + if (this.requirements == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ElementDefinitionConstraintComponent.name"); + throw new Error("Attempt to auto-create ElementDefinitionConstraintComponent.requirements"); else if (Configuration.doAutoCreate()) - this.name = new StringType(); // bb - return this.name; + this.requirements = new StringType(); // bb + return this.requirements; } - public boolean hasNameElement() { - return this.name != null && !this.name.isEmpty(); + public boolean hasRequirementsElement() { + return this.requirements != null && !this.requirements.isEmpty(); } - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); + public boolean hasRequirements() { + return this.requirements != null && !this.requirements.isEmpty(); } /** - * @param value {@link #name} (Used to label the constraint in OCL or in short displays incapable of displaying the full human description.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + * @param value {@link #requirements} (Description of why this constraint is necessary or appropriate.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value */ - public ElementDefinitionConstraintComponent setNameElement(StringType value) { - this.name = value; + public ElementDefinitionConstraintComponent setRequirementsElement(StringType value) { + this.requirements = value; return this; } /** - * @return Used to label the constraint in OCL or in short displays incapable of displaying the full human description. + * @return Description of why this constraint is necessary or appropriate. */ - public String getName() { - return this.name == null ? null : this.name.getValue(); + public String getRequirements() { + return this.requirements == null ? null : this.requirements.getValue(); } /** - * @param value Used to label the constraint in OCL or in short displays incapable of displaying the full human description. + * @param value Description of why this constraint is necessary or appropriate. */ - public ElementDefinitionConstraintComponent setName(String value) { + public ElementDefinitionConstraintComponent setRequirements(String value) { if (Utilities.noString(value)) - this.name = null; + this.requirements = null; else { - if (this.name == null) - this.name = new StringType(); - this.name.setValue(value); + if (this.requirements == null) + this.requirements = new StringType(); + this.requirements.setValue(value); } return this; } @@ -1265,7 +1174,7 @@ public class ElementDefinition extends Type implements ICompositeType { protected void listChildren(List childrenList) { super.listChildren(childrenList); childrenList.add(new Property("key", "id", "Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.", 0, java.lang.Integer.MAX_VALUE, key)); - childrenList.add(new Property("name", "string", "Used to label the constraint in OCL or in short displays incapable of displaying the full human description.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("requirements", "string", "Description of why this constraint is necessary or appropriate.", 0, java.lang.Integer.MAX_VALUE, requirements)); childrenList.add(new Property("severity", "code", "Identifies the impact constraint violation has on the conformance of the instance.", 0, java.lang.Integer.MAX_VALUE, severity)); childrenList.add(new Property("human", "string", "Text that can be used to describe the constraint in messages identifying that the constraint has been violated.", 0, java.lang.Integer.MAX_VALUE, human)); childrenList.add(new Property("xpath", "string", "An XPath expression of constraint that can be executed to see if this constraint is met.", 0, java.lang.Integer.MAX_VALUE, xpath)); @@ -1275,7 +1184,7 @@ public class ElementDefinition extends Type implements ICompositeType { ElementDefinitionConstraintComponent dst = new ElementDefinitionConstraintComponent(); copyValues(dst); dst.key = key == null ? null : key.copy(); - dst.name = name == null ? null : name.copy(); + dst.requirements = requirements == null ? null : requirements.copy(); dst.severity = severity == null ? null : severity.copy(); dst.human = human == null ? null : human.copy(); dst.xpath = xpath == null ? null : xpath.copy(); @@ -1289,7 +1198,7 @@ public class ElementDefinition extends Type implements ICompositeType { if (!(other instanceof ElementDefinitionConstraintComponent)) return false; ElementDefinitionConstraintComponent o = (ElementDefinitionConstraintComponent) other; - return compareDeep(key, o.key, true) && compareDeep(name, o.name, true) && compareDeep(severity, o.severity, true) + return compareDeep(key, o.key, true) && compareDeep(requirements, o.requirements, true) && compareDeep(severity, o.severity, true) && compareDeep(human, o.human, true) && compareDeep(xpath, o.xpath, true); } @@ -1300,12 +1209,12 @@ public class ElementDefinition extends Type implements ICompositeType { if (!(other instanceof ElementDefinitionConstraintComponent)) return false; ElementDefinitionConstraintComponent o = (ElementDefinitionConstraintComponent) other; - return compareValues(key, o.key, true) && compareValues(name, o.name, true) && compareValues(severity, o.severity, true) + return compareValues(key, o.key, true) && compareValues(requirements, o.requirements, true) && compareValues(severity, o.severity, true) && compareValues(human, o.human, true) && compareValues(xpath, o.xpath, true); } public boolean isEmpty() { - return super.isEmpty() && (key == null || key.isEmpty()) && (name == null || name.isEmpty()) + return super.isEmpty() && (key == null || key.isEmpty()) && (requirements == null || requirements.isEmpty()) && (severity == null || severity.isEmpty()) && (human == null || human.isEmpty()) && (xpath == null || xpath.isEmpty()) ; } @@ -1317,7 +1226,7 @@ public class ElementDefinition extends Type implements ICompositeType { /** * A descriptive name for this - can be useful for generating implementation artifacts. */ - @Child(name = "name", type = {StringType.class}, order=1, min=1, max=1) + @Child(name = "name", type = {StringType.class}, order=1, min=0, max=1) @Description(shortDefinition="Descriptive Name", formalDefinition="A descriptive name for this - can be useful for generating implementation artifacts." ) protected StringType name; @@ -1354,9 +1263,8 @@ public class ElementDefinition extends Type implements ICompositeType { /* * Constructor */ - public ElementDefinitionBindingComponent(StringType name, Enumeration strength) { + public ElementDefinitionBindingComponent(Enumeration strength) { super(); - this.name = name; this.strength = strength; } @@ -1399,9 +1307,13 @@ public class ElementDefinition extends Type implements ICompositeType { * @param value A descriptive name for this - can be useful for generating implementation artifacts. */ public ElementDefinitionBindingComponent setName(String value) { + if (Utilities.noString(value)) + this.name = null; + else { if (this.name == null) this.name = new StringType(); this.name.setValue(value); + } return this; } @@ -1515,6 +1427,10 @@ public class ElementDefinition extends Type implements ICompositeType { return (UriType) this.valueSet; } + public boolean hasValueSetUriType() throws Exception { + return this.valueSet instanceof UriType; + } + /** * @return {@link #valueSet} (Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.) */ @@ -1524,6 +1440,10 @@ public class ElementDefinition extends Type implements ICompositeType { return (Reference) this.valueSet; } + public boolean hasValueSetReference() throws Exception { + return this.valueSet instanceof Reference; + } + public boolean hasValueSet() { return this.valueSet != null && !this.valueSet.isEmpty(); } @@ -1854,7 +1774,7 @@ public class ElementDefinition extends Type implements ICompositeType { /** * A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). */ - @Child(name = "short", type = {StringType.class}, order=6, min=0, max=1) + @Child(name = "short_", type = {StringType.class}, order=6, min=0, max=1) @Description(shortDefinition="Concise definition for xml presentation", formalDefinition="A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification)." ) protected StringType short_; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityRequest.java index bca4284444e..b73a953c311 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityResponse.java index f8a549934ea..fe3112f7994 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityResponse.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EligibilityResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Encounter.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Encounter.java index 45ad269b693..d7b22824126 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Encounter.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Encounter.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -105,12 +105,12 @@ public class Encounter extends DomainResource { } public String getSystem() { switch (this) { - case PLANNED: return "http://hl7.org.fhir/encounter-state"; - case ARRIVED: return "http://hl7.org.fhir/encounter-state"; - case INPROGRESS: return "http://hl7.org.fhir/encounter-state"; - case ONLEAVE: return "http://hl7.org.fhir/encounter-state"; - case FINISHED: return "http://hl7.org.fhir/encounter-state"; - case CANCELLED: return "http://hl7.org.fhir/encounter-state"; + case PLANNED: return "http://hl7.org/fhir/encounter-state"; + case ARRIVED: return "http://hl7.org/fhir/encounter-state"; + case INPROGRESS: return "http://hl7.org/fhir/encounter-state"; + case ONLEAVE: return "http://hl7.org/fhir/encounter-state"; + case FINISHED: return "http://hl7.org/fhir/encounter-state"; + case CANCELLED: return "http://hl7.org/fhir/encounter-state"; default: return "?"; } } @@ -254,15 +254,15 @@ public class Encounter extends DomainResource { } public String getSystem() { switch (this) { - case INPATIENT: return "http://hl7.org.fhir/encounter-class"; - case OUTPATIENT: return "http://hl7.org.fhir/encounter-class"; - case AMBULATORY: return "http://hl7.org.fhir/encounter-class"; - case EMERGENCY: return "http://hl7.org.fhir/encounter-class"; - case HOME: return "http://hl7.org.fhir/encounter-class"; - case FIELD: return "http://hl7.org.fhir/encounter-class"; - case DAYTIME: return "http://hl7.org.fhir/encounter-class"; - case VIRTUAL: return "http://hl7.org.fhir/encounter-class"; - case OTHER: return "http://hl7.org.fhir/encounter-class"; + case INPATIENT: return "http://hl7.org/fhir/encounter-class"; + case OUTPATIENT: return "http://hl7.org/fhir/encounter-class"; + case AMBULATORY: return "http://hl7.org/fhir/encounter-class"; + case EMERGENCY: return "http://hl7.org/fhir/encounter-class"; + case HOME: return "http://hl7.org/fhir/encounter-class"; + case FIELD: return "http://hl7.org/fhir/encounter-class"; + case DAYTIME: return "http://hl7.org/fhir/encounter-class"; + case VIRTUAL: return "http://hl7.org/fhir/encounter-class"; + case OTHER: return "http://hl7.org/fhir/encounter-class"; default: return "?"; } } @@ -382,9 +382,9 @@ public class Encounter extends DomainResource { } public String getSystem() { switch (this) { - case PLANNED: return "http://hl7.org.fhir/encounter-location-status"; - case PRESENT: return "http://hl7.org.fhir/encounter-location-status"; - case RESERVED: return "http://hl7.org.fhir/encounter-location-status"; + case PLANNED: return "http://hl7.org/fhir/encounter-location-status"; + case PRESENT: return "http://hl7.org/fhir/encounter-location-status"; + case RESERVED: return "http://hl7.org/fhir/encounter-location-status"; default: return "?"; } } @@ -790,31 +790,50 @@ public class Encounter extends DomainResource { @Description(shortDefinition="From where patient was admitted (physician referral, transfer)", formalDefinition="From where patient was admitted (physician referral, transfer)." ) protected CodeableConcept admitSource; + /** + * The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter. + */ + @Child(name = "admittingDiagnosis", type = {Condition.class}, order=4, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="The admitting Diagnosis as reported by admitting practitioner", formalDefinition="The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter." ) + protected List admittingDiagnosis; + /** + * The actual objects that are the target of the reference (The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.) + */ + protected List admittingDiagnosisTarget; + + + /** + * Whether this hospitalization is a readmission and why if known. + */ + @Child(name = "reAdmission", type = {CodeableConcept.class}, order=5, min=0, max=1) + @Description(shortDefinition="The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission", formalDefinition="Whether this hospitalization is a readmission and why if known." ) + protected CodeableConcept reAdmission; + /** * Diet preferences reported by the patient. */ - @Child(name = "dietPreference", type = {CodeableConcept.class}, order=4, min=0, max=1) + @Child(name = "dietPreference", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Diet preferences reported by the patient", formalDefinition="Diet preferences reported by the patient." ) - protected CodeableConcept dietPreference; + protected List dietPreference; /** * Special courtesies (VIP, board member). */ - @Child(name = "specialCourtesy", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "specialCourtesy", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Special courtesies (VIP, board member)", formalDefinition="Special courtesies (VIP, board member)." ) protected List specialCourtesy; /** * Wheelchair, translator, stretcher, etc. */ - @Child(name = "specialArrangement", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "specialArrangement", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Wheelchair, translator, stretcher, etc", formalDefinition="Wheelchair, translator, stretcher, etc." ) protected List specialArrangement; /** * Location to which the patient is discharged. */ - @Child(name = "destination", type = {Location.class}, order=7, min=0, max=1) + @Child(name = "destination", type = {Location.class}, order=9, min=0, max=1) @Description(shortDefinition="Location to which the patient is discharged", formalDefinition="Location to which the patient is discharged." ) protected Reference destination; @@ -826,30 +845,23 @@ public class Encounter extends DomainResource { /** * Category or kind of location after discharge. */ - @Child(name = "dischargeDisposition", type = {CodeableConcept.class}, order=8, min=0, max=1) + @Child(name = "dischargeDisposition", type = {CodeableConcept.class}, order=10, min=0, max=1) @Description(shortDefinition="Category or kind of location after discharge", formalDefinition="Category or kind of location after discharge." ) protected CodeableConcept dischargeDisposition; /** * The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete. */ - @Child(name = "dischargeDiagnosis", type = {}, order=9, min=0, max=1) + @Child(name = "dischargeDiagnosis", type = {Condition.class}, order=11, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete", formalDefinition="The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete." ) - protected Reference dischargeDiagnosis; - + protected List dischargeDiagnosis; /** - * The actual object that is the target of the reference (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) + * The actual objects that are the target of the reference (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) */ - protected Resource dischargeDiagnosisTarget; + protected List dischargeDiagnosisTarget; - /** - * Whether this hospitalization is a readmission. - */ - @Child(name = "reAdmission", type = {BooleanType.class}, order=10, min=0, max=1) - @Description(shortDefinition="Is this hospitalization a readmission?", formalDefinition="Whether this hospitalization is a readmission." ) - protected BooleanType reAdmission; - private static final long serialVersionUID = -990619663L; + private static final long serialVersionUID = 164618034L; /* * Constructor @@ -950,27 +962,128 @@ public class Encounter extends DomainResource { return this; } + /** + * @return {@link #admittingDiagnosis} (The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.) + */ + public List getAdmittingDiagnosis() { + if (this.admittingDiagnosis == null) + this.admittingDiagnosis = new ArrayList(); + return this.admittingDiagnosis; + } + + public boolean hasAdmittingDiagnosis() { + if (this.admittingDiagnosis == null) + return false; + for (Reference item : this.admittingDiagnosis) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #admittingDiagnosis} (The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.) + */ + // syntactic sugar + public Reference addAdmittingDiagnosis() { //3 + Reference t = new Reference(); + if (this.admittingDiagnosis == null) + this.admittingDiagnosis = new ArrayList(); + this.admittingDiagnosis.add(t); + return t; + } + + // syntactic sugar + public EncounterHospitalizationComponent addAdmittingDiagnosis(Reference t) { //3 + if (t == null) + return this; + if (this.admittingDiagnosis == null) + this.admittingDiagnosis = new ArrayList(); + this.admittingDiagnosis.add(t); + return this; + } + + /** + * @return {@link #admittingDiagnosis} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.) + */ + public List getAdmittingDiagnosisTarget() { + if (this.admittingDiagnosisTarget == null) + this.admittingDiagnosisTarget = new ArrayList(); + return this.admittingDiagnosisTarget; + } + + // syntactic sugar + /** + * @return {@link #admittingDiagnosis} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.) + */ + public Condition addAdmittingDiagnosisTarget() { + Condition r = new Condition(); + if (this.admittingDiagnosisTarget == null) + this.admittingDiagnosisTarget = new ArrayList(); + this.admittingDiagnosisTarget.add(r); + return r; + } + + /** + * @return {@link #reAdmission} (Whether this hospitalization is a readmission and why if known.) + */ + public CodeableConcept getReAdmission() { + if (this.reAdmission == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EncounterHospitalizationComponent.reAdmission"); + else if (Configuration.doAutoCreate()) + this.reAdmission = new CodeableConcept(); // cc + return this.reAdmission; + } + + public boolean hasReAdmission() { + return this.reAdmission != null && !this.reAdmission.isEmpty(); + } + + /** + * @param value {@link #reAdmission} (Whether this hospitalization is a readmission and why if known.) + */ + public EncounterHospitalizationComponent setReAdmission(CodeableConcept value) { + this.reAdmission = value; + return this; + } + /** * @return {@link #dietPreference} (Diet preferences reported by the patient.) */ - public CodeableConcept getDietPreference() { + public List getDietPreference() { if (this.dietPreference == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EncounterHospitalizationComponent.dietPreference"); - else if (Configuration.doAutoCreate()) - this.dietPreference = new CodeableConcept(); // cc + this.dietPreference = new ArrayList(); return this.dietPreference; } public boolean hasDietPreference() { - return this.dietPreference != null && !this.dietPreference.isEmpty(); + if (this.dietPreference == null) + return false; + for (CodeableConcept item : this.dietPreference) + if (!item.isEmpty()) + return true; + return false; } /** - * @param value {@link #dietPreference} (Diet preferences reported by the patient.) + * @return {@link #dietPreference} (Diet preferences reported by the patient.) */ - public EncounterHospitalizationComponent setDietPreference(CodeableConcept value) { - this.dietPreference = value; + // syntactic sugar + public CodeableConcept addDietPreference() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.dietPreference == null) + this.dietPreference = new ArrayList(); + this.dietPreference.add(t); + return t; + } + + // syntactic sugar + public EncounterHospitalizationComponent addDietPreference(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.dietPreference == null) + this.dietPreference = new ArrayList(); + this.dietPreference.add(t); return this; } @@ -1125,85 +1238,62 @@ public class Encounter extends DomainResource { /** * @return {@link #dischargeDiagnosis} (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) */ - public Reference getDischargeDiagnosis() { + public List getDischargeDiagnosis() { if (this.dischargeDiagnosis == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EncounterHospitalizationComponent.dischargeDiagnosis"); - else if (Configuration.doAutoCreate()) - this.dischargeDiagnosis = new Reference(); // cc + this.dischargeDiagnosis = new ArrayList(); return this.dischargeDiagnosis; } public boolean hasDischargeDiagnosis() { - return this.dischargeDiagnosis != null && !this.dischargeDiagnosis.isEmpty(); + if (this.dischargeDiagnosis == null) + return false; + for (Reference item : this.dischargeDiagnosis) + if (!item.isEmpty()) + return true; + return false; } /** - * @param value {@link #dischargeDiagnosis} (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) + * @return {@link #dischargeDiagnosis} (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) */ - public EncounterHospitalizationComponent setDischargeDiagnosis(Reference value) { - this.dischargeDiagnosis = value; + // syntactic sugar + public Reference addDischargeDiagnosis() { //3 + Reference t = new Reference(); + if (this.dischargeDiagnosis == null) + this.dischargeDiagnosis = new ArrayList(); + this.dischargeDiagnosis.add(t); + return t; + } + + // syntactic sugar + public EncounterHospitalizationComponent addDischargeDiagnosis(Reference t) { //3 + if (t == null) + return this; + if (this.dischargeDiagnosis == null) + this.dischargeDiagnosis = new ArrayList(); + this.dischargeDiagnosis.add(t); return this; } /** - * @return {@link #dischargeDiagnosis} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) + * @return {@link #dischargeDiagnosis} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) */ - public Resource getDischargeDiagnosisTarget() { + public List getDischargeDiagnosisTarget() { + if (this.dischargeDiagnosisTarget == null) + this.dischargeDiagnosisTarget = new ArrayList(); return this.dischargeDiagnosisTarget; } + // syntactic sugar /** - * @param value {@link #dischargeDiagnosis} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) + * @return {@link #dischargeDiagnosis} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.) */ - public EncounterHospitalizationComponent setDischargeDiagnosisTarget(Resource value) { - this.dischargeDiagnosisTarget = value; - return this; - } - - /** - * @return {@link #reAdmission} (Whether this hospitalization is a readmission.). This is the underlying object with id, value and extensions. The accessor "getReAdmission" gives direct access to the value - */ - public BooleanType getReAdmissionElement() { - if (this.reAdmission == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EncounterHospitalizationComponent.reAdmission"); - else if (Configuration.doAutoCreate()) - this.reAdmission = new BooleanType(); // bb - return this.reAdmission; - } - - public boolean hasReAdmissionElement() { - return this.reAdmission != null && !this.reAdmission.isEmpty(); - } - - public boolean hasReAdmission() { - return this.reAdmission != null && !this.reAdmission.isEmpty(); - } - - /** - * @param value {@link #reAdmission} (Whether this hospitalization is a readmission.). This is the underlying object with id, value and extensions. The accessor "getReAdmission" gives direct access to the value - */ - public EncounterHospitalizationComponent setReAdmissionElement(BooleanType value) { - this.reAdmission = value; - return this; - } - - /** - * @return Whether this hospitalization is a readmission. - */ - public boolean getReAdmission() { - return this.reAdmission == null || this.reAdmission.isEmpty() ? false : this.reAdmission.getValue(); - } - - /** - * @param value Whether this hospitalization is a readmission. - */ - public EncounterHospitalizationComponent setReAdmission(boolean value) { - if (this.reAdmission == null) - this.reAdmission = new BooleanType(); - this.reAdmission.setValue(value); - return this; + public Condition addDischargeDiagnosisTarget() { + Condition r = new Condition(); + if (this.dischargeDiagnosisTarget == null) + this.dischargeDiagnosisTarget = new ArrayList(); + this.dischargeDiagnosisTarget.add(r); + return r; } protected void listChildren(List childrenList) { @@ -1211,13 +1301,14 @@ public class Encounter extends DomainResource { childrenList.add(new Property("preAdmissionIdentifier", "Identifier", "Pre-admission identifier.", 0, java.lang.Integer.MAX_VALUE, preAdmissionIdentifier)); childrenList.add(new Property("origin", "Reference(Location)", "The location from which the patient came before admission.", 0, java.lang.Integer.MAX_VALUE, origin)); childrenList.add(new Property("admitSource", "CodeableConcept", "From where patient was admitted (physician referral, transfer).", 0, java.lang.Integer.MAX_VALUE, admitSource)); + childrenList.add(new Property("admittingDiagnosis", "Reference(Condition)", "The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.", 0, java.lang.Integer.MAX_VALUE, admittingDiagnosis)); + childrenList.add(new Property("reAdmission", "CodeableConcept", "Whether this hospitalization is a readmission and why if known.", 0, java.lang.Integer.MAX_VALUE, reAdmission)); childrenList.add(new Property("dietPreference", "CodeableConcept", "Diet preferences reported by the patient.", 0, java.lang.Integer.MAX_VALUE, dietPreference)); childrenList.add(new Property("specialCourtesy", "CodeableConcept", "Special courtesies (VIP, board member).", 0, java.lang.Integer.MAX_VALUE, specialCourtesy)); childrenList.add(new Property("specialArrangement", "CodeableConcept", "Wheelchair, translator, stretcher, etc.", 0, java.lang.Integer.MAX_VALUE, specialArrangement)); childrenList.add(new Property("destination", "Reference(Location)", "Location to which the patient is discharged.", 0, java.lang.Integer.MAX_VALUE, destination)); childrenList.add(new Property("dischargeDisposition", "CodeableConcept", "Category or kind of location after discharge.", 0, java.lang.Integer.MAX_VALUE, dischargeDisposition)); - childrenList.add(new Property("dischargeDiagnosis", "Reference(Any)", "The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.", 0, java.lang.Integer.MAX_VALUE, dischargeDiagnosis)); - childrenList.add(new Property("reAdmission", "boolean", "Whether this hospitalization is a readmission.", 0, java.lang.Integer.MAX_VALUE, reAdmission)); + childrenList.add(new Property("dischargeDiagnosis", "Reference(Condition)", "The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.", 0, java.lang.Integer.MAX_VALUE, dischargeDiagnosis)); } public EncounterHospitalizationComponent copy() { @@ -1226,7 +1317,17 @@ public class Encounter extends DomainResource { dst.preAdmissionIdentifier = preAdmissionIdentifier == null ? null : preAdmissionIdentifier.copy(); dst.origin = origin == null ? null : origin.copy(); dst.admitSource = admitSource == null ? null : admitSource.copy(); - dst.dietPreference = dietPreference == null ? null : dietPreference.copy(); + if (admittingDiagnosis != null) { + dst.admittingDiagnosis = new ArrayList(); + for (Reference i : admittingDiagnosis) + dst.admittingDiagnosis.add(i.copy()); + }; + dst.reAdmission = reAdmission == null ? null : reAdmission.copy(); + if (dietPreference != null) { + dst.dietPreference = new ArrayList(); + for (CodeableConcept i : dietPreference) + dst.dietPreference.add(i.copy()); + }; if (specialCourtesy != null) { dst.specialCourtesy = new ArrayList(); for (CodeableConcept i : specialCourtesy) @@ -1239,8 +1340,11 @@ public class Encounter extends DomainResource { }; dst.destination = destination == null ? null : destination.copy(); dst.dischargeDisposition = dischargeDisposition == null ? null : dischargeDisposition.copy(); - dst.dischargeDiagnosis = dischargeDiagnosis == null ? null : dischargeDiagnosis.copy(); - dst.reAdmission = reAdmission == null ? null : reAdmission.copy(); + if (dischargeDiagnosis != null) { + dst.dischargeDiagnosis = new ArrayList(); + for (Reference i : dischargeDiagnosis) + dst.dischargeDiagnosis.add(i.copy()); + }; return dst; } @@ -1252,11 +1356,11 @@ public class Encounter extends DomainResource { return false; EncounterHospitalizationComponent o = (EncounterHospitalizationComponent) other; return compareDeep(preAdmissionIdentifier, o.preAdmissionIdentifier, true) && compareDeep(origin, o.origin, true) - && compareDeep(admitSource, o.admitSource, true) && compareDeep(dietPreference, o.dietPreference, true) + && compareDeep(admitSource, o.admitSource, true) && compareDeep(admittingDiagnosis, o.admittingDiagnosis, true) + && compareDeep(reAdmission, o.reAdmission, true) && compareDeep(dietPreference, o.dietPreference, true) && compareDeep(specialCourtesy, o.specialCourtesy, true) && compareDeep(specialArrangement, o.specialArrangement, true) && compareDeep(destination, o.destination, true) && compareDeep(dischargeDisposition, o.dischargeDisposition, true) - && compareDeep(dischargeDiagnosis, o.dischargeDiagnosis, true) && compareDeep(reAdmission, o.reAdmission, true) - ; + && compareDeep(dischargeDiagnosis, o.dischargeDiagnosis, true); } @Override @@ -1266,16 +1370,17 @@ public class Encounter extends DomainResource { if (!(other instanceof EncounterHospitalizationComponent)) return false; EncounterHospitalizationComponent o = (EncounterHospitalizationComponent) other; - return compareValues(reAdmission, o.reAdmission, true); + return true; } public boolean isEmpty() { return super.isEmpty() && (preAdmissionIdentifier == null || preAdmissionIdentifier.isEmpty()) && (origin == null || origin.isEmpty()) && (admitSource == null || admitSource.isEmpty()) + && (admittingDiagnosis == null || admittingDiagnosis.isEmpty()) && (reAdmission == null || reAdmission.isEmpty()) && (dietPreference == null || dietPreference.isEmpty()) && (specialCourtesy == null || specialCourtesy.isEmpty()) && (specialArrangement == null || specialArrangement.isEmpty()) && (destination == null || destination.isEmpty()) && (dischargeDisposition == null || dischargeDisposition.isEmpty()) && (dischargeDiagnosis == null || dischargeDiagnosis.isEmpty()) - && (reAdmission == null || reAdmission.isEmpty()); + ; } } @@ -1510,7 +1615,7 @@ public class Encounter extends DomainResource { /** * inpatient | outpatient | ambulatory | emergency +. */ - @Child(name = "class", type = {CodeType.class}, order=3, min=0, max=1) + @Child(name = "class_", type = {CodeType.class}, order=3, min=0, max=1) @Description(shortDefinition="inpatient | outpatient | ambulatory | emergency +", formalDefinition="inpatient | outpatient | ambulatory | emergency +." ) protected Enumeration class_; @@ -1534,25 +1639,29 @@ public class Encounter extends DomainResource { protected Patient patientTarget; /** - * Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking. + * Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years). */ - @Child(name = "episodeOfCare", type = {EpisodeOfCare.class}, order=6, min=0, max=1) - @Description(shortDefinition="An episode of care that this encounter should be recorded against", formalDefinition="Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking." ) - protected Reference episodeOfCare; + @Child(name = "episodeOfCare", type = {EpisodeOfCare.class}, order=6, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Episode(s) of care that this encounter should be recorded against", formalDefinition="Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem.\n\nThe association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years)." ) + protected List episodeOfCare; + /** + * The actual objects that are the target of the reference (Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).) + */ + protected List episodeOfCareTarget; + /** - * The actual object that is the target of the reference (Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking.) - */ - protected EpisodeOfCare episodeOfCareTarget; - - /** - * The referral request that this encounter is satisfies (incoming referral). + * The referral request that this encounter satisfies (incoming referral). */ @Child(name = "incomingReferralRequest", type = {ReferralRequest.class}, order=7, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Incoming Referral Request", formalDefinition="The referral request that this encounter is satisfies (incoming referral)." ) + @Description(shortDefinition="Incoming Referral Request", formalDefinition="The referral request that this encounter satisfies (incoming referral)." ) protected List incomingReferralRequest; /** - * The actual objects that are the target of the reference (The referral request that this encounter is satisfies (incoming referral).) + * The actual objects that are the target of the reference (The referral request that this encounter satisfies (incoming referral).) */ protected List incomingReferralRequestTarget; @@ -1656,7 +1765,7 @@ The indication will typically be a Condition (with other resources referenced in */ protected Encounter partOfTarget; - private static final long serialVersionUID = 413573588L; + private static final long serialVersionUID = 254412792L; /* * Constructor @@ -1932,51 +2041,76 @@ The indication will typically be a Condition (with other resources referenced in } /** - * @return {@link #episodeOfCare} (Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking.) + * @return {@link #episodeOfCare} (Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).) */ - public Reference getEpisodeOfCare() { + public List getEpisodeOfCare() { if (this.episodeOfCare == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Encounter.episodeOfCare"); - else if (Configuration.doAutoCreate()) - this.episodeOfCare = new Reference(); // cc + this.episodeOfCare = new ArrayList(); return this.episodeOfCare; } public boolean hasEpisodeOfCare() { - return this.episodeOfCare != null && !this.episodeOfCare.isEmpty(); + if (this.episodeOfCare == null) + return false; + for (Reference item : this.episodeOfCare) + if (!item.isEmpty()) + return true; + return false; } /** - * @param value {@link #episodeOfCare} (Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking.) + * @return {@link #episodeOfCare} (Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).) */ - public Encounter setEpisodeOfCare(Reference value) { - this.episodeOfCare = value; + // syntactic sugar + public Reference addEpisodeOfCare() { //3 + Reference t = new Reference(); + if (this.episodeOfCare == null) + this.episodeOfCare = new ArrayList(); + this.episodeOfCare.add(t); + return t; + } + + // syntactic sugar + public Encounter addEpisodeOfCare(Reference t) { //3 + if (t == null) + return this; + if (this.episodeOfCare == null) + this.episodeOfCare = new ArrayList(); + this.episodeOfCare.add(t); return this; } /** - * @return {@link #episodeOfCare} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking.) + * @return {@link #episodeOfCare} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).) */ - public EpisodeOfCare getEpisodeOfCareTarget() { + public List getEpisodeOfCareTarget() { if (this.episodeOfCareTarget == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Encounter.episodeOfCare"); - else if (Configuration.doAutoCreate()) - this.episodeOfCareTarget = new EpisodeOfCare(); // aa + this.episodeOfCareTarget = new ArrayList(); return this.episodeOfCareTarget; } + // syntactic sugar /** - * @param value {@link #episodeOfCare} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking.) + * @return {@link #episodeOfCare} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).) */ - public Encounter setEpisodeOfCareTarget(EpisodeOfCare value) { - this.episodeOfCareTarget = value; - return this; + public EpisodeOfCare addEpisodeOfCareTarget() { + EpisodeOfCare r = new EpisodeOfCare(); + if (this.episodeOfCareTarget == null) + this.episodeOfCareTarget = new ArrayList(); + this.episodeOfCareTarget.add(r); + return r; } /** - * @return {@link #incomingReferralRequest} (The referral request that this encounter is satisfies (incoming referral).) + * @return {@link #incomingReferralRequest} (The referral request that this encounter satisfies (incoming referral).) */ public List getIncomingReferralRequest() { if (this.incomingReferralRequest == null) @@ -1994,7 +2128,7 @@ The indication will typically be a Condition (with other resources referenced in } /** - * @return {@link #incomingReferralRequest} (The referral request that this encounter is satisfies (incoming referral).) + * @return {@link #incomingReferralRequest} (The referral request that this encounter satisfies (incoming referral).) */ // syntactic sugar public Reference addIncomingReferralRequest() { //3 @@ -2016,7 +2150,7 @@ The indication will typically be a Condition (with other resources referenced in } /** - * @return {@link #incomingReferralRequest} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The referral request that this encounter is satisfies (incoming referral).) + * @return {@link #incomingReferralRequest} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The referral request that this encounter satisfies (incoming referral).) */ public List getIncomingReferralRequestTarget() { if (this.incomingReferralRequestTarget == null) @@ -2026,7 +2160,7 @@ The indication will typically be a Condition (with other resources referenced in // syntactic sugar /** - * @return {@link #incomingReferralRequest} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. The referral request that this encounter is satisfies (incoming referral).) + * @return {@link #incomingReferralRequest} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. The referral request that this encounter satisfies (incoming referral).) */ public ReferralRequest addIncomingReferralRequestTarget() { ReferralRequest r = new ReferralRequest(); @@ -2444,8 +2578,8 @@ The indication will typically be a Condition (with other resources referenced in childrenList.add(new Property("class", "code", "inpatient | outpatient | ambulatory | emergency +.", 0, java.lang.Integer.MAX_VALUE, class_)); childrenList.add(new Property("type", "CodeableConcept", "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).", 0, java.lang.Integer.MAX_VALUE, type)); childrenList.add(new Property("patient", "Reference(Patient)", "The patient present at the encounter.", 0, java.lang.Integer.MAX_VALUE, patient)); - childrenList.add(new Property("episodeOfCare", "Reference(EpisodeOfCare)", "Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking.", 0, java.lang.Integer.MAX_VALUE, episodeOfCare)); - childrenList.add(new Property("incomingReferralRequest", "Reference(ReferralRequest)", "The referral request that this encounter is satisfies (incoming referral).", 0, java.lang.Integer.MAX_VALUE, incomingReferralRequest)); + childrenList.add(new Property("episodeOfCare", "Reference(EpisodeOfCare)", "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem.\n\nThe association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).", 0, java.lang.Integer.MAX_VALUE, episodeOfCare)); + childrenList.add(new Property("incomingReferralRequest", "Reference(ReferralRequest)", "The referral request that this encounter satisfies (incoming referral).", 0, java.lang.Integer.MAX_VALUE, incomingReferralRequest)); childrenList.add(new Property("participant", "", "The main practitioner responsible for providing the service.", 0, java.lang.Integer.MAX_VALUE, participant)); childrenList.add(new Property("fulfills", "Reference(Appointment)", "The appointment that scheduled this encounter.", 0, java.lang.Integer.MAX_VALUE, fulfills)); childrenList.add(new Property("period", "Period", "The start and end time of the encounter.", 0, java.lang.Integer.MAX_VALUE, period)); @@ -2480,7 +2614,11 @@ The indication will typically be a Condition (with other resources referenced in dst.type.add(i.copy()); }; dst.patient = patient == null ? null : patient.copy(); - dst.episodeOfCare = episodeOfCare == null ? null : episodeOfCare.copy(); + if (episodeOfCare != null) { + dst.episodeOfCare = new ArrayList(); + for (Reference i : episodeOfCare) + dst.episodeOfCare.add(i.copy()); + }; if (incomingReferralRequest != null) { dst.incomingReferralRequest = new ArrayList(); for (Reference i : incomingReferralRequest) @@ -2570,7 +2708,7 @@ The indication will typically be a Condition (with other resources referenced in public static final String SP_IDENTIFIER = "identifier"; @SearchParamDefinition(name="reason", path="Encounter.reason", description="Reason the encounter takes place (code)", type="token" ) public static final String SP_REASON = "reason"; - @SearchParamDefinition(name="episodeofcare", path="Encounter.episodeOfCare", description="An episode of care that this encounter should be recorded against", type="reference" ) + @SearchParamDefinition(name="episodeofcare", path="Encounter.episodeOfCare", description="Episode(s) of care that this encounter should be recorded against", type="reference" ) public static final String SP_EPISODEOFCARE = "episodeofcare"; @SearchParamDefinition(name="participant-type", path="Encounter.participant.type", description="Role of participant in encounter", type="token" ) public static final String SP_PARTICIPANTTYPE = "participant-type"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentRequest.java index 7045388b312..ae09e1d9d43 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentResponse.java index f12fad39ddc..0e9586b0ee9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentResponse.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EnrollmentResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Enumerations.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Enumerations.java index b7d73e81e25..a937dde675b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Enumerations.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Enumerations.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import org.hl7.fhir.instance.model.api.*; @@ -39,6 +39,7 @@ public class Enumerations { // In here: // AdministrativeGender: The gender of a person used for administrative purposes // AgeUnits: A valueSet of UCUM codes for representing age value units +// BindingStrength: Indication of the degree of conformance expectations associated with a binding // ConceptMapEquivalence: The degree of equivalence between concepts // ConformanceResourceStatus: The lifecycle status of a Value Set or Concept Map // DataAbsentReason: Used to specify why the normally expected content of the data element is missing @@ -98,10 +99,10 @@ public class Enumerations { } public String getSystem() { switch (this) { - case MALE: return "http://hl7.org.fhir/administrative-gender"; - case FEMALE: return "http://hl7.org.fhir/administrative-gender"; - case OTHER: return "http://hl7.org.fhir/administrative-gender"; - case UNKNOWN: return "http://hl7.org.fhir/administrative-gender"; + case MALE: return "http://hl7.org/fhir/administrative-gender"; + case FEMALE: return "http://hl7.org/fhir/administrative-gender"; + case OTHER: return "http://hl7.org/fhir/administrative-gender"; + case UNKNOWN: return "http://hl7.org/fhir/administrative-gender"; default: return "?"; } } @@ -281,6 +282,106 @@ public class Enumerations { } } + public enum BindingStrength { + /** + * To be conformant, instances of this element SHALL include a code from the specified value set + */ + REQUIRED, + /** + * To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead. + */ + EXTENSIBLE, + /** + * Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant + */ + PREFERRED, + /** + * Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included + */ + EXAMPLE, + /** + * added to help the parsers + */ + NULL; + public static BindingStrength fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("required".equals(codeString)) + return REQUIRED; + if ("extensible".equals(codeString)) + return EXTENSIBLE; + if ("preferred".equals(codeString)) + return PREFERRED; + if ("example".equals(codeString)) + return EXAMPLE; + throw new Exception("Unknown BindingStrength code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case REQUIRED: return "required"; + case EXTENSIBLE: return "extensible"; + case PREFERRED: return "preferred"; + case EXAMPLE: return "example"; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case REQUIRED: return "http://hl7.org/fhir/binding-strength"; + case EXTENSIBLE: return "http://hl7.org/fhir/binding-strength"; + case PREFERRED: return "http://hl7.org/fhir/binding-strength"; + case EXAMPLE: return "http://hl7.org/fhir/binding-strength"; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case REQUIRED: return "To be conformant, instances of this element SHALL include a code from the specified value set"; + case EXTENSIBLE: return "To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead."; + case PREFERRED: return "Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant"; + case EXAMPLE: return "Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case REQUIRED: return "Required"; + case EXTENSIBLE: return "Extensible"; + case PREFERRED: return "Preferred"; + case EXAMPLE: return "Example"; + default: return "?"; + } + } + } + + public static class BindingStrengthEnumFactory implements EnumFactory { + public BindingStrength fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("required".equals(codeString)) + return BindingStrength.REQUIRED; + if ("extensible".equals(codeString)) + return BindingStrength.EXTENSIBLE; + if ("preferred".equals(codeString)) + return BindingStrength.PREFERRED; + if ("example".equals(codeString)) + return BindingStrength.EXAMPLE; + throw new IllegalArgumentException("Unknown BindingStrength code '"+codeString+"'"); + } + public String toCode(BindingStrength code) { + if (code == BindingStrength.REQUIRED) + return "required"; + if (code == BindingStrength.EXTENSIBLE) + return "extensible"; + if (code == BindingStrength.PREFERRED) + return "preferred"; + if (code == BindingStrength.EXAMPLE) + return "example"; + return "?"; + } + } + public enum ConceptMapEquivalence { /** * The definitions of the concepts mean the same thing (including when structural implications of meaning are considered) (i.e. extensionally identical) @@ -303,9 +404,9 @@ public class Enumerations { */ NARROWER, /** - * The target mapping specialises the meaning of the source concept (e.g. the target is-a source) + * The target mapping specializes the meaning of the source concept (e.g. the target is-a source) */ - SPECIALISES, + SPECIALIZES, /** * The target mapping overlaps with the source concept, but both source and target cover additional meaning, or the definitions are imprecise and it is uncertain whether they have the same boundaries to their meaning. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally */ @@ -335,8 +436,8 @@ public class Enumerations { return SUBSUMES; if ("narrower".equals(codeString)) return NARROWER; - if ("specialises".equals(codeString)) - return SPECIALISES; + if ("specializes".equals(codeString)) + return SPECIALIZES; if ("inexact".equals(codeString)) return INEXACT; if ("unmatched".equals(codeString)) @@ -352,7 +453,7 @@ public class Enumerations { case WIDER: return "wider"; case SUBSUMES: return "subsumes"; case NARROWER: return "narrower"; - case SPECIALISES: return "specialises"; + case SPECIALIZES: return "specializes"; case INEXACT: return "inexact"; case UNMATCHED: return "unmatched"; case DISJOINT: return "disjoint"; @@ -361,15 +462,15 @@ public class Enumerations { } public String getSystem() { switch (this) { - case EQUIVALENT: return "http://hl7.org.fhir/concept-map-equivalence"; - case EQUAL: return "http://hl7.org.fhir/concept-map-equivalence"; - case WIDER: return "http://hl7.org.fhir/concept-map-equivalence"; - case SUBSUMES: return "http://hl7.org.fhir/concept-map-equivalence"; - case NARROWER: return "http://hl7.org.fhir/concept-map-equivalence"; - case SPECIALISES: return "http://hl7.org.fhir/concept-map-equivalence"; - case INEXACT: return "http://hl7.org.fhir/concept-map-equivalence"; - case UNMATCHED: return "http://hl7.org.fhir/concept-map-equivalence"; - case DISJOINT: return "http://hl7.org.fhir/concept-map-equivalence"; + case EQUIVALENT: return "http://hl7.org/fhir/concept-map-equivalence"; + case EQUAL: return "http://hl7.org/fhir/concept-map-equivalence"; + case WIDER: return "http://hl7.org/fhir/concept-map-equivalence"; + case SUBSUMES: return "http://hl7.org/fhir/concept-map-equivalence"; + case NARROWER: return "http://hl7.org/fhir/concept-map-equivalence"; + case SPECIALIZES: return "http://hl7.org/fhir/concept-map-equivalence"; + case INEXACT: return "http://hl7.org/fhir/concept-map-equivalence"; + case UNMATCHED: return "http://hl7.org/fhir/concept-map-equivalence"; + case DISJOINT: return "http://hl7.org/fhir/concept-map-equivalence"; default: return "?"; } } @@ -380,7 +481,7 @@ public class Enumerations { case WIDER: return "The target mapping is wider in meaning than the source concept"; case SUBSUMES: return "The target mapping subsumes the meaning of the source concept (e.g. the source is-a target)"; case NARROWER: return "The target mapping is narrower in meaning that the source concept. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally"; - case SPECIALISES: return "The target mapping specialises the meaning of the source concept (e.g. the target is-a source)"; + case SPECIALIZES: return "The target mapping specializes the meaning of the source concept (e.g. the target is-a source)"; case INEXACT: return "The target mapping overlaps with the source concept, but both source and target cover additional meaning, or the definitions are imprecise and it is uncertain whether they have the same boundaries to their meaning. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally"; case UNMATCHED: return "There is no match for this concept in the destination concept system"; case DISJOINT: return "This is an explicit assertion that there is no mapping between the source and target concept"; @@ -394,7 +495,7 @@ public class Enumerations { case WIDER: return "Wider"; case SUBSUMES: return "Subsumes"; case NARROWER: return "Narrower"; - case SPECIALISES: return "Specialises"; + case SPECIALIZES: return "Specializes"; case INEXACT: return "Inexact"; case UNMATCHED: return "Unmatched"; case DISJOINT: return "Disjoint"; @@ -418,8 +519,8 @@ public class Enumerations { return ConceptMapEquivalence.SUBSUMES; if ("narrower".equals(codeString)) return ConceptMapEquivalence.NARROWER; - if ("specialises".equals(codeString)) - return ConceptMapEquivalence.SPECIALISES; + if ("specializes".equals(codeString)) + return ConceptMapEquivalence.SPECIALIZES; if ("inexact".equals(codeString)) return ConceptMapEquivalence.INEXACT; if ("unmatched".equals(codeString)) @@ -439,8 +540,8 @@ public class Enumerations { return "subsumes"; if (code == ConceptMapEquivalence.NARROWER) return "narrower"; - if (code == ConceptMapEquivalence.SPECIALISES) - return "specialises"; + if (code == ConceptMapEquivalence.SPECIALIZES) + return "specializes"; if (code == ConceptMapEquivalence.INEXACT) return "inexact"; if (code == ConceptMapEquivalence.UNMATCHED) @@ -461,7 +562,7 @@ public class Enumerations { */ ACTIVE, /** - * This resource has been withdrawn or superceded and should no longer be used + * This resource has been withdrawn or superseded and should no longer be used */ RETIRED, /** @@ -489,9 +590,9 @@ public class Enumerations { } public String getSystem() { switch (this) { - case DRAFT: return "http://hl7.org.fhir/conformance-resource-status"; - case ACTIVE: return "http://hl7.org.fhir/conformance-resource-status"; - case RETIRED: return "http://hl7.org.fhir/conformance-resource-status"; + case DRAFT: return "http://hl7.org/fhir/conformance-resource-status"; + case ACTIVE: return "http://hl7.org/fhir/conformance-resource-status"; + case RETIRED: return "http://hl7.org/fhir/conformance-resource-status"; default: return "?"; } } @@ -499,7 +600,7 @@ public class Enumerations { switch (this) { case DRAFT: return "This resource is still under development"; case ACTIVE: return "This resource is ready for normal use"; - case RETIRED: return "This resource has been withdrawn or superceded and should no longer be used"; + case RETIRED: return "This resource has been withdrawn or superseded and should no longer be used"; default: return "?"; } } @@ -610,14 +711,14 @@ public class Enumerations { } public String getSystem() { switch (this) { - case UNKNOWN: return "http://hl7.org.fhir/data-absent-reason"; - case ASKED: return "http://hl7.org.fhir/data-absent-reason"; - case TEMP: return "http://hl7.org.fhir/data-absent-reason"; - case NOTASKED: return "http://hl7.org.fhir/data-absent-reason"; - case MASKED: return "http://hl7.org.fhir/data-absent-reason"; - case UNSUPPORTED: return "http://hl7.org.fhir/data-absent-reason"; - case ASTEXT: return "http://hl7.org.fhir/data-absent-reason"; - case ERROR: return "http://hl7.org.fhir/data-absent-reason"; + case UNKNOWN: return "http://hl7.org/fhir/data-absent-reason"; + case ASKED: return "http://hl7.org/fhir/data-absent-reason"; + case TEMP: return "http://hl7.org/fhir/data-absent-reason"; + case NOTASKED: return "http://hl7.org/fhir/data-absent-reason"; + case MASKED: return "http://hl7.org/fhir/data-absent-reason"; + case UNSUPPORTED: return "http://hl7.org/fhir/data-absent-reason"; + case ASTEXT: return "http://hl7.org/fhir/data-absent-reason"; + case ERROR: return "http://hl7.org/fhir/data-absent-reason"; default: return "?"; } } @@ -743,9 +844,9 @@ public class Enumerations { */ CURRENT, /** - * This reference has been superceded by another reference + * This reference has been superseded by another reference */ - SUPERCEDED, + SUPERSEDED, /** * This reference was created in error */ @@ -759,8 +860,8 @@ public class Enumerations { return null; if ("current".equals(codeString)) return CURRENT; - if ("superceded".equals(codeString)) - return SUPERCEDED; + if ("superseded".equals(codeString)) + return SUPERSEDED; if ("entered-in-error".equals(codeString)) return ENTEREDINERROR; throw new Exception("Unknown DocumentReferenceStatus code '"+codeString+"'"); @@ -768,23 +869,23 @@ public class Enumerations { public String toCode() { switch (this) { case CURRENT: return "current"; - case SUPERCEDED: return "superceded"; + case SUPERSEDED: return "superseded"; case ENTEREDINERROR: return "entered-in-error"; default: return "?"; } } public String getSystem() { switch (this) { - case CURRENT: return "http://hl7.org.fhir/document-reference-status"; - case SUPERCEDED: return "http://hl7.org.fhir/document-reference-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/document-reference-status"; + case CURRENT: return "http://hl7.org/fhir/document-reference-status"; + case SUPERSEDED: return "http://hl7.org/fhir/document-reference-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/document-reference-status"; default: return "?"; } } public String getDefinition() { switch (this) { case CURRENT: return "This is the current reference for this document"; - case SUPERCEDED: return "This reference has been superceded by another reference"; + case SUPERSEDED: return "This reference has been superseded by another reference"; case ENTEREDINERROR: return "This reference was created in error"; default: return "?"; } @@ -792,7 +893,7 @@ public class Enumerations { public String getDisplay() { switch (this) { case CURRENT: return "Current"; - case SUPERCEDED: return "Superceded"; + case SUPERSEDED: return "Superseded"; case ENTEREDINERROR: return "Entered In Error"; default: return "?"; } @@ -806,8 +907,8 @@ public class Enumerations { return null; if ("current".equals(codeString)) return DocumentReferenceStatus.CURRENT; - if ("superceded".equals(codeString)) - return DocumentReferenceStatus.SUPERCEDED; + if ("superseded".equals(codeString)) + return DocumentReferenceStatus.SUPERSEDED; if ("entered-in-error".equals(codeString)) return DocumentReferenceStatus.ENTEREDINERROR; throw new IllegalArgumentException("Unknown DocumentReferenceStatus code '"+codeString+"'"); @@ -815,8 +916,8 @@ public class Enumerations { public String toCode(DocumentReferenceStatus code) { if (code == DocumentReferenceStatus.CURRENT) return "current"; - if (code == DocumentReferenceStatus.SUPERCEDED) - return "superceded"; + if (code == DocumentReferenceStatus.SUPERSEDED) + return "superseded"; if (code == DocumentReferenceStatus.ENTEREDINERROR) return "entered-in-error"; return "?"; @@ -949,9 +1050,9 @@ public class Enumerations { } public String getSystem() { switch (this) { - case DISPLAY: return "http://hl7.org.fhir/note-type"; - case PRINT: return "http://hl7.org.fhir/note-type"; - case PRINTOPER: return "http://hl7.org.fhir/note-type"; + case DISPLAY: return "http://hl7.org/fhir/note-type"; + case PRINT: return "http://hl7.org/fhir/note-type"; + case PRINTOPER: return "http://hl7.org/fhir/note-type"; default: return "?"; } } @@ -1028,8 +1129,8 @@ public class Enumerations { } public String getSystem() { switch (this) { - case COMPLETE: return "http://hl7.org.fhir/remittance-outcome"; - case ERROR: return "http://hl7.org.fhir/remittance-outcome"; + case COMPLETE: return "http://hl7.org/fhir/remittance-outcome"; + case ERROR: return "http://hl7.org/fhir/remittance-outcome"; default: return "?"; } } @@ -1186,14 +1287,14 @@ public class Enumerations { } public String getSystem() { switch (this) { - case NUMBER: return "http://hl7.org.fhir/search-param-type"; - case DATE: return "http://hl7.org.fhir/search-param-type"; - case STRING: return "http://hl7.org.fhir/search-param-type"; - case TOKEN: return "http://hl7.org.fhir/search-param-type"; - case REFERENCE: return "http://hl7.org.fhir/search-param-type"; - case COMPOSITE: return "http://hl7.org.fhir/search-param-type"; - case QUANTITY: return "http://hl7.org.fhir/search-param-type"; - case URI: return "http://hl7.org.fhir/search-param-type"; + case NUMBER: return "http://hl7.org/fhir/search-param-type"; + case DATE: return "http://hl7.org/fhir/search-param-type"; + case STRING: return "http://hl7.org/fhir/search-param-type"; + case TOKEN: return "http://hl7.org/fhir/search-param-type"; + case REFERENCE: return "http://hl7.org/fhir/search-param-type"; + case COMPOSITE: return "http://hl7.org/fhir/search-param-type"; + case QUANTITY: return "http://hl7.org/fhir/search-param-type"; + case URI: return "http://hl7.org/fhir/search-param-type"; default: return "?"; } } @@ -1328,12 +1429,12 @@ public class Enumerations { } public String getSystem() { switch (this) { - case TRUE: return "http://hl7.org.fhir/special-values"; - case FALSE: return "http://hl7.org.fhir/special-values"; - case TRACE: return "http://hl7.org.fhir/special-values"; - case SUFFICIENT: return "http://hl7.org.fhir/special-values"; - case WITHDRAWN: return "http://hl7.org.fhir/special-values"; - case NILKNOWN: return "http://hl7.org.fhir/special-values"; + case TRUE: return "http://hl7.org/fhir/special-values"; + case FALSE: return "http://hl7.org/fhir/special-values"; + case TRACE: return "http://hl7.org/fhir/special-values"; + case SUFFICIENT: return "http://hl7.org/fhir/special-values"; + case WITHDRAWN: return "http://hl7.org/fhir/special-values"; + case NILKNOWN: return "http://hl7.org/fhir/special-values"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EpisodeOfCare.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EpisodeOfCare.java index ef61b16fd76..88abdade2ca 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EpisodeOfCare.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/EpisodeOfCare.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -105,12 +105,12 @@ public class EpisodeOfCare extends DomainResource { } public String getSystem() { switch (this) { - case PLANNED: return "http://hl7.org.fhir/episode-of-care-status"; - case WAITLIST: return "http://hl7.org.fhir/episode-of-care-status"; - case ACTIVE: return "http://hl7.org.fhir/episode-of-care-status"; - case ONHOLD: return "http://hl7.org.fhir/episode-of-care-status"; - case FINISHED: return "http://hl7.org.fhir/episode-of-care-status"; - case CANCELLED: return "http://hl7.org.fhir/episode-of-care-status"; + case PLANNED: return "http://hl7.org/fhir/episode-of-care-status"; + case WAITLIST: return "http://hl7.org/fhir/episode-of-care-status"; + case ACTIVE: return "http://hl7.org/fhir/episode-of-care-status"; + case ONHOLD: return "http://hl7.org/fhir/episode-of-care-status"; + case FINISHED: return "http://hl7.org/fhir/episode-of-care-status"; + case CANCELLED: return "http://hl7.org/fhir/episode-of-care-status"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ExplanationOfBenefit.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ExplanationOfBenefit.java index 5671e3a26d1..e052eb4106b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ExplanationOfBenefit.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ExplanationOfBenefit.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Extension.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Extension.java index 67733da646b..5e89fe59572 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Extension.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Extension.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/FamilyMemberHistory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/FamilyMemberHistory.java index 17758ac1cf1..393c6614ece 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/FamilyMemberHistory.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/FamilyMemberHistory.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -158,6 +158,10 @@ public class FamilyMemberHistory extends DomainResource { return (Age) this.onset; } + public boolean hasOnsetAge() throws Exception { + return this.onset instanceof Age; + } + /** * @return {@link #onset} (Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.) */ @@ -167,6 +171,10 @@ public class FamilyMemberHistory extends DomainResource { return (Range) this.onset; } + public boolean hasOnsetRange() throws Exception { + return this.onset instanceof Range; + } + /** * @return {@link #onset} (Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.) */ @@ -176,6 +184,10 @@ public class FamilyMemberHistory extends DomainResource { return (StringType) this.onset; } + public boolean hasOnsetStringType() throws Exception { + return this.onset instanceof StringType; + } + public boolean hasOnset() { return this.onset != null && !this.onset.isEmpty(); } @@ -654,6 +666,10 @@ public class FamilyMemberHistory extends DomainResource { return (Period) this.born; } + public boolean hasBornPeriod() throws Exception { + return this.born instanceof Period; + } + /** * @return {@link #born} (The actual or approximate date of birth of the relative.) */ @@ -663,6 +679,10 @@ public class FamilyMemberHistory extends DomainResource { return (DateType) this.born; } + public boolean hasBornDateType() throws Exception { + return this.born instanceof DateType; + } + /** * @return {@link #born} (The actual or approximate date of birth of the relative.) */ @@ -672,6 +692,10 @@ public class FamilyMemberHistory extends DomainResource { return (StringType) this.born; } + public boolean hasBornStringType() throws Exception { + return this.born instanceof StringType; + } + public boolean hasBorn() { return this.born != null && !this.born.isEmpty(); } @@ -700,6 +724,10 @@ public class FamilyMemberHistory extends DomainResource { return (Age) this.age; } + public boolean hasAgeAge() throws Exception { + return this.age instanceof Age; + } + /** * @return {@link #age} (The actual or approximate age of the relative at the time the family member history is recorded.) */ @@ -709,6 +737,10 @@ public class FamilyMemberHistory extends DomainResource { return (Range) this.age; } + public boolean hasAgeRange() throws Exception { + return this.age instanceof Range; + } + /** * @return {@link #age} (The actual or approximate age of the relative at the time the family member history is recorded.) */ @@ -718,6 +750,10 @@ public class FamilyMemberHistory extends DomainResource { return (StringType) this.age; } + public boolean hasAgeStringType() throws Exception { + return this.age instanceof StringType; + } + public boolean hasAge() { return this.age != null && !this.age.isEmpty(); } @@ -746,6 +782,10 @@ public class FamilyMemberHistory extends DomainResource { return (BooleanType) this.deceased; } + public boolean hasDeceasedBooleanType() throws Exception { + return this.deceased instanceof BooleanType; + } + /** * @return {@link #deceased} (The actual or approximate age of the relative at the time the family member history is recorded.) */ @@ -755,6 +795,10 @@ public class FamilyMemberHistory extends DomainResource { return (Age) this.deceased; } + public boolean hasDeceasedAge() throws Exception { + return this.deceased instanceof Age; + } + /** * @return {@link #deceased} (The actual or approximate age of the relative at the time the family member history is recorded.) */ @@ -764,6 +808,10 @@ public class FamilyMemberHistory extends DomainResource { return (Range) this.deceased; } + public boolean hasDeceasedRange() throws Exception { + return this.deceased instanceof Range; + } + /** * @return {@link #deceased} (The actual or approximate age of the relative at the time the family member history is recorded.) */ @@ -773,6 +821,10 @@ public class FamilyMemberHistory extends DomainResource { return (DateType) this.deceased; } + public boolean hasDeceasedDateType() throws Exception { + return this.deceased instanceof DateType; + } + /** * @return {@link #deceased} (The actual or approximate age of the relative at the time the family member history is recorded.) */ @@ -782,6 +834,10 @@ public class FamilyMemberHistory extends DomainResource { return (StringType) this.deceased; } + public boolean hasDeceasedStringType() throws Exception { + return this.deceased instanceof StringType; + } + public boolean hasDeceased() { return this.deceased != null && !this.deceased.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Flag.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Flag.java index dedc181260c..f4ec1494aa5 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Flag.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Flag.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class Flag extends DomainResource { } public String getSystem() { switch (this) { - case ACTIVE: return "http://hl7.org.fhir/flag-status"; - case INACTIVE: return "http://hl7.org.fhir/flag-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/flag-status"; + case ACTIVE: return "http://hl7.org/fhir/flag-status"; + case INACTIVE: return "http://hl7.org/fhir/flag-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/flag-status"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Goal.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Goal.java index c5093d272d6..4d9798b8191 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Goal.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Goal.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -119,14 +119,14 @@ public class Goal extends DomainResource { } public String getSystem() { switch (this) { - case PROPOSED: return "http://hl7.org.fhir/goal-status"; - case PLANNED: return "http://hl7.org.fhir/goal-status"; - case INPROGRESS: return "http://hl7.org.fhir/goal-status"; - case ACHIEVED: return "http://hl7.org.fhir/goal-status"; - case SUSTAINING: return "http://hl7.org.fhir/goal-status"; - case CANCELLED: return "http://hl7.org.fhir/goal-status"; - case ACCEPTED: return "http://hl7.org.fhir/goal-status"; - case REJECTED: return "http://hl7.org.fhir/goal-status"; + case PROPOSED: return "http://hl7.org/fhir/goal-status"; + case PLANNED: return "http://hl7.org/fhir/goal-status"; + case INPROGRESS: return "http://hl7.org/fhir/goal-status"; + case ACHIEVED: return "http://hl7.org/fhir/goal-status"; + case SUSTAINING: return "http://hl7.org/fhir/goal-status"; + case CANCELLED: return "http://hl7.org/fhir/goal-status"; + case ACCEPTED: return "http://hl7.org/fhir/goal-status"; + case REJECTED: return "http://hl7.org/fhir/goal-status"; default: return "?"; } } @@ -236,6 +236,10 @@ public class Goal extends DomainResource { return (CodeableConcept) this.result; } + public boolean hasResultCodeableConcept() throws Exception { + return this.result instanceof CodeableConcept; + } + /** * @return {@link #result} (Details of what's changed (or not changed).) */ @@ -245,6 +249,10 @@ public class Goal extends DomainResource { return (Reference) this.result; } + public boolean hasResultReference() throws Exception { + return this.result instanceof Reference; + } + public boolean hasResult() { return this.result != null && !this.result.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Group.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Group.java index 9f53a73b7c9..c7946935ab6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Group.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Group.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -105,12 +105,12 @@ public class Group extends DomainResource { } public String getSystem() { switch (this) { - case PERSON: return "http://hl7.org.fhir/group-type"; - case ANIMAL: return "http://hl7.org.fhir/group-type"; - case PRACTITIONER: return "http://hl7.org.fhir/group-type"; - case DEVICE: return "http://hl7.org.fhir/group-type"; - case MEDICATION: return "http://hl7.org.fhir/group-type"; - case SUBSTANCE: return "http://hl7.org.fhir/group-type"; + case PERSON: return "http://hl7.org/fhir/group-type"; + case ANIMAL: return "http://hl7.org/fhir/group-type"; + case PRACTITIONER: return "http://hl7.org/fhir/group-type"; + case DEVICE: return "http://hl7.org/fhir/group-type"; + case MEDICATION: return "http://hl7.org/fhir/group-type"; + case SUBSTANCE: return "http://hl7.org/fhir/group-type"; default: return "?"; } } @@ -256,6 +256,10 @@ public class Group extends DomainResource { return (CodeableConcept) this.value; } + public boolean hasValueCodeableConcept() throws Exception { + return this.value instanceof CodeableConcept; + } + /** * @return {@link #value} (The value of the trait that holds (or does not hold - see 'exclude') for members of the group.) */ @@ -265,6 +269,10 @@ public class Group extends DomainResource { return (BooleanType) this.value; } + public boolean hasValueBooleanType() throws Exception { + return this.value instanceof BooleanType; + } + /** * @return {@link #value} (The value of the trait that holds (or does not hold - see 'exclude') for members of the group.) */ @@ -274,6 +282,10 @@ public class Group extends DomainResource { return (Quantity) this.value; } + public boolean hasValueQuantity() throws Exception { + return this.value instanceof Quantity; + } + /** * @return {@link #value} (The value of the trait that holds (or does not hold - see 'exclude') for members of the group.) */ @@ -283,6 +295,10 @@ public class Group extends DomainResource { return (Range) this.value; } + public boolean hasValueRange() throws Exception { + return this.value instanceof Range; + } + public boolean hasValue() { return this.value != null && !this.value.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HealthcareService.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HealthcareService.java index 8b01f5e8acb..236a518e8f7 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HealthcareService.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HealthcareService.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -112,13 +112,13 @@ public class HealthcareService extends DomainResource { } public String getSystem() { switch (this) { - case MON: return "http://hl7.org.fhir/days-of-week"; - case TUE: return "http://hl7.org.fhir/days-of-week"; - case WED: return "http://hl7.org.fhir/days-of-week"; - case THU: return "http://hl7.org.fhir/days-of-week"; - case FRI: return "http://hl7.org.fhir/days-of-week"; - case SAT: return "http://hl7.org.fhir/days-of-week"; - case SUN: return "http://hl7.org.fhir/days-of-week"; + case MON: return "http://hl7.org/fhir/days-of-week"; + case TUE: return "http://hl7.org/fhir/days-of-week"; + case WED: return "http://hl7.org/fhir/days-of-week"; + case THU: return "http://hl7.org/fhir/days-of-week"; + case FRI: return "http://hl7.org/fhir/days-of-week"; + case SAT: return "http://hl7.org/fhir/days-of-week"; + case SUN: return "http://hl7.org/fhir/days-of-week"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HumanName.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HumanName.java index 54715c1f978..019238eb77d 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HumanName.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/HumanName.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -111,13 +111,13 @@ public class HumanName extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case USUAL: return "http://hl7.org.fhir/name-use"; - case OFFICIAL: return "http://hl7.org.fhir/name-use"; - case TEMP: return "http://hl7.org.fhir/name-use"; - case NICKNAME: return "http://hl7.org.fhir/name-use"; - case ANONYMOUS: return "http://hl7.org.fhir/name-use"; - case OLD: return "http://hl7.org.fhir/name-use"; - case MAIDEN: return "http://hl7.org.fhir/name-use"; + case USUAL: return "http://hl7.org/fhir/name-use"; + case OFFICIAL: return "http://hl7.org/fhir/name-use"; + case TEMP: return "http://hl7.org/fhir/name-use"; + case NICKNAME: return "http://hl7.org/fhir/name-use"; + case ANONYMOUS: return "http://hl7.org/fhir/name-use"; + case OLD: return "http://hl7.org/fhir/name-use"; + case MAIDEN: return "http://hl7.org/fhir/name-use"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IPrimitiveType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IPrimitiveType.java new file mode 100644 index 00000000000..1d6685a2a29 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IPrimitiveType.java @@ -0,0 +1,36 @@ +package org.hl7.fhir.instance.model; + +import org.hl7.fhir.instance.model.api.IBaseDatatype; + +/* + * #%L + * HAPI FHIR - Core Library + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + +public interface IPrimitiveType extends IBaseDatatype { + + void setValueAsString(String theValue) throws IllegalArgumentException; + + String getValueAsString(); + + T getValue(); + + IPrimitiveType setValue(T theValue) throws IllegalArgumentException; + +} diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IdType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IdType.java index cd61529119c..4094a674805 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IdType.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/IdType.java @@ -44,9 +44,6 @@ import org.hl7.fhir.instance.model.api.IBaseResource; import org.hl7.fhir.instance.model.api.IIdType; import org.hl7.fhir.instance.model.api.IPrimitiveType; -import ca.uhn.fhir.model.primitive.IdDt; -import ca.uhn.fhir.parser.DataFormatException; - /** * This class represents the logical identity for a resource, or as much of that * identity is known. In FHIR, every resource must have a "logical ID" which @@ -481,7 +478,7 @@ public final class IdType extends UriType implements IPrimitiveType, IId *

*/ @Override - public IdType setValue(String theValue) throws DataFormatException { + public IdType setValue(String theValue) { // TODO: add validation super.setValue(theValue); myHaveComponentParts = false; @@ -662,8 +659,8 @@ public final class IdType extends UriType implements IPrimitiveType, IId * Construct a new ID with with form "urn:uuid:[UUID]" where [UUID] is a new, randomly * created UUID generated by {@link UUID#randomUUID()} */ - public static IdDt newRandomUuid() { - return new IdDt("urn:uuid:" + UUID.randomUUID().toString()); + public static IdType newRandomUuid() { + return new IdType("urn:uuid:" + UUID.randomUUID().toString()); } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Identifier.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Identifier.java index a94ee716c86..0cf0a10246f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Identifier.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Identifier.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -90,10 +90,10 @@ public class Identifier extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case USUAL: return "http://hl7.org.fhir/identifier-use"; - case OFFICIAL: return "http://hl7.org.fhir/identifier-use"; - case TEMP: return "http://hl7.org.fhir/identifier-use"; - case SECONDARY: return "http://hl7.org.fhir/identifier-use"; + case USUAL: return "http://hl7.org/fhir/identifier-use"; + case OFFICIAL: return "http://hl7.org/fhir/identifier-use"; + case TEMP: return "http://hl7.org/fhir/identifier-use"; + case SECONDARY: return "http://hl7.org/fhir/identifier-use"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingObjectSelection.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingObjectSelection.java index c12c113fd94..f2c87f34b71 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingObjectSelection.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingObjectSelection.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingStudy.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingStudy.java index 322b6111b57..4dc362f5093 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingStudy.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImagingStudy.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -46,554 +46,6 @@ import org.hl7.fhir.instance.model.api.*; @ResourceDef(name="ImagingStudy", profile="http://hl7.org/fhir/Profile/ImagingStudy") public class ImagingStudy extends DomainResource { - public enum ImagingModality { - /** - * null - */ - AR, - /** - * null - */ - BMD, - /** - * null - */ - BDUS, - /** - * null - */ - EPS, - /** - * null - */ - CR, - /** - * null - */ - CT, - /** - * null - */ - DX, - /** - * null - */ - ECG, - /** - * null - */ - ES, - /** - * null - */ - XC, - /** - * null - */ - GM, - /** - * null - */ - HD, - /** - * null - */ - IO, - /** - * null - */ - IVOCT, - /** - * null - */ - IVUS, - /** - * null - */ - KER, - /** - * null - */ - LEN, - /** - * null - */ - MR, - /** - * null - */ - MG, - /** - * null - */ - NM, - /** - * null - */ - OAM, - /** - * null - */ - OCT, - /** - * null - */ - OPM, - /** - * null - */ - OP, - /** - * null - */ - OPR, - /** - * null - */ - OPT, - /** - * null - */ - OPV, - /** - * null - */ - PX, - /** - * null - */ - PT, - /** - * null - */ - RF, - /** - * null - */ - RG, - /** - * null - */ - SM, - /** - * null - */ - SRF, - /** - * null - */ - US, - /** - * null - */ - VA, - /** - * null - */ - XA, - /** - * added to help the parsers - */ - NULL; - public static ImagingModality fromCode(String codeString) throws Exception { - if (codeString == null || "".equals(codeString)) - return null; - if ("AR".equals(codeString)) - return AR; - if ("BMD".equals(codeString)) - return BMD; - if ("BDUS".equals(codeString)) - return BDUS; - if ("EPS".equals(codeString)) - return EPS; - if ("CR".equals(codeString)) - return CR; - if ("CT".equals(codeString)) - return CT; - if ("DX".equals(codeString)) - return DX; - if ("ECG".equals(codeString)) - return ECG; - if ("ES".equals(codeString)) - return ES; - if ("XC".equals(codeString)) - return XC; - if ("GM".equals(codeString)) - return GM; - if ("HD".equals(codeString)) - return HD; - if ("IO".equals(codeString)) - return IO; - if ("IVOCT".equals(codeString)) - return IVOCT; - if ("IVUS".equals(codeString)) - return IVUS; - if ("KER".equals(codeString)) - return KER; - if ("LEN".equals(codeString)) - return LEN; - if ("MR".equals(codeString)) - return MR; - if ("MG".equals(codeString)) - return MG; - if ("NM".equals(codeString)) - return NM; - if ("OAM".equals(codeString)) - return OAM; - if ("OCT".equals(codeString)) - return OCT; - if ("OPM".equals(codeString)) - return OPM; - if ("OP".equals(codeString)) - return OP; - if ("OPR".equals(codeString)) - return OPR; - if ("OPT".equals(codeString)) - return OPT; - if ("OPV".equals(codeString)) - return OPV; - if ("PX".equals(codeString)) - return PX; - if ("PT".equals(codeString)) - return PT; - if ("RF".equals(codeString)) - return RF; - if ("RG".equals(codeString)) - return RG; - if ("SM".equals(codeString)) - return SM; - if ("SRF".equals(codeString)) - return SRF; - if ("US".equals(codeString)) - return US; - if ("VA".equals(codeString)) - return VA; - if ("XA".equals(codeString)) - return XA; - throw new Exception("Unknown ImagingModality code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case AR: return "AR"; - case BMD: return "BMD"; - case BDUS: return "BDUS"; - case EPS: return "EPS"; - case CR: return "CR"; - case CT: return "CT"; - case DX: return "DX"; - case ECG: return "ECG"; - case ES: return "ES"; - case XC: return "XC"; - case GM: return "GM"; - case HD: return "HD"; - case IO: return "IO"; - case IVOCT: return "IVOCT"; - case IVUS: return "IVUS"; - case KER: return "KER"; - case LEN: return "LEN"; - case MR: return "MR"; - case MG: return "MG"; - case NM: return "NM"; - case OAM: return "OAM"; - case OCT: return "OCT"; - case OPM: return "OPM"; - case OP: return "OP"; - case OPR: return "OPR"; - case OPT: return "OPT"; - case OPV: return "OPV"; - case PX: return "PX"; - case PT: return "PT"; - case RF: return "RF"; - case RG: return "RG"; - case SM: return "SM"; - case SRF: return "SRF"; - case US: return "US"; - case VA: return "VA"; - case XA: return "XA"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case AR: return "http://nema.org/dicom/dicm"; - case BMD: return "http://nema.org/dicom/dicm"; - case BDUS: return "http://nema.org/dicom/dicm"; - case EPS: return "http://nema.org/dicom/dicm"; - case CR: return "http://nema.org/dicom/dicm"; - case CT: return "http://nema.org/dicom/dicm"; - case DX: return "http://nema.org/dicom/dicm"; - case ECG: return "http://nema.org/dicom/dicm"; - case ES: return "http://nema.org/dicom/dicm"; - case XC: return "http://nema.org/dicom/dicm"; - case GM: return "http://nema.org/dicom/dicm"; - case HD: return "http://nema.org/dicom/dicm"; - case IO: return "http://nema.org/dicom/dicm"; - case IVOCT: return "http://nema.org/dicom/dicm"; - case IVUS: return "http://nema.org/dicom/dicm"; - case KER: return "http://nema.org/dicom/dicm"; - case LEN: return "http://nema.org/dicom/dicm"; - case MR: return "http://nema.org/dicom/dicm"; - case MG: return "http://nema.org/dicom/dicm"; - case NM: return "http://nema.org/dicom/dicm"; - case OAM: return "http://nema.org/dicom/dicm"; - case OCT: return "http://nema.org/dicom/dicm"; - case OPM: return "http://nema.org/dicom/dicm"; - case OP: return "http://nema.org/dicom/dicm"; - case OPR: return "http://nema.org/dicom/dicm"; - case OPT: return "http://nema.org/dicom/dicm"; - case OPV: return "http://nema.org/dicom/dicm"; - case PX: return "http://nema.org/dicom/dicm"; - case PT: return "http://nema.org/dicom/dicm"; - case RF: return "http://nema.org/dicom/dicm"; - case RG: return "http://nema.org/dicom/dicm"; - case SM: return "http://nema.org/dicom/dicm"; - case SRF: return "http://nema.org/dicom/dicm"; - case US: return "http://nema.org/dicom/dicm"; - case VA: return "http://nema.org/dicom/dicm"; - case XA: return "http://nema.org/dicom/dicm"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case AR: return ""; - case BMD: return ""; - case BDUS: return ""; - case EPS: return ""; - case CR: return ""; - case CT: return ""; - case DX: return ""; - case ECG: return ""; - case ES: return ""; - case XC: return ""; - case GM: return ""; - case HD: return ""; - case IO: return ""; - case IVOCT: return ""; - case IVUS: return ""; - case KER: return ""; - case LEN: return ""; - case MR: return ""; - case MG: return ""; - case NM: return ""; - case OAM: return ""; - case OCT: return ""; - case OPM: return ""; - case OP: return ""; - case OPR: return ""; - case OPT: return ""; - case OPV: return ""; - case PX: return ""; - case PT: return ""; - case RF: return ""; - case RG: return ""; - case SM: return ""; - case SRF: return ""; - case US: return ""; - case VA: return ""; - case XA: return ""; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case AR: return "AR"; - case BMD: return "BMD"; - case BDUS: return "BDUS"; - case EPS: return "EPS"; - case CR: return "CR"; - case CT: return "CT"; - case DX: return "DX"; - case ECG: return "ECG"; - case ES: return "ES"; - case XC: return "XC"; - case GM: return "GM"; - case HD: return "HD"; - case IO: return "IO"; - case IVOCT: return "IVOCT"; - case IVUS: return "IVUS"; - case KER: return "KER"; - case LEN: return "LEN"; - case MR: return "MR"; - case MG: return "MG"; - case NM: return "NM"; - case OAM: return "OAM"; - case OCT: return "OCT"; - case OPM: return "OPM"; - case OP: return "OP"; - case OPR: return "OPR"; - case OPT: return "OPT"; - case OPV: return "OPV"; - case PX: return "PX"; - case PT: return "PT"; - case RF: return "RF"; - case RG: return "RG"; - case SM: return "SM"; - case SRF: return "SRF"; - case US: return "US"; - case VA: return "VA"; - case XA: return "XA"; - default: return "?"; - } - } - } - - public static class ImagingModalityEnumFactory implements EnumFactory { - public ImagingModality fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("AR".equals(codeString)) - return ImagingModality.AR; - if ("BMD".equals(codeString)) - return ImagingModality.BMD; - if ("BDUS".equals(codeString)) - return ImagingModality.BDUS; - if ("EPS".equals(codeString)) - return ImagingModality.EPS; - if ("CR".equals(codeString)) - return ImagingModality.CR; - if ("CT".equals(codeString)) - return ImagingModality.CT; - if ("DX".equals(codeString)) - return ImagingModality.DX; - if ("ECG".equals(codeString)) - return ImagingModality.ECG; - if ("ES".equals(codeString)) - return ImagingModality.ES; - if ("XC".equals(codeString)) - return ImagingModality.XC; - if ("GM".equals(codeString)) - return ImagingModality.GM; - if ("HD".equals(codeString)) - return ImagingModality.HD; - if ("IO".equals(codeString)) - return ImagingModality.IO; - if ("IVOCT".equals(codeString)) - return ImagingModality.IVOCT; - if ("IVUS".equals(codeString)) - return ImagingModality.IVUS; - if ("KER".equals(codeString)) - return ImagingModality.KER; - if ("LEN".equals(codeString)) - return ImagingModality.LEN; - if ("MR".equals(codeString)) - return ImagingModality.MR; - if ("MG".equals(codeString)) - return ImagingModality.MG; - if ("NM".equals(codeString)) - return ImagingModality.NM; - if ("OAM".equals(codeString)) - return ImagingModality.OAM; - if ("OCT".equals(codeString)) - return ImagingModality.OCT; - if ("OPM".equals(codeString)) - return ImagingModality.OPM; - if ("OP".equals(codeString)) - return ImagingModality.OP; - if ("OPR".equals(codeString)) - return ImagingModality.OPR; - if ("OPT".equals(codeString)) - return ImagingModality.OPT; - if ("OPV".equals(codeString)) - return ImagingModality.OPV; - if ("PX".equals(codeString)) - return ImagingModality.PX; - if ("PT".equals(codeString)) - return ImagingModality.PT; - if ("RF".equals(codeString)) - return ImagingModality.RF; - if ("RG".equals(codeString)) - return ImagingModality.RG; - if ("SM".equals(codeString)) - return ImagingModality.SM; - if ("SRF".equals(codeString)) - return ImagingModality.SRF; - if ("US".equals(codeString)) - return ImagingModality.US; - if ("VA".equals(codeString)) - return ImagingModality.VA; - if ("XA".equals(codeString)) - return ImagingModality.XA; - throw new IllegalArgumentException("Unknown ImagingModality code '"+codeString+"'"); - } - public String toCode(ImagingModality code) { - if (code == ImagingModality.AR) - return "AR"; - if (code == ImagingModality.BMD) - return "BMD"; - if (code == ImagingModality.BDUS) - return "BDUS"; - if (code == ImagingModality.EPS) - return "EPS"; - if (code == ImagingModality.CR) - return "CR"; - if (code == ImagingModality.CT) - return "CT"; - if (code == ImagingModality.DX) - return "DX"; - if (code == ImagingModality.ECG) - return "ECG"; - if (code == ImagingModality.ES) - return "ES"; - if (code == ImagingModality.XC) - return "XC"; - if (code == ImagingModality.GM) - return "GM"; - if (code == ImagingModality.HD) - return "HD"; - if (code == ImagingModality.IO) - return "IO"; - if (code == ImagingModality.IVOCT) - return "IVOCT"; - if (code == ImagingModality.IVUS) - return "IVUS"; - if (code == ImagingModality.KER) - return "KER"; - if (code == ImagingModality.LEN) - return "LEN"; - if (code == ImagingModality.MR) - return "MR"; - if (code == ImagingModality.MG) - return "MG"; - if (code == ImagingModality.NM) - return "NM"; - if (code == ImagingModality.OAM) - return "OAM"; - if (code == ImagingModality.OCT) - return "OCT"; - if (code == ImagingModality.OPM) - return "OPM"; - if (code == ImagingModality.OP) - return "OP"; - if (code == ImagingModality.OPR) - return "OPR"; - if (code == ImagingModality.OPT) - return "OPT"; - if (code == ImagingModality.OPV) - return "OPV"; - if (code == ImagingModality.PX) - return "PX"; - if (code == ImagingModality.PT) - return "PT"; - if (code == ImagingModality.RF) - return "RF"; - if (code == ImagingModality.RG) - return "RG"; - if (code == ImagingModality.SM) - return "SM"; - if (code == ImagingModality.SRF) - return "SRF"; - if (code == ImagingModality.US) - return "US"; - if (code == ImagingModality.VA) - return "VA"; - if (code == ImagingModality.XA) - return "XA"; - return "?"; - } - } - public enum InstanceAvailability { /** * null @@ -1525,10 +977,10 @@ public class ImagingStudy extends DomainResource { protected Enumeration availability; /** - * WADO-RS resource where the Series is available. + * URI/URL specifying the location of the referenced series using WADO-RS. */ @Child(name = "url", type = {UriType.class}, order=7, min=0, max=1) - @Description(shortDefinition="Retrieve URI (0008,1115 > 0008,1190)", formalDefinition="WADO-RS resource where the Series is available." ) + @Description(shortDefinition="Location of the referenced instance(s) (0008,1115 in 0008,1190)", formalDefinition="URI/URL specifying the location of the referenced series using WADO-RS." ) protected UriType url; /** @@ -1857,7 +1309,7 @@ public class ImagingStudy extends DomainResource { } /** - * @return {@link #url} (WADO-RS resource where the Series is available.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (URI/URL specifying the location of the referenced series using WADO-RS.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -1877,7 +1329,7 @@ public class ImagingStudy extends DomainResource { } /** - * @param value {@link #url} (WADO-RS resource where the Series is available.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (URI/URL specifying the location of the referenced series using WADO-RS.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public ImagingStudySeriesComponent setUrlElement(UriType value) { this.url = value; @@ -1885,14 +1337,14 @@ public class ImagingStudy extends DomainResource { } /** - * @return WADO-RS resource where the Series is available. + * @return URI/URL specifying the location of the referenced series using WADO-RS. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value WADO-RS resource where the Series is available. + * @param value URI/URL specifying the location of the referenced series using WADO-RS. */ public ImagingStudySeriesComponent setUrl(String value) { if (Utilities.noString(value)) @@ -2050,7 +1502,7 @@ public class ImagingStudy extends DomainResource { childrenList.add(new Property("description", "string", "A description of the series.", 0, java.lang.Integer.MAX_VALUE, description)); childrenList.add(new Property("numberOfInstances", "unsignedInt", "Number of SOP Instances in Series.", 0, java.lang.Integer.MAX_VALUE, numberOfInstances)); childrenList.add(new Property("availability", "code", "Availability of series (online, offline or nearline).", 0, java.lang.Integer.MAX_VALUE, availability)); - childrenList.add(new Property("url", "uri", "WADO-RS resource where the Series is available.", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "URI/URL specifying the location of the referenced series using WADO-RS.", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("bodySite", "Coding", "Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed.", 0, java.lang.Integer.MAX_VALUE, bodySite)); childrenList.add(new Property("laterality", "Coding", "Laterality if bodySite is paired anatomic structure and laterality is not pre-coordinated in bodySite code, map from (0020, 0060).", 0, java.lang.Integer.MAX_VALUE, laterality)); childrenList.add(new Property("dateTime", "dateTime", "The date and time when the series was started.", 0, java.lang.Integer.MAX_VALUE, dateTime)); @@ -2518,7 +1970,7 @@ public class ImagingStudy extends DomainResource { * The patient imaged in the study. */ @Child(name = "patient", type = {Patient.class}, order=1, min=1, max=1) - @Description(shortDefinition="Who the images are of", formalDefinition="The patient imaged in the study." ) + @Description(shortDefinition="Who the images are of (0010/*)", formalDefinition="The patient imaged in the study." ) protected Reference patient; /** @@ -2534,10 +1986,11 @@ public class ImagingStudy extends DomainResource { protected OidType uid; /** - * Accession Number. + * Accession Number is an identifier related to some aspect of imaging workflow and data management, and usage may vary across different institutions. +See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf). */ @Child(name = "accession", type = {Identifier.class}, order=3, min=0, max=1) - @Description(shortDefinition="Accession Number (0008,0050)", formalDefinition="Accession Number." ) + @Description(shortDefinition="Related workflow identifier ('Accession Number') (0008,0050)", formalDefinition="Accession Number is an identifier related to some aspect of imaging workflow and data management, and usage may vary across different institutions. \nSee for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf)." ) protected Identifier accession; /** @@ -2562,9 +2015,9 @@ public class ImagingStudy extends DomainResource { /** * A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19). */ - @Child(name = "modalityList", type = {CodeType.class}, order=6, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "modalityList", type = {Coding.class}, order=6, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="All series.modality if actual acquisition modalities", formalDefinition="A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19)." ) - protected List> modalityList; + protected List modalityList; /** * The requesting/referring physician. @@ -2616,9 +2069,14 @@ public class ImagingStudy extends DomainResource { /** * Type of procedure performed. */ - @Child(name = "procedure", type = {Coding.class}, order=13, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "procedure", type = {Procedure.class}, order=13, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Type of procedure performed (0008,1032)", formalDefinition="Type of procedure performed." ) - protected List procedure; + protected List procedure; + /** + * The actual objects that are the target of the reference (Type of procedure performed.) + */ + protected List procedureTarget; + /** * Who read study and interpreted the images. @@ -2646,7 +2104,7 @@ public class ImagingStudy extends DomainResource { @Description(shortDefinition="Each study has one or more series of instances", formalDefinition="Each study has one or more series of image instances." ) protected List series; - private static final long serialVersionUID = 206272292L; + private static final long serialVersionUID = -367817262L; /* * Constructor @@ -2805,7 +2263,8 @@ public class ImagingStudy extends DomainResource { } /** - * @return {@link #accession} (Accession Number.) + * @return {@link #accession} (Accession Number is an identifier related to some aspect of imaging workflow and data management, and usage may vary across different institutions. +See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf).) */ public Identifier getAccession() { if (this.accession == null) @@ -2821,7 +2280,8 @@ public class ImagingStudy extends DomainResource { } /** - * @param value {@link #accession} (Accession Number.) + * @param value {@link #accession} (Accession Number is an identifier related to some aspect of imaging workflow and data management, and usage may vary across different institutions. +See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf).) */ public ImagingStudy setAccession(Identifier value) { this.accession = value; @@ -2932,16 +2392,16 @@ public class ImagingStudy extends DomainResource { /** * @return {@link #modalityList} (A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).) */ - public List> getModalityList() { + public List getModalityList() { if (this.modalityList == null) - this.modalityList = new ArrayList>(); + this.modalityList = new ArrayList(); return this.modalityList; } public boolean hasModalityList() { if (this.modalityList == null) return false; - for (Enumeration item : this.modalityList) + for (Coding item : this.modalityList) if (!item.isEmpty()) return true; return false; @@ -2951,38 +2411,24 @@ public class ImagingStudy extends DomainResource { * @return {@link #modalityList} (A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).) */ // syntactic sugar - public Enumeration addModalityListElement() {//2 - Enumeration t = new Enumeration(new ImagingModalityEnumFactory()); + public Coding addModalityList() { //3 + Coding t = new Coding(); if (this.modalityList == null) - this.modalityList = new ArrayList>(); + this.modalityList = new ArrayList(); this.modalityList.add(t); return t; } - /** - * @param value {@link #modalityList} (A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).) - */ - public ImagingStudy addModalityList(ImagingModality value) { //1 - Enumeration t = new Enumeration(new ImagingModalityEnumFactory()); - t.setValue(value); + // syntactic sugar + public ImagingStudy addModalityList(Coding t) { //3 + if (t == null) + return this; if (this.modalityList == null) - this.modalityList = new ArrayList>(); + this.modalityList = new ArrayList(); this.modalityList.add(t); return this; } - /** - * @param value {@link #modalityList} (A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).) - */ - public boolean hasModalityList(ImagingModality value) { - if (this.modalityList == null) - return false; - for (Enumeration v : this.modalityList) - if (v.equals(value)) // code - return true; - return false; - } - /** * @return {@link #referrer} (The requesting/referring physician.) */ @@ -3267,16 +2713,16 @@ public class ImagingStudy extends DomainResource { /** * @return {@link #procedure} (Type of procedure performed.) */ - public List getProcedure() { + public List getProcedure() { if (this.procedure == null) - this.procedure = new ArrayList(); + this.procedure = new ArrayList(); return this.procedure; } public boolean hasProcedure() { if (this.procedure == null) return false; - for (Coding item : this.procedure) + for (Reference item : this.procedure) if (!item.isEmpty()) return true; return false; @@ -3286,24 +2732,45 @@ public class ImagingStudy extends DomainResource { * @return {@link #procedure} (Type of procedure performed.) */ // syntactic sugar - public Coding addProcedure() { //3 - Coding t = new Coding(); + public Reference addProcedure() { //3 + Reference t = new Reference(); if (this.procedure == null) - this.procedure = new ArrayList(); + this.procedure = new ArrayList(); this.procedure.add(t); return t; } // syntactic sugar - public ImagingStudy addProcedure(Coding t) { //3 + public ImagingStudy addProcedure(Reference t) { //3 if (t == null) return this; if (this.procedure == null) - this.procedure = new ArrayList(); + this.procedure = new ArrayList(); this.procedure.add(t); return this; } + /** + * @return {@link #procedure} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Type of procedure performed.) + */ + public List getProcedureTarget() { + if (this.procedureTarget == null) + this.procedureTarget = new ArrayList(); + return this.procedureTarget; + } + + // syntactic sugar + /** + * @return {@link #procedure} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Type of procedure performed.) + */ + public Procedure addProcedureTarget() { + Procedure r = new Procedure(); + if (this.procedureTarget == null) + this.procedureTarget = new ArrayList(); + this.procedureTarget.add(r); + return r; + } + /** * @return {@link #interpreter} (Who read study and interpreted the images.) */ @@ -3442,17 +2909,17 @@ public class ImagingStudy extends DomainResource { childrenList.add(new Property("started", "dateTime", "Date and Time the study started. Timezone Offset From UTC.", 0, java.lang.Integer.MAX_VALUE, started)); childrenList.add(new Property("patient", "Reference(Patient)", "The patient imaged in the study.", 0, java.lang.Integer.MAX_VALUE, patient)); childrenList.add(new Property("uid", "oid", "Formal identifier for the study.", 0, java.lang.Integer.MAX_VALUE, uid)); - childrenList.add(new Property("accession", "Identifier", "Accession Number.", 0, java.lang.Integer.MAX_VALUE, accession)); + childrenList.add(new Property("accession", "Identifier", "Accession Number is an identifier related to some aspect of imaging workflow and data management, and usage may vary across different institutions. \nSee for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf).", 0, java.lang.Integer.MAX_VALUE, accession)); childrenList.add(new Property("identifier", "Identifier", "Other identifiers for the study.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("order", "Reference(DiagnosticOrder)", "A list of the diagnostic orders that resulted in this imaging study being performed.", 0, java.lang.Integer.MAX_VALUE, order)); - childrenList.add(new Property("modalityList", "code", "A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).", 0, java.lang.Integer.MAX_VALUE, modalityList)); + childrenList.add(new Property("modalityList", "Coding", "A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).", 0, java.lang.Integer.MAX_VALUE, modalityList)); childrenList.add(new Property("referrer", "Reference(Practitioner)", "The requesting/referring physician.", 0, java.lang.Integer.MAX_VALUE, referrer)); childrenList.add(new Property("availability", "code", "Availability of study (online, offline or nearline).", 0, java.lang.Integer.MAX_VALUE, availability)); childrenList.add(new Property("url", "uri", "WADO-RS resource where Study is available.", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("numberOfSeries", "unsignedInt", "Number of Series in Study.", 0, java.lang.Integer.MAX_VALUE, numberOfSeries)); childrenList.add(new Property("numberOfInstances", "unsignedInt", "Number of SOP Instances in Study.", 0, java.lang.Integer.MAX_VALUE, numberOfInstances)); childrenList.add(new Property("clinicalInformation", "string", "Diagnoses etc provided with request.", 0, java.lang.Integer.MAX_VALUE, clinicalInformation)); - childrenList.add(new Property("procedure", "Coding", "Type of procedure performed.", 0, java.lang.Integer.MAX_VALUE, procedure)); + childrenList.add(new Property("procedure", "Reference(Procedure)", "Type of procedure performed.", 0, java.lang.Integer.MAX_VALUE, procedure)); childrenList.add(new Property("interpreter", "Reference(Practitioner)", "Who read study and interpreted the images.", 0, java.lang.Integer.MAX_VALUE, interpreter)); childrenList.add(new Property("description", "string", "Institution-generated description or classification of the Study performed.", 0, java.lang.Integer.MAX_VALUE, description)); childrenList.add(new Property("series", "", "Each study has one or more series of image instances.", 0, java.lang.Integer.MAX_VALUE, series)); @@ -3476,8 +2943,8 @@ public class ImagingStudy extends DomainResource { dst.order.add(i.copy()); }; if (modalityList != null) { - dst.modalityList = new ArrayList>(); - for (Enumeration i : modalityList) + dst.modalityList = new ArrayList(); + for (Coding i : modalityList) dst.modalityList.add(i.copy()); }; dst.referrer = referrer == null ? null : referrer.copy(); @@ -3487,8 +2954,8 @@ public class ImagingStudy extends DomainResource { dst.numberOfInstances = numberOfInstances == null ? null : numberOfInstances.copy(); dst.clinicalInformation = clinicalInformation == null ? null : clinicalInformation.copy(); if (procedure != null) { - dst.procedure = new ArrayList(); - for (Coding i : procedure) + dst.procedure = new ArrayList(); + for (Reference i : procedure) dst.procedure.add(i.copy()); }; dst.interpreter = interpreter == null ? null : interpreter.copy(); @@ -3528,10 +2995,10 @@ public class ImagingStudy extends DomainResource { if (!(other instanceof ImagingStudy)) return false; ImagingStudy o = (ImagingStudy) other; - return compareValues(started, o.started, true) && compareValues(uid, o.uid, true) && compareValues(modalityList, o.modalityList, true) - && compareValues(availability, o.availability, true) && compareValues(url, o.url, true) && compareValues(numberOfSeries, o.numberOfSeries, true) - && compareValues(numberOfInstances, o.numberOfInstances, true) && compareValues(clinicalInformation, o.clinicalInformation, true) - && compareValues(description, o.description, true); + return compareValues(started, o.started, true) && compareValues(uid, o.uid, true) && compareValues(availability, o.availability, true) + && compareValues(url, o.url, true) && compareValues(numberOfSeries, o.numberOfSeries, true) && compareValues(numberOfInstances, o.numberOfInstances, true) + && compareValues(clinicalInformation, o.clinicalInformation, true) && compareValues(description, o.description, true) + ; } public boolean isEmpty() { diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Immunization.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Immunization.java index eac21a9f5b8..3f8cb7290b2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Immunization.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Immunization.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -902,7 +902,7 @@ public class Immunization extends DomainResource { * Indicates if the vaccination was or was not given. */ @Child(name = "wasNotGiven", type = {BooleanType.class}, order=4, min=1, max=1) - @Description(shortDefinition="Was immunization given?", formalDefinition="Indicates if the vaccination was or was not given." ) + @Description(shortDefinition="Flag for whether immunization was given", formalDefinition="Indicates if the vaccination was or was not given." ) protected BooleanType wasNotGiven; /** diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImmunizationRecommendation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImmunizationRecommendation.java index 2daaa7293d7..f656e874d50 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImmunizationRecommendation.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImmunizationRecommendation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImplementationGuide.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImplementationGuide.java new file mode 100644 index 00000000000..55dfeb18f1a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ImplementationGuide.java @@ -0,0 +1,2295 @@ +package org.hl7.fhir.instance.model; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + +import java.util.*; + +import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.instance.model.Enumerations.*; +import org.hl7.fhir.instance.model.annotations.ResourceDef; +import org.hl7.fhir.instance.model.annotations.SearchParamDefinition; +import org.hl7.fhir.instance.model.annotations.Child; +import org.hl7.fhir.instance.model.annotations.Description; +import org.hl7.fhir.instance.model.annotations.Block; +import org.hl7.fhir.instance.model.api.*; +/** + * A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + */ +@ResourceDef(name="ImplementationGuide", profile="http://hl7.org/fhir/Profile/ImplementationGuide") +public class ImplementationGuide extends DomainResource { + + public enum PagePurpose { + /** + * The home page - the start page for the appendix + */ + HOME, + /** + * Introduction material + */ + INTRO, + /** + * General Content + */ + CONTENT, + /** + * Security Related Page + */ + SECURITY, + /** + * An appendix to the IG + */ + APPENDIX, + /** + * added to help the parsers + */ + NULL; + public static PagePurpose fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("home".equals(codeString)) + return HOME; + if ("intro".equals(codeString)) + return INTRO; + if ("content".equals(codeString)) + return CONTENT; + if ("security".equals(codeString)) + return SECURITY; + if ("appendix".equals(codeString)) + return APPENDIX; + throw new Exception("Unknown PagePurpose code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HOME: return "home"; + case INTRO: return "intro"; + case CONTENT: return "content"; + case SECURITY: return "security"; + case APPENDIX: return "appendix"; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case HOME: return "http://hl7.org/fhir/page-purpose"; + case INTRO: return "http://hl7.org/fhir/page-purpose"; + case CONTENT: return "http://hl7.org/fhir/page-purpose"; + case SECURITY: return "http://hl7.org/fhir/page-purpose"; + case APPENDIX: return "http://hl7.org/fhir/page-purpose"; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case HOME: return "The home page - the start page for the appendix"; + case INTRO: return "Introduction material"; + case CONTENT: return "General Content"; + case SECURITY: return "Security Related Page"; + case APPENDIX: return "An appendix to the IG"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HOME: return "Home Page"; + case INTRO: return "Introduction"; + case CONTENT: return "General Content"; + case SECURITY: return "Security Page"; + case APPENDIX: return "Appendix"; + default: return "?"; + } + } + } + + public static class PagePurposeEnumFactory implements EnumFactory { + public PagePurpose fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("home".equals(codeString)) + return PagePurpose.HOME; + if ("intro".equals(codeString)) + return PagePurpose.INTRO; + if ("content".equals(codeString)) + return PagePurpose.CONTENT; + if ("security".equals(codeString)) + return PagePurpose.SECURITY; + if ("appendix".equals(codeString)) + return PagePurpose.APPENDIX; + throw new IllegalArgumentException("Unknown PagePurpose code '"+codeString+"'"); + } + public String toCode(PagePurpose code) { + if (code == PagePurpose.HOME) + return "home"; + if (code == PagePurpose.INTRO) + return "intro"; + if (code == PagePurpose.CONTENT) + return "content"; + if (code == PagePurpose.SECURITY) + return "security"; + if (code == PagePurpose.APPENDIX) + return "appendix"; + return "?"; + } + } + + @Block() + public static class ImplementationGuideContactComponent extends BackboneElement implements IBaseBackboneElement { + /** + * The name of an individual to contact regarding the implementation guide. + */ + @Child(name = "name", type = {StringType.class}, order=1, min=0, max=1) + @Description(shortDefinition="Name of a individual to contact", formalDefinition="The name of an individual to contact regarding the implementation guide." ) + protected StringType name; + + /** + * Contact details for individual (if a name was provided) or the publisher. + */ + @Child(name = "telecom", type = {ContactPoint.class}, order=2, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Contact details for individual or publisher", formalDefinition="Contact details for individual (if a name was provided) or the publisher." ) + protected List telecom; + + private static final long serialVersionUID = -1179697803L; + + /* + * Constructor + */ + public ImplementationGuideContactComponent() { + super(); + } + + /** + * @return {@link #name} (The name of an individual to contact regarding the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuideContactComponent.name"); + else if (Configuration.doAutoCreate()) + this.name = new StringType(); // bb + return this.name; + } + + public boolean hasNameElement() { + return this.name != null && !this.name.isEmpty(); + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (The name of an individual to contact regarding the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public ImplementationGuideContactComponent setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return The name of an individual to contact regarding the implementation guide. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value The name of an individual to contact regarding the implementation guide. + */ + public ImplementationGuideContactComponent setName(String value) { + if (Utilities.noString(value)) + this.name = null; + else { + if (this.name == null) + this.name = new StringType(); + this.name.setValue(value); + } + return this; + } + + /** + * @return {@link #telecom} (Contact details for individual (if a name was provided) or the publisher.) + */ + public List getTelecom() { + if (this.telecom == null) + this.telecom = new ArrayList(); + return this.telecom; + } + + public boolean hasTelecom() { + if (this.telecom == null) + return false; + for (ContactPoint item : this.telecom) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #telecom} (Contact details for individual (if a name was provided) or the publisher.) + */ + // syntactic sugar + public ContactPoint addTelecom() { //3 + ContactPoint t = new ContactPoint(); + if (this.telecom == null) + this.telecom = new ArrayList(); + this.telecom.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuideContactComponent addTelecom(ContactPoint t) { //3 + if (t == null) + return this; + if (this.telecom == null) + this.telecom = new ArrayList(); + this.telecom.add(t); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("name", "string", "The name of an individual to contact regarding the implementation guide.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("telecom", "ContactPoint", "Contact details for individual (if a name was provided) or the publisher.", 0, java.lang.Integer.MAX_VALUE, telecom)); + } + + public ImplementationGuideContactComponent copy() { + ImplementationGuideContactComponent dst = new ImplementationGuideContactComponent(); + copyValues(dst); + dst.name = name == null ? null : name.copy(); + if (telecom != null) { + dst.telecom = new ArrayList(); + for (ContactPoint i : telecom) + dst.telecom.add(i.copy()); + }; + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuideContactComponent)) + return false; + ImplementationGuideContactComponent o = (ImplementationGuideContactComponent) other; + return compareDeep(name, o.name, true) && compareDeep(telecom, o.telecom, true); + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuideContactComponent)) + return false; + ImplementationGuideContactComponent o = (ImplementationGuideContactComponent) other; + return compareValues(name, o.name, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (name == null || name.isEmpty()) && (telecom == null || telecom.isEmpty()) + ; + } + + } + + @Block() + public static class ImplementationGuidePageComponent extends BackboneElement implements IBaseBackboneElement { + /** + * A URL that identifies the html page. + */ + @Child(name = "source", type = {UriType.class}, order=1, min=1, max=1) + @Description(shortDefinition="Source for the page", formalDefinition="A URL that identifies the html page." ) + protected UriType source; + + /** + * A code that specifies how the page is used in the IG. + */ + @Child(name = "purpose", type = {CodeType.class}, order=2, min=1, max=1) + @Description(shortDefinition="home | intro | content | security | appendix", formalDefinition="A code that specifies how the page is used in the IG." ) + protected Enumeration purpose; + + private static final long serialVersionUID = -1176194637L; + + /* + * Constructor + */ + public ImplementationGuidePageComponent() { + super(); + } + + /* + * Constructor + */ + public ImplementationGuidePageComponent(UriType source, Enumeration purpose) { + super(); + this.source = source; + this.purpose = purpose; + } + + /** + * @return {@link #source} (A URL that identifies the html page.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value + */ + public UriType getSourceElement() { + if (this.source == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePageComponent.source"); + else if (Configuration.doAutoCreate()) + this.source = new UriType(); // bb + return this.source; + } + + public boolean hasSourceElement() { + return this.source != null && !this.source.isEmpty(); + } + + public boolean hasSource() { + return this.source != null && !this.source.isEmpty(); + } + + /** + * @param value {@link #source} (A URL that identifies the html page.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value + */ + public ImplementationGuidePageComponent setSourceElement(UriType value) { + this.source = value; + return this; + } + + /** + * @return A URL that identifies the html page. + */ + public String getSource() { + return this.source == null ? null : this.source.getValue(); + } + + /** + * @param value A URL that identifies the html page. + */ + public ImplementationGuidePageComponent setSource(String value) { + if (this.source == null) + this.source = new UriType(); + this.source.setValue(value); + return this; + } + + /** + * @return {@link #purpose} (A code that specifies how the page is used in the IG.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value + */ + public Enumeration getPurposeElement() { + if (this.purpose == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePageComponent.purpose"); + else if (Configuration.doAutoCreate()) + this.purpose = new Enumeration(new PagePurposeEnumFactory()); // bb + return this.purpose; + } + + public boolean hasPurposeElement() { + return this.purpose != null && !this.purpose.isEmpty(); + } + + public boolean hasPurpose() { + return this.purpose != null && !this.purpose.isEmpty(); + } + + /** + * @param value {@link #purpose} (A code that specifies how the page is used in the IG.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value + */ + public ImplementationGuidePageComponent setPurposeElement(Enumeration value) { + this.purpose = value; + return this; + } + + /** + * @return A code that specifies how the page is used in the IG. + */ + public PagePurpose getPurpose() { + return this.purpose == null ? null : this.purpose.getValue(); + } + + /** + * @param value A code that specifies how the page is used in the IG. + */ + public ImplementationGuidePageComponent setPurpose(PagePurpose value) { + if (this.purpose == null) + this.purpose = new Enumeration(new PagePurposeEnumFactory()); + this.purpose.setValue(value); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("source", "uri", "A URL that identifies the html page.", 0, java.lang.Integer.MAX_VALUE, source)); + childrenList.add(new Property("purpose", "code", "A code that specifies how the page is used in the IG.", 0, java.lang.Integer.MAX_VALUE, purpose)); + } + + public ImplementationGuidePageComponent copy() { + ImplementationGuidePageComponent dst = new ImplementationGuidePageComponent(); + copyValues(dst); + dst.source = source == null ? null : source.copy(); + dst.purpose = purpose == null ? null : purpose.copy(); + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuidePageComponent)) + return false; + ImplementationGuidePageComponent o = (ImplementationGuidePageComponent) other; + return compareDeep(source, o.source, true) && compareDeep(purpose, o.purpose, true); + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuidePageComponent)) + return false; + ImplementationGuidePageComponent o = (ImplementationGuidePageComponent) other; + return compareValues(source, o.source, true) && compareValues(purpose, o.purpose, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (source == null || source.isEmpty()) && (purpose == null || purpose.isEmpty()) + ; + } + + } + + @Block() + public static class ImplementationGuidePackageComponent extends BackboneElement implements IBaseBackboneElement { + /** + * A human readable name that introduces the item. + */ + @Child(name = "name", type = {StringType.class}, order=1, min=1, max=1) + @Description(shortDefinition="Title of the item", formalDefinition="A human readable name that introduces the item." ) + protected StringType name; + + /** + * An item in the set of resources that is a section in the implementation Guide. + */ + @Child(name = "item", type = {}, order=2, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="An item in the section / package", formalDefinition="An item in the set of resources that is a section in the implementation Guide." ) + protected List item; + + /** + * An html page that is published with the Implementation Guide, as part of the package. + */ + @Child(name = "page", type = {ImplementationGuidePageComponent.class}, order=3, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Page in the Implementation Guide", formalDefinition="An html page that is published with the Implementation Guide, as part of the package." ) + protected List page; + + private static final long serialVersionUID = -110143794L; + + /* + * Constructor + */ + public ImplementationGuidePackageComponent() { + super(); + } + + /* + * Constructor + */ + public ImplementationGuidePackageComponent(StringType name) { + super(); + this.name = name; + } + + /** + * @return {@link #name} (A human readable name that introduces the item.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePackageComponent.name"); + else if (Configuration.doAutoCreate()) + this.name = new StringType(); // bb + return this.name; + } + + public boolean hasNameElement() { + return this.name != null && !this.name.isEmpty(); + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (A human readable name that introduces the item.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public ImplementationGuidePackageComponent setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return A human readable name that introduces the item. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value A human readable name that introduces the item. + */ + public ImplementationGuidePackageComponent setName(String value) { + if (this.name == null) + this.name = new StringType(); + this.name.setValue(value); + return this; + } + + /** + * @return {@link #item} (An item in the set of resources that is a section in the implementation Guide.) + */ + public List getItem() { + if (this.item == null) + this.item = new ArrayList(); + return this.item; + } + + public boolean hasItem() { + if (this.item == null) + return false; + for (ImplementationGuidePackageItemComponent item : this.item) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #item} (An item in the set of resources that is a section in the implementation Guide.) + */ + // syntactic sugar + public ImplementationGuidePackageItemComponent addItem() { //3 + ImplementationGuidePackageItemComponent t = new ImplementationGuidePackageItemComponent(); + if (this.item == null) + this.item = new ArrayList(); + this.item.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuidePackageComponent addItem(ImplementationGuidePackageItemComponent t) { //3 + if (t == null) + return this; + if (this.item == null) + this.item = new ArrayList(); + this.item.add(t); + return this; + } + + /** + * @return {@link #page} (An html page that is published with the Implementation Guide, as part of the package.) + */ + public List getPage() { + if (this.page == null) + this.page = new ArrayList(); + return this.page; + } + + public boolean hasPage() { + if (this.page == null) + return false; + for (ImplementationGuidePageComponent item : this.page) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #page} (An html page that is published with the Implementation Guide, as part of the package.) + */ + // syntactic sugar + public ImplementationGuidePageComponent addPage() { //3 + ImplementationGuidePageComponent t = new ImplementationGuidePageComponent(); + if (this.page == null) + this.page = new ArrayList(); + this.page.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuidePackageComponent addPage(ImplementationGuidePageComponent t) { //3 + if (t == null) + return this; + if (this.page == null) + this.page = new ArrayList(); + this.page.add(t); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("name", "string", "A human readable name that introduces the item.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("item", "", "An item in the set of resources that is a section in the implementation Guide.", 0, java.lang.Integer.MAX_VALUE, item)); + childrenList.add(new Property("page", "@ImplementationGuide.page", "An html page that is published with the Implementation Guide, as part of the package.", 0, java.lang.Integer.MAX_VALUE, page)); + } + + public ImplementationGuidePackageComponent copy() { + ImplementationGuidePackageComponent dst = new ImplementationGuidePackageComponent(); + copyValues(dst); + dst.name = name == null ? null : name.copy(); + if (item != null) { + dst.item = new ArrayList(); + for (ImplementationGuidePackageItemComponent i : item) + dst.item.add(i.copy()); + }; + if (page != null) { + dst.page = new ArrayList(); + for (ImplementationGuidePageComponent i : page) + dst.page.add(i.copy()); + }; + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuidePackageComponent)) + return false; + ImplementationGuidePackageComponent o = (ImplementationGuidePackageComponent) other; + return compareDeep(name, o.name, true) && compareDeep(item, o.item, true) && compareDeep(page, o.page, true) + ; + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuidePackageComponent)) + return false; + ImplementationGuidePackageComponent o = (ImplementationGuidePackageComponent) other; + return compareValues(name, o.name, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (name == null || name.isEmpty()) && (item == null || item.isEmpty()) + && (page == null || page.isEmpty()); + } + + } + + @Block() + public static class ImplementationGuidePackageItemComponent extends BackboneElement implements IBaseBackboneElement { + /** + * A human readable name that introduces the package. + */ + @Child(name = "name", type = {StringType.class}, order=1, min=0, max=1) + @Description(shortDefinition="Title of the package", formalDefinition="A human readable name that introduces the package." ) + protected StringType name; + + /** + * A reference to a conformance resource that is part of the implementation Guide. + */ + @Child(name = "content", type = {}, order=2, min=1, max=1) + @Description(shortDefinition="StructureDefinition, ConformanceStatement, ValueSet, DataElement etc", formalDefinition="A reference to a conformance resource that is part of the implementation Guide." ) + protected Reference content; + + /** + * The actual object that is the target of the reference (A reference to a conformance resource that is part of the implementation Guide.) + */ + protected Resource contentTarget; + + /** + * If the item is a structure definition, an example that conforms to the structure definition. + */ + @Child(name = "example", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="An example (If Item is StructureDefinition)", formalDefinition="If the item is a structure definition, an example that conforms to the structure definition." ) + protected List example; + + private static final long serialVersionUID = -1640700896L; + + /* + * Constructor + */ + public ImplementationGuidePackageItemComponent() { + super(); + } + + /* + * Constructor + */ + public ImplementationGuidePackageItemComponent(Reference content) { + super(); + this.content = content; + } + + /** + * @return {@link #name} (A human readable name that introduces the package.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePackageItemComponent.name"); + else if (Configuration.doAutoCreate()) + this.name = new StringType(); // bb + return this.name; + } + + public boolean hasNameElement() { + return this.name != null && !this.name.isEmpty(); + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (A human readable name that introduces the package.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public ImplementationGuidePackageItemComponent setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return A human readable name that introduces the package. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value A human readable name that introduces the package. + */ + public ImplementationGuidePackageItemComponent setName(String value) { + if (Utilities.noString(value)) + this.name = null; + else { + if (this.name == null) + this.name = new StringType(); + this.name.setValue(value); + } + return this; + } + + /** + * @return {@link #content} (A reference to a conformance resource that is part of the implementation Guide.) + */ + public Reference getContent() { + if (this.content == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePackageItemComponent.content"); + else if (Configuration.doAutoCreate()) + this.content = new Reference(); // cc + return this.content; + } + + public boolean hasContent() { + return this.content != null && !this.content.isEmpty(); + } + + /** + * @param value {@link #content} (A reference to a conformance resource that is part of the implementation Guide.) + */ + public ImplementationGuidePackageItemComponent setContent(Reference value) { + this.content = value; + return this; + } + + /** + * @return {@link #content} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to a conformance resource that is part of the implementation Guide.) + */ + public Resource getContentTarget() { + return this.contentTarget; + } + + /** + * @param value {@link #content} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A reference to a conformance resource that is part of the implementation Guide.) + */ + public ImplementationGuidePackageItemComponent setContentTarget(Resource value) { + this.contentTarget = value; + return this; + } + + /** + * @return {@link #example} (If the item is a structure definition, an example that conforms to the structure definition.) + */ + public List getExample() { + if (this.example == null) + this.example = new ArrayList(); + return this.example; + } + + public boolean hasExample() { + if (this.example == null) + return false; + for (ImplementationGuidePackageItemExampleComponent item : this.example) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #example} (If the item is a structure definition, an example that conforms to the structure definition.) + */ + // syntactic sugar + public ImplementationGuidePackageItemExampleComponent addExample() { //3 + ImplementationGuidePackageItemExampleComponent t = new ImplementationGuidePackageItemExampleComponent(); + if (this.example == null) + this.example = new ArrayList(); + this.example.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuidePackageItemComponent addExample(ImplementationGuidePackageItemExampleComponent t) { //3 + if (t == null) + return this; + if (this.example == null) + this.example = new ArrayList(); + this.example.add(t); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("name", "string", "A human readable name that introduces the package.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("content", "Reference(Any)", "A reference to a conformance resource that is part of the implementation Guide.", 0, java.lang.Integer.MAX_VALUE, content)); + childrenList.add(new Property("example", "", "If the item is a structure definition, an example that conforms to the structure definition.", 0, java.lang.Integer.MAX_VALUE, example)); + } + + public ImplementationGuidePackageItemComponent copy() { + ImplementationGuidePackageItemComponent dst = new ImplementationGuidePackageItemComponent(); + copyValues(dst); + dst.name = name == null ? null : name.copy(); + dst.content = content == null ? null : content.copy(); + if (example != null) { + dst.example = new ArrayList(); + for (ImplementationGuidePackageItemExampleComponent i : example) + dst.example.add(i.copy()); + }; + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuidePackageItemComponent)) + return false; + ImplementationGuidePackageItemComponent o = (ImplementationGuidePackageItemComponent) other; + return compareDeep(name, o.name, true) && compareDeep(content, o.content, true) && compareDeep(example, o.example, true) + ; + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuidePackageItemComponent)) + return false; + ImplementationGuidePackageItemComponent o = (ImplementationGuidePackageItemComponent) other; + return compareValues(name, o.name, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (name == null || name.isEmpty()) && (content == null || content.isEmpty()) + && (example == null || example.isEmpty()); + } + + } + + @Block() + public static class ImplementationGuidePackageItemExampleComponent extends BackboneElement implements IBaseBackboneElement { + /** + * A human readable name that introduces the example. + */ + @Child(name = "name", type = {StringType.class}, order=1, min=1, max=1) + @Description(shortDefinition="Title of the example", formalDefinition="A human readable name that introduces the example." ) + protected StringType name; + + /** + * A reference to a resource that is an example for a structure definition. + */ + @Child(name = "target", type = {}, order=2, min=1, max=1) + @Description(shortDefinition="Example for a StructureDefinition", formalDefinition="A reference to a resource that is an example for a structure definition." ) + protected Reference target; + + /** + * The actual object that is the target of the reference (A reference to a resource that is an example for a structure definition.) + */ + protected Resource targetTarget; + + /** + * Additional text that explains why the example was provided (e.g. what to look for in it). + */ + @Child(name = "description", type = {StringType.class}, order=3, min=1, max=1) + @Description(shortDefinition="Explanatory Text", formalDefinition="Additional text that explains why the example was provided (e.g. what to look for in it)." ) + protected StringType description; + + private static final long serialVersionUID = -1636938221L; + + /* + * Constructor + */ + public ImplementationGuidePackageItemExampleComponent() { + super(); + } + + /* + * Constructor + */ + public ImplementationGuidePackageItemExampleComponent(StringType name, Reference target, StringType description) { + super(); + this.name = name; + this.target = target; + this.description = description; + } + + /** + * @return {@link #name} (A human readable name that introduces the example.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePackageItemExampleComponent.name"); + else if (Configuration.doAutoCreate()) + this.name = new StringType(); // bb + return this.name; + } + + public boolean hasNameElement() { + return this.name != null && !this.name.isEmpty(); + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (A human readable name that introduces the example.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public ImplementationGuidePackageItemExampleComponent setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return A human readable name that introduces the example. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value A human readable name that introduces the example. + */ + public ImplementationGuidePackageItemExampleComponent setName(String value) { + if (this.name == null) + this.name = new StringType(); + this.name.setValue(value); + return this; + } + + /** + * @return {@link #target} (A reference to a resource that is an example for a structure definition.) + */ + public Reference getTarget() { + if (this.target == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePackageItemExampleComponent.target"); + else if (Configuration.doAutoCreate()) + this.target = new Reference(); // cc + return this.target; + } + + public boolean hasTarget() { + return this.target != null && !this.target.isEmpty(); + } + + /** + * @param value {@link #target} (A reference to a resource that is an example for a structure definition.) + */ + public ImplementationGuidePackageItemExampleComponent setTarget(Reference value) { + this.target = value; + return this; + } + + /** + * @return {@link #target} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to a resource that is an example for a structure definition.) + */ + public Resource getTargetTarget() { + return this.targetTarget; + } + + /** + * @param value {@link #target} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A reference to a resource that is an example for a structure definition.) + */ + public ImplementationGuidePackageItemExampleComponent setTargetTarget(Resource value) { + this.targetTarget = value; + return this; + } + + /** + * @return {@link #description} (Additional text that explains why the example was provided (e.g. what to look for in it).). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public StringType getDescriptionElement() { + if (this.description == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuidePackageItemExampleComponent.description"); + else if (Configuration.doAutoCreate()) + this.description = new StringType(); // bb + return this.description; + } + + public boolean hasDescriptionElement() { + return this.description != null && !this.description.isEmpty(); + } + + public boolean hasDescription() { + return this.description != null && !this.description.isEmpty(); + } + + /** + * @param value {@link #description} (Additional text that explains why the example was provided (e.g. what to look for in it).). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public ImplementationGuidePackageItemExampleComponent setDescriptionElement(StringType value) { + this.description = value; + return this; + } + + /** + * @return Additional text that explains why the example was provided (e.g. what to look for in it). + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value Additional text that explains why the example was provided (e.g. what to look for in it). + */ + public ImplementationGuidePackageItemExampleComponent setDescription(String value) { + if (this.description == null) + this.description = new StringType(); + this.description.setValue(value); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("name", "string", "A human readable name that introduces the example.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("target", "Reference(Any)", "A reference to a resource that is an example for a structure definition.", 0, java.lang.Integer.MAX_VALUE, target)); + childrenList.add(new Property("description", "string", "Additional text that explains why the example was provided (e.g. what to look for in it).", 0, java.lang.Integer.MAX_VALUE, description)); + } + + public ImplementationGuidePackageItemExampleComponent copy() { + ImplementationGuidePackageItemExampleComponent dst = new ImplementationGuidePackageItemExampleComponent(); + copyValues(dst); + dst.name = name == null ? null : name.copy(); + dst.target = target == null ? null : target.copy(); + dst.description = description == null ? null : description.copy(); + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuidePackageItemExampleComponent)) + return false; + ImplementationGuidePackageItemExampleComponent o = (ImplementationGuidePackageItemExampleComponent) other; + return compareDeep(name, o.name, true) && compareDeep(target, o.target, true) && compareDeep(description, o.description, true) + ; + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuidePackageItemExampleComponent)) + return false; + ImplementationGuidePackageItemExampleComponent o = (ImplementationGuidePackageItemExampleComponent) other; + return compareValues(name, o.name, true) && compareValues(description, o.description, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (name == null || name.isEmpty()) && (target == null || target.isEmpty()) + && (description == null || description.isEmpty()); + } + + } + + @Block() + public static class ImplementationGuideDefaultComponent extends BackboneElement implements IBaseBackboneElement { + /** + * The type of resource that this default applies to. + */ + @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1) + @Description(shortDefinition="Type of resource default applies to", formalDefinition="The type of resource that this default applies to." ) + protected CodeType type; + + /** + * The profile (StructureDefinition resource) that applies by default. + */ + @Child(name = "profile", type = {StructureDefinition.class}, order=2, min=1, max=1) + @Description(shortDefinition="StructureDefinition that applies by default", formalDefinition="The profile (StructureDefinition resource) that applies by default." ) + protected Reference profile; + + /** + * The actual object that is the target of the reference (The profile (StructureDefinition resource) that applies by default.) + */ + protected StructureDefinition profileTarget; + + private static final long serialVersionUID = 2011731959L; + + /* + * Constructor + */ + public ImplementationGuideDefaultComponent() { + super(); + } + + /* + * Constructor + */ + public ImplementationGuideDefaultComponent(CodeType type, Reference profile) { + super(); + this.type = type; + this.profile = profile; + } + + /** + * @return {@link #type} (The type of resource that this default applies to.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + */ + public CodeType getTypeElement() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuideDefaultComponent.type"); + else if (Configuration.doAutoCreate()) + this.type = new CodeType(); // bb + return this.type; + } + + public boolean hasTypeElement() { + return this.type != null && !this.type.isEmpty(); + } + + public boolean hasType() { + return this.type != null && !this.type.isEmpty(); + } + + /** + * @param value {@link #type} (The type of resource that this default applies to.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + */ + public ImplementationGuideDefaultComponent setTypeElement(CodeType value) { + this.type = value; + return this; + } + + /** + * @return The type of resource that this default applies to. + */ + public String getType() { + return this.type == null ? null : this.type.getValue(); + } + + /** + * @param value The type of resource that this default applies to. + */ + public ImplementationGuideDefaultComponent setType(String value) { + if (this.type == null) + this.type = new CodeType(); + this.type.setValue(value); + return this; + } + + /** + * @return {@link #profile} (The profile (StructureDefinition resource) that applies by default.) + */ + public Reference getProfile() { + if (this.profile == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuideDefaultComponent.profile"); + else if (Configuration.doAutoCreate()) + this.profile = new Reference(); // cc + return this.profile; + } + + public boolean hasProfile() { + return this.profile != null && !this.profile.isEmpty(); + } + + /** + * @param value {@link #profile} (The profile (StructureDefinition resource) that applies by default.) + */ + public ImplementationGuideDefaultComponent setProfile(Reference value) { + this.profile = value; + return this; + } + + /** + * @return {@link #profile} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The profile (StructureDefinition resource) that applies by default.) + */ + public StructureDefinition getProfileTarget() { + if (this.profileTarget == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuideDefaultComponent.profile"); + else if (Configuration.doAutoCreate()) + this.profileTarget = new StructureDefinition(); // aa + return this.profileTarget; + } + + /** + * @param value {@link #profile} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The profile (StructureDefinition resource) that applies by default.) + */ + public ImplementationGuideDefaultComponent setProfileTarget(StructureDefinition value) { + this.profileTarget = value; + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("type", "code", "The type of resource that this default applies to.", 0, java.lang.Integer.MAX_VALUE, type)); + childrenList.add(new Property("profile", "Reference(StructureDefinition)", "The profile (StructureDefinition resource) that applies by default.", 0, java.lang.Integer.MAX_VALUE, profile)); + } + + public ImplementationGuideDefaultComponent copy() { + ImplementationGuideDefaultComponent dst = new ImplementationGuideDefaultComponent(); + copyValues(dst); + dst.type = type == null ? null : type.copy(); + dst.profile = profile == null ? null : profile.copy(); + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuideDefaultComponent)) + return false; + ImplementationGuideDefaultComponent o = (ImplementationGuideDefaultComponent) other; + return compareDeep(type, o.type, true) && compareDeep(profile, o.profile, true); + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuideDefaultComponent)) + return false; + ImplementationGuideDefaultComponent o = (ImplementationGuideDefaultComponent) other; + return compareValues(type, o.type, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (type == null || type.isEmpty()) && (profile == null || profile.isEmpty()) + ; + } + + } + + /** + * An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements. + */ + @Child(name = "url", type = {UriType.class}, order=0, min=1, max=1) + @Description(shortDefinition="Literal URL used to reference this Implementation Guide", formalDefinition="An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements." ) + protected UriType url; + + /** + * The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually. + */ + @Child(name = "version", type = {StringType.class}, order=1, min=0, max=1) + @Description(shortDefinition="Logical id for this version of the Implementation Guide", formalDefinition="The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually." ) + protected StringType version; + + /** + * A free text natural language name identifying the Implementation Guide. + */ + @Child(name = "name", type = {StringType.class}, order=2, min=1, max=1) + @Description(shortDefinition="Informal name for this Implementation Guide", formalDefinition="A free text natural language name identifying the Implementation Guide." ) + protected StringType name; + + /** + * The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdication for which this implementation guide was defined. + */ + @Child(name = "useContext", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="The implementation guide is intended to support these contexts", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdication for which this implementation guide was defined." ) + protected List useContext; + + /** + * The name of the individual or organization that published the implementation guide. + */ + @Child(name = "publisher", type = {StringType.class}, order=4, min=0, max=1) + @Description(shortDefinition="Name of the publisher (Organization or individual)", formalDefinition="The name of the individual or organization that published the implementation guide." ) + protected StringType publisher; + + /** + * Contacts to assist a user in finding and communicating with the publisher. + */ + @Child(name = "contact", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Contact details of the publisher", formalDefinition="Contacts to assist a user in finding and communicating with the publisher." ) + protected List contact; + + /** + * A free text natural language description of the Implementation Guide and its use. + */ + @Child(name = "description", type = {StringType.class}, order=6, min=0, max=1) + @Description(shortDefinition="Natural language description of the Implementation Guide", formalDefinition="A free text natural language description of the Implementation Guide and its use." ) + protected StringType description; + + /** + * A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. + */ + @Child(name = "copyright", type = {StringType.class}, order=7, min=0, max=1) + @Description(shortDefinition="Use and/or Publishing restrictions", formalDefinition="A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings." ) + protected StringType copyright; + + /** + * A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + */ + @Child(name = "code", type = {Coding.class}, order=8, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Assist with indexing and finding", formalDefinition="A set of terms from external terminologies that may be used to assist with indexing and searching of templates." ) + protected List code; + + /** + * The status of the Implementation Guide. + */ + @Child(name = "status", type = {CodeType.class}, order=9, min=1, max=1) + @Description(shortDefinition="draft | active | retired", formalDefinition="The status of the Implementation Guide." ) + protected Enumeration status; + + /** + * This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + */ + @Child(name = "experimental", type = {BooleanType.class}, order=10, min=0, max=1) + @Description(shortDefinition="If for testing purposes, not real usage", formalDefinition="This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage." ) + protected BooleanType experimental; + + /** + * The date that this version of the Implementation Guide was published. + */ + @Child(name = "date", type = {DateTimeType.class}, order=11, min=0, max=1) + @Description(shortDefinition="Date for this version of the Implementation Guide", formalDefinition="The date that this version of the Implementation Guide was published." ) + protected DateTimeType date; + + /** + * The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version. + */ + @Child(name = "fhirVersion", type = {IdType.class}, order=12, min=0, max=1) + @Description(shortDefinition="FHIR Version this Implementation Guide targets", formalDefinition="The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version." ) + protected IdType fhirVersion; + + /** + * An html page that is published with the Implementation Guide. + */ + @Child(name = "page", type = {}, order=13, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Page in the Implementation Guide", formalDefinition="An html page that is published with the Implementation Guide." ) + protected List page; + + /** + * A logical set of resources that is a section in the implementation Guide. + */ + @Child(name = "package_", type = {}, order=14, min=1, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="A section in the IG", formalDefinition="A logical set of resources that is a section in the implementation Guide." ) + protected List package_; + + /** + * A default profile that applies to a particular resource type. Whenever a resource type is referenced in any structure definition (explicitly, or by inheritance from the base specification), and no explicit profile is applied, then this default profile applies. + */ + @Child(name = "default_", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Applies when no explicit profile applied", formalDefinition="A default profile that applies to a particular resource type. Whenever a resource type is referenced in any structure definition (explicitly, or by inheritance from the base specification), and no explicit profile is applied, then this default profile applies." ) + protected List default_; + + private static final long serialVersionUID = 2099417617L; + + /* + * Constructor + */ + public ImplementationGuide() { + super(); + } + + /* + * Constructor + */ + public ImplementationGuide(UriType url, StringType name, Enumeration status) { + super(); + this.url = url; + this.name = name; + this.status = status; + } + + /** + * @return {@link #url} (An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + */ + public UriType getUrlElement() { + if (this.url == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.url"); + else if (Configuration.doAutoCreate()) + this.url = new UriType(); // bb + return this.url; + } + + public boolean hasUrlElement() { + return this.url != null && !this.url.isEmpty(); + } + + public boolean hasUrl() { + return this.url != null && !this.url.isEmpty(); + } + + /** + * @param value {@link #url} (An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + */ + public ImplementationGuide setUrlElement(UriType value) { + this.url = value; + return this; + } + + /** + * @return An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements. + */ + public String getUrl() { + return this.url == null ? null : this.url.getValue(); + } + + /** + * @param value An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements. + */ + public ImplementationGuide setUrl(String value) { + if (this.url == null) + this.url = new UriType(); + this.url.setValue(value); + return this; + } + + /** + * @return {@link #version} (The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + */ + public StringType getVersionElement() { + if (this.version == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.version"); + else if (Configuration.doAutoCreate()) + this.version = new StringType(); // bb + return this.version; + } + + public boolean hasVersionElement() { + return this.version != null && !this.version.isEmpty(); + } + + public boolean hasVersion() { + return this.version != null && !this.version.isEmpty(); + } + + /** + * @param value {@link #version} (The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + */ + public ImplementationGuide setVersionElement(StringType value) { + this.version = value; + return this; + } + + /** + * @return The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually. + */ + public String getVersion() { + return this.version == null ? null : this.version.getValue(); + } + + /** + * @param value The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually. + */ + public ImplementationGuide setVersion(String value) { + if (Utilities.noString(value)) + this.version = null; + else { + if (this.version == null) + this.version = new StringType(); + this.version.setValue(value); + } + return this; + } + + /** + * @return {@link #name} (A free text natural language name identifying the Implementation Guide.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.name"); + else if (Configuration.doAutoCreate()) + this.name = new StringType(); // bb + return this.name; + } + + public boolean hasNameElement() { + return this.name != null && !this.name.isEmpty(); + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (A free text natural language name identifying the Implementation Guide.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public ImplementationGuide setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return A free text natural language name identifying the Implementation Guide. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value A free text natural language name identifying the Implementation Guide. + */ + public ImplementationGuide setName(String value) { + if (this.name == null) + this.name = new StringType(); + this.name.setValue(value); + return this; + } + + /** + * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdication for which this implementation guide was defined.) + */ + public List getUseContext() { + if (this.useContext == null) + this.useContext = new ArrayList(); + return this.useContext; + } + + public boolean hasUseContext() { + if (this.useContext == null) + return false; + for (CodeableConcept item : this.useContext) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdication for which this implementation guide was defined.) + */ + // syntactic sugar + public CodeableConcept addUseContext() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.useContext == null) + this.useContext = new ArrayList(); + this.useContext.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuide addUseContext(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.useContext == null) + this.useContext = new ArrayList(); + this.useContext.add(t); + return this; + } + + /** + * @return {@link #publisher} (The name of the individual or organization that published the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value + */ + public StringType getPublisherElement() { + if (this.publisher == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.publisher"); + else if (Configuration.doAutoCreate()) + this.publisher = new StringType(); // bb + return this.publisher; + } + + public boolean hasPublisherElement() { + return this.publisher != null && !this.publisher.isEmpty(); + } + + public boolean hasPublisher() { + return this.publisher != null && !this.publisher.isEmpty(); + } + + /** + * @param value {@link #publisher} (The name of the individual or organization that published the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value + */ + public ImplementationGuide setPublisherElement(StringType value) { + this.publisher = value; + return this; + } + + /** + * @return The name of the individual or organization that published the implementation guide. + */ + public String getPublisher() { + return this.publisher == null ? null : this.publisher.getValue(); + } + + /** + * @param value The name of the individual or organization that published the implementation guide. + */ + public ImplementationGuide setPublisher(String value) { + if (Utilities.noString(value)) + this.publisher = null; + else { + if (this.publisher == null) + this.publisher = new StringType(); + this.publisher.setValue(value); + } + return this; + } + + /** + * @return {@link #contact} (Contacts to assist a user in finding and communicating with the publisher.) + */ + public List getContact() { + if (this.contact == null) + this.contact = new ArrayList(); + return this.contact; + } + + public boolean hasContact() { + if (this.contact == null) + return false; + for (ImplementationGuideContactComponent item : this.contact) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #contact} (Contacts to assist a user in finding and communicating with the publisher.) + */ + // syntactic sugar + public ImplementationGuideContactComponent addContact() { //3 + ImplementationGuideContactComponent t = new ImplementationGuideContactComponent(); + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuide addContact(ImplementationGuideContactComponent t) { //3 + if (t == null) + return this; + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return this; + } + + /** + * @return {@link #description} (A free text natural language description of the Implementation Guide and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public StringType getDescriptionElement() { + if (this.description == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.description"); + else if (Configuration.doAutoCreate()) + this.description = new StringType(); // bb + return this.description; + } + + public boolean hasDescriptionElement() { + return this.description != null && !this.description.isEmpty(); + } + + public boolean hasDescription() { + return this.description != null && !this.description.isEmpty(); + } + + /** + * @param value {@link #description} (A free text natural language description of the Implementation Guide and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public ImplementationGuide setDescriptionElement(StringType value) { + this.description = value; + return this; + } + + /** + * @return A free text natural language description of the Implementation Guide and its use. + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value A free text natural language description of the Implementation Guide and its use. + */ + public ImplementationGuide setDescription(String value) { + if (Utilities.noString(value)) + this.description = null; + else { + if (this.description == null) + this.description = new StringType(); + this.description.setValue(value); + } + return this; + } + + /** + * @return {@link #copyright} (A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value + */ + public StringType getCopyrightElement() { + if (this.copyright == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.copyright"); + else if (Configuration.doAutoCreate()) + this.copyright = new StringType(); // bb + return this.copyright; + } + + public boolean hasCopyrightElement() { + return this.copyright != null && !this.copyright.isEmpty(); + } + + public boolean hasCopyright() { + return this.copyright != null && !this.copyright.isEmpty(); + } + + /** + * @param value {@link #copyright} (A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value + */ + public ImplementationGuide setCopyrightElement(StringType value) { + this.copyright = value; + return this; + } + + /** + * @return A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. + */ + public String getCopyright() { + return this.copyright == null ? null : this.copyright.getValue(); + } + + /** + * @param value A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. + */ + public ImplementationGuide setCopyright(String value) { + if (Utilities.noString(value)) + this.copyright = null; + else { + if (this.copyright == null) + this.copyright = new StringType(); + this.copyright.setValue(value); + } + return this; + } + + /** + * @return {@link #code} (A set of terms from external terminologies that may be used to assist with indexing and searching of templates.) + */ + public List getCode() { + if (this.code == null) + this.code = new ArrayList(); + return this.code; + } + + public boolean hasCode() { + if (this.code == null) + return false; + for (Coding item : this.code) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #code} (A set of terms from external terminologies that may be used to assist with indexing and searching of templates.) + */ + // syntactic sugar + public Coding addCode() { //3 + Coding t = new Coding(); + if (this.code == null) + this.code = new ArrayList(); + this.code.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuide addCode(Coding t) { //3 + if (t == null) + return this; + if (this.code == null) + this.code = new ArrayList(); + this.code.add(t); + return this; + } + + /** + * @return {@link #status} (The status of the Implementation Guide.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + */ + public Enumeration getStatusElement() { + if (this.status == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.status"); + else if (Configuration.doAutoCreate()) + this.status = new Enumeration(new ConformanceResourceStatusEnumFactory()); // bb + return this.status; + } + + public boolean hasStatusElement() { + return this.status != null && !this.status.isEmpty(); + } + + public boolean hasStatus() { + return this.status != null && !this.status.isEmpty(); + } + + /** + * @param value {@link #status} (The status of the Implementation Guide.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + */ + public ImplementationGuide setStatusElement(Enumeration value) { + this.status = value; + return this; + } + + /** + * @return The status of the Implementation Guide. + */ + public ConformanceResourceStatus getStatus() { + return this.status == null ? null : this.status.getValue(); + } + + /** + * @param value The status of the Implementation Guide. + */ + public ImplementationGuide setStatus(ConformanceResourceStatus value) { + if (this.status == null) + this.status = new Enumeration(new ConformanceResourceStatusEnumFactory()); + this.status.setValue(value); + return this; + } + + /** + * @return {@link #experimental} (This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value + */ + public BooleanType getExperimentalElement() { + if (this.experimental == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.experimental"); + else if (Configuration.doAutoCreate()) + this.experimental = new BooleanType(); // bb + return this.experimental; + } + + public boolean hasExperimentalElement() { + return this.experimental != null && !this.experimental.isEmpty(); + } + + public boolean hasExperimental() { + return this.experimental != null && !this.experimental.isEmpty(); + } + + /** + * @param value {@link #experimental} (This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value + */ + public ImplementationGuide setExperimentalElement(BooleanType value) { + this.experimental = value; + return this; + } + + /** + * @return This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + */ + public boolean getExperimental() { + return this.experimental == null || this.experimental.isEmpty() ? false : this.experimental.getValue(); + } + + /** + * @param value This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + */ + public ImplementationGuide setExperimental(boolean value) { + if (this.experimental == null) + this.experimental = new BooleanType(); + this.experimental.setValue(value); + return this; + } + + /** + * @return {@link #date} (The date that this version of the Implementation Guide was published.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + */ + public DateTimeType getDateElement() { + if (this.date == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.date"); + else if (Configuration.doAutoCreate()) + this.date = new DateTimeType(); // bb + return this.date; + } + + public boolean hasDateElement() { + return this.date != null && !this.date.isEmpty(); + } + + public boolean hasDate() { + return this.date != null && !this.date.isEmpty(); + } + + /** + * @param value {@link #date} (The date that this version of the Implementation Guide was published.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + */ + public ImplementationGuide setDateElement(DateTimeType value) { + this.date = value; + return this; + } + + /** + * @return The date that this version of the Implementation Guide was published. + */ + public Date getDate() { + return this.date == null ? null : this.date.getValue(); + } + + /** + * @param value The date that this version of the Implementation Guide was published. + */ + public ImplementationGuide setDate(Date value) { + if (value == null) + this.date = null; + else { + if (this.date == null) + this.date = new DateTimeType(); + this.date.setValue(value); + } + return this; + } + + /** + * @return {@link #fhirVersion} (The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value + */ + public IdType getFhirVersionElement() { + if (this.fhirVersion == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImplementationGuide.fhirVersion"); + else if (Configuration.doAutoCreate()) + this.fhirVersion = new IdType(); // bb + return this.fhirVersion; + } + + public boolean hasFhirVersionElement() { + return this.fhirVersion != null && !this.fhirVersion.isEmpty(); + } + + public boolean hasFhirVersion() { + return this.fhirVersion != null && !this.fhirVersion.isEmpty(); + } + + /** + * @param value {@link #fhirVersion} (The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value + */ + public ImplementationGuide setFhirVersionElement(IdType value) { + this.fhirVersion = value; + return this; + } + + /** + * @return The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version. + */ + public String getFhirVersion() { + return this.fhirVersion == null ? null : this.fhirVersion.getValue(); + } + + /** + * @param value The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version. + */ + public ImplementationGuide setFhirVersion(String value) { + if (Utilities.noString(value)) + this.fhirVersion = null; + else { + if (this.fhirVersion == null) + this.fhirVersion = new IdType(); + this.fhirVersion.setValue(value); + } + return this; + } + + /** + * @return {@link #page} (An html page that is published with the Implementation Guide.) + */ + public List getPage() { + if (this.page == null) + this.page = new ArrayList(); + return this.page; + } + + public boolean hasPage() { + if (this.page == null) + return false; + for (ImplementationGuidePageComponent item : this.page) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #page} (An html page that is published with the Implementation Guide.) + */ + // syntactic sugar + public ImplementationGuidePageComponent addPage() { //3 + ImplementationGuidePageComponent t = new ImplementationGuidePageComponent(); + if (this.page == null) + this.page = new ArrayList(); + this.page.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuide addPage(ImplementationGuidePageComponent t) { //3 + if (t == null) + return this; + if (this.page == null) + this.page = new ArrayList(); + this.page.add(t); + return this; + } + + /** + * @return {@link #package_} (A logical set of resources that is a section in the implementation Guide.) + */ + public List getPackage() { + if (this.package_ == null) + this.package_ = new ArrayList(); + return this.package_; + } + + public boolean hasPackage() { + if (this.package_ == null) + return false; + for (ImplementationGuidePackageComponent item : this.package_) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #package_} (A logical set of resources that is a section in the implementation Guide.) + */ + // syntactic sugar + public ImplementationGuidePackageComponent addPackage() { //3 + ImplementationGuidePackageComponent t = new ImplementationGuidePackageComponent(); + if (this.package_ == null) + this.package_ = new ArrayList(); + this.package_.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuide addPackage(ImplementationGuidePackageComponent t) { //3 + if (t == null) + return this; + if (this.package_ == null) + this.package_ = new ArrayList(); + this.package_.add(t); + return this; + } + + /** + * @return {@link #default_} (A default profile that applies to a particular resource type. Whenever a resource type is referenced in any structure definition (explicitly, or by inheritance from the base specification), and no explicit profile is applied, then this default profile applies.) + */ + public List getDefault() { + if (this.default_ == null) + this.default_ = new ArrayList(); + return this.default_; + } + + public boolean hasDefault() { + if (this.default_ == null) + return false; + for (ImplementationGuideDefaultComponent item : this.default_) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #default_} (A default profile that applies to a particular resource type. Whenever a resource type is referenced in any structure definition (explicitly, or by inheritance from the base specification), and no explicit profile is applied, then this default profile applies.) + */ + // syntactic sugar + public ImplementationGuideDefaultComponent addDefault() { //3 + ImplementationGuideDefaultComponent t = new ImplementationGuideDefaultComponent(); + if (this.default_ == null) + this.default_ = new ArrayList(); + this.default_.add(t); + return t; + } + + // syntactic sugar + public ImplementationGuide addDefault(ImplementationGuideDefaultComponent t) { //3 + if (t == null) + return this; + if (this.default_ == null) + this.default_ = new ArrayList(); + this.default_.add(t); + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("url", "uri", "An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements.", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("version", "string", "The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually.", 0, java.lang.Integer.MAX_VALUE, version)); + childrenList.add(new Property("name", "string", "A free text natural language name identifying the Implementation Guide.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("useContext", "CodeableConcept", "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdication for which this implementation guide was defined.", 0, java.lang.Integer.MAX_VALUE, useContext)); + childrenList.add(new Property("publisher", "string", "The name of the individual or organization that published the implementation guide.", 0, java.lang.Integer.MAX_VALUE, publisher)); + childrenList.add(new Property("contact", "", "Contacts to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); + childrenList.add(new Property("description", "string", "A free text natural language description of the Implementation Guide and its use.", 0, java.lang.Integer.MAX_VALUE, description)); + childrenList.add(new Property("copyright", "string", "A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.", 0, java.lang.Integer.MAX_VALUE, copyright)); + childrenList.add(new Property("code", "Coding", "A set of terms from external terminologies that may be used to assist with indexing and searching of templates.", 0, java.lang.Integer.MAX_VALUE, code)); + childrenList.add(new Property("status", "code", "The status of the Implementation Guide.", 0, java.lang.Integer.MAX_VALUE, status)); + childrenList.add(new Property("experimental", "boolean", "This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.", 0, java.lang.Integer.MAX_VALUE, experimental)); + childrenList.add(new Property("date", "dateTime", "The date that this version of the Implementation Guide was published.", 0, java.lang.Integer.MAX_VALUE, date)); + childrenList.add(new Property("fhirVersion", "id", "The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); + childrenList.add(new Property("page", "", "An html page that is published with the Implementation Guide.", 0, java.lang.Integer.MAX_VALUE, page)); + childrenList.add(new Property("package", "", "A logical set of resources that is a section in the implementation Guide.", 0, java.lang.Integer.MAX_VALUE, package_)); + childrenList.add(new Property("default", "", "A default profile that applies to a particular resource type. Whenever a resource type is referenced in any structure definition (explicitly, or by inheritance from the base specification), and no explicit profile is applied, then this default profile applies.", 0, java.lang.Integer.MAX_VALUE, default_)); + } + + public ImplementationGuide copy() { + ImplementationGuide dst = new ImplementationGuide(); + copyValues(dst); + dst.url = url == null ? null : url.copy(); + dst.version = version == null ? null : version.copy(); + dst.name = name == null ? null : name.copy(); + if (useContext != null) { + dst.useContext = new ArrayList(); + for (CodeableConcept i : useContext) + dst.useContext.add(i.copy()); + }; + dst.publisher = publisher == null ? null : publisher.copy(); + if (contact != null) { + dst.contact = new ArrayList(); + for (ImplementationGuideContactComponent i : contact) + dst.contact.add(i.copy()); + }; + dst.description = description == null ? null : description.copy(); + dst.copyright = copyright == null ? null : copyright.copy(); + if (code != null) { + dst.code = new ArrayList(); + for (Coding i : code) + dst.code.add(i.copy()); + }; + dst.status = status == null ? null : status.copy(); + dst.experimental = experimental == null ? null : experimental.copy(); + dst.date = date == null ? null : date.copy(); + dst.fhirVersion = fhirVersion == null ? null : fhirVersion.copy(); + if (page != null) { + dst.page = new ArrayList(); + for (ImplementationGuidePageComponent i : page) + dst.page.add(i.copy()); + }; + if (package_ != null) { + dst.package_ = new ArrayList(); + for (ImplementationGuidePackageComponent i : package_) + dst.package_.add(i.copy()); + }; + if (default_ != null) { + dst.default_ = new ArrayList(); + for (ImplementationGuideDefaultComponent i : default_) + dst.default_.add(i.copy()); + }; + return dst; + } + + protected ImplementationGuide typedCopy() { + return copy(); + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof ImplementationGuide)) + return false; + ImplementationGuide o = (ImplementationGuide) other; + return compareDeep(url, o.url, true) && compareDeep(version, o.version, true) && compareDeep(name, o.name, true) + && compareDeep(useContext, o.useContext, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) + && compareDeep(description, o.description, true) && compareDeep(copyright, o.copyright, true) && compareDeep(code, o.code, true) + && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) + && compareDeep(fhirVersion, o.fhirVersion, true) && compareDeep(page, o.page, true) && compareDeep(package_, o.package_, true) + && compareDeep(default_, o.default_, true); + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof ImplementationGuide)) + return false; + ImplementationGuide o = (ImplementationGuide) other; + return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) + && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) && compareValues(copyright, o.copyright, true) + && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) && compareValues(date, o.date, true) + && compareValues(fhirVersion, o.fhirVersion, true); + } + + public boolean isEmpty() { + return super.isEmpty() && (url == null || url.isEmpty()) && (version == null || version.isEmpty()) + && (name == null || name.isEmpty()) && (useContext == null || useContext.isEmpty()) && (publisher == null || publisher.isEmpty()) + && (contact == null || contact.isEmpty()) && (description == null || description.isEmpty()) + && (copyright == null || copyright.isEmpty()) && (code == null || code.isEmpty()) && (status == null || status.isEmpty()) + && (experimental == null || experimental.isEmpty()) && (date == null || date.isEmpty()) && (fhirVersion == null || fhirVersion.isEmpty()) + && (page == null || page.isEmpty()) && (package_ == null || package_.isEmpty()) && (default_ == null || default_.isEmpty()) + ; + } + + @Override + public ResourceType getResourceType() { + return ResourceType.ImplementationGuide; + } + + @SearchParamDefinition(name="date", path="ImplementationGuide.date", description="The implementation guide publication date", type="date" ) + public static final String SP_DATE = "date"; + @SearchParamDefinition(name="code", path="ImplementationGuide.code", description="A code for the implementation guide", type="token" ) + public static final String SP_CODE = "code"; + @SearchParamDefinition(name="name", path="ImplementationGuide.name", description="Name of the implementation guide", type="string" ) + public static final String SP_NAME = "name"; + @SearchParamDefinition(name="context", path="ImplementationGuide.useContext", description="A use context assigned to the structure", type="token" ) + public static final String SP_CONTEXT = "context"; + @SearchParamDefinition(name="publisher", path="ImplementationGuide.publisher", description="Name of the publisher of the implementation guide", type="string" ) + public static final String SP_PUBLISHER = "publisher"; + @SearchParamDefinition(name="description", path="ImplementationGuide.description", description="Text search in the description of the implementation guide", type="string" ) + public static final String SP_DESCRIPTION = "description"; + @SearchParamDefinition(name="experimental", path="ImplementationGuide.experimental", description="If for testing purposes, not real usage", type="token" ) + public static final String SP_EXPERIMENTAL = "experimental"; + @SearchParamDefinition(name="version", path="ImplementationGuide.version", description="The version identifier of the implementation guide", type="token" ) + public static final String SP_VERSION = "version"; + @SearchParamDefinition(name="url", path="ImplementationGuide.url", description="Literal URL used to reference this Implementation Guide", type="uri" ) + public static final String SP_URL = "url"; + @SearchParamDefinition(name="status", path="ImplementationGuide.status", description="The current status of the implementation guide", type="token" ) + public static final String SP_STATUS = "status"; + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/List_.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/List_.java index aeff9652c93..ae1d9f888eb 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/List_.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/List_.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class List_ extends DomainResource { } public String getSystem() { switch (this) { - case CURRENT: return "http://hl7.org.fhir/list-status"; - case RETIRED: return "http://hl7.org.fhir/list-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/list-status"; + case CURRENT: return "http://hl7.org/fhir/list-status"; + case RETIRED: return "http://hl7.org/fhir/list-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/list-status"; default: return "?"; } } @@ -142,7 +142,7 @@ public class List_ extends DomainResource { */ SNAPSHOT, /** - * The list is prepared as a statement of changes that have been made or recommended + * A list that indicates where changes have been made or recommended */ CHANGES, /** @@ -170,9 +170,9 @@ public class List_ extends DomainResource { } public String getSystem() { switch (this) { - case WORKING: return "http://hl7.org.fhir/list-mode"; - case SNAPSHOT: return "http://hl7.org.fhir/list-mode"; - case CHANGES: return "http://hl7.org.fhir/list-mode"; + case WORKING: return "http://hl7.org/fhir/list-mode"; + case SNAPSHOT: return "http://hl7.org/fhir/list-mode"; + case CHANGES: return "http://hl7.org/fhir/list-mode"; default: return "?"; } } @@ -180,7 +180,7 @@ public class List_ extends DomainResource { switch (this) { case WORKING: return "This list is the master list, maintained in an ongoing fashion with regular updates as the real world list it is tracking changes"; case SNAPSHOT: return "This list was prepared as a snapshot. It should not be assumed to be current"; - case CHANGES: return "The list is prepared as a statement of changes that have been made or recommended"; + case CHANGES: return "A list that indicates where changes have been made or recommended"; default: return "?"; } } @@ -538,56 +538,68 @@ public class List_ extends DomainResource { */ protected Resource sourceTarget; + /** + * The encounter that is the context in which this list was created. + */ + @Child(name = "encounter", type = {Encounter.class}, order=5, min=0, max=1) + @Description(shortDefinition="Context in which list created", formalDefinition="The encounter that is the context in which this list was created." ) + protected Reference encounter; + + /** + * The actual object that is the target of the reference (The encounter that is the context in which this list was created.) + */ + protected Encounter encounterTarget; + /** * Indicates the current state of this list. */ - @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1) + @Child(name = "status", type = {CodeType.class}, order=6, min=1, max=1) @Description(shortDefinition="current | retired | entered-in-error", formalDefinition="Indicates the current state of this list." ) protected Enumeration status; /** * The date that the list was prepared. */ - @Child(name = "date", type = {DateTimeType.class}, order=6, min=0, max=1) + @Child(name = "date", type = {DateTimeType.class}, order=7, min=0, max=1) @Description(shortDefinition="When the list was prepared", formalDefinition="The date that the list was prepared." ) protected DateTimeType date; /** * What order applies to the items in the list. */ - @Child(name = "orderedBy", type = {CodeableConcept.class}, order=7, min=0, max=1) + @Child(name = "orderedBy", type = {CodeableConcept.class}, order=8, min=0, max=1) @Description(shortDefinition="What order the list has", formalDefinition="What order applies to the items in the list." ) protected CodeableConcept orderedBy; /** * How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. */ - @Child(name = "mode", type = {CodeType.class}, order=8, min=1, max=1) + @Child(name = "mode", type = {CodeType.class}, order=9, min=1, max=1) @Description(shortDefinition="working | snapshot | changes", formalDefinition="How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted." ) protected Enumeration mode; /** * Comments that apply to the overall list. */ - @Child(name = "note", type = {StringType.class}, order=9, min=0, max=1) - @Description(shortDefinition="Comments about the note", formalDefinition="Comments that apply to the overall list." ) + @Child(name = "note", type = {StringType.class}, order=10, min=0, max=1) + @Description(shortDefinition="Comments about the list", formalDefinition="Comments that apply to the overall list." ) protected StringType note; /** * Entries in this list. */ - @Child(name = "entry", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "entry", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Entries in the list", formalDefinition="Entries in this list." ) protected List entry; /** * If the list is empty, why the list is empty. */ - @Child(name = "emptyReason", type = {CodeableConcept.class}, order=11, min=0, max=1) + @Child(name = "emptyReason", type = {CodeableConcept.class}, order=12, min=0, max=1) @Description(shortDefinition="Why list is empty", formalDefinition="If the list is empty, why the list is empty." ) protected CodeableConcept emptyReason; - private static final long serialVersionUID = -558571391L; + private static final long serialVersionUID = 1819128642L; /* * Constructor @@ -796,6 +808,50 @@ public class List_ extends DomainResource { return this; } + /** + * @return {@link #encounter} (The encounter that is the context in which this list was created.) + */ + public Reference getEncounter() { + if (this.encounter == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create List_.encounter"); + else if (Configuration.doAutoCreate()) + this.encounter = new Reference(); // cc + return this.encounter; + } + + public boolean hasEncounter() { + return this.encounter != null && !this.encounter.isEmpty(); + } + + /** + * @param value {@link #encounter} (The encounter that is the context in which this list was created.) + */ + public List_ setEncounter(Reference value) { + this.encounter = value; + return this; + } + + /** + * @return {@link #encounter} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The encounter that is the context in which this list was created.) + */ + public Encounter getEncounterTarget() { + if (this.encounterTarget == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create List_.encounter"); + else if (Configuration.doAutoCreate()) + this.encounterTarget = new Encounter(); // aa + return this.encounterTarget; + } + + /** + * @param value {@link #encounter} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The encounter that is the context in which this list was created.) + */ + public List_ setEncounterTarget(Encounter value) { + this.encounterTarget = value; + return this; + } + /** * @return {@link #status} (Indicates the current state of this list.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ @@ -1079,6 +1135,7 @@ public class List_ extends DomainResource { childrenList.add(new Property("code", "CodeableConcept", "This code defines the purpose of the list - why it was created.", 0, java.lang.Integer.MAX_VALUE, code)); childrenList.add(new Property("subject", "Reference(Patient|Group|Device|Location)", "The common subject (or patient) of the resources that are in the list, if there is one.", 0, java.lang.Integer.MAX_VALUE, subject)); childrenList.add(new Property("source", "Reference(Practitioner|Patient|Device)", "The entity responsible for deciding what the contents of the list were.", 0, java.lang.Integer.MAX_VALUE, source)); + childrenList.add(new Property("encounter", "Reference(Encounter)", "The encounter that is the context in which this list was created.", 0, java.lang.Integer.MAX_VALUE, encounter)); childrenList.add(new Property("status", "code", "Indicates the current state of this list.", 0, java.lang.Integer.MAX_VALUE, status)); childrenList.add(new Property("date", "dateTime", "The date that the list was prepared.", 0, java.lang.Integer.MAX_VALUE, date)); childrenList.add(new Property("orderedBy", "CodeableConcept", "What order applies to the items in the list.", 0, java.lang.Integer.MAX_VALUE, orderedBy)); @@ -1100,6 +1157,7 @@ public class List_ extends DomainResource { dst.code = code == null ? null : code.copy(); dst.subject = subject == null ? null : subject.copy(); dst.source = source == null ? null : source.copy(); + dst.encounter = encounter == null ? null : encounter.copy(); dst.status = status == null ? null : status.copy(); dst.date = date == null ? null : date.copy(); dst.orderedBy = orderedBy == null ? null : orderedBy.copy(); @@ -1126,10 +1184,10 @@ public class List_ extends DomainResource { return false; List_ o = (List_) other; return compareDeep(identifier, o.identifier, true) && compareDeep(title, o.title, true) && compareDeep(code, o.code, true) - && compareDeep(subject, o.subject, true) && compareDeep(source, o.source, true) && compareDeep(status, o.status, true) - && compareDeep(date, o.date, true) && compareDeep(orderedBy, o.orderedBy, true) && compareDeep(mode, o.mode, true) - && compareDeep(note, o.note, true) && compareDeep(entry, o.entry, true) && compareDeep(emptyReason, o.emptyReason, true) - ; + && compareDeep(subject, o.subject, true) && compareDeep(source, o.source, true) && compareDeep(encounter, o.encounter, true) + && compareDeep(status, o.status, true) && compareDeep(date, o.date, true) && compareDeep(orderedBy, o.orderedBy, true) + && compareDeep(mode, o.mode, true) && compareDeep(note, o.note, true) && compareDeep(entry, o.entry, true) + && compareDeep(emptyReason, o.emptyReason, true); } @Override @@ -1146,9 +1204,9 @@ public class List_ extends DomainResource { public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (title == null || title.isEmpty()) && (code == null || code.isEmpty()) && (subject == null || subject.isEmpty()) && (source == null || source.isEmpty()) - && (status == null || status.isEmpty()) && (date == null || date.isEmpty()) && (orderedBy == null || orderedBy.isEmpty()) - && (mode == null || mode.isEmpty()) && (note == null || note.isEmpty()) && (entry == null || entry.isEmpty()) - && (emptyReason == null || emptyReason.isEmpty()); + && (encounter == null || encounter.isEmpty()) && (status == null || status.isEmpty()) && (date == null || date.isEmpty()) + && (orderedBy == null || orderedBy.isEmpty()) && (mode == null || mode.isEmpty()) && (note == null || note.isEmpty()) + && (entry == null || entry.isEmpty()) && (emptyReason == null || emptyReason.isEmpty()); } @Override @@ -1164,7 +1222,7 @@ public class List_ extends DomainResource { public static final String SP_EMPTYREASON = "empty-reason"; @SearchParamDefinition(name="code", path="List.code", description="What the purpose of this list is", type="token" ) public static final String SP_CODE = "code"; - @SearchParamDefinition(name="notes", path="List.note", description="Comments about the note", type="string" ) + @SearchParamDefinition(name="notes", path="List.note", description="Comments about the list", type="string" ) public static final String SP_NOTES = "notes"; @SearchParamDefinition(name="subject", path="List.subject", description="If all resources have the same subject", type="reference" ) public static final String SP_SUBJECT = "subject"; @@ -1172,6 +1230,8 @@ public class List_ extends DomainResource { public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="source", path="List.source", description="Who and/or what defined the list contents", type="reference" ) public static final String SP_SOURCE = "source"; + @SearchParamDefinition(name="encounter", path="List.encounter", description="Context in which list created", type="reference" ) + public static final String SP_ENCOUNTER = "encounter"; @SearchParamDefinition(name="title", path="List.title", description="Descriptive name for the list", type="string" ) public static final String SP_TITLE = "title"; @SearchParamDefinition(name="status", path="List.status", description="current | retired | entered-in-error", type="token" ) diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Location.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Location.java index 07f7c1217a5..b1eb473dc68 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Location.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Location.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -78,8 +78,8 @@ public class Location extends DomainResource { } public String getSystem() { switch (this) { - case INSTANCE: return "http://hl7.org.fhir/location-mode"; - case KIND: return "http://hl7.org.fhir/location-mode"; + case INSTANCE: return "http://hl7.org/fhir/location-mode"; + case KIND: return "http://hl7.org/fhir/location-mode"; default: return "?"; } } @@ -157,9 +157,9 @@ public class Location extends DomainResource { } public String getSystem() { switch (this) { - case ACTIVE: return "http://hl7.org.fhir/location-status"; - case SUSPENDED: return "http://hl7.org.fhir/location-status"; - case INACTIVE: return "http://hl7.org.fhir/location-status"; + case ACTIVE: return "http://hl7.org/fhir/location-status"; + case SUSPENDED: return "http://hl7.org/fhir/location-status"; + case INACTIVE: return "http://hl7.org/fhir/location-status"; default: return "?"; } } @@ -1085,14 +1085,24 @@ public class Location extends DomainResource { public static final String SP_NEARDISTANCE = "near-distance"; @SearchParamDefinition(name="address", path="Location.address", description="A (part of the) address of the location", type="string" ) public static final String SP_ADDRESS = "address"; + @SearchParamDefinition(name="address-state", path="Location.address.state", description="A state specified in an address", type="string" ) + public static final String SP_ADDRESSSTATE = "address-state"; + @SearchParamDefinition(name="type", path="Location.type", description="A code for the type of location", type="token" ) + public static final String SP_TYPE = "type"; + @SearchParamDefinition(name="address-postalcode", path="Location.address.postalCode", description="A postalCode specified in an address", type="string" ) + public static final String SP_ADDRESSPOSTALCODE = "address-postalcode"; + @SearchParamDefinition(name="address-country", path="Location.address.country", description="A country specified in an address", type="string" ) + public static final String SP_ADDRESSCOUNTRY = "address-country"; @SearchParamDefinition(name="organization", path="Location.managingOrganization", description="Searches for locations that are managed by the provided organization", type="reference" ) public static final String SP_ORGANIZATION = "organization"; @SearchParamDefinition(name="name", path="Location.name", description="A (portion of the) name of the location", type="string" ) public static final String SP_NAME = "name"; + @SearchParamDefinition(name="address-use", path="Location.address.use", description="A use code specified in an address", type="token" ) + public static final String SP_ADDRESSUSE = "address-use"; @SearchParamDefinition(name="near", path="", description="The coordinates expressed as [lat],[long] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)", type="token" ) public static final String SP_NEAR = "near"; - @SearchParamDefinition(name="type", path="Location.type", description="A code for the type of location", type="token" ) - public static final String SP_TYPE = "type"; + @SearchParamDefinition(name="address-city", path="Location.address.city", description="A city specified in an address", type="string" ) + public static final String SP_ADDRESSCITY = "address-city"; @SearchParamDefinition(name="status", path="Location.status", description="Searches for locations with a specific kind of status", type="token" ) public static final String SP_STATUS = "status"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Media.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Media.java index d8e328f7405..ffad4600c8c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Media.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Media.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class Media extends DomainResource { } public String getSystem() { switch (this) { - case PHOTO: return "http://hl7.org.fhir/digital-media-type"; - case VIDEO: return "http://hl7.org.fhir/digital-media-type"; - case AUDIO: return "http://hl7.org.fhir/digital-media-type"; + case PHOTO: return "http://hl7.org/fhir/digital-media-type"; + case VIDEO: return "http://hl7.org/fhir/digital-media-type"; + case AUDIO: return "http://hl7.org/fhir/digital-media-type"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Medication.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Medication.java index 11e35b2b018..0e3cd69e82f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Medication.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Medication.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -77,8 +77,8 @@ public class Medication extends DomainResource { } public String getSystem() { switch (this) { - case PRODUCT: return "http://hl7.org.fhir/medication-kind"; - case PACKAGE: return "http://hl7.org.fhir/medication-kind"; + case PRODUCT: return "http://hl7.org/fhir/medication-kind"; + case PACKAGE: return "http://hl7.org/fhir/medication-kind"; default: return "?"; } } @@ -945,7 +945,7 @@ public class Medication extends DomainResource { /** * Information that only applies to packages (not products). */ - @Child(name = "package", type = {}, order=6, min=0, max=1) + @Child(name = "package_", type = {}, order=6, min=0, max=1) @Description(shortDefinition="Details about packaged medications", formalDefinition="Information that only applies to packages (not products)." ) protected MedicationPackageComponent package_; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationAdministration.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationAdministration.java index 8a8fe1670d0..2b39d1e42d0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationAdministration.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationAdministration.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class MedicationAdministration extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/medication-admin-status"; - case ONHOLD: return "http://hl7.org.fhir/medication-admin-status"; - case COMPLETED: return "http://hl7.org.fhir/medication-admin-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/medication-admin-status"; - case STOPPED: return "http://hl7.org.fhir/medication-admin-status"; + case INPROGRESS: return "http://hl7.org/fhir/medication-admin-status"; + case ONHOLD: return "http://hl7.org/fhir/medication-admin-status"; + case COMPLETED: return "http://hl7.org/fhir/medication-admin-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/medication-admin-status"; + case STOPPED: return "http://hl7.org/fhir/medication-admin-status"; default: return "?"; } } @@ -198,10 +198,10 @@ public class MedicationAdministration extends DomainResource { protected Quantity quantity; /** - * Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity. + * Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also be expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity. */ @Child(name = "rate", type = {Ratio.class}, order=6, min=0, max=1) - @Description(shortDefinition="Dose quantity per unit of time", formalDefinition="Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity." ) + @Description(shortDefinition="Dose quantity per unit of time", formalDefinition="Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also be expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity." ) protected Ratio rate; private static final long serialVersionUID = -358534919L; @@ -359,7 +359,7 @@ public class MedicationAdministration extends DomainResource { } /** - * @return {@link #rate} (Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity.) + * @return {@link #rate} (Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also be expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity.) */ public Ratio getRate() { if (this.rate == null) @@ -375,7 +375,7 @@ public class MedicationAdministration extends DomainResource { } /** - * @param value {@link #rate} (Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity.) + * @param value {@link #rate} (Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also be expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity.) */ public MedicationAdministrationDosageComponent setRate(Ratio value) { this.rate = value; @@ -389,7 +389,7 @@ public class MedicationAdministration extends DomainResource { childrenList.add(new Property("route", "CodeableConcept", "A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient. E.g. topical, intravenous, etc.", 0, java.lang.Integer.MAX_VALUE, route)); childrenList.add(new Property("method", "CodeableConcept", "A coded value indicating the method by which the medication was introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV.\r\rTerminologies used often pre-coordinate this term with the route and or form of administration.", 0, java.lang.Integer.MAX_VALUE, method)); childrenList.add(new Property("quantity", "Quantity", "The amount of the medication given at one administration event. Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection.", 0, java.lang.Integer.MAX_VALUE, quantity)); - childrenList.add(new Property("rate", "Ratio", "Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity.", 0, java.lang.Integer.MAX_VALUE, rate)); + childrenList.add(new Property("rate", "Ratio", "Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also be expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity.", 0, java.lang.Integer.MAX_VALUE, rate)); } public MedicationAdministrationDosageComponent copy() { @@ -979,6 +979,10 @@ public class MedicationAdministration extends DomainResource { return (DateTimeType) this.effectiveTime; } + public boolean hasEffectiveTimeDateTimeType() throws Exception { + return this.effectiveTime instanceof DateTimeType; + } + /** * @return {@link #effectiveTime} (An interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.) */ @@ -988,6 +992,10 @@ public class MedicationAdministration extends DomainResource { return (Period) this.effectiveTime; } + public boolean hasEffectiveTimePeriod() throws Exception { + return this.effectiveTime instanceof Period; + } + public boolean hasEffectiveTime() { return this.effectiveTime != null && !this.effectiveTime.isEmpty(); } @@ -1016,6 +1024,10 @@ public class MedicationAdministration extends DomainResource { return (CodeableConcept) this.medication; } + public boolean hasMedicationCodeableConcept() throws Exception { + return this.medication instanceof CodeableConcept; + } + /** * @return {@link #medication} (Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.) */ @@ -1025,6 +1037,10 @@ public class MedicationAdministration extends DomainResource { return (Reference) this.medication; } + public boolean hasMedicationReference() throws Exception { + return this.medication instanceof Reference; + } + public boolean hasMedication() { return this.medication != null && !this.medication.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationDispense.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationDispense.java index 75b950345a9..0eb26b97b32 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationDispense.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationDispense.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class MedicationDispense extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/medication-dispense-status"; - case ONHOLD: return "http://hl7.org.fhir/medication-dispense-status"; - case COMPLETED: return "http://hl7.org.fhir/medication-dispense-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/medication-dispense-status"; - case STOPPED: return "http://hl7.org.fhir/medication-dispense-status"; + case INPROGRESS: return "http://hl7.org/fhir/medication-dispense-status"; + case ONHOLD: return "http://hl7.org/fhir/medication-dispense-status"; + case COMPLETED: return "http://hl7.org/fhir/medication-dispense-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/medication-dispense-status"; + case STOPPED: return "http://hl7.org/fhir/medication-dispense-status"; default: return "?"; } } @@ -330,6 +330,10 @@ public class MedicationDispense extends DomainResource { return (DateTimeType) this.schedule; } + public boolean hasScheduleDateTimeType() throws Exception { + return this.schedule instanceof DateTimeType; + } + /** * @return {@link #schedule} (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -339,6 +343,10 @@ public class MedicationDispense extends DomainResource { return (Period) this.schedule; } + public boolean hasSchedulePeriod() throws Exception { + return this.schedule instanceof Period; + } + /** * @return {@link #schedule} (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -348,6 +356,10 @@ public class MedicationDispense extends DomainResource { return (Timing) this.schedule; } + public boolean hasScheduleTiming() throws Exception { + return this.schedule instanceof Timing; + } + public boolean hasSchedule() { return this.schedule != null && !this.schedule.isEmpty(); } @@ -376,6 +388,10 @@ public class MedicationDispense extends DomainResource { return (BooleanType) this.asNeeded; } + public boolean hasAsNeededBooleanType() throws Exception { + return this.asNeeded instanceof BooleanType; + } + /** * @return {@link #asNeeded} (If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication.) */ @@ -385,6 +401,10 @@ public class MedicationDispense extends DomainResource { return (CodeableConcept) this.asNeeded; } + public boolean hasAsNeededCodeableConcept() throws Exception { + return this.asNeeded instanceof CodeableConcept; + } + public boolean hasAsNeeded() { return this.asNeeded != null && !this.asNeeded.isEmpty(); } @@ -485,6 +505,10 @@ public class MedicationDispense extends DomainResource { return (Range) this.dose; } + public boolean hasDoseRange() throws Exception { + return this.dose instanceof Range; + } + /** * @return {@link #dose} (The amount of therapeutic or other substance given at one administration event.) */ @@ -494,6 +518,10 @@ public class MedicationDispense extends DomainResource { return (Quantity) this.dose; } + public boolean hasDoseQuantity() throws Exception { + return this.dose instanceof Quantity; + } + public boolean hasDose() { return this.dose != null && !this.dose.isEmpty(); } @@ -1303,6 +1331,10 @@ public class MedicationDispense extends DomainResource { return (CodeableConcept) this.medication; } + public boolean hasMedicationCodeableConcept() throws Exception { + return this.medication instanceof CodeableConcept; + } + /** * @return {@link #medication} (Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.) */ @@ -1312,6 +1344,10 @@ public class MedicationDispense extends DomainResource { return (Reference) this.medication; } + public boolean hasMedicationReference() throws Exception { + return this.medication instanceof Reference; + } + public boolean hasMedication() { return this.medication != null && !this.medication.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationPrescription.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationPrescription.java index ec189142fc1..8acd2c447cc 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationPrescription.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationPrescription.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -70,7 +70,7 @@ public class MedicationPrescription extends DomainResource { /** * The prescription was replaced by a newer one, which encompasses all the information in the previous one. */ - SUPERCEDED, + SUPERSEDED, /** * The prescription is not yet 'actionable', i.e. it is a work in progress, required sign-off, need to be run through decision support. */ @@ -92,8 +92,8 @@ public class MedicationPrescription extends DomainResource { return ENTEREDINERROR; if ("stopped".equals(codeString)) return STOPPED; - if ("superceded".equals(codeString)) - return SUPERCEDED; + if ("superseded".equals(codeString)) + return SUPERSEDED; if ("draft".equals(codeString)) return DRAFT; throw new Exception("Unknown MedicationPrescriptionStatus code '"+codeString+"'"); @@ -105,20 +105,20 @@ public class MedicationPrescription extends DomainResource { case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; case STOPPED: return "stopped"; - case SUPERCEDED: return "superceded"; + case SUPERSEDED: return "superseded"; case DRAFT: return "draft"; default: return "?"; } } public String getSystem() { switch (this) { - case ACTIVE: return "http://hl7.org.fhir/medication-prescription-status"; - case ONHOLD: return "http://hl7.org.fhir/medication-prescription-status"; - case COMPLETED: return "http://hl7.org.fhir/medication-prescription-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/medication-prescription-status"; - case STOPPED: return "http://hl7.org.fhir/medication-prescription-status"; - case SUPERCEDED: return "http://hl7.org.fhir/medication-prescription-status"; - case DRAFT: return "http://hl7.org.fhir/medication-prescription-status"; + case ACTIVE: return "http://hl7.org/fhir/medication-prescription-status"; + case ONHOLD: return "http://hl7.org/fhir/medication-prescription-status"; + case COMPLETED: return "http://hl7.org/fhir/medication-prescription-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/medication-prescription-status"; + case STOPPED: return "http://hl7.org/fhir/medication-prescription-status"; + case SUPERSEDED: return "http://hl7.org/fhir/medication-prescription-status"; + case DRAFT: return "http://hl7.org/fhir/medication-prescription-status"; default: return "?"; } } @@ -129,7 +129,7 @@ public class MedicationPrescription extends DomainResource { case COMPLETED: return "All actions that are implied by the prescription have occurred (this will rarely be made explicit)."; case ENTEREDINERROR: return "The prescription was entered in error and therefore nullified."; case STOPPED: return "Actions implied by the prescription have been permanently halted, before all of them occurred."; - case SUPERCEDED: return "The prescription was replaced by a newer one, which encompasses all the information in the previous one."; + case SUPERSEDED: return "The prescription was replaced by a newer one, which encompasses all the information in the previous one."; case DRAFT: return "The prescription is not yet 'actionable', i.e. it is a work in progress, required sign-off, need to be run through decision support."; default: return "?"; } @@ -141,7 +141,7 @@ public class MedicationPrescription extends DomainResource { case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered In Error"; case STOPPED: return "Stopped"; - case SUPERCEDED: return "Superceded"; + case SUPERSEDED: return "Superseded"; case DRAFT: return "Draft"; default: return "?"; } @@ -163,8 +163,8 @@ public class MedicationPrescription extends DomainResource { return MedicationPrescriptionStatus.ENTEREDINERROR; if ("stopped".equals(codeString)) return MedicationPrescriptionStatus.STOPPED; - if ("superceded".equals(codeString)) - return MedicationPrescriptionStatus.SUPERCEDED; + if ("superseded".equals(codeString)) + return MedicationPrescriptionStatus.SUPERSEDED; if ("draft".equals(codeString)) return MedicationPrescriptionStatus.DRAFT; throw new IllegalArgumentException("Unknown MedicationPrescriptionStatus code '"+codeString+"'"); @@ -180,8 +180,8 @@ public class MedicationPrescription extends DomainResource { return "entered-in-error"; if (code == MedicationPrescriptionStatus.STOPPED) return "stopped"; - if (code == MedicationPrescriptionStatus.SUPERCEDED) - return "superceded"; + if (code == MedicationPrescriptionStatus.SUPERSEDED) + return "superseded"; if (code == MedicationPrescriptionStatus.DRAFT) return "draft"; return "?"; @@ -358,6 +358,10 @@ public class MedicationPrescription extends DomainResource { return (DateTimeType) this.scheduled; } + public boolean hasScheduledDateTimeType() throws Exception { + return this.scheduled instanceof DateTimeType; + } + /** * @return {@link #scheduled} (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -367,6 +371,10 @@ public class MedicationPrescription extends DomainResource { return (Period) this.scheduled; } + public boolean hasScheduledPeriod() throws Exception { + return this.scheduled instanceof Period; + } + /** * @return {@link #scheduled} (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -376,6 +384,10 @@ public class MedicationPrescription extends DomainResource { return (Timing) this.scheduled; } + public boolean hasScheduledTiming() throws Exception { + return this.scheduled instanceof Timing; + } + public boolean hasScheduled() { return this.scheduled != null && !this.scheduled.isEmpty(); } @@ -404,6 +416,10 @@ public class MedicationPrescription extends DomainResource { return (BooleanType) this.asNeeded; } + public boolean hasAsNeededBooleanType() throws Exception { + return this.asNeeded instanceof BooleanType; + } + /** * @return {@link #asNeeded} (If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication.) */ @@ -413,6 +429,10 @@ public class MedicationPrescription extends DomainResource { return (CodeableConcept) this.asNeeded; } + public boolean hasAsNeededCodeableConcept() throws Exception { + return this.asNeeded instanceof CodeableConcept; + } + public boolean hasAsNeeded() { return this.asNeeded != null && !this.asNeeded.isEmpty(); } @@ -513,6 +533,10 @@ public class MedicationPrescription extends DomainResource { return (Range) this.dose; } + public boolean hasDoseRange() throws Exception { + return this.dose instanceof Range; + } + /** * @return {@link #dose} (The amount of therapeutic or other substance given at one administration event.) */ @@ -522,6 +546,10 @@ public class MedicationPrescription extends DomainResource { return (Quantity) this.dose; } + public boolean hasDoseQuantity() throws Exception { + return this.dose instanceof Quantity; + } + public boolean hasDose() { return this.dose != null && !this.dose.isEmpty(); } @@ -707,6 +735,10 @@ public class MedicationPrescription extends DomainResource { return (CodeableConcept) this.medication; } + public boolean hasMedicationCodeableConcept() throws Exception { + return this.medication instanceof CodeableConcept; + } + /** * @return {@link #medication} (Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.) */ @@ -716,6 +748,10 @@ public class MedicationPrescription extends DomainResource { return (Reference) this.medication; } + public boolean hasMedicationReference() throws Exception { + return this.medication instanceof Reference; + } + public boolean hasMedication() { return this.medication != null && !this.medication.isEmpty(); } @@ -1035,7 +1071,7 @@ public class MedicationPrescription extends DomainResource { * A code specifying the state of the order. Generally this will be active or completed state. */ @Child(name = "status", type = {CodeType.class}, order=2, min=0, max=1) - @Description(shortDefinition="active | on-hold | completed | entered-in-error | stopped | superceded | draft", formalDefinition="A code specifying the state of the order. Generally this will be active or completed state." ) + @Description(shortDefinition="active | on-hold | completed | entered-in-error | stopped | superseded | draft", formalDefinition="A code specifying the state of the order. Generally this will be active or completed state." ) protected Enumeration status; /** @@ -1419,6 +1455,10 @@ public class MedicationPrescription extends DomainResource { return (CodeableConcept) this.reason; } + public boolean hasReasonCodeableConcept() throws Exception { + return this.reason instanceof CodeableConcept; + } + /** * @return {@link #reason} (Can be the reason or the indication for writing the prescription.) */ @@ -1428,6 +1468,10 @@ public class MedicationPrescription extends DomainResource { return (Reference) this.reason; } + public boolean hasReasonReference() throws Exception { + return this.reason instanceof Reference; + } + public boolean hasReason() { return this.reason != null && !this.reason.isEmpty(); } @@ -1505,6 +1549,10 @@ public class MedicationPrescription extends DomainResource { return (CodeableConcept) this.medication; } + public boolean hasMedicationCodeableConcept() throws Exception { + return this.medication instanceof CodeableConcept; + } + /** * @return {@link #medication} (Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.) */ @@ -1514,6 +1562,10 @@ public class MedicationPrescription extends DomainResource { return (Reference) this.medication; } + public boolean hasMedicationReference() throws Exception { + return this.medication instanceof Reference; + } + public boolean hasMedication() { return this.medication != null && !this.medication.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationStatement.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationStatement.java index b93034b9500..b1bbfc75c83 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationStatement.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MedicationStatement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class MedicationStatement extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/medication-statement-status"; - case COMPLETED: return "http://hl7.org.fhir/medication-statement-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/medication-statement-status"; + case INPROGRESS: return "http://hl7.org/fhir/medication-statement-status"; + case COMPLETED: return "http://hl7.org/fhir/medication-statement-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/medication-statement-status"; default: return "?"; } } @@ -295,6 +295,10 @@ public class MedicationStatement extends DomainResource { return (BooleanType) this.asNeeded; } + public boolean hasAsNeededBooleanType() throws Exception { + return this.asNeeded instanceof BooleanType; + } + /** * @return {@link #asNeeded} (If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the precondition for taking the Medication.) */ @@ -304,6 +308,10 @@ public class MedicationStatement extends DomainResource { return (CodeableConcept) this.asNeeded; } + public boolean hasAsNeededCodeableConcept() throws Exception { + return this.asNeeded instanceof CodeableConcept; + } + public boolean hasAsNeeded() { return this.asNeeded != null && !this.asNeeded.isEmpty(); } @@ -950,6 +958,10 @@ public class MedicationStatement extends DomainResource { return (CodeableConcept) this.reasonForUse; } + public boolean hasReasonForUseCodeableConcept() throws Exception { + return this.reasonForUse instanceof CodeableConcept; + } + /** * @return {@link #reasonForUse} (A reason for why the medication is being/was taken.) */ @@ -959,6 +971,10 @@ public class MedicationStatement extends DomainResource { return (Reference) this.reasonForUse; } + public boolean hasReasonForUseReference() throws Exception { + return this.reasonForUse instanceof Reference; + } + public boolean hasReasonForUse() { return this.reasonForUse != null && !this.reasonForUse.isEmpty(); } @@ -987,6 +1003,10 @@ public class MedicationStatement extends DomainResource { return (DateTimeType) this.effective; } + public boolean hasEffectiveDateTimeType() throws Exception { + return this.effective instanceof DateTimeType; + } + /** * @return {@link #effective} (The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the 'wasNotGiven' attribute is true).) */ @@ -996,6 +1016,10 @@ public class MedicationStatement extends DomainResource { return (Period) this.effective; } + public boolean hasEffectivePeriod() throws Exception { + return this.effective instanceof Period; + } + public boolean hasEffective() { return this.effective != null && !this.effective.isEmpty(); } @@ -1073,6 +1097,10 @@ public class MedicationStatement extends DomainResource { return (CodeableConcept) this.medication; } + public boolean hasMedicationCodeableConcept() throws Exception { + return this.medication instanceof CodeableConcept; + } + /** * @return {@link #medication} (Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.) */ @@ -1082,6 +1110,10 @@ public class MedicationStatement extends DomainResource { return (Reference) this.medication; } + public boolean hasMedicationReference() throws Exception { + return this.medication instanceof Reference; + } + public boolean hasMedication() { return this.medication != null && !this.medication.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MessageHeader.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MessageHeader.java index be49017cd68..e5d64256275 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MessageHeader.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MessageHeader.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -85,9 +85,9 @@ public class MessageHeader extends DomainResource { } public String getSystem() { switch (this) { - case OK: return "http://hl7.org.fhir/response-code"; - case TRANSIENTERROR: return "http://hl7.org.fhir/response-code"; - case FATALERROR: return "http://hl7.org.fhir/response-code"; + case OK: return "http://hl7.org/fhir/response-code"; + case TRANSIENTERROR: return "http://hl7.org/fhir/response-code"; + case FATALERROR: return "http://hl7.org/fhir/response-code"; default: return "?"; } } @@ -919,10 +919,10 @@ public class MessageHeader extends DomainResource { protected InstantType timestamp; /** - * Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-type". + * Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-events". */ @Child(name = "event", type = {Coding.class}, order=2, min=1, max=1) - @Description(shortDefinition="Code for the event this message represents", formalDefinition="Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value 'http://hl7.org/fhir/message-type'." ) + @Description(shortDefinition="Code for the event this message represents", formalDefinition="Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value 'http://hl7.org/fhir/message-events'." ) protected Coding event; /** @@ -1124,7 +1124,7 @@ public class MessageHeader extends DomainResource { } /** - * @return {@link #event} (Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-type".) + * @return {@link #event} (Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-events".) */ public Coding getEvent() { if (this.event == null) @@ -1140,7 +1140,7 @@ public class MessageHeader extends DomainResource { } /** - * @param value {@link #event} (Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-type".) + * @param value {@link #event} (Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-events".) */ public MessageHeader setEvent(Coding value) { this.event = value; @@ -1478,7 +1478,7 @@ public class MessageHeader extends DomainResource { super.listChildren(childrenList); childrenList.add(new Property("identifier", "id", "The identifier of this message.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("timestamp", "instant", "The time that the message was sent.", 0, java.lang.Integer.MAX_VALUE, timestamp)); - childrenList.add(new Property("event", "Coding", "Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value 'http://hl7.org/fhir/message-type'.", 0, java.lang.Integer.MAX_VALUE, event)); + childrenList.add(new Property("event", "Coding", "Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value 'http://hl7.org/fhir/message-events'.", 0, java.lang.Integer.MAX_VALUE, event)); childrenList.add(new Property("response", "", "Information about the message that this message is a response to. Only present if this message is a response.", 0, java.lang.Integer.MAX_VALUE, response)); childrenList.add(new Property("source", "", "The source application from which this message originated.", 0, java.lang.Integer.MAX_VALUE, source)); childrenList.add(new Property("destination", "", "The destination application which the message is intended for.", 0, java.lang.Integer.MAX_VALUE, destination)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Meta.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Meta.java index 00fe63bafd4..ef5b2041f31 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Meta.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Meta.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Money.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Money.java index 93d1c2cfc69..62e3ebdd010 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Money.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Money.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import org.hl7.fhir.instance.model.annotations.DatatypeDef; import org.hl7.fhir.instance.model.annotations.Block; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NamingSystem.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NamingSystem.java index 443938cf355..29155ec1eef 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NamingSystem.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NamingSystem.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -85,9 +85,9 @@ public class NamingSystem extends DomainResource { } public String getSystem() { switch (this) { - case CODESYSTEM: return "http://hl7.org.fhir/namingsystem-type"; - case IDENTIFIER: return "http://hl7.org.fhir/namingsystem-type"; - case ROOT: return "http://hl7.org.fhir/namingsystem-type"; + case CODESYSTEM: return "http://hl7.org/fhir/namingsystem-type"; + case IDENTIFIER: return "http://hl7.org/fhir/namingsystem-type"; + case ROOT: return "http://hl7.org/fhir/namingsystem-type"; default: return "?"; } } @@ -178,10 +178,10 @@ public class NamingSystem extends DomainResource { } public String getSystem() { switch (this) { - case OID: return "http://hl7.org.fhir/namingsystem-identifier-type"; - case UUID: return "http://hl7.org.fhir/namingsystem-identifier-type"; - case URI: return "http://hl7.org.fhir/namingsystem-identifier-type"; - case OTHER: return "http://hl7.org.fhir/namingsystem-identifier-type"; + case OID: return "http://hl7.org/fhir/namingsystem-identifier-type"; + case UUID: return "http://hl7.org/fhir/namingsystem-identifier-type"; + case URI: return "http://hl7.org/fhir/namingsystem-identifier-type"; + case OTHER: return "http://hl7.org/fhir/namingsystem-identifier-type"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Narrative.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Narrative.java index 9b4ae45bdd3..f8864485dcb 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Narrative.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Narrative.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; import org.hl7.fhir.utilities.xhtml.XhtmlNode; @@ -91,10 +91,10 @@ public class Narrative extends BaseNarrative implements INarrative { } public String getSystem() { switch (this) { - case GENERATED: return "http://hl7.org.fhir/narrative-status"; - case EXTENSIONS: return "http://hl7.org.fhir/narrative-status"; - case ADDITIONAL: return "http://hl7.org.fhir/narrative-status"; - case EMPTY: return "http://hl7.org.fhir/narrative-status"; + case GENERATED: return "http://hl7.org/fhir/narrative-status"; + case EXTENSIONS: return "http://hl7.org/fhir/narrative-status"; + case ADDITIONAL: return "http://hl7.org/fhir/narrative-status"; + case EMPTY: return "http://hl7.org/fhir/narrative-status"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NutritionOrder.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NutritionOrder.java index eba3f504d1f..f46f9816e76 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NutritionOrder.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/NutritionOrder.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -119,14 +119,14 @@ public class NutritionOrder extends DomainResource { } public String getSystem() { switch (this) { - case PROPOSED: return "http://hl7.org.fhir/nutrition-order-status"; - case DRAFT: return "http://hl7.org.fhir/nutrition-order-status"; - case PLANNED: return "http://hl7.org.fhir/nutrition-order-status"; - case REQUESTED: return "http://hl7.org.fhir/nutrition-order-status"; - case ACTIVE: return "http://hl7.org.fhir/nutrition-order-status"; - case ONHOLD: return "http://hl7.org.fhir/nutrition-order-status"; - case COMPLETED: return "http://hl7.org.fhir/nutrition-order-status"; - case CANCELLED: return "http://hl7.org.fhir/nutrition-order-status"; + case PROPOSED: return "http://hl7.org/fhir/nutrition-order-status"; + case DRAFT: return "http://hl7.org/fhir/nutrition-order-status"; + case PLANNED: return "http://hl7.org/fhir/nutrition-order-status"; + case REQUESTED: return "http://hl7.org/fhir/nutrition-order-status"; + case ACTIVE: return "http://hl7.org/fhir/nutrition-order-status"; + case ONHOLD: return "http://hl7.org/fhir/nutrition-order-status"; + case COMPLETED: return "http://hl7.org/fhir/nutrition-order-status"; + case CANCELLED: return "http://hl7.org/fhir/nutrition-order-status"; default: return "?"; } } @@ -1634,6 +1634,10 @@ public class NutritionOrder extends DomainResource { return (Quantity) this.rate; } + public boolean hasRateQuantity() throws Exception { + return this.rate instanceof Quantity; + } + /** * @return {@link #rate} (The rate of administration of formula via a feeding pump, e.g., 60 mL per hour, according to the specified schedule.) */ @@ -1643,6 +1647,10 @@ public class NutritionOrder extends DomainResource { return (Ratio) this.rate; } + public boolean hasRateRatio() throws Exception { + return this.rate instanceof Ratio; + } + public boolean hasRate() { return this.rate != null && !this.rate.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Observation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Observation.java index 47985a15cd7..8a294938773 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Observation.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Observation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -112,13 +112,13 @@ public class Observation extends DomainResource { } public String getSystem() { switch (this) { - case REGISTERED: return "http://hl7.org.fhir/observation-status"; - case PRELIMINARY: return "http://hl7.org.fhir/observation-status"; - case FINAL: return "http://hl7.org.fhir/observation-status"; - case AMENDED: return "http://hl7.org.fhir/observation-status"; - case CANCELLED: return "http://hl7.org.fhir/observation-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/observation-status"; - case UNKNOWN: return "http://hl7.org.fhir/observation-status"; + case REGISTERED: return "http://hl7.org/fhir/observation-status"; + case PRELIMINARY: return "http://hl7.org/fhir/observation-status"; + case FINAL: return "http://hl7.org/fhir/observation-status"; + case AMENDED: return "http://hl7.org/fhir/observation-status"; + case CANCELLED: return "http://hl7.org/fhir/observation-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/observation-status"; + case UNKNOWN: return "http://hl7.org/fhir/observation-status"; default: return "?"; } } @@ -254,13 +254,13 @@ public class Observation extends DomainResource { } public String getSystem() { switch (this) { - case OK: return "http://hl7.org.fhir/observation-reliability"; - case ONGOING: return "http://hl7.org.fhir/observation-reliability"; - case EARLY: return "http://hl7.org.fhir/observation-reliability"; - case QUESTIONABLE: return "http://hl7.org.fhir/observation-reliability"; - case CALIBRATING: return "http://hl7.org.fhir/observation-reliability"; - case ERROR: return "http://hl7.org.fhir/observation-reliability"; - case UNKNOWN: return "http://hl7.org.fhir/observation-reliability"; + case OK: return "http://hl7.org/fhir/observation-reliability"; + case ONGOING: return "http://hl7.org/fhir/observation-reliability"; + case EARLY: return "http://hl7.org/fhir/observation-reliability"; + case QUESTIONABLE: return "http://hl7.org/fhir/observation-reliability"; + case CALIBRATING: return "http://hl7.org/fhir/observation-reliability"; + case ERROR: return "http://hl7.org/fhir/observation-reliability"; + case UNKNOWN: return "http://hl7.org/fhir/observation-reliability"; default: return "?"; } } @@ -335,6 +335,10 @@ public class Observation extends DomainResource { * This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group */ HASMEMBER, + /** + * The target resource (Observation or QuestionnaireAnswer) is part of the information from which this observation value is derived. (e.g. calculated anion gap, Apgar score) NOTE: "derived-from" is only logical choice when referencing QuestionnaireAnswer + */ + DERIVEDFROM, /** * This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test) */ @@ -360,6 +364,8 @@ public class Observation extends DomainResource { return null; if ("has-member".equals(codeString)) return HASMEMBER; + if ("derived-from".equals(codeString)) + return DERIVEDFROM; if ("sequel-to".equals(codeString)) return SEQUELTO; if ("replaces".equals(codeString)) @@ -373,6 +379,7 @@ public class Observation extends DomainResource { public String toCode() { switch (this) { case HASMEMBER: return "has-member"; + case DERIVEDFROM: return "derived-from"; case SEQUELTO: return "sequel-to"; case REPLACES: return "replaces"; case QUALIFIEDBY: return "qualified-by"; @@ -382,17 +389,19 @@ public class Observation extends DomainResource { } public String getSystem() { switch (this) { - case HASMEMBER: return "http://hl7.org.fhir/observation-relationshiptypes"; - case SEQUELTO: return "http://hl7.org.fhir/observation-relationshiptypes"; - case REPLACES: return "http://hl7.org.fhir/observation-relationshiptypes"; - case QUALIFIEDBY: return "http://hl7.org.fhir/observation-relationshiptypes"; - case INTERFEREDBY: return "http://hl7.org.fhir/observation-relationshiptypes"; + case HASMEMBER: return "http://hl7.org/fhir/observation-relationshiptypes"; + case DERIVEDFROM: return "http://hl7.org/fhir/observation-relationshiptypes"; + case SEQUELTO: return "http://hl7.org/fhir/observation-relationshiptypes"; + case REPLACES: return "http://hl7.org/fhir/observation-relationshiptypes"; + case QUALIFIEDBY: return "http://hl7.org/fhir/observation-relationshiptypes"; + case INTERFEREDBY: return "http://hl7.org/fhir/observation-relationshiptypes"; default: return "?"; } } public String getDefinition() { switch (this) { case HASMEMBER: return "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group"; + case DERIVEDFROM: return "The target resource (Observation or QuestionnaireAnswer) is part of the information from which this observation value is derived. (e.g. calculated anion gap, Apgar score) NOTE: 'derived-from' is only logical choice when referencing QuestionnaireAnswer"; case SEQUELTO: return "This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test)"; case REPLACES: return "This observation replaces a previous observation (i.e. a revised value). The target observation is now obsolete"; case QUALIFIEDBY: return "The value of the target observation qualifies (refines) the semantics of the source observation (e.g. a lipaemia measure target from a plasma measure)"; @@ -403,6 +412,7 @@ public class Observation extends DomainResource { public String getDisplay() { switch (this) { case HASMEMBER: return "Has Member"; + case DERIVEDFROM: return "Derived From"; case SEQUELTO: return "Sequel To"; case REPLACES: return "Replaces"; case QUALIFIEDBY: return "Qualified By"; @@ -419,6 +429,8 @@ public class Observation extends DomainResource { return null; if ("has-member".equals(codeString)) return ObservationRelationshipType.HASMEMBER; + if ("derived-from".equals(codeString)) + return ObservationRelationshipType.DERIVEDFROM; if ("sequel-to".equals(codeString)) return ObservationRelationshipType.SEQUELTO; if ("replaces".equals(codeString)) @@ -432,6 +444,8 @@ public class Observation extends DomainResource { public String toCode(ObservationRelationshipType code) { if (code == ObservationRelationshipType.HASMEMBER) return "has-member"; + if (code == ObservationRelationshipType.DERIVEDFROM) + return "derived-from"; if (code == ObservationRelationshipType.SEQUELTO) return "sequel-to"; if (code == ObservationRelationshipType.REPLACES) @@ -687,25 +701,25 @@ public class Observation extends DomainResource { @Block() public static class ObservationRelatedComponent extends BackboneElement implements IBaseBackboneElement { /** - * A code specifying the kind of relationship that exists with the target observation. + * A code specifying the kind of relationship that exists with the target resource. */ @Child(name = "type", type = {CodeType.class}, order=1, min=0, max=1) - @Description(shortDefinition="has-member | sequel-to | replaces | qualified-by | interfered-by", formalDefinition="A code specifying the kind of relationship that exists with the target observation." ) + @Description(shortDefinition="has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", formalDefinition="A code specifying the kind of relationship that exists with the target resource." ) protected Enumeration type; /** - * A reference to the observation that is related to this observation. + * A reference to the observation or questionnaireanswer that is related to this observation. */ - @Child(name = "target", type = {Observation.class}, order=2, min=1, max=1) - @Description(shortDefinition="Observation that is related to this one", formalDefinition="A reference to the observation that is related to this observation." ) + @Child(name = "target", type = {Observation.class, QuestionnaireAnswers.class}, order=2, min=1, max=1) + @Description(shortDefinition="Resource that is related to this one", formalDefinition="A reference to the observation or questionnaireanswer that is related to this observation." ) protected Reference target; /** - * The actual object that is the target of the reference (A reference to the observation that is related to this observation.) + * The actual object that is the target of the reference (A reference to the observation or questionnaireanswer that is related to this observation.) */ - protected Observation targetTarget; + protected Resource targetTarget; - private static final long serialVersionUID = 1755337013L; + private static final long serialVersionUID = 1541802577L; /* * Constructor @@ -723,7 +737,7 @@ public class Observation extends DomainResource { } /** - * @return {@link #type} (A code specifying the kind of relationship that exists with the target observation.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + * @return {@link #type} (A code specifying the kind of relationship that exists with the target resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ public Enumeration getTypeElement() { if (this.type == null) @@ -743,7 +757,7 @@ public class Observation extends DomainResource { } /** - * @param value {@link #type} (A code specifying the kind of relationship that exists with the target observation.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + * @param value {@link #type} (A code specifying the kind of relationship that exists with the target resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ public ObservationRelatedComponent setTypeElement(Enumeration value) { this.type = value; @@ -751,14 +765,14 @@ public class Observation extends DomainResource { } /** - * @return A code specifying the kind of relationship that exists with the target observation. + * @return A code specifying the kind of relationship that exists with the target resource. */ public ObservationRelationshipType getType() { return this.type == null ? null : this.type.getValue(); } /** - * @param value A code specifying the kind of relationship that exists with the target observation. + * @param value A code specifying the kind of relationship that exists with the target resource. */ public ObservationRelatedComponent setType(ObservationRelationshipType value) { if (value == null) @@ -772,7 +786,7 @@ public class Observation extends DomainResource { } /** - * @return {@link #target} (A reference to the observation that is related to this observation.) + * @return {@link #target} (A reference to the observation or questionnaireanswer that is related to this observation.) */ public Reference getTarget() { if (this.target == null) @@ -788,7 +802,7 @@ public class Observation extends DomainResource { } /** - * @param value {@link #target} (A reference to the observation that is related to this observation.) + * @param value {@link #target} (A reference to the observation or questionnaireanswer that is related to this observation.) */ public ObservationRelatedComponent setTarget(Reference value) { this.target = value; @@ -796,29 +810,24 @@ public class Observation extends DomainResource { } /** - * @return {@link #target} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to the observation that is related to this observation.) + * @return {@link #target} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to the observation or questionnaireanswer that is related to this observation.) */ - public Observation getTargetTarget() { - if (this.targetTarget == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ObservationRelatedComponent.target"); - else if (Configuration.doAutoCreate()) - this.targetTarget = new Observation(); // aa + public Resource getTargetTarget() { return this.targetTarget; } /** - * @param value {@link #target} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A reference to the observation that is related to this observation.) + * @param value {@link #target} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A reference to the observation or questionnaireanswer that is related to this observation.) */ - public ObservationRelatedComponent setTargetTarget(Observation value) { + public ObservationRelatedComponent setTargetTarget(Resource value) { this.targetTarget = value; return this; } protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("type", "code", "A code specifying the kind of relationship that exists with the target observation.", 0, java.lang.Integer.MAX_VALUE, type)); - childrenList.add(new Property("target", "Reference(Observation)", "A reference to the observation that is related to this observation.", 0, java.lang.Integer.MAX_VALUE, target)); + childrenList.add(new Property("type", "code", "A code specifying the kind of relationship that exists with the target resource.", 0, java.lang.Integer.MAX_VALUE, type)); + childrenList.add(new Property("target", "Reference(Observation|QuestionnaireAnswers)", "A reference to the observation or questionnaireanswer that is related to this observation.", 0, java.lang.Integer.MAX_VALUE, target)); } public ObservationRelatedComponent copy() { @@ -943,6 +952,10 @@ public class Observation extends DomainResource { return (Quantity) this.value; } + public boolean hasValueQuantity() throws Exception { + return this.value instanceof Quantity; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -952,6 +965,10 @@ public class Observation extends DomainResource { return (CodeableConcept) this.value; } + public boolean hasValueCodeableConcept() throws Exception { + return this.value instanceof CodeableConcept; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -961,6 +978,10 @@ public class Observation extends DomainResource { return (StringType) this.value; } + public boolean hasValueStringType() throws Exception { + return this.value instanceof StringType; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -970,6 +991,10 @@ public class Observation extends DomainResource { return (Range) this.value; } + public boolean hasValueRange() throws Exception { + return this.value instanceof Range; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -979,6 +1004,10 @@ public class Observation extends DomainResource { return (Ratio) this.value; } + public boolean hasValueRatio() throws Exception { + return this.value instanceof Ratio; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -988,6 +1017,10 @@ public class Observation extends DomainResource { return (SampledData) this.value; } + public boolean hasValueSampledData() throws Exception { + return this.value instanceof SampledData; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -997,6 +1030,10 @@ public class Observation extends DomainResource { return (Attachment) this.value; } + public boolean hasValueAttachment() throws Exception { + return this.value instanceof Attachment; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1006,6 +1043,10 @@ public class Observation extends DomainResource { return (TimeType) this.value; } + public boolean hasValueTimeType() throws Exception { + return this.value instanceof TimeType; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1015,6 +1056,10 @@ public class Observation extends DomainResource { return (DateTimeType) this.value; } + public boolean hasValueDateTimeType() throws Exception { + return this.value instanceof DateTimeType; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1024,6 +1069,10 @@ public class Observation extends DomainResource { return (Period) this.value; } + public boolean hasValuePeriod() throws Exception { + return this.value instanceof Period; + } + public boolean hasValue() { return this.value != null && !this.value.isEmpty(); } @@ -1312,32 +1361,20 @@ other observer (for example a relative or EMT), or any observation made about th protected List referenceRange; /** - * A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion). + * A reference to another resource ( usally another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code. */ - @Child(name = "derivedFrom", type = {AllergyIntolerance.class, Condition.class, FamilyMemberHistory.class, ImagingStudy.class, Immunization.class, MedicationStatement.class, Procedure.class, QuestionnaireAnswers.class, Observation.class}, order=19, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="The resource from which an observation is derived", formalDefinition="A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion)." ) - protected List derivedFrom; - /** - * The actual objects that are the target of the reference (A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion).) - */ - protected List derivedFromTarget; - - - /** - * A reference to another observations whose relationship is defined by the relationship type code. - */ - @Child(name = "related", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Observations related to this observation", formalDefinition="A reference to another observations whose relationship is defined by the relationship type code." ) + @Child(name = "related", type = {}, order=19, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Resource related to this observation", formalDefinition="A reference to another resource ( usally another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code." ) protected List related; /** * Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for for genetics observations. */ - @Child(name = "component", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "component", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Component results", formalDefinition="Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for for genetics observations." ) protected List component; - private static final long serialVersionUID = -1977481392L; + private static final long serialVersionUID = -83023434L; /* * Constructor @@ -1419,6 +1456,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Quantity) this.value; } + public boolean hasValueQuantity() throws Exception { + return this.value instanceof Quantity; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1428,6 +1469,10 @@ other observer (for example a relative or EMT), or any observation made about th return (CodeableConcept) this.value; } + public boolean hasValueCodeableConcept() throws Exception { + return this.value instanceof CodeableConcept; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1437,6 +1482,10 @@ other observer (for example a relative or EMT), or any observation made about th return (StringType) this.value; } + public boolean hasValueStringType() throws Exception { + return this.value instanceof StringType; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1446,6 +1495,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Range) this.value; } + public boolean hasValueRange() throws Exception { + return this.value instanceof Range; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1455,6 +1508,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Ratio) this.value; } + public boolean hasValueRatio() throws Exception { + return this.value instanceof Ratio; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1464,6 +1521,10 @@ other observer (for example a relative or EMT), or any observation made about th return (SampledData) this.value; } + public boolean hasValueSampledData() throws Exception { + return this.value instanceof SampledData; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1473,6 +1534,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Attachment) this.value; } + public boolean hasValueAttachment() throws Exception { + return this.value instanceof Attachment; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1482,6 +1547,10 @@ other observer (for example a relative or EMT), or any observation made about th return (TimeType) this.value; } + public boolean hasValueTimeType() throws Exception { + return this.value instanceof TimeType; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1491,6 +1560,10 @@ other observer (for example a relative or EMT), or any observation made about th return (DateTimeType) this.value; } + public boolean hasValueDateTimeType() throws Exception { + return this.value instanceof DateTimeType; + } + /** * @return {@link #value} (The information determined as a result of making the observation, if the information has a simple value.) */ @@ -1500,6 +1573,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Period) this.value; } + public boolean hasValuePeriod() throws Exception { + return this.value instanceof Period; + } + public boolean hasValue() { return this.value != null && !this.value.isEmpty(); } @@ -1625,6 +1702,10 @@ other observer (for example a relative or EMT), or any observation made about th return (DateTimeType) this.effective; } + public boolean hasEffectiveDateTimeType() throws Exception { + return this.effective instanceof DateTimeType; + } + /** * @return {@link #effective} (The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.) */ @@ -1634,6 +1715,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Period) this.effective; } + public boolean hasEffectivePeriod() throws Exception { + return this.effective instanceof Period; + } + public boolean hasEffective() { return this.effective != null && !this.effective.isEmpty(); } @@ -1805,6 +1890,10 @@ other observer (for example a relative or EMT), or any observation made about th return (CodeableConcept) this.bodySite; } + public boolean hasBodySiteCodeableConcept() throws Exception { + return this.bodySite instanceof CodeableConcept; + } + /** * @return {@link #bodySite} (Indicates the site on the subject's body where the observation was made ( i.e. the target site).) */ @@ -1814,6 +1903,10 @@ other observer (for example a relative or EMT), or any observation made about th return (Reference) this.bodySite; } + public boolean hasBodySiteReference() throws Exception { + return this.bodySite instanceof Reference; + } + public boolean hasBodySite() { return this.bodySite != null && !this.bodySite.isEmpty(); } @@ -2150,56 +2243,7 @@ other observer (for example a relative or EMT), or any observation made about th } /** - * @return {@link #derivedFrom} (A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion).) - */ - public List getDerivedFrom() { - if (this.derivedFrom == null) - this.derivedFrom = new ArrayList(); - return this.derivedFrom; - } - - public boolean hasDerivedFrom() { - if (this.derivedFrom == null) - return false; - for (Reference item : this.derivedFrom) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #derivedFrom} (A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion).) - */ - // syntactic sugar - public Reference addDerivedFrom() { //3 - Reference t = new Reference(); - if (this.derivedFrom == null) - this.derivedFrom = new ArrayList(); - this.derivedFrom.add(t); - return t; - } - - // syntactic sugar - public Observation addDerivedFrom(Reference t) { //3 - if (t == null) - return this; - if (this.derivedFrom == null) - this.derivedFrom = new ArrayList(); - this.derivedFrom.add(t); - return this; - } - - /** - * @return {@link #derivedFrom} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion).) - */ - public List getDerivedFromTarget() { - if (this.derivedFromTarget == null) - this.derivedFromTarget = new ArrayList(); - return this.derivedFromTarget; - } - - /** - * @return {@link #related} (A reference to another observations whose relationship is defined by the relationship type code.) + * @return {@link #related} (A reference to another resource ( usally another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.) */ public List getRelated() { if (this.related == null) @@ -2217,7 +2261,7 @@ other observer (for example a relative or EMT), or any observation made about th } /** - * @return {@link #related} (A reference to another observations whose relationship is defined by the relationship type code.) + * @return {@link #related} (A reference to another resource ( usally another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.) */ // syntactic sugar public ObservationRelatedComponent addRelated() { //3 @@ -2299,8 +2343,7 @@ other observer (for example a relative or EMT), or any observation made about th childrenList.add(new Property("device", "Reference(Device|DeviceMetric)", "The device used to generate the observation data.", 0, java.lang.Integer.MAX_VALUE, device)); childrenList.add(new Property("encounter", "Reference(Encounter)", "The healthcare event ( e.g. a patient and healthcare provider interaction ) during which this observation is made.", 0, java.lang.Integer.MAX_VALUE, encounter)); childrenList.add(new Property("referenceRange", "", "Guidance on how to interpret the value by comparison to a normal or recommended range.", 0, java.lang.Integer.MAX_VALUE, referenceRange)); - childrenList.add(new Property("derivedFrom", "Reference(AllergyIntolerance|Condition|FamilyMemberHistory|ImagingStudy|Immunization|MedicationStatement|Procedure|QuestionnaireAnswers|Observation)", "A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion).", 0, java.lang.Integer.MAX_VALUE, derivedFrom)); - childrenList.add(new Property("related", "", "A reference to another observations whose relationship is defined by the relationship type code.", 0, java.lang.Integer.MAX_VALUE, related)); + childrenList.add(new Property("related", "", "A reference to another resource ( usally another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.", 0, java.lang.Integer.MAX_VALUE, related)); childrenList.add(new Property("component", "", "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for for genetics observations.", 0, java.lang.Integer.MAX_VALUE, component)); } @@ -2338,11 +2381,6 @@ other observer (for example a relative or EMT), or any observation made about th for (ObservationReferenceRangeComponent i : referenceRange) dst.referenceRange.add(i.copy()); }; - if (derivedFrom != null) { - dst.derivedFrom = new ArrayList(); - for (Reference i : derivedFrom) - dst.derivedFrom.add(i.copy()); - }; if (related != null) { dst.related = new ArrayList(); for (ObservationRelatedComponent i : related) @@ -2374,8 +2412,7 @@ other observer (for example a relative or EMT), or any observation made about th && compareDeep(method, o.method, true) && compareDeep(identifier, o.identifier, true) && compareDeep(subject, o.subject, true) && compareDeep(specimen, o.specimen, true) && compareDeep(performer, o.performer, true) && compareDeep(device, o.device, true) && compareDeep(encounter, o.encounter, true) && compareDeep(referenceRange, o.referenceRange, true) - && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(related, o.related, true) && compareDeep(component, o.component, true) - ; + && compareDeep(related, o.related, true) && compareDeep(component, o.component, true); } @Override @@ -2398,8 +2435,7 @@ other observer (for example a relative or EMT), or any observation made about th && (method == null || method.isEmpty()) && (identifier == null || identifier.isEmpty()) && (subject == null || subject.isEmpty()) && (specimen == null || specimen.isEmpty()) && (performer == null || performer.isEmpty()) && (device == null || device.isEmpty()) && (encounter == null || encounter.isEmpty()) && (referenceRange == null || referenceRange.isEmpty()) - && (derivedFrom == null || derivedFrom.isEmpty()) && (related == null || related.isEmpty()) - && (component == null || component.isEmpty()); + && (related == null || related.isEmpty()) && (component == null || component.isEmpty()); } @Override @@ -2447,9 +2483,9 @@ other observer (for example a relative or EMT), or any observation made about th public static final String SP_DATAABSENTREASON = "data-absent-reason"; @SearchParamDefinition(name="encounter", path="Observation.encounter", description="Healthcare event related to the observation", type="reference" ) public static final String SP_ENCOUNTER = "encounter"; - @SearchParamDefinition(name="related-type", path="Observation.related.type", description="has-member | sequel-to | replaces | qualified-by | interfered-by", type="token" ) + @SearchParamDefinition(name="related-type", path="Observation.related.type", description="has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", type="token" ) public static final String SP_RELATEDTYPE = "related-type"; - @SearchParamDefinition(name="related-target", path="Observation.related.target", description="Observation that is related to this one", type="reference" ) + @SearchParamDefinition(name="related-target", path="Observation.related.target", description="Resource that is related to this one", type="reference" ) public static final String SP_RELATEDTARGET = "related-target"; @SearchParamDefinition(name="component-value-string", path="Observation.component.valueString", description="The value of the component observation, if the value is a string, and also searches in CodeableConcept.text", type="string" ) public static final String SP_COMPONENTVALUESTRING = "component-value-string"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationDefinition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationDefinition.java index 9e46d21b87d..6a39ef4dc92 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationDefinition.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -78,8 +78,8 @@ public class OperationDefinition extends DomainResource { } public String getSystem() { switch (this) { - case OPERATION: return "http://hl7.org.fhir/operation-kind"; - case QUERY: return "http://hl7.org.fhir/operation-kind"; + case OPERATION: return "http://hl7.org/fhir/operation-kind"; + case QUERY: return "http://hl7.org/fhir/operation-kind"; default: return "?"; } } @@ -150,8 +150,8 @@ public class OperationDefinition extends DomainResource { } public String getSystem() { switch (this) { - case IN: return "http://hl7.org.fhir/operation-parameter-use"; - case OUT: return "http://hl7.org.fhir/operation-parameter-use"; + case IN: return "http://hl7.org/fhir/operation-parameter-use"; + case OUT: return "http://hl7.org/fhir/operation-parameter-use"; default: return "?"; } } @@ -406,14 +406,21 @@ public class OperationDefinition extends DomainResource { */ protected StructureDefinition profileTarget; + /** + * Binds to a value set if this parameter is coded (code, Coding, CodeableConcept). + */ + @Child(name = "binding", type = {}, order=8, min=0, max=1) + @Description(shortDefinition="ValueSet details if this is coded", formalDefinition="Binds to a value set if this parameter is coded (code, Coding, CodeableConcept)." ) + protected OperationDefinitionParameterBindingComponent binding; + /** * The parts of a Tuple Parameter. */ - @Child(name = "part", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "part", type = {OperationDefinitionParameterComponent.class}, order=9, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Parts of a Tuple Parameter", formalDefinition="The parts of a Tuple Parameter." ) - protected List part; + protected List part; - private static final long serialVersionUID = 633191560L; + private static final long serialVersionUID = -1514145741L; /* * Constructor @@ -755,19 +762,43 @@ public class OperationDefinition extends DomainResource { return this; } + /** + * @return {@link #binding} (Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).) + */ + public OperationDefinitionParameterBindingComponent getBinding() { + if (this.binding == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create OperationDefinitionParameterComponent.binding"); + else if (Configuration.doAutoCreate()) + this.binding = new OperationDefinitionParameterBindingComponent(); // cc + return this.binding; + } + + public boolean hasBinding() { + return this.binding != null && !this.binding.isEmpty(); + } + + /** + * @param value {@link #binding} (Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).) + */ + public OperationDefinitionParameterComponent setBinding(OperationDefinitionParameterBindingComponent value) { + this.binding = value; + return this; + } + /** * @return {@link #part} (The parts of a Tuple Parameter.) */ - public List getPart() { + public List getPart() { if (this.part == null) - this.part = new ArrayList(); + this.part = new ArrayList(); return this.part; } public boolean hasPart() { if (this.part == null) return false; - for (OperationDefinitionParameterPartComponent item : this.part) + for (OperationDefinitionParameterComponent item : this.part) if (!item.isEmpty()) return true; return false; @@ -777,20 +808,20 @@ public class OperationDefinition extends DomainResource { * @return {@link #part} (The parts of a Tuple Parameter.) */ // syntactic sugar - public OperationDefinitionParameterPartComponent addPart() { //3 - OperationDefinitionParameterPartComponent t = new OperationDefinitionParameterPartComponent(); + public OperationDefinitionParameterComponent addPart() { //3 + OperationDefinitionParameterComponent t = new OperationDefinitionParameterComponent(); if (this.part == null) - this.part = new ArrayList(); + this.part = new ArrayList(); this.part.add(t); return t; } // syntactic sugar - public OperationDefinitionParameterComponent addPart(OperationDefinitionParameterPartComponent t) { //3 + public OperationDefinitionParameterComponent addPart(OperationDefinitionParameterComponent t) { //3 if (t == null) return this; if (this.part == null) - this.part = new ArrayList(); + this.part = new ArrayList(); this.part.add(t); return this; } @@ -804,7 +835,8 @@ public class OperationDefinition extends DomainResource { childrenList.add(new Property("documentation", "string", "Describes the meaning or use of this parameter.", 0, java.lang.Integer.MAX_VALUE, documentation)); childrenList.add(new Property("type", "code", "The type for this parameter.", 0, java.lang.Integer.MAX_VALUE, type)); childrenList.add(new Property("profile", "Reference(StructureDefinition)", "A profile the specifies the rules that this parameter must conform to.", 0, java.lang.Integer.MAX_VALUE, profile)); - childrenList.add(new Property("part", "", "The parts of a Tuple Parameter.", 0, java.lang.Integer.MAX_VALUE, part)); + childrenList.add(new Property("binding", "", "Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).", 0, java.lang.Integer.MAX_VALUE, binding)); + childrenList.add(new Property("part", "@OperationDefinition.parameter", "The parts of a Tuple Parameter.", 0, java.lang.Integer.MAX_VALUE, part)); } public OperationDefinitionParameterComponent copy() { @@ -817,9 +849,10 @@ public class OperationDefinition extends DomainResource { dst.documentation = documentation == null ? null : documentation.copy(); dst.type = type == null ? null : type.copy(); dst.profile = profile == null ? null : profile.copy(); + dst.binding = binding == null ? null : binding.copy(); if (part != null) { - dst.part = new ArrayList(); - for (OperationDefinitionParameterPartComponent i : part) + dst.part = new ArrayList(); + for (OperationDefinitionParameterComponent i : part) dst.part.add(i.copy()); }; return dst; @@ -834,7 +867,8 @@ public class OperationDefinition extends DomainResource { OperationDefinitionParameterComponent o = (OperationDefinitionParameterComponent) other; return compareDeep(name, o.name, true) && compareDeep(use, o.use, true) && compareDeep(min, o.min, true) && compareDeep(max, o.max, true) && compareDeep(documentation, o.documentation, true) && compareDeep(type, o.type, true) - && compareDeep(profile, o.profile, true) && compareDeep(part, o.part, true); + && compareDeep(profile, o.profile, true) && compareDeep(binding, o.binding, true) && compareDeep(part, o.part, true) + ; } @Override @@ -852,373 +886,147 @@ public class OperationDefinition extends DomainResource { public boolean isEmpty() { return super.isEmpty() && (name == null || name.isEmpty()) && (use == null || use.isEmpty()) && (min == null || min.isEmpty()) && (max == null || max.isEmpty()) && (documentation == null || documentation.isEmpty()) - && (type == null || type.isEmpty()) && (profile == null || profile.isEmpty()) && (part == null || part.isEmpty()) - ; + && (type == null || type.isEmpty()) && (profile == null || profile.isEmpty()) && (binding == null || binding.isEmpty()) + && (part == null || part.isEmpty()); } } @Block() - public static class OperationDefinitionParameterPartComponent extends BackboneElement implements IBaseBackboneElement { + public static class OperationDefinitionParameterBindingComponent extends BackboneElement implements IBaseBackboneElement { /** - * The name of used to identify the parameter. + * Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. */ - @Child(name = "name", type = {CodeType.class}, order=1, min=1, max=1) - @Description(shortDefinition="Name of the parameter", formalDefinition="The name of used to identify the parameter." ) - protected CodeType name; + @Child(name = "strength", type = {CodeType.class}, order=1, min=1, max=1) + @Description(shortDefinition="required | extensible | preferred | example", formalDefinition="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances." ) + protected Enumeration strength; /** - * The minimum number of times this parameter SHALL appear in the request or response. + * Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. */ - @Child(name = "min", type = {UnsignedIntType.class}, order=2, min=1, max=1) - @Description(shortDefinition="Minimum Cardinality", formalDefinition="The minimum number of times this parameter SHALL appear in the request or response." ) - protected UnsignedIntType min; + @Child(name = "valueSet", type = {UriType.class, ValueSet.class}, order=2, min=1, max=1) + @Description(shortDefinition="Source of value set", formalDefinition="Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used." ) + protected Type valueSet; - /** - * The maximum number of times this element is permitted to appear in the request or response. - */ - @Child(name = "max", type = {StringType.class}, order=3, min=1, max=1) - @Description(shortDefinition="Maximum Cardinality (a number or *)", formalDefinition="The maximum number of times this element is permitted to appear in the request or response." ) - protected StringType max; - - /** - * Describes the meaning or use of this parameter. - */ - @Child(name = "documentation", type = {StringType.class}, order=4, min=0, max=1) - @Description(shortDefinition="Description of meaning/use", formalDefinition="Describes the meaning or use of this parameter." ) - protected StringType documentation; - - /** - * The type for this parameter. - */ - @Child(name = "type", type = {CodeType.class}, order=5, min=1, max=1) - @Description(shortDefinition="What type this parameter hs", formalDefinition="The type for this parameter." ) - protected CodeType type; - - /** - * A profile the specifies the rules that this parameter must conform to. - */ - @Child(name = "profile", type = {StructureDefinition.class}, order=6, min=0, max=1) - @Description(shortDefinition="Profile on the type", formalDefinition="A profile the specifies the rules that this parameter must conform to." ) - protected Reference profile; - - /** - * The actual object that is the target of the reference (A profile the specifies the rules that this parameter must conform to.) - */ - protected StructureDefinition profileTarget; - - private static final long serialVersionUID = -856151797L; + private static final long serialVersionUID = 857140521L; /* * Constructor */ - public OperationDefinitionParameterPartComponent() { + public OperationDefinitionParameterBindingComponent() { super(); } /* * Constructor */ - public OperationDefinitionParameterPartComponent(CodeType name, UnsignedIntType min, StringType max, CodeType type) { + public OperationDefinitionParameterBindingComponent(Enumeration strength, Type valueSet) { super(); - this.name = name; - this.min = min; - this.max = max; - this.type = type; + this.strength = strength; + this.valueSet = valueSet; } /** - * @return {@link #name} (The name of used to identify the parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + * @return {@link #strength} (Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.). This is the underlying object with id, value and extensions. The accessor "getStrength" gives direct access to the value */ - public CodeType getNameElement() { - if (this.name == null) + public Enumeration getStrengthElement() { + if (this.strength == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.name"); + throw new Error("Attempt to auto-create OperationDefinitionParameterBindingComponent.strength"); else if (Configuration.doAutoCreate()) - this.name = new CodeType(); // bb - return this.name; + this.strength = new Enumeration(new BindingStrengthEnumFactory()); // bb + return this.strength; } - public boolean hasNameElement() { - return this.name != null && !this.name.isEmpty(); + public boolean hasStrengthElement() { + return this.strength != null && !this.strength.isEmpty(); } - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); + public boolean hasStrength() { + return this.strength != null && !this.strength.isEmpty(); } /** - * @param value {@link #name} (The name of used to identify the parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + * @param value {@link #strength} (Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.). This is the underlying object with id, value and extensions. The accessor "getStrength" gives direct access to the value */ - public OperationDefinitionParameterPartComponent setNameElement(CodeType value) { - this.name = value; + public OperationDefinitionParameterBindingComponent setStrengthElement(Enumeration value) { + this.strength = value; return this; } /** - * @return The name of used to identify the parameter. + * @return Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. */ - public String getName() { - return this.name == null ? null : this.name.getValue(); + public BindingStrength getStrength() { + return this.strength == null ? null : this.strength.getValue(); } /** - * @param value The name of used to identify the parameter. + * @param value Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. */ - public OperationDefinitionParameterPartComponent setName(String value) { - if (this.name == null) - this.name = new CodeType(); - this.name.setValue(value); + public OperationDefinitionParameterBindingComponent setStrength(BindingStrength value) { + if (this.strength == null) + this.strength = new Enumeration(new BindingStrengthEnumFactory()); + this.strength.setValue(value); return this; } /** - * @return {@link #min} (The minimum number of times this parameter SHALL appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value + * @return {@link #valueSet} (Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.) */ - public UnsignedIntType getMinElement() { - if (this.min == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.min"); - else if (Configuration.doAutoCreate()) - this.min = new UnsignedIntType(); // bb - return this.min; - } - - public boolean hasMinElement() { - return this.min != null && !this.min.isEmpty(); - } - - public boolean hasMin() { - return this.min != null && !this.min.isEmpty(); + public Type getValueSet() { + return this.valueSet; } /** - * @param value {@link #min} (The minimum number of times this parameter SHALL appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value + * @return {@link #valueSet} (Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.) */ - public OperationDefinitionParameterPartComponent setMinElement(UnsignedIntType value) { - this.min = value; - return this; + public UriType getValueSetUriType() throws Exception { + if (!(this.valueSet instanceof UriType)) + throw new Exception("Type mismatch: the type UriType was expected, but "+this.valueSet.getClass().getName()+" was encountered"); + return (UriType) this.valueSet; + } + + public boolean hasValueSetUriType() throws Exception { + return this.valueSet instanceof UriType; } /** - * @return The minimum number of times this parameter SHALL appear in the request or response. + * @return {@link #valueSet} (Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.) */ - public int getMin() { - return this.min == null || this.min.isEmpty() ? 0 : this.min.getValue(); + public Reference getValueSetReference() throws Exception { + if (!(this.valueSet instanceof Reference)) + throw new Exception("Type mismatch: the type Reference was expected, but "+this.valueSet.getClass().getName()+" was encountered"); + return (Reference) this.valueSet; + } + + public boolean hasValueSetReference() throws Exception { + return this.valueSet instanceof Reference; + } + + public boolean hasValueSet() { + return this.valueSet != null && !this.valueSet.isEmpty(); } /** - * @param value The minimum number of times this parameter SHALL appear in the request or response. + * @param value {@link #valueSet} (Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.) */ - public OperationDefinitionParameterPartComponent setMin(int value) { - if (this.min == null) - this.min = new UnsignedIntType(); - this.min.setValue(value); - return this; - } - - /** - * @return {@link #max} (The maximum number of times this element is permitted to appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value - */ - public StringType getMaxElement() { - if (this.max == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.max"); - else if (Configuration.doAutoCreate()) - this.max = new StringType(); // bb - return this.max; - } - - public boolean hasMaxElement() { - return this.max != null && !this.max.isEmpty(); - } - - public boolean hasMax() { - return this.max != null && !this.max.isEmpty(); - } - - /** - * @param value {@link #max} (The maximum number of times this element is permitted to appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value - */ - public OperationDefinitionParameterPartComponent setMaxElement(StringType value) { - this.max = value; - return this; - } - - /** - * @return The maximum number of times this element is permitted to appear in the request or response. - */ - public String getMax() { - return this.max == null ? null : this.max.getValue(); - } - - /** - * @param value The maximum number of times this element is permitted to appear in the request or response. - */ - public OperationDefinitionParameterPartComponent setMax(String value) { - if (this.max == null) - this.max = new StringType(); - this.max.setValue(value); - return this; - } - - /** - * @return {@link #documentation} (Describes the meaning or use of this parameter.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value - */ - public StringType getDocumentationElement() { - if (this.documentation == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.documentation"); - else if (Configuration.doAutoCreate()) - this.documentation = new StringType(); // bb - return this.documentation; - } - - public boolean hasDocumentationElement() { - return this.documentation != null && !this.documentation.isEmpty(); - } - - public boolean hasDocumentation() { - return this.documentation != null && !this.documentation.isEmpty(); - } - - /** - * @param value {@link #documentation} (Describes the meaning or use of this parameter.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value - */ - public OperationDefinitionParameterPartComponent setDocumentationElement(StringType value) { - this.documentation = value; - return this; - } - - /** - * @return Describes the meaning or use of this parameter. - */ - public String getDocumentation() { - return this.documentation == null ? null : this.documentation.getValue(); - } - - /** - * @param value Describes the meaning or use of this parameter. - */ - public OperationDefinitionParameterPartComponent setDocumentation(String value) { - if (Utilities.noString(value)) - this.documentation = null; - else { - if (this.documentation == null) - this.documentation = new StringType(); - this.documentation.setValue(value); - } - return this; - } - - /** - * @return {@link #type} (The type for this parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value - */ - public CodeType getTypeElement() { - if (this.type == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.type"); - else if (Configuration.doAutoCreate()) - this.type = new CodeType(); // bb - return this.type; - } - - public boolean hasTypeElement() { - return this.type != null && !this.type.isEmpty(); - } - - public boolean hasType() { - return this.type != null && !this.type.isEmpty(); - } - - /** - * @param value {@link #type} (The type for this parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value - */ - public OperationDefinitionParameterPartComponent setTypeElement(CodeType value) { - this.type = value; - return this; - } - - /** - * @return The type for this parameter. - */ - public String getType() { - return this.type == null ? null : this.type.getValue(); - } - - /** - * @param value The type for this parameter. - */ - public OperationDefinitionParameterPartComponent setType(String value) { - if (this.type == null) - this.type = new CodeType(); - this.type.setValue(value); - return this; - } - - /** - * @return {@link #profile} (A profile the specifies the rules that this parameter must conform to.) - */ - public Reference getProfile() { - if (this.profile == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.profile"); - else if (Configuration.doAutoCreate()) - this.profile = new Reference(); // cc - return this.profile; - } - - public boolean hasProfile() { - return this.profile != null && !this.profile.isEmpty(); - } - - /** - * @param value {@link #profile} (A profile the specifies the rules that this parameter must conform to.) - */ - public OperationDefinitionParameterPartComponent setProfile(Reference value) { - this.profile = value; - return this; - } - - /** - * @return {@link #profile} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A profile the specifies the rules that this parameter must conform to.) - */ - public StructureDefinition getProfileTarget() { - if (this.profileTarget == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OperationDefinitionParameterPartComponent.profile"); - else if (Configuration.doAutoCreate()) - this.profileTarget = new StructureDefinition(); // aa - return this.profileTarget; - } - - /** - * @param value {@link #profile} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A profile the specifies the rules that this parameter must conform to.) - */ - public OperationDefinitionParameterPartComponent setProfileTarget(StructureDefinition value) { - this.profileTarget = value; + public OperationDefinitionParameterBindingComponent setValueSet(Type value) { + this.valueSet = value; return this; } protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("name", "code", "The name of used to identify the parameter.", 0, java.lang.Integer.MAX_VALUE, name)); - childrenList.add(new Property("min", "unsignedInt", "The minimum number of times this parameter SHALL appear in the request or response.", 0, java.lang.Integer.MAX_VALUE, min)); - childrenList.add(new Property("max", "string", "The maximum number of times this element is permitted to appear in the request or response.", 0, java.lang.Integer.MAX_VALUE, max)); - childrenList.add(new Property("documentation", "string", "Describes the meaning or use of this parameter.", 0, java.lang.Integer.MAX_VALUE, documentation)); - childrenList.add(new Property("type", "code", "The type for this parameter.", 0, java.lang.Integer.MAX_VALUE, type)); - childrenList.add(new Property("profile", "Reference(StructureDefinition)", "A profile the specifies the rules that this parameter must conform to.", 0, java.lang.Integer.MAX_VALUE, profile)); + childrenList.add(new Property("strength", "code", "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.", 0, java.lang.Integer.MAX_VALUE, strength)); + childrenList.add(new Property("valueSet[x]", "uri|Reference(ValueSet)", "Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.", 0, java.lang.Integer.MAX_VALUE, valueSet)); } - public OperationDefinitionParameterPartComponent copy() { - OperationDefinitionParameterPartComponent dst = new OperationDefinitionParameterPartComponent(); + public OperationDefinitionParameterBindingComponent copy() { + OperationDefinitionParameterBindingComponent dst = new OperationDefinitionParameterBindingComponent(); copyValues(dst); - dst.name = name == null ? null : name.copy(); - dst.min = min == null ? null : min.copy(); - dst.max = max == null ? null : max.copy(); - dst.documentation = documentation == null ? null : documentation.copy(); - dst.type = type == null ? null : type.copy(); - dst.profile = profile == null ? null : profile.copy(); + dst.strength = strength == null ? null : strength.copy(); + dst.valueSet = valueSet == null ? null : valueSet.copy(); return dst; } @@ -1226,29 +1034,25 @@ public class OperationDefinition extends DomainResource { public boolean equalsDeep(Base other) { if (!super.equalsDeep(other)) return false; - if (!(other instanceof OperationDefinitionParameterPartComponent)) + if (!(other instanceof OperationDefinitionParameterBindingComponent)) return false; - OperationDefinitionParameterPartComponent o = (OperationDefinitionParameterPartComponent) other; - return compareDeep(name, o.name, true) && compareDeep(min, o.min, true) && compareDeep(max, o.max, true) - && compareDeep(documentation, o.documentation, true) && compareDeep(type, o.type, true) && compareDeep(profile, o.profile, true) - ; + OperationDefinitionParameterBindingComponent o = (OperationDefinitionParameterBindingComponent) other; + return compareDeep(strength, o.strength, true) && compareDeep(valueSet, o.valueSet, true); } @Override public boolean equalsShallow(Base other) { if (!super.equalsShallow(other)) return false; - if (!(other instanceof OperationDefinitionParameterPartComponent)) + if (!(other instanceof OperationDefinitionParameterBindingComponent)) return false; - OperationDefinitionParameterPartComponent o = (OperationDefinitionParameterPartComponent) other; - return compareValues(name, o.name, true) && compareValues(min, o.min, true) && compareValues(max, o.max, true) - && compareValues(documentation, o.documentation, true) && compareValues(type, o.type, true); + OperationDefinitionParameterBindingComponent o = (OperationDefinitionParameterBindingComponent) other; + return compareValues(strength, o.strength, true); } public boolean isEmpty() { - return super.isEmpty() && (name == null || name.isEmpty()) && (min == null || min.isEmpty()) - && (max == null || max.isEmpty()) && (documentation == null || documentation.isEmpty()) && (type == null || type.isEmpty()) - && (profile == null || profile.isEmpty()); + return super.isEmpty() && (strength == null || strength.isEmpty()) && (valueSet == null || valueSet.isEmpty()) + ; } } @@ -1268,10 +1072,10 @@ public class OperationDefinition extends DomainResource { protected StringType version; /** - * A free text natural language name identifying the Profile. + * A free text natural language name identifying the operation. */ @Child(name = "name", type = {StringType.class}, order=2, min=1, max=1) - @Description(shortDefinition="Informal name for this profile", formalDefinition="A free text natural language name identifying the Profile." ) + @Description(shortDefinition="Informal name for this operation", formalDefinition="A free text natural language name identifying the operation." ) protected StringType name; /** @@ -1512,7 +1316,7 @@ public class OperationDefinition extends DomainResource { } /** - * @return {@link #name} (A free text natural language name identifying the Profile.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + * @return {@link #name} (A free text natural language name identifying the operation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ public StringType getNameElement() { if (this.name == null) @@ -1532,7 +1336,7 @@ public class OperationDefinition extends DomainResource { } /** - * @param value {@link #name} (A free text natural language name identifying the Profile.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + * @param value {@link #name} (A free text natural language name identifying the operation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ public OperationDefinition setNameElement(StringType value) { this.name = value; @@ -1540,14 +1344,14 @@ public class OperationDefinition extends DomainResource { } /** - * @return A free text natural language name identifying the Profile. + * @return A free text natural language name identifying the operation. */ public String getName() { return this.name == null ? null : this.name.getValue(); } /** - * @param value A free text natural language name identifying the Profile. + * @param value A free text natural language name identifying the operation. */ public OperationDefinition setName(String value) { if (this.name == null) @@ -2298,7 +2102,7 @@ public class OperationDefinition extends DomainResource { super.listChildren(childrenList); childrenList.add(new Property("url", "uri", "An absolute url that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique uri).", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("version", "string", "The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.", 0, java.lang.Integer.MAX_VALUE, version)); - childrenList.add(new Property("name", "string", "A free text natural language name identifying the Profile.", 0, java.lang.Integer.MAX_VALUE, name)); + childrenList.add(new Property("name", "string", "A free text natural language name identifying the operation.", 0, java.lang.Integer.MAX_VALUE, name)); childrenList.add(new Property("publisher", "string", "The name of the individual or organization that published the operation definition.", 0, java.lang.Integer.MAX_VALUE, publisher)); childrenList.add(new Property("contact", "", "Contacts to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); childrenList.add(new Property("description", "string", "A free text natural language description of the profile and its use.", 0, java.lang.Integer.MAX_VALUE, description)); @@ -2423,7 +2227,7 @@ public class OperationDefinition extends DomainResource { public static final String SP_URL = "url"; @SearchParamDefinition(name="system", path="OperationDefinition.system", description="Invoke at the system level?", type="token" ) public static final String SP_SYSTEM = "system"; - @SearchParamDefinition(name="name", path="OperationDefinition.name", description="Informal name for this profile", type="string" ) + @SearchParamDefinition(name="name", path="OperationDefinition.name", description="Informal name for this operation", type="string" ) public static final String SP_NAME = "name"; @SearchParamDefinition(name="publisher", path="OperationDefinition.publisher", description="Name of the publisher (Organization or individual)", type="string" ) public static final String SP_PUBLISHER = "publisher"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationOutcome.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationOutcome.java index 0fba8f3a3c9..28159eda931 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationOutcome.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OperationOutcome.java @@ -29,18 +29,17 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 -import java.util.ArrayList; -import java.util.List; +import java.util.*; -import org.hl7.fhir.instance.model.annotations.Block; +import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.instance.model.annotations.ResourceDef; +import org.hl7.fhir.instance.model.annotations.SearchParamDefinition; import org.hl7.fhir.instance.model.annotations.Child; import org.hl7.fhir.instance.model.annotations.Description; -import org.hl7.fhir.instance.model.annotations.ResourceDef; -import org.hl7.fhir.instance.model.api.IBaseBackboneElement; -import org.hl7.fhir.instance.model.api.IBaseOperationOutcome; -import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.instance.model.annotations.Block; +import org.hl7.fhir.instance.model.api.*; /** * A collection of error, warning or information messages that result from a system action. */ @@ -92,10 +91,10 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu } public String getSystem() { switch (this) { - case FATAL: return "http://hl7.org.fhir/issue-severity"; - case ERROR: return "http://hl7.org.fhir/issue-severity"; - case WARNING: return "http://hl7.org.fhir/issue-severity"; - case INFORMATION: return "http://hl7.org.fhir/issue-severity"; + case FATAL: return "http://hl7.org/fhir/issue-severity"; + case ERROR: return "http://hl7.org/fhir/issue-severity"; + case WARNING: return "http://hl7.org/fhir/issue-severity"; + case INFORMATION: return "http://hl7.org/fhir/issue-severity"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Order.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Order.java index 9dcafb216dd..dcb26ea9241 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Order.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Order.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -188,14 +188,14 @@ public class Order extends DomainResource { /** * Who initiated the order. */ - @Child(name = "source", type = {Practitioner.class}, order=3, min=0, max=1) + @Child(name = "source", type = {Practitioner.class, Organization.class}, order=3, min=0, max=1) @Description(shortDefinition="Who initiated the order", formalDefinition="Who initiated the order." ) protected Reference source; /** * The actual object that is the target of the reference (Who initiated the order.) */ - protected Practitioner sourceTarget; + protected Resource sourceTarget; /** * Who is intended to fulfill the order. @@ -216,29 +216,17 @@ public class Order extends DomainResource { @Description(shortDefinition="Text - why the order was made", formalDefinition="Text - why the order was made." ) protected Type reason; - /** - * If required by policy. - */ - @Child(name = "authority", type = {}, order=6, min=0, max=1) - @Description(shortDefinition="If required by policy", formalDefinition="If required by policy." ) - protected Reference authority; - - /** - * The actual object that is the target of the reference (If required by policy.) - */ - protected Resource authorityTarget; - /** * When order should be fulfilled. */ - @Child(name = "when", type = {}, order=7, min=0, max=1) + @Child(name = "when", type = {}, order=6, min=0, max=1) @Description(shortDefinition="When order should be fulfilled", formalDefinition="When order should be fulfilled." ) protected OrderWhenComponent when; /** * What action is being ordered. */ - @Child(name = "detail", type = {}, order=8, min=1, max=Child.MAX_UNLIMITED) + @Child(name = "detail", type = {}, order=7, min=1, max=Child.MAX_UNLIMITED) @Description(shortDefinition="What action is being ordered", formalDefinition="What action is being ordered." ) protected List detail; /** @@ -247,7 +235,7 @@ public class Order extends DomainResource { protected List detailTarget; - private static final long serialVersionUID = 595782234L; + private static final long serialVersionUID = -1392311096L; /* * Constructor @@ -411,19 +399,14 @@ public class Order extends DomainResource { /** * @return {@link #source} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who initiated the order.) */ - public Practitioner getSourceTarget() { - if (this.sourceTarget == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Order.source"); - else if (Configuration.doAutoCreate()) - this.sourceTarget = new Practitioner(); // aa + public Resource getSourceTarget() { return this.sourceTarget; } /** * @param value {@link #source} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who initiated the order.) */ - public Order setSourceTarget(Practitioner value) { + public Order setSourceTarget(Resource value) { this.sourceTarget = value; return this; } @@ -483,6 +466,10 @@ public class Order extends DomainResource { return (CodeableConcept) this.reason; } + public boolean hasReasonCodeableConcept() throws Exception { + return this.reason instanceof CodeableConcept; + } + /** * @return {@link #reason} (Text - why the order was made.) */ @@ -492,6 +479,10 @@ public class Order extends DomainResource { return (Reference) this.reason; } + public boolean hasReasonReference() throws Exception { + return this.reason instanceof Reference; + } + public boolean hasReason() { return this.reason != null && !this.reason.isEmpty(); } @@ -504,45 +495,6 @@ public class Order extends DomainResource { return this; } - /** - * @return {@link #authority} (If required by policy.) - */ - public Reference getAuthority() { - if (this.authority == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Order.authority"); - else if (Configuration.doAutoCreate()) - this.authority = new Reference(); // cc - return this.authority; - } - - public boolean hasAuthority() { - return this.authority != null && !this.authority.isEmpty(); - } - - /** - * @param value {@link #authority} (If required by policy.) - */ - public Order setAuthority(Reference value) { - this.authority = value; - return this; - } - - /** - * @return {@link #authority} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (If required by policy.) - */ - public Resource getAuthorityTarget() { - return this.authorityTarget; - } - - /** - * @param value {@link #authority} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (If required by policy.) - */ - public Order setAuthorityTarget(Resource value) { - this.authorityTarget = value; - return this; - } - /** * @return {@link #when} (When order should be fulfilled.) */ @@ -621,10 +573,9 @@ public class Order extends DomainResource { childrenList.add(new Property("identifier", "Identifier", "Identifiers assigned to this order by the orderer or by the receiver.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("date", "dateTime", "When the order was made.", 0, java.lang.Integer.MAX_VALUE, date)); childrenList.add(new Property("subject", "Reference(Patient|Group|Device|Substance)", "Patient this order is about.", 0, java.lang.Integer.MAX_VALUE, subject)); - childrenList.add(new Property("source", "Reference(Practitioner)", "Who initiated the order.", 0, java.lang.Integer.MAX_VALUE, source)); + childrenList.add(new Property("source", "Reference(Practitioner|Organization)", "Who initiated the order.", 0, java.lang.Integer.MAX_VALUE, source)); childrenList.add(new Property("target", "Reference(Organization|Device|Practitioner)", "Who is intended to fulfill the order.", 0, java.lang.Integer.MAX_VALUE, target)); childrenList.add(new Property("reason[x]", "CodeableConcept|Reference(Any)", "Text - why the order was made.", 0, java.lang.Integer.MAX_VALUE, reason)); - childrenList.add(new Property("authority", "Reference(Any)", "If required by policy.", 0, java.lang.Integer.MAX_VALUE, authority)); childrenList.add(new Property("when", "", "When order should be fulfilled.", 0, java.lang.Integer.MAX_VALUE, when)); childrenList.add(new Property("detail", "Reference(Any)", "What action is being ordered.", 0, java.lang.Integer.MAX_VALUE, detail)); } @@ -642,7 +593,6 @@ public class Order extends DomainResource { dst.source = source == null ? null : source.copy(); dst.target = target == null ? null : target.copy(); dst.reason = reason == null ? null : reason.copy(); - dst.authority = authority == null ? null : authority.copy(); dst.when = when == null ? null : when.copy(); if (detail != null) { dst.detail = new ArrayList(); @@ -665,8 +615,7 @@ public class Order extends DomainResource { Order o = (Order) other; return compareDeep(identifier, o.identifier, true) && compareDeep(date, o.date, true) && compareDeep(subject, o.subject, true) && compareDeep(source, o.source, true) && compareDeep(target, o.target, true) && compareDeep(reason, o.reason, true) - && compareDeep(authority, o.authority, true) && compareDeep(when, o.when, true) && compareDeep(detail, o.detail, true) - ; + && compareDeep(when, o.when, true) && compareDeep(detail, o.detail, true); } @Override @@ -682,8 +631,8 @@ public class Order extends DomainResource { public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (date == null || date.isEmpty()) && (subject == null || subject.isEmpty()) && (source == null || source.isEmpty()) && (target == null || target.isEmpty()) - && (reason == null || reason.isEmpty()) && (authority == null || authority.isEmpty()) && (when == null || when.isEmpty()) - && (detail == null || detail.isEmpty()); + && (reason == null || reason.isEmpty()) && (when == null || when.isEmpty()) && (detail == null || detail.isEmpty()) + ; } @Override @@ -693,12 +642,12 @@ public class Order extends DomainResource { @SearchParamDefinition(name="date", path="Order.date", description="When the order was made", type="date" ) public static final String SP_DATE = "date"; + @SearchParamDefinition(name="identifier", path="Order.identifier", description="Instance id fromsource, target, and/or others", type="token" ) + public static final String SP_IDENTIFIER = "identifier"; @SearchParamDefinition(name="subject", path="Order.subject", description="Patient this order is about", type="reference" ) public static final String SP_SUBJECT = "subject"; @SearchParamDefinition(name="patient", path="Order.subject", description="Patient this order is about", type="reference" ) public static final String SP_PATIENT = "patient"; - @SearchParamDefinition(name="authority", path="Order.authority", description="If required by policy", type="reference" ) - public static final String SP_AUTHORITY = "authority"; @SearchParamDefinition(name="source", path="Order.source", description="Who initiated the order", type="reference" ) public static final String SP_SOURCE = "source"; @SearchParamDefinition(name="detail", path="Order.detail", description="What action is being ordered", type="reference" ) diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OrderResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OrderResponse.java index b7f4b724f01..9ee515db303 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OrderResponse.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/OrderResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -126,15 +126,15 @@ public class OrderResponse extends DomainResource { } public String getSystem() { switch (this) { - case PENDING: return "http://hl7.org.fhir/order-status"; - case REVIEW: return "http://hl7.org.fhir/order-status"; - case REJECTED: return "http://hl7.org.fhir/order-status"; - case ERROR: return "http://hl7.org.fhir/order-status"; - case ACCEPTED: return "http://hl7.org.fhir/order-status"; - case CANCELLED: return "http://hl7.org.fhir/order-status"; - case REPLACED: return "http://hl7.org.fhir/order-status"; - case ABORTED: return "http://hl7.org.fhir/order-status"; - case COMPLETED: return "http://hl7.org.fhir/order-status"; + case PENDING: return "http://hl7.org/fhir/order-status"; + case REVIEW: return "http://hl7.org/fhir/order-status"; + case REJECTED: return "http://hl7.org/fhir/order-status"; + case ERROR: return "http://hl7.org/fhir/order-status"; + case ACCEPTED: return "http://hl7.org/fhir/order-status"; + case CANCELLED: return "http://hl7.org/fhir/order-status"; + case REPLACED: return "http://hl7.org/fhir/order-status"; + case ABORTED: return "http://hl7.org/fhir/order-status"; + case COMPLETED: return "http://hl7.org/fhir/order-status"; default: return "?"; } } @@ -254,31 +254,24 @@ public class OrderResponse extends DomainResource { */ protected Resource whoTarget; - /** - * A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection. - */ - @Child(name = "authority", type = {CodeableConcept.class}, order=4, min=0, max=1) - @Description(shortDefinition="If required by policy", formalDefinition="A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection." ) - protected Type authority; - /** * What this response says about the status of the original order. */ - @Child(name = "orderStatus", type = {CodeType.class}, order=5, min=1, max=1) + @Child(name = "orderStatus", type = {CodeType.class}, order=4, min=1, max=1) @Description(shortDefinition="pending | review | rejected | error | accepted | cancelled | replaced | aborted | completed", formalDefinition="What this response says about the status of the original order." ) protected Enumeration orderStatus; /** * Additional description about the response - e.g. a text description provided by a human user when making decisions about the order. */ - @Child(name = "description", type = {StringType.class}, order=6, min=0, max=1) + @Child(name = "description", type = {StringType.class}, order=5, min=0, max=1) @Description(shortDefinition="Additional description of the response", formalDefinition="Additional description about the response - e.g. a text description provided by a human user when making decisions about the order." ) protected StringType description; /** * Links to resources that provide details of the outcome of performing the order. E.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order. */ - @Child(name = "fulfillment", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "fulfillment", type = {}, order=6, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Details of the outcome of performing the order", formalDefinition="Links to resources that provide details of the outcome of performing the order. E.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order." ) protected List fulfillment; /** @@ -287,7 +280,7 @@ public class OrderResponse extends DomainResource { protected List fulfillmentTarget; - private static final long serialVersionUID = -1983664888L; + private static final long serialVersionUID = -856633109L; /* * Constructor @@ -477,43 +470,6 @@ public class OrderResponse extends DomainResource { return this; } - /** - * @return {@link #authority} (A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection.) - */ - public Type getAuthority() { - return this.authority; - } - - /** - * @return {@link #authority} (A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection.) - */ - public CodeableConcept getAuthorityCodeableConcept() throws Exception { - if (!(this.authority instanceof CodeableConcept)) - throw new Exception("Type mismatch: the type CodeableConcept was expected, but "+this.authority.getClass().getName()+" was encountered"); - return (CodeableConcept) this.authority; - } - - /** - * @return {@link #authority} (A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection.) - */ - public Reference getAuthorityReference() throws Exception { - if (!(this.authority instanceof Reference)) - throw new Exception("Type mismatch: the type Reference was expected, but "+this.authority.getClass().getName()+" was encountered"); - return (Reference) this.authority; - } - - public boolean hasAuthority() { - return this.authority != null && !this.authority.isEmpty(); - } - - /** - * @param value {@link #authority} (A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection.) - */ - public OrderResponse setAuthority(Type value) { - this.authority = value; - return this; - } - /** * @return {@link #orderStatus} (What this response says about the status of the original order.). This is the underlying object with id, value and extensions. The accessor "getOrderStatus" gives direct access to the value */ @@ -663,7 +619,6 @@ public class OrderResponse extends DomainResource { childrenList.add(new Property("request", "Reference(Order)", "A reference to the order that this is in response to.", 0, java.lang.Integer.MAX_VALUE, request)); childrenList.add(new Property("date", "dateTime", "The date and time at which this order response was made (created/posted).", 0, java.lang.Integer.MAX_VALUE, date)); childrenList.add(new Property("who", "Reference(Practitioner|Organization|Device)", "The person, organization, or device credited with making the response.", 0, java.lang.Integer.MAX_VALUE, who)); - childrenList.add(new Property("authority[x]", "CodeableConcept|Reference(Any)", "A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection.", 0, java.lang.Integer.MAX_VALUE, authority)); childrenList.add(new Property("orderStatus", "code", "What this response says about the status of the original order.", 0, java.lang.Integer.MAX_VALUE, orderStatus)); childrenList.add(new Property("description", "string", "Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.", 0, java.lang.Integer.MAX_VALUE, description)); childrenList.add(new Property("fulfillment", "Reference(Any)", "Links to resources that provide details of the outcome of performing the order. E.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.", 0, java.lang.Integer.MAX_VALUE, fulfillment)); @@ -680,7 +635,6 @@ public class OrderResponse extends DomainResource { dst.request = request == null ? null : request.copy(); dst.date = date == null ? null : date.copy(); dst.who = who == null ? null : who.copy(); - dst.authority = authority == null ? null : authority.copy(); dst.orderStatus = orderStatus == null ? null : orderStatus.copy(); dst.description = description == null ? null : description.copy(); if (fulfillment != null) { @@ -703,9 +657,8 @@ public class OrderResponse extends DomainResource { return false; OrderResponse o = (OrderResponse) other; return compareDeep(identifier, o.identifier, true) && compareDeep(request, o.request, true) && compareDeep(date, o.date, true) - && compareDeep(who, o.who, true) && compareDeep(authority, o.authority, true) && compareDeep(orderStatus, o.orderStatus, true) - && compareDeep(description, o.description, true) && compareDeep(fulfillment, o.fulfillment, true) - ; + && compareDeep(who, o.who, true) && compareDeep(orderStatus, o.orderStatus, true) && compareDeep(description, o.description, true) + && compareDeep(fulfillment, o.fulfillment, true); } @Override @@ -721,9 +674,9 @@ public class OrderResponse extends DomainResource { public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (request == null || request.isEmpty()) - && (date == null || date.isEmpty()) && (who == null || who.isEmpty()) && (authority == null || authority.isEmpty()) - && (orderStatus == null || orderStatus.isEmpty()) && (description == null || description.isEmpty()) - && (fulfillment == null || fulfillment.isEmpty()); + && (date == null || date.isEmpty()) && (who == null || who.isEmpty()) && (orderStatus == null || orderStatus.isEmpty()) + && (description == null || description.isEmpty()) && (fulfillment == null || fulfillment.isEmpty()) + ; } @Override diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Organization.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Organization.java index 707da913373..f2d14bcf149 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Organization.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Organization.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -727,12 +727,22 @@ public class Organization extends DomainResource { public static final String SP_PHONETIC = "phonetic"; @SearchParamDefinition(name="address", path="Organization.address", description="A (part of the) address of the Organization", type="string" ) public static final String SP_ADDRESS = "address"; + @SearchParamDefinition(name="address-state", path="Organization.address.state", description="A state specified in an address", type="string" ) + public static final String SP_ADDRESSSTATE = "address-state"; @SearchParamDefinition(name="name", path="Organization.name", description="A portion of the organization's name", type="string" ) public static final String SP_NAME = "name"; + @SearchParamDefinition(name="address-use", path="Organization.address.use", description="A use code specified in an address", type="token" ) + public static final String SP_ADDRESSUSE = "address-use"; @SearchParamDefinition(name="active", path="Organization.active", description="Whether the organization's record is active", type="token" ) public static final String SP_ACTIVE = "active"; @SearchParamDefinition(name="type", path="Organization.type", description="A code for the type of organization", type="token" ) public static final String SP_TYPE = "type"; + @SearchParamDefinition(name="address-city", path="Organization.address.city", description="A city specified in an address", type="string" ) + public static final String SP_ADDRESSCITY = "address-city"; + @SearchParamDefinition(name="address-postalcode", path="Organization.address.postalCode", description="A postalCode specified in an address", type="string" ) + public static final String SP_ADDRESSPOSTALCODE = "address-postalcode"; + @SearchParamDefinition(name="address-country", path="Organization.address.country", description="A country specified in an address", type="string" ) + public static final String SP_ADDRESSCOUNTRY = "address-country"; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Parameters.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Parameters.java index 0200e028260..3e871003f7b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Parameters.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Parameters.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -72,11 +72,11 @@ public class Parameters extends Resource implements IBaseParameters { /** * A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple". */ - @Child(name = "part", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "part", type = {ParametersParameterComponent.class}, order=4, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Named part of a parameter (e.g. Tuple)", formalDefinition="A named part of a parameter. In many implementation context, a set of named parts is known as a 'Tuple'." ) - protected List part; + protected List part; - private static final long serialVersionUID = 2101270343L; + private static final long serialVersionUID = 1129239796L; /* * Constructor @@ -179,16 +179,16 @@ public class Parameters extends Resource implements IBaseParameters { /** * @return {@link #part} (A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple".) */ - public List getPart() { + public List getPart() { if (this.part == null) - this.part = new ArrayList(); + this.part = new ArrayList(); return this.part; } public boolean hasPart() { if (this.part == null) return false; - for (ParametersParameterPartComponent item : this.part) + for (ParametersParameterComponent item : this.part) if (!item.isEmpty()) return true; return false; @@ -198,20 +198,20 @@ public class Parameters extends Resource implements IBaseParameters { * @return {@link #part} (A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple".) */ // syntactic sugar - public ParametersParameterPartComponent addPart() { //3 - ParametersParameterPartComponent t = new ParametersParameterPartComponent(); + public ParametersParameterComponent addPart() { //3 + ParametersParameterComponent t = new ParametersParameterComponent(); if (this.part == null) - this.part = new ArrayList(); + this.part = new ArrayList(); this.part.add(t); return t; } // syntactic sugar - public ParametersParameterComponent addPart(ParametersParameterPartComponent t) { //3 + public ParametersParameterComponent addPart(ParametersParameterComponent t) { //3 if (t == null) return this; if (this.part == null) - this.part = new ArrayList(); + this.part = new ArrayList(); this.part.add(t); return this; } @@ -221,7 +221,7 @@ public class Parameters extends Resource implements IBaseParameters { childrenList.add(new Property("name", "string", "The name of the parameter (reference to the operation definition).", 0, java.lang.Integer.MAX_VALUE, name)); childrenList.add(new Property("value[x]", "*", "If the parameter is a data type.", 0, java.lang.Integer.MAX_VALUE, value)); childrenList.add(new Property("resource", "Resource", "If the parameter is a whole resource.", 0, java.lang.Integer.MAX_VALUE, resource)); - childrenList.add(new Property("part", "", "A named part of a parameter. In many implementation context, a set of named parts is known as a 'Tuple'.", 0, java.lang.Integer.MAX_VALUE, part)); + childrenList.add(new Property("part", "@Parameters.parameter", "A named part of a parameter. In many implementation context, a set of named parts is known as a 'Tuple'.", 0, java.lang.Integer.MAX_VALUE, part)); } public ParametersParameterComponent copy() { @@ -231,8 +231,8 @@ public class Parameters extends Resource implements IBaseParameters { dst.value = value == null ? null : value.copy(); dst.resource = resource == null ? null : resource.copy(); if (part != null) { - dst.part = new ArrayList(); - for (ParametersParameterPartComponent i : part) + dst.part = new ArrayList(); + for (ParametersParameterComponent i : part) dst.part.add(i.copy()); }; return dst; @@ -264,173 +264,6 @@ public class Parameters extends Resource implements IBaseParameters { && (resource == null || resource.isEmpty()) && (part == null || part.isEmpty()); } - } - - @Block() - public static class ParametersParameterPartComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The name of the parameter (reference to the operation definition). - */ - @Child(name = "name", type = {StringType.class}, order=1, min=1, max=1) - @Description(shortDefinition="Name from the definition", formalDefinition="The name of the parameter (reference to the operation definition)." ) - protected StringType name; - - /** - * The value of the parameter. - */ - @Child(name = "value", type = {}, order=2, min=0, max=1) - @Description(shortDefinition="Value of the part", formalDefinition="The value of the parameter." ) - protected org.hl7.fhir.instance.model.Type value; - - /** - * If the parameter is a whole resource. - */ - @Child(name = "resource", type = {Resource.class}, order=3, min=0, max=1) - @Description(shortDefinition="If part is a whole resource", formalDefinition="If the parameter is a whole resource." ) - protected Resource resource; - - private static final long serialVersionUID = 1120601371L; - - /* - * Constructor - */ - public ParametersParameterPartComponent() { - super(); - } - - /* - * Constructor - */ - public ParametersParameterPartComponent(StringType name) { - super(); - this.name = name; - } - - /** - * @return {@link #name} (The name of the parameter (reference to the operation definition).). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public StringType getNameElement() { - if (this.name == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ParametersParameterPartComponent.name"); - else if (Configuration.doAutoCreate()) - this.name = new StringType(); // bb - return this.name; - } - - public boolean hasNameElement() { - return this.name != null && !this.name.isEmpty(); - } - - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); - } - - /** - * @param value {@link #name} (The name of the parameter (reference to the operation definition).). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public ParametersParameterPartComponent setNameElement(StringType value) { - this.name = value; - return this; - } - - /** - * @return The name of the parameter (reference to the operation definition). - */ - public String getName() { - return this.name == null ? null : this.name.getValue(); - } - - /** - * @param value The name of the parameter (reference to the operation definition). - */ - public ParametersParameterPartComponent setName(String value) { - if (this.name == null) - this.name = new StringType(); - this.name.setValue(value); - return this; - } - - /** - * @return {@link #value} (The value of the parameter.) - */ - public org.hl7.fhir.instance.model.Type getValue() { - return this.value; - } - - public boolean hasValue() { - return this.value != null && !this.value.isEmpty(); - } - - /** - * @param value {@link #value} (The value of the parameter.) - */ - public ParametersParameterPartComponent setValue(org.hl7.fhir.instance.model.Type value) { - this.value = value; - return this; - } - - /** - * @return {@link #resource} (If the parameter is a whole resource.) - */ - public Resource getResource() { - return this.resource; - } - - public boolean hasResource() { - return this.resource != null && !this.resource.isEmpty(); - } - - /** - * @param value {@link #resource} (If the parameter is a whole resource.) - */ - public ParametersParameterPartComponent setResource(Resource value) { - this.resource = value; - return this; - } - - protected void listChildren(List childrenList) { - super.listChildren(childrenList); - childrenList.add(new Property("name", "string", "The name of the parameter (reference to the operation definition).", 0, java.lang.Integer.MAX_VALUE, name)); - childrenList.add(new Property("value[x]", "*", "The value of the parameter.", 0, java.lang.Integer.MAX_VALUE, value)); - childrenList.add(new Property("resource", "Resource", "If the parameter is a whole resource.", 0, java.lang.Integer.MAX_VALUE, resource)); - } - - public ParametersParameterPartComponent copy() { - ParametersParameterPartComponent dst = new ParametersParameterPartComponent(); - copyValues(dst); - dst.name = name == null ? null : name.copy(); - dst.value = value == null ? null : value.copy(); - dst.resource = resource == null ? null : resource.copy(); - return dst; - } - - @Override - public boolean equalsDeep(Base other) { - if (!super.equalsDeep(other)) - return false; - if (!(other instanceof ParametersParameterPartComponent)) - return false; - ParametersParameterPartComponent o = (ParametersParameterPartComponent) other; - return compareDeep(name, o.name, true) && compareDeep(value, o.value, true) && compareDeep(resource, o.resource, true) - ; - } - - @Override - public boolean equalsShallow(Base other) { - if (!super.equalsShallow(other)) - return false; - if (!(other instanceof ParametersParameterPartComponent)) - return false; - ParametersParameterPartComponent o = (ParametersParameterPartComponent) other; - return compareValues(name, o.name, true); - } - - public boolean isEmpty() { - return super.isEmpty() && (name == null || name.isEmpty()) && (value == null || value.isEmpty()) - && (resource == null || resource.isEmpty()); - } - } /** diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Patient.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Patient.java index ae4c5fcb6fb..3fc97e4d5b1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Patient.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Patient.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -85,9 +85,9 @@ public class Patient extends DomainResource { } public String getSystem() { switch (this) { - case REPLACE: return "http://hl7.org.fhir/link-type"; - case REFER: return "http://hl7.org.fhir/link-type"; - case SEEALSO: return "http://hl7.org.fhir/link-type"; + case REPLACE: return "http://hl7.org/fhir/link-type"; + case REFER: return "http://hl7.org/fhir/link-type"; + case SEEALSO: return "http://hl7.org/fhir/link-type"; default: return "?"; } } @@ -1052,10 +1052,10 @@ public class Patient extends DomainResource { protected List contact; /** - * This element has a value if the patient is an animal. + * This patient is known to be an animal. */ @Child(name = "animal", type = {}, order=11, min=0, max=1) - @Description(shortDefinition="If this patient is an animal (non-human)", formalDefinition="This element has a value if the patient is an animal." ) + @Description(shortDefinition="This patient is known to be an animal (non-human)", formalDefinition="This patient is known to be an animal." ) protected AnimalComponent animal; /** @@ -1346,6 +1346,10 @@ public class Patient extends DomainResource { return (BooleanType) this.deceased; } + public boolean hasDeceasedBooleanType() throws Exception { + return this.deceased instanceof BooleanType; + } + /** * @return {@link #deceased} (Indicates if the individual is deceased or not.) */ @@ -1355,6 +1359,10 @@ public class Patient extends DomainResource { return (DateTimeType) this.deceased; } + public boolean hasDeceasedDateTimeType() throws Exception { + return this.deceased instanceof DateTimeType; + } + public boolean hasDeceased() { return this.deceased != null && !this.deceased.isEmpty(); } @@ -1447,6 +1455,10 @@ public class Patient extends DomainResource { return (BooleanType) this.multipleBirth; } + public boolean hasMultipleBirthBooleanType() throws Exception { + return this.multipleBirth instanceof BooleanType; + } + /** * @return {@link #multipleBirth} (Indicates whether the patient is part of a multiple or indicates the actual birth order.) */ @@ -1456,6 +1468,10 @@ public class Patient extends DomainResource { return (IntegerType) this.multipleBirth; } + public boolean hasMultipleBirthIntegerType() throws Exception { + return this.multipleBirth instanceof IntegerType; + } + public boolean hasMultipleBirth() { return this.multipleBirth != null && !this.multipleBirth.isEmpty(); } @@ -1549,7 +1565,7 @@ public class Patient extends DomainResource { } /** - * @return {@link #animal} (This element has a value if the patient is an animal.) + * @return {@link #animal} (This patient is known to be an animal.) */ public AnimalComponent getAnimal() { if (this.animal == null) @@ -1565,7 +1581,7 @@ public class Patient extends DomainResource { } /** - * @param value {@link #animal} (This element has a value if the patient is an animal.) + * @param value {@link #animal} (This patient is known to be an animal.) */ public Patient setAnimal(AnimalComponent value) { this.animal = value; @@ -1803,7 +1819,7 @@ public class Patient extends DomainResource { childrenList.add(new Property("multipleBirth[x]", "boolean|integer", "Indicates whether the patient is part of a multiple or indicates the actual birth order.", 0, java.lang.Integer.MAX_VALUE, multipleBirth)); childrenList.add(new Property("photo", "Attachment", "Image of the patient.", 0, java.lang.Integer.MAX_VALUE, photo)); childrenList.add(new Property("contact", "", "A contact party (e.g. guardian, partner, friend) for the patient.", 0, java.lang.Integer.MAX_VALUE, contact)); - childrenList.add(new Property("animal", "", "This element has a value if the patient is an animal.", 0, java.lang.Integer.MAX_VALUE, animal)); + childrenList.add(new Property("animal", "", "This patient is known to be an animal.", 0, java.lang.Integer.MAX_VALUE, animal)); childrenList.add(new Property("communication", "", "Languages which may be used to communicate with the patient about his or her health.", 0, java.lang.Integer.MAX_VALUE, communication)); childrenList.add(new Property("careProvider", "Reference(Organization|Practitioner)", "Patient's nominated care provider.", 0, java.lang.Integer.MAX_VALUE, careProvider)); childrenList.add(new Property("managingOrganization", "Reference(Organization)", "Organization that is the custodian of the patient record.", 0, java.lang.Integer.MAX_VALUE, managingOrganization)); @@ -1926,6 +1942,8 @@ public class Patient extends DomainResource { public static final String SP_BIRTHDATE = "birthdate"; @SearchParamDefinition(name="deceased", path="Patient.deceased[x]", description="This patient has been marked as deceased, or as a death date entered", type="token" ) public static final String SP_DECEASED = "deceased"; + @SearchParamDefinition(name="address-state", path="Patient.address.state", description="A state specified in an address", type="string" ) + public static final String SP_ADDRESSSTATE = "address-state"; @SearchParamDefinition(name="gender", path="Patient.gender", description="Gender of the patient", type="token" ) public static final String SP_GENDER = "gender"; @SearchParamDefinition(name="animal-species", path="Patient.animal.species", description="The species for animal patients", type="token" ) @@ -1938,8 +1956,12 @@ public class Patient extends DomainResource { public static final String SP_LANGUAGE = "language"; @SearchParamDefinition(name="deathdate", path="Patient.deceased[x]", description="The date of death has been provided and satisfies this search value", type="date" ) public static final String SP_DEATHDATE = "deathdate"; + @SearchParamDefinition(name="address-postalcode", path="Patient.address.postalCode", description="A postalCode specified in an address", type="string" ) + public static final String SP_ADDRESSPOSTALCODE = "address-postalcode"; @SearchParamDefinition(name="animal-breed", path="Patient.animal.breed", description="The breed for animal patients", type="token" ) public static final String SP_ANIMALBREED = "animal-breed"; + @SearchParamDefinition(name="address-country", path="Patient.address.country", description="A country specified in an address", type="string" ) + public static final String SP_ADDRESSCOUNTRY = "address-country"; @SearchParamDefinition(name="careprovider", path="Patient.careProvider", description="Patient's nominated care provider, could be a care manager, not the organization that manages the record", type="reference" ) public static final String SP_CAREPROVIDER = "careprovider"; @SearchParamDefinition(name="phonetic", path="", description="A portion of either family or given name using some kind of phonetic matching algorithm", type="string" ) @@ -1948,10 +1970,14 @@ public class Patient extends DomainResource { public static final String SP_ORGANIZATION = "organization"; @SearchParamDefinition(name="name", path="Patient.name", description="A portion of either family or given name of the patient", type="string" ) public static final String SP_NAME = "name"; + @SearchParamDefinition(name="address-use", path="Patient.address.use", description="A use code specified in an address", type="token" ) + public static final String SP_ADDRESSUSE = "address-use"; @SearchParamDefinition(name="telecom", path="Patient.telecom", description="The value in any kind of telecom details of the patient", type="token" ) public static final String SP_TELECOM = "telecom"; @SearchParamDefinition(name="family", path="Patient.name.family", description="A portion of the family name of the patient", type="string" ) public static final String SP_FAMILY = "family"; + @SearchParamDefinition(name="address-city", path="Patient.address.city", description="A city specified in an address", type="string" ) + public static final String SP_ADDRESSCITY = "address-city"; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentNotice.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentNotice.java index 8a181d6180a..a22b89073e3 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentNotice.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentNotice.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentReconciliation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentReconciliation.java index b043268a6c0..030268151d1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentReconciliation.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/PaymentReconciliation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Period.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Period.java index 35358f55c58..f5305b5a560 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Period.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Period.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Person.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Person.java index e150fc18aa6..6a111eaa422 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Person.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Person.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -92,10 +92,10 @@ public class Person extends DomainResource { } public String getSystem() { switch (this) { - case LEVEL1: return "http://hl7.org.fhir/identity-assuranceLevel"; - case LEVEL2: return "http://hl7.org.fhir/identity-assuranceLevel"; - case LEVEL3: return "http://hl7.org.fhir/identity-assuranceLevel"; - case LEVEL4: return "http://hl7.org.fhir/identity-assuranceLevel"; + case LEVEL1: return "http://hl7.org/fhir/identity-assuranceLevel"; + case LEVEL2: return "http://hl7.org/fhir/identity-assuranceLevel"; + case LEVEL3: return "http://hl7.org/fhir/identity-assuranceLevel"; + case LEVEL4: return "http://hl7.org/fhir/identity-assuranceLevel"; default: return "?"; } } @@ -345,9 +345,9 @@ public class Person extends DomainResource { /** * The birth date for the person. */ - @Child(name = "birthDate", type = {DateTimeType.class}, order=4, min=0, max=1) - @Description(shortDefinition="The birth date for the person", formalDefinition="The birth date for the person." ) - protected DateTimeType birthDate; + @Child(name = "birthDate", type = {DateType.class}, order=4, min=0, max=1) + @Description(shortDefinition="The date on which the person was born", formalDefinition="The birth date for the person." ) + protected DateType birthDate; /** * One or more addresses for the person. @@ -389,7 +389,7 @@ public class Person extends DomainResource { @Description(shortDefinition="Link to a resource that concerns the same actual person", formalDefinition="Link to a resource that concerns the same actual person." ) protected List link; - private static final long serialVersionUID = -2072707611L; + private static final long serialVersionUID = -117464654L; /* * Constructor @@ -570,12 +570,12 @@ public class Person extends DomainResource { /** * @return {@link #birthDate} (The birth date for the person.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value */ - public DateTimeType getBirthDateElement() { + public DateType getBirthDateElement() { if (this.birthDate == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Person.birthDate"); else if (Configuration.doAutoCreate()) - this.birthDate = new DateTimeType(); // bb + this.birthDate = new DateType(); // bb return this.birthDate; } @@ -590,7 +590,7 @@ public class Person extends DomainResource { /** * @param value {@link #birthDate} (The birth date for the person.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value */ - public Person setBirthDateElement(DateTimeType value) { + public Person setBirthDateElement(DateType value) { this.birthDate = value; return this; } @@ -610,7 +610,7 @@ public class Person extends DomainResource { this.birthDate = null; else { if (this.birthDate == null) - this.birthDate = new DateTimeType(); + this.birthDate = new DateType(); this.birthDate.setValue(value); } return this; @@ -815,7 +815,7 @@ public class Person extends DomainResource { childrenList.add(new Property("name", "HumanName", "A name associated with the person.", 0, java.lang.Integer.MAX_VALUE, name)); childrenList.add(new Property("telecom", "ContactPoint", "A contact detail for the person, e.g. a telephone number or an email address.", 0, java.lang.Integer.MAX_VALUE, telecom)); childrenList.add(new Property("gender", "code", "Administrative Gender.", 0, java.lang.Integer.MAX_VALUE, gender)); - childrenList.add(new Property("birthDate", "dateTime", "The birth date for the person.", 0, java.lang.Integer.MAX_VALUE, birthDate)); + childrenList.add(new Property("birthDate", "date", "The birth date for the person.", 0, java.lang.Integer.MAX_VALUE, birthDate)); childrenList.add(new Property("address", "Address", "One or more addresses for the person.", 0, java.lang.Integer.MAX_VALUE, address)); childrenList.add(new Property("photo", "Attachment", "An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.", 0, java.lang.Integer.MAX_VALUE, photo)); childrenList.add(new Property("managingOrganization", "Reference(Organization)", "The Organization that is the custodian of the person record.", 0, java.lang.Integer.MAX_VALUE, managingOrganization)); @@ -901,28 +901,38 @@ public class Person extends DomainResource { @SearchParamDefinition(name="identifier", path="Person.identifier", description="A person Identifier", type="token" ) public static final String SP_IDENTIFIER = "identifier"; - @SearchParamDefinition(name="phonetic", path="", description="A portion of name using some kind of phonetic matching algorithm", type="string" ) - public static final String SP_PHONETIC = "phonetic"; @SearchParamDefinition(name="address", path="Person.address", description="An address in any kind of address/part", type="string" ) public static final String SP_ADDRESS = "address"; @SearchParamDefinition(name="birthdate", path="Person.birthDate", description="The person's date of birth", type="date" ) public static final String SP_BIRTHDATE = "birthdate"; + @SearchParamDefinition(name="address-state", path="Person.address.state", description="A state specified in an address", type="string" ) + public static final String SP_ADDRESSSTATE = "address-state"; @SearchParamDefinition(name="gender", path="Person.gender", description="The gender of the person", type="token" ) public static final String SP_GENDER = "gender"; @SearchParamDefinition(name="practitioner", path="Person.link.target", description="The Person links to this Practitioner", type="reference" ) public static final String SP_PRACTITIONER = "practitioner"; + @SearchParamDefinition(name="link", path="Person.link.target", description="Any link has this Patient, Person, RelatedPerson or Practitioner reference", type="reference" ) + public static final String SP_LINK = "link"; + @SearchParamDefinition(name="relatedperson", path="Person.link.target", description="The Person links to this RelatedPerson", type="reference" ) + public static final String SP_RELATEDPERSON = "relatedperson"; + @SearchParamDefinition(name="address-postalcode", path="Person.address.postalCode", description="A postalCode specified in an address", type="string" ) + public static final String SP_ADDRESSPOSTALCODE = "address-postalcode"; + @SearchParamDefinition(name="address-country", path="Person.address.country", description="A country specified in an address", type="string" ) + public static final String SP_ADDRESSCOUNTRY = "address-country"; + @SearchParamDefinition(name="phonetic", path="", description="A portion of name using some kind of phonetic matching algorithm", type="string" ) + public static final String SP_PHONETIC = "phonetic"; @SearchParamDefinition(name="patient", path="Person.link.target", description="The Person links to this Patient", type="reference" ) public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="organization", path="Person.managingOrganization", description="The organization at which this person record is being managed", type="reference" ) public static final String SP_ORGANIZATION = "organization"; @SearchParamDefinition(name="name", path="Person.name", description="A portion of name in any name part", type="string" ) public static final String SP_NAME = "name"; - @SearchParamDefinition(name="link", path="Person.link.target", description="Any link has this Patient, Person, RelatedPerson or Practitioner reference", type="reference" ) - public static final String SP_LINK = "link"; + @SearchParamDefinition(name="address-use", path="Person.address.use", description="A use code specified in an address", type="token" ) + public static final String SP_ADDRESSUSE = "address-use"; @SearchParamDefinition(name="telecom", path="Person.telecom", description="The value in any kind of contact", type="token" ) public static final String SP_TELECOM = "telecom"; - @SearchParamDefinition(name="relatedperson", path="Person.link.target", description="The Person links to this RelatedPerson", type="reference" ) - public static final String SP_RELATEDPERSON = "relatedperson"; + @SearchParamDefinition(name="address-city", path="Person.address.city", description="A city specified in an address", type="string" ) + public static final String SP_ADDRESSCITY = "address-city"; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Practitioner.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Practitioner.java index 2a349e523a0..4f1c126c2e0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Practitioner.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Practitioner.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -706,7 +706,7 @@ public class Practitioner extends DomainResource { * The date of birth for the practitioner. */ @Child(name = "birthDate", type = {DateType.class}, order=5, min=0, max=1) - @Description(shortDefinition="The date of birth for the practitioner", formalDefinition="The date of birth for the practitioner." ) + @Description(shortDefinition="The date on which the practitioner was born", formalDefinition="The date of birth for the practitioner." ) protected DateType birthDate; /** @@ -1249,7 +1249,7 @@ public class Practitioner extends DomainResource { @SearchParamDefinition(name="identifier", path="Practitioner.identifier", description="A practitioner's Identifier", type="token" ) public static final String SP_IDENTIFIER = "identifier"; - @SearchParamDefinition(name="given", path="Practitioner.name", description="A portion of the given name", type="string" ) + @SearchParamDefinition(name="given", path="Practitioner.name.given", description="A portion of the given name", type="string" ) public static final String SP_GIVEN = "given"; @SearchParamDefinition(name="specialty", path="Practitioner.practitionerRole.specialty", description="The practitioner has this specailty at an organization", type="token" ) public static final String SP_SPECIALTY = "specialty"; @@ -1257,20 +1257,30 @@ public class Practitioner extends DomainResource { public static final String SP_ADDRESS = "address"; @SearchParamDefinition(name="role", path="Practitioner.practitionerRole.role", description="The practitioner can perform this role at for the organization", type="token" ) public static final String SP_ROLE = "role"; + @SearchParamDefinition(name="address-state", path="Practitioner.address.state", description="A state specified in an address", type="string" ) + public static final String SP_ADDRESSSTATE = "address-state"; @SearchParamDefinition(name="gender", path="Practitioner.gender", description="Gender of the practitioner", type="token" ) public static final String SP_GENDER = "gender"; - @SearchParamDefinition(name="phonetic", path="Practitioner.name", description="A portion of either family or given name using some kind of phonetic matching algorithm", type="string" ) + @SearchParamDefinition(name="address-postalcode", path="Practitioner.address.postalCode", description="A postalCode specified in an address", type="string" ) + public static final String SP_ADDRESSPOSTALCODE = "address-postalcode"; + @SearchParamDefinition(name="address-country", path="Practitioner.address.country", description="A country specified in an address", type="string" ) + public static final String SP_ADDRESSCOUNTRY = "address-country"; + @SearchParamDefinition(name="phonetic", path="", description="A portion of either family or given name using some kind of phonetic matching algorithm", type="string" ) public static final String SP_PHONETIC = "phonetic"; @SearchParamDefinition(name="organization", path="Practitioner.practitionerRole.managingOrganization", description="The identity of the organization the practitioner represents / acts on behalf of", type="reference" ) public static final String SP_ORGANIZATION = "organization"; @SearchParamDefinition(name="name", path="Practitioner.name", description="A portion of either family or given name", type="string" ) public static final String SP_NAME = "name"; + @SearchParamDefinition(name="address-use", path="Practitioner.address.use", description="A use code specified in an address", type="token" ) + public static final String SP_ADDRESSUSE = "address-use"; @SearchParamDefinition(name="telecom", path="Practitioner.telecom", description="The value in any kind of contact", type="token" ) public static final String SP_TELECOM = "telecom"; @SearchParamDefinition(name="location", path="Practitioner.practitionerRole.location", description="One of the locations at which this practitioner provides care", type="reference" ) public static final String SP_LOCATION = "location"; - @SearchParamDefinition(name="family", path="Practitioner.name", description="A portion of the family name", type="string" ) + @SearchParamDefinition(name="family", path="Practitioner.name.family", description="A portion of the family name", type="string" ) public static final String SP_FAMILY = "family"; + @SearchParamDefinition(name="address-city", path="Practitioner.address.city", description="A city specified in an address", type="string" ) + public static final String SP_ADDRESSCITY = "address-city"; @SearchParamDefinition(name="communication", path="Practitioner.communication", description="One of the languages that the practitioner can communicate with", type="token" ) public static final String SP_COMMUNICATION = "communication"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Procedure.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Procedure.java index 6c0f87a9be7..54324d97975 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Procedure.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Procedure.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -91,10 +91,10 @@ public class Procedure extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/procedure-status"; - case ABORTED: return "http://hl7.org.fhir/procedure-status"; - case COMPLETED: return "http://hl7.org.fhir/procedure-status"; - case ENTEREDINERROR: return "http://hl7.org.fhir/procedure-status"; + case INPROGRESS: return "http://hl7.org/fhir/procedure-status"; + case ABORTED: return "http://hl7.org/fhir/procedure-status"; + case COMPLETED: return "http://hl7.org/fhir/procedure-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/procedure-status"; default: return "?"; } } @@ -177,8 +177,8 @@ public class Procedure extends DomainResource { } public String getSystem() { switch (this) { - case CAUSEDBY: return "http://hl7.org.fhir/procedure-relationship-type"; - case BECAUSEOF: return "http://hl7.org.fhir/procedure-relationship-type"; + case CAUSEDBY: return "http://hl7.org/fhir/procedure-relationship-type"; + case BECAUSEOF: return "http://hl7.org/fhir/procedure-relationship-type"; default: return "?"; } } @@ -260,6 +260,10 @@ public class Procedure extends DomainResource { return (CodeableConcept) this.site; } + public boolean hasSiteCodeableConcept() throws Exception { + return this.site instanceof CodeableConcept; + } + /** * @return {@link #site} (Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.) */ @@ -269,6 +273,10 @@ public class Procedure extends DomainResource { return (Reference) this.site; } + public boolean hasSiteReference() throws Exception { + return this.site instanceof Reference; + } + public boolean hasSite() { return this.site != null && !this.site.isEmpty(); } @@ -1249,6 +1257,10 @@ public class Procedure extends DomainResource { return (DateTimeType) this.performed; } + public boolean hasPerformedDateTimeType() throws Exception { + return this.performed instanceof DateTimeType; + } + /** * @return {@link #performed} (The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.) */ @@ -1258,6 +1270,10 @@ public class Procedure extends DomainResource { return (Period) this.performed; } + public boolean hasPerformedPeriod() throws Exception { + return this.performed instanceof Period; + } + public boolean hasPerformed() { return this.performed != null && !this.performed.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcedureRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcedureRequest.java index 561f629907c..6602659b6de 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcedureRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcedureRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -133,16 +133,16 @@ public class ProcedureRequest extends DomainResource { } public String getSystem() { switch (this) { - case PROPOSED: return "http://hl7.org.fhir/procedure-request-status"; - case DRAFT: return "http://hl7.org.fhir/procedure-request-status"; - case REQUESTED: return "http://hl7.org.fhir/procedure-request-status"; - case RECEIVED: return "http://hl7.org.fhir/procedure-request-status"; - case ACCEPTED: return "http://hl7.org.fhir/procedure-request-status"; - case INPROGRESS: return "http://hl7.org.fhir/procedure-request-status"; - case COMPLETED: return "http://hl7.org.fhir/procedure-request-status"; - case SUSPENDED: return "http://hl7.org.fhir/procedure-request-status"; - case REJECTED: return "http://hl7.org.fhir/procedure-request-status"; - case ABORTED: return "http://hl7.org.fhir/procedure-request-status"; + case PROPOSED: return "http://hl7.org/fhir/procedure-request-status"; + case DRAFT: return "http://hl7.org/fhir/procedure-request-status"; + case REQUESTED: return "http://hl7.org/fhir/procedure-request-status"; + case RECEIVED: return "http://hl7.org/fhir/procedure-request-status"; + case ACCEPTED: return "http://hl7.org/fhir/procedure-request-status"; + case INPROGRESS: return "http://hl7.org/fhir/procedure-request-status"; + case COMPLETED: return "http://hl7.org/fhir/procedure-request-status"; + case SUSPENDED: return "http://hl7.org/fhir/procedure-request-status"; + case REJECTED: return "http://hl7.org/fhir/procedure-request-status"; + case ABORTED: return "http://hl7.org/fhir/procedure-request-status"; default: return "?"; } } @@ -275,10 +275,10 @@ public class ProcedureRequest extends DomainResource { } public String getSystem() { switch (this) { - case ROUTINE: return "http://hl7.org.fhir/procedure-request-priority"; - case URGENT: return "http://hl7.org.fhir/procedure-request-priority"; - case STAT: return "http://hl7.org.fhir/procedure-request-priority"; - case ASAP: return "http://hl7.org.fhir/procedure-request-priority"; + case ROUTINE: return "http://hl7.org/fhir/procedure-request-priority"; + case URGENT: return "http://hl7.org/fhir/procedure-request-priority"; + case STAT: return "http://hl7.org/fhir/procedure-request-priority"; + case ASAP: return "http://hl7.org/fhir/procedure-request-priority"; default: return "?"; } } @@ -372,6 +372,10 @@ public class ProcedureRequest extends DomainResource { return (CodeableConcept) this.site; } + public boolean hasSiteCodeableConcept() throws Exception { + return this.site instanceof CodeableConcept; + } + /** * @return {@link #site} (Indicates the site on the subject's body where the procedure should be performed ( i.e. the target sites).) */ @@ -381,6 +385,10 @@ public class ProcedureRequest extends DomainResource { return (Reference) this.site; } + public boolean hasSiteReference() throws Exception { + return this.site instanceof Reference; + } + public boolean hasSite() { return this.site != null && !this.site.isEmpty(); } @@ -771,6 +779,10 @@ public class ProcedureRequest extends DomainResource { return (DateTimeType) this.timing; } + public boolean hasTimingDateTimeType() throws Exception { + return this.timing instanceof DateTimeType; + } + /** * @return {@link #timing} (The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -780,6 +792,10 @@ public class ProcedureRequest extends DomainResource { return (Period) this.timing; } + public boolean hasTimingPeriod() throws Exception { + return this.timing instanceof Period; + } + /** * @return {@link #timing} (The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".) */ @@ -789,6 +805,10 @@ public class ProcedureRequest extends DomainResource { return (Timing) this.timing; } + public boolean hasTimingTiming() throws Exception { + return this.timing instanceof Timing; + } + public boolean hasTiming() { return this.timing != null && !this.timing.isEmpty(); } @@ -1003,6 +1023,10 @@ public class ProcedureRequest extends DomainResource { return (BooleanType) this.asNeeded; } + public boolean hasAsNeededBooleanType() throws Exception { + return this.asNeeded instanceof BooleanType; + } + /** * @return {@link #asNeeded} (If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.) */ @@ -1012,6 +1036,10 @@ public class ProcedureRequest extends DomainResource { return (CodeableConcept) this.asNeeded; } + public boolean hasAsNeededCodeableConcept() throws Exception { + return this.asNeeded instanceof CodeableConcept; + } + public boolean hasAsNeeded() { return this.asNeeded != null && !this.asNeeded.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessRequest.java index 9bd70c028bb..2596a39549c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -92,10 +92,10 @@ public class ProcessRequest extends DomainResource { } public String getSystem() { switch (this) { - case CANCEL: return "http://hl7.org.fhir/actionlist"; - case POLL: return "http://hl7.org.fhir/actionlist"; - case REPROCESS: return "http://hl7.org.fhir/actionlist"; - case STATUS: return "http://hl7.org.fhir/actionlist"; + case CANCEL: return "http://hl7.org/fhir/actionlist"; + case POLL: return "http://hl7.org/fhir/actionlist"; + case REPROCESS: return "http://hl7.org/fhir/actionlist"; + case STATUS: return "http://hl7.org/fhir/actionlist"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessResponse.java index 214e19cc9ff..2426f5715b0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessResponse.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcessResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Provenance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Provenance.java index e4efc9aa78f..e72eb1186d7 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Provenance.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Provenance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -91,10 +91,10 @@ public class Provenance extends DomainResource { } public String getSystem() { switch (this) { - case DERIVATION: return "http://hl7.org.fhir/provenance-entity-role"; - case REVISION: return "http://hl7.org.fhir/provenance-entity-role"; - case QUOTATION: return "http://hl7.org.fhir/provenance-entity-role"; - case SOURCE: return "http://hl7.org.fhir/provenance-entity-role"; + case DERIVATION: return "http://hl7.org/fhir/provenance-entity-role"; + case REVISION: return "http://hl7.org/fhir/provenance-entity-role"; + case QUOTATION: return "http://hl7.org/fhir/provenance-entity-role"; + case SOURCE: return "http://hl7.org/fhir/provenance-entity-role"; default: return "?"; } } @@ -156,27 +156,25 @@ public class Provenance extends DomainResource { protected Coding role; /** - * The type of participation of the agent. + * The individual, device or organization that participated in the event. */ - @Child(name = "type", type = {Coding.class}, order=2, min=1, max=1) - @Description(shortDefinition="Agent Type", formalDefinition="The type of participation of the agent." ) - protected Coding type; + @Child(name = "actor", type = {Practitioner.class, RelatedPerson.class, Patient.class, Device.class}, order=2, min=0, max=1) + @Description(shortDefinition="Individual, device or organization playing role", formalDefinition="The individual, device or organization that participated in the event." ) + protected Reference actor; /** - * Identity of participant as a Resource or uri. + * The actual object that is the target of the reference (The individual, device or organization that participated in the event.) */ - @Child(name = "reference", type = {UriType.class, Practitioner.class, RelatedPerson.class, Patient.class, Device.class}, order=3, min=0, max=1) - @Description(shortDefinition="Identity of agent", formalDefinition="Identity of participant as a Resource or uri." ) - protected Type reference; + protected Resource actorTarget; /** - * Human-readable description of the participant. + * The identify of the agent as known by the authorization system. */ - @Child(name = "display", type = {StringType.class}, order=4, min=0, max=1) - @Description(shortDefinition="Human description of participant", formalDefinition="Human-readable description of the participant." ) - protected StringType display; + @Child(name = "userId", type = {Identifier.class}, order=3, min=0, max=1) + @Description(shortDefinition="Authorization-system identifier for the agent", formalDefinition="The identify of the agent as known by the authorization system." ) + protected Identifier userId; - private static final long serialVersionUID = -689391376L; + private static final long serialVersionUID = -1847456681L; /* * Constructor @@ -188,10 +186,9 @@ public class Provenance extends DomainResource { /* * Constructor */ - public ProvenanceAgentComponent(Coding role, Coding type) { + public ProvenanceAgentComponent(Coding role) { super(); this.role = role; - this.type = type; } /** @@ -219,130 +216,81 @@ public class Provenance extends DomainResource { } /** - * @return {@link #type} (The type of participation of the agent.) + * @return {@link #actor} (The individual, device or organization that participated in the event.) */ - public Coding getType() { - if (this.type == null) + public Reference getActor() { + if (this.actor == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ProvenanceAgentComponent.type"); + throw new Error("Attempt to auto-create ProvenanceAgentComponent.actor"); else if (Configuration.doAutoCreate()) - this.type = new Coding(); // cc - return this.type; + this.actor = new Reference(); // cc + return this.actor; } - public boolean hasType() { - return this.type != null && !this.type.isEmpty(); + public boolean hasActor() { + return this.actor != null && !this.actor.isEmpty(); } /** - * @param value {@link #type} (The type of participation of the agent.) + * @param value {@link #actor} (The individual, device or organization that participated in the event.) */ - public ProvenanceAgentComponent setType(Coding value) { - this.type = value; + public ProvenanceAgentComponent setActor(Reference value) { + this.actor = value; return this; } /** - * @return {@link #reference} (Identity of participant as a Resource or uri.) + * @return {@link #actor} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual, device or organization that participated in the event.) */ - public Type getReference() { - return this.reference; + public Resource getActorTarget() { + return this.actorTarget; } /** - * @return {@link #reference} (Identity of participant as a Resource or uri.) + * @param value {@link #actor} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual, device or organization that participated in the event.) */ - public UriType getReferenceUriType() throws Exception { - if (!(this.reference instanceof UriType)) - throw new Exception("Type mismatch: the type UriType was expected, but "+this.reference.getClass().getName()+" was encountered"); - return (UriType) this.reference; - } - - /** - * @return {@link #reference} (Identity of participant as a Resource or uri.) - */ - public Reference getReferenceReference() throws Exception { - if (!(this.reference instanceof Reference)) - throw new Exception("Type mismatch: the type Reference was expected, but "+this.reference.getClass().getName()+" was encountered"); - return (Reference) this.reference; - } - - public boolean hasReference() { - return this.reference != null && !this.reference.isEmpty(); - } - - /** - * @param value {@link #reference} (Identity of participant as a Resource or uri.) - */ - public ProvenanceAgentComponent setReference(Type value) { - this.reference = value; + public ProvenanceAgentComponent setActorTarget(Resource value) { + this.actorTarget = value; return this; } /** - * @return {@link #display} (Human-readable description of the participant.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value + * @return {@link #userId} (The identify of the agent as known by the authorization system.) */ - public StringType getDisplayElement() { - if (this.display == null) + public Identifier getUserId() { + if (this.userId == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ProvenanceAgentComponent.display"); + throw new Error("Attempt to auto-create ProvenanceAgentComponent.userId"); else if (Configuration.doAutoCreate()) - this.display = new StringType(); // bb - return this.display; + this.userId = new Identifier(); // cc + return this.userId; } - public boolean hasDisplayElement() { - return this.display != null && !this.display.isEmpty(); - } - - public boolean hasDisplay() { - return this.display != null && !this.display.isEmpty(); + public boolean hasUserId() { + return this.userId != null && !this.userId.isEmpty(); } /** - * @param value {@link #display} (Human-readable description of the participant.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value + * @param value {@link #userId} (The identify of the agent as known by the authorization system.) */ - public ProvenanceAgentComponent setDisplayElement(StringType value) { - this.display = value; - return this; - } - - /** - * @return Human-readable description of the participant. - */ - public String getDisplay() { - return this.display == null ? null : this.display.getValue(); - } - - /** - * @param value Human-readable description of the participant. - */ - public ProvenanceAgentComponent setDisplay(String value) { - if (Utilities.noString(value)) - this.display = null; - else { - if (this.display == null) - this.display = new StringType(); - this.display.setValue(value); - } + public ProvenanceAgentComponent setUserId(Identifier value) { + this.userId = value; return this; } protected void listChildren(List childrenList) { super.listChildren(childrenList); childrenList.add(new Property("role", "Coding", "The function of the agent with respect to the activity.", 0, java.lang.Integer.MAX_VALUE, role)); - childrenList.add(new Property("type", "Coding", "The type of participation of the agent.", 0, java.lang.Integer.MAX_VALUE, type)); - childrenList.add(new Property("reference[x]", "uri|Reference(Practitioner|RelatedPerson|Patient|Device)", "Identity of participant as a Resource or uri.", 0, java.lang.Integer.MAX_VALUE, reference)); - childrenList.add(new Property("display", "string", "Human-readable description of the participant.", 0, java.lang.Integer.MAX_VALUE, display)); + childrenList.add(new Property("actor", "Reference(Practitioner|RelatedPerson|Patient|Device)", "The individual, device or organization that participated in the event.", 0, java.lang.Integer.MAX_VALUE, actor)); + childrenList.add(new Property("userId", "Identifier", "The identify of the agent as known by the authorization system.", 0, java.lang.Integer.MAX_VALUE, userId)); } public ProvenanceAgentComponent copy() { ProvenanceAgentComponent dst = new ProvenanceAgentComponent(); copyValues(dst); dst.role = role == null ? null : role.copy(); - dst.type = type == null ? null : type.copy(); - dst.reference = reference == null ? null : reference.copy(); - dst.display = display == null ? null : display.copy(); + dst.actor = actor == null ? null : actor.copy(); + dst.userId = userId == null ? null : userId.copy(); return dst; } @@ -353,8 +301,8 @@ public class Provenance extends DomainResource { if (!(other instanceof ProvenanceAgentComponent)) return false; ProvenanceAgentComponent o = (ProvenanceAgentComponent) other; - return compareDeep(role, o.role, true) && compareDeep(type, o.type, true) && compareDeep(reference, o.reference, true) - && compareDeep(display, o.display, true); + return compareDeep(role, o.role, true) && compareDeep(actor, o.actor, true) && compareDeep(userId, o.userId, true) + ; } @Override @@ -364,12 +312,12 @@ public class Provenance extends DomainResource { if (!(other instanceof ProvenanceAgentComponent)) return false; ProvenanceAgentComponent o = (ProvenanceAgentComponent) other; - return compareValues(display, o.display, true); + return true; } public boolean isEmpty() { - return super.isEmpty() && (role == null || role.isEmpty()) && (type == null || type.isEmpty()) - && (reference == null || reference.isEmpty()) && (display == null || display.isEmpty()); + return super.isEmpty() && (role == null || role.isEmpty()) && (actor == null || actor.isEmpty()) + && (userId == null || userId.isEmpty()); } } @@ -1206,6 +1154,10 @@ public class Provenance extends DomainResource { @SearchParamDefinition(name="sigtype", path="Provenance.signature.type", description="Indication of the reason the entity signed the object(s)", type="token" ) public static final String SP_SIGTYPE = "sigtype"; + @SearchParamDefinition(name="agent", path="Provenance.agent.actor", description="Individual, device or organization playing role", type="reference" ) + public static final String SP_AGENT = "agent"; + @SearchParamDefinition(name="entitytype", path="Provenance.entity.reference", description="Identity of entity", type="uri" ) + public static final String SP_ENTITYTYPE = "entitytype"; @SearchParamDefinition(name="patient", path="", description="A patient that the target resource(s) refer to", type="reference" ) public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="start", path="Provenance.period.start", description="Starting time with inclusive boundary", type="date" ) @@ -1214,10 +1166,10 @@ public class Provenance extends DomainResource { public static final String SP_END = "end"; @SearchParamDefinition(name="location", path="Provenance.location", description="Where the activity occurred, if relevant", type="reference" ) public static final String SP_LOCATION = "location"; - @SearchParamDefinition(name="partytype", path="Provenance.agent.type", description="Agent Type", type="token" ) - public static final String SP_PARTYTYPE = "partytype"; - @SearchParamDefinition(name="party", path="Provenance.agent.reference[x]", description="Identity of agent", type="reference" ) - public static final String SP_PARTY = "party"; + @SearchParamDefinition(name="userid", path="Provenance.agent.userId", description="Authorization-system identifier for the agent", type="token" ) + public static final String SP_USERID = "userid"; + @SearchParamDefinition(name="entity", path="Provenance.entity.type", description="Entity Type", type="token" ) + public static final String SP_ENTITY = "entity"; @SearchParamDefinition(name="target", path="Provenance.target", description="Target Reference(s) (usually version specific)", type="reference" ) public static final String SP_TARGET = "target"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Quantity.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Quantity.java index aa43048c720..f1b66dd1ee7 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Quantity.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Quantity.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -91,10 +91,10 @@ public class Quantity extends Type implements ICompositeType { } public String getSystem() { switch (this) { - case LESS_THAN: return "http://hl7.org.fhir/quantity-comparator"; - case LESS_OR_EQUAL: return "http://hl7.org.fhir/quantity-comparator"; - case GREATER_OR_EQUAL: return "http://hl7.org.fhir/quantity-comparator"; - case GREATER_THAN: return "http://hl7.org.fhir/quantity-comparator"; + case LESS_THAN: return "http://hl7.org/fhir/quantity-comparator"; + case LESS_OR_EQUAL: return "http://hl7.org/fhir/quantity-comparator"; + case GREATER_OR_EQUAL: return "http://hl7.org/fhir/quantity-comparator"; + case GREATER_THAN: return "http://hl7.org/fhir/quantity-comparator"; default: return "?"; } } @@ -109,10 +109,10 @@ public class Quantity extends Type implements ICompositeType { } public String getDisplay() { switch (this) { - case LESS_THAN: return " "; - case LESS_OR_EQUAL: return " "; - case GREATER_OR_EQUAL: return " "; - case GREATER_THAN: return " "; + case LESS_THAN: return "Less than"; + case LESS_OR_EQUAL: return "Less or Equal to"; + case GREATER_OR_EQUAL: return "Greater or Equal to"; + case GREATER_THAN: return "Greater than"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Questionnaire.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Questionnaire.java index c9844e0874d..b8e0b409b24 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Questionnaire.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Questionnaire.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class Questionnaire extends DomainResource { } public String getSystem() { switch (this) { - case DRAFT: return "http://hl7.org.fhir/questionnaire-status"; - case PUBLISHED: return "http://hl7.org.fhir/questionnaire-status"; - case RETIRED: return "http://hl7.org.fhir/questionnaire-status"; + case DRAFT: return "http://hl7.org/fhir/questionnaire-status"; + case PUBLISHED: return "http://hl7.org/fhir/questionnaire-status"; + case RETIRED: return "http://hl7.org/fhir/questionnaire-status"; default: return "?"; } } @@ -254,21 +254,21 @@ public class Questionnaire extends DomainResource { } public String getSystem() { switch (this) { - case BOOLEAN: return "http://hl7.org.fhir/answer-format"; - case DECIMAL: return "http://hl7.org.fhir/answer-format"; - case INTEGER: return "http://hl7.org.fhir/answer-format"; - case DATE: return "http://hl7.org.fhir/answer-format"; - case DATETIME: return "http://hl7.org.fhir/answer-format"; - case INSTANT: return "http://hl7.org.fhir/answer-format"; - case TIME: return "http://hl7.org.fhir/answer-format"; - case STRING: return "http://hl7.org.fhir/answer-format"; - case TEXT: return "http://hl7.org.fhir/answer-format"; - case URL: return "http://hl7.org.fhir/answer-format"; - case CHOICE: return "http://hl7.org.fhir/answer-format"; - case OPENCHOICE: return "http://hl7.org.fhir/answer-format"; - case ATTACHMENT: return "http://hl7.org.fhir/answer-format"; - case REFERENCE: return "http://hl7.org.fhir/answer-format"; - case QUANTITY: return "http://hl7.org.fhir/answer-format"; + case BOOLEAN: return "http://hl7.org/fhir/answer-format"; + case DECIMAL: return "http://hl7.org/fhir/answer-format"; + case INTEGER: return "http://hl7.org/fhir/answer-format"; + case DATE: return "http://hl7.org/fhir/answer-format"; + case DATETIME: return "http://hl7.org/fhir/answer-format"; + case INSTANT: return "http://hl7.org/fhir/answer-format"; + case TIME: return "http://hl7.org/fhir/answer-format"; + case STRING: return "http://hl7.org/fhir/answer-format"; + case TEXT: return "http://hl7.org/fhir/answer-format"; + case URL: return "http://hl7.org/fhir/answer-format"; + case CHOICE: return "http://hl7.org/fhir/answer-format"; + case OPENCHOICE: return "http://hl7.org/fhir/answer-format"; + case ATTACHMENT: return "http://hl7.org/fhir/answer-format"; + case REFERENCE: return "http://hl7.org/fhir/answer-format"; + case QUANTITY: return "http://hl7.org/fhir/answer-format"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/QuestionnaireAnswers.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/QuestionnaireAnswers.java index 60435aa5af7..a9270570c28 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/QuestionnaireAnswers.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/QuestionnaireAnswers.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class QuestionnaireAnswers extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/questionnaire-answers-status"; - case COMPLETED: return "http://hl7.org.fhir/questionnaire-answers-status"; - case AMENDED: return "http://hl7.org.fhir/questionnaire-answers-status"; + case INPROGRESS: return "http://hl7.org/fhir/questionnaire-answers-status"; + case COMPLETED: return "http://hl7.org/fhir/questionnaire-answers-status"; + case AMENDED: return "http://hl7.org/fhir/questionnaire-answers-status"; default: return "?"; } } @@ -822,6 +822,10 @@ public class QuestionnaireAnswers extends DomainResource { return (BooleanType) this.value; } + public boolean hasValueBooleanType() throws Exception { + return this.value instanceof BooleanType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -831,6 +835,10 @@ public class QuestionnaireAnswers extends DomainResource { return (DecimalType) this.value; } + public boolean hasValueDecimalType() throws Exception { + return this.value instanceof DecimalType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -840,6 +848,10 @@ public class QuestionnaireAnswers extends DomainResource { return (IntegerType) this.value; } + public boolean hasValueIntegerType() throws Exception { + return this.value instanceof IntegerType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -849,6 +861,10 @@ public class QuestionnaireAnswers extends DomainResource { return (DateType) this.value; } + public boolean hasValueDateType() throws Exception { + return this.value instanceof DateType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -858,6 +874,10 @@ public class QuestionnaireAnswers extends DomainResource { return (DateTimeType) this.value; } + public boolean hasValueDateTimeType() throws Exception { + return this.value instanceof DateTimeType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -867,6 +887,10 @@ public class QuestionnaireAnswers extends DomainResource { return (InstantType) this.value; } + public boolean hasValueInstantType() throws Exception { + return this.value instanceof InstantType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -876,6 +900,10 @@ public class QuestionnaireAnswers extends DomainResource { return (TimeType) this.value; } + public boolean hasValueTimeType() throws Exception { + return this.value instanceof TimeType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -885,6 +913,10 @@ public class QuestionnaireAnswers extends DomainResource { return (StringType) this.value; } + public boolean hasValueStringType() throws Exception { + return this.value instanceof StringType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -894,6 +926,10 @@ public class QuestionnaireAnswers extends DomainResource { return (UriType) this.value; } + public boolean hasValueUriType() throws Exception { + return this.value instanceof UriType; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -903,6 +939,10 @@ public class QuestionnaireAnswers extends DomainResource { return (Attachment) this.value; } + public boolean hasValueAttachment() throws Exception { + return this.value instanceof Attachment; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -912,6 +952,10 @@ public class QuestionnaireAnswers extends DomainResource { return (Coding) this.value; } + public boolean hasValueCoding() throws Exception { + return this.value instanceof Coding; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -921,6 +965,10 @@ public class QuestionnaireAnswers extends DomainResource { return (Quantity) this.value; } + public boolean hasValueQuantity() throws Exception { + return this.value instanceof Quantity; + } + /** * @return {@link #value} (The answer (or one of the answers) provided by the respondant to the question.) */ @@ -930,6 +978,10 @@ public class QuestionnaireAnswers extends DomainResource { return (Reference) this.value; } + public boolean hasValueReference() throws Exception { + return this.value instanceof Reference; + } + public boolean hasValue() { return this.value != null && !this.value.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Range.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Range.java index 518ae7a32b3..56dda6c2233 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Range.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Range.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Ratio.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Ratio.java index 85abb34281e..0e8f38d2f7f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Ratio.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Ratio.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Reference.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Reference.java index f13cd948691..cd391ceb0a2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Reference.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Reference.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ReferralRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ReferralRequest.java index 7816d41f508..64eca5f13a0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ReferralRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ReferralRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -112,13 +112,13 @@ public class ReferralRequest extends DomainResource { } public String getSystem() { switch (this) { - case DRAFT: return "http://hl7.org.fhir/referralstatus"; - case REQUESTED: return "http://hl7.org.fhir/referralstatus"; - case ACTIVE: return "http://hl7.org.fhir/referralstatus"; - case CANCELLED: return "http://hl7.org.fhir/referralstatus"; - case ACCEPTED: return "http://hl7.org.fhir/referralstatus"; - case REJECTED: return "http://hl7.org.fhir/referralstatus"; - case COMPLETED: return "http://hl7.org.fhir/referralstatus"; + case DRAFT: return "http://hl7.org/fhir/referralstatus"; + case REQUESTED: return "http://hl7.org/fhir/referralstatus"; + case ACTIVE: return "http://hl7.org/fhir/referralstatus"; + case CANCELLED: return "http://hl7.org/fhir/referralstatus"; + case ACCEPTED: return "http://hl7.org/fhir/referralstatus"; + case REJECTED: return "http://hl7.org/fhir/referralstatus"; + case COMPLETED: return "http://hl7.org/fhir/referralstatus"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RelatedPerson.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RelatedPerson.java index 1b7cca05b6d..5c8c7989cc3 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RelatedPerson.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RelatedPerson.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -94,28 +94,35 @@ public class RelatedPerson extends DomainResource { @Description(shortDefinition="male | female | other | unknown", formalDefinition="Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes." ) protected Enumeration gender; + /** + * The date on which the related person was born. + */ + @Child(name = "birthDate", type = {DateType.class}, order=6, min=0, max=1) + @Description(shortDefinition="The date on which the related person was born", formalDefinition="The date on which the related person was born." ) + protected DateType birthDate; + /** * Address where the related person can be contacted or visited. */ - @Child(name = "address", type = {Address.class}, order=6, min=0, max=1) + @Child(name = "address", type = {Address.class}, order=7, min=0, max=1) @Description(shortDefinition="Address where the related person can be contacted or visited", formalDefinition="Address where the related person can be contacted or visited." ) protected Address address; /** * Image of the person. */ - @Child(name = "photo", type = {Attachment.class}, order=7, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "photo", type = {Attachment.class}, order=8, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Image of the person", formalDefinition="Image of the person." ) protected List photo; /** * The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown. */ - @Child(name = "period", type = {Period.class}, order=8, min=0, max=1) + @Child(name = "period", type = {Period.class}, order=9, min=0, max=1) @Description(shortDefinition="Period of time that this relationship is considered valid", formalDefinition="The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown." ) protected Period period; - private static final long serialVersionUID = 1871047258L; + private static final long serialVersionUID = 1434295859L; /* * Constructor @@ -353,6 +360,55 @@ public class RelatedPerson extends DomainResource { return this; } + /** + * @return {@link #birthDate} (The date on which the related person was born.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value + */ + public DateType getBirthDateElement() { + if (this.birthDate == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create RelatedPerson.birthDate"); + else if (Configuration.doAutoCreate()) + this.birthDate = new DateType(); // bb + return this.birthDate; + } + + public boolean hasBirthDateElement() { + return this.birthDate != null && !this.birthDate.isEmpty(); + } + + public boolean hasBirthDate() { + return this.birthDate != null && !this.birthDate.isEmpty(); + } + + /** + * @param value {@link #birthDate} (The date on which the related person was born.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value + */ + public RelatedPerson setBirthDateElement(DateType value) { + this.birthDate = value; + return this; + } + + /** + * @return The date on which the related person was born. + */ + public Date getBirthDate() { + return this.birthDate == null ? null : this.birthDate.getValue(); + } + + /** + * @param value The date on which the related person was born. + */ + public RelatedPerson setBirthDate(Date value) { + if (value == null) + this.birthDate = null; + else { + if (this.birthDate == null) + this.birthDate = new DateType(); + this.birthDate.setValue(value); + } + return this; + } + /** * @return {@link #address} (Address where the related person can be contacted or visited.) */ @@ -449,6 +505,7 @@ public class RelatedPerson extends DomainResource { childrenList.add(new Property("name", "HumanName", "A name associated with the person.", 0, java.lang.Integer.MAX_VALUE, name)); childrenList.add(new Property("telecom", "ContactPoint", "A contact detail for the person, e.g. a telephone number or an email address.", 0, java.lang.Integer.MAX_VALUE, telecom)); childrenList.add(new Property("gender", "code", "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", 0, java.lang.Integer.MAX_VALUE, gender)); + childrenList.add(new Property("birthDate", "date", "The date on which the related person was born.", 0, java.lang.Integer.MAX_VALUE, birthDate)); childrenList.add(new Property("address", "Address", "Address where the related person can be contacted or visited.", 0, java.lang.Integer.MAX_VALUE, address)); childrenList.add(new Property("photo", "Attachment", "Image of the person.", 0, java.lang.Integer.MAX_VALUE, photo)); childrenList.add(new Property("period", "Period", "The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.", 0, java.lang.Integer.MAX_VALUE, period)); @@ -471,6 +528,7 @@ public class RelatedPerson extends DomainResource { dst.telecom.add(i.copy()); }; dst.gender = gender == null ? null : gender.copy(); + dst.birthDate = birthDate == null ? null : birthDate.copy(); dst.address = address == null ? null : address.copy(); if (photo != null) { dst.photo = new ArrayList(); @@ -494,8 +552,8 @@ public class RelatedPerson extends DomainResource { RelatedPerson o = (RelatedPerson) other; return compareDeep(identifier, o.identifier, true) && compareDeep(patient, o.patient, true) && compareDeep(relationship, o.relationship, true) && compareDeep(name, o.name, true) && compareDeep(telecom, o.telecom, true) && compareDeep(gender, o.gender, true) - && compareDeep(address, o.address, true) && compareDeep(photo, o.photo, true) && compareDeep(period, o.period, true) - ; + && compareDeep(birthDate, o.birthDate, true) && compareDeep(address, o.address, true) && compareDeep(photo, o.photo, true) + && compareDeep(period, o.period, true); } @Override @@ -505,14 +563,14 @@ public class RelatedPerson extends DomainResource { if (!(other instanceof RelatedPerson)) return false; RelatedPerson o = (RelatedPerson) other; - return compareValues(gender, o.gender, true); + return compareValues(gender, o.gender, true) && compareValues(birthDate, o.birthDate, true); } public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (patient == null || patient.isEmpty()) && (relationship == null || relationship.isEmpty()) && (name == null || name.isEmpty()) && (telecom == null || telecom.isEmpty()) - && (gender == null || gender.isEmpty()) && (address == null || address.isEmpty()) && (photo == null || photo.isEmpty()) - && (period == null || period.isEmpty()); + && (gender == null || gender.isEmpty()) && (birthDate == null || birthDate.isEmpty()) && (address == null || address.isEmpty()) + && (photo == null || photo.isEmpty()) && (period == null || period.isEmpty()); } @Override @@ -522,18 +580,30 @@ public class RelatedPerson extends DomainResource { @SearchParamDefinition(name="identifier", path="RelatedPerson.identifier", description="A patient Identifier", type="token" ) public static final String SP_IDENTIFIER = "identifier"; - @SearchParamDefinition(name="phonetic", path="", description="A portion of name using some kind of phonetic matching algorithm", type="string" ) - public static final String SP_PHONETIC = "phonetic"; @SearchParamDefinition(name="address", path="RelatedPerson.address", description="An address in any kind of address/part", type="string" ) public static final String SP_ADDRESS = "address"; + @SearchParamDefinition(name="birthdate", path="RelatedPerson.birthDate", description="The Related Person's date of birth", type="date" ) + public static final String SP_BIRTHDATE = "birthdate"; + @SearchParamDefinition(name="address-state", path="RelatedPerson.address.state", description="A state specified in an address", type="string" ) + public static final String SP_ADDRESSSTATE = "address-state"; @SearchParamDefinition(name="gender", path="RelatedPerson.gender", description="Gender of the person", type="token" ) public static final String SP_GENDER = "gender"; + @SearchParamDefinition(name="address-postalcode", path="RelatedPerson.address.postalCode", description="A postalCode specified in an address", type="string" ) + public static final String SP_ADDRESSPOSTALCODE = "address-postalcode"; + @SearchParamDefinition(name="address-country", path="RelatedPerson.address.country", description="A country specified in an address", type="string" ) + public static final String SP_ADDRESSCOUNTRY = "address-country"; + @SearchParamDefinition(name="phonetic", path="", description="A portion of name using some kind of phonetic matching algorithm", type="string" ) + public static final String SP_PHONETIC = "phonetic"; @SearchParamDefinition(name="patient", path="RelatedPerson.patient", description="The patient this person is related to", type="reference" ) public static final String SP_PATIENT = "patient"; @SearchParamDefinition(name="name", path="RelatedPerson.name", description="A portion of name in any name part", type="string" ) public static final String SP_NAME = "name"; + @SearchParamDefinition(name="address-use", path="RelatedPerson.address.use", description="A use code specified in an address", type="token" ) + public static final String SP_ADDRESSUSE = "address-use"; @SearchParamDefinition(name="telecom", path="RelatedPerson.telecom", description="The value in any kind of contact", type="token" ) public static final String SP_TELECOM = "telecom"; + @SearchParamDefinition(name="address-city", path="RelatedPerson.address.city", description="A city specified in an address", type="string" ) + public static final String SP_ADDRESSCITY = "address-city"; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Resource.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Resource.java index 92aaabd7bb3..97ce6545f2b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Resource.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Resource.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -47,10 +47,10 @@ import org.hl7.fhir.instance.model.api.*; public abstract class Resource extends BaseResource implements IAnyResource { /** - * The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. + * The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes. */ @Child(name = "id", type = {IdType.class}, order=0, min=0, max=1) - @Description(shortDefinition="Logical id of this artefact", formalDefinition="The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes." ) + @Description(shortDefinition="Logical id of this artifact", formalDefinition="The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes." ) protected IdType id; /** @@ -84,7 +84,7 @@ public abstract class Resource extends BaseResource implements IAnyResource { } /** - * @return {@link #id} (The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value + * @return {@link #id} (The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value */ public IdType getIdElement() { if (this.id == null) @@ -104,7 +104,7 @@ public abstract class Resource extends BaseResource implements IAnyResource { } /** - * @param value {@link #id} (The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value + * @param value {@link #id} (The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value */ public Resource setIdElement(IdType value) { this.id = value; @@ -112,14 +112,14 @@ public abstract class Resource extends BaseResource implements IAnyResource { } /** - * @return The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. + * @return The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes. */ public String getId() { return this.id == null ? null : this.id.getValue(); } /** - * @param value The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. + * @param value The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes. */ public Resource setId(String value) { if (Utilities.noString(value)) @@ -255,7 +255,7 @@ public abstract class Resource extends BaseResource implements IAnyResource { } protected void listChildren(List childrenList) { - childrenList.add(new Property("id", "id", "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.", 0, java.lang.Integer.MAX_VALUE, id)); + childrenList.add(new Property("id", "id", "The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes.", 0, java.lang.Integer.MAX_VALUE, id)); childrenList.add(new Property("meta", "Meta", "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", 0, java.lang.Integer.MAX_VALUE, meta)); childrenList.add(new Property("implicitRules", "uri", "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", 0, java.lang.Integer.MAX_VALUE, implicitRules)); childrenList.add(new Property("language", "code", "The base language in which the resource is written.", 0, java.lang.Integer.MAX_VALUE, language)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceFactory.java index 973b60f5ae6..5cbb1a55556 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceFactory.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceFactory.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 public class ResourceFactory extends Factory { @@ -38,6 +38,8 @@ public class ResourceFactory extends Factory { return new Appointment(); if ("ReferralRequest".equals(name)) return new ReferralRequest(); + if ("Account".equals(name)) + return new Account(); if ("Provenance".equals(name)) return new Provenance(); if ("Questionnaire".equals(name)) @@ -144,6 +146,8 @@ public class ResourceFactory extends Factory { return new PaymentNotice(); if ("Organization".equals(name)) return new Organization(); + if ("ImplementationGuide".equals(name)) + return new ImplementationGuide(); if ("ClaimResponse".equals(name)) return new ClaimResponse(); if ("EligibilityRequest".equals(name)) @@ -229,22 +233,10 @@ public class ResourceFactory extends Factory { return new Meta(); if ("Address".equals(name)) return new Address(); - if ("Reference".equals(name)) - return new Reference(); - if ("Quantity".equals(name)) - return new Quantity(); - if ("Period".equals(name)) - return new Period(); if ("Attachment".equals(name)) return new Attachment(); - if ("Duration".equals(name)) - return new Duration(); if ("Count".equals(name)) return new Count(); - if ("Range".equals(name)) - return new Range(); - if ("Extension".equals(name)) - return new Extension(); if ("Money".equals(name)) return new Money(); if ("HumanName".equals(name)) @@ -257,20 +249,34 @@ public class ResourceFactory extends Factory { return new Narrative(); if ("Coding".equals(name)) return new Coding(); - if ("Signature".equals(name)) - return new Signature(); if ("SampledData".equals(name)) return new SampledData(); if ("Ratio".equals(name)) return new Ratio(); - if ("Timing".equals(name)) - return new Timing(); if ("ElementDefinition".equals(name)) return new ElementDefinition(); if ("Distance".equals(name)) return new Distance(); if ("Age".equals(name)) return new Age(); + if ("Reference".equals(name)) + return new Reference(); + if ("Quantity".equals(name)) + return new Quantity(); + if ("Period".equals(name)) + return new Period(); + if ("Duration".equals(name)) + return new Duration(); + if ("Range".equals(name)) + return new Range(); + if ("Annotation".equals(name)) + return new Annotation(); + if ("Extension".equals(name)) + return new Extension(); + if ("Signature".equals(name)) + return new Signature(); + if ("Timing".equals(name)) + return new Timing(); if ("CodeableConcept".equals(name)) return new CodeableConcept(); else diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceType.java index 1eafc67587f..0dbd1b96576 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceType.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ResourceType.java @@ -1,291 +1,297 @@ package org.hl7.fhir.instance.model; -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 public enum ResourceType { + Account, + AllergyIntolerance, Appointment, - ReferralRequest, + AppointmentResponse, + AuditEvent, + Basic, + Binary, + BodySite, + Bundle, + CarePlan, + Claim, + ClaimResponse, + ClinicalImpression, + Communication, + CommunicationRequest, + Composition, + ConceptMap, + Condition, + Conformance, + Contract, + Contraindication, + Coverage, + DataElement, + Device, + DeviceComponent, + DeviceMetric, + DeviceUseRequest, + DeviceUseStatement, + DiagnosticOrder, + DiagnosticReport, + DocumentManifest, + DocumentReference, + EligibilityRequest, + EligibilityResponse, + Encounter, + EnrollmentRequest, + EnrollmentResponse, + EpisodeOfCare, + ExplanationOfBenefit, + FamilyMemberHistory, + Flag, + Goal, + Group, + HealthcareService, + ImagingObjectSelection, + ImagingStudy, + Immunization, + ImmunizationRecommendation, + ImplementationGuide, + List, + Location, + Media, + Medication, + MedicationAdministration, + MedicationDispense, + MedicationPrescription, + MedicationStatement, + MessageHeader, + NamingSystem, + NutritionOrder, + Observation, + OperationDefinition, + OperationOutcome, + Order, + OrderResponse, + Organization, + Parameters, + Patient, + PaymentNotice, + PaymentReconciliation, + Person, + Practitioner, + Procedure, + ProcedureRequest, + ProcessRequest, + ProcessResponse, Provenance, Questionnaire, - ExplanationOfBenefit, - DocumentManifest, - Specimen, - AllergyIntolerance, - CarePlan, - Goal, - StructureDefinition, - EnrollmentRequest, - EpisodeOfCare, - MedicationPrescription, - OperationOutcome, - Medication, - Procedure, - List, - ConceptMap, - Subscription, - ValueSet, - OperationDefinition, - DocumentReference, - Order, - Immunization, - Device, - VisionPrescription, - Media, - Conformance, - ProcedureRequest, - EligibilityResponse, - DeviceUseRequest, - DeviceMetric, - Flag, - RelatedPerson, - SupplyRequest, - Practitioner, - AppointmentResponse, - Observation, - MedicationAdministration, - Slot, - Contraindication, - EnrollmentResponse, - Binary, - MedicationStatement, - Contract, - Person, - CommunicationRequest, - RiskAssessment, - TestScript, - Basic, - Group, - PaymentNotice, - Organization, - ClaimResponse, - EligibilityRequest, - ProcessRequest, - MedicationDispense, - Supply, - DiagnosticReport, - ImagingStudy, - ImagingObjectSelection, - HealthcareService, - DataElement, - DeviceComponent, - FamilyMemberHistory, QuestionnaireAnswers, - NutritionOrder, - Encounter, - Substance, - AuditEvent, - SearchParameter, - PaymentReconciliation, - Communication, - Condition, - Composition, - Bundle, - DiagnosticOrder, - Patient, - OrderResponse, - Coverage, - DeviceUseStatement, - ProcessResponse, - NamingSystem, + ReferralRequest, + RelatedPerson, + RiskAssessment, Schedule, + SearchParameter, + Slot, + Specimen, + StructureDefinition, + Subscription, + Substance, + Supply, SupplyDelivery, - ClinicalImpression, - MessageHeader, - Claim, - ImmunizationRecommendation, - Location, - BodySite, - Parameters; + SupplyRequest, + TestScript, + ValueSet, + VisionPrescription; public String getPath() {; switch (this) { + case Account: + return "account"; + case AllergyIntolerance: + return "allergyintolerance"; case Appointment: return "appointment"; - case ReferralRequest: - return "referralrequest"; + case AppointmentResponse: + return "appointmentresponse"; + case AuditEvent: + return "auditevent"; + case Basic: + return "basic"; + case Binary: + return "binary"; + case BodySite: + return "bodysite"; + case Bundle: + return "bundle"; + case CarePlan: + return "careplan"; + case Claim: + return "claim"; + case ClaimResponse: + return "claimresponse"; + case ClinicalImpression: + return "clinicalimpression"; + case Communication: + return "communication"; + case CommunicationRequest: + return "communicationrequest"; + case Composition: + return "composition"; + case ConceptMap: + return "conceptmap"; + case Condition: + return "condition"; + case Conformance: + return "conformance"; + case Contract: + return "contract"; + case Contraindication: + return "contraindication"; + case Coverage: + return "coverage"; + case DataElement: + return "dataelement"; + case Device: + return "device"; + case DeviceComponent: + return "devicecomponent"; + case DeviceMetric: + return "devicemetric"; + case DeviceUseRequest: + return "deviceuserequest"; + case DeviceUseStatement: + return "deviceusestatement"; + case DiagnosticOrder: + return "diagnosticorder"; + case DiagnosticReport: + return "diagnosticreport"; + case DocumentManifest: + return "documentmanifest"; + case DocumentReference: + return "documentreference"; + case EligibilityRequest: + return "eligibilityrequest"; + case EligibilityResponse: + return "eligibilityresponse"; + case Encounter: + return "encounter"; + case EnrollmentRequest: + return "enrollmentrequest"; + case EnrollmentResponse: + return "enrollmentresponse"; + case EpisodeOfCare: + return "episodeofcare"; + case ExplanationOfBenefit: + return "explanationofbenefit"; + case FamilyMemberHistory: + return "familymemberhistory"; + case Flag: + return "flag"; + case Goal: + return "goal"; + case Group: + return "group"; + case HealthcareService: + return "healthcareservice"; + case ImagingObjectSelection: + return "imagingobjectselection"; + case ImagingStudy: + return "imagingstudy"; + case Immunization: + return "immunization"; + case ImmunizationRecommendation: + return "immunizationrecommendation"; + case ImplementationGuide: + return "implementationguide"; + case List: + return "list"; + case Location: + return "location"; + case Media: + return "media"; + case Medication: + return "medication"; + case MedicationAdministration: + return "medicationadministration"; + case MedicationDispense: + return "medicationdispense"; + case MedicationPrescription: + return "medicationprescription"; + case MedicationStatement: + return "medicationstatement"; + case MessageHeader: + return "messageheader"; + case NamingSystem: + return "namingsystem"; + case NutritionOrder: + return "nutritionorder"; + case Observation: + return "observation"; + case OperationDefinition: + return "operationdefinition"; + case OperationOutcome: + return "operationoutcome"; + case Order: + return "order"; + case OrderResponse: + return "orderresponse"; + case Organization: + return "organization"; + case Parameters: + return "parameters"; + case Patient: + return "patient"; + case PaymentNotice: + return "paymentnotice"; + case PaymentReconciliation: + return "paymentreconciliation"; + case Person: + return "person"; + case Practitioner: + return "practitioner"; + case Procedure: + return "procedure"; + case ProcedureRequest: + return "procedurerequest"; + case ProcessRequest: + return "processrequest"; + case ProcessResponse: + return "processresponse"; case Provenance: return "provenance"; case Questionnaire: return "questionnaire"; - case ExplanationOfBenefit: - return "explanationofbenefit"; - case DocumentManifest: - return "documentmanifest"; - case Specimen: - return "specimen"; - case AllergyIntolerance: - return "allergyintolerance"; - case CarePlan: - return "careplan"; - case Goal: - return "goal"; - case StructureDefinition: - return "structuredefinition"; - case EnrollmentRequest: - return "enrollmentrequest"; - case EpisodeOfCare: - return "episodeofcare"; - case MedicationPrescription: - return "medicationprescription"; - case OperationOutcome: - return "operationoutcome"; - case Medication: - return "medication"; - case Procedure: - return "procedure"; - case List: - return "list"; - case ConceptMap: - return "conceptmap"; - case Subscription: - return "subscription"; - case ValueSet: - return "valueset"; - case OperationDefinition: - return "operationdefinition"; - case DocumentReference: - return "documentreference"; - case Order: - return "order"; - case Immunization: - return "immunization"; - case Device: - return "device"; - case VisionPrescription: - return "visionprescription"; - case Media: - return "media"; - case Conformance: - return "conformance"; - case ProcedureRequest: - return "procedurerequest"; - case EligibilityResponse: - return "eligibilityresponse"; - case DeviceUseRequest: - return "deviceuserequest"; - case DeviceMetric: - return "devicemetric"; - case Flag: - return "flag"; - case RelatedPerson: - return "relatedperson"; - case SupplyRequest: - return "supplyrequest"; - case Practitioner: - return "practitioner"; - case AppointmentResponse: - return "appointmentresponse"; - case Observation: - return "observation"; - case MedicationAdministration: - return "medicationadministration"; - case Slot: - return "slot"; - case Contraindication: - return "contraindication"; - case EnrollmentResponse: - return "enrollmentresponse"; - case Binary: - return "binary"; - case MedicationStatement: - return "medicationstatement"; - case Contract: - return "contract"; - case Person: - return "person"; - case CommunicationRequest: - return "communicationrequest"; - case RiskAssessment: - return "riskassessment"; - case TestScript: - return "testscript"; - case Basic: - return "basic"; - case Group: - return "group"; - case PaymentNotice: - return "paymentnotice"; - case Organization: - return "organization"; - case ClaimResponse: - return "claimresponse"; - case EligibilityRequest: - return "eligibilityrequest"; - case ProcessRequest: - return "processrequest"; - case MedicationDispense: - return "medicationdispense"; - case Supply: - return "supply"; - case DiagnosticReport: - return "diagnosticreport"; - case ImagingStudy: - return "imagingstudy"; - case ImagingObjectSelection: - return "imagingobjectselection"; - case HealthcareService: - return "healthcareservice"; - case DataElement: - return "dataelement"; - case DeviceComponent: - return "devicecomponent"; - case FamilyMemberHistory: - return "familymemberhistory"; case QuestionnaireAnswers: return "questionnaireanswers"; - case NutritionOrder: - return "nutritionorder"; - case Encounter: - return "encounter"; - case Substance: - return "substance"; - case AuditEvent: - return "auditevent"; - case SearchParameter: - return "searchparameter"; - case PaymentReconciliation: - return "paymentreconciliation"; - case Communication: - return "communication"; - case Condition: - return "condition"; - case Composition: - return "composition"; - case Bundle: - return "bundle"; - case DiagnosticOrder: - return "diagnosticorder"; - case Patient: - return "patient"; - case OrderResponse: - return "orderresponse"; - case Coverage: - return "coverage"; - case DeviceUseStatement: - return "deviceusestatement"; - case ProcessResponse: - return "processresponse"; - case NamingSystem: - return "namingsystem"; + case ReferralRequest: + return "referralrequest"; + case RelatedPerson: + return "relatedperson"; + case RiskAssessment: + return "riskassessment"; case Schedule: return "schedule"; + case SearchParameter: + return "searchparameter"; + case Slot: + return "slot"; + case Specimen: + return "specimen"; + case StructureDefinition: + return "structuredefinition"; + case Subscription: + return "subscription"; + case Substance: + return "substance"; + case Supply: + return "supply"; case SupplyDelivery: return "supplydelivery"; - case ClinicalImpression: - return "clinicalimpression"; - case MessageHeader: - return "messageheader"; - case Claim: - return "claim"; - case ImmunizationRecommendation: - return "immunizationrecommendation"; - case Location: - return "location"; - case BodySite: - return "bodysite"; - case Parameters: - return "parameters"; + case SupplyRequest: + return "supplyrequest"; + case TestScript: + return "testscript"; + case ValueSet: + return "valueset"; + case VisionPrescription: + return "visionprescription"; } return null; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RiskAssessment.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RiskAssessment.java index f1a637fc6d9..8645582c33f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RiskAssessment.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/RiskAssessment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -141,6 +141,10 @@ public class RiskAssessment extends DomainResource { return (DecimalType) this.probability; } + public boolean hasProbabilityDecimalType() throws Exception { + return this.probability instanceof DecimalType; + } + /** * @return {@link #probability} (How likely is the outcome (in the specified timeframe).) */ @@ -150,6 +154,10 @@ public class RiskAssessment extends DomainResource { return (Range) this.probability; } + public boolean hasProbabilityRange() throws Exception { + return this.probability instanceof Range; + } + /** * @return {@link #probability} (How likely is the outcome (in the specified timeframe).) */ @@ -159,6 +167,10 @@ public class RiskAssessment extends DomainResource { return (CodeableConcept) this.probability; } + public boolean hasProbabilityCodeableConcept() throws Exception { + return this.probability instanceof CodeableConcept; + } + public boolean hasProbability() { return this.probability != null && !this.probability.isEmpty(); } @@ -236,6 +248,10 @@ public class RiskAssessment extends DomainResource { return (Period) this.when; } + public boolean hasWhenPeriod() throws Exception { + return this.when instanceof Period; + } + /** * @return {@link #when} (Indicates the period of time or age range of the subject to which the specified probability applies.) */ @@ -245,6 +261,10 @@ public class RiskAssessment extends DomainResource { return (Range) this.when; } + public boolean hasWhenRange() throws Exception { + return this.when instanceof Range; + } + public boolean hasWhen() { return this.when != null && !this.when.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SampledData.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SampledData.java index 9d8a3d851e6..b76cbd3650f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SampledData.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SampledData.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Schedule.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Schedule.java index efa4607291a..2bd4f7596cc 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Schedule.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Schedule.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -63,7 +63,7 @@ public class Schedule extends DomainResource { /** * The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson. */ - @Child(name = "actor", type = {}, order=2, min=1, max=1) + @Child(name = "actor", type = {Patient.class, Practitioner.class, RelatedPerson.class, Device.class, HealthcareService.class, Location.class}, order=2, min=1, max=1) @Description(shortDefinition="The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson", formalDefinition="The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson." ) protected Reference actor; @@ -299,7 +299,7 @@ public class Schedule extends DomainResource { super.listChildren(childrenList); childrenList.add(new Property("identifier", "Identifier", "External Ids for this item.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("type", "CodeableConcept", "The schedule type can be used for the categorization of healthcare services or other appointment types.", 0, java.lang.Integer.MAX_VALUE, type)); - childrenList.add(new Property("actor", "Reference(Any)", "The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.", 0, java.lang.Integer.MAX_VALUE, actor)); + childrenList.add(new Property("actor", "Reference(Patient|Practitioner|RelatedPerson|Device|HealthcareService|Location)", "The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.", 0, java.lang.Integer.MAX_VALUE, actor)); childrenList.add(new Property("planningHorizon", "Period", "The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a 'template' for planning outside these dates.", 0, java.lang.Integer.MAX_VALUE, planningHorizon)); childrenList.add(new Property("comment", "string", "Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated.", 0, java.lang.Integer.MAX_VALUE, comment)); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SearchParameter.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SearchParameter.java index e6dd0285e66..3cd4fa39c79 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SearchParameter.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SearchParameter.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Signature.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Signature.java index c3fb99dd444..53e0e3ec843 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Signature.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Signature.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -192,6 +192,10 @@ public class Signature extends Type implements ICompositeType { return (UriType) this.who; } + public boolean hasWhoUriType() throws Exception { + return this.who instanceof UriType; + } + /** * @return {@link #who} (A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).) */ @@ -201,6 +205,10 @@ public class Signature extends Type implements ICompositeType { return (Reference) this.who; } + public boolean hasWhoReference() throws Exception { + return this.who instanceof Reference; + } + public boolean hasWho() { return this.who != null && !this.who.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Slot.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Slot.java index 87116ce8130..bb792283ca3 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Slot.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Slot.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -91,10 +91,10 @@ public class Slot extends DomainResource { } public String getSystem() { switch (this) { - case BUSY: return "http://hl7.org.fhir/slotstatus"; - case FREE: return "http://hl7.org.fhir/slotstatus"; - case BUSYUNAVAILABLE: return "http://hl7.org.fhir/slotstatus"; - case BUSYTENTATIVE: return "http://hl7.org.fhir/slotstatus"; + case BUSY: return "http://hl7.org/fhir/slotstatus"; + case FREE: return "http://hl7.org/fhir/slotstatus"; + case BUSYUNAVAILABLE: return "http://hl7.org/fhir/slotstatus"; + case BUSYTENTATIVE: return "http://hl7.org/fhir/slotstatus"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Specimen.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Specimen.java index 90cf7c70160..da699cd377e 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Specimen.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Specimen.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -218,6 +218,10 @@ public class Specimen extends DomainResource { return (DateTimeType) this.collected; } + public boolean hasCollectedDateTimeType() throws Exception { + return this.collected instanceof DateTimeType; + } + /** * @return {@link #collected} (Time when specimen was collected from subject - the physiologically relevant time.) */ @@ -227,6 +231,10 @@ public class Specimen extends DomainResource { return (Period) this.collected; } + public boolean hasCollectedPeriod() throws Exception { + return this.collected instanceof Period; + } + public boolean hasCollected() { return this.collected != null && !this.collected.isEmpty(); } @@ -303,6 +311,10 @@ public class Specimen extends DomainResource { return (CodeableConcept) this.bodySite; } + public boolean hasBodySiteCodeableConcept() throws Exception { + return this.bodySite instanceof CodeableConcept; + } + /** * @return {@link #bodySite} (Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens.) */ @@ -312,6 +324,10 @@ public class Specimen extends DomainResource { return (Reference) this.bodySite; } + public boolean hasBodySiteReference() throws Exception { + return this.bodySite instanceof Reference; + } + public boolean hasBodySite() { return this.bodySite != null && !this.bodySite.isEmpty(); } @@ -829,6 +845,10 @@ public class Specimen extends DomainResource { return (CodeableConcept) this.additive; } + public boolean hasAdditiveCodeableConcept() throws Exception { + return this.additive instanceof CodeableConcept; + } + /** * @return {@link #additive} (Introduced substance to preserve, maintain or enhance the specimen. examples: Formalin, Citrate, EDTA.) */ @@ -838,6 +858,10 @@ public class Specimen extends DomainResource { return (Reference) this.additive; } + public boolean hasAdditiveReference() throws Exception { + return this.additive instanceof Reference; + } + public boolean hasAdditive() { return this.additive != null && !this.additive.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/StructureDefinition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/StructureDefinition.java index eb7bfc1a828..ca8461971a3 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/StructureDefinition.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/StructureDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -92,10 +92,10 @@ public class StructureDefinition extends DomainResource { } public String getSystem() { switch (this) { - case TYPE: return "http://hl7.org.fhir/structure-definition-type"; - case RESOURCE: return "http://hl7.org.fhir/structure-definition-type"; - case CONSTRAINT: return "http://hl7.org.fhir/structure-definition-type"; - case EXTENSION: return "http://hl7.org.fhir/structure-definition-type"; + case TYPE: return "http://hl7.org/fhir/structure-definition-type"; + case RESOURCE: return "http://hl7.org/fhir/structure-definition-type"; + case CONSTRAINT: return "http://hl7.org/fhir/structure-definition-type"; + case EXTENSION: return "http://hl7.org/fhir/structure-definition-type"; default: return "?"; } } @@ -192,10 +192,10 @@ public class StructureDefinition extends DomainResource { } public String getSystem() { switch (this) { - case RESOURCE: return "http://hl7.org.fhir/extension-context"; - case DATATYPE: return "http://hl7.org.fhir/extension-context"; - case MAPPING: return "http://hl7.org.fhir/extension-context"; - case EXTENSION: return "http://hl7.org.fhir/extension-context"; + case RESOURCE: return "http://hl7.org/fhir/extension-context"; + case DATATYPE: return "http://hl7.org/fhir/extension-context"; + case MAPPING: return "http://hl7.org/fhir/extension-context"; + case EXTENSION: return "http://hl7.org/fhir/extension-context"; default: return "?"; } } @@ -893,10 +893,10 @@ public class StructureDefinition extends DomainResource { } /** - * An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems. + * An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems. */ @Child(name = "url", type = {UriType.class}, order=0, min=1, max=1) - @Description(shortDefinition="Literal URL used to reference this StructureDefinition", formalDefinition="An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems." ) + @Description(shortDefinition="Literal URL used to reference this StructureDefinition", formalDefinition="An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems." ) protected UriType url; /** @@ -1021,7 +1021,7 @@ public class StructureDefinition extends DomainResource { /** * Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type. */ - @Child(name = "abstract", type = {BooleanType.class}, order=18, min=1, max=1) + @Child(name = "abstract_", type = {BooleanType.class}, order=18, min=1, max=1) @Description(shortDefinition="Whether the structure is abstract", formalDefinition="Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type." ) protected BooleanType abstract_; @@ -1082,7 +1082,7 @@ public class StructureDefinition extends DomainResource { } /** - * @return {@link #url} (An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -1102,7 +1102,7 @@ public class StructureDefinition extends DomainResource { } /** - * @param value {@link #url} (An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public StructureDefinition setUrlElement(UriType value) { this.url = value; @@ -1110,14 +1110,14 @@ public class StructureDefinition extends DomainResource { } /** - * @return An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems. + * @return An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems. + * @param value An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems. */ public StructureDefinition setUrl(String value) { if (this.url == null) @@ -2145,7 +2145,7 @@ public class StructureDefinition extends DomainResource { protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("url", "uri", "An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems.", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems.", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("identifier", "Identifier", "Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI).", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("version", "string", "The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually.", 0, java.lang.Integer.MAX_VALUE, version)); childrenList.add(new Property("name", "string", "A free text natural language name identifying the StructureDefinition.", 0, java.lang.Integer.MAX_VALUE, name)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Subscription.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Subscription.java index 25ebee0b703..d21f33970b8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Subscription.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Subscription.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -91,10 +91,10 @@ public class Subscription extends DomainResource { } public String getSystem() { switch (this) { - case REQUESTED: return "http://hl7.org.fhir/subscription-status"; - case ACTIVE: return "http://hl7.org.fhir/subscription-status"; - case ERROR: return "http://hl7.org.fhir/subscription-status"; - case OFF: return "http://hl7.org.fhir/subscription-status"; + case REQUESTED: return "http://hl7.org/fhir/subscription-status"; + case ACTIVE: return "http://hl7.org/fhir/subscription-status"; + case ERROR: return "http://hl7.org/fhir/subscription-status"; + case OFF: return "http://hl7.org/fhir/subscription-status"; default: return "?"; } } @@ -198,11 +198,11 @@ public class Subscription extends DomainResource { } public String getSystem() { switch (this) { - case RESTHOOK: return "http://hl7.org.fhir/subscription-channel-type"; - case WEBSOCKET: return "http://hl7.org.fhir/subscription-channel-type"; - case EMAIL: return "http://hl7.org.fhir/subscription-channel-type"; - case SMS: return "http://hl7.org.fhir/subscription-channel-type"; - case MESSAGE: return "http://hl7.org.fhir/subscription-channel-type"; + case RESTHOOK: return "http://hl7.org/fhir/subscription-channel-type"; + case WEBSOCKET: return "http://hl7.org/fhir/subscription-channel-type"; + case EMAIL: return "http://hl7.org/fhir/subscription-channel-type"; + case SMS: return "http://hl7.org/fhir/subscription-channel-type"; + case MESSAGE: return "http://hl7.org/fhir/subscription-channel-type"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Substance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Substance.java index e8c488a02f7..250e343f5c8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Substance.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Substance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -366,35 +366,42 @@ public class Substance extends DomainResource { } + /** + * Unique identifier for the substance. + */ + @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Unique identifier", formalDefinition="Unique identifier for the substance." ) + protected List identifier; + /** * A code (or set of codes) that identify this substance. */ - @Child(name = "type", type = {CodeableConcept.class}, order=0, min=1, max=1) + @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1) @Description(shortDefinition="What kind of substance this is", formalDefinition="A code (or set of codes) that identify this substance." ) protected CodeableConcept type; /** * A description of the substance - its appearance, handling requirements, and other usage notes. */ - @Child(name = "description", type = {StringType.class}, order=1, min=0, max=1) + @Child(name = "description", type = {StringType.class}, order=2, min=0, max=1) @Description(shortDefinition="Textual description of the substance, comments", formalDefinition="A description of the substance - its appearance, handling requirements, and other usage notes." ) protected StringType description; /** * Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance. */ - @Child(name = "instance", type = {}, order=2, min=0, max=1) + @Child(name = "instance", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="If this describes a specific package/container of the substance", formalDefinition="Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance." ) - protected SubstanceInstanceComponent instance; + protected List instance; /** * A substance can be composed of other substances. */ - @Child(name = "ingredient", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "ingredient", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Composition information about the substance", formalDefinition="A substance can be composed of other substances." ) protected List ingredient; - private static final long serialVersionUID = 1881086620L; + private static final long serialVersionUID = 373963428L; /* * Constructor @@ -411,6 +418,46 @@ public class Substance extends DomainResource { this.type = type; } + /** + * @return {@link #identifier} (Unique identifier for the substance.) + */ + public List getIdentifier() { + if (this.identifier == null) + this.identifier = new ArrayList(); + return this.identifier; + } + + public boolean hasIdentifier() { + if (this.identifier == null) + return false; + for (Identifier item : this.identifier) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #identifier} (Unique identifier for the substance.) + */ + // syntactic sugar + public Identifier addIdentifier() { //3 + Identifier t = new Identifier(); + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return t; + } + + // syntactic sugar + public Substance addIdentifier(Identifier t) { //3 + if (t == null) + return this; + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return this; + } + /** * @return {@link #type} (A code (or set of codes) that identify this substance.) */ @@ -487,24 +534,40 @@ public class Substance extends DomainResource { /** * @return {@link #instance} (Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.) */ - public SubstanceInstanceComponent getInstance() { + public List getInstance() { if (this.instance == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Substance.instance"); - else if (Configuration.doAutoCreate()) - this.instance = new SubstanceInstanceComponent(); // cc + this.instance = new ArrayList(); return this.instance; } public boolean hasInstance() { - return this.instance != null && !this.instance.isEmpty(); + if (this.instance == null) + return false; + for (SubstanceInstanceComponent item : this.instance) + if (!item.isEmpty()) + return true; + return false; } /** - * @param value {@link #instance} (Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.) + * @return {@link #instance} (Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.) */ - public Substance setInstance(SubstanceInstanceComponent value) { - this.instance = value; + // syntactic sugar + public SubstanceInstanceComponent addInstance() { //3 + SubstanceInstanceComponent t = new SubstanceInstanceComponent(); + if (this.instance == null) + this.instance = new ArrayList(); + this.instance.add(t); + return t; + } + + // syntactic sugar + public Substance addInstance(SubstanceInstanceComponent t) { //3 + if (t == null) + return this; + if (this.instance == null) + this.instance = new ArrayList(); + this.instance.add(t); return this; } @@ -550,6 +613,7 @@ public class Substance extends DomainResource { protected void listChildren(List childrenList) { super.listChildren(childrenList); + childrenList.add(new Property("identifier", "Identifier", "Unique identifier for the substance.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("type", "CodeableConcept", "A code (or set of codes) that identify this substance.", 0, java.lang.Integer.MAX_VALUE, type)); childrenList.add(new Property("description", "string", "A description of the substance - its appearance, handling requirements, and other usage notes.", 0, java.lang.Integer.MAX_VALUE, description)); childrenList.add(new Property("instance", "", "Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.", 0, java.lang.Integer.MAX_VALUE, instance)); @@ -559,9 +623,18 @@ public class Substance extends DomainResource { public Substance copy() { Substance dst = new Substance(); copyValues(dst); + if (identifier != null) { + dst.identifier = new ArrayList(); + for (Identifier i : identifier) + dst.identifier.add(i.copy()); + }; dst.type = type == null ? null : type.copy(); dst.description = description == null ? null : description.copy(); - dst.instance = instance == null ? null : instance.copy(); + if (instance != null) { + dst.instance = new ArrayList(); + for (SubstanceInstanceComponent i : instance) + dst.instance.add(i.copy()); + }; if (ingredient != null) { dst.ingredient = new ArrayList(); for (SubstanceIngredientComponent i : ingredient) @@ -581,8 +654,8 @@ public class Substance extends DomainResource { if (!(other instanceof Substance)) return false; Substance o = (Substance) other; - return compareDeep(type, o.type, true) && compareDeep(description, o.description, true) && compareDeep(instance, o.instance, true) - && compareDeep(ingredient, o.ingredient, true); + return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(description, o.description, true) + && compareDeep(instance, o.instance, true) && compareDeep(ingredient, o.ingredient, true); } @Override @@ -596,9 +669,9 @@ public class Substance extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && (type == null || type.isEmpty()) && (description == null || description.isEmpty()) - && (instance == null || instance.isEmpty()) && (ingredient == null || ingredient.isEmpty()) - ; + return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (type == null || type.isEmpty()) + && (description == null || description.isEmpty()) && (instance == null || instance.isEmpty()) + && (ingredient == null || ingredient.isEmpty()); } @Override @@ -606,13 +679,15 @@ public class Substance extends DomainResource { return ResourceType.Substance; } - @SearchParamDefinition(name="identifier", path="Substance.instance.identifier", description="Identifier of the package/container", type="token" ) + @SearchParamDefinition(name="identifier", path="Substance.identifier", description="Unique identifier for the substance", type="token" ) public static final String SP_IDENTIFIER = "identifier"; + @SearchParamDefinition(name="container-identifier", path="Substance.instance.identifier", description="Identifier of the package/container", type="token" ) + public static final String SP_CONTAINERIDENTIFIER = "container-identifier"; @SearchParamDefinition(name="quantity", path="Substance.instance.quantity", description="Amount of substance in the package", type="number" ) public static final String SP_QUANTITY = "quantity"; @SearchParamDefinition(name="substance", path="Substance.ingredient.substance", description="A component of the substance", type="reference" ) public static final String SP_SUBSTANCE = "substance"; - @SearchParamDefinition(name="expiry", path="Substance.instance.expiry", description="When no longer valid to use", type="date" ) + @SearchParamDefinition(name="expiry", path="Substance.instance.expiry", description="Expiry date of package or container of substance", type="date" ) public static final String SP_EXPIRY = "expiry"; @SearchParamDefinition(name="type", path="Substance.type", description="The type of the substance", type="token" ) public static final String SP_TYPE = "type"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Supply.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Supply.java index a8b451013ff..c29c893b754 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Supply.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Supply.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -98,11 +98,11 @@ public class Supply extends DomainResource { } public String getSystem() { switch (this) { - case REQUESTED: return "http://hl7.org.fhir/valueset-supply-status"; - case DISPENSED: return "http://hl7.org.fhir/valueset-supply-status"; - case RECEIVED: return "http://hl7.org.fhir/valueset-supply-status"; - case FAILED: return "http://hl7.org.fhir/valueset-supply-status"; - case CANCELLED: return "http://hl7.org.fhir/valueset-supply-status"; + case REQUESTED: return "http://hl7.org/fhir/valueset-supply-status"; + case DISPENSED: return "http://hl7.org/fhir/valueset-supply-status"; + case RECEIVED: return "http://hl7.org/fhir/valueset-supply-status"; + case FAILED: return "http://hl7.org/fhir/valueset-supply-status"; + case CANCELLED: return "http://hl7.org/fhir/valueset-supply-status"; default: return "?"; } } @@ -198,9 +198,9 @@ public class Supply extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/valueset-supply-dispense-status"; - case DISPENSED: return "http://hl7.org.fhir/valueset-supply-dispense-status"; - case ABANDONED: return "http://hl7.org.fhir/valueset-supply-dispense-status"; + case INPROGRESS: return "http://hl7.org/fhir/valueset-supply-dispense-status"; + case DISPENSED: return "http://hl7.org/fhir/valueset-supply-dispense-status"; + case ABANDONED: return "http://hl7.org/fhir/valueset-supply-dispense-status"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyDelivery.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyDelivery.java index e11100f634f..36ad3aa10fb 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyDelivery.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyDelivery.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -84,9 +84,9 @@ public class SupplyDelivery extends DomainResource { } public String getSystem() { switch (this) { - case INPROGRESS: return "http://hl7.org.fhir/valueset-supplydelivery-status"; - case COMPLETED: return "http://hl7.org.fhir/valueset-supplydelivery-status"; - case ABANDONED: return "http://hl7.org.fhir/valueset-supplydelivery-status"; + case INPROGRESS: return "http://hl7.org/fhir/valueset-supplydelivery-status"; + case COMPLETED: return "http://hl7.org/fhir/valueset-supplydelivery-status"; + case ABANDONED: return "http://hl7.org/fhir/valueset-supplydelivery-status"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyRequest.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyRequest.java index ecb8b1e54fb..1dc4183aeb5 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyRequest.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/SupplyRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -41,7 +41,7 @@ import org.hl7.fhir.instance.model.annotations.Description; import org.hl7.fhir.instance.model.annotations.Block; import org.hl7.fhir.instance.model.api.*; /** - * A supply - a request for something. + * A record of a request for a medication, substance or device used in the healthcare setting. */ @ResourceDef(name="SupplyRequest", profile="http://hl7.org/fhir/Profile/SupplyRequest") public class SupplyRequest extends DomainResource { @@ -91,10 +91,10 @@ public class SupplyRequest extends DomainResource { } public String getSystem() { switch (this) { - case REQUESTED: return "http://hl7.org.fhir/valueset-supplyrequest-status"; - case COMPLETED: return "http://hl7.org.fhir/valueset-supplyrequest-status"; - case FAILED: return "http://hl7.org.fhir/valueset-supplyrequest-status"; - case CANCELLED: return "http://hl7.org.fhir/valueset-supplyrequest-status"; + case REQUESTED: return "http://hl7.org/fhir/valueset-supplyrequest-status"; + case COMPLETED: return "http://hl7.org/fhir/valueset-supplyrequest-status"; + case FAILED: return "http://hl7.org/fhir/valueset-supplyrequest-status"; + case CANCELLED: return "http://hl7.org/fhir/valueset-supplyrequest-status"; default: return "?"; } } @@ -146,31 +146,176 @@ public class SupplyRequest extends DomainResource { } } - /** - * Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. + @Block() + public static class SupplyRequestWhenComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Fulfilment code. + */ + @Child(name = "code", type = {CodeableConcept.class}, order=1, min=0, max=1) + @Description(shortDefinition="Fulfilment code", formalDefinition="Fulfilment code." ) + protected CodeableConcept code; + + /** + * Formal fulfillment schedule. + */ + @Child(name = "schedule", type = {Timing.class}, order=2, min=0, max=1) + @Description(shortDefinition="Formal fulfillment schedule", formalDefinition="Formal fulfillment schedule." ) + protected Timing schedule; + + private static final long serialVersionUID = 307115287L; + + /* + * Constructor */ - @Child(name = "kind", type = {CodeableConcept.class}, order=0, min=0, max=1) - @Description(shortDefinition="The kind of supply (central, non-stock, etc)", formalDefinition="Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process." ) - protected CodeableConcept kind; + public SupplyRequestWhenComponent() { + super(); + } + + /** + * @return {@link #code} (Fulfilment code.) + */ + public CodeableConcept getCode() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequestWhenComponent.code"); + else if (Configuration.doAutoCreate()) + this.code = new CodeableConcept(); // cc + return this.code; + } + + public boolean hasCode() { + return this.code != null && !this.code.isEmpty(); + } + + /** + * @param value {@link #code} (Fulfilment code.) + */ + public SupplyRequestWhenComponent setCode(CodeableConcept value) { + this.code = value; + return this; + } + + /** + * @return {@link #schedule} (Formal fulfillment schedule.) + */ + public Timing getSchedule() { + if (this.schedule == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequestWhenComponent.schedule"); + else if (Configuration.doAutoCreate()) + this.schedule = new Timing(); // cc + return this.schedule; + } + + public boolean hasSchedule() { + return this.schedule != null && !this.schedule.isEmpty(); + } + + /** + * @param value {@link #schedule} (Formal fulfillment schedule.) + */ + public SupplyRequestWhenComponent setSchedule(Timing value) { + this.schedule = value; + return this; + } + + protected void listChildren(List childrenList) { + super.listChildren(childrenList); + childrenList.add(new Property("code", "CodeableConcept", "Fulfilment code.", 0, java.lang.Integer.MAX_VALUE, code)); + childrenList.add(new Property("schedule", "Timing", "Formal fulfillment schedule.", 0, java.lang.Integer.MAX_VALUE, schedule)); + } + + public SupplyRequestWhenComponent copy() { + SupplyRequestWhenComponent dst = new SupplyRequestWhenComponent(); + copyValues(dst); + dst.code = code == null ? null : code.copy(); + dst.schedule = schedule == null ? null : schedule.copy(); + return dst; + } + + @Override + public boolean equalsDeep(Base other) { + if (!super.equalsDeep(other)) + return false; + if (!(other instanceof SupplyRequestWhenComponent)) + return false; + SupplyRequestWhenComponent o = (SupplyRequestWhenComponent) other; + return compareDeep(code, o.code, true) && compareDeep(schedule, o.schedule, true); + } + + @Override + public boolean equalsShallow(Base other) { + if (!super.equalsShallow(other)) + return false; + if (!(other instanceof SupplyRequestWhenComponent)) + return false; + SupplyRequestWhenComponent o = (SupplyRequestWhenComponent) other; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && (code == null || code.isEmpty()) && (schedule == null || schedule.isEmpty()) + ; + } + + } + + /** + * A link to a resource representing the person whom the ordered item is for. + */ + @Child(name = "patient", type = {Patient.class}, order=0, min=0, max=1) + @Description(shortDefinition="Patient for whom the item is supplied", formalDefinition="A link to a resource representing the person whom the ordered item is for." ) + protected Reference patient; + + /** + * The actual object that is the target of the reference (A link to a resource representing the person whom the ordered item is for.) + */ + protected Patient patientTarget; + + /** + * The Practitioner , Organization or Patient who initiated this order for the Supply. + */ + @Child(name = "source", type = {Practitioner.class, Organization.class, Patient.class}, order=1, min=0, max=1) + @Description(shortDefinition="Who initiated this order", formalDefinition="The Practitioner , Organization or Patient who initiated this order for the Supply." ) + protected Reference source; + + /** + * The actual object that is the target of the reference (The Practitioner , Organization or Patient who initiated this order for the Supply.) + */ + protected Resource sourceTarget; + + /** + * When the request was made. + */ + @Child(name = "date", type = {DateTimeType.class}, order=2, min=0, max=1) + @Description(shortDefinition="When the request was made", formalDefinition="When the request was made." ) + protected DateTimeType date; /** * Unique identifier for this supply request. */ - @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=1) + @Child(name = "identifier", type = {Identifier.class}, order=3, min=0, max=1) @Description(shortDefinition="Unique identifier", formalDefinition="Unique identifier for this supply request." ) protected Identifier identifier; /** * Status of the supply request. */ - @Child(name = "status", type = {CodeType.class}, order=2, min=0, max=1) + @Child(name = "status", type = {CodeType.class}, order=4, min=0, max=1) @Description(shortDefinition="requested | completed | failed | cancelled", formalDefinition="Status of the supply request." ) protected Enumeration status; + /** + * Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. + */ + @Child(name = "kind", type = {CodeableConcept.class}, order=5, min=0, max=1) + @Description(shortDefinition="The kind of supply (central, non-stock, etc)", formalDefinition="Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process." ) + protected CodeableConcept kind; + /** * The item that is requested to be supplied. */ - @Child(name = "orderedItem", type = {Medication.class, Substance.class, Device.class}, order=3, min=0, max=1) + @Child(name = "orderedItem", type = {Medication.class, Substance.class, Device.class}, order=6, min=0, max=1) @Description(shortDefinition="Medication, Substance, or Device requested to be supplied", formalDefinition="The item that is requested to be supplied." ) protected Reference orderedItem; @@ -180,18 +325,32 @@ public class SupplyRequest extends DomainResource { protected Resource orderedItemTarget; /** - * A link to a resource representing the person whom the ordered item is for. + * Who is intended to fulfill the request. */ - @Child(name = "patient", type = {Patient.class}, order=4, min=0, max=1) - @Description(shortDefinition="Patient for whom the item is supplied", formalDefinition="A link to a resource representing the person whom the ordered item is for." ) - protected Reference patient; + @Child(name = "supplier", type = {Organization.class}, order=7, min=0, max=Child.MAX_UNLIMITED) + @Description(shortDefinition="Who is intended to fulfill the request", formalDefinition="Who is intended to fulfill the request." ) + protected List supplier; + /** + * The actual objects that are the target of the reference (Who is intended to fulfill the request.) + */ + protected List supplierTarget; + /** - * The actual object that is the target of the reference (A link to a resource representing the person whom the ordered item is for.) + * Why the supply item was requested. */ - protected Patient patientTarget; + @Child(name = "reason", type = {CodeableConcept.class}, order=8, min=0, max=1) + @Description(shortDefinition="Why the supply item was requested", formalDefinition="Why the supply item was requested." ) + protected Type reason; - private static final long serialVersionUID = 1806725371L; + /** + * When the request should be fulfilled. + */ + @Child(name = "when", type = {}, order=9, min=0, max=1) + @Description(shortDefinition="When the request should be fulfilled", formalDefinition="When the request should be fulfilled." ) + protected SupplyRequestWhenComponent when; + + private static final long serialVersionUID = 1649766198L; /* * Constructor @@ -201,26 +360,134 @@ public class SupplyRequest extends DomainResource { } /** - * @return {@link #kind} (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.) + * @return {@link #patient} (A link to a resource representing the person whom the ordered item is for.) */ - public CodeableConcept getKind() { - if (this.kind == null) + public Reference getPatient() { + if (this.patient == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SupplyRequest.kind"); + throw new Error("Attempt to auto-create SupplyRequest.patient"); else if (Configuration.doAutoCreate()) - this.kind = new CodeableConcept(); // cc - return this.kind; + this.patient = new Reference(); // cc + return this.patient; } - public boolean hasKind() { - return this.kind != null && !this.kind.isEmpty(); + public boolean hasPatient() { + return this.patient != null && !this.patient.isEmpty(); } /** - * @param value {@link #kind} (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.) + * @param value {@link #patient} (A link to a resource representing the person whom the ordered item is for.) */ - public SupplyRequest setKind(CodeableConcept value) { - this.kind = value; + public SupplyRequest setPatient(Reference value) { + this.patient = value; + return this; + } + + /** + * @return {@link #patient} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person whom the ordered item is for.) + */ + public Patient getPatientTarget() { + if (this.patientTarget == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequest.patient"); + else if (Configuration.doAutoCreate()) + this.patientTarget = new Patient(); // aa + return this.patientTarget; + } + + /** + * @param value {@link #patient} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person whom the ordered item is for.) + */ + public SupplyRequest setPatientTarget(Patient value) { + this.patientTarget = value; + return this; + } + + /** + * @return {@link #source} (The Practitioner , Organization or Patient who initiated this order for the Supply.) + */ + public Reference getSource() { + if (this.source == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequest.source"); + else if (Configuration.doAutoCreate()) + this.source = new Reference(); // cc + return this.source; + } + + public boolean hasSource() { + return this.source != null && !this.source.isEmpty(); + } + + /** + * @param value {@link #source} (The Practitioner , Organization or Patient who initiated this order for the Supply.) + */ + public SupplyRequest setSource(Reference value) { + this.source = value; + return this; + } + + /** + * @return {@link #source} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Practitioner , Organization or Patient who initiated this order for the Supply.) + */ + public Resource getSourceTarget() { + return this.sourceTarget; + } + + /** + * @param value {@link #source} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Practitioner , Organization or Patient who initiated this order for the Supply.) + */ + public SupplyRequest setSourceTarget(Resource value) { + this.sourceTarget = value; + return this; + } + + /** + * @return {@link #date} (When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + */ + public DateTimeType getDateElement() { + if (this.date == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequest.date"); + else if (Configuration.doAutoCreate()) + this.date = new DateTimeType(); // bb + return this.date; + } + + public boolean hasDateElement() { + return this.date != null && !this.date.isEmpty(); + } + + public boolean hasDate() { + return this.date != null && !this.date.isEmpty(); + } + + /** + * @param value {@link #date} (When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + */ + public SupplyRequest setDateElement(DateTimeType value) { + this.date = value; + return this; + } + + /** + * @return When the request was made. + */ + public Date getDate() { + return this.date == null ? null : this.date.getValue(); + } + + /** + * @param value When the request was made. + */ + public SupplyRequest setDate(Date value) { + if (value == null) + this.date = null; + else { + if (this.date == null) + this.date = new DateTimeType(); + this.date.setValue(value); + } return this; } @@ -297,6 +564,30 @@ public class SupplyRequest extends DomainResource { return this; } + /** + * @return {@link #kind} (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.) + */ + public CodeableConcept getKind() { + if (this.kind == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequest.kind"); + else if (Configuration.doAutoCreate()) + this.kind = new CodeableConcept(); // cc + return this.kind; + } + + public boolean hasKind() { + return this.kind != null && !this.kind.isEmpty(); + } + + /** + * @param value {@link #kind} (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.) + */ + public SupplyRequest setKind(CodeableConcept value) { + this.kind = value; + return this; + } + /** * @return {@link #orderedItem} (The item that is requested to be supplied.) */ @@ -337,66 +628,166 @@ public class SupplyRequest extends DomainResource { } /** - * @return {@link #patient} (A link to a resource representing the person whom the ordered item is for.) + * @return {@link #supplier} (Who is intended to fulfill the request.) */ - public Reference getPatient() { - if (this.patient == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SupplyRequest.patient"); - else if (Configuration.doAutoCreate()) - this.patient = new Reference(); // cc - return this.patient; + public List getSupplier() { + if (this.supplier == null) + this.supplier = new ArrayList(); + return this.supplier; } - public boolean hasPatient() { - return this.patient != null && !this.patient.isEmpty(); + public boolean hasSupplier() { + if (this.supplier == null) + return false; + for (Reference item : this.supplier) + if (!item.isEmpty()) + return true; + return false; } /** - * @param value {@link #patient} (A link to a resource representing the person whom the ordered item is for.) + * @return {@link #supplier} (Who is intended to fulfill the request.) */ - public SupplyRequest setPatient(Reference value) { - this.patient = value; + // syntactic sugar + public Reference addSupplier() { //3 + Reference t = new Reference(); + if (this.supplier == null) + this.supplier = new ArrayList(); + this.supplier.add(t); + return t; + } + + // syntactic sugar + public SupplyRequest addSupplier(Reference t) { //3 + if (t == null) + return this; + if (this.supplier == null) + this.supplier = new ArrayList(); + this.supplier.add(t); return this; } /** - * @return {@link #patient} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person whom the ordered item is for.) + * @return {@link #supplier} (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Who is intended to fulfill the request.) */ - public Patient getPatientTarget() { - if (this.patientTarget == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SupplyRequest.patient"); - else if (Configuration.doAutoCreate()) - this.patientTarget = new Patient(); // aa - return this.patientTarget; + public List getSupplierTarget() { + if (this.supplierTarget == null) + this.supplierTarget = new ArrayList(); + return this.supplierTarget; + } + + // syntactic sugar + /** + * @return {@link #supplier} (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Who is intended to fulfill the request.) + */ + public Organization addSupplierTarget() { + Organization r = new Organization(); + if (this.supplierTarget == null) + this.supplierTarget = new ArrayList(); + this.supplierTarget.add(r); + return r; } /** - * @param value {@link #patient} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person whom the ordered item is for.) + * @return {@link #reason} (Why the supply item was requested.) */ - public SupplyRequest setPatientTarget(Patient value) { - this.patientTarget = value; + public Type getReason() { + return this.reason; + } + + /** + * @return {@link #reason} (Why the supply item was requested.) + */ + public CodeableConcept getReasonCodeableConcept() throws Exception { + if (!(this.reason instanceof CodeableConcept)) + throw new Exception("Type mismatch: the type CodeableConcept was expected, but "+this.reason.getClass().getName()+" was encountered"); + return (CodeableConcept) this.reason; + } + + public boolean hasReasonCodeableConcept() throws Exception { + return this.reason instanceof CodeableConcept; + } + + /** + * @return {@link #reason} (Why the supply item was requested.) + */ + public Reference getReasonReference() throws Exception { + if (!(this.reason instanceof Reference)) + throw new Exception("Type mismatch: the type Reference was expected, but "+this.reason.getClass().getName()+" was encountered"); + return (Reference) this.reason; + } + + public boolean hasReasonReference() throws Exception { + return this.reason instanceof Reference; + } + + public boolean hasReason() { + return this.reason != null && !this.reason.isEmpty(); + } + + /** + * @param value {@link #reason} (Why the supply item was requested.) + */ + public SupplyRequest setReason(Type value) { + this.reason = value; + return this; + } + + /** + * @return {@link #when} (When the request should be fulfilled.) + */ + public SupplyRequestWhenComponent getWhen() { + if (this.when == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SupplyRequest.when"); + else if (Configuration.doAutoCreate()) + this.when = new SupplyRequestWhenComponent(); // cc + return this.when; + } + + public boolean hasWhen() { + return this.when != null && !this.when.isEmpty(); + } + + /** + * @param value {@link #when} (When the request should be fulfilled.) + */ + public SupplyRequest setWhen(SupplyRequestWhenComponent value) { + this.when = value; return this; } protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("kind", "CodeableConcept", "Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.", 0, java.lang.Integer.MAX_VALUE, kind)); + childrenList.add(new Property("patient", "Reference(Patient)", "A link to a resource representing the person whom the ordered item is for.", 0, java.lang.Integer.MAX_VALUE, patient)); + childrenList.add(new Property("source", "Reference(Practitioner|Organization|Patient)", "The Practitioner , Organization or Patient who initiated this order for the Supply.", 0, java.lang.Integer.MAX_VALUE, source)); + childrenList.add(new Property("date", "dateTime", "When the request was made.", 0, java.lang.Integer.MAX_VALUE, date)); childrenList.add(new Property("identifier", "Identifier", "Unique identifier for this supply request.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("status", "code", "Status of the supply request.", 0, java.lang.Integer.MAX_VALUE, status)); + childrenList.add(new Property("kind", "CodeableConcept", "Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.", 0, java.lang.Integer.MAX_VALUE, kind)); childrenList.add(new Property("orderedItem", "Reference(Medication|Substance|Device)", "The item that is requested to be supplied.", 0, java.lang.Integer.MAX_VALUE, orderedItem)); - childrenList.add(new Property("patient", "Reference(Patient)", "A link to a resource representing the person whom the ordered item is for.", 0, java.lang.Integer.MAX_VALUE, patient)); + childrenList.add(new Property("supplier", "Reference(Organization)", "Who is intended to fulfill the request.", 0, java.lang.Integer.MAX_VALUE, supplier)); + childrenList.add(new Property("reason[x]", "CodeableConcept|Reference(any)", "Why the supply item was requested.", 0, java.lang.Integer.MAX_VALUE, reason)); + childrenList.add(new Property("when", "", "When the request should be fulfilled.", 0, java.lang.Integer.MAX_VALUE, when)); } public SupplyRequest copy() { SupplyRequest dst = new SupplyRequest(); copyValues(dst); - dst.kind = kind == null ? null : kind.copy(); + dst.patient = patient == null ? null : patient.copy(); + dst.source = source == null ? null : source.copy(); + dst.date = date == null ? null : date.copy(); dst.identifier = identifier == null ? null : identifier.copy(); dst.status = status == null ? null : status.copy(); + dst.kind = kind == null ? null : kind.copy(); dst.orderedItem = orderedItem == null ? null : orderedItem.copy(); - dst.patient = patient == null ? null : patient.copy(); + if (supplier != null) { + dst.supplier = new ArrayList(); + for (Reference i : supplier) + dst.supplier.add(i.copy()); + }; + dst.reason = reason == null ? null : reason.copy(); + dst.when = when == null ? null : when.copy(); return dst; } @@ -411,8 +802,10 @@ public class SupplyRequest extends DomainResource { if (!(other instanceof SupplyRequest)) return false; SupplyRequest o = (SupplyRequest) other; - return compareDeep(kind, o.kind, true) && compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) - && compareDeep(orderedItem, o.orderedItem, true) && compareDeep(patient, o.patient, true); + return compareDeep(patient, o.patient, true) && compareDeep(source, o.source, true) && compareDeep(date, o.date, true) + && compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(kind, o.kind, true) + && compareDeep(orderedItem, o.orderedItem, true) && compareDeep(supplier, o.supplier, true) && compareDeep(reason, o.reason, true) + && compareDeep(when, o.when, true); } @Override @@ -422,13 +815,14 @@ public class SupplyRequest extends DomainResource { if (!(other instanceof SupplyRequest)) return false; SupplyRequest o = (SupplyRequest) other; - return compareValues(status, o.status, true); + return compareValues(date, o.date, true) && compareValues(status, o.status, true); } public boolean isEmpty() { - return super.isEmpty() && (kind == null || kind.isEmpty()) && (identifier == null || identifier.isEmpty()) - && (status == null || status.isEmpty()) && (orderedItem == null || orderedItem.isEmpty()) - && (patient == null || patient.isEmpty()); + return super.isEmpty() && (patient == null || patient.isEmpty()) && (source == null || source.isEmpty()) + && (date == null || date.isEmpty()) && (identifier == null || identifier.isEmpty()) && (status == null || status.isEmpty()) + && (kind == null || kind.isEmpty()) && (orderedItem == null || orderedItem.isEmpty()) && (supplier == null || supplier.isEmpty()) + && (reason == null || reason.isEmpty()) && (when == null || when.isEmpty()); } @Override @@ -436,12 +830,18 @@ public class SupplyRequest extends DomainResource { return ResourceType.SupplyRequest; } + @SearchParamDefinition(name="date", path="SupplyRequest.date", description="When the request was made", type="date" ) + public static final String SP_DATE = "date"; @SearchParamDefinition(name="identifier", path="SupplyRequest.identifier", description="Unique identifier", type="token" ) public static final String SP_IDENTIFIER = "identifier"; @SearchParamDefinition(name="kind", path="SupplyRequest.kind", description="The kind of supply (central, non-stock, etc)", type="token" ) public static final String SP_KIND = "kind"; @SearchParamDefinition(name="patient", path="SupplyRequest.patient", description="Patient for whom the item is supplied", type="reference" ) public static final String SP_PATIENT = "patient"; + @SearchParamDefinition(name="supplier", path="SupplyRequest.supplier", description="Who is intended to fulfill the request", type="reference" ) + public static final String SP_SUPPLIER = "supplier"; + @SearchParamDefinition(name="source", path="SupplyRequest.source", description="Who initiated this order", type="reference" ) + public static final String SP_SOURCE = "source"; @SearchParamDefinition(name="status", path="SupplyRequest.status", description="requested | completed | failed | cancelled", type="token" ) public static final String SP_STATUS = "status"; diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/TestScript.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/TestScript.java index 0fccaff88e1..44d09caec1c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/TestScript.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/TestScript.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -169,21 +169,21 @@ public class TestScript extends DomainResource { } public String getSystem() { switch (this) { - case READ: return "http://hl7.org.fhir/test-operation-codes"; - case VREAD: return "http://hl7.org.fhir/test-operation-codes"; - case UPDATE: return "http://hl7.org.fhir/test-operation-codes"; - case DELETE: return "http://hl7.org.fhir/test-operation-codes"; - case HISTORY: return "http://hl7.org.fhir/test-operation-codes"; - case CREATE: return "http://hl7.org.fhir/test-operation-codes"; - case SEARCH: return "http://hl7.org.fhir/test-operation-codes"; - case TRANSACTION: return "http://hl7.org.fhir/test-operation-codes"; - case CONFORMANCE: return "http://hl7.org.fhir/test-operation-codes"; - case TAGS: return "http://hl7.org.fhir/test-operation-codes"; - case MAILBOX: return "http://hl7.org.fhir/test-operation-codes"; - case DOCUMENT: return "http://hl7.org.fhir/test-operation-codes"; - case ASSERTION: return "http://hl7.org.fhir/test-operation-codes"; - case ASSERTIONFALSE: return "http://hl7.org.fhir/test-operation-codes"; - case ASSERTIONWARNING: return "http://hl7.org.fhir/test-operation-codes"; + case READ: return "http://hl7.org/fhir/test-operation-codes"; + case VREAD: return "http://hl7.org/fhir/test-operation-codes"; + case UPDATE: return "http://hl7.org/fhir/test-operation-codes"; + case DELETE: return "http://hl7.org/fhir/test-operation-codes"; + case HISTORY: return "http://hl7.org/fhir/test-operation-codes"; + case CREATE: return "http://hl7.org/fhir/test-operation-codes"; + case SEARCH: return "http://hl7.org/fhir/test-operation-codes"; + case TRANSACTION: return "http://hl7.org/fhir/test-operation-codes"; + case CONFORMANCE: return "http://hl7.org/fhir/test-operation-codes"; + case TAGS: return "http://hl7.org/fhir/test-operation-codes"; + case MAILBOX: return "http://hl7.org/fhir/test-operation-codes"; + case DOCUMENT: return "http://hl7.org/fhir/test-operation-codes"; + case ASSERTION: return "http://hl7.org/fhir/test-operation-codes"; + case ASSERTIONFALSE: return "http://hl7.org/fhir/test-operation-codes"; + case ASSERTIONWARNING: return "http://hl7.org/fhir/test-operation-codes"; default: return "?"; } } @@ -332,8 +332,8 @@ public class TestScript extends DomainResource { } public String getSystem() { switch (this) { - case XML: return "http://hl7.org.fhir/content-type"; - case JSON: return "http://hl7.org.fhir/content-type"; + case XML: return "http://hl7.org/fhir/content-type"; + case JSON: return "http://hl7.org/fhir/content-type"; default: return "?"; } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Timing.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Timing.java index dc9ca00317b..66ce58793ee 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Timing.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Timing.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -431,11 +431,11 @@ public class Timing extends Type implements ICompositeType { @Block() public static class TimingRepeatComponent extends Element implements IBaseDatatypeElement { /** - * Outer bounds for start and/or end limits of the timing schedule. + * Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule. */ - @Child(name = "bounds", type = {Period.class}, order=1, min=0, max=1) - @Description(shortDefinition="Start and/or end limits", formalDefinition="Outer bounds for start and/or end limits of the timing schedule." ) - protected Period bounds; + @Child(name = "bounds", type = {Duration.class, Range.class, Period.class}, order=1, min=0, max=1) + @Description(shortDefinition="Length/Range of lengths, or (Start and/or end) limits", formalDefinition="Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." ) + protected Type bounds; /** * A total count of the desired number of repetitions. @@ -451,56 +451,63 @@ public class Timing extends Type implements ICompositeType { @Description(shortDefinition="How long when it happens", formalDefinition="How long this thing happens for when it happens." ) protected DecimalType duration; + /** + * The upper limit of how long this thing happens for when it happens. + */ + @Child(name = "durationMax", type = {DecimalType.class}, order=4, min=0, max=1) + @Description(shortDefinition="How long when it happens (Max)", formalDefinition="The upper limit of how long this thing happens for when it happens." ) + protected DecimalType durationMax; + /** * The units of time for the duration, in UCUM units. */ - @Child(name = "durationUnits", type = {CodeType.class}, order=4, min=0, max=1) + @Child(name = "durationUnits", type = {CodeType.class}, order=5, min=0, max=1) @Description(shortDefinition="s | min | h | d | wk | mo | a - unit of time (UCUM)", formalDefinition="The units of time for the duration, in UCUM units." ) protected Enumeration durationUnits; /** * The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). */ - @Child(name = "frequency", type = {IntegerType.class}, order=5, min=0, max=1) + @Child(name = "frequency", type = {IntegerType.class}, order=6, min=0, max=1) @Description(shortDefinition="Event occurs frequency times per duration", formalDefinition="The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided)." ) protected IntegerType frequency; /** * If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. */ - @Child(name = "frequencyMax", type = {IntegerType.class}, order=6, min=0, max=1) + @Child(name = "frequencyMax", type = {IntegerType.class}, order=7, min=0, max=1) @Description(shortDefinition="Event occurs frequency times per duration", formalDefinition="If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range." ) protected IntegerType frequencyMax; /** * Indicates the duration of time over which repetitions are to occur. E.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. */ - @Child(name = "period", type = {DecimalType.class}, order=7, min=0, max=1) + @Child(name = "period", type = {DecimalType.class}, order=8, min=0, max=1) @Description(shortDefinition="Event occurs frequency times per period", formalDefinition="Indicates the duration of time over which repetitions are to occur. E.g. to express '3 times per day', 3 would be the frequency and '1 day' would be the period." ) protected DecimalType period; /** * If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. */ - @Child(name = "periodMax", type = {DecimalType.class}, order=8, min=0, max=1) + @Child(name = "periodMax", type = {DecimalType.class}, order=9, min=0, max=1) @Description(shortDefinition="Upper limit of period (3-4 hours)", formalDefinition="If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as 'do this once every 3-5 days." ) protected DecimalType periodMax; /** * The units of time for the period in UCUM units. */ - @Child(name = "periodUnits", type = {CodeType.class}, order=9, min=0, max=1) + @Child(name = "periodUnits", type = {CodeType.class}, order=10, min=0, max=1) @Description(shortDefinition="s | min | h | d | wk | mo | a - unit of time (UCUM)", formalDefinition="The units of time for the period in UCUM units." ) protected Enumeration periodUnits; /** * A real world event that the occurrence of the event should be tied to. */ - @Child(name = "when", type = {CodeType.class}, order=10, min=0, max=1) + @Child(name = "when", type = {CodeType.class}, order=11, min=0, max=1) @Description(shortDefinition="Regular life events the event is tied to", formalDefinition="A real world event that the occurrence of the event should be tied to." ) protected Enumeration when; - private static final long serialVersionUID = -960490812L; + private static final long serialVersionUID = -585686982L; /* * Constructor @@ -510,25 +517,59 @@ public class Timing extends Type implements ICompositeType { } /** - * @return {@link #bounds} (Outer bounds for start and/or end limits of the timing schedule.) + * @return {@link #bounds} (Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.) */ - public Period getBounds() { - if (this.bounds == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create TimingRepeatComponent.bounds"); - else if (Configuration.doAutoCreate()) - this.bounds = new Period(); // cc + public Type getBounds() { return this.bounds; } + /** + * @return {@link #bounds} (Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.) + */ + public Duration getBoundsDuration() throws Exception { + if (!(this.bounds instanceof Duration)) + throw new Exception("Type mismatch: the type Duration was expected, but "+this.bounds.getClass().getName()+" was encountered"); + return (Duration) this.bounds; + } + + public boolean hasBoundsDuration() throws Exception { + return this.bounds instanceof Duration; + } + + /** + * @return {@link #bounds} (Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.) + */ + public Range getBoundsRange() throws Exception { + if (!(this.bounds instanceof Range)) + throw new Exception("Type mismatch: the type Range was expected, but "+this.bounds.getClass().getName()+" was encountered"); + return (Range) this.bounds; + } + + public boolean hasBoundsRange() throws Exception { + return this.bounds instanceof Range; + } + + /** + * @return {@link #bounds} (Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.) + */ + public Period getBoundsPeriod() throws Exception { + if (!(this.bounds instanceof Period)) + throw new Exception("Type mismatch: the type Period was expected, but "+this.bounds.getClass().getName()+" was encountered"); + return (Period) this.bounds; + } + + public boolean hasBoundsPeriod() throws Exception { + return this.bounds instanceof Period; + } + public boolean hasBounds() { return this.bounds != null && !this.bounds.isEmpty(); } /** - * @param value {@link #bounds} (Outer bounds for start and/or end limits of the timing schedule.) + * @param value {@link #bounds} (Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.) */ - public TimingRepeatComponent setBounds(Period value) { + public TimingRepeatComponent setBounds(Type value) { this.bounds = value; return this; } @@ -627,6 +668,55 @@ public class Timing extends Type implements ICompositeType { return this; } + /** + * @return {@link #durationMax} (The upper limit of how long this thing happens for when it happens.). This is the underlying object with id, value and extensions. The accessor "getDurationMax" gives direct access to the value + */ + public DecimalType getDurationMaxElement() { + if (this.durationMax == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TimingRepeatComponent.durationMax"); + else if (Configuration.doAutoCreate()) + this.durationMax = new DecimalType(); // bb + return this.durationMax; + } + + public boolean hasDurationMaxElement() { + return this.durationMax != null && !this.durationMax.isEmpty(); + } + + public boolean hasDurationMax() { + return this.durationMax != null && !this.durationMax.isEmpty(); + } + + /** + * @param value {@link #durationMax} (The upper limit of how long this thing happens for when it happens.). This is the underlying object with id, value and extensions. The accessor "getDurationMax" gives direct access to the value + */ + public TimingRepeatComponent setDurationMaxElement(DecimalType value) { + this.durationMax = value; + return this; + } + + /** + * @return The upper limit of how long this thing happens for when it happens. + */ + public BigDecimal getDurationMax() { + return this.durationMax == null ? null : this.durationMax.getValue(); + } + + /** + * @param value The upper limit of how long this thing happens for when it happens. + */ + public TimingRepeatComponent setDurationMax(BigDecimal value) { + if (value == null) + this.durationMax = null; + else { + if (this.durationMax == null) + this.durationMax = new DecimalType(); + this.durationMax.setValue(value); + } + return this; + } + /** * @return {@link #durationUnits} (The units of time for the duration, in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getDurationUnits" gives direct access to the value */ @@ -964,9 +1054,10 @@ public class Timing extends Type implements ICompositeType { protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("bounds", "Period", "Outer bounds for start and/or end limits of the timing schedule.", 0, java.lang.Integer.MAX_VALUE, bounds)); + childrenList.add(new Property("bounds[x]", "Duration|Range|Period", "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.", 0, java.lang.Integer.MAX_VALUE, bounds)); childrenList.add(new Property("count", "integer", "A total count of the desired number of repetitions.", 0, java.lang.Integer.MAX_VALUE, count)); childrenList.add(new Property("duration", "decimal", "How long this thing happens for when it happens.", 0, java.lang.Integer.MAX_VALUE, duration)); + childrenList.add(new Property("durationMax", "decimal", "The upper limit of how long this thing happens for when it happens.", 0, java.lang.Integer.MAX_VALUE, durationMax)); childrenList.add(new Property("durationUnits", "code", "The units of time for the duration, in UCUM units.", 0, java.lang.Integer.MAX_VALUE, durationUnits)); childrenList.add(new Property("frequency", "integer", "The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).", 0, java.lang.Integer.MAX_VALUE, frequency)); childrenList.add(new Property("frequencyMax", "integer", "If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range.", 0, java.lang.Integer.MAX_VALUE, frequencyMax)); @@ -982,6 +1073,7 @@ public class Timing extends Type implements ICompositeType { dst.bounds = bounds == null ? null : bounds.copy(); dst.count = count == null ? null : count.copy(); dst.duration = duration == null ? null : duration.copy(); + dst.durationMax = durationMax == null ? null : durationMax.copy(); dst.durationUnits = durationUnits == null ? null : durationUnits.copy(); dst.frequency = frequency == null ? null : frequency.copy(); dst.frequencyMax = frequencyMax == null ? null : frequencyMax.copy(); @@ -1000,9 +1092,10 @@ public class Timing extends Type implements ICompositeType { return false; TimingRepeatComponent o = (TimingRepeatComponent) other; return compareDeep(bounds, o.bounds, true) && compareDeep(count, o.count, true) && compareDeep(duration, o.duration, true) - && compareDeep(durationUnits, o.durationUnits, true) && compareDeep(frequency, o.frequency, true) - && compareDeep(frequencyMax, o.frequencyMax, true) && compareDeep(period, o.period, true) && compareDeep(periodMax, o.periodMax, true) - && compareDeep(periodUnits, o.periodUnits, true) && compareDeep(when, o.when, true); + && compareDeep(durationMax, o.durationMax, true) && compareDeep(durationUnits, o.durationUnits, true) + && compareDeep(frequency, o.frequency, true) && compareDeep(frequencyMax, o.frequencyMax, true) + && compareDeep(period, o.period, true) && compareDeep(periodMax, o.periodMax, true) && compareDeep(periodUnits, o.periodUnits, true) + && compareDeep(when, o.when, true); } @Override @@ -1012,17 +1105,18 @@ public class Timing extends Type implements ICompositeType { if (!(other instanceof TimingRepeatComponent)) return false; TimingRepeatComponent o = (TimingRepeatComponent) other; - return compareValues(count, o.count, true) && compareValues(duration, o.duration, true) && compareValues(durationUnits, o.durationUnits, true) - && compareValues(frequency, o.frequency, true) && compareValues(frequencyMax, o.frequencyMax, true) - && compareValues(period, o.period, true) && compareValues(periodMax, o.periodMax, true) && compareValues(periodUnits, o.periodUnits, true) - && compareValues(when, o.when, true); + return compareValues(count, o.count, true) && compareValues(duration, o.duration, true) && compareValues(durationMax, o.durationMax, true) + && compareValues(durationUnits, o.durationUnits, true) && compareValues(frequency, o.frequency, true) + && compareValues(frequencyMax, o.frequencyMax, true) && compareValues(period, o.period, true) && compareValues(periodMax, o.periodMax, true) + && compareValues(periodUnits, o.periodUnits, true) && compareValues(when, o.when, true); } public boolean isEmpty() { return super.isEmpty() && (bounds == null || bounds.isEmpty()) && (count == null || count.isEmpty()) - && (duration == null || duration.isEmpty()) && (durationUnits == null || durationUnits.isEmpty()) - && (frequency == null || frequency.isEmpty()) && (frequencyMax == null || frequencyMax.isEmpty()) - && (period == null || period.isEmpty()) && (periodMax == null || periodMax.isEmpty()) && (periodUnits == null || periodUnits.isEmpty()) + && (duration == null || duration.isEmpty()) && (durationMax == null || durationMax.isEmpty()) + && (durationUnits == null || durationUnits.isEmpty()) && (frequency == null || frequency.isEmpty()) + && (frequencyMax == null || frequencyMax.isEmpty()) && (period == null || period.isEmpty()) + && (periodMax == null || periodMax.isEmpty()) && (periodUnits == null || periodUnits.isEmpty()) && (when == null || when.isEmpty()); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ValueSet.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ValueSet.java index e382f722a83..bf4a967c87a 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ValueSet.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ValueSet.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -106,12 +106,12 @@ public class ValueSet extends DomainResource { } public String getSystem() { switch (this) { - case EQUAL: return "http://hl7.org.fhir/filter-operator"; - case ISA: return "http://hl7.org.fhir/filter-operator"; - case ISNOTA: return "http://hl7.org.fhir/filter-operator"; - case REGEX: return "http://hl7.org.fhir/filter-operator"; - case IN: return "http://hl7.org.fhir/filter-operator"; - case NOTIN: return "http://hl7.org.fhir/filter-operator"; + case EQUAL: return "http://hl7.org/fhir/filter-operator"; + case ISA: return "http://hl7.org/fhir/filter-operator"; + case ISNOTA: return "http://hl7.org/fhir/filter-operator"; + case REGEX: return "http://hl7.org/fhir/filter-operator"; + case IN: return "http://hl7.org/fhir/filter-operator"; + case NOTIN: return "http://hl7.org/fhir/filter-operator"; default: return "?"; } } @@ -128,12 +128,12 @@ public class ValueSet extends DomainResource { } public String getDisplay() { switch (this) { - case EQUAL: return " "; - case ISA: return "Is A"; - case ISNOTA: return "Is Not A"; - case REGEX: return "Regex"; - case IN: return "In"; - case NOTIN: return "Not In"; + case EQUAL: return "Equals"; + case ISA: return "Is A (by subsumption)"; + case ISNOTA: return "Not (Is A) (by subsumption)"; + case REGEX: return "Regular Expression"; + case IN: return "In Set"; + case NOTIN: return "Not in Set"; default: return "?"; } } @@ -624,7 +624,7 @@ public class ValueSet extends DomainResource { /** * If this code is not for use as a real concept. */ - @Child(name = "abstract", type = {BooleanType.class}, order=2, min=0, max=1) + @Child(name = "abstract_", type = {BooleanType.class}, order=2, min=0, max=1) @Description(shortDefinition="If this code is not for use as a real concept", formalDefinition="If this code is not for use as a real concept." ) protected BooleanType abstract_; @@ -643,10 +643,10 @@ public class ValueSet extends DomainResource { protected StringType definition; /** - * Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc. + * Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc. */ @Child(name = "designation", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Additional representations for the concept", formalDefinition="Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc." ) + @Description(shortDefinition="Additional representations for the concept", formalDefinition="Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc." ) protected List designation; /** @@ -862,7 +862,7 @@ public class ValueSet extends DomainResource { } /** - * @return {@link #designation} (Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc.) + * @return {@link #designation} (Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.) */ public List getDesignation() { if (this.designation == null) @@ -880,7 +880,7 @@ public class ValueSet extends DomainResource { } /** - * @return {@link #designation} (Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc.) + * @return {@link #designation} (Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.) */ // syntactic sugar public ConceptDefinitionDesignationComponent addDesignation() { //3 @@ -947,7 +947,7 @@ public class ValueSet extends DomainResource { childrenList.add(new Property("abstract", "boolean", "If this code is not for use as a real concept.", 0, java.lang.Integer.MAX_VALUE, abstract_)); childrenList.add(new Property("display", "string", "Text to Display to the user.", 0, java.lang.Integer.MAX_VALUE, display)); childrenList.add(new Property("definition", "string", "The formal definition of the concept. Formal definitions are not required, because of the prevalence of legacy systems without them, but they are highly recommended, as without them there is no formal meaning associated with the concept.", 0, java.lang.Integer.MAX_VALUE, definition)); - childrenList.add(new Property("designation", "", "Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc.", 0, java.lang.Integer.MAX_VALUE, designation)); + childrenList.add(new Property("designation", "", "Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.", 0, java.lang.Integer.MAX_VALUE, designation)); childrenList.add(new Property("concept", "@ValueSet.define.concept", "Child Concepts (is-a / contains).", 0, java.lang.Integer.MAX_VALUE, concept)); } @@ -1009,7 +1009,7 @@ public class ValueSet extends DomainResource { * The language this designation is defined for. */ @Child(name = "language", type = {CodeType.class}, order=1, min=0, max=1) - @Description(shortDefinition="Language of the designation", formalDefinition="The language this designation is defined for." ) + @Description(shortDefinition="Human language of the designation", formalDefinition="The language this designation is defined for." ) protected CodeType language; /** @@ -1210,7 +1210,7 @@ public class ValueSet extends DomainResource { /** * Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri. */ - @Child(name = "import", type = {UriType.class}, order=1, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "import_", type = {UriType.class}, order=1, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Import the contents of another value set", formalDefinition="Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri." ) protected List import_; @@ -1719,10 +1719,10 @@ public class ValueSet extends DomainResource { protected StringType display; /** - * Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc. + * Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc. */ @Child(name = "designation", type = {ConceptDefinitionDesignationComponent.class}, order=3, min=0, max=Child.MAX_UNLIMITED) - @Description(shortDefinition="Additional representations for this valueset", formalDefinition="Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc." ) + @Description(shortDefinition="Additional representations for this valueset", formalDefinition="Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc." ) protected List designation; private static final long serialVersionUID = -1513912691L; @@ -1837,7 +1837,7 @@ public class ValueSet extends DomainResource { } /** - * @return {@link #designation} (Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc.) + * @return {@link #designation} (Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc.) */ public List getDesignation() { if (this.designation == null) @@ -1855,7 +1855,7 @@ public class ValueSet extends DomainResource { } /** - * @return {@link #designation} (Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc.) + * @return {@link #designation} (Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc.) */ // syntactic sugar public ConceptDefinitionDesignationComponent addDesignation() { //3 @@ -1880,7 +1880,7 @@ public class ValueSet extends DomainResource { super.listChildren(childrenList); childrenList.add(new Property("code", "code", "Specifies a code for the concept to be included or excluded.", 0, java.lang.Integer.MAX_VALUE, code)); childrenList.add(new Property("display", "string", "The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system.", 0, java.lang.Integer.MAX_VALUE, display)); - childrenList.add(new Property("designation", "@ValueSet.define.concept.designation", "Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc.", 0, java.lang.Integer.MAX_VALUE, designation)); + childrenList.add(new Property("designation", "@ValueSet.define.concept.designation", "Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc.", 0, java.lang.Integer.MAX_VALUE, designation)); } public ConceptReferenceComponent copy() { @@ -2162,21 +2162,35 @@ public class ValueSet extends DomainResource { @Description(shortDefinition="Time valueset expansion happened", formalDefinition="The time at which the expansion was produced by the expanding system." ) protected DateTimeType timestamp; + /** + * The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter. + */ + @Child(name = "total", type = {IntegerType.class}, order=3, min=0, max=1) + @Description(shortDefinition="Total number of codes in the expansion", formalDefinition="The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter." ) + protected IntegerType total; + + /** + * If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present. + */ + @Child(name = "count", type = {IntegerType.class}, order=4, min=0, max=1) + @Description(shortDefinition="Offset at which this resource starts", formalDefinition="If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present." ) + protected IntegerType count; + /** * A Parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion. */ - @Child(name = "parameter", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "parameter", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Parameter that controlled the expansion process", formalDefinition="A Parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion." ) protected List parameter; /** * The codes that are contained in the value set expansion. */ - @Child(name = "contains", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED) + @Child(name = "contains", type = {}, order=6, min=0, max=Child.MAX_UNLIMITED) @Description(shortDefinition="Codes in the value set", formalDefinition="The codes that are contained in the value set expansion." ) protected List contains; - private static final long serialVersionUID = 148339098L; + private static final long serialVersionUID = -831777781L; /* * Constructor @@ -2284,6 +2298,96 @@ public class ValueSet extends DomainResource { return this; } + /** + * @return {@link #total} (The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the value + */ + public IntegerType getTotalElement() { + if (this.total == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ValueSetExpansionComponent.total"); + else if (Configuration.doAutoCreate()) + this.total = new IntegerType(); // bb + return this.total; + } + + public boolean hasTotalElement() { + return this.total != null && !this.total.isEmpty(); + } + + public boolean hasTotal() { + return this.total != null && !this.total.isEmpty(); + } + + /** + * @param value {@link #total} (The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the value + */ + public ValueSetExpansionComponent setTotalElement(IntegerType value) { + this.total = value; + return this; + } + + /** + * @return The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter. + */ + public int getTotal() { + return this.total == null || this.total.isEmpty() ? 0 : this.total.getValue(); + } + + /** + * @param value The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter. + */ + public ValueSetExpansionComponent setTotal(int value) { + if (this.total == null) + this.total = new IntegerType(); + this.total.setValue(value); + return this; + } + + /** + * @return {@link #count} (If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.). This is the underlying object with id, value and extensions. The accessor "getCount" gives direct access to the value + */ + public IntegerType getCountElement() { + if (this.count == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ValueSetExpansionComponent.count"); + else if (Configuration.doAutoCreate()) + this.count = new IntegerType(); // bb + return this.count; + } + + public boolean hasCountElement() { + return this.count != null && !this.count.isEmpty(); + } + + public boolean hasCount() { + return this.count != null && !this.count.isEmpty(); + } + + /** + * @param value {@link #count} (If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.). This is the underlying object with id, value and extensions. The accessor "getCount" gives direct access to the value + */ + public ValueSetExpansionComponent setCountElement(IntegerType value) { + this.count = value; + return this; + } + + /** + * @return If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present. + */ + public int getCount() { + return this.count == null || this.count.isEmpty() ? 0 : this.count.getValue(); + } + + /** + * @param value If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present. + */ + public ValueSetExpansionComponent setCount(int value) { + if (this.count == null) + this.count = new IntegerType(); + this.count.setValue(value); + return this; + } + /** * @return {@link #parameter} (A Parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.) */ @@ -2368,6 +2472,8 @@ public class ValueSet extends DomainResource { super.listChildren(childrenList); childrenList.add(new Property("identifier", "uri", "An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("timestamp", "dateTime", "The time at which the expansion was produced by the expanding system.", 0, java.lang.Integer.MAX_VALUE, timestamp)); + childrenList.add(new Property("total", "integer", "The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.", 0, java.lang.Integer.MAX_VALUE, total)); + childrenList.add(new Property("count", "integer", "If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.", 0, java.lang.Integer.MAX_VALUE, count)); childrenList.add(new Property("parameter", "", "A Parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.", 0, java.lang.Integer.MAX_VALUE, parameter)); childrenList.add(new Property("contains", "", "The codes that are contained in the value set expansion.", 0, java.lang.Integer.MAX_VALUE, contains)); } @@ -2377,6 +2483,8 @@ public class ValueSet extends DomainResource { copyValues(dst); dst.identifier = identifier == null ? null : identifier.copy(); dst.timestamp = timestamp == null ? null : timestamp.copy(); + dst.total = total == null ? null : total.copy(); + dst.count = count == null ? null : count.copy(); if (parameter != null) { dst.parameter = new ArrayList(); for (ValueSetExpansionParameterComponent i : parameter) @@ -2398,7 +2506,8 @@ public class ValueSet extends DomainResource { return false; ValueSetExpansionComponent o = (ValueSetExpansionComponent) other; return compareDeep(identifier, o.identifier, true) && compareDeep(timestamp, o.timestamp, true) - && compareDeep(parameter, o.parameter, true) && compareDeep(contains, o.contains, true); + && compareDeep(total, o.total, true) && compareDeep(count, o.count, true) && compareDeep(parameter, o.parameter, true) + && compareDeep(contains, o.contains, true); } @Override @@ -2409,13 +2518,13 @@ public class ValueSet extends DomainResource { return false; ValueSetExpansionComponent o = (ValueSetExpansionComponent) other; return compareValues(identifier, o.identifier, true) && compareValues(timestamp, o.timestamp, true) - ; + && compareValues(total, o.total, true) && compareValues(count, o.count, true); } public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (timestamp == null || timestamp.isEmpty()) - && (parameter == null || parameter.isEmpty()) && (contains == null || contains.isEmpty()) - ; + && (total == null || total.isEmpty()) && (count == null || count.isEmpty()) && (parameter == null || parameter.isEmpty()) + && (contains == null || contains.isEmpty()); } } @@ -2433,7 +2542,7 @@ public class ValueSet extends DomainResource { * The value of the parameter. */ @Child(name = "value", type = {StringType.class, BooleanType.class, IntegerType.class, DecimalType.class, UriType.class, CodeType.class}, order=2, min=0, max=1) - @Description(shortDefinition="Value of the parameter", formalDefinition="The value of the parameter." ) + @Description(shortDefinition="Value of the named parameter", formalDefinition="The value of the parameter." ) protected Type value; private static final long serialVersionUID = 1172641169L; @@ -2514,6 +2623,10 @@ public class ValueSet extends DomainResource { return (StringType) this.value; } + public boolean hasValueStringType() throws Exception { + return this.value instanceof StringType; + } + /** * @return {@link #value} (The value of the parameter.) */ @@ -2523,6 +2636,10 @@ public class ValueSet extends DomainResource { return (BooleanType) this.value; } + public boolean hasValueBooleanType() throws Exception { + return this.value instanceof BooleanType; + } + /** * @return {@link #value} (The value of the parameter.) */ @@ -2532,6 +2649,10 @@ public class ValueSet extends DomainResource { return (IntegerType) this.value; } + public boolean hasValueIntegerType() throws Exception { + return this.value instanceof IntegerType; + } + /** * @return {@link #value} (The value of the parameter.) */ @@ -2541,6 +2662,10 @@ public class ValueSet extends DomainResource { return (DecimalType) this.value; } + public boolean hasValueDecimalType() throws Exception { + return this.value instanceof DecimalType; + } + /** * @return {@link #value} (The value of the parameter.) */ @@ -2550,6 +2675,10 @@ public class ValueSet extends DomainResource { return (UriType) this.value; } + public boolean hasValueUriType() throws Exception { + return this.value instanceof UriType; + } + /** * @return {@link #value} (The value of the parameter.) */ @@ -2559,6 +2688,10 @@ public class ValueSet extends DomainResource { return (CodeType) this.value; } + public boolean hasValueCodeType() throws Exception { + return this.value instanceof CodeType; + } + public boolean hasValue() { return this.value != null && !this.value.isEmpty(); } @@ -2624,7 +2757,7 @@ public class ValueSet extends DomainResource { /** * If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value. */ - @Child(name = "abstract", type = {BooleanType.class}, order=2, min=0, max=1) + @Child(name = "abstract_", type = {BooleanType.class}, order=2, min=0, max=1) @Description(shortDefinition="If user cannot select this entry", formalDefinition="If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value." ) protected BooleanType abstract_; @@ -3004,10 +3137,10 @@ public class ValueSet extends DomainResource { } /** - * An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1) - @Description(shortDefinition="Globally unique logical id for value set", formalDefinition="An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:)." ) + @Description(shortDefinition="Globally unique logical id for value set", formalDefinition="An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:)." ) protected UriType url; /** @@ -3154,7 +3287,7 @@ public class ValueSet extends DomainResource { } /** - * @return {@link #url} (An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #url} (An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) @@ -3174,7 +3307,7 @@ public class ValueSet extends DomainResource { } /** - * @param value {@link #url} (An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #url} (An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public ValueSet setUrlElement(UriType value) { this.url = value; @@ -3182,14 +3315,14 @@ public class ValueSet extends DomainResource { } /** - * @return An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @return An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + * @param value An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). */ public ValueSet setUrl(String value) { if (Utilities.noString(value)) @@ -3952,7 +4085,7 @@ public class ValueSet extends DomainResource { protected void listChildren(List childrenList) { super.listChildren(childrenList); - childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); + childrenList.add(new Property("url", "uri", "An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:).", 0, java.lang.Integer.MAX_VALUE, url)); childrenList.add(new Property("identifier", "Identifier", "Formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); childrenList.add(new Property("version", "string", "Used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.", 0, java.lang.Integer.MAX_VALUE, version)); childrenList.add(new Property("name", "string", "A free text natural language name describing the value set.", 0, java.lang.Integer.MAX_VALUE, name)); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/VisionPrescription.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/VisionPrescription.java index 949b82cfec8..5db71f79c34 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/VisionPrescription.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/VisionPrescription.java @@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model; */ -// Generated on Sun, May 31, 2015 15:45-0400 for FHIR v0.5.0 +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 import java.util.*; @@ -78,8 +78,8 @@ public class VisionPrescription extends DomainResource { } public String getSystem() { switch (this) { - case RIGHT: return "http://hl7.org.fhir/eye-codes"; - case LEFT: return "http://hl7.org.fhir/eye-codes"; + case RIGHT: return "http://hl7.org/fhir/eye-codes"; + case LEFT: return "http://hl7.org/fhir/eye-codes"; default: return "?"; } } @@ -164,10 +164,10 @@ public class VisionPrescription extends DomainResource { } public String getSystem() { switch (this) { - case UP: return "http://hl7.org.fhir/base-codes"; - case DOWN: return "http://hl7.org.fhir/base-codes"; - case IN: return "http://hl7.org.fhir/base-codes"; - case OUT: return "http://hl7.org.fhir/base-codes"; + case UP: return "http://hl7.org/fhir/base-codes"; + case DOWN: return "http://hl7.org/fhir/base-codes"; + case IN: return "http://hl7.org/fhir/base-codes"; + case OUT: return "http://hl7.org/fhir/base-codes"; default: return "?"; } } @@ -1414,6 +1414,10 @@ public class VisionPrescription extends DomainResource { return (CodeableConcept) this.reason; } + public boolean hasReasonCodeableConcept() throws Exception { + return this.reason instanceof CodeableConcept; + } + /** * @return {@link #reason} (Can be the reason or the indication for writing the prescription.) */ @@ -1423,6 +1427,10 @@ public class VisionPrescription extends DomainResource { return (Reference) this.reason; } + public boolean hasReasonReference() throws Exception { + return this.reason instanceof Reference; + } + public boolean hasReason() { return this.reason != null && !this.reason.isEmpty(); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Additionalmaterials.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Additionalmaterials.java new file mode 100644 index 00000000000..a1988968b7c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Additionalmaterials.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Additionalmaterials { + + /** + * null + */ + XRAY, + /** + * null + */ + IMAGE, + /** + * null + */ + EMAIL, + /** + * null + */ + MODEL, + /** + * null + */ + DOCUMENT, + /** + * null + */ + OTHER, + /** + * added to help the parsers + */ + NULL; + public static Additionalmaterials fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("xray".equals(codeString)) + return XRAY; + if ("image".equals(codeString)) + return IMAGE; + if ("email".equals(codeString)) + return EMAIL; + if ("model".equals(codeString)) + return MODEL; + if ("document".equals(codeString)) + return DOCUMENT; + if ("other".equals(codeString)) + return OTHER; + throw new Exception("Unknown Additionalmaterials code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case XRAY: return "xray"; + case IMAGE: return "image"; + case EMAIL: return "email"; + case MODEL: return "model"; + case DOCUMENT: return "document"; + case OTHER: return "other"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/additionalmaterials"; + } + public String getDefinition() { + switch (this) { + case XRAY: return ""; + case IMAGE: return ""; + case EMAIL: return ""; + case MODEL: return ""; + case DOCUMENT: return ""; + case OTHER: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case XRAY: return "xray"; + case IMAGE: return "image"; + case EMAIL: return "email"; + case MODEL: return "model"; + case DOCUMENT: return "document"; + case OTHER: return "other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdditionalmaterialsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdditionalmaterialsEnumFactory.java new file mode 100644 index 00000000000..7a74d519751 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdditionalmaterialsEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AdditionalmaterialsEnumFactory implements EnumFactory { + + public Additionalmaterials fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("xray".equals(codeString)) + return Additionalmaterials.XRAY; + if ("image".equals(codeString)) + return Additionalmaterials.IMAGE; + if ("email".equals(codeString)) + return Additionalmaterials.EMAIL; + if ("model".equals(codeString)) + return Additionalmaterials.MODEL; + if ("document".equals(codeString)) + return Additionalmaterials.DOCUMENT; + if ("other".equals(codeString)) + return Additionalmaterials.OTHER; + throw new IllegalArgumentException("Unknown Additionalmaterials code '"+codeString+"'"); + } + + public String toCode(Additionalmaterials code) { + if (code == Additionalmaterials.XRAY) + return "xray"; + if (code == Additionalmaterials.IMAGE) + return "image"; + if (code == Additionalmaterials.EMAIL) + return "email"; + if (code == Additionalmaterials.MODEL) + return "model"; + if (code == Additionalmaterials.DOCUMENT) + return "document"; + if (code == Additionalmaterials.OTHER) + return "other"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Adjudication.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Adjudication.java new file mode 100644 index 00000000000..c1e6d83e313 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Adjudication.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Adjudication { + + /** + * null + */ + TOTAL, + /** + * null + */ + COPAY, + /** + * null + */ + ELIGIBLE, + /** + * null + */ + DEDUCTABLE, + /** + * null + */ + ELIGPERCENT, + /** + * null + */ + TAX, + /** + * null + */ + BENEFIT, + /** + * added to help the parsers + */ + NULL; + public static Adjudication fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("total".equals(codeString)) + return TOTAL; + if ("copay".equals(codeString)) + return COPAY; + if ("eligible".equals(codeString)) + return ELIGIBLE; + if ("deductable".equals(codeString)) + return DEDUCTABLE; + if ("eligpercent".equals(codeString)) + return ELIGPERCENT; + if ("tax".equals(codeString)) + return TAX; + if ("benefit".equals(codeString)) + return BENEFIT; + throw new Exception("Unknown Adjudication code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case TOTAL: return "total"; + case COPAY: return "copay"; + case ELIGIBLE: return "eligible"; + case DEDUCTABLE: return "deductable"; + case ELIGPERCENT: return "eligpercent"; + case TAX: return "tax"; + case BENEFIT: return "benefit"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/adjudication"; + } + public String getDefinition() { + switch (this) { + case TOTAL: return ""; + case COPAY: return ""; + case ELIGIBLE: return ""; + case DEDUCTABLE: return ""; + case ELIGPERCENT: return ""; + case TAX: return ""; + case BENEFIT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case TOTAL: return "total"; + case COPAY: return "copay"; + case ELIGIBLE: return "eligible"; + case DEDUCTABLE: return "deductable"; + case ELIGPERCENT: return "eligpercent"; + case TAX: return "tax"; + case BENEFIT: return "benefit"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationEnumFactory.java new file mode 100644 index 00000000000..8f2edbb8ee0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AdjudicationEnumFactory implements EnumFactory { + + public Adjudication fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("total".equals(codeString)) + return Adjudication.TOTAL; + if ("copay".equals(codeString)) + return Adjudication.COPAY; + if ("eligible".equals(codeString)) + return Adjudication.ELIGIBLE; + if ("deductable".equals(codeString)) + return Adjudication.DEDUCTABLE; + if ("eligpercent".equals(codeString)) + return Adjudication.ELIGPERCENT; + if ("tax".equals(codeString)) + return Adjudication.TAX; + if ("benefit".equals(codeString)) + return Adjudication.BENEFIT; + throw new IllegalArgumentException("Unknown Adjudication code '"+codeString+"'"); + } + + public String toCode(Adjudication code) { + if (code == Adjudication.TOTAL) + return "total"; + if (code == Adjudication.COPAY) + return "copay"; + if (code == Adjudication.ELIGIBLE) + return "eligible"; + if (code == Adjudication.DEDUCTABLE) + return "deductable"; + if (code == Adjudication.ELIGPERCENT) + return "eligpercent"; + if (code == Adjudication.TAX) + return "tax"; + if (code == Adjudication.BENEFIT) + return "benefit"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationError.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationError.java new file mode 100644 index 00000000000..b49849581d2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationError.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AdjudicationError { + + /** + * null + */ + A001, + /** + * null + */ + A002, + /** + * added to help the parsers + */ + NULL; + public static AdjudicationError fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A001".equals(codeString)) + return A001; + if ("A002".equals(codeString)) + return A002; + throw new Exception("Unknown AdjudicationError code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A001: return "A001"; + case A002: return "A002"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/adjudication-error"; + } + public String getDefinition() { + switch (this) { + case A001: return ""; + case A002: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A001: return "A001"; + case A002: return "A002"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationErrorEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationErrorEnumFactory.java new file mode 100644 index 00000000000..8476c3c8cda --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjudicationErrorEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AdjudicationErrorEnumFactory implements EnumFactory { + + public AdjudicationError fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A001".equals(codeString)) + return AdjudicationError.A001; + if ("A002".equals(codeString)) + return AdjudicationError.A002; + throw new IllegalArgumentException("Unknown AdjudicationError code '"+codeString+"'"); + } + + public String toCode(AdjudicationError code) { + if (code == AdjudicationError.A001) + return "A001"; + if (code == AdjudicationError.A002) + return "A002"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReason.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReason.java new file mode 100644 index 00000000000..4ce95a21add --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReason.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AdjustmentReason { + + /** + * null + */ + A001, + /** + * null + */ + A002, + /** + * added to help the parsers + */ + NULL; + public static AdjustmentReason fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A001".equals(codeString)) + return A001; + if ("A002".equals(codeString)) + return A002; + throw new Exception("Unknown AdjustmentReason code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A001: return "A001"; + case A002: return "A002"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/adjustment-reason"; + } + public String getDefinition() { + switch (this) { + case A001: return ""; + case A002: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A001: return "A001"; + case A002: return "A002"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReasonEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReasonEnumFactory.java new file mode 100644 index 00000000000..6cc6afd2aca --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AdjustmentReasonEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AdjustmentReasonEnumFactory implements EnumFactory { + + public AdjustmentReason fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A001".equals(codeString)) + return AdjustmentReason.A001; + if ("A002".equals(codeString)) + return AdjustmentReason.A002; + throw new IllegalArgumentException("Unknown AdjustmentReason code '"+codeString+"'"); + } + + public String toCode(AdjustmentReason code) { + if (code == AdjustmentReason.A001) + return "A001"; + if (code == AdjustmentReason.A002) + return "A002"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreeds.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreeds.java new file mode 100644 index 00000000000..5766b82a9be --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreeds.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AnimalBreeds { + + /** + * null + */ + GSD, + /** + * null + */ + IRT, + /** + * null + */ + TIBMAS, + /** + * null + */ + GRET, + /** + * added to help the parsers + */ + NULL; + public static AnimalBreeds fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("gsd".equals(codeString)) + return GSD; + if ("irt".equals(codeString)) + return IRT; + if ("tibmas".equals(codeString)) + return TIBMAS; + if ("gret".equals(codeString)) + return GRET; + throw new Exception("Unknown AnimalBreeds code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case GSD: return "gsd"; + case IRT: return "irt"; + case TIBMAS: return "tibmas"; + case GRET: return "gret"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/animal-breed"; + } + public String getDefinition() { + switch (this) { + case GSD: return ""; + case IRT: return ""; + case TIBMAS: return ""; + case GRET: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case GSD: return "German Shepherd Dog"; + case IRT: return "Irish Terrier"; + case TIBMAS: return "Tibetan Mastiff"; + case GRET: return "Golden Retriever"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreedsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreedsEnumFactory.java new file mode 100644 index 00000000000..732d6dbad8a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalBreedsEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AnimalBreedsEnumFactory implements EnumFactory { + + public AnimalBreeds fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("gsd".equals(codeString)) + return AnimalBreeds.GSD; + if ("irt".equals(codeString)) + return AnimalBreeds.IRT; + if ("tibmas".equals(codeString)) + return AnimalBreeds.TIBMAS; + if ("gret".equals(codeString)) + return AnimalBreeds.GRET; + throw new IllegalArgumentException("Unknown AnimalBreeds code '"+codeString+"'"); + } + + public String toCode(AnimalBreeds code) { + if (code == AnimalBreeds.GSD) + return "gsd"; + if (code == AnimalBreeds.IRT) + return "irt"; + if (code == AnimalBreeds.TIBMAS) + return "tibmas"; + if (code == AnimalBreeds.GRET) + return "gret"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatus.java new file mode 100644 index 00000000000..c73034f327b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatus.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AnimalGenderstatus { + + /** + * The animal has been castrated and is infertile + */ + NEUTERED, + /** + * The animal's reproductive organs are intact + */ + INTACT, + /** + * Unable to determine whether the animal has been neutered + */ + UNKNOWN, + /** + * added to help the parsers + */ + NULL; + public static AnimalGenderstatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("neutered".equals(codeString)) + return NEUTERED; + if ("intact".equals(codeString)) + return INTACT; + if ("unknown".equals(codeString)) + return UNKNOWN; + throw new Exception("Unknown AnimalGenderstatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NEUTERED: return "neutered"; + case INTACT: return "intact"; + case UNKNOWN: return "unknown"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/animal-genderstatus"; + } + public String getDefinition() { + switch (this) { + case NEUTERED: return "The animal has been castrated and is infertile"; + case INTACT: return "The animal's reproductive organs are intact"; + case UNKNOWN: return "Unable to determine whether the animal has been neutered"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NEUTERED: return "Neutered"; + case INTACT: return "Intact"; + case UNKNOWN: return "Unknown"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatusEnumFactory.java new file mode 100644 index 00000000000..cec5d2ad3e6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalGenderstatusEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AnimalGenderstatusEnumFactory implements EnumFactory { + + public AnimalGenderstatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("neutered".equals(codeString)) + return AnimalGenderstatus.NEUTERED; + if ("intact".equals(codeString)) + return AnimalGenderstatus.INTACT; + if ("unknown".equals(codeString)) + return AnimalGenderstatus.UNKNOWN; + throw new IllegalArgumentException("Unknown AnimalGenderstatus code '"+codeString+"'"); + } + + public String toCode(AnimalGenderstatus code) { + if (code == AnimalGenderstatus.NEUTERED) + return "neutered"; + if (code == AnimalGenderstatus.INTACT) + return "intact"; + if (code == AnimalGenderstatus.UNKNOWN) + return "unknown"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpecies.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpecies.java new file mode 100644 index 00000000000..70f22a60aa7 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpecies.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AnimalSpecies { + + /** + * Canis lupus familiaris + */ + CANISLF, + /** + * Ovis aries + */ + OVISA, + /** + * Serinus canaria domestica + */ + SERINUSCD, + /** + * added to help the parsers + */ + NULL; + public static AnimalSpecies fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("canislf".equals(codeString)) + return CANISLF; + if ("ovisa".equals(codeString)) + return OVISA; + if ("serinuscd".equals(codeString)) + return SERINUSCD; + throw new Exception("Unknown AnimalSpecies code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CANISLF: return "canislf"; + case OVISA: return "ovisa"; + case SERINUSCD: return "serinuscd"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/animal-species"; + } + public String getDefinition() { + switch (this) { + case CANISLF: return "Canis lupus familiaris"; + case OVISA: return "Ovis aries"; + case SERINUSCD: return "Serinus canaria domestica"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CANISLF: return "Dog"; + case OVISA: return "Sheep"; + case SERINUSCD: return "Domestic Canary"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpeciesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpeciesEnumFactory.java new file mode 100644 index 00000000000..960700dc8b9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnimalSpeciesEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AnimalSpeciesEnumFactory implements EnumFactory { + + public AnimalSpecies fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("canislf".equals(codeString)) + return AnimalSpecies.CANISLF; + if ("ovisa".equals(codeString)) + return AnimalSpecies.OVISA; + if ("serinuscd".equals(codeString)) + return AnimalSpecies.SERINUSCD; + throw new IllegalArgumentException("Unknown AnimalSpecies code '"+codeString+"'"); + } + + public String toCode(AnimalSpecies code) { + if (code == AnimalSpecies.CANISLF) + return "canislf"; + if (code == AnimalSpecies.OVISA) + return "ovisa"; + if (code == AnimalSpecies.SERINUSCD) + return "serinuscd"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupations.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupations.java new file mode 100644 index 00000000000..d0a64ec5929 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupations.java @@ -0,0 +1,12001 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AnzscoOccupations { + + /** + * Managers nfd + */ + _100000, + /** + * Chief Executives, General Managers and Legislators nfd + */ + _111000, + /** + * Chief Executive or Managing Director + */ + _111111, + /** + * General Managers nfd + */ + _111200, + /** + * Corporate General Manager + */ + _111211, + /** + * Defence Force Senior Officer + */ + _111212, + /** + * Legislators nfd + */ + _111300, + /** + * Local Government Legislator + */ + _111311, + /** + * Member of Parliament + */ + _111312, + /** + * Legislators nec + */ + _111399, + /** + * Farmers and Farm Managers nfd + */ + _121000, + /** + * Aquaculture Farmer + */ + _121111, + /** + * Crop Farmers nfd + */ + _121200, + /** + * Cotton Grower + */ + _121211, + /** + * Flower Grower + */ + _121212, + /** + * Fruit or Nut Grower + */ + _121213, + /** + * Grain, Oilseed or Pasture Grower + */ + _121214, + /** + * Grape Grower + */ + _121215, + /** + * Mixed Crop Farmer + */ + _121216, + /** + * Sugar Cane Grower + */ + _121217, + /** + * Turf Grower + */ + _121218, + /** + * Vegetable Grower + */ + _121221, + /** + * Crop Farmers nec + */ + _121299, + /** + * Livestock Farmers nfd + */ + _121300, + /** + * Apiarist + */ + _121311, + /** + * Beef Cattle Farmer + */ + _121312, + /** + * Dairy Cattle Farmer + */ + _121313, + /** + * Deer Farmer + */ + _121314, + /** + * Goat Farmer + */ + _121315, + /** + * Horse Breeder + */ + _121316, + /** + * Mixed Livestock Farmer + */ + _121317, + /** + * Pig Farmer + */ + _121318, + /** + * Poultry Farmer + */ + _121321, + /** + * Sheep Farmer + */ + _121322, + /** + * Livestock Farmers nec + */ + _121399, + /** + * Mixed Crop and Livestock Farmer + */ + _121411, + /** + * Specialist Managers nfd + */ + _130000, + /** + * Advertising and Sales Managers nfd + */ + _131100, + /** + * Advertising and Public Relations Manager + */ + _131111, + /** + * Sales and Marketing Manager + */ + _131112, + /** + * Business Administration Managers nfd + */ + _132000, + /** + * Corporate Services Manager + */ + _132111, + /** + * Finance Manager + */ + _132211, + /** + * Human Resource Manager + */ + _132311, + /** + * Policy and Planning Manager + */ + _132411, + /** + * Research and Development Manager + */ + _132511, + /** + * Construction, Distribution and Production Managers nfd + */ + _133000, + /** + * Construction Managers nfd + */ + _133100, + /** + * Construction Project Manager + */ + _133111, + /** + * Project Builder + */ + _133112, + /** + * Engineering Manager + */ + _133211, + /** + * Importers, Exporters and Wholesalers nfd + */ + _133300, + /** + * Importer or Exporter + */ + _133311, + /** + * Wholesaler + */ + _133312, + /** + * Manufacturer + */ + _133411, + /** + * Production Managers nfd + */ + _133500, + /** + * Production Manager (Forestry) + */ + _133511, + /** + * Production Manager (Manufacturing) + */ + _133512, + /** + * Production Manager (Mining) + */ + _133513, + /** + * Supply and Distribution Manager + */ + _133611, + /** + * Education, Health and Welfare Services Managers nfd + */ + _134000, + /** + * Child Care Centre Manager + */ + _134111, + /** + * Health and Welfare Services Managers nfd + */ + _134200, + /** + * Medical Administrator + */ + _134211, + /** + * Nursing Clinical Director + */ + _134212, + /** + * Primary Health Organization Manager + */ + _134213, + /** + * Welfare Centre Manager + */ + _134214, + /** + * Health and Welfare Services Managers nec + */ + _134299, + /** + * School Principal + */ + _134311, + /** + * Other Education Managers nfd + */ + _134400, + /** + * Faculty Head + */ + _134411, + /** + * Regional Education Manager + */ + _134412, + /** + * Education Managers nec + */ + _134499, + /** + * ICT Managers nfd + */ + _135100, + /** + * Chief Information Officer + */ + _135111, + /** + * ICT Project Manager + */ + _135112, + /** + * ICT Managers nec + */ + _135199, + /** + * Miscellaneous Specialist Managers nfd + */ + _139000, + /** + * Commissioned Officers (Management) nfd + */ + _139100, + /** + * Commissioned Defence Force Officer + */ + _139111, + /** + * Commissioned Fire Officer + */ + _139112, + /** + * Commissioned Police Officer + */ + _139113, + /** + * Senior Non-commissioned Defence Force Member + */ + _139211, + /** + * Other Specialist Managers nfd + */ + _139900, + /** + * Arts Administrator or Manager + */ + _139911, + /** + * Environmental Manager + */ + _139912, + /** + * Laboratory Manager + */ + _139913, + /** + * Quality Assurance Manager + */ + _139914, + /** + * Sports Administrator + */ + _139915, + /** + * Specialist Managers nec + */ + _139999, + /** + * Hospitality, Retail and Service Managers nfd + */ + _140000, + /** + * Accommodation and Hospitality Managers nfd + */ + _141000, + /** + * Cafe or Restaurant Manager + */ + _141111, + /** + * Caravan Park and Camping Ground Manager + */ + _141211, + /** + * Hotel or Motel Manager + */ + _141311, + /** + * Licensed Club Manager + */ + _141411, + /** + * Other Accommodation and Hospitality Managers nfd + */ + _141900, + /** + * Bed and Breakfast Operator + */ + _141911, + /** + * Accommodation and Hospitality Managers nec + */ + _141999, + /** + * Retail Managers nfd + */ + _142100, + /** + * Retail Manager (General) + */ + _142111, + /** + * Antique Dealer + */ + _142112, + /** + * Betting Agency Manager + */ + _142113, + /** + * Hair or Beauty Salon Manager + */ + _142114, + /** + * Post Office Manager + */ + _142115, + /** + * Travel Agency Manager + */ + _142116, + /** + * Miscellaneous Hospitality, Retail and Service Managers nfd + */ + _149000, + /** + * Amusement, Fitness and Sports Centre Managers nfd + */ + _149100, + /** + * Amusement Centre Manager + */ + _149111, + /** + * Fitness Centre Manager + */ + _149112, + /** + * Sports Centre Manager + */ + _149113, + /** + * Call or Contact Centre and Customer Service Managers nfd + */ + _149200, + /** + * Call or Contact Centre Manager + */ + _149211, + /** + * Customer Service Manager + */ + _149212, + /** + * Conference and Event Organiser + */ + _149311, + /** + * Transport Services Managers nfd + */ + _149400, + /** + * Fleet Manager + */ + _149411, + /** + * Railway Station Manager + */ + _149412, + /** + * Transport Company Manager + */ + _149413, + /** + * Other Hospitality, Retail and Service Managers nfd + */ + _149900, + /** + * Boarding Kennel or Cattery Operator + */ + _149911, + /** + * Cinema or Theatre Manager + */ + _149912, + /** + * Facilities Manager + */ + _149913, + /** + * Financial Institution Branch Manager + */ + _149914, + /** + * Hospitality, Retail and Service Managers nec + */ + _149999, + /** + * Professionals nfd + */ + _200000, + /** + * Arts and Media Professionals nfd + */ + _210000, + /** + * Arts Professionals nfd + */ + _211000, + /** + * Actors, Dancers and Other Entertainers nfd + */ + _211100, + /** + * Actor + */ + _211111, + /** + * Dancer or Choreographer + */ + _211112, + /** + * Entertainer or Variety Artist + */ + _211113, + /** + * Actors, Dancers and Other Entertainers nec + */ + _211199, + /** + * Music Professionals nfd + */ + _211200, + /** + * Composer + */ + _211211, + /** + * Music Director + */ + _211212, + /** + * Musician (Instrumental) + */ + _211213, + /** + * Singer + */ + _211214, + /** + * Music Professionals nec + */ + _211299, + /** + * Photographer + */ + _211311, + /** + * Visual Arts and Crafts Professionals nfd + */ + _211400, + /** + * Painter (Visual Arts) + */ + _211411, + /** + * Potter or Ceramic Artist + */ + _211412, + /** + * Sculptor + */ + _211413, + /** + * Visual Arts and Crafts Professionals nec + */ + _211499, + /** + * Media Professionals nfd + */ + _212000, + /** + * Artistic Directors, and Media Producers and Presenters nfd + */ + _212100, + /** + * Artistic Director + */ + _212111, + /** + * Media Producer (excluding Video) + */ + _212112, + /** + * Radio Presenter + */ + _212113, + /** + * Television Presenter + */ + _212114, + /** + * Authors, and Book and Script Editors nfd + */ + _212200, + /** + * Author + */ + _212211, + /** + * Book or Script Editor + */ + _212212, + /** + * Film, Television, Radio and Stage Directors nfd + */ + _212300, + /** + * Art Director (Film, Television or Stage) + */ + _212311, + /** + * Director (Film, Television, Radio or Stage) + */ + _212312, + /** + * Director of Photography + */ + _212313, + /** + * Film and Video Editor + */ + _212314, + /** + * Program Director (Television or Radio) + */ + _212315, + /** + * Stage Manager + */ + _212316, + /** + * Technical Director + */ + _212317, + /** + * Video Producer + */ + _212318, + /** + * Film, Television, Radio and Stage Directors nec + */ + _212399, + /** + * Journalists and Other Writers nfd + */ + _212400, + /** + * Copywriter + */ + _212411, + /** + * Newspaper or Periodical Editor + */ + _212412, + /** + * Print Journalist + */ + _212413, + /** + * Radio Journalist + */ + _212414, + /** + * Technical Writer + */ + _212415, + /** + * Television Journalist + */ + _212416, + /** + * Journalists and Other Writers nec + */ + _212499, + /** + * Business, Human Resource and Marketing Professionals nfd + */ + _220000, + /** + * Accountants, Auditors and Company Secretaries nfd + */ + _221000, + /** + * Accountants nfd + */ + _221100, + /** + * Accountant (General) + */ + _221111, + /** + * Management Accountant + */ + _221112, + /** + * Taxation Accountant + */ + _221113, + /** + * Auditors, Company Secretaries and Corporate Treasurers nfd + */ + _221200, + /** + * Company Secretary + */ + _221211, + /** + * Corporate Treasurer + */ + _221212, + /** + * External Auditor + */ + _221213, + /** + * Internal Auditor + */ + _221214, + /** + * Financial Brokers and Dealers, and Investment Advisers nfd + */ + _222000, + /** + * Financial Brokers nfd + */ + _222100, + /** + * Commodities Trader + */ + _222111, + /** + * Finance Broker + */ + _222112, + /** + * Insurance Broker + */ + _222113, + /** + * Financial Brokers nec + */ + _222199, + /** + * Financial Dealers nfd + */ + _222200, + /** + * Financial Market Dealer + */ + _222211, + /** + * Futures Trader + */ + _222212, + /** + * Stockbroking Dealer + */ + _222213, + /** + * Financial Dealers nec + */ + _222299, + /** + * Financial Investment Advisers and Managers nfd + */ + _222300, + /** + * Financial Investment Adviser + */ + _222311, + /** + * Financial Investment Manager + */ + _222312, + /** + * Human Resource and Training Professionals nfd + */ + _223000, + /** + * Human Resource Professionals nfd + */ + _223100, + /** + * Human Resource Adviser + */ + _223111, + /** + * Recruitment Consultant + */ + _223112, + /** + * Workplace Relations Adviser + */ + _223113, + /** + * ICT Trainer + */ + _223211, + /** + * Training and Development Professional + */ + _223311, + /** + * Information and Organization Professionals nfd + */ + _224000, + /** + * Actuaries, Mathematicians and Statisticians nfd + */ + _224100, + /** + * Actuary + */ + _224111, + /** + * Mathematician + */ + _224112, + /** + * Statistician + */ + _224113, + /** + * Archivists, Curators and Records Managers nfd + */ + _224200, + /** + * Archivist + */ + _224211, + /** + * Gallery or Museum Curator + */ + _224212, + /** + * Health Information Manager + */ + _224213, + /** + * Records Manager + */ + _224214, + /** + * Economist + */ + _224311, + /** + * Intelligence and Policy Analysts nfd + */ + _224400, + /** + * Intelligence Officer + */ + _224411, + /** + * Policy Analyst + */ + _224412, + /** + * Land Economists and Valuers nfd + */ + _224500, + /** + * Land Economist + */ + _224511, + /** + * Valuer + */ + _224512, + /** + * Librarian + */ + _224611, + /** + * Management and Organization Analysts nfd + */ + _224700, + /** + * Management Consultant + */ + _224711, + /** + * Organization and Methods Analyst + */ + _224712, + /** + * Other Information and Organization Professionals nfd + */ + _224900, + /** + * Electorate Officer + */ + _224911, + /** + * Liaison Officer + */ + _224912, + /** + * Migration Agent + */ + _224913, + /** + * Patents Examiner + */ + _224914, + /** + * Information and Organization Professionals nec + */ + _224999, + /** + * Sales, Marketing and Public Relations Professionals nfd + */ + _225000, + /** + * Advertising and Marketing Professionals nfd + */ + _225100, + /** + * Advertising Specialist + */ + _225111, + /** + * Market Research Analyst + */ + _225112, + /** + * Marketing Specialist + */ + _225113, + /** + * ICT Sales Professionals nfd + */ + _225200, + /** + * ICT Account Manager + */ + _225211, + /** + * ICT Business Development Manager + */ + _225212, + /** + * ICT Sales Representative + */ + _225213, + /** + * Public Relations Professional + */ + _225311, + /** + * Technical Sales Representatives nfd + */ + _225400, + /** + * Sales Representative (Industrial Products) + */ + _225411, + /** + * Sales Representative (Medical and Pharmaceutical Products) + */ + _225412, + /** + * Technical Sales Representatives nec + */ + _225499, + /** + * Design, Engineering, Science and Transport Professionals nfd + */ + _230000, + /** + * Air and Marine Transport Professionals nfd + */ + _231000, + /** + * Air Transport Professionals nfd + */ + _231100, + /** + * Aeroplane Pilot + */ + _231111, + /** + * Air Traffic Controller + */ + _231112, + /** + * Flying Instructor + */ + _231113, + /** + * Helicopter Pilot + */ + _231114, + /** + * Air Transport Professionals nec + */ + _231199, + /** + * Marine Transport Professionals nfd + */ + _231200, + /** + * Master Fisher + */ + _231211, + /** + * Ship's Engineer + */ + _231212, + /** + * Ship's Master + */ + _231213, + /** + * Ship's Officer + */ + _231214, + /** + * Ship's Surveyor + */ + _231215, + /** + * Marine Transport Professionals nec + */ + _231299, + /** + * Architects, Designers, Planners and Surveyors nfd + */ + _232000, + /** + * Architects and Landscape Architects nfd + */ + _232100, + /** + * Architect + */ + _232111, + /** + * Landscape Architect + */ + _232112, + /** + * Cartographers and Surveyors nfd + */ + _232200, + /** + * Cartographer + */ + _232211, + /** + * Surveyor + */ + _232212, + /** + * Fashion, Industrial and Jewellery Designers nfd + */ + _232300, + /** + * Fashion Designer + */ + _232311, + /** + * Industrial Designer + */ + _232312, + /** + * Jewellery Designer + */ + _232313, + /** + * Graphic and Web Designers, and Illustrators nfd + */ + _232400, + /** + * Graphic Designer + */ + _232411, + /** + * Illustrator + */ + _232412, + /** + * Multimedia Designer + */ + _232413, + /** + * Web Designer + */ + _232414, + /** + * Interior Designer + */ + _232511, + /** + * Urban and Regional Planner + */ + _232611, + /** + * Engineering Professionals nfd + */ + _233000, + /** + * Chemical and Materials Engineers nfd + */ + _233100, + /** + * Chemical Engineer + */ + _233111, + /** + * Materials Engineer + */ + _233112, + /** + * Civil Engineering Professionals nfd + */ + _233200, + /** + * Civil Engineer + */ + _233211, + /** + * Geotechnical Engineer + */ + _233212, + /** + * Quantity Surveyor + */ + _233213, + /** + * Structural Engineer + */ + _233214, + /** + * Transport Engineer + */ + _233215, + /** + * Electrical Engineer + */ + _233311, + /** + * Electronics Engineer + */ + _233411, + /** + * Industrial, Mechanical and Production Engineers nfd + */ + _233500, + /** + * Industrial Engineer + */ + _233511, + /** + * Mechanical Engineer + */ + _233512, + /** + * Production or Plant Engineer + */ + _233513, + /** + * Mining Engineers nfd + */ + _233600, + /** + * Mining Engineer (excluding Petroleum) + */ + _233611, + /** + * Petroleum Engineer + */ + _233612, + /** + * Other Engineering Professionals nfd + */ + _233900, + /** + * Aeronautical Engineer + */ + _233911, + /** + * Agricultural Engineer + */ + _233912, + /** + * Biomedical Engineer + */ + _233913, + /** + * Engineering Technologist + */ + _233914, + /** + * Environmental Engineer + */ + _233915, + /** + * Naval Architect + */ + _233916, + /** + * Engineering Professionals nec + */ + _233999, + /** + * Natural and Physical Science Professionals nfd + */ + _234000, + /** + * Agricultural and Forestry Scientists nfd + */ + _234100, + /** + * Agricultural Consultant + */ + _234111, + /** + * Agricultural Scientist + */ + _234112, + /** + * Forester + */ + _234113, + /** + * Chemists, and Food and Wine Scientists nfd + */ + _234200, + /** + * Chemist + */ + _234211, + /** + * Food Technologist + */ + _234212, + /** + * Wine Maker + */ + _234213, + /** + * Environmental Scientists nfd + */ + _234300, + /** + * Conservation Officer + */ + _234311, + /** + * Environmental Consultant + */ + _234312, + /** + * Environmental Research Scientist + */ + _234313, + /** + * Park Ranger + */ + _234314, + /** + * Environmental Scientists nec + */ + _234399, + /** + * Geologists and Geophysicists nfd + */ + _234400, + /** + * Geologist + */ + _234411, + /** + * Geophysicist + */ + _234412, + /** + * Life Scientists nfd + */ + _234500, + /** + * Life Scientist (General) + */ + _234511, + /** + * Anatomist or Physiologist + */ + _234512, + /** + * Biochemist + */ + _234513, + /** + * Biotechnologist + */ + _234514, + /** + * Botanist + */ + _234515, + /** + * Marine Biologist + */ + _234516, + /** + * Microbiologist + */ + _234517, + /** + * Zoologist + */ + _234518, + /** + * Life Scientists nec + */ + _234599, + /** + * Medical Laboratory Scientist + */ + _234611, + /** + * Veterinarian + */ + _234711, + /** + * Other Natural and Physical Science Professionals nfd + */ + _234900, + /** + * Conservator + */ + _234911, + /** + * Metallurgist + */ + _234912, + /** + * Meteorologist + */ + _234913, + /** + * Physicist + */ + _234914, + /** + * Natural and Physical Science Professionals nec + */ + _234999, + /** + * Education Professionals nfd + */ + _240000, + /** + * School Teachers nfd + */ + _241000, + /** + * Early Childhood (Pre-primary School) Teacher + */ + _241111, + /** + * Primary School Teacher + */ + _241213, + /** + * Middle School Teacher + */ + _241311, + /** + * Secondary School Teacher + */ + _241411, + /** + * Special Education Teachers nfd + */ + _241500, + /** + * Special Needs Teacher + */ + _241511, + /** + * Teacher of the Hearing Impaired + */ + _241512, + /** + * Teacher of the Sight Impaired + */ + _241513, + /** + * Special Education Teachers nec + */ + _241599, + /** + * Tertiary Education Teachers nfd + */ + _242000, + /** + * University Lecturers and Tutors nfd + */ + _242100, + /** + * University Lecturer + */ + _242111, + /** + * University Tutor + */ + _242112, + /** + * Vocational Education Teacher + */ + _242211, + /** + * Miscellaneous Education Professionals nfd + */ + _249000, + /** + * Education Advisers and Reviewers nfd + */ + _249100, + /** + * Education Adviser + */ + _249111, + /** + * Education Reviewer + */ + _249112, + /** + * Private Tutors and Teachers nfd + */ + _249200, + /** + * Art Teacher (Private Tuition) + */ + _249211, + /** + * Dance Teacher (Private Tuition) + */ + _249212, + /** + * Drama Teacher (Private Tuition) + */ + _249213, + /** + * Music Teacher (Private Tuition) + */ + _249214, + /** + * Private Tutors and Teachers nec + */ + _249299, + /** + * Teacher of English to Speakers of Other Languages + */ + _249311, + /** + * Health Professionals nfd + */ + _250000, + /** + * Health Diagnostic and Promotion Professionals nfd + */ + _251000, + /** + * Dietitian + */ + _251111, + /** + * Medical Imaging Professionals nfd + */ + _251200, + /** + * Medical Diagnostic Radiographer + */ + _251211, + /** + * Medical Radiation Therapist + */ + _251212, + /** + * Nuclear Medicine Technologist + */ + _251213, + /** + * Sonographer + */ + _251214, + /** + * Occupational and Environmental Health Professionals nfd + */ + _251300, + /** + * Environmental Health Officer + */ + _251311, + /** + * Occupational Health and Safety Adviser + */ + _251312, + /** + * Optometrists and Orthoptists nfd + */ + _251400, + /** + * Optometrist + */ + _251411, + /** + * Orthoptist + */ + _251412, + /** + * Pharmacists nfd + */ + _251500, + /** + * Hospital Pharmacist + */ + _251511, + /** + * Industrial Pharmacist + */ + _251512, + /** + * Retail Pharmacist + */ + _251513, + /** + * Other Health Diagnostic and Promotion Professionals nfd + */ + _251900, + /** + * Health Promotion Officer + */ + _251911, + /** + * Orthotist or Prosthetist + */ + _251912, + /** + * Health Diagnostic and Promotion Professionals nec + */ + _251999, + /** + * Health Therapy Professionals nfd + */ + _252000, + /** + * Chiropractors and Osteopaths nfd + */ + _252100, + /** + * Chiropractor + */ + _252111, + /** + * Osteopath + */ + _252112, + /** + * Complementary Health Therapists nfd + */ + _252200, + /** + * Acupuncturist + */ + _252211, + /** + * Homoeopath + */ + _252212, + /** + * Naturopath + */ + _252213, + /** + * Traditional Chinese Medicine Practitioner + */ + _252214, + /** + * Complementary Health Therapists nec + */ + _252299, + /** + * Dental Practitioners nfd + */ + _252300, + /** + * Dental Specialist + */ + _252311, + /** + * Dentist + */ + _252312, + /** + * Occupational Therapist + */ + _252411, + /** + * Physiotherapist + */ + _252511, + /** + * Podiatrist + */ + _252611, + /** + * Speech Professionals and Audiologists nfd + */ + _252700, + /** + * Audiologist + */ + _252711, + /** + * Speech Pathologist + */ + _252712, + /** + * Medical Practitioners nfd + */ + _253000, + /** + * Generalist Medical Practitioners nfd + */ + _253100, + /** + * General Medical Practitioner + */ + _253111, + /** + * Resident Medical Officer + */ + _253112, + /** + * Anaesthetist + */ + _253211, + /** + * Internal Medicine Specialists nfd + */ + _253300, + /** + * Specialist Physician (General Medicine) + */ + _253311, + /** + * Cardiologist + */ + _253312, + /** + * Clinical Haematologist + */ + _253313, + /** + * Clinical Oncologist + */ + _253314, + /** + * Endocrinologist + */ + _253315, + /** + * Gastroenterologist + */ + _253316, + /** + * Intensive Care Specialist + */ + _253317, + /** + * Neurologist + */ + _253318, + /** + * Paediatrician + */ + _253321, + /** + * Renal Medicine Specialist + */ + _253322, + /** + * Rheumatologist + */ + _253323, + /** + * Thoracic Medicine Specialist + */ + _253324, + /** + * Internal Medicine Specialists nec + */ + _253399, + /** + * Psychiatrist + */ + _253411, + /** + * Surgeons nfd + */ + _253500, + /** + * Surgeon (General) + */ + _253511, + /** + * Cardiothoracic Surgeon + */ + _253512, + /** + * Neurosurgeon + */ + _253513, + /** + * Orthopaedic Surgeon + */ + _253514, + /** + * Otorhinolaryngologist + */ + _253515, + /** + * Paediatric Surgeon + */ + _253516, + /** + * Plastic and Reconstructive Surgeon + */ + _253517, + /** + * Urologist + */ + _253518, + /** + * Vascular Surgeon + */ + _253521, + /** + * Other Medical Practitioners nfd + */ + _253900, + /** + * Dermatologist + */ + _253911, + /** + * Emergency Medicine Specialist + */ + _253912, + /** + * Obstetrician and Gynaecologist + */ + _253913, + /** + * Ophthalmologist + */ + _253914, + /** + * Pathologist + */ + _253915, + /** + * Radiologist + */ + _253916, + /** + * Medical Practitioners nec + */ + _253999, + /** + * Midwifery and Nursing Professionals nfd + */ + _254000, + /** + * Midwife + */ + _254111, + /** + * Nurse Educators and Researchers nfd + */ + _254200, + /** + * Nurse Educator + */ + _254211, + /** + * Nurse Researcher + */ + _254212, + /** + * Nurse Manager + */ + _254311, + /** + * Registered Nurses nfd + */ + _254400, + /** + * Nurse Practitioner + */ + _254411, + /** + * Registered Nurse (Aged Care) + */ + _254412, + /** + * Registered Nurse (Child and Family Health) + */ + _254413, + /** + * Registered Nurse (Community Health) + */ + _254414, + /** + * Registered Nurse (Critical Care and Emergency) + */ + _254415, + /** + * Registered Nurse (Developmental Disability) + */ + _254416, + /** + * Registered Nurse (Disability and Rehabilitation) + */ + _254417, + /** + * Registered Nurse (Medical) + */ + _254418, + /** + * Registered Nurse (Medical Practice) + */ + _254421, + /** + * Registered Nurse (Mental Health) + */ + _254422, + /** + * Registered Nurse (Perioperative) + */ + _254423, + /** + * Registered Nurse (Surgical) + */ + _254424, + /** + * Registered Nurses nec + */ + _254499, + /** + * ICT Professionals nfd + */ + _260000, + /** + * Business and Systems Analysts, and Programmers nfd + */ + _261000, + /** + * ICT Business and Systems Analysts nfd + */ + _261100, + /** + * ICT Business Analyst + */ + _261111, + /** + * Systems Analyst + */ + _261112, + /** + * Multimedia Specialists and Web Developers nfd + */ + _261200, + /** + * Multimedia Specialist + */ + _261211, + /** + * Web Developer + */ + _261212, + /** + * Software and Applications Programmers nfd + */ + _261300, + /** + * Analyst Programmer + */ + _261311, + /** + * Developer Programmer + */ + _261312, + /** + * Software Engineer + */ + _261313, + /** + * Software and Applications Programmers nec + */ + _261399, + /** + * Database and Systems Administrators, and ICT Security Specialists nfd + */ + _262100, + /** + * Database Administrator + */ + _262111, + /** + * ICT Security Specialist + */ + _262112, + /** + * Systems Administrator + */ + _262113, + /** + * ICT Network and Support Professionals nfd + */ + _263000, + /** + * Computer Network Professionals nfd + */ + _263100, + /** + * Computer Network and Systems Engineer + */ + _263111, + /** + * Network Administrator + */ + _263112, + /** + * Network Analyst + */ + _263113, + /** + * ICT Support and Test Engineers nfd + */ + _263200, + /** + * ICT Quality Assurance Engineer + */ + _263211, + /** + * ICT Support Engineer + */ + _263212, + /** + * ICT Systems Test Engineer + */ + _263213, + /** + * ICT Support and Test Engineers nec + */ + _263299, + /** + * Telecommunications Engineering Professionals nfd + */ + _263300, + /** + * Telecommunications Engineer + */ + _263311, + /** + * Telecommunications Network Engineer + */ + _263312, + /** + * Legal, Social and Welfare Professionals nfd + */ + _270000, + /** + * Legal Professionals nfd + */ + _271000, + /** + * Barrister + */ + _271111, + /** + * Judicial and Other Legal Professionals nfd + */ + _271200, + /** + * Judge + */ + _271211, + /** + * Magistrate + */ + _271212, + /** + * Tribunal Member + */ + _271213, + /** + * Judicial and Other Legal Professionals nec + */ + _271299, + /** + * Solicitor + */ + _271311, + /** + * Social and Welfare Professionals nfd + */ + _272000, + /** + * Counsellors nfd + */ + _272100, + /** + * Careers Counsellor + */ + _272111, + /** + * Drug and Alcohol Counsellor + */ + _272112, + /** + * Family and Marriage Counsellor + */ + _272113, + /** + * Rehabilitation Counsellor + */ + _272114, + /** + * Student Counsellor + */ + _272115, + /** + * Counsellors nec + */ + _272199, + /** + * Minister of Religion + */ + _272211, + /** + * Psychologists nfd + */ + _272300, + /** + * Clinical Psychologist + */ + _272311, + /** + * Educational Psychologist + */ + _272312, + /** + * Organizational Psychologist + */ + _272313, + /** + * Psychotherapist + */ + _272314, + /** + * Psychologists nec + */ + _272399, + /** + * Social Professionals nfd + */ + _272400, + /** + * Historian + */ + _272411, + /** + * Interpreter + */ + _272412, + /** + * Translator + */ + _272413, + /** + * Social Professionals nec + */ + _272499, + /** + * Social Worker + */ + _272511, + /** + * Welfare, Recreation and Community Arts Workers nfd + */ + _272600, + /** + * Community Arts Worker + */ + _272611, + /** + * Recreation Officer + */ + _272612, + /** + * Welfare Worker + */ + _272613, + /** + * Technicians and Trades Workers nfd + */ + _300000, + /** + * Engineering, ICT and Science Technicians nfd + */ + _310000, + /** + * Agricultural, Medical and Science Technicians nfd + */ + _311000, + /** + * Agricultural Technician + */ + _311111, + /** + * Medical Technicians nfd + */ + _311200, + /** + * Anaesthetic Technician + */ + _311211, + /** + * Cardiac Technician + */ + _311212, + /** + * Medical Laboratory Technician + */ + _311213, + /** + * Operating Theatre Technician + */ + _311214, + /** + * Pharmacy Technician + */ + _311215, + /** + * Medical Technicians nec + */ + _311299, + /** + * Primary Products Inspectors nfd + */ + _311300, + /** + * Fisheries Officer + */ + _311311, + /** + * Meat Inspector + */ + _311312, + /** + * Quarantine Officer + */ + _311313, + /** + * Primary Products Inspectors nec + */ + _311399, + /** + * Science Technicians nfd + */ + _311400, + /** + * Chemistry Technician + */ + _311411, + /** + * Earth Science Technician + */ + _311412, + /** + * Life Science Technician + */ + _311413, + /** + * School Laboratory Technician + */ + _311414, + /** + * Science Technicians nec + */ + _311499, + /** + * Building and Engineering Technicians nfd + */ + _312000, + /** + * Architectural, Building and Surveying Technicians nfd + */ + _312100, + /** + * Architectural Draftsperson + */ + _312111, + /** + * Building Associate + */ + _312112, + /** + * Building Inspector + */ + _312113, + /** + * Construction Estimator + */ + _312114, + /** + * Plumbing Inspector + */ + _312115, + /** + * Surveying or Cartographic Technician + */ + _312116, + /** + * Civil Engineering Draftspersons and Technicians nfd + */ + _312200, + /** + * Civil Engineering Draftsperson + */ + _312211, + /** + * Civil Engineering Technician + */ + _312212, + /** + * Electrical Engineering Draftspersons and Technicians nfd + */ + _312300, + /** + * Electrical Engineering Draftsperson + */ + _312311, + /** + * Electrical Engineering Technician + */ + _312312, + /** + * Electronic Engineering Draftspersons and Technicians nfd + */ + _312400, + /** + * Electronic Engineering Draftsperson + */ + _312411, + /** + * Electronic Engineering Technician + */ + _312412, + /** + * Mechanical Engineering Draftspersons and Technicians nfd + */ + _312500, + /** + * Mechanical Engineering Draftsperson + */ + _312511, + /** + * Mechanical Engineering Technician + */ + _312512, + /** + * Safety Inspector + */ + _312611, + /** + * Other Building and Engineering Technicians nfd + */ + _312900, + /** + * Maintenance Planner + */ + _312911, + /** + * Metallurgical or Materials Technician + */ + _312912, + /** + * Mine Deputy + */ + _312913, + /** + * Building and Engineering Technicians nec + */ + _312999, + /** + * ICT and Telecommunications Technicians nfd + */ + _313000, + /** + * ICT Support Technicians nfd + */ + _313100, + /** + * Hardware Technician + */ + _313111, + /** + * ICT Customer Support Officer + */ + _313112, + /** + * Web Administrator + */ + _313113, + /** + * ICT Support Technicians nec + */ + _313199, + /** + * Telecommunications Technical Specialists nfd + */ + _313200, + /** + * Radiocommunications Technician + */ + _313211, + /** + * Telecommunications Field Engineer + */ + _313212, + /** + * Telecommunications Network Planner + */ + _313213, + /** + * Telecommunications Technical Officer or Technologist + */ + _313214, + /** + * Automotive and Engineering Trades Workers nfd + */ + _320000, + /** + * Automotive Electricians and Mechanics nfd + */ + _321000, + /** + * Automotive Electrician + */ + _321111, + /** + * Motor Mechanics nfd + */ + _321200, + /** + * Motor Mechanic (General) + */ + _321211, + /** + * Diesel Motor Mechanic + */ + _321212, + /** + * Motorcycle Mechanic + */ + _321213, + /** + * Small Engine Mechanic + */ + _321214, + /** + * Fabrication Engineering Trades Workers nfd + */ + _322000, + /** + * Metal Casting, Forging and Finishing Trades Workers nfd + */ + _322100, + /** + * Blacksmith + */ + _322111, + /** + * Electroplater + */ + _322112, + /** + * Farrier + */ + _322113, + /** + * Metal Casting Trades Worker + */ + _322114, + /** + * Metal Polisher + */ + _322115, + /** + * Sheetmetal Trades Worker + */ + _322211, + /** + * Structural Steel and Welding Trades Workers nfd + */ + _322300, + /** + * Metal Fabricator + */ + _322311, + /** + * Pressure Welder + */ + _322312, + /** + * Welder (First Class) + */ + _322313, + /** + * Mechanical Engineering Trades Workers nfd + */ + _323000, + /** + * Aircraft Maintenance Engineers nfd + */ + _323100, + /** + * Aircraft Maintenance Engineer (Avionics) + */ + _323111, + /** + * Aircraft Maintenance Engineer (Mechanical) + */ + _323112, + /** + * Aircraft Maintenance Engineer (Structures) + */ + _323113, + /** + * Metal Fitters and Machinists nfd + */ + _323200, + /** + * Fitter (General) + */ + _323211, + /** + * Fitter and Turner + */ + _323212, + /** + * Fitter-Welder + */ + _323213, + /** + * Metal Machinist (First Class) + */ + _323214, + /** + * Textile, Clothing and Footwear Mechanic + */ + _323215, + /** + * Metal Fitters and Machinists nec + */ + _323299, + /** + * Precision Metal Trades Workers nfd + */ + _323300, + /** + * Engraver + */ + _323311, + /** + * Gunsmith + */ + _323312, + /** + * Locksmith + */ + _323313, + /** + * Precision Instrument Maker and Repairer + */ + _323314, + /** + * Saw Maker and Repairer + */ + _323315, + /** + * Watch and Clock Maker and Repairer + */ + _323316, + /** + * Toolmakers and Engineering Patternmakers nfd + */ + _323400, + /** + * Engineering Patternmaker + */ + _323411, + /** + * Toolmaker + */ + _323412, + /** + * Panelbeaters, and Vehicle Body Builders, Trimmers and Painters nfd + */ + _324000, + /** + * Panelbeater + */ + _324111, + /** + * Vehicle Body Builders and Trimmers nfd + */ + _324200, + /** + * Vehicle Body Builder + */ + _324211, + /** + * Vehicle Trimmer + */ + _324212, + /** + * Vehicle Painter + */ + _324311, + /** + * Construction Trades Workers nfd + */ + _330000, + /** + * Bricklayers, and Carpenters and Joiners nfd + */ + _331000, + /** + * Bricklayers and Stonemasons nfd + */ + _331100, + /** + * Bricklayer + */ + _331111, + /** + * Stonemason + */ + _331112, + /** + * Carpenter and Joiner + */ + _331211, + /** + * Carpenter + */ + _331212, + /** + * Joiner + */ + _331213, + /** + * Floor Finishers and Painting Trades Workers nfd + */ + _332000, + /** + * Floor Finisher + */ + _332111, + /** + * Painting Trades Worker + */ + _332211, + /** + * Glaziers, Plasterers and Tilers nfd + */ + _333000, + /** + * Glazier + */ + _333111, + /** + * Plasterers nfd + */ + _333200, + /** + * Fibrous Plasterer + */ + _333211, + /** + * Solid Plasterer + */ + _333212, + /** + * Roof Tiler + */ + _333311, + /** + * Wall and Floor Tiler + */ + _333411, + /** + * Plumbers nfd + */ + _334100, + /** + * Plumber (General) + */ + _334111, + /** + * Airconditioning and Mechanical Services Plumber + */ + _334112, + /** + * Drainer + */ + _334113, + /** + * Gasfitter + */ + _334114, + /** + * Roof Plumber + */ + _334115, + /** + * Electrotechnology and Telecommunications Trades Workers nfd + */ + _340000, + /** + * Electricians nfd + */ + _341100, + /** + * Electrician (General) + */ + _341111, + /** + * Electrician (Special Class) + */ + _341112, + /** + * Lift Mechanic + */ + _341113, + /** + * Electronics and Telecommunications Trades Workers nfd + */ + _342000, + /** + * Airconditioning and Refrigeration Mechanic + */ + _342111, + /** + * Electrical Distribution Trades Workers nfd + */ + _342200, + /** + * Electrical Linesworker + */ + _342211, + /** + * Technical Cable Jointer + */ + _342212, + /** + * Electronics Trades Workers nfd + */ + _342300, + /** + * Business Machine Mechanic + */ + _342311, + /** + * Communications Operator + */ + _342312, + /** + * Electronic Equipment Trades Worker + */ + _342313, + /** + * Electronic Instrument Trades Worker (General) + */ + _342314, + /** + * Electronic Instrument Trades Worker (Special Class) + */ + _342315, + /** + * Telecommunications Trades Workers nfd + */ + _342400, + /** + * Cabler (Data and Telecommunications) + */ + _342411, + /** + * Telecommunications Cable Jointer + */ + _342412, + /** + * Telecommunications Linesworker + */ + _342413, + /** + * Telecommunications Technician + */ + _342414, + /** + * Food Trades Workers nfd + */ + _351000, + /** + * Bakers and Pastrycooks nfd + */ + _351100, + /** + * Baker + */ + _351111, + /** + * Pastrycook + */ + _351112, + /** + * Butcher or Smallgoods Maker + */ + _351211, + /** + * Chef + */ + _351311, + /** + * Cook + */ + _351411, + /** + * Skilled Animal and Horticultural Workers nfd + */ + _360000, + /** + * Animal Attendants and Trainers, and Shearers nfd + */ + _361000, + /** + * Animal Attendants and Trainers nfd + */ + _361100, + /** + * Dog Handler or Trainer + */ + _361111, + /** + * Horse Trainer + */ + _361112, + /** + * Pet Groomer + */ + _361113, + /** + * Zookeeper + */ + _361114, + /** + * Animal Attendants and Trainers nec + */ + _361199, + /** + * Shearer + */ + _361211, + /** + * Veterinary Nurse + */ + _361311, + /** + * Horticultural Trades Workers nfd + */ + _362000, + /** + * Florist + */ + _362111, + /** + * Gardeners nfd + */ + _362200, + /** + * Gardener (General) + */ + _362211, + /** + * Arborist + */ + _362212, + /** + * Landscape Gardener + */ + _362213, + /** + * Greenkeeper + */ + _362311, + /** + * Nurseryperson + */ + _362411, + /** + * Other Technicians and Trades Workers nfd + */ + _390000, + /** + * Hairdresser + */ + _391111, + /** + * Printing Trades Workers nfd + */ + _392000, + /** + * Binders, Finishers and Screen Printers nfd + */ + _392100, + /** + * Binder and Finisher + */ + _392111, + /** + * Screen Printer + */ + _392112, + /** + * Graphic Pre-press Trades Worker + */ + _392211, + /** + * Printers nfd + */ + _392300, + /** + * Printing Machinist + */ + _392311, + /** + * Small Offset Printer + */ + _392312, + /** + * Textile, Clothing and Footwear Trades Workers nfd + */ + _393000, + /** + * Canvas and Leather Goods Makers nfd + */ + _393100, + /** + * Canvas Goods Maker + */ + _393111, + /** + * Leather Goods Maker + */ + _393112, + /** + * Sail Maker + */ + _393113, + /** + * Shoemaker + */ + _393114, + /** + * Clothing Trades Workers nfd + */ + _393200, + /** + * Apparel Cutter + */ + _393211, + /** + * Clothing Patternmaker + */ + _393212, + /** + * Dressmaker or Tailor + */ + _393213, + /** + * Clothing Trades Workers nec + */ + _393299, + /** + * Upholsterer + */ + _393311, + /** + * Wood Trades Workers nfd + */ + _394000, + /** + * Cabinetmaker + */ + _394111, + /** + * Wood Machinists and Other Wood Trades Workers nfd + */ + _394200, + /** + * Furniture Finisher + */ + _394211, + /** + * Picture Framer + */ + _394212, + /** + * Wood Machinist + */ + _394213, + /** + * Wood Turner + */ + _394214, + /** + * Wood Machinists and Other Wood Trades Workers nec + */ + _394299, + /** + * Miscellaneous Technicians and Trades Workers nfd + */ + _399000, + /** + * Boat Builders and Shipwrights nfd + */ + _399100, + /** + * Boat Builder and Repairer + */ + _399111, + /** + * Shipwright + */ + _399112, + /** + * Chemical, Gas, Petroleum and Power Generation Plant Operators nfd + */ + _399200, + /** + * Chemical Plant Operator + */ + _399211, + /** + * Gas or Petroleum Operator + */ + _399212, + /** + * Power Generation Plant Operator + */ + _399213, + /** + * Gallery, Library and Museum Technicians nfd + */ + _399300, + /** + * Gallery or Museum Technician + */ + _399311, + /** + * Library Technician + */ + _399312, + /** + * Jeweller + */ + _399411, + /** + * Performing Arts Technicians nfd + */ + _399500, + /** + * Broadcast Transmitter Operator + */ + _399511, + /** + * Camera Operator (Film, Television or Video) + */ + _399512, + /** + * Light Technician + */ + _399513, + /** + * Make Up Artist + */ + _399514, + /** + * Musical Instrument Maker or Repairer + */ + _399515, + /** + * Sound Technician + */ + _399516, + /** + * Television Equipment Operator + */ + _399517, + /** + * Performing Arts Technicians nec + */ + _399599, + /** + * Signwriter + */ + _399611, + /** + * Other Miscellaneous Technicians and Trades Workers nfd + */ + _399900, + /** + * Diver + */ + _399911, + /** + * Interior Decorator + */ + _399912, + /** + * Optical Dispenser + */ + _399913, + /** + * Optical Mechanic + */ + _399914, + /** + * Photographer's Assistant + */ + _399915, + /** + * Plastics Technician + */ + _399916, + /** + * Wool Classer + */ + _399917, + /** + * Technicians and Trades Workers nec + */ + _399999, + /** + * Community and Personal Service Workers nfd + */ + _400000, + /** + * Health and Welfare Support Workers nfd + */ + _411000, + /** + * Ambulance Officers and Paramedics nfd + */ + _411100, + /** + * Ambulance Officer + */ + _411111, + /** + * Intensive Care Ambulance Paramedic + */ + _411112, + /** + * Dental Hygienists, Technicians and Therapists nfd + */ + _411200, + /** + * Dental Hygienist + */ + _411211, + /** + * Dental Prosthetist + */ + _411212, + /** + * Dental Technician + */ + _411213, + /** + * Dental Therapist + */ + _411214, + /** + * Diversional Therapist + */ + _411311, + /** + * Enrolled and Mothercraft Nurses nfd + */ + _411400, + /** + * Enrolled Nurse + */ + _411411, + /** + * Mothercraft Nurse + */ + _411412, + /** + * Aboriginal and Torres Strait Islander Health Worker + */ + _411511, + /** + * Massage Therapist + */ + _411611, + /** + * Welfare Support Workers nfd + */ + _411700, + /** + * Community Worker + */ + _411711, + /** + * Disabilities Services Officer + */ + _411712, + /** + * Family Support Worker + */ + _411713, + /** + * Parole or Probation Officer + */ + _411714, + /** + * Residential Care Officer + */ + _411715, + /** + * Youth Worker + */ + _411716, + /** + * Carers and Aides nfd + */ + _420000, + /** + * Child Carers nfd + */ + _421100, + /** + * Child Care Worker + */ + _421111, + /** + * Family Day Care Worker + */ + _421112, + /** + * Nanny + */ + _421113, + /** + * Out of School Hours Care Worker + */ + _421114, + /** + * Education Aides nfd + */ + _422100, + /** + * Aboriginal and Torres Strait Islander Education Worker + */ + _422111, + /** + * Integration Aide + */ + _422112, + /** + * Preschool Aide + */ + _422115, + /** + * Teachers' Aide + */ + _422116, + /** + * Personal Carers and Assistants nfd + */ + _423000, + /** + * Aged or Disabled Carer + */ + _423111, + /** + * Dental Assistant + */ + _423211, + /** + * Nursing Support and Personal Care Workers nfd + */ + _423300, + /** + * Hospital Orderly + */ + _423311, + /** + * Nursing Support Worker + */ + _423312, + /** + * Personal Care Assistant + */ + _423313, + /** + * Therapy Aide + */ + _423314, + /** + * Special Care Workers nfd + */ + _423400, + /** + * Child or Youth Residential Care Assistant + */ + _423411, + /** + * Hostel Parent + */ + _423412, + /** + * Refuge Worker + */ + _423413, + /** + * Hospitality Workers nfd + */ + _431000, + /** + * Bar Attendants and Baristas nfd + */ + _431100, + /** + * Bar Attendant + */ + _431111, + /** + * Barista + */ + _431112, + /** + * Cafe Worker + */ + _431211, + /** + * Gaming Worker + */ + _431311, + /** + * Hotel Service Manager + */ + _431411, + /** + * Waiter + */ + _431511, + /** + * Other Hospitality Workers nfd + */ + _431900, + /** + * Bar Useful or Busser + */ + _431911, + /** + * Doorperson or Luggage Porter + */ + _431912, + /** + * Hospitality Workers nec + */ + _431999, + /** + * Protective Service Workers nfd + */ + _440000, + /** + * Defence Force Members, Fire Fighters and Police nfd + */ + _441000, + /** + * Defence Force Member - Other Ranks + */ + _441111, + /** + * Fire and Emergency Workers nfd + */ + _441200, + /** + * Emergency Service Worker + */ + _441211, + /** + * Fire Fighter + */ + _441212, + /** + * Police nfd + */ + _441300, + /** + * Detective + */ + _441311, + /** + * Police Officer + */ + _441312, + /** + * Prison and Security Officers nfd + */ + _442000, + /** + * Prison Officer + */ + _442111, + /** + * Security Officers and Guards nfd + */ + _442200, + /** + * Alarm, Security or Surveillance Monitor + */ + _442211, + /** + * Armoured Car Escort + */ + _442212, + /** + * Crowd Controller + */ + _442213, + /** + * Private Investigator + */ + _442214, + /** + * Retail Loss Prevention Officer + */ + _442215, + /** + * Security Consultant + */ + _442216, + /** + * Security Officer + */ + _442217, + /** + * Security Officers and Guards nec + */ + _442299, + /** + * Sports and Personal Service Workers nfd + */ + _450000, + /** + * Personal Service and Travel Workers nfd + */ + _451000, + /** + * Beauty Therapist + */ + _451111, + /** + * Driving Instructor + */ + _451211, + /** + * Funeral Workers nfd + */ + _451300, + /** + * Funeral Director + */ + _451311, + /** + * Funeral Workers nec + */ + _451399, + /** + * Gallery, Museum and Tour Guides nfd + */ + _451400, + /** + * Gallery or Museum Guide + */ + _451411, + /** + * Tour Guide + */ + _451412, + /** + * Personal Care Consultants nfd + */ + _451500, + /** + * Natural Remedy Consultant + */ + _451511, + /** + * Weight Loss Consultant + */ + _451512, + /** + * Tourism and Travel Advisers nfd + */ + _451600, + /** + * Tourist Information Officer + */ + _451611, + /** + * Travel Consultant + */ + _451612, + /** + * Travel Attendants nfd + */ + _451700, + /** + * Flight Attendant + */ + _451711, + /** + * Travel Attendants nec + */ + _451799, + /** + * Other Personal Service Workers nfd + */ + _451800, + /** + * Civil Celebrant + */ + _451811, + /** + * Hair or Beauty Salon Assistant + */ + _451812, + /** + * Sex Worker or Escort + */ + _451813, + /** + * Personal Service Workers nec + */ + _451899, + /** + * Sports and Fitness Workers nfd + */ + _452000, + /** + * Fitness Instructor + */ + _452111, + /** + * Outdoor Adventure Guides nfd + */ + _452200, + /** + * Bungy Jump Master + */ + _452211, + /** + * Fishing Guide + */ + _452212, + /** + * Hunting Guide + */ + _452213, + /** + * Mountain or Glacier Guide + */ + _452214, + /** + * Outdoor Adventure Instructor + */ + _452215, + /** + * Trekking Guide + */ + _452216, + /** + * Whitewater Rafting Guide + */ + _452217, + /** + * Outdoor Adventure Guides nec + */ + _452299, + /** + * Sports Coaches, Instructors and Officials nfd + */ + _452300, + /** + * Diving Instructor (Open Water) + */ + _452311, + /** + * Gymnastics Coach or Instructor + */ + _452312, + /** + * Horse Riding Coach or Instructor + */ + _452313, + /** + * Snowsport Instructor + */ + _452314, + /** + * Swimming Coach or Instructor + */ + _452315, + /** + * Tennis Coach + */ + _452316, + /** + * Other Sports Coach or Instructor + */ + _452317, + /** + * Dog or Horse Racing Official + */ + _452318, + /** + * Sports Development Officer + */ + _452321, + /** + * Sports Umpire + */ + _452322, + /** + * Other Sports Official + */ + _452323, + /** + * Sportspersons nfd + */ + _452400, + /** + * Footballer + */ + _452411, + /** + * Golfer + */ + _452412, + /** + * Jockey + */ + _452413, + /** + * Lifeguard + */ + _452414, + /** + * Sportspersons nec + */ + _452499, + /** + * Clerical and Administrative Workers nfd + */ + _500000, + /** + * Office Managers and Program Administrators nfd + */ + _510000, + /** + * Contract, Program and Project Administrators nfd + */ + _511100, + /** + * Contract Administrator + */ + _511111, + /** + * Program or Project Administrator + */ + _511112, + /** + * Office and Practice Managers nfd + */ + _512000, + /** + * Office Manager + */ + _512111, + /** + * Practice Managers nfd + */ + _512200, + /** + * Health Practice Manager + */ + _512211, + /** + * Practice Managers nec + */ + _512299, + /** + * Personal Assistants and Secretaries nfd + */ + _521000, + /** + * Personal Assistant + */ + _521111, + /** + * Secretaries nfd + */ + _521200, + /** + * Secretary (General) + */ + _521211, + /** + * Legal Secretary + */ + _521212, + /** + * General Clerical Workers nfd + */ + _530000, + /** + * General Clerk + */ + _531111, + /** + * Keyboard Operators nfd + */ + _532100, + /** + * Data Entry Operator + */ + _532111, + /** + * Machine Shorthand Reporter + */ + _532112, + /** + * Word Processing Operator + */ + _532113, + /** + * Inquiry Clerks and Receptionists nfd + */ + _540000, + /** + * Call or Contact Centre Information Clerks nfd + */ + _541000, + /** + * Call or Contact Centre Workers nfd + */ + _541100, + /** + * Call or Contact Centre Team Leader + */ + _541111, + /** + * Call or Contact Centre Operator + */ + _541112, + /** + * Inquiry Clerk + */ + _541211, + /** + * Receptionists nfd + */ + _542100, + /** + * Receptionist (General) + */ + _542111, + /** + * Admissions Clerk + */ + _542112, + /** + * Hotel or Motel Receptionist + */ + _542113, + /** + * Medical Receptionist + */ + _542114, + /** + * Numerical Clerks nfd + */ + _550000, + /** + * Accounting Clerks and Bookkeepers nfd + */ + _551000, + /** + * Accounting Clerks nfd + */ + _551100, + /** + * Accounts Clerk + */ + _551111, + /** + * Cost Clerk + */ + _551112, + /** + * Bookkeeper + */ + _551211, + /** + * Payroll Clerk + */ + _551311, + /** + * Financial and Insurance Clerks nfd + */ + _552000, + /** + * Bank Worker + */ + _552111, + /** + * Credit or Loans Officer + */ + _552211, + /** + * Insurance, Money Market and Statistical Clerks nfd + */ + _552300, + /** + * Bookmaker + */ + _552311, + /** + * Insurance Consultant + */ + _552312, + /** + * Money Market Clerk + */ + _552313, + /** + * Statistical Clerk + */ + _552314, + /** + * Clerical and Office Support Workers nfd + */ + _561000, + /** + * Betting Clerks nfd + */ + _561100, + /** + * Betting Agency Counter Clerk + */ + _561111, + /** + * Bookmaker's Clerk + */ + _561112, + /** + * Telephone Betting Clerk + */ + _561113, + /** + * Betting Clerks nec + */ + _561199, + /** + * Couriers and Postal Deliverers nfd + */ + _561200, + /** + * Courier + */ + _561211, + /** + * Postal Delivery Officer + */ + _561212, + /** + * Filing or Registry Clerk + */ + _561311, + /** + * Mail Sorters nfd + */ + _561400, + /** + * Mail Clerk + */ + _561411, + /** + * Postal Sorting Officer + */ + _561412, + /** + * Survey Interviewer + */ + _561511, + /** + * Switchboard Operator + */ + _561611, + /** + * Other Clerical and Office Support Workers nfd + */ + _561900, + /** + * Classified Advertising Clerk + */ + _561911, + /** + * Meter Reader + */ + _561912, + /** + * Parking Inspector + */ + _561913, + /** + * Clerical and Office Support Workers nec + */ + _561999, + /** + * Other Clerical and Administrative Workers nfd + */ + _590000, + /** + * Logistics Clerks nfd + */ + _591000, + /** + * Purchasing and Supply Logistics Clerks nfd + */ + _591100, + /** + * Order Clerk + */ + _591111, + /** + * Production Clerk + */ + _591112, + /** + * Purchasing Officer + */ + _591113, + /** + * Sales Clerk + */ + _591114, + /** + * Stock Clerk + */ + _591115, + /** + * Warehouse Administrator + */ + _591116, + /** + * Transport and Despatch Clerks nfd + */ + _591200, + /** + * Despatching and Receiving Clerk + */ + _591211, + /** + * Import-Export Clerk + */ + _591212, + /** + * Miscellaneous Clerical and Administrative Workers nfd + */ + _599000, + /** + * Conveyancers and Legal Executives nfd + */ + _599100, + /** + * Conveyancer + */ + _599111, + /** + * Legal Executive + */ + _599112, + /** + * Court and Legal Clerks nfd + */ + _599200, + /** + * Clerk of Court + */ + _599211, + /** + * Court Bailiff or Sheriff + */ + _599212, + /** + * Court Orderly + */ + _599213, + /** + * Law Clerk + */ + _599214, + /** + * Trust Officer + */ + _599215, + /** + * Debt Collector + */ + _599311, + /** + * Human Resource Clerk + */ + _599411, + /** + * Inspectors and Regulatory Officers nfd + */ + _599500, + /** + * Customs Officer + */ + _599511, + /** + * Immigration Officer + */ + _599512, + /** + * Motor Vehicle Licence Examiner + */ + _599513, + /** + * Noxious Weeds and Pest Inspector + */ + _599514, + /** + * Social Security Assessor + */ + _599515, + /** + * Taxation Inspector + */ + _599516, + /** + * Train Examiner + */ + _599517, + /** + * Transport Operations Inspector + */ + _599518, + /** + * Water Inspector + */ + _599521, + /** + * Inspectors and Regulatory Officers nec + */ + _599599, + /** + * Insurance Investigators, Loss Adjusters and Risk Surveyors nfd + */ + _599600, + /** + * Insurance Investigator + */ + _599611, + /** + * Insurance Loss Adjuster + */ + _599612, + /** + * Insurance Risk Surveyor + */ + _599613, + /** + * Library Assistant + */ + _599711, + /** + * Other Miscellaneous Clerical and Administrative Workers nfd + */ + _599900, + /** + * Coding Clerk + */ + _599911, + /** + * Production Assistant (Film, Television, Radio or Stage) + */ + _599912, + /** + * Proof Reader + */ + _599913, + /** + * Radio Despatcher + */ + _599914, + /** + * Clerical and Administrative Workers nec + */ + _599999, + /** + * Sales Workers nfd + */ + _600000, + /** + * Sales Representatives and Agents nfd + */ + _610000, + /** + * Insurance Agents and Sales Representatives nfd + */ + _611000, + /** + * Auctioneers, and Stock and Station Agents nfd + */ + _611100, + /** + * Auctioneer + */ + _611111, + /** + * Stock and Station Agent + */ + _611112, + /** + * Insurance Agent + */ + _611211, + /** + * Sales Representatives nfd + */ + _611300, + /** + * Sales Representative (Building and Plumbing Supplies) + */ + _611311, + /** + * Sales Representative (Business Services) + */ + _611312, + /** + * Sales Representative (Motor Vehicle Parts and Accessories) + */ + _611313, + /** + * Sales Representative (Personal and Household Goods) + */ + _611314, + /** + * Sales Representatives nec + */ + _611399, + /** + * Real Estate Sales Agents nfd + */ + _612100, + /** + * Business Broker + */ + _612111, + /** + * Property Manager + */ + _612112, + /** + * Real Estate Agency Principal + */ + _612113, + /** + * Real Estate Agent + */ + _612114, + /** + * Real Estate Representative + */ + _612115, + /** + * Sales Assistants and Salespersons nfd + */ + _621000, + /** + * Sales Assistant (General) + */ + _621111, + /** + * ICT Sales Assistant + */ + _621211, + /** + * Motor Vehicle and Vehicle Parts Salespersons nfd + */ + _621300, + /** + * Motor Vehicle or Caravan Salesperson + */ + _621311, + /** + * Motor Vehicle Parts Interpreter + */ + _621312, + /** + * Pharmacy Sales Assistant + */ + _621411, + /** + * Retail Supervisor + */ + _621511, + /** + * Service Station Attendant + */ + _621611, + /** + * Street Vendors and Related Salespersons nfd + */ + _621700, + /** + * Cash Van Salesperson + */ + _621711, + /** + * Door-to-door Salesperson + */ + _621712, + /** + * Street Vendor + */ + _621713, + /** + * Other Sales Assistants and Salespersons nfd + */ + _621900, + /** + * Materials Recycler + */ + _621911, + /** + * Rental Salesperson + */ + _621912, + /** + * Sales Assistants and Salespersons nec + */ + _621999, + /** + * Sales Support Workers nfd + */ + _630000, + /** + * Checkout Operators and Office Cashiers nfd + */ + _631100, + /** + * Checkout Operator + */ + _631111, + /** + * Office Cashier + */ + _631112, + /** + * Miscellaneous Sales Support Workers nfd + */ + _639000, + /** + * Models and Sales Demonstrators nfd + */ + _639100, + /** + * Model + */ + _639111, + /** + * Sales Demonstrator + */ + _639112, + /** + * Retail and Wool Buyers nfd + */ + _639200, + /** + * Retail Buyer + */ + _639211, + /** + * Wool Buyer + */ + _639212, + /** + * Telemarketer + */ + _639311, + /** + * Ticket Salespersons nfd + */ + _639400, + /** + * Ticket Seller + */ + _639411, + /** + * Transport Conductor + */ + _639412, + /** + * Visual Merchandiser + */ + _639511, + /** + * Other Sales Support Worker + */ + _639911, + /** + * Machinery Operators and Drivers nfd + */ + _700000, + /** + * Machine and Stationary Plant Operators nfd + */ + _710000, + /** + * Machine Operators nfd + */ + _711000, + /** + * Clay, Concrete, Glass and Stone Processing Machine Operators nfd + */ + _711100, + /** + * Clay Products Machine Operator + */ + _711111, + /** + * Concrete Products Machine Operator + */ + _711112, + /** + * Glass Production Machine Operator + */ + _711113, + /** + * Stone Processing Machine Operator + */ + _711114, + /** + * Clay, Concrete, Glass and Stone Processing Machine Operators nec + */ + _711199, + /** + * Industrial Spraypainter + */ + _711211, + /** + * Paper and Wood Processing Machine Operators nfd + */ + _711300, + /** + * Paper Products Machine Operator + */ + _711311, + /** + * Wood Processing Machine Operator + */ + _711312, + /** + * Photographic Developer and Printer + */ + _711411, + /** + * Plastics and Rubber Production Machine Operators nfd + */ + _711500, + /** + * Plastic Cablemaking Machine Operator + */ + _711511, + /** + * Plastic Compounding and Reclamation Machine Operator + */ + _711512, + /** + * Plastics Fabricator or Welder + */ + _711513, + /** + * Plastics Production Machine Operator (General) + */ + _711514, + /** + * Reinforced Plastic and Composite Production Worker + */ + _711515, + /** + * Rubber Production Machine Operator + */ + _711516, + /** + * Plastics and Rubber Production Machine Operators nec + */ + _711599, + /** + * Sewing Machinist + */ + _711611, + /** + * Textile and Footwear Production Machine Operators nfd + */ + _711700, + /** + * Footwear Production Machine Operator + */ + _711711, + /** + * Hide and Skin Processing Machine Operator + */ + _711712, + /** + * Knitting Machine Operator + */ + _711713, + /** + * Textile Dyeing and Finishing Machine Operator + */ + _711714, + /** + * Weaving Machine Operator + */ + _711715, + /** + * Yarn Carding and Spinning Machine Operator + */ + _711716, + /** + * Textile and Footwear Production Machine Operators nec + */ + _711799, + /** + * Other Machine Operators nfd + */ + _711900, + /** + * Chemical Production Machine Operator + */ + _711911, + /** + * Motion Picture Projectionist + */ + _711912, + /** + * Sand Blaster + */ + _711913, + /** + * Sterilisation Technician + */ + _711914, + /** + * Machine Operators nec + */ + _711999, + /** + * Stationary Plant Operators nfd + */ + _712000, + /** + * Crane, Hoist or Lift Operator + */ + _712111, + /** + * Drillers, Miners and Shot Firers nfd + */ + _712200, + /** + * Driller + */ + _712211, + /** + * Miner + */ + _712212, + /** + * Shot Firer + */ + _712213, + /** + * Engineering Production Systems Worker + */ + _712311, + /** + * Other Stationary Plant Operators nfd + */ + _712900, + /** + * Boiler or Engine Operator + */ + _712911, + /** + * Bulk Materials Handling Plant Operator + */ + _712912, + /** + * Cement Production Plant Operator + */ + _712913, + /** + * Concrete Batching Plant Operator + */ + _712914, + /** + * Concrete Pump Operator + */ + _712915, + /** + * Paper and Pulp Mill Operator + */ + _712916, + /** + * Railway Signal Operator + */ + _712917, + /** + * Train Controller + */ + _712918, + /** + * Waste Water or Water Plant Operator + */ + _712921, + /** + * Weighbridge Operator + */ + _712922, + /** + * Stationary Plant Operators nec + */ + _712999, + /** + * Mobile Plant Operators nfd + */ + _721000, + /** + * Agricultural, Forestry and Horticultural Plant Operators nfd + */ + _721100, + /** + * Agricultural and Horticultural Mobile Plant Operator + */ + _721111, + /** + * Logging Plant Operator + */ + _721112, + /** + * Earthmoving Plant Operators nfd + */ + _721200, + /** + * Earthmoving Plant Operator (General) + */ + _721211, + /** + * Backhoe Operator + */ + _721212, + /** + * Bulldozer Operator + */ + _721213, + /** + * Excavator Operator + */ + _721214, + /** + * Grader Operator + */ + _721215, + /** + * Loader Operator + */ + _721216, + /** + * Forklift Driver + */ + _721311, + /** + * Other Mobile Plant Operators nfd + */ + _721900, + /** + * Aircraft Baggage Handler and Airline Ground Crew + */ + _721911, + /** + * Linemarker + */ + _721912, + /** + * Paving Plant Operator + */ + _721913, + /** + * Railway Track Plant Operator + */ + _721914, + /** + * Road Roller Operator + */ + _721915, + /** + * Streetsweeper Operator + */ + _721916, + /** + * Mobile Plant Operators nec + */ + _721999, + /** + * Road and Rail Drivers nfd + */ + _730000, + /** + * Automobile, Bus and Rail Drivers nfd + */ + _731000, + /** + * Automobile Drivers nfd + */ + _731100, + /** + * Chauffeur + */ + _731111, + /** + * Taxi Driver + */ + _731112, + /** + * Automobile Drivers nec + */ + _731199, + /** + * Bus and Coach Drivers nfd + */ + _731200, + /** + * Bus Driver + */ + _731211, + /** + * Charter and Tour Bus Driver + */ + _731212, + /** + * Passenger Coach Driver + */ + _731213, + /** + * Train and Tram Drivers nfd + */ + _731300, + /** + * Train Driver + */ + _731311, + /** + * Tram Driver + */ + _731312, + /** + * Delivery Driver + */ + _732111, + /** + * Truck Drivers nfd + */ + _733100, + /** + * Truck Driver (General) + */ + _733111, + /** + * Aircraft Refueller + */ + _733112, + /** + * Furniture Removalist + */ + _733113, + /** + * Tanker Driver + */ + _733114, + /** + * Tow Truck Driver + */ + _733115, + /** + * Storeperson + */ + _741111, + /** + * Labourers nfd + */ + _800000, + /** + * Cleaners and Laundry Workers nfd + */ + _811000, + /** + * Car Detailer + */ + _811111, + /** + * Commercial Cleaner + */ + _811211, + /** + * Domestic Cleaner + */ + _811311, + /** + * Housekeepers nfd + */ + _811400, + /** + * Commercial Housekeeper + */ + _811411, + /** + * Domestic Housekeeper + */ + _811412, + /** + * Laundry Workers nfd + */ + _811500, + /** + * Laundry Worker (General) + */ + _811511, + /** + * Drycleaner + */ + _811512, + /** + * Ironer or Presser + */ + _811513, + /** + * Other Cleaners nfd + */ + _811600, + /** + * Carpet Cleaner + */ + _811611, + /** + * Window Cleaner + */ + _811612, + /** + * Cleaners nec + */ + _811699, + /** + * Construction and Mining Labourers nfd + */ + _821000, + /** + * Building and Plumbing Labourers nfd + */ + _821100, + /** + * Builder's Labourer + */ + _821111, + /** + * Drainage, Sewerage and Stormwater Labourer + */ + _821112, + /** + * Earthmoving Labourer + */ + _821113, + /** + * Plumber's Assistant + */ + _821114, + /** + * Concreter + */ + _821211, + /** + * Fencer + */ + _821311, + /** + * Insulation and Home Improvement Installers nfd + */ + _821400, + /** + * Building Insulation Installer + */ + _821411, + /** + * Home Improvement Installer + */ + _821412, + /** + * Paving and Surfacing Labourer + */ + _821511, + /** + * Railway Track Worker + */ + _821611, + /** + * Structural Steel Construction Workers nfd + */ + _821700, + /** + * Construction Rigger + */ + _821711, + /** + * Scaffolder + */ + _821712, + /** + * Steel Fixer + */ + _821713, + /** + * Structural Steel Erector + */ + _821714, + /** + * Other Construction and Mining Labourers nfd + */ + _821900, + /** + * Crane Chaser + */ + _821911, + /** + * Driller's Assistant + */ + _821912, + /** + * Lagger + */ + _821913, + /** + * Mining Support Worker + */ + _821914, + /** + * Surveyor's Assistant + */ + _821915, + /** + * Factory Process Workers nfd + */ + _830000, + /** + * Food Process Workers nfd + */ + _831000, + /** + * Food and Drink Factory Workers nfd + */ + _831100, + /** + * Baking Factory Worker + */ + _831111, + /** + * Brewery Worker + */ + _831112, + /** + * Confectionery Maker + */ + _831113, + /** + * Dairy Products Maker + */ + _831114, + /** + * Fruit and Vegetable Factory Worker + */ + _831115, + /** + * Grain Mill Worker + */ + _831116, + /** + * Sugar Mill Worker + */ + _831117, + /** + * Winery Cellar Hand + */ + _831118, + /** + * Food and Drink Factory Workers nec + */ + _831199, + /** + * Meat Boners and Slicers, and Slaughterers nfd + */ + _831200, + /** + * Meat Boner and Slicer + */ + _831211, + /** + * Slaughterer + */ + _831212, + /** + * Meat, Poultry and Seafood Process Workers nfd + */ + _831300, + /** + * Meat Process Worker + */ + _831311, + /** + * Poultry Process Worker + */ + _831312, + /** + * Seafood Process Worker + */ + _831313, + /** + * Packers and Product Assemblers nfd + */ + _832000, + /** + * Packers nfd + */ + _832100, + /** + * Chocolate Packer + */ + _832111, + /** + * Container Filler + */ + _832112, + /** + * Fruit and Vegetable Packer + */ + _832113, + /** + * Meat Packer + */ + _832114, + /** + * Seafood Packer + */ + _832115, + /** + * Packers nec + */ + _832199, + /** + * Product Assembler + */ + _832211, + /** + * Miscellaneous Factory Process Workers nfd + */ + _839000, + /** + * Metal Engineering Process Worker + */ + _839111, + /** + * Plastics and Rubber Factory Workers nfd + */ + _839200, + /** + * Plastics Factory Worker + */ + _839211, + /** + * Rubber Factory Worker + */ + _839212, + /** + * Product Quality Controllers nfd + */ + _839300, + /** + * Product Examiner + */ + _839311, + /** + * Product Grader + */ + _839312, + /** + * Product Tester + */ + _839313, + /** + * Timber and Wood Process Workers nfd + */ + _839400, + /** + * Paper and Pulp Mill Worker + */ + _839411, + /** + * Sawmill or Timber Yard Worker + */ + _839412, + /** + * Wood and Wood Products Factory Worker + */ + _839413, + /** + * Other Factory Process Workers nfd + */ + _839900, + /** + * Cement and Concrete Plant Worker + */ + _839911, + /** + * Chemical Plant Worker + */ + _839912, + /** + * Clay Processing Factory Worker + */ + _839913, + /** + * Fabric and Textile Factory Worker + */ + _839914, + /** + * Footwear Factory Worker + */ + _839915, + /** + * Glass Processing Worker + */ + _839916, + /** + * Hide and Skin Processing Worker + */ + _839917, + /** + * Factory Process Workers nec + */ + _839999, + /** + * Farm, Forestry and Garden Workers nfd + */ + _841000, + /** + * Aquaculture Worker + */ + _841111, + /** + * Crop Farm Workers nfd + */ + _841200, + /** + * Fruit or Nut Farm Worker + */ + _841211, + /** + * Fruit or Nut Picker + */ + _841212, + /** + * Grain, Oilseed or Pasture Farm Worker + */ + _841213, + /** + * Vegetable Farm Worker + */ + _841214, + /** + * Vegetable Picker + */ + _841215, + /** + * Vineyard Worker + */ + _841216, + /** + * Crop Farm Workers nec + */ + _841299, + /** + * Forestry and Logging Workers nfd + */ + _841300, + /** + * Forestry Worker + */ + _841311, + /** + * Logging Assistant + */ + _841312, + /** + * Tree Faller + */ + _841313, + /** + * Garden and Nursery Labourers nfd + */ + _841400, + /** + * Garden Labourer + */ + _841411, + /** + * Horticultural Nursery Assistant + */ + _841412, + /** + * Livestock Farm Workers nfd + */ + _841500, + /** + * Beef Cattle Farm Worker + */ + _841511, + /** + * Dairy Cattle Farm Worker + */ + _841512, + /** + * Mixed Livestock Farm Worker + */ + _841513, + /** + * Poultry Farm Worker + */ + _841514, + /** + * Sheep Farm Worker + */ + _841515, + /** + * Stablehand + */ + _841516, + /** + * Wool Handler + */ + _841517, + /** + * Livestock Farm Workers nec + */ + _841599, + /** + * Mixed Crop and Livestock Farm Worker + */ + _841611, + /** + * Other Farm, Forestry and Garden Workers nfd + */ + _841900, + /** + * Hunter-Trapper + */ + _841911, + /** + * Pest or Weed Controller + */ + _841912, + /** + * Farm, Forestry and Garden Workers nec + */ + _841999, + /** + * Food Preparation Assistants nfd + */ + _851000, + /** + * Fast Food Cook + */ + _851111, + /** + * Food Trades Assistants nfd + */ + _851200, + /** + * Pastrycook's Assistant + */ + _851211, + /** + * Food Trades Assistants nec + */ + _851299, + /** + * Kitchenhand + */ + _851311, + /** + * Other Labourers nfd + */ + _890000, + /** + * Freight Handlers and Shelf Fillers nfd + */ + _891000, + /** + * Freight and Furniture Handlers nfd + */ + _891100, + /** + * Freight Handler (Rail or Road) + */ + _891111, + /** + * Truck Driver's Offsider + */ + _891112, + /** + * Waterside Worker + */ + _891113, + /** + * Shelf Filler + */ + _891211, + /** + * Miscellaneous Labourers nfd + */ + _899000, + /** + * Caretaker + */ + _899111, + /** + * Deck and Fishing Hands nfd + */ + _899200, + /** + * Deck Hand + */ + _899211, + /** + * Fishing Hand + */ + _899212, + /** + * Handyperson + */ + _899311, + /** + * Motor Vehicle Parts and Accessories Fitters nfd + */ + _899400, + /** + * Motor Vehicle Parts and Accessories Fitter (General) + */ + _899411, + /** + * Autoglazier + */ + _899412, + /** + * Exhaust and Muffler Fitter + */ + _899413, + /** + * Radiator Fitter + */ + _899414, + /** + * Tyre Fitter + */ + _899415, + /** + * Printing Assistants and Table Workers nfd + */ + _899500, + /** + * Printer's Assistant + */ + _899511, + /** + * Printing Table Worker + */ + _899512, + /** + * Recycling or Rubbish Collector + */ + _899611, + /** + * Vending Machine Attendant + */ + _899711, + /** + * Other Miscellaneous Labourers nfd + */ + _899900, + /** + * Bicycle Mechanic + */ + _899911, + /** + * Car Park Attendant + */ + _899912, + /** + * Crossing Supervisor + */ + _899913, + /** + * Electrical or Telecommunications Trades Assistant + */ + _899914, + /** + * Leaflet or Newspaper Deliverer + */ + _899915, + /** + * Mechanic's Assistant + */ + _899916, + /** + * Railways Assistant + */ + _899917, + /** + * Sign Erector + */ + _899918, + /** + * Ticket Collector or Usher + */ + _899921, + /** + * Trolley Collector + */ + _899922, + /** + * Labourers nec + */ + _899999, + /** + * added to help the parsers + */ + NULL; + public static AnzscoOccupations fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("100000".equals(codeString)) + return _100000; + if ("111000".equals(codeString)) + return _111000; + if ("111111".equals(codeString)) + return _111111; + if ("111200".equals(codeString)) + return _111200; + if ("111211".equals(codeString)) + return _111211; + if ("111212".equals(codeString)) + return _111212; + if ("111300".equals(codeString)) + return _111300; + if ("111311".equals(codeString)) + return _111311; + if ("111312".equals(codeString)) + return _111312; + if ("111399".equals(codeString)) + return _111399; + if ("121000".equals(codeString)) + return _121000; + if ("121111".equals(codeString)) + return _121111; + if ("121200".equals(codeString)) + return _121200; + if ("121211".equals(codeString)) + return _121211; + if ("121212".equals(codeString)) + return _121212; + if ("121213".equals(codeString)) + return _121213; + if ("121214".equals(codeString)) + return _121214; + if ("121215".equals(codeString)) + return _121215; + if ("121216".equals(codeString)) + return _121216; + if ("121217".equals(codeString)) + return _121217; + if ("121218".equals(codeString)) + return _121218; + if ("121221".equals(codeString)) + return _121221; + if ("121299".equals(codeString)) + return _121299; + if ("121300".equals(codeString)) + return _121300; + if ("121311".equals(codeString)) + return _121311; + if ("121312".equals(codeString)) + return _121312; + if ("121313".equals(codeString)) + return _121313; + if ("121314".equals(codeString)) + return _121314; + if ("121315".equals(codeString)) + return _121315; + if ("121316".equals(codeString)) + return _121316; + if ("121317".equals(codeString)) + return _121317; + if ("121318".equals(codeString)) + return _121318; + if ("121321".equals(codeString)) + return _121321; + if ("121322".equals(codeString)) + return _121322; + if ("121399".equals(codeString)) + return _121399; + if ("121411".equals(codeString)) + return _121411; + if ("130000".equals(codeString)) + return _130000; + if ("131100".equals(codeString)) + return _131100; + if ("131111".equals(codeString)) + return _131111; + if ("131112".equals(codeString)) + return _131112; + if ("132000".equals(codeString)) + return _132000; + if ("132111".equals(codeString)) + return _132111; + if ("132211".equals(codeString)) + return _132211; + if ("132311".equals(codeString)) + return _132311; + if ("132411".equals(codeString)) + return _132411; + if ("132511".equals(codeString)) + return _132511; + if ("133000".equals(codeString)) + return _133000; + if ("133100".equals(codeString)) + return _133100; + if ("133111".equals(codeString)) + return _133111; + if ("133112".equals(codeString)) + return _133112; + if ("133211".equals(codeString)) + return _133211; + if ("133300".equals(codeString)) + return _133300; + if ("133311".equals(codeString)) + return _133311; + if ("133312".equals(codeString)) + return _133312; + if ("133411".equals(codeString)) + return _133411; + if ("133500".equals(codeString)) + return _133500; + if ("133511".equals(codeString)) + return _133511; + if ("133512".equals(codeString)) + return _133512; + if ("133513".equals(codeString)) + return _133513; + if ("133611".equals(codeString)) + return _133611; + if ("134000".equals(codeString)) + return _134000; + if ("134111".equals(codeString)) + return _134111; + if ("134200".equals(codeString)) + return _134200; + if ("134211".equals(codeString)) + return _134211; + if ("134212".equals(codeString)) + return _134212; + if ("134213".equals(codeString)) + return _134213; + if ("134214".equals(codeString)) + return _134214; + if ("134299".equals(codeString)) + return _134299; + if ("134311".equals(codeString)) + return _134311; + if ("134400".equals(codeString)) + return _134400; + if ("134411".equals(codeString)) + return _134411; + if ("134412".equals(codeString)) + return _134412; + if ("134499".equals(codeString)) + return _134499; + if ("135100".equals(codeString)) + return _135100; + if ("135111".equals(codeString)) + return _135111; + if ("135112".equals(codeString)) + return _135112; + if ("135199".equals(codeString)) + return _135199; + if ("139000".equals(codeString)) + return _139000; + if ("139100".equals(codeString)) + return _139100; + if ("139111".equals(codeString)) + return _139111; + if ("139112".equals(codeString)) + return _139112; + if ("139113".equals(codeString)) + return _139113; + if ("139211".equals(codeString)) + return _139211; + if ("139900".equals(codeString)) + return _139900; + if ("139911".equals(codeString)) + return _139911; + if ("139912".equals(codeString)) + return _139912; + if ("139913".equals(codeString)) + return _139913; + if ("139914".equals(codeString)) + return _139914; + if ("139915".equals(codeString)) + return _139915; + if ("139999".equals(codeString)) + return _139999; + if ("140000".equals(codeString)) + return _140000; + if ("141000".equals(codeString)) + return _141000; + if ("141111".equals(codeString)) + return _141111; + if ("141211".equals(codeString)) + return _141211; + if ("141311".equals(codeString)) + return _141311; + if ("141411".equals(codeString)) + return _141411; + if ("141900".equals(codeString)) + return _141900; + if ("141911".equals(codeString)) + return _141911; + if ("141999".equals(codeString)) + return _141999; + if ("142100".equals(codeString)) + return _142100; + if ("142111".equals(codeString)) + return _142111; + if ("142112".equals(codeString)) + return _142112; + if ("142113".equals(codeString)) + return _142113; + if ("142114".equals(codeString)) + return _142114; + if ("142115".equals(codeString)) + return _142115; + if ("142116".equals(codeString)) + return _142116; + if ("149000".equals(codeString)) + return _149000; + if ("149100".equals(codeString)) + return _149100; + if ("149111".equals(codeString)) + return _149111; + if ("149112".equals(codeString)) + return _149112; + if ("149113".equals(codeString)) + return _149113; + if ("149200".equals(codeString)) + return _149200; + if ("149211".equals(codeString)) + return _149211; + if ("149212".equals(codeString)) + return _149212; + if ("149311".equals(codeString)) + return _149311; + if ("149400".equals(codeString)) + return _149400; + if ("149411".equals(codeString)) + return _149411; + if ("149412".equals(codeString)) + return _149412; + if ("149413".equals(codeString)) + return _149413; + if ("149900".equals(codeString)) + return _149900; + if ("149911".equals(codeString)) + return _149911; + if ("149912".equals(codeString)) + return _149912; + if ("149913".equals(codeString)) + return _149913; + if ("149914".equals(codeString)) + return _149914; + if ("149999".equals(codeString)) + return _149999; + if ("200000".equals(codeString)) + return _200000; + if ("210000".equals(codeString)) + return _210000; + if ("211000".equals(codeString)) + return _211000; + if ("211100".equals(codeString)) + return _211100; + if ("211111".equals(codeString)) + return _211111; + if ("211112".equals(codeString)) + return _211112; + if ("211113".equals(codeString)) + return _211113; + if ("211199".equals(codeString)) + return _211199; + if ("211200".equals(codeString)) + return _211200; + if ("211211".equals(codeString)) + return _211211; + if ("211212".equals(codeString)) + return _211212; + if ("211213".equals(codeString)) + return _211213; + if ("211214".equals(codeString)) + return _211214; + if ("211299".equals(codeString)) + return _211299; + if ("211311".equals(codeString)) + return _211311; + if ("211400".equals(codeString)) + return _211400; + if ("211411".equals(codeString)) + return _211411; + if ("211412".equals(codeString)) + return _211412; + if ("211413".equals(codeString)) + return _211413; + if ("211499".equals(codeString)) + return _211499; + if ("212000".equals(codeString)) + return _212000; + if ("212100".equals(codeString)) + return _212100; + if ("212111".equals(codeString)) + return _212111; + if ("212112".equals(codeString)) + return _212112; + if ("212113".equals(codeString)) + return _212113; + if ("212114".equals(codeString)) + return _212114; + if ("212200".equals(codeString)) + return _212200; + if ("212211".equals(codeString)) + return _212211; + if ("212212".equals(codeString)) + return _212212; + if ("212300".equals(codeString)) + return _212300; + if ("212311".equals(codeString)) + return _212311; + if ("212312".equals(codeString)) + return _212312; + if ("212313".equals(codeString)) + return _212313; + if ("212314".equals(codeString)) + return _212314; + if ("212315".equals(codeString)) + return _212315; + if ("212316".equals(codeString)) + return _212316; + if ("212317".equals(codeString)) + return _212317; + if ("212318".equals(codeString)) + return _212318; + if ("212399".equals(codeString)) + return _212399; + if ("212400".equals(codeString)) + return _212400; + if ("212411".equals(codeString)) + return _212411; + if ("212412".equals(codeString)) + return _212412; + if ("212413".equals(codeString)) + return _212413; + if ("212414".equals(codeString)) + return _212414; + if ("212415".equals(codeString)) + return _212415; + if ("212416".equals(codeString)) + return _212416; + if ("212499".equals(codeString)) + return _212499; + if ("220000".equals(codeString)) + return _220000; + if ("221000".equals(codeString)) + return _221000; + if ("221100".equals(codeString)) + return _221100; + if ("221111".equals(codeString)) + return _221111; + if ("221112".equals(codeString)) + return _221112; + if ("221113".equals(codeString)) + return _221113; + if ("221200".equals(codeString)) + return _221200; + if ("221211".equals(codeString)) + return _221211; + if ("221212".equals(codeString)) + return _221212; + if ("221213".equals(codeString)) + return _221213; + if ("221214".equals(codeString)) + return _221214; + if ("222000".equals(codeString)) + return _222000; + if ("222100".equals(codeString)) + return _222100; + if ("222111".equals(codeString)) + return _222111; + if ("222112".equals(codeString)) + return _222112; + if ("222113".equals(codeString)) + return _222113; + if ("222199".equals(codeString)) + return _222199; + if ("222200".equals(codeString)) + return _222200; + if ("222211".equals(codeString)) + return _222211; + if ("222212".equals(codeString)) + return _222212; + if ("222213".equals(codeString)) + return _222213; + if ("222299".equals(codeString)) + return _222299; + if ("222300".equals(codeString)) + return _222300; + if ("222311".equals(codeString)) + return _222311; + if ("222312".equals(codeString)) + return _222312; + if ("223000".equals(codeString)) + return _223000; + if ("223100".equals(codeString)) + return _223100; + if ("223111".equals(codeString)) + return _223111; + if ("223112".equals(codeString)) + return _223112; + if ("223113".equals(codeString)) + return _223113; + if ("223211".equals(codeString)) + return _223211; + if ("223311".equals(codeString)) + return _223311; + if ("224000".equals(codeString)) + return _224000; + if ("224100".equals(codeString)) + return _224100; + if ("224111".equals(codeString)) + return _224111; + if ("224112".equals(codeString)) + return _224112; + if ("224113".equals(codeString)) + return _224113; + if ("224200".equals(codeString)) + return _224200; + if ("224211".equals(codeString)) + return _224211; + if ("224212".equals(codeString)) + return _224212; + if ("224213".equals(codeString)) + return _224213; + if ("224214".equals(codeString)) + return _224214; + if ("224311".equals(codeString)) + return _224311; + if ("224400".equals(codeString)) + return _224400; + if ("224411".equals(codeString)) + return _224411; + if ("224412".equals(codeString)) + return _224412; + if ("224500".equals(codeString)) + return _224500; + if ("224511".equals(codeString)) + return _224511; + if ("224512".equals(codeString)) + return _224512; + if ("224611".equals(codeString)) + return _224611; + if ("224700".equals(codeString)) + return _224700; + if ("224711".equals(codeString)) + return _224711; + if ("224712".equals(codeString)) + return _224712; + if ("224900".equals(codeString)) + return _224900; + if ("224911".equals(codeString)) + return _224911; + if ("224912".equals(codeString)) + return _224912; + if ("224913".equals(codeString)) + return _224913; + if ("224914".equals(codeString)) + return _224914; + if ("224999".equals(codeString)) + return _224999; + if ("225000".equals(codeString)) + return _225000; + if ("225100".equals(codeString)) + return _225100; + if ("225111".equals(codeString)) + return _225111; + if ("225112".equals(codeString)) + return _225112; + if ("225113".equals(codeString)) + return _225113; + if ("225200".equals(codeString)) + return _225200; + if ("225211".equals(codeString)) + return _225211; + if ("225212".equals(codeString)) + return _225212; + if ("225213".equals(codeString)) + return _225213; + if ("225311".equals(codeString)) + return _225311; + if ("225400".equals(codeString)) + return _225400; + if ("225411".equals(codeString)) + return _225411; + if ("225412".equals(codeString)) + return _225412; + if ("225499".equals(codeString)) + return _225499; + if ("230000".equals(codeString)) + return _230000; + if ("231000".equals(codeString)) + return _231000; + if ("231100".equals(codeString)) + return _231100; + if ("231111".equals(codeString)) + return _231111; + if ("231112".equals(codeString)) + return _231112; + if ("231113".equals(codeString)) + return _231113; + if ("231114".equals(codeString)) + return _231114; + if ("231199".equals(codeString)) + return _231199; + if ("231200".equals(codeString)) + return _231200; + if ("231211".equals(codeString)) + return _231211; + if ("231212".equals(codeString)) + return _231212; + if ("231213".equals(codeString)) + return _231213; + if ("231214".equals(codeString)) + return _231214; + if ("231215".equals(codeString)) + return _231215; + if ("231299".equals(codeString)) + return _231299; + if ("232000".equals(codeString)) + return _232000; + if ("232100".equals(codeString)) + return _232100; + if ("232111".equals(codeString)) + return _232111; + if ("232112".equals(codeString)) + return _232112; + if ("232200".equals(codeString)) + return _232200; + if ("232211".equals(codeString)) + return _232211; + if ("232212".equals(codeString)) + return _232212; + if ("232300".equals(codeString)) + return _232300; + if ("232311".equals(codeString)) + return _232311; + if ("232312".equals(codeString)) + return _232312; + if ("232313".equals(codeString)) + return _232313; + if ("232400".equals(codeString)) + return _232400; + if ("232411".equals(codeString)) + return _232411; + if ("232412".equals(codeString)) + return _232412; + if ("232413".equals(codeString)) + return _232413; + if ("232414".equals(codeString)) + return _232414; + if ("232511".equals(codeString)) + return _232511; + if ("232611".equals(codeString)) + return _232611; + if ("233000".equals(codeString)) + return _233000; + if ("233100".equals(codeString)) + return _233100; + if ("233111".equals(codeString)) + return _233111; + if ("233112".equals(codeString)) + return _233112; + if ("233200".equals(codeString)) + return _233200; + if ("233211".equals(codeString)) + return _233211; + if ("233212".equals(codeString)) + return _233212; + if ("233213".equals(codeString)) + return _233213; + if ("233214".equals(codeString)) + return _233214; + if ("233215".equals(codeString)) + return _233215; + if ("233311".equals(codeString)) + return _233311; + if ("233411".equals(codeString)) + return _233411; + if ("233500".equals(codeString)) + return _233500; + if ("233511".equals(codeString)) + return _233511; + if ("233512".equals(codeString)) + return _233512; + if ("233513".equals(codeString)) + return _233513; + if ("233600".equals(codeString)) + return _233600; + if ("233611".equals(codeString)) + return _233611; + if ("233612".equals(codeString)) + return _233612; + if ("233900".equals(codeString)) + return _233900; + if ("233911".equals(codeString)) + return _233911; + if ("233912".equals(codeString)) + return _233912; + if ("233913".equals(codeString)) + return _233913; + if ("233914".equals(codeString)) + return _233914; + if ("233915".equals(codeString)) + return _233915; + if ("233916".equals(codeString)) + return _233916; + if ("233999".equals(codeString)) + return _233999; + if ("234000".equals(codeString)) + return _234000; + if ("234100".equals(codeString)) + return _234100; + if ("234111".equals(codeString)) + return _234111; + if ("234112".equals(codeString)) + return _234112; + if ("234113".equals(codeString)) + return _234113; + if ("234200".equals(codeString)) + return _234200; + if ("234211".equals(codeString)) + return _234211; + if ("234212".equals(codeString)) + return _234212; + if ("234213".equals(codeString)) + return _234213; + if ("234300".equals(codeString)) + return _234300; + if ("234311".equals(codeString)) + return _234311; + if ("234312".equals(codeString)) + return _234312; + if ("234313".equals(codeString)) + return _234313; + if ("234314".equals(codeString)) + return _234314; + if ("234399".equals(codeString)) + return _234399; + if ("234400".equals(codeString)) + return _234400; + if ("234411".equals(codeString)) + return _234411; + if ("234412".equals(codeString)) + return _234412; + if ("234500".equals(codeString)) + return _234500; + if ("234511".equals(codeString)) + return _234511; + if ("234512".equals(codeString)) + return _234512; + if ("234513".equals(codeString)) + return _234513; + if ("234514".equals(codeString)) + return _234514; + if ("234515".equals(codeString)) + return _234515; + if ("234516".equals(codeString)) + return _234516; + if ("234517".equals(codeString)) + return _234517; + if ("234518".equals(codeString)) + return _234518; + if ("234599".equals(codeString)) + return _234599; + if ("234611".equals(codeString)) + return _234611; + if ("234711".equals(codeString)) + return _234711; + if ("234900".equals(codeString)) + return _234900; + if ("234911".equals(codeString)) + return _234911; + if ("234912".equals(codeString)) + return _234912; + if ("234913".equals(codeString)) + return _234913; + if ("234914".equals(codeString)) + return _234914; + if ("234999".equals(codeString)) + return _234999; + if ("240000".equals(codeString)) + return _240000; + if ("241000".equals(codeString)) + return _241000; + if ("241111".equals(codeString)) + return _241111; + if ("241213".equals(codeString)) + return _241213; + if ("241311".equals(codeString)) + return _241311; + if ("241411".equals(codeString)) + return _241411; + if ("241500".equals(codeString)) + return _241500; + if ("241511".equals(codeString)) + return _241511; + if ("241512".equals(codeString)) + return _241512; + if ("241513".equals(codeString)) + return _241513; + if ("241599".equals(codeString)) + return _241599; + if ("242000".equals(codeString)) + return _242000; + if ("242100".equals(codeString)) + return _242100; + if ("242111".equals(codeString)) + return _242111; + if ("242112".equals(codeString)) + return _242112; + if ("242211".equals(codeString)) + return _242211; + if ("249000".equals(codeString)) + return _249000; + if ("249100".equals(codeString)) + return _249100; + if ("249111".equals(codeString)) + return _249111; + if ("249112".equals(codeString)) + return _249112; + if ("249200".equals(codeString)) + return _249200; + if ("249211".equals(codeString)) + return _249211; + if ("249212".equals(codeString)) + return _249212; + if ("249213".equals(codeString)) + return _249213; + if ("249214".equals(codeString)) + return _249214; + if ("249299".equals(codeString)) + return _249299; + if ("249311".equals(codeString)) + return _249311; + if ("250000".equals(codeString)) + return _250000; + if ("251000".equals(codeString)) + return _251000; + if ("251111".equals(codeString)) + return _251111; + if ("251200".equals(codeString)) + return _251200; + if ("251211".equals(codeString)) + return _251211; + if ("251212".equals(codeString)) + return _251212; + if ("251213".equals(codeString)) + return _251213; + if ("251214".equals(codeString)) + return _251214; + if ("251300".equals(codeString)) + return _251300; + if ("251311".equals(codeString)) + return _251311; + if ("251312".equals(codeString)) + return _251312; + if ("251400".equals(codeString)) + return _251400; + if ("251411".equals(codeString)) + return _251411; + if ("251412".equals(codeString)) + return _251412; + if ("251500".equals(codeString)) + return _251500; + if ("251511".equals(codeString)) + return _251511; + if ("251512".equals(codeString)) + return _251512; + if ("251513".equals(codeString)) + return _251513; + if ("251900".equals(codeString)) + return _251900; + if ("251911".equals(codeString)) + return _251911; + if ("251912".equals(codeString)) + return _251912; + if ("251999".equals(codeString)) + return _251999; + if ("252000".equals(codeString)) + return _252000; + if ("252100".equals(codeString)) + return _252100; + if ("252111".equals(codeString)) + return _252111; + if ("252112".equals(codeString)) + return _252112; + if ("252200".equals(codeString)) + return _252200; + if ("252211".equals(codeString)) + return _252211; + if ("252212".equals(codeString)) + return _252212; + if ("252213".equals(codeString)) + return _252213; + if ("252214".equals(codeString)) + return _252214; + if ("252299".equals(codeString)) + return _252299; + if ("252300".equals(codeString)) + return _252300; + if ("252311".equals(codeString)) + return _252311; + if ("252312".equals(codeString)) + return _252312; + if ("252411".equals(codeString)) + return _252411; + if ("252511".equals(codeString)) + return _252511; + if ("252611".equals(codeString)) + return _252611; + if ("252700".equals(codeString)) + return _252700; + if ("252711".equals(codeString)) + return _252711; + if ("252712".equals(codeString)) + return _252712; + if ("253000".equals(codeString)) + return _253000; + if ("253100".equals(codeString)) + return _253100; + if ("253111".equals(codeString)) + return _253111; + if ("253112".equals(codeString)) + return _253112; + if ("253211".equals(codeString)) + return _253211; + if ("253300".equals(codeString)) + return _253300; + if ("253311".equals(codeString)) + return _253311; + if ("253312".equals(codeString)) + return _253312; + if ("253313".equals(codeString)) + return _253313; + if ("253314".equals(codeString)) + return _253314; + if ("253315".equals(codeString)) + return _253315; + if ("253316".equals(codeString)) + return _253316; + if ("253317".equals(codeString)) + return _253317; + if ("253318".equals(codeString)) + return _253318; + if ("253321".equals(codeString)) + return _253321; + if ("253322".equals(codeString)) + return _253322; + if ("253323".equals(codeString)) + return _253323; + if ("253324".equals(codeString)) + return _253324; + if ("253399".equals(codeString)) + return _253399; + if ("253411".equals(codeString)) + return _253411; + if ("253500".equals(codeString)) + return _253500; + if ("253511".equals(codeString)) + return _253511; + if ("253512".equals(codeString)) + return _253512; + if ("253513".equals(codeString)) + return _253513; + if ("253514".equals(codeString)) + return _253514; + if ("253515".equals(codeString)) + return _253515; + if ("253516".equals(codeString)) + return _253516; + if ("253517".equals(codeString)) + return _253517; + if ("253518".equals(codeString)) + return _253518; + if ("253521".equals(codeString)) + return _253521; + if ("253900".equals(codeString)) + return _253900; + if ("253911".equals(codeString)) + return _253911; + if ("253912".equals(codeString)) + return _253912; + if ("253913".equals(codeString)) + return _253913; + if ("253914".equals(codeString)) + return _253914; + if ("253915".equals(codeString)) + return _253915; + if ("253916".equals(codeString)) + return _253916; + if ("253999".equals(codeString)) + return _253999; + if ("254000".equals(codeString)) + return _254000; + if ("254111".equals(codeString)) + return _254111; + if ("254200".equals(codeString)) + return _254200; + if ("254211".equals(codeString)) + return _254211; + if ("254212".equals(codeString)) + return _254212; + if ("254311".equals(codeString)) + return _254311; + if ("254400".equals(codeString)) + return _254400; + if ("254411".equals(codeString)) + return _254411; + if ("254412".equals(codeString)) + return _254412; + if ("254413".equals(codeString)) + return _254413; + if ("254414".equals(codeString)) + return _254414; + if ("254415".equals(codeString)) + return _254415; + if ("254416".equals(codeString)) + return _254416; + if ("254417".equals(codeString)) + return _254417; + if ("254418".equals(codeString)) + return _254418; + if ("254421".equals(codeString)) + return _254421; + if ("254422".equals(codeString)) + return _254422; + if ("254423".equals(codeString)) + return _254423; + if ("254424".equals(codeString)) + return _254424; + if ("254499".equals(codeString)) + return _254499; + if ("260000".equals(codeString)) + return _260000; + if ("261000".equals(codeString)) + return _261000; + if ("261100".equals(codeString)) + return _261100; + if ("261111".equals(codeString)) + return _261111; + if ("261112".equals(codeString)) + return _261112; + if ("261200".equals(codeString)) + return _261200; + if ("261211".equals(codeString)) + return _261211; + if ("261212".equals(codeString)) + return _261212; + if ("261300".equals(codeString)) + return _261300; + if ("261311".equals(codeString)) + return _261311; + if ("261312".equals(codeString)) + return _261312; + if ("261313".equals(codeString)) + return _261313; + if ("261399".equals(codeString)) + return _261399; + if ("262100".equals(codeString)) + return _262100; + if ("262111".equals(codeString)) + return _262111; + if ("262112".equals(codeString)) + return _262112; + if ("262113".equals(codeString)) + return _262113; + if ("263000".equals(codeString)) + return _263000; + if ("263100".equals(codeString)) + return _263100; + if ("263111".equals(codeString)) + return _263111; + if ("263112".equals(codeString)) + return _263112; + if ("263113".equals(codeString)) + return _263113; + if ("263200".equals(codeString)) + return _263200; + if ("263211".equals(codeString)) + return _263211; + if ("263212".equals(codeString)) + return _263212; + if ("263213".equals(codeString)) + return _263213; + if ("263299".equals(codeString)) + return _263299; + if ("263300".equals(codeString)) + return _263300; + if ("263311".equals(codeString)) + return _263311; + if ("263312".equals(codeString)) + return _263312; + if ("270000".equals(codeString)) + return _270000; + if ("271000".equals(codeString)) + return _271000; + if ("271111".equals(codeString)) + return _271111; + if ("271200".equals(codeString)) + return _271200; + if ("271211".equals(codeString)) + return _271211; + if ("271212".equals(codeString)) + return _271212; + if ("271213".equals(codeString)) + return _271213; + if ("271299".equals(codeString)) + return _271299; + if ("271311".equals(codeString)) + return _271311; + if ("272000".equals(codeString)) + return _272000; + if ("272100".equals(codeString)) + return _272100; + if ("272111".equals(codeString)) + return _272111; + if ("272112".equals(codeString)) + return _272112; + if ("272113".equals(codeString)) + return _272113; + if ("272114".equals(codeString)) + return _272114; + if ("272115".equals(codeString)) + return _272115; + if ("272199".equals(codeString)) + return _272199; + if ("272211".equals(codeString)) + return _272211; + if ("272300".equals(codeString)) + return _272300; + if ("272311".equals(codeString)) + return _272311; + if ("272312".equals(codeString)) + return _272312; + if ("272313".equals(codeString)) + return _272313; + if ("272314".equals(codeString)) + return _272314; + if ("272399".equals(codeString)) + return _272399; + if ("272400".equals(codeString)) + return _272400; + if ("272411".equals(codeString)) + return _272411; + if ("272412".equals(codeString)) + return _272412; + if ("272413".equals(codeString)) + return _272413; + if ("272499".equals(codeString)) + return _272499; + if ("272511".equals(codeString)) + return _272511; + if ("272600".equals(codeString)) + return _272600; + if ("272611".equals(codeString)) + return _272611; + if ("272612".equals(codeString)) + return _272612; + if ("272613".equals(codeString)) + return _272613; + if ("300000".equals(codeString)) + return _300000; + if ("310000".equals(codeString)) + return _310000; + if ("311000".equals(codeString)) + return _311000; + if ("311111".equals(codeString)) + return _311111; + if ("311200".equals(codeString)) + return _311200; + if ("311211".equals(codeString)) + return _311211; + if ("311212".equals(codeString)) + return _311212; + if ("311213".equals(codeString)) + return _311213; + if ("311214".equals(codeString)) + return _311214; + if ("311215".equals(codeString)) + return _311215; + if ("311299".equals(codeString)) + return _311299; + if ("311300".equals(codeString)) + return _311300; + if ("311311".equals(codeString)) + return _311311; + if ("311312".equals(codeString)) + return _311312; + if ("311313".equals(codeString)) + return _311313; + if ("311399".equals(codeString)) + return _311399; + if ("311400".equals(codeString)) + return _311400; + if ("311411".equals(codeString)) + return _311411; + if ("311412".equals(codeString)) + return _311412; + if ("311413".equals(codeString)) + return _311413; + if ("311414".equals(codeString)) + return _311414; + if ("311499".equals(codeString)) + return _311499; + if ("312000".equals(codeString)) + return _312000; + if ("312100".equals(codeString)) + return _312100; + if ("312111".equals(codeString)) + return _312111; + if ("312112".equals(codeString)) + return _312112; + if ("312113".equals(codeString)) + return _312113; + if ("312114".equals(codeString)) + return _312114; + if ("312115".equals(codeString)) + return _312115; + if ("312116".equals(codeString)) + return _312116; + if ("312200".equals(codeString)) + return _312200; + if ("312211".equals(codeString)) + return _312211; + if ("312212".equals(codeString)) + return _312212; + if ("312300".equals(codeString)) + return _312300; + if ("312311".equals(codeString)) + return _312311; + if ("312312".equals(codeString)) + return _312312; + if ("312400".equals(codeString)) + return _312400; + if ("312411".equals(codeString)) + return _312411; + if ("312412".equals(codeString)) + return _312412; + if ("312500".equals(codeString)) + return _312500; + if ("312511".equals(codeString)) + return _312511; + if ("312512".equals(codeString)) + return _312512; + if ("312611".equals(codeString)) + return _312611; + if ("312900".equals(codeString)) + return _312900; + if ("312911".equals(codeString)) + return _312911; + if ("312912".equals(codeString)) + return _312912; + if ("312913".equals(codeString)) + return _312913; + if ("312999".equals(codeString)) + return _312999; + if ("313000".equals(codeString)) + return _313000; + if ("313100".equals(codeString)) + return _313100; + if ("313111".equals(codeString)) + return _313111; + if ("313112".equals(codeString)) + return _313112; + if ("313113".equals(codeString)) + return _313113; + if ("313199".equals(codeString)) + return _313199; + if ("313200".equals(codeString)) + return _313200; + if ("313211".equals(codeString)) + return _313211; + if ("313212".equals(codeString)) + return _313212; + if ("313213".equals(codeString)) + return _313213; + if ("313214".equals(codeString)) + return _313214; + if ("320000".equals(codeString)) + return _320000; + if ("321000".equals(codeString)) + return _321000; + if ("321111".equals(codeString)) + return _321111; + if ("321200".equals(codeString)) + return _321200; + if ("321211".equals(codeString)) + return _321211; + if ("321212".equals(codeString)) + return _321212; + if ("321213".equals(codeString)) + return _321213; + if ("321214".equals(codeString)) + return _321214; + if ("322000".equals(codeString)) + return _322000; + if ("322100".equals(codeString)) + return _322100; + if ("322111".equals(codeString)) + return _322111; + if ("322112".equals(codeString)) + return _322112; + if ("322113".equals(codeString)) + return _322113; + if ("322114".equals(codeString)) + return _322114; + if ("322115".equals(codeString)) + return _322115; + if ("322211".equals(codeString)) + return _322211; + if ("322300".equals(codeString)) + return _322300; + if ("322311".equals(codeString)) + return _322311; + if ("322312".equals(codeString)) + return _322312; + if ("322313".equals(codeString)) + return _322313; + if ("323000".equals(codeString)) + return _323000; + if ("323100".equals(codeString)) + return _323100; + if ("323111".equals(codeString)) + return _323111; + if ("323112".equals(codeString)) + return _323112; + if ("323113".equals(codeString)) + return _323113; + if ("323200".equals(codeString)) + return _323200; + if ("323211".equals(codeString)) + return _323211; + if ("323212".equals(codeString)) + return _323212; + if ("323213".equals(codeString)) + return _323213; + if ("323214".equals(codeString)) + return _323214; + if ("323215".equals(codeString)) + return _323215; + if ("323299".equals(codeString)) + return _323299; + if ("323300".equals(codeString)) + return _323300; + if ("323311".equals(codeString)) + return _323311; + if ("323312".equals(codeString)) + return _323312; + if ("323313".equals(codeString)) + return _323313; + if ("323314".equals(codeString)) + return _323314; + if ("323315".equals(codeString)) + return _323315; + if ("323316".equals(codeString)) + return _323316; + if ("323400".equals(codeString)) + return _323400; + if ("323411".equals(codeString)) + return _323411; + if ("323412".equals(codeString)) + return _323412; + if ("324000".equals(codeString)) + return _324000; + if ("324111".equals(codeString)) + return _324111; + if ("324200".equals(codeString)) + return _324200; + if ("324211".equals(codeString)) + return _324211; + if ("324212".equals(codeString)) + return _324212; + if ("324311".equals(codeString)) + return _324311; + if ("330000".equals(codeString)) + return _330000; + if ("331000".equals(codeString)) + return _331000; + if ("331100".equals(codeString)) + return _331100; + if ("331111".equals(codeString)) + return _331111; + if ("331112".equals(codeString)) + return _331112; + if ("331211".equals(codeString)) + return _331211; + if ("331212".equals(codeString)) + return _331212; + if ("331213".equals(codeString)) + return _331213; + if ("332000".equals(codeString)) + return _332000; + if ("332111".equals(codeString)) + return _332111; + if ("332211".equals(codeString)) + return _332211; + if ("333000".equals(codeString)) + return _333000; + if ("333111".equals(codeString)) + return _333111; + if ("333200".equals(codeString)) + return _333200; + if ("333211".equals(codeString)) + return _333211; + if ("333212".equals(codeString)) + return _333212; + if ("333311".equals(codeString)) + return _333311; + if ("333411".equals(codeString)) + return _333411; + if ("334100".equals(codeString)) + return _334100; + if ("334111".equals(codeString)) + return _334111; + if ("334112".equals(codeString)) + return _334112; + if ("334113".equals(codeString)) + return _334113; + if ("334114".equals(codeString)) + return _334114; + if ("334115".equals(codeString)) + return _334115; + if ("340000".equals(codeString)) + return _340000; + if ("341100".equals(codeString)) + return _341100; + if ("341111".equals(codeString)) + return _341111; + if ("341112".equals(codeString)) + return _341112; + if ("341113".equals(codeString)) + return _341113; + if ("342000".equals(codeString)) + return _342000; + if ("342111".equals(codeString)) + return _342111; + if ("342200".equals(codeString)) + return _342200; + if ("342211".equals(codeString)) + return _342211; + if ("342212".equals(codeString)) + return _342212; + if ("342300".equals(codeString)) + return _342300; + if ("342311".equals(codeString)) + return _342311; + if ("342312".equals(codeString)) + return _342312; + if ("342313".equals(codeString)) + return _342313; + if ("342314".equals(codeString)) + return _342314; + if ("342315".equals(codeString)) + return _342315; + if ("342400".equals(codeString)) + return _342400; + if ("342411".equals(codeString)) + return _342411; + if ("342412".equals(codeString)) + return _342412; + if ("342413".equals(codeString)) + return _342413; + if ("342414".equals(codeString)) + return _342414; + if ("351000".equals(codeString)) + return _351000; + if ("351100".equals(codeString)) + return _351100; + if ("351111".equals(codeString)) + return _351111; + if ("351112".equals(codeString)) + return _351112; + if ("351211".equals(codeString)) + return _351211; + if ("351311".equals(codeString)) + return _351311; + if ("351411".equals(codeString)) + return _351411; + if ("360000".equals(codeString)) + return _360000; + if ("361000".equals(codeString)) + return _361000; + if ("361100".equals(codeString)) + return _361100; + if ("361111".equals(codeString)) + return _361111; + if ("361112".equals(codeString)) + return _361112; + if ("361113".equals(codeString)) + return _361113; + if ("361114".equals(codeString)) + return _361114; + if ("361199".equals(codeString)) + return _361199; + if ("361211".equals(codeString)) + return _361211; + if ("361311".equals(codeString)) + return _361311; + if ("362000".equals(codeString)) + return _362000; + if ("362111".equals(codeString)) + return _362111; + if ("362200".equals(codeString)) + return _362200; + if ("362211".equals(codeString)) + return _362211; + if ("362212".equals(codeString)) + return _362212; + if ("362213".equals(codeString)) + return _362213; + if ("362311".equals(codeString)) + return _362311; + if ("362411".equals(codeString)) + return _362411; + if ("390000".equals(codeString)) + return _390000; + if ("391111".equals(codeString)) + return _391111; + if ("392000".equals(codeString)) + return _392000; + if ("392100".equals(codeString)) + return _392100; + if ("392111".equals(codeString)) + return _392111; + if ("392112".equals(codeString)) + return _392112; + if ("392211".equals(codeString)) + return _392211; + if ("392300".equals(codeString)) + return _392300; + if ("392311".equals(codeString)) + return _392311; + if ("392312".equals(codeString)) + return _392312; + if ("393000".equals(codeString)) + return _393000; + if ("393100".equals(codeString)) + return _393100; + if ("393111".equals(codeString)) + return _393111; + if ("393112".equals(codeString)) + return _393112; + if ("393113".equals(codeString)) + return _393113; + if ("393114".equals(codeString)) + return _393114; + if ("393200".equals(codeString)) + return _393200; + if ("393211".equals(codeString)) + return _393211; + if ("393212".equals(codeString)) + return _393212; + if ("393213".equals(codeString)) + return _393213; + if ("393299".equals(codeString)) + return _393299; + if ("393311".equals(codeString)) + return _393311; + if ("394000".equals(codeString)) + return _394000; + if ("394111".equals(codeString)) + return _394111; + if ("394200".equals(codeString)) + return _394200; + if ("394211".equals(codeString)) + return _394211; + if ("394212".equals(codeString)) + return _394212; + if ("394213".equals(codeString)) + return _394213; + if ("394214".equals(codeString)) + return _394214; + if ("394299".equals(codeString)) + return _394299; + if ("399000".equals(codeString)) + return _399000; + if ("399100".equals(codeString)) + return _399100; + if ("399111".equals(codeString)) + return _399111; + if ("399112".equals(codeString)) + return _399112; + if ("399200".equals(codeString)) + return _399200; + if ("399211".equals(codeString)) + return _399211; + if ("399212".equals(codeString)) + return _399212; + if ("399213".equals(codeString)) + return _399213; + if ("399300".equals(codeString)) + return _399300; + if ("399311".equals(codeString)) + return _399311; + if ("399312".equals(codeString)) + return _399312; + if ("399411".equals(codeString)) + return _399411; + if ("399500".equals(codeString)) + return _399500; + if ("399511".equals(codeString)) + return _399511; + if ("399512".equals(codeString)) + return _399512; + if ("399513".equals(codeString)) + return _399513; + if ("399514".equals(codeString)) + return _399514; + if ("399515".equals(codeString)) + return _399515; + if ("399516".equals(codeString)) + return _399516; + if ("399517".equals(codeString)) + return _399517; + if ("399599".equals(codeString)) + return _399599; + if ("399611".equals(codeString)) + return _399611; + if ("399900".equals(codeString)) + return _399900; + if ("399911".equals(codeString)) + return _399911; + if ("399912".equals(codeString)) + return _399912; + if ("399913".equals(codeString)) + return _399913; + if ("399914".equals(codeString)) + return _399914; + if ("399915".equals(codeString)) + return _399915; + if ("399916".equals(codeString)) + return _399916; + if ("399917".equals(codeString)) + return _399917; + if ("399999".equals(codeString)) + return _399999; + if ("400000".equals(codeString)) + return _400000; + if ("411000".equals(codeString)) + return _411000; + if ("411100".equals(codeString)) + return _411100; + if ("411111".equals(codeString)) + return _411111; + if ("411112".equals(codeString)) + return _411112; + if ("411200".equals(codeString)) + return _411200; + if ("411211".equals(codeString)) + return _411211; + if ("411212".equals(codeString)) + return _411212; + if ("411213".equals(codeString)) + return _411213; + if ("411214".equals(codeString)) + return _411214; + if ("411311".equals(codeString)) + return _411311; + if ("411400".equals(codeString)) + return _411400; + if ("411411".equals(codeString)) + return _411411; + if ("411412".equals(codeString)) + return _411412; + if ("411511".equals(codeString)) + return _411511; + if ("411611".equals(codeString)) + return _411611; + if ("411700".equals(codeString)) + return _411700; + if ("411711".equals(codeString)) + return _411711; + if ("411712".equals(codeString)) + return _411712; + if ("411713".equals(codeString)) + return _411713; + if ("411714".equals(codeString)) + return _411714; + if ("411715".equals(codeString)) + return _411715; + if ("411716".equals(codeString)) + return _411716; + if ("420000".equals(codeString)) + return _420000; + if ("421100".equals(codeString)) + return _421100; + if ("421111".equals(codeString)) + return _421111; + if ("421112".equals(codeString)) + return _421112; + if ("421113".equals(codeString)) + return _421113; + if ("421114".equals(codeString)) + return _421114; + if ("422100".equals(codeString)) + return _422100; + if ("422111".equals(codeString)) + return _422111; + if ("422112".equals(codeString)) + return _422112; + if ("422115".equals(codeString)) + return _422115; + if ("422116".equals(codeString)) + return _422116; + if ("423000".equals(codeString)) + return _423000; + if ("423111".equals(codeString)) + return _423111; + if ("423211".equals(codeString)) + return _423211; + if ("423300".equals(codeString)) + return _423300; + if ("423311".equals(codeString)) + return _423311; + if ("423312".equals(codeString)) + return _423312; + if ("423313".equals(codeString)) + return _423313; + if ("423314".equals(codeString)) + return _423314; + if ("423400".equals(codeString)) + return _423400; + if ("423411".equals(codeString)) + return _423411; + if ("423412".equals(codeString)) + return _423412; + if ("423413".equals(codeString)) + return _423413; + if ("431000".equals(codeString)) + return _431000; + if ("431100".equals(codeString)) + return _431100; + if ("431111".equals(codeString)) + return _431111; + if ("431112".equals(codeString)) + return _431112; + if ("431211".equals(codeString)) + return _431211; + if ("431311".equals(codeString)) + return _431311; + if ("431411".equals(codeString)) + return _431411; + if ("431511".equals(codeString)) + return _431511; + if ("431900".equals(codeString)) + return _431900; + if ("431911".equals(codeString)) + return _431911; + if ("431912".equals(codeString)) + return _431912; + if ("431999".equals(codeString)) + return _431999; + if ("440000".equals(codeString)) + return _440000; + if ("441000".equals(codeString)) + return _441000; + if ("441111".equals(codeString)) + return _441111; + if ("441200".equals(codeString)) + return _441200; + if ("441211".equals(codeString)) + return _441211; + if ("441212".equals(codeString)) + return _441212; + if ("441300".equals(codeString)) + return _441300; + if ("441311".equals(codeString)) + return _441311; + if ("441312".equals(codeString)) + return _441312; + if ("442000".equals(codeString)) + return _442000; + if ("442111".equals(codeString)) + return _442111; + if ("442200".equals(codeString)) + return _442200; + if ("442211".equals(codeString)) + return _442211; + if ("442212".equals(codeString)) + return _442212; + if ("442213".equals(codeString)) + return _442213; + if ("442214".equals(codeString)) + return _442214; + if ("442215".equals(codeString)) + return _442215; + if ("442216".equals(codeString)) + return _442216; + if ("442217".equals(codeString)) + return _442217; + if ("442299".equals(codeString)) + return _442299; + if ("450000".equals(codeString)) + return _450000; + if ("451000".equals(codeString)) + return _451000; + if ("451111".equals(codeString)) + return _451111; + if ("451211".equals(codeString)) + return _451211; + if ("451300".equals(codeString)) + return _451300; + if ("451311".equals(codeString)) + return _451311; + if ("451399".equals(codeString)) + return _451399; + if ("451400".equals(codeString)) + return _451400; + if ("451411".equals(codeString)) + return _451411; + if ("451412".equals(codeString)) + return _451412; + if ("451500".equals(codeString)) + return _451500; + if ("451511".equals(codeString)) + return _451511; + if ("451512".equals(codeString)) + return _451512; + if ("451600".equals(codeString)) + return _451600; + if ("451611".equals(codeString)) + return _451611; + if ("451612".equals(codeString)) + return _451612; + if ("451700".equals(codeString)) + return _451700; + if ("451711".equals(codeString)) + return _451711; + if ("451799".equals(codeString)) + return _451799; + if ("451800".equals(codeString)) + return _451800; + if ("451811".equals(codeString)) + return _451811; + if ("451812".equals(codeString)) + return _451812; + if ("451813".equals(codeString)) + return _451813; + if ("451899".equals(codeString)) + return _451899; + if ("452000".equals(codeString)) + return _452000; + if ("452111".equals(codeString)) + return _452111; + if ("452200".equals(codeString)) + return _452200; + if ("452211".equals(codeString)) + return _452211; + if ("452212".equals(codeString)) + return _452212; + if ("452213".equals(codeString)) + return _452213; + if ("452214".equals(codeString)) + return _452214; + if ("452215".equals(codeString)) + return _452215; + if ("452216".equals(codeString)) + return _452216; + if ("452217".equals(codeString)) + return _452217; + if ("452299".equals(codeString)) + return _452299; + if ("452300".equals(codeString)) + return _452300; + if ("452311".equals(codeString)) + return _452311; + if ("452312".equals(codeString)) + return _452312; + if ("452313".equals(codeString)) + return _452313; + if ("452314".equals(codeString)) + return _452314; + if ("452315".equals(codeString)) + return _452315; + if ("452316".equals(codeString)) + return _452316; + if ("452317".equals(codeString)) + return _452317; + if ("452318".equals(codeString)) + return _452318; + if ("452321".equals(codeString)) + return _452321; + if ("452322".equals(codeString)) + return _452322; + if ("452323".equals(codeString)) + return _452323; + if ("452400".equals(codeString)) + return _452400; + if ("452411".equals(codeString)) + return _452411; + if ("452412".equals(codeString)) + return _452412; + if ("452413".equals(codeString)) + return _452413; + if ("452414".equals(codeString)) + return _452414; + if ("452499".equals(codeString)) + return _452499; + if ("500000".equals(codeString)) + return _500000; + if ("510000".equals(codeString)) + return _510000; + if ("511100".equals(codeString)) + return _511100; + if ("511111".equals(codeString)) + return _511111; + if ("511112".equals(codeString)) + return _511112; + if ("512000".equals(codeString)) + return _512000; + if ("512111".equals(codeString)) + return _512111; + if ("512200".equals(codeString)) + return _512200; + if ("512211".equals(codeString)) + return _512211; + if ("512299".equals(codeString)) + return _512299; + if ("521000".equals(codeString)) + return _521000; + if ("521111".equals(codeString)) + return _521111; + if ("521200".equals(codeString)) + return _521200; + if ("521211".equals(codeString)) + return _521211; + if ("521212".equals(codeString)) + return _521212; + if ("530000".equals(codeString)) + return _530000; + if ("531111".equals(codeString)) + return _531111; + if ("532100".equals(codeString)) + return _532100; + if ("532111".equals(codeString)) + return _532111; + if ("532112".equals(codeString)) + return _532112; + if ("532113".equals(codeString)) + return _532113; + if ("540000".equals(codeString)) + return _540000; + if ("541000".equals(codeString)) + return _541000; + if ("541100".equals(codeString)) + return _541100; + if ("541111".equals(codeString)) + return _541111; + if ("541112".equals(codeString)) + return _541112; + if ("541211".equals(codeString)) + return _541211; + if ("542100".equals(codeString)) + return _542100; + if ("542111".equals(codeString)) + return _542111; + if ("542112".equals(codeString)) + return _542112; + if ("542113".equals(codeString)) + return _542113; + if ("542114".equals(codeString)) + return _542114; + if ("550000".equals(codeString)) + return _550000; + if ("551000".equals(codeString)) + return _551000; + if ("551100".equals(codeString)) + return _551100; + if ("551111".equals(codeString)) + return _551111; + if ("551112".equals(codeString)) + return _551112; + if ("551211".equals(codeString)) + return _551211; + if ("551311".equals(codeString)) + return _551311; + if ("552000".equals(codeString)) + return _552000; + if ("552111".equals(codeString)) + return _552111; + if ("552211".equals(codeString)) + return _552211; + if ("552300".equals(codeString)) + return _552300; + if ("552311".equals(codeString)) + return _552311; + if ("552312".equals(codeString)) + return _552312; + if ("552313".equals(codeString)) + return _552313; + if ("552314".equals(codeString)) + return _552314; + if ("561000".equals(codeString)) + return _561000; + if ("561100".equals(codeString)) + return _561100; + if ("561111".equals(codeString)) + return _561111; + if ("561112".equals(codeString)) + return _561112; + if ("561113".equals(codeString)) + return _561113; + if ("561199".equals(codeString)) + return _561199; + if ("561200".equals(codeString)) + return _561200; + if ("561211".equals(codeString)) + return _561211; + if ("561212".equals(codeString)) + return _561212; + if ("561311".equals(codeString)) + return _561311; + if ("561400".equals(codeString)) + return _561400; + if ("561411".equals(codeString)) + return _561411; + if ("561412".equals(codeString)) + return _561412; + if ("561511".equals(codeString)) + return _561511; + if ("561611".equals(codeString)) + return _561611; + if ("561900".equals(codeString)) + return _561900; + if ("561911".equals(codeString)) + return _561911; + if ("561912".equals(codeString)) + return _561912; + if ("561913".equals(codeString)) + return _561913; + if ("561999".equals(codeString)) + return _561999; + if ("590000".equals(codeString)) + return _590000; + if ("591000".equals(codeString)) + return _591000; + if ("591100".equals(codeString)) + return _591100; + if ("591111".equals(codeString)) + return _591111; + if ("591112".equals(codeString)) + return _591112; + if ("591113".equals(codeString)) + return _591113; + if ("591114".equals(codeString)) + return _591114; + if ("591115".equals(codeString)) + return _591115; + if ("591116".equals(codeString)) + return _591116; + if ("591200".equals(codeString)) + return _591200; + if ("591211".equals(codeString)) + return _591211; + if ("591212".equals(codeString)) + return _591212; + if ("599000".equals(codeString)) + return _599000; + if ("599100".equals(codeString)) + return _599100; + if ("599111".equals(codeString)) + return _599111; + if ("599112".equals(codeString)) + return _599112; + if ("599200".equals(codeString)) + return _599200; + if ("599211".equals(codeString)) + return _599211; + if ("599212".equals(codeString)) + return _599212; + if ("599213".equals(codeString)) + return _599213; + if ("599214".equals(codeString)) + return _599214; + if ("599215".equals(codeString)) + return _599215; + if ("599311".equals(codeString)) + return _599311; + if ("599411".equals(codeString)) + return _599411; + if ("599500".equals(codeString)) + return _599500; + if ("599511".equals(codeString)) + return _599511; + if ("599512".equals(codeString)) + return _599512; + if ("599513".equals(codeString)) + return _599513; + if ("599514".equals(codeString)) + return _599514; + if ("599515".equals(codeString)) + return _599515; + if ("599516".equals(codeString)) + return _599516; + if ("599517".equals(codeString)) + return _599517; + if ("599518".equals(codeString)) + return _599518; + if ("599521".equals(codeString)) + return _599521; + if ("599599".equals(codeString)) + return _599599; + if ("599600".equals(codeString)) + return _599600; + if ("599611".equals(codeString)) + return _599611; + if ("599612".equals(codeString)) + return _599612; + if ("599613".equals(codeString)) + return _599613; + if ("599711".equals(codeString)) + return _599711; + if ("599900".equals(codeString)) + return _599900; + if ("599911".equals(codeString)) + return _599911; + if ("599912".equals(codeString)) + return _599912; + if ("599913".equals(codeString)) + return _599913; + if ("599914".equals(codeString)) + return _599914; + if ("599999".equals(codeString)) + return _599999; + if ("600000".equals(codeString)) + return _600000; + if ("610000".equals(codeString)) + return _610000; + if ("611000".equals(codeString)) + return _611000; + if ("611100".equals(codeString)) + return _611100; + if ("611111".equals(codeString)) + return _611111; + if ("611112".equals(codeString)) + return _611112; + if ("611211".equals(codeString)) + return _611211; + if ("611300".equals(codeString)) + return _611300; + if ("611311".equals(codeString)) + return _611311; + if ("611312".equals(codeString)) + return _611312; + if ("611313".equals(codeString)) + return _611313; + if ("611314".equals(codeString)) + return _611314; + if ("611399".equals(codeString)) + return _611399; + if ("612100".equals(codeString)) + return _612100; + if ("612111".equals(codeString)) + return _612111; + if ("612112".equals(codeString)) + return _612112; + if ("612113".equals(codeString)) + return _612113; + if ("612114".equals(codeString)) + return _612114; + if ("612115".equals(codeString)) + return _612115; + if ("621000".equals(codeString)) + return _621000; + if ("621111".equals(codeString)) + return _621111; + if ("621211".equals(codeString)) + return _621211; + if ("621300".equals(codeString)) + return _621300; + if ("621311".equals(codeString)) + return _621311; + if ("621312".equals(codeString)) + return _621312; + if ("621411".equals(codeString)) + return _621411; + if ("621511".equals(codeString)) + return _621511; + if ("621611".equals(codeString)) + return _621611; + if ("621700".equals(codeString)) + return _621700; + if ("621711".equals(codeString)) + return _621711; + if ("621712".equals(codeString)) + return _621712; + if ("621713".equals(codeString)) + return _621713; + if ("621900".equals(codeString)) + return _621900; + if ("621911".equals(codeString)) + return _621911; + if ("621912".equals(codeString)) + return _621912; + if ("621999".equals(codeString)) + return _621999; + if ("630000".equals(codeString)) + return _630000; + if ("631100".equals(codeString)) + return _631100; + if ("631111".equals(codeString)) + return _631111; + if ("631112".equals(codeString)) + return _631112; + if ("639000".equals(codeString)) + return _639000; + if ("639100".equals(codeString)) + return _639100; + if ("639111".equals(codeString)) + return _639111; + if ("639112".equals(codeString)) + return _639112; + if ("639200".equals(codeString)) + return _639200; + if ("639211".equals(codeString)) + return _639211; + if ("639212".equals(codeString)) + return _639212; + if ("639311".equals(codeString)) + return _639311; + if ("639400".equals(codeString)) + return _639400; + if ("639411".equals(codeString)) + return _639411; + if ("639412".equals(codeString)) + return _639412; + if ("639511".equals(codeString)) + return _639511; + if ("639911".equals(codeString)) + return _639911; + if ("700000".equals(codeString)) + return _700000; + if ("710000".equals(codeString)) + return _710000; + if ("711000".equals(codeString)) + return _711000; + if ("711100".equals(codeString)) + return _711100; + if ("711111".equals(codeString)) + return _711111; + if ("711112".equals(codeString)) + return _711112; + if ("711113".equals(codeString)) + return _711113; + if ("711114".equals(codeString)) + return _711114; + if ("711199".equals(codeString)) + return _711199; + if ("711211".equals(codeString)) + return _711211; + if ("711300".equals(codeString)) + return _711300; + if ("711311".equals(codeString)) + return _711311; + if ("711312".equals(codeString)) + return _711312; + if ("711411".equals(codeString)) + return _711411; + if ("711500".equals(codeString)) + return _711500; + if ("711511".equals(codeString)) + return _711511; + if ("711512".equals(codeString)) + return _711512; + if ("711513".equals(codeString)) + return _711513; + if ("711514".equals(codeString)) + return _711514; + if ("711515".equals(codeString)) + return _711515; + if ("711516".equals(codeString)) + return _711516; + if ("711599".equals(codeString)) + return _711599; + if ("711611".equals(codeString)) + return _711611; + if ("711700".equals(codeString)) + return _711700; + if ("711711".equals(codeString)) + return _711711; + if ("711712".equals(codeString)) + return _711712; + if ("711713".equals(codeString)) + return _711713; + if ("711714".equals(codeString)) + return _711714; + if ("711715".equals(codeString)) + return _711715; + if ("711716".equals(codeString)) + return _711716; + if ("711799".equals(codeString)) + return _711799; + if ("711900".equals(codeString)) + return _711900; + if ("711911".equals(codeString)) + return _711911; + if ("711912".equals(codeString)) + return _711912; + if ("711913".equals(codeString)) + return _711913; + if ("711914".equals(codeString)) + return _711914; + if ("711999".equals(codeString)) + return _711999; + if ("712000".equals(codeString)) + return _712000; + if ("712111".equals(codeString)) + return _712111; + if ("712200".equals(codeString)) + return _712200; + if ("712211".equals(codeString)) + return _712211; + if ("712212".equals(codeString)) + return _712212; + if ("712213".equals(codeString)) + return _712213; + if ("712311".equals(codeString)) + return _712311; + if ("712900".equals(codeString)) + return _712900; + if ("712911".equals(codeString)) + return _712911; + if ("712912".equals(codeString)) + return _712912; + if ("712913".equals(codeString)) + return _712913; + if ("712914".equals(codeString)) + return _712914; + if ("712915".equals(codeString)) + return _712915; + if ("712916".equals(codeString)) + return _712916; + if ("712917".equals(codeString)) + return _712917; + if ("712918".equals(codeString)) + return _712918; + if ("712921".equals(codeString)) + return _712921; + if ("712922".equals(codeString)) + return _712922; + if ("712999".equals(codeString)) + return _712999; + if ("721000".equals(codeString)) + return _721000; + if ("721100".equals(codeString)) + return _721100; + if ("721111".equals(codeString)) + return _721111; + if ("721112".equals(codeString)) + return _721112; + if ("721200".equals(codeString)) + return _721200; + if ("721211".equals(codeString)) + return _721211; + if ("721212".equals(codeString)) + return _721212; + if ("721213".equals(codeString)) + return _721213; + if ("721214".equals(codeString)) + return _721214; + if ("721215".equals(codeString)) + return _721215; + if ("721216".equals(codeString)) + return _721216; + if ("721311".equals(codeString)) + return _721311; + if ("721900".equals(codeString)) + return _721900; + if ("721911".equals(codeString)) + return _721911; + if ("721912".equals(codeString)) + return _721912; + if ("721913".equals(codeString)) + return _721913; + if ("721914".equals(codeString)) + return _721914; + if ("721915".equals(codeString)) + return _721915; + if ("721916".equals(codeString)) + return _721916; + if ("721999".equals(codeString)) + return _721999; + if ("730000".equals(codeString)) + return _730000; + if ("731000".equals(codeString)) + return _731000; + if ("731100".equals(codeString)) + return _731100; + if ("731111".equals(codeString)) + return _731111; + if ("731112".equals(codeString)) + return _731112; + if ("731199".equals(codeString)) + return _731199; + if ("731200".equals(codeString)) + return _731200; + if ("731211".equals(codeString)) + return _731211; + if ("731212".equals(codeString)) + return _731212; + if ("731213".equals(codeString)) + return _731213; + if ("731300".equals(codeString)) + return _731300; + if ("731311".equals(codeString)) + return _731311; + if ("731312".equals(codeString)) + return _731312; + if ("732111".equals(codeString)) + return _732111; + if ("733100".equals(codeString)) + return _733100; + if ("733111".equals(codeString)) + return _733111; + if ("733112".equals(codeString)) + return _733112; + if ("733113".equals(codeString)) + return _733113; + if ("733114".equals(codeString)) + return _733114; + if ("733115".equals(codeString)) + return _733115; + if ("741111".equals(codeString)) + return _741111; + if ("800000".equals(codeString)) + return _800000; + if ("811000".equals(codeString)) + return _811000; + if ("811111".equals(codeString)) + return _811111; + if ("811211".equals(codeString)) + return _811211; + if ("811311".equals(codeString)) + return _811311; + if ("811400".equals(codeString)) + return _811400; + if ("811411".equals(codeString)) + return _811411; + if ("811412".equals(codeString)) + return _811412; + if ("811500".equals(codeString)) + return _811500; + if ("811511".equals(codeString)) + return _811511; + if ("811512".equals(codeString)) + return _811512; + if ("811513".equals(codeString)) + return _811513; + if ("811600".equals(codeString)) + return _811600; + if ("811611".equals(codeString)) + return _811611; + if ("811612".equals(codeString)) + return _811612; + if ("811699".equals(codeString)) + return _811699; + if ("821000".equals(codeString)) + return _821000; + if ("821100".equals(codeString)) + return _821100; + if ("821111".equals(codeString)) + return _821111; + if ("821112".equals(codeString)) + return _821112; + if ("821113".equals(codeString)) + return _821113; + if ("821114".equals(codeString)) + return _821114; + if ("821211".equals(codeString)) + return _821211; + if ("821311".equals(codeString)) + return _821311; + if ("821400".equals(codeString)) + return _821400; + if ("821411".equals(codeString)) + return _821411; + if ("821412".equals(codeString)) + return _821412; + if ("821511".equals(codeString)) + return _821511; + if ("821611".equals(codeString)) + return _821611; + if ("821700".equals(codeString)) + return _821700; + if ("821711".equals(codeString)) + return _821711; + if ("821712".equals(codeString)) + return _821712; + if ("821713".equals(codeString)) + return _821713; + if ("821714".equals(codeString)) + return _821714; + if ("821900".equals(codeString)) + return _821900; + if ("821911".equals(codeString)) + return _821911; + if ("821912".equals(codeString)) + return _821912; + if ("821913".equals(codeString)) + return _821913; + if ("821914".equals(codeString)) + return _821914; + if ("821915".equals(codeString)) + return _821915; + if ("830000".equals(codeString)) + return _830000; + if ("831000".equals(codeString)) + return _831000; + if ("831100".equals(codeString)) + return _831100; + if ("831111".equals(codeString)) + return _831111; + if ("831112".equals(codeString)) + return _831112; + if ("831113".equals(codeString)) + return _831113; + if ("831114".equals(codeString)) + return _831114; + if ("831115".equals(codeString)) + return _831115; + if ("831116".equals(codeString)) + return _831116; + if ("831117".equals(codeString)) + return _831117; + if ("831118".equals(codeString)) + return _831118; + if ("831199".equals(codeString)) + return _831199; + if ("831200".equals(codeString)) + return _831200; + if ("831211".equals(codeString)) + return _831211; + if ("831212".equals(codeString)) + return _831212; + if ("831300".equals(codeString)) + return _831300; + if ("831311".equals(codeString)) + return _831311; + if ("831312".equals(codeString)) + return _831312; + if ("831313".equals(codeString)) + return _831313; + if ("832000".equals(codeString)) + return _832000; + if ("832100".equals(codeString)) + return _832100; + if ("832111".equals(codeString)) + return _832111; + if ("832112".equals(codeString)) + return _832112; + if ("832113".equals(codeString)) + return _832113; + if ("832114".equals(codeString)) + return _832114; + if ("832115".equals(codeString)) + return _832115; + if ("832199".equals(codeString)) + return _832199; + if ("832211".equals(codeString)) + return _832211; + if ("839000".equals(codeString)) + return _839000; + if ("839111".equals(codeString)) + return _839111; + if ("839200".equals(codeString)) + return _839200; + if ("839211".equals(codeString)) + return _839211; + if ("839212".equals(codeString)) + return _839212; + if ("839300".equals(codeString)) + return _839300; + if ("839311".equals(codeString)) + return _839311; + if ("839312".equals(codeString)) + return _839312; + if ("839313".equals(codeString)) + return _839313; + if ("839400".equals(codeString)) + return _839400; + if ("839411".equals(codeString)) + return _839411; + if ("839412".equals(codeString)) + return _839412; + if ("839413".equals(codeString)) + return _839413; + if ("839900".equals(codeString)) + return _839900; + if ("839911".equals(codeString)) + return _839911; + if ("839912".equals(codeString)) + return _839912; + if ("839913".equals(codeString)) + return _839913; + if ("839914".equals(codeString)) + return _839914; + if ("839915".equals(codeString)) + return _839915; + if ("839916".equals(codeString)) + return _839916; + if ("839917".equals(codeString)) + return _839917; + if ("839999".equals(codeString)) + return _839999; + if ("841000".equals(codeString)) + return _841000; + if ("841111".equals(codeString)) + return _841111; + if ("841200".equals(codeString)) + return _841200; + if ("841211".equals(codeString)) + return _841211; + if ("841212".equals(codeString)) + return _841212; + if ("841213".equals(codeString)) + return _841213; + if ("841214".equals(codeString)) + return _841214; + if ("841215".equals(codeString)) + return _841215; + if ("841216".equals(codeString)) + return _841216; + if ("841299".equals(codeString)) + return _841299; + if ("841300".equals(codeString)) + return _841300; + if ("841311".equals(codeString)) + return _841311; + if ("841312".equals(codeString)) + return _841312; + if ("841313".equals(codeString)) + return _841313; + if ("841400".equals(codeString)) + return _841400; + if ("841411".equals(codeString)) + return _841411; + if ("841412".equals(codeString)) + return _841412; + if ("841500".equals(codeString)) + return _841500; + if ("841511".equals(codeString)) + return _841511; + if ("841512".equals(codeString)) + return _841512; + if ("841513".equals(codeString)) + return _841513; + if ("841514".equals(codeString)) + return _841514; + if ("841515".equals(codeString)) + return _841515; + if ("841516".equals(codeString)) + return _841516; + if ("841517".equals(codeString)) + return _841517; + if ("841599".equals(codeString)) + return _841599; + if ("841611".equals(codeString)) + return _841611; + if ("841900".equals(codeString)) + return _841900; + if ("841911".equals(codeString)) + return _841911; + if ("841912".equals(codeString)) + return _841912; + if ("841999".equals(codeString)) + return _841999; + if ("851000".equals(codeString)) + return _851000; + if ("851111".equals(codeString)) + return _851111; + if ("851200".equals(codeString)) + return _851200; + if ("851211".equals(codeString)) + return _851211; + if ("851299".equals(codeString)) + return _851299; + if ("851311".equals(codeString)) + return _851311; + if ("890000".equals(codeString)) + return _890000; + if ("891000".equals(codeString)) + return _891000; + if ("891100".equals(codeString)) + return _891100; + if ("891111".equals(codeString)) + return _891111; + if ("891112".equals(codeString)) + return _891112; + if ("891113".equals(codeString)) + return _891113; + if ("891211".equals(codeString)) + return _891211; + if ("899000".equals(codeString)) + return _899000; + if ("899111".equals(codeString)) + return _899111; + if ("899200".equals(codeString)) + return _899200; + if ("899211".equals(codeString)) + return _899211; + if ("899212".equals(codeString)) + return _899212; + if ("899311".equals(codeString)) + return _899311; + if ("899400".equals(codeString)) + return _899400; + if ("899411".equals(codeString)) + return _899411; + if ("899412".equals(codeString)) + return _899412; + if ("899413".equals(codeString)) + return _899413; + if ("899414".equals(codeString)) + return _899414; + if ("899415".equals(codeString)) + return _899415; + if ("899500".equals(codeString)) + return _899500; + if ("899511".equals(codeString)) + return _899511; + if ("899512".equals(codeString)) + return _899512; + if ("899611".equals(codeString)) + return _899611; + if ("899711".equals(codeString)) + return _899711; + if ("899900".equals(codeString)) + return _899900; + if ("899911".equals(codeString)) + return _899911; + if ("899912".equals(codeString)) + return _899912; + if ("899913".equals(codeString)) + return _899913; + if ("899914".equals(codeString)) + return _899914; + if ("899915".equals(codeString)) + return _899915; + if ("899916".equals(codeString)) + return _899916; + if ("899917".equals(codeString)) + return _899917; + if ("899918".equals(codeString)) + return _899918; + if ("899921".equals(codeString)) + return _899921; + if ("899922".equals(codeString)) + return _899922; + if ("899999".equals(codeString)) + return _899999; + throw new Exception("Unknown AnzscoOccupations code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _100000: return "100000"; + case _111000: return "111000"; + case _111111: return "111111"; + case _111200: return "111200"; + case _111211: return "111211"; + case _111212: return "111212"; + case _111300: return "111300"; + case _111311: return "111311"; + case _111312: return "111312"; + case _111399: return "111399"; + case _121000: return "121000"; + case _121111: return "121111"; + case _121200: return "121200"; + case _121211: return "121211"; + case _121212: return "121212"; + case _121213: return "121213"; + case _121214: return "121214"; + case _121215: return "121215"; + case _121216: return "121216"; + case _121217: return "121217"; + case _121218: return "121218"; + case _121221: return "121221"; + case _121299: return "121299"; + case _121300: return "121300"; + case _121311: return "121311"; + case _121312: return "121312"; + case _121313: return "121313"; + case _121314: return "121314"; + case _121315: return "121315"; + case _121316: return "121316"; + case _121317: return "121317"; + case _121318: return "121318"; + case _121321: return "121321"; + case _121322: return "121322"; + case _121399: return "121399"; + case _121411: return "121411"; + case _130000: return "130000"; + case _131100: return "131100"; + case _131111: return "131111"; + case _131112: return "131112"; + case _132000: return "132000"; + case _132111: return "132111"; + case _132211: return "132211"; + case _132311: return "132311"; + case _132411: return "132411"; + case _132511: return "132511"; + case _133000: return "133000"; + case _133100: return "133100"; + case _133111: return "133111"; + case _133112: return "133112"; + case _133211: return "133211"; + case _133300: return "133300"; + case _133311: return "133311"; + case _133312: return "133312"; + case _133411: return "133411"; + case _133500: return "133500"; + case _133511: return "133511"; + case _133512: return "133512"; + case _133513: return "133513"; + case _133611: return "133611"; + case _134000: return "134000"; + case _134111: return "134111"; + case _134200: return "134200"; + case _134211: return "134211"; + case _134212: return "134212"; + case _134213: return "134213"; + case _134214: return "134214"; + case _134299: return "134299"; + case _134311: return "134311"; + case _134400: return "134400"; + case _134411: return "134411"; + case _134412: return "134412"; + case _134499: return "134499"; + case _135100: return "135100"; + case _135111: return "135111"; + case _135112: return "135112"; + case _135199: return "135199"; + case _139000: return "139000"; + case _139100: return "139100"; + case _139111: return "139111"; + case _139112: return "139112"; + case _139113: return "139113"; + case _139211: return "139211"; + case _139900: return "139900"; + case _139911: return "139911"; + case _139912: return "139912"; + case _139913: return "139913"; + case _139914: return "139914"; + case _139915: return "139915"; + case _139999: return "139999"; + case _140000: return "140000"; + case _141000: return "141000"; + case _141111: return "141111"; + case _141211: return "141211"; + case _141311: return "141311"; + case _141411: return "141411"; + case _141900: return "141900"; + case _141911: return "141911"; + case _141999: return "141999"; + case _142100: return "142100"; + case _142111: return "142111"; + case _142112: return "142112"; + case _142113: return "142113"; + case _142114: return "142114"; + case _142115: return "142115"; + case _142116: return "142116"; + case _149000: return "149000"; + case _149100: return "149100"; + case _149111: return "149111"; + case _149112: return "149112"; + case _149113: return "149113"; + case _149200: return "149200"; + case _149211: return "149211"; + case _149212: return "149212"; + case _149311: return "149311"; + case _149400: return "149400"; + case _149411: return "149411"; + case _149412: return "149412"; + case _149413: return "149413"; + case _149900: return "149900"; + case _149911: return "149911"; + case _149912: return "149912"; + case _149913: return "149913"; + case _149914: return "149914"; + case _149999: return "149999"; + case _200000: return "200000"; + case _210000: return "210000"; + case _211000: return "211000"; + case _211100: return "211100"; + case _211111: return "211111"; + case _211112: return "211112"; + case _211113: return "211113"; + case _211199: return "211199"; + case _211200: return "211200"; + case _211211: return "211211"; + case _211212: return "211212"; + case _211213: return "211213"; + case _211214: return "211214"; + case _211299: return "211299"; + case _211311: return "211311"; + case _211400: return "211400"; + case _211411: return "211411"; + case _211412: return "211412"; + case _211413: return "211413"; + case _211499: return "211499"; + case _212000: return "212000"; + case _212100: return "212100"; + case _212111: return "212111"; + case _212112: return "212112"; + case _212113: return "212113"; + case _212114: return "212114"; + case _212200: return "212200"; + case _212211: return "212211"; + case _212212: return "212212"; + case _212300: return "212300"; + case _212311: return "212311"; + case _212312: return "212312"; + case _212313: return "212313"; + case _212314: return "212314"; + case _212315: return "212315"; + case _212316: return "212316"; + case _212317: return "212317"; + case _212318: return "212318"; + case _212399: return "212399"; + case _212400: return "212400"; + case _212411: return "212411"; + case _212412: return "212412"; + case _212413: return "212413"; + case _212414: return "212414"; + case _212415: return "212415"; + case _212416: return "212416"; + case _212499: return "212499"; + case _220000: return "220000"; + case _221000: return "221000"; + case _221100: return "221100"; + case _221111: return "221111"; + case _221112: return "221112"; + case _221113: return "221113"; + case _221200: return "221200"; + case _221211: return "221211"; + case _221212: return "221212"; + case _221213: return "221213"; + case _221214: return "221214"; + case _222000: return "222000"; + case _222100: return "222100"; + case _222111: return "222111"; + case _222112: return "222112"; + case _222113: return "222113"; + case _222199: return "222199"; + case _222200: return "222200"; + case _222211: return "222211"; + case _222212: return "222212"; + case _222213: return "222213"; + case _222299: return "222299"; + case _222300: return "222300"; + case _222311: return "222311"; + case _222312: return "222312"; + case _223000: return "223000"; + case _223100: return "223100"; + case _223111: return "223111"; + case _223112: return "223112"; + case _223113: return "223113"; + case _223211: return "223211"; + case _223311: return "223311"; + case _224000: return "224000"; + case _224100: return "224100"; + case _224111: return "224111"; + case _224112: return "224112"; + case _224113: return "224113"; + case _224200: return "224200"; + case _224211: return "224211"; + case _224212: return "224212"; + case _224213: return "224213"; + case _224214: return "224214"; + case _224311: return "224311"; + case _224400: return "224400"; + case _224411: return "224411"; + case _224412: return "224412"; + case _224500: return "224500"; + case _224511: return "224511"; + case _224512: return "224512"; + case _224611: return "224611"; + case _224700: return "224700"; + case _224711: return "224711"; + case _224712: return "224712"; + case _224900: return "224900"; + case _224911: return "224911"; + case _224912: return "224912"; + case _224913: return "224913"; + case _224914: return "224914"; + case _224999: return "224999"; + case _225000: return "225000"; + case _225100: return "225100"; + case _225111: return "225111"; + case _225112: return "225112"; + case _225113: return "225113"; + case _225200: return "225200"; + case _225211: return "225211"; + case _225212: return "225212"; + case _225213: return "225213"; + case _225311: return "225311"; + case _225400: return "225400"; + case _225411: return "225411"; + case _225412: return "225412"; + case _225499: return "225499"; + case _230000: return "230000"; + case _231000: return "231000"; + case _231100: return "231100"; + case _231111: return "231111"; + case _231112: return "231112"; + case _231113: return "231113"; + case _231114: return "231114"; + case _231199: return "231199"; + case _231200: return "231200"; + case _231211: return "231211"; + case _231212: return "231212"; + case _231213: return "231213"; + case _231214: return "231214"; + case _231215: return "231215"; + case _231299: return "231299"; + case _232000: return "232000"; + case _232100: return "232100"; + case _232111: return "232111"; + case _232112: return "232112"; + case _232200: return "232200"; + case _232211: return "232211"; + case _232212: return "232212"; + case _232300: return "232300"; + case _232311: return "232311"; + case _232312: return "232312"; + case _232313: return "232313"; + case _232400: return "232400"; + case _232411: return "232411"; + case _232412: return "232412"; + case _232413: return "232413"; + case _232414: return "232414"; + case _232511: return "232511"; + case _232611: return "232611"; + case _233000: return "233000"; + case _233100: return "233100"; + case _233111: return "233111"; + case _233112: return "233112"; + case _233200: return "233200"; + case _233211: return "233211"; + case _233212: return "233212"; + case _233213: return "233213"; + case _233214: return "233214"; + case _233215: return "233215"; + case _233311: return "233311"; + case _233411: return "233411"; + case _233500: return "233500"; + case _233511: return "233511"; + case _233512: return "233512"; + case _233513: return "233513"; + case _233600: return "233600"; + case _233611: return "233611"; + case _233612: return "233612"; + case _233900: return "233900"; + case _233911: return "233911"; + case _233912: return "233912"; + case _233913: return "233913"; + case _233914: return "233914"; + case _233915: return "233915"; + case _233916: return "233916"; + case _233999: return "233999"; + case _234000: return "234000"; + case _234100: return "234100"; + case _234111: return "234111"; + case _234112: return "234112"; + case _234113: return "234113"; + case _234200: return "234200"; + case _234211: return "234211"; + case _234212: return "234212"; + case _234213: return "234213"; + case _234300: return "234300"; + case _234311: return "234311"; + case _234312: return "234312"; + case _234313: return "234313"; + case _234314: return "234314"; + case _234399: return "234399"; + case _234400: return "234400"; + case _234411: return "234411"; + case _234412: return "234412"; + case _234500: return "234500"; + case _234511: return "234511"; + case _234512: return "234512"; + case _234513: return "234513"; + case _234514: return "234514"; + case _234515: return "234515"; + case _234516: return "234516"; + case _234517: return "234517"; + case _234518: return "234518"; + case _234599: return "234599"; + case _234611: return "234611"; + case _234711: return "234711"; + case _234900: return "234900"; + case _234911: return "234911"; + case _234912: return "234912"; + case _234913: return "234913"; + case _234914: return "234914"; + case _234999: return "234999"; + case _240000: return "240000"; + case _241000: return "241000"; + case _241111: return "241111"; + case _241213: return "241213"; + case _241311: return "241311"; + case _241411: return "241411"; + case _241500: return "241500"; + case _241511: return "241511"; + case _241512: return "241512"; + case _241513: return "241513"; + case _241599: return "241599"; + case _242000: return "242000"; + case _242100: return "242100"; + case _242111: return "242111"; + case _242112: return "242112"; + case _242211: return "242211"; + case _249000: return "249000"; + case _249100: return "249100"; + case _249111: return "249111"; + case _249112: return "249112"; + case _249200: return "249200"; + case _249211: return "249211"; + case _249212: return "249212"; + case _249213: return "249213"; + case _249214: return "249214"; + case _249299: return "249299"; + case _249311: return "249311"; + case _250000: return "250000"; + case _251000: return "251000"; + case _251111: return "251111"; + case _251200: return "251200"; + case _251211: return "251211"; + case _251212: return "251212"; + case _251213: return "251213"; + case _251214: return "251214"; + case _251300: return "251300"; + case _251311: return "251311"; + case _251312: return "251312"; + case _251400: return "251400"; + case _251411: return "251411"; + case _251412: return "251412"; + case _251500: return "251500"; + case _251511: return "251511"; + case _251512: return "251512"; + case _251513: return "251513"; + case _251900: return "251900"; + case _251911: return "251911"; + case _251912: return "251912"; + case _251999: return "251999"; + case _252000: return "252000"; + case _252100: return "252100"; + case _252111: return "252111"; + case _252112: return "252112"; + case _252200: return "252200"; + case _252211: return "252211"; + case _252212: return "252212"; + case _252213: return "252213"; + case _252214: return "252214"; + case _252299: return "252299"; + case _252300: return "252300"; + case _252311: return "252311"; + case _252312: return "252312"; + case _252411: return "252411"; + case _252511: return "252511"; + case _252611: return "252611"; + case _252700: return "252700"; + case _252711: return "252711"; + case _252712: return "252712"; + case _253000: return "253000"; + case _253100: return "253100"; + case _253111: return "253111"; + case _253112: return "253112"; + case _253211: return "253211"; + case _253300: return "253300"; + case _253311: return "253311"; + case _253312: return "253312"; + case _253313: return "253313"; + case _253314: return "253314"; + case _253315: return "253315"; + case _253316: return "253316"; + case _253317: return "253317"; + case _253318: return "253318"; + case _253321: return "253321"; + case _253322: return "253322"; + case _253323: return "253323"; + case _253324: return "253324"; + case _253399: return "253399"; + case _253411: return "253411"; + case _253500: return "253500"; + case _253511: return "253511"; + case _253512: return "253512"; + case _253513: return "253513"; + case _253514: return "253514"; + case _253515: return "253515"; + case _253516: return "253516"; + case _253517: return "253517"; + case _253518: return "253518"; + case _253521: return "253521"; + case _253900: return "253900"; + case _253911: return "253911"; + case _253912: return "253912"; + case _253913: return "253913"; + case _253914: return "253914"; + case _253915: return "253915"; + case _253916: return "253916"; + case _253999: return "253999"; + case _254000: return "254000"; + case _254111: return "254111"; + case _254200: return "254200"; + case _254211: return "254211"; + case _254212: return "254212"; + case _254311: return "254311"; + case _254400: return "254400"; + case _254411: return "254411"; + case _254412: return "254412"; + case _254413: return "254413"; + case _254414: return "254414"; + case _254415: return "254415"; + case _254416: return "254416"; + case _254417: return "254417"; + case _254418: return "254418"; + case _254421: return "254421"; + case _254422: return "254422"; + case _254423: return "254423"; + case _254424: return "254424"; + case _254499: return "254499"; + case _260000: return "260000"; + case _261000: return "261000"; + case _261100: return "261100"; + case _261111: return "261111"; + case _261112: return "261112"; + case _261200: return "261200"; + case _261211: return "261211"; + case _261212: return "261212"; + case _261300: return "261300"; + case _261311: return "261311"; + case _261312: return "261312"; + case _261313: return "261313"; + case _261399: return "261399"; + case _262100: return "262100"; + case _262111: return "262111"; + case _262112: return "262112"; + case _262113: return "262113"; + case _263000: return "263000"; + case _263100: return "263100"; + case _263111: return "263111"; + case _263112: return "263112"; + case _263113: return "263113"; + case _263200: return "263200"; + case _263211: return "263211"; + case _263212: return "263212"; + case _263213: return "263213"; + case _263299: return "263299"; + case _263300: return "263300"; + case _263311: return "263311"; + case _263312: return "263312"; + case _270000: return "270000"; + case _271000: return "271000"; + case _271111: return "271111"; + case _271200: return "271200"; + case _271211: return "271211"; + case _271212: return "271212"; + case _271213: return "271213"; + case _271299: return "271299"; + case _271311: return "271311"; + case _272000: return "272000"; + case _272100: return "272100"; + case _272111: return "272111"; + case _272112: return "272112"; + case _272113: return "272113"; + case _272114: return "272114"; + case _272115: return "272115"; + case _272199: return "272199"; + case _272211: return "272211"; + case _272300: return "272300"; + case _272311: return "272311"; + case _272312: return "272312"; + case _272313: return "272313"; + case _272314: return "272314"; + case _272399: return "272399"; + case _272400: return "272400"; + case _272411: return "272411"; + case _272412: return "272412"; + case _272413: return "272413"; + case _272499: return "272499"; + case _272511: return "272511"; + case _272600: return "272600"; + case _272611: return "272611"; + case _272612: return "272612"; + case _272613: return "272613"; + case _300000: return "300000"; + case _310000: return "310000"; + case _311000: return "311000"; + case _311111: return "311111"; + case _311200: return "311200"; + case _311211: return "311211"; + case _311212: return "311212"; + case _311213: return "311213"; + case _311214: return "311214"; + case _311215: return "311215"; + case _311299: return "311299"; + case _311300: return "311300"; + case _311311: return "311311"; + case _311312: return "311312"; + case _311313: return "311313"; + case _311399: return "311399"; + case _311400: return "311400"; + case _311411: return "311411"; + case _311412: return "311412"; + case _311413: return "311413"; + case _311414: return "311414"; + case _311499: return "311499"; + case _312000: return "312000"; + case _312100: return "312100"; + case _312111: return "312111"; + case _312112: return "312112"; + case _312113: return "312113"; + case _312114: return "312114"; + case _312115: return "312115"; + case _312116: return "312116"; + case _312200: return "312200"; + case _312211: return "312211"; + case _312212: return "312212"; + case _312300: return "312300"; + case _312311: return "312311"; + case _312312: return "312312"; + case _312400: return "312400"; + case _312411: return "312411"; + case _312412: return "312412"; + case _312500: return "312500"; + case _312511: return "312511"; + case _312512: return "312512"; + case _312611: return "312611"; + case _312900: return "312900"; + case _312911: return "312911"; + case _312912: return "312912"; + case _312913: return "312913"; + case _312999: return "312999"; + case _313000: return "313000"; + case _313100: return "313100"; + case _313111: return "313111"; + case _313112: return "313112"; + case _313113: return "313113"; + case _313199: return "313199"; + case _313200: return "313200"; + case _313211: return "313211"; + case _313212: return "313212"; + case _313213: return "313213"; + case _313214: return "313214"; + case _320000: return "320000"; + case _321000: return "321000"; + case _321111: return "321111"; + case _321200: return "321200"; + case _321211: return "321211"; + case _321212: return "321212"; + case _321213: return "321213"; + case _321214: return "321214"; + case _322000: return "322000"; + case _322100: return "322100"; + case _322111: return "322111"; + case _322112: return "322112"; + case _322113: return "322113"; + case _322114: return "322114"; + case _322115: return "322115"; + case _322211: return "322211"; + case _322300: return "322300"; + case _322311: return "322311"; + case _322312: return "322312"; + case _322313: return "322313"; + case _323000: return "323000"; + case _323100: return "323100"; + case _323111: return "323111"; + case _323112: return "323112"; + case _323113: return "323113"; + case _323200: return "323200"; + case _323211: return "323211"; + case _323212: return "323212"; + case _323213: return "323213"; + case _323214: return "323214"; + case _323215: return "323215"; + case _323299: return "323299"; + case _323300: return "323300"; + case _323311: return "323311"; + case _323312: return "323312"; + case _323313: return "323313"; + case _323314: return "323314"; + case _323315: return "323315"; + case _323316: return "323316"; + case _323400: return "323400"; + case _323411: return "323411"; + case _323412: return "323412"; + case _324000: return "324000"; + case _324111: return "324111"; + case _324200: return "324200"; + case _324211: return "324211"; + case _324212: return "324212"; + case _324311: return "324311"; + case _330000: return "330000"; + case _331000: return "331000"; + case _331100: return "331100"; + case _331111: return "331111"; + case _331112: return "331112"; + case _331211: return "331211"; + case _331212: return "331212"; + case _331213: return "331213"; + case _332000: return "332000"; + case _332111: return "332111"; + case _332211: return "332211"; + case _333000: return "333000"; + case _333111: return "333111"; + case _333200: return "333200"; + case _333211: return "333211"; + case _333212: return "333212"; + case _333311: return "333311"; + case _333411: return "333411"; + case _334100: return "334100"; + case _334111: return "334111"; + case _334112: return "334112"; + case _334113: return "334113"; + case _334114: return "334114"; + case _334115: return "334115"; + case _340000: return "340000"; + case _341100: return "341100"; + case _341111: return "341111"; + case _341112: return "341112"; + case _341113: return "341113"; + case _342000: return "342000"; + case _342111: return "342111"; + case _342200: return "342200"; + case _342211: return "342211"; + case _342212: return "342212"; + case _342300: return "342300"; + case _342311: return "342311"; + case _342312: return "342312"; + case _342313: return "342313"; + case _342314: return "342314"; + case _342315: return "342315"; + case _342400: return "342400"; + case _342411: return "342411"; + case _342412: return "342412"; + case _342413: return "342413"; + case _342414: return "342414"; + case _351000: return "351000"; + case _351100: return "351100"; + case _351111: return "351111"; + case _351112: return "351112"; + case _351211: return "351211"; + case _351311: return "351311"; + case _351411: return "351411"; + case _360000: return "360000"; + case _361000: return "361000"; + case _361100: return "361100"; + case _361111: return "361111"; + case _361112: return "361112"; + case _361113: return "361113"; + case _361114: return "361114"; + case _361199: return "361199"; + case _361211: return "361211"; + case _361311: return "361311"; + case _362000: return "362000"; + case _362111: return "362111"; + case _362200: return "362200"; + case _362211: return "362211"; + case _362212: return "362212"; + case _362213: return "362213"; + case _362311: return "362311"; + case _362411: return "362411"; + case _390000: return "390000"; + case _391111: return "391111"; + case _392000: return "392000"; + case _392100: return "392100"; + case _392111: return "392111"; + case _392112: return "392112"; + case _392211: return "392211"; + case _392300: return "392300"; + case _392311: return "392311"; + case _392312: return "392312"; + case _393000: return "393000"; + case _393100: return "393100"; + case _393111: return "393111"; + case _393112: return "393112"; + case _393113: return "393113"; + case _393114: return "393114"; + case _393200: return "393200"; + case _393211: return "393211"; + case _393212: return "393212"; + case _393213: return "393213"; + case _393299: return "393299"; + case _393311: return "393311"; + case _394000: return "394000"; + case _394111: return "394111"; + case _394200: return "394200"; + case _394211: return "394211"; + case _394212: return "394212"; + case _394213: return "394213"; + case _394214: return "394214"; + case _394299: return "394299"; + case _399000: return "399000"; + case _399100: return "399100"; + case _399111: return "399111"; + case _399112: return "399112"; + case _399200: return "399200"; + case _399211: return "399211"; + case _399212: return "399212"; + case _399213: return "399213"; + case _399300: return "399300"; + case _399311: return "399311"; + case _399312: return "399312"; + case _399411: return "399411"; + case _399500: return "399500"; + case _399511: return "399511"; + case _399512: return "399512"; + case _399513: return "399513"; + case _399514: return "399514"; + case _399515: return "399515"; + case _399516: return "399516"; + case _399517: return "399517"; + case _399599: return "399599"; + case _399611: return "399611"; + case _399900: return "399900"; + case _399911: return "399911"; + case _399912: return "399912"; + case _399913: return "399913"; + case _399914: return "399914"; + case _399915: return "399915"; + case _399916: return "399916"; + case _399917: return "399917"; + case _399999: return "399999"; + case _400000: return "400000"; + case _411000: return "411000"; + case _411100: return "411100"; + case _411111: return "411111"; + case _411112: return "411112"; + case _411200: return "411200"; + case _411211: return "411211"; + case _411212: return "411212"; + case _411213: return "411213"; + case _411214: return "411214"; + case _411311: return "411311"; + case _411400: return "411400"; + case _411411: return "411411"; + case _411412: return "411412"; + case _411511: return "411511"; + case _411611: return "411611"; + case _411700: return "411700"; + case _411711: return "411711"; + case _411712: return "411712"; + case _411713: return "411713"; + case _411714: return "411714"; + case _411715: return "411715"; + case _411716: return "411716"; + case _420000: return "420000"; + case _421100: return "421100"; + case _421111: return "421111"; + case _421112: return "421112"; + case _421113: return "421113"; + case _421114: return "421114"; + case _422100: return "422100"; + case _422111: return "422111"; + case _422112: return "422112"; + case _422115: return "422115"; + case _422116: return "422116"; + case _423000: return "423000"; + case _423111: return "423111"; + case _423211: return "423211"; + case _423300: return "423300"; + case _423311: return "423311"; + case _423312: return "423312"; + case _423313: return "423313"; + case _423314: return "423314"; + case _423400: return "423400"; + case _423411: return "423411"; + case _423412: return "423412"; + case _423413: return "423413"; + case _431000: return "431000"; + case _431100: return "431100"; + case _431111: return "431111"; + case _431112: return "431112"; + case _431211: return "431211"; + case _431311: return "431311"; + case _431411: return "431411"; + case _431511: return "431511"; + case _431900: return "431900"; + case _431911: return "431911"; + case _431912: return "431912"; + case _431999: return "431999"; + case _440000: return "440000"; + case _441000: return "441000"; + case _441111: return "441111"; + case _441200: return "441200"; + case _441211: return "441211"; + case _441212: return "441212"; + case _441300: return "441300"; + case _441311: return "441311"; + case _441312: return "441312"; + case _442000: return "442000"; + case _442111: return "442111"; + case _442200: return "442200"; + case _442211: return "442211"; + case _442212: return "442212"; + case _442213: return "442213"; + case _442214: return "442214"; + case _442215: return "442215"; + case _442216: return "442216"; + case _442217: return "442217"; + case _442299: return "442299"; + case _450000: return "450000"; + case _451000: return "451000"; + case _451111: return "451111"; + case _451211: return "451211"; + case _451300: return "451300"; + case _451311: return "451311"; + case _451399: return "451399"; + case _451400: return "451400"; + case _451411: return "451411"; + case _451412: return "451412"; + case _451500: return "451500"; + case _451511: return "451511"; + case _451512: return "451512"; + case _451600: return "451600"; + case _451611: return "451611"; + case _451612: return "451612"; + case _451700: return "451700"; + case _451711: return "451711"; + case _451799: return "451799"; + case _451800: return "451800"; + case _451811: return "451811"; + case _451812: return "451812"; + case _451813: return "451813"; + case _451899: return "451899"; + case _452000: return "452000"; + case _452111: return "452111"; + case _452200: return "452200"; + case _452211: return "452211"; + case _452212: return "452212"; + case _452213: return "452213"; + case _452214: return "452214"; + case _452215: return "452215"; + case _452216: return "452216"; + case _452217: return "452217"; + case _452299: return "452299"; + case _452300: return "452300"; + case _452311: return "452311"; + case _452312: return "452312"; + case _452313: return "452313"; + case _452314: return "452314"; + case _452315: return "452315"; + case _452316: return "452316"; + case _452317: return "452317"; + case _452318: return "452318"; + case _452321: return "452321"; + case _452322: return "452322"; + case _452323: return "452323"; + case _452400: return "452400"; + case _452411: return "452411"; + case _452412: return "452412"; + case _452413: return "452413"; + case _452414: return "452414"; + case _452499: return "452499"; + case _500000: return "500000"; + case _510000: return "510000"; + case _511100: return "511100"; + case _511111: return "511111"; + case _511112: return "511112"; + case _512000: return "512000"; + case _512111: return "512111"; + case _512200: return "512200"; + case _512211: return "512211"; + case _512299: return "512299"; + case _521000: return "521000"; + case _521111: return "521111"; + case _521200: return "521200"; + case _521211: return "521211"; + case _521212: return "521212"; + case _530000: return "530000"; + case _531111: return "531111"; + case _532100: return "532100"; + case _532111: return "532111"; + case _532112: return "532112"; + case _532113: return "532113"; + case _540000: return "540000"; + case _541000: return "541000"; + case _541100: return "541100"; + case _541111: return "541111"; + case _541112: return "541112"; + case _541211: return "541211"; + case _542100: return "542100"; + case _542111: return "542111"; + case _542112: return "542112"; + case _542113: return "542113"; + case _542114: return "542114"; + case _550000: return "550000"; + case _551000: return "551000"; + case _551100: return "551100"; + case _551111: return "551111"; + case _551112: return "551112"; + case _551211: return "551211"; + case _551311: return "551311"; + case _552000: return "552000"; + case _552111: return "552111"; + case _552211: return "552211"; + case _552300: return "552300"; + case _552311: return "552311"; + case _552312: return "552312"; + case _552313: return "552313"; + case _552314: return "552314"; + case _561000: return "561000"; + case _561100: return "561100"; + case _561111: return "561111"; + case _561112: return "561112"; + case _561113: return "561113"; + case _561199: return "561199"; + case _561200: return "561200"; + case _561211: return "561211"; + case _561212: return "561212"; + case _561311: return "561311"; + case _561400: return "561400"; + case _561411: return "561411"; + case _561412: return "561412"; + case _561511: return "561511"; + case _561611: return "561611"; + case _561900: return "561900"; + case _561911: return "561911"; + case _561912: return "561912"; + case _561913: return "561913"; + case _561999: return "561999"; + case _590000: return "590000"; + case _591000: return "591000"; + case _591100: return "591100"; + case _591111: return "591111"; + case _591112: return "591112"; + case _591113: return "591113"; + case _591114: return "591114"; + case _591115: return "591115"; + case _591116: return "591116"; + case _591200: return "591200"; + case _591211: return "591211"; + case _591212: return "591212"; + case _599000: return "599000"; + case _599100: return "599100"; + case _599111: return "599111"; + case _599112: return "599112"; + case _599200: return "599200"; + case _599211: return "599211"; + case _599212: return "599212"; + case _599213: return "599213"; + case _599214: return "599214"; + case _599215: return "599215"; + case _599311: return "599311"; + case _599411: return "599411"; + case _599500: return "599500"; + case _599511: return "599511"; + case _599512: return "599512"; + case _599513: return "599513"; + case _599514: return "599514"; + case _599515: return "599515"; + case _599516: return "599516"; + case _599517: return "599517"; + case _599518: return "599518"; + case _599521: return "599521"; + case _599599: return "599599"; + case _599600: return "599600"; + case _599611: return "599611"; + case _599612: return "599612"; + case _599613: return "599613"; + case _599711: return "599711"; + case _599900: return "599900"; + case _599911: return "599911"; + case _599912: return "599912"; + case _599913: return "599913"; + case _599914: return "599914"; + case _599999: return "599999"; + case _600000: return "600000"; + case _610000: return "610000"; + case _611000: return "611000"; + case _611100: return "611100"; + case _611111: return "611111"; + case _611112: return "611112"; + case _611211: return "611211"; + case _611300: return "611300"; + case _611311: return "611311"; + case _611312: return "611312"; + case _611313: return "611313"; + case _611314: return "611314"; + case _611399: return "611399"; + case _612100: return "612100"; + case _612111: return "612111"; + case _612112: return "612112"; + case _612113: return "612113"; + case _612114: return "612114"; + case _612115: return "612115"; + case _621000: return "621000"; + case _621111: return "621111"; + case _621211: return "621211"; + case _621300: return "621300"; + case _621311: return "621311"; + case _621312: return "621312"; + case _621411: return "621411"; + case _621511: return "621511"; + case _621611: return "621611"; + case _621700: return "621700"; + case _621711: return "621711"; + case _621712: return "621712"; + case _621713: return "621713"; + case _621900: return "621900"; + case _621911: return "621911"; + case _621912: return "621912"; + case _621999: return "621999"; + case _630000: return "630000"; + case _631100: return "631100"; + case _631111: return "631111"; + case _631112: return "631112"; + case _639000: return "639000"; + case _639100: return "639100"; + case _639111: return "639111"; + case _639112: return "639112"; + case _639200: return "639200"; + case _639211: return "639211"; + case _639212: return "639212"; + case _639311: return "639311"; + case _639400: return "639400"; + case _639411: return "639411"; + case _639412: return "639412"; + case _639511: return "639511"; + case _639911: return "639911"; + case _700000: return "700000"; + case _710000: return "710000"; + case _711000: return "711000"; + case _711100: return "711100"; + case _711111: return "711111"; + case _711112: return "711112"; + case _711113: return "711113"; + case _711114: return "711114"; + case _711199: return "711199"; + case _711211: return "711211"; + case _711300: return "711300"; + case _711311: return "711311"; + case _711312: return "711312"; + case _711411: return "711411"; + case _711500: return "711500"; + case _711511: return "711511"; + case _711512: return "711512"; + case _711513: return "711513"; + case _711514: return "711514"; + case _711515: return "711515"; + case _711516: return "711516"; + case _711599: return "711599"; + case _711611: return "711611"; + case _711700: return "711700"; + case _711711: return "711711"; + case _711712: return "711712"; + case _711713: return "711713"; + case _711714: return "711714"; + case _711715: return "711715"; + case _711716: return "711716"; + case _711799: return "711799"; + case _711900: return "711900"; + case _711911: return "711911"; + case _711912: return "711912"; + case _711913: return "711913"; + case _711914: return "711914"; + case _711999: return "711999"; + case _712000: return "712000"; + case _712111: return "712111"; + case _712200: return "712200"; + case _712211: return "712211"; + case _712212: return "712212"; + case _712213: return "712213"; + case _712311: return "712311"; + case _712900: return "712900"; + case _712911: return "712911"; + case _712912: return "712912"; + case _712913: return "712913"; + case _712914: return "712914"; + case _712915: return "712915"; + case _712916: return "712916"; + case _712917: return "712917"; + case _712918: return "712918"; + case _712921: return "712921"; + case _712922: return "712922"; + case _712999: return "712999"; + case _721000: return "721000"; + case _721100: return "721100"; + case _721111: return "721111"; + case _721112: return "721112"; + case _721200: return "721200"; + case _721211: return "721211"; + case _721212: return "721212"; + case _721213: return "721213"; + case _721214: return "721214"; + case _721215: return "721215"; + case _721216: return "721216"; + case _721311: return "721311"; + case _721900: return "721900"; + case _721911: return "721911"; + case _721912: return "721912"; + case _721913: return "721913"; + case _721914: return "721914"; + case _721915: return "721915"; + case _721916: return "721916"; + case _721999: return "721999"; + case _730000: return "730000"; + case _731000: return "731000"; + case _731100: return "731100"; + case _731111: return "731111"; + case _731112: return "731112"; + case _731199: return "731199"; + case _731200: return "731200"; + case _731211: return "731211"; + case _731212: return "731212"; + case _731213: return "731213"; + case _731300: return "731300"; + case _731311: return "731311"; + case _731312: return "731312"; + case _732111: return "732111"; + case _733100: return "733100"; + case _733111: return "733111"; + case _733112: return "733112"; + case _733113: return "733113"; + case _733114: return "733114"; + case _733115: return "733115"; + case _741111: return "741111"; + case _800000: return "800000"; + case _811000: return "811000"; + case _811111: return "811111"; + case _811211: return "811211"; + case _811311: return "811311"; + case _811400: return "811400"; + case _811411: return "811411"; + case _811412: return "811412"; + case _811500: return "811500"; + case _811511: return "811511"; + case _811512: return "811512"; + case _811513: return "811513"; + case _811600: return "811600"; + case _811611: return "811611"; + case _811612: return "811612"; + case _811699: return "811699"; + case _821000: return "821000"; + case _821100: return "821100"; + case _821111: return "821111"; + case _821112: return "821112"; + case _821113: return "821113"; + case _821114: return "821114"; + case _821211: return "821211"; + case _821311: return "821311"; + case _821400: return "821400"; + case _821411: return "821411"; + case _821412: return "821412"; + case _821511: return "821511"; + case _821611: return "821611"; + case _821700: return "821700"; + case _821711: return "821711"; + case _821712: return "821712"; + case _821713: return "821713"; + case _821714: return "821714"; + case _821900: return "821900"; + case _821911: return "821911"; + case _821912: return "821912"; + case _821913: return "821913"; + case _821914: return "821914"; + case _821915: return "821915"; + case _830000: return "830000"; + case _831000: return "831000"; + case _831100: return "831100"; + case _831111: return "831111"; + case _831112: return "831112"; + case _831113: return "831113"; + case _831114: return "831114"; + case _831115: return "831115"; + case _831116: return "831116"; + case _831117: return "831117"; + case _831118: return "831118"; + case _831199: return "831199"; + case _831200: return "831200"; + case _831211: return "831211"; + case _831212: return "831212"; + case _831300: return "831300"; + case _831311: return "831311"; + case _831312: return "831312"; + case _831313: return "831313"; + case _832000: return "832000"; + case _832100: return "832100"; + case _832111: return "832111"; + case _832112: return "832112"; + case _832113: return "832113"; + case _832114: return "832114"; + case _832115: return "832115"; + case _832199: return "832199"; + case _832211: return "832211"; + case _839000: return "839000"; + case _839111: return "839111"; + case _839200: return "839200"; + case _839211: return "839211"; + case _839212: return "839212"; + case _839300: return "839300"; + case _839311: return "839311"; + case _839312: return "839312"; + case _839313: return "839313"; + case _839400: return "839400"; + case _839411: return "839411"; + case _839412: return "839412"; + case _839413: return "839413"; + case _839900: return "839900"; + case _839911: return "839911"; + case _839912: return "839912"; + case _839913: return "839913"; + case _839914: return "839914"; + case _839915: return "839915"; + case _839916: return "839916"; + case _839917: return "839917"; + case _839999: return "839999"; + case _841000: return "841000"; + case _841111: return "841111"; + case _841200: return "841200"; + case _841211: return "841211"; + case _841212: return "841212"; + case _841213: return "841213"; + case _841214: return "841214"; + case _841215: return "841215"; + case _841216: return "841216"; + case _841299: return "841299"; + case _841300: return "841300"; + case _841311: return "841311"; + case _841312: return "841312"; + case _841313: return "841313"; + case _841400: return "841400"; + case _841411: return "841411"; + case _841412: return "841412"; + case _841500: return "841500"; + case _841511: return "841511"; + case _841512: return "841512"; + case _841513: return "841513"; + case _841514: return "841514"; + case _841515: return "841515"; + case _841516: return "841516"; + case _841517: return "841517"; + case _841599: return "841599"; + case _841611: return "841611"; + case _841900: return "841900"; + case _841911: return "841911"; + case _841912: return "841912"; + case _841999: return "841999"; + case _851000: return "851000"; + case _851111: return "851111"; + case _851200: return "851200"; + case _851211: return "851211"; + case _851299: return "851299"; + case _851311: return "851311"; + case _890000: return "890000"; + case _891000: return "891000"; + case _891100: return "891100"; + case _891111: return "891111"; + case _891112: return "891112"; + case _891113: return "891113"; + case _891211: return "891211"; + case _899000: return "899000"; + case _899111: return "899111"; + case _899200: return "899200"; + case _899211: return "899211"; + case _899212: return "899212"; + case _899311: return "899311"; + case _899400: return "899400"; + case _899411: return "899411"; + case _899412: return "899412"; + case _899413: return "899413"; + case _899414: return "899414"; + case _899415: return "899415"; + case _899500: return "899500"; + case _899511: return "899511"; + case _899512: return "899512"; + case _899611: return "899611"; + case _899711: return "899711"; + case _899900: return "899900"; + case _899911: return "899911"; + case _899912: return "899912"; + case _899913: return "899913"; + case _899914: return "899914"; + case _899915: return "899915"; + case _899916: return "899916"; + case _899917: return "899917"; + case _899918: return "899918"; + case _899921: return "899921"; + case _899922: return "899922"; + case _899999: return "899999"; + default: return "?"; + } + } + public String getSystem() { + return "http://www.abs.gov.au/ausstats/abs@.nsf/mf/1220.0"; + } + public String getDefinition() { + switch (this) { + case _100000: return "Managers nfd"; + case _111000: return "Chief Executives, General Managers and Legislators nfd"; + case _111111: return "Chief Executive or Managing Director"; + case _111200: return "General Managers nfd"; + case _111211: return "Corporate General Manager"; + case _111212: return "Defence Force Senior Officer"; + case _111300: return "Legislators nfd"; + case _111311: return "Local Government Legislator"; + case _111312: return "Member of Parliament"; + case _111399: return "Legislators nec"; + case _121000: return "Farmers and Farm Managers nfd"; + case _121111: return "Aquaculture Farmer"; + case _121200: return "Crop Farmers nfd"; + case _121211: return "Cotton Grower"; + case _121212: return "Flower Grower"; + case _121213: return "Fruit or Nut Grower"; + case _121214: return "Grain, Oilseed or Pasture Grower"; + case _121215: return "Grape Grower"; + case _121216: return "Mixed Crop Farmer"; + case _121217: return "Sugar Cane Grower"; + case _121218: return "Turf Grower"; + case _121221: return "Vegetable Grower"; + case _121299: return "Crop Farmers nec"; + case _121300: return "Livestock Farmers nfd"; + case _121311: return "Apiarist"; + case _121312: return "Beef Cattle Farmer"; + case _121313: return "Dairy Cattle Farmer"; + case _121314: return "Deer Farmer"; + case _121315: return "Goat Farmer"; + case _121316: return "Horse Breeder"; + case _121317: return "Mixed Livestock Farmer"; + case _121318: return "Pig Farmer"; + case _121321: return "Poultry Farmer"; + case _121322: return "Sheep Farmer"; + case _121399: return "Livestock Farmers nec"; + case _121411: return "Mixed Crop and Livestock Farmer"; + case _130000: return "Specialist Managers nfd"; + case _131100: return "Advertising and Sales Managers nfd"; + case _131111: return "Advertising and Public Relations Manager"; + case _131112: return "Sales and Marketing Manager"; + case _132000: return "Business Administration Managers nfd"; + case _132111: return "Corporate Services Manager"; + case _132211: return "Finance Manager"; + case _132311: return "Human Resource Manager"; + case _132411: return "Policy and Planning Manager"; + case _132511: return "Research and Development Manager"; + case _133000: return "Construction, Distribution and Production Managers nfd"; + case _133100: return "Construction Managers nfd"; + case _133111: return "Construction Project Manager"; + case _133112: return "Project Builder"; + case _133211: return "Engineering Manager"; + case _133300: return "Importers, Exporters and Wholesalers nfd"; + case _133311: return "Importer or Exporter"; + case _133312: return "Wholesaler"; + case _133411: return "Manufacturer"; + case _133500: return "Production Managers nfd"; + case _133511: return "Production Manager (Forestry)"; + case _133512: return "Production Manager (Manufacturing)"; + case _133513: return "Production Manager (Mining)"; + case _133611: return "Supply and Distribution Manager"; + case _134000: return "Education, Health and Welfare Services Managers nfd"; + case _134111: return "Child Care Centre Manager"; + case _134200: return "Health and Welfare Services Managers nfd"; + case _134211: return "Medical Administrator"; + case _134212: return "Nursing Clinical Director"; + case _134213: return "Primary Health Organization Manager"; + case _134214: return "Welfare Centre Manager"; + case _134299: return "Health and Welfare Services Managers nec"; + case _134311: return "School Principal"; + case _134400: return "Other Education Managers nfd"; + case _134411: return "Faculty Head"; + case _134412: return "Regional Education Manager"; + case _134499: return "Education Managers nec"; + case _135100: return "ICT Managers nfd"; + case _135111: return "Chief Information Officer"; + case _135112: return "ICT Project Manager"; + case _135199: return "ICT Managers nec"; + case _139000: return "Miscellaneous Specialist Managers nfd"; + case _139100: return "Commissioned Officers (Management) nfd"; + case _139111: return "Commissioned Defence Force Officer"; + case _139112: return "Commissioned Fire Officer"; + case _139113: return "Commissioned Police Officer"; + case _139211: return "Senior Non-commissioned Defence Force Member"; + case _139900: return "Other Specialist Managers nfd"; + case _139911: return "Arts Administrator or Manager"; + case _139912: return "Environmental Manager"; + case _139913: return "Laboratory Manager"; + case _139914: return "Quality Assurance Manager"; + case _139915: return "Sports Administrator"; + case _139999: return "Specialist Managers nec"; + case _140000: return "Hospitality, Retail and Service Managers nfd"; + case _141000: return "Accommodation and Hospitality Managers nfd"; + case _141111: return "Cafe or Restaurant Manager"; + case _141211: return "Caravan Park and Camping Ground Manager"; + case _141311: return "Hotel or Motel Manager"; + case _141411: return "Licensed Club Manager"; + case _141900: return "Other Accommodation and Hospitality Managers nfd"; + case _141911: return "Bed and Breakfast Operator"; + case _141999: return "Accommodation and Hospitality Managers nec"; + case _142100: return "Retail Managers nfd"; + case _142111: return "Retail Manager (General)"; + case _142112: return "Antique Dealer"; + case _142113: return "Betting Agency Manager"; + case _142114: return "Hair or Beauty Salon Manager"; + case _142115: return "Post Office Manager"; + case _142116: return "Travel Agency Manager"; + case _149000: return "Miscellaneous Hospitality, Retail and Service Managers nfd"; + case _149100: return "Amusement, Fitness and Sports Centre Managers nfd"; + case _149111: return "Amusement Centre Manager"; + case _149112: return "Fitness Centre Manager"; + case _149113: return "Sports Centre Manager"; + case _149200: return "Call or Contact Centre and Customer Service Managers nfd"; + case _149211: return "Call or Contact Centre Manager"; + case _149212: return "Customer Service Manager"; + case _149311: return "Conference and Event Organiser"; + case _149400: return "Transport Services Managers nfd"; + case _149411: return "Fleet Manager"; + case _149412: return "Railway Station Manager"; + case _149413: return "Transport Company Manager"; + case _149900: return "Other Hospitality, Retail and Service Managers nfd"; + case _149911: return "Boarding Kennel or Cattery Operator"; + case _149912: return "Cinema or Theatre Manager"; + case _149913: return "Facilities Manager"; + case _149914: return "Financial Institution Branch Manager"; + case _149999: return "Hospitality, Retail and Service Managers nec"; + case _200000: return "Professionals nfd"; + case _210000: return "Arts and Media Professionals nfd"; + case _211000: return "Arts Professionals nfd"; + case _211100: return "Actors, Dancers and Other Entertainers nfd"; + case _211111: return "Actor"; + case _211112: return "Dancer or Choreographer"; + case _211113: return "Entertainer or Variety Artist"; + case _211199: return "Actors, Dancers and Other Entertainers nec"; + case _211200: return "Music Professionals nfd"; + case _211211: return "Composer"; + case _211212: return "Music Director"; + case _211213: return "Musician (Instrumental)"; + case _211214: return "Singer"; + case _211299: return "Music Professionals nec"; + case _211311: return "Photographer"; + case _211400: return "Visual Arts and Crafts Professionals nfd"; + case _211411: return "Painter (Visual Arts)"; + case _211412: return "Potter or Ceramic Artist"; + case _211413: return "Sculptor"; + case _211499: return "Visual Arts and Crafts Professionals nec"; + case _212000: return "Media Professionals nfd"; + case _212100: return "Artistic Directors, and Media Producers and Presenters nfd"; + case _212111: return "Artistic Director"; + case _212112: return "Media Producer (excluding Video)"; + case _212113: return "Radio Presenter"; + case _212114: return "Television Presenter"; + case _212200: return "Authors, and Book and Script Editors nfd"; + case _212211: return "Author"; + case _212212: return "Book or Script Editor"; + case _212300: return "Film, Television, Radio and Stage Directors nfd"; + case _212311: return "Art Director (Film, Television or Stage)"; + case _212312: return "Director (Film, Television, Radio or Stage)"; + case _212313: return "Director of Photography"; + case _212314: return "Film and Video Editor"; + case _212315: return "Program Director (Television or Radio)"; + case _212316: return "Stage Manager"; + case _212317: return "Technical Director"; + case _212318: return "Video Producer"; + case _212399: return "Film, Television, Radio and Stage Directors nec"; + case _212400: return "Journalists and Other Writers nfd"; + case _212411: return "Copywriter"; + case _212412: return "Newspaper or Periodical Editor"; + case _212413: return "Print Journalist"; + case _212414: return "Radio Journalist"; + case _212415: return "Technical Writer"; + case _212416: return "Television Journalist"; + case _212499: return "Journalists and Other Writers nec"; + case _220000: return "Business, Human Resource and Marketing Professionals nfd"; + case _221000: return "Accountants, Auditors and Company Secretaries nfd"; + case _221100: return "Accountants nfd"; + case _221111: return "Accountant (General)"; + case _221112: return "Management Accountant"; + case _221113: return "Taxation Accountant"; + case _221200: return "Auditors, Company Secretaries and Corporate Treasurers nfd"; + case _221211: return "Company Secretary"; + case _221212: return "Corporate Treasurer"; + case _221213: return "External Auditor"; + case _221214: return "Internal Auditor"; + case _222000: return "Financial Brokers and Dealers, and Investment Advisers nfd"; + case _222100: return "Financial Brokers nfd"; + case _222111: return "Commodities Trader"; + case _222112: return "Finance Broker"; + case _222113: return "Insurance Broker"; + case _222199: return "Financial Brokers nec"; + case _222200: return "Financial Dealers nfd"; + case _222211: return "Financial Market Dealer"; + case _222212: return "Futures Trader"; + case _222213: return "Stockbroking Dealer"; + case _222299: return "Financial Dealers nec"; + case _222300: return "Financial Investment Advisers and Managers nfd"; + case _222311: return "Financial Investment Adviser"; + case _222312: return "Financial Investment Manager"; + case _223000: return "Human Resource and Training Professionals nfd"; + case _223100: return "Human Resource Professionals nfd"; + case _223111: return "Human Resource Adviser"; + case _223112: return "Recruitment Consultant"; + case _223113: return "Workplace Relations Adviser"; + case _223211: return "ICT Trainer"; + case _223311: return "Training and Development Professional"; + case _224000: return "Information and Organization Professionals nfd"; + case _224100: return "Actuaries, Mathematicians and Statisticians nfd"; + case _224111: return "Actuary"; + case _224112: return "Mathematician"; + case _224113: return "Statistician"; + case _224200: return "Archivists, Curators and Records Managers nfd"; + case _224211: return "Archivist"; + case _224212: return "Gallery or Museum Curator"; + case _224213: return "Health Information Manager"; + case _224214: return "Records Manager"; + case _224311: return "Economist"; + case _224400: return "Intelligence and Policy Analysts nfd"; + case _224411: return "Intelligence Officer"; + case _224412: return "Policy Analyst"; + case _224500: return "Land Economists and Valuers nfd"; + case _224511: return "Land Economist"; + case _224512: return "Valuer"; + case _224611: return "Librarian"; + case _224700: return "Management and Organization Analysts nfd"; + case _224711: return "Management Consultant"; + case _224712: return "Organization and Methods Analyst"; + case _224900: return "Other Information and Organization Professionals nfd"; + case _224911: return "Electorate Officer"; + case _224912: return "Liaison Officer"; + case _224913: return "Migration Agent"; + case _224914: return "Patents Examiner"; + case _224999: return "Information and Organization Professionals nec"; + case _225000: return "Sales, Marketing and Public Relations Professionals nfd"; + case _225100: return "Advertising and Marketing Professionals nfd"; + case _225111: return "Advertising Specialist"; + case _225112: return "Market Research Analyst"; + case _225113: return "Marketing Specialist"; + case _225200: return "ICT Sales Professionals nfd"; + case _225211: return "ICT Account Manager"; + case _225212: return "ICT Business Development Manager"; + case _225213: return "ICT Sales Representative"; + case _225311: return "Public Relations Professional"; + case _225400: return "Technical Sales Representatives nfd"; + case _225411: return "Sales Representative (Industrial Products)"; + case _225412: return "Sales Representative (Medical and Pharmaceutical Products)"; + case _225499: return "Technical Sales Representatives nec"; + case _230000: return "Design, Engineering, Science and Transport Professionals nfd"; + case _231000: return "Air and Marine Transport Professionals nfd"; + case _231100: return "Air Transport Professionals nfd"; + case _231111: return "Aeroplane Pilot"; + case _231112: return "Air Traffic Controller"; + case _231113: return "Flying Instructor"; + case _231114: return "Helicopter Pilot"; + case _231199: return "Air Transport Professionals nec"; + case _231200: return "Marine Transport Professionals nfd"; + case _231211: return "Master Fisher"; + case _231212: return "Ship's Engineer"; + case _231213: return "Ship's Master"; + case _231214: return "Ship's Officer"; + case _231215: return "Ship's Surveyor"; + case _231299: return "Marine Transport Professionals nec"; + case _232000: return "Architects, Designers, Planners and Surveyors nfd"; + case _232100: return "Architects and Landscape Architects nfd"; + case _232111: return "Architect"; + case _232112: return "Landscape Architect"; + case _232200: return "Cartographers and Surveyors nfd"; + case _232211: return "Cartographer"; + case _232212: return "Surveyor"; + case _232300: return "Fashion, Industrial and Jewellery Designers nfd"; + case _232311: return "Fashion Designer"; + case _232312: return "Industrial Designer"; + case _232313: return "Jewellery Designer"; + case _232400: return "Graphic and Web Designers, and Illustrators nfd"; + case _232411: return "Graphic Designer"; + case _232412: return "Illustrator"; + case _232413: return "Multimedia Designer"; + case _232414: return "Web Designer"; + case _232511: return "Interior Designer"; + case _232611: return "Urban and Regional Planner"; + case _233000: return "Engineering Professionals nfd"; + case _233100: return "Chemical and Materials Engineers nfd"; + case _233111: return "Chemical Engineer"; + case _233112: return "Materials Engineer"; + case _233200: return "Civil Engineering Professionals nfd"; + case _233211: return "Civil Engineer"; + case _233212: return "Geotechnical Engineer"; + case _233213: return "Quantity Surveyor"; + case _233214: return "Structural Engineer"; + case _233215: return "Transport Engineer"; + case _233311: return "Electrical Engineer"; + case _233411: return "Electronics Engineer"; + case _233500: return "Industrial, Mechanical and Production Engineers nfd"; + case _233511: return "Industrial Engineer"; + case _233512: return "Mechanical Engineer"; + case _233513: return "Production or Plant Engineer"; + case _233600: return "Mining Engineers nfd"; + case _233611: return "Mining Engineer (excluding Petroleum)"; + case _233612: return "Petroleum Engineer"; + case _233900: return "Other Engineering Professionals nfd"; + case _233911: return "Aeronautical Engineer"; + case _233912: return "Agricultural Engineer"; + case _233913: return "Biomedical Engineer"; + case _233914: return "Engineering Technologist"; + case _233915: return "Environmental Engineer"; + case _233916: return "Naval Architect"; + case _233999: return "Engineering Professionals nec"; + case _234000: return "Natural and Physical Science Professionals nfd"; + case _234100: return "Agricultural and Forestry Scientists nfd"; + case _234111: return "Agricultural Consultant"; + case _234112: return "Agricultural Scientist"; + case _234113: return "Forester"; + case _234200: return "Chemists, and Food and Wine Scientists nfd"; + case _234211: return "Chemist"; + case _234212: return "Food Technologist"; + case _234213: return "Wine Maker"; + case _234300: return "Environmental Scientists nfd"; + case _234311: return "Conservation Officer"; + case _234312: return "Environmental Consultant"; + case _234313: return "Environmental Research Scientist"; + case _234314: return "Park Ranger"; + case _234399: return "Environmental Scientists nec"; + case _234400: return "Geologists and Geophysicists nfd"; + case _234411: return "Geologist"; + case _234412: return "Geophysicist"; + case _234500: return "Life Scientists nfd"; + case _234511: return "Life Scientist (General)"; + case _234512: return "Anatomist or Physiologist"; + case _234513: return "Biochemist"; + case _234514: return "Biotechnologist"; + case _234515: return "Botanist"; + case _234516: return "Marine Biologist"; + case _234517: return "Microbiologist"; + case _234518: return "Zoologist"; + case _234599: return "Life Scientists nec"; + case _234611: return "Medical Laboratory Scientist"; + case _234711: return "Veterinarian"; + case _234900: return "Other Natural and Physical Science Professionals nfd"; + case _234911: return "Conservator"; + case _234912: return "Metallurgist"; + case _234913: return "Meteorologist"; + case _234914: return "Physicist"; + case _234999: return "Natural and Physical Science Professionals nec"; + case _240000: return "Education Professionals nfd"; + case _241000: return "School Teachers nfd"; + case _241111: return "Early Childhood (Pre-primary School) Teacher"; + case _241213: return "Primary School Teacher"; + case _241311: return "Middle School Teacher"; + case _241411: return "Secondary School Teacher"; + case _241500: return "Special Education Teachers nfd"; + case _241511: return "Special Needs Teacher"; + case _241512: return "Teacher of the Hearing Impaired"; + case _241513: return "Teacher of the Sight Impaired"; + case _241599: return "Special Education Teachers nec"; + case _242000: return "Tertiary Education Teachers nfd"; + case _242100: return "University Lecturers and Tutors nfd"; + case _242111: return "University Lecturer"; + case _242112: return "University Tutor"; + case _242211: return "Vocational Education Teacher"; + case _249000: return "Miscellaneous Education Professionals nfd"; + case _249100: return "Education Advisers and Reviewers nfd"; + case _249111: return "Education Adviser"; + case _249112: return "Education Reviewer"; + case _249200: return "Private Tutors and Teachers nfd"; + case _249211: return "Art Teacher (Private Tuition)"; + case _249212: return "Dance Teacher (Private Tuition)"; + case _249213: return "Drama Teacher (Private Tuition)"; + case _249214: return "Music Teacher (Private Tuition)"; + case _249299: return "Private Tutors and Teachers nec"; + case _249311: return "Teacher of English to Speakers of Other Languages"; + case _250000: return "Health Professionals nfd"; + case _251000: return "Health Diagnostic and Promotion Professionals nfd"; + case _251111: return "Dietitian"; + case _251200: return "Medical Imaging Professionals nfd"; + case _251211: return "Medical Diagnostic Radiographer"; + case _251212: return "Medical Radiation Therapist"; + case _251213: return "Nuclear Medicine Technologist"; + case _251214: return "Sonographer"; + case _251300: return "Occupational and Environmental Health Professionals nfd"; + case _251311: return "Environmental Health Officer"; + case _251312: return "Occupational Health and Safety Adviser"; + case _251400: return "Optometrists and Orthoptists nfd"; + case _251411: return "Optometrist"; + case _251412: return "Orthoptist"; + case _251500: return "Pharmacists nfd"; + case _251511: return "Hospital Pharmacist"; + case _251512: return "Industrial Pharmacist"; + case _251513: return "Retail Pharmacist"; + case _251900: return "Other Health Diagnostic and Promotion Professionals nfd"; + case _251911: return "Health Promotion Officer"; + case _251912: return "Orthotist or Prosthetist"; + case _251999: return "Health Diagnostic and Promotion Professionals nec"; + case _252000: return "Health Therapy Professionals nfd"; + case _252100: return "Chiropractors and Osteopaths nfd"; + case _252111: return "Chiropractor"; + case _252112: return "Osteopath"; + case _252200: return "Complementary Health Therapists nfd"; + case _252211: return "Acupuncturist"; + case _252212: return "Homoeopath"; + case _252213: return "Naturopath"; + case _252214: return "Traditional Chinese Medicine Practitioner"; + case _252299: return "Complementary Health Therapists nec"; + case _252300: return "Dental Practitioners nfd"; + case _252311: return "Dental Specialist"; + case _252312: return "Dentist"; + case _252411: return "Occupational Therapist"; + case _252511: return "Physiotherapist"; + case _252611: return "Podiatrist"; + case _252700: return "Speech Professionals and Audiologists nfd"; + case _252711: return "Audiologist"; + case _252712: return "Speech Pathologist"; + case _253000: return "Medical Practitioners nfd"; + case _253100: return "Generalist Medical Practitioners nfd"; + case _253111: return "General Medical Practitioner"; + case _253112: return "Resident Medical Officer"; + case _253211: return "Anaesthetist"; + case _253300: return "Internal Medicine Specialists nfd"; + case _253311: return "Specialist Physician (General Medicine)"; + case _253312: return "Cardiologist"; + case _253313: return "Clinical Haematologist"; + case _253314: return "Clinical Oncologist"; + case _253315: return "Endocrinologist"; + case _253316: return "Gastroenterologist"; + case _253317: return "Intensive Care Specialist"; + case _253318: return "Neurologist"; + case _253321: return "Paediatrician"; + case _253322: return "Renal Medicine Specialist"; + case _253323: return "Rheumatologist"; + case _253324: return "Thoracic Medicine Specialist"; + case _253399: return "Internal Medicine Specialists nec"; + case _253411: return "Psychiatrist"; + case _253500: return "Surgeons nfd"; + case _253511: return "Surgeon (General)"; + case _253512: return "Cardiothoracic Surgeon"; + case _253513: return "Neurosurgeon"; + case _253514: return "Orthopaedic Surgeon"; + case _253515: return "Otorhinolaryngologist"; + case _253516: return "Paediatric Surgeon"; + case _253517: return "Plastic and Reconstructive Surgeon"; + case _253518: return "Urologist"; + case _253521: return "Vascular Surgeon"; + case _253900: return "Other Medical Practitioners nfd"; + case _253911: return "Dermatologist"; + case _253912: return "Emergency Medicine Specialist"; + case _253913: return "Obstetrician and Gynaecologist"; + case _253914: return "Ophthalmologist"; + case _253915: return "Pathologist"; + case _253916: return "Radiologist"; + case _253999: return "Medical Practitioners nec"; + case _254000: return "Midwifery and Nursing Professionals nfd"; + case _254111: return "Midwife"; + case _254200: return "Nurse Educators and Researchers nfd"; + case _254211: return "Nurse Educator"; + case _254212: return "Nurse Researcher"; + case _254311: return "Nurse Manager"; + case _254400: return "Registered Nurses nfd"; + case _254411: return "Nurse Practitioner"; + case _254412: return "Registered Nurse (Aged Care)"; + case _254413: return "Registered Nurse (Child and Family Health)"; + case _254414: return "Registered Nurse (Community Health)"; + case _254415: return "Registered Nurse (Critical Care and Emergency)"; + case _254416: return "Registered Nurse (Developmental Disability)"; + case _254417: return "Registered Nurse (Disability and Rehabilitation)"; + case _254418: return "Registered Nurse (Medical)"; + case _254421: return "Registered Nurse (Medical Practice)"; + case _254422: return "Registered Nurse (Mental Health)"; + case _254423: return "Registered Nurse (Perioperative)"; + case _254424: return "Registered Nurse (Surgical)"; + case _254499: return "Registered Nurses nec"; + case _260000: return "ICT Professionals nfd"; + case _261000: return "Business and Systems Analysts, and Programmers nfd"; + case _261100: return "ICT Business and Systems Analysts nfd"; + case _261111: return "ICT Business Analyst"; + case _261112: return "Systems Analyst"; + case _261200: return "Multimedia Specialists and Web Developers nfd"; + case _261211: return "Multimedia Specialist"; + case _261212: return "Web Developer"; + case _261300: return "Software and Applications Programmers nfd"; + case _261311: return "Analyst Programmer"; + case _261312: return "Developer Programmer"; + case _261313: return "Software Engineer"; + case _261399: return "Software and Applications Programmers nec"; + case _262100: return "Database and Systems Administrators, and ICT Security Specialists nfd"; + case _262111: return "Database Administrator"; + case _262112: return "ICT Security Specialist"; + case _262113: return "Systems Administrator"; + case _263000: return "ICT Network and Support Professionals nfd"; + case _263100: return "Computer Network Professionals nfd"; + case _263111: return "Computer Network and Systems Engineer"; + case _263112: return "Network Administrator"; + case _263113: return "Network Analyst"; + case _263200: return "ICT Support and Test Engineers nfd"; + case _263211: return "ICT Quality Assurance Engineer"; + case _263212: return "ICT Support Engineer"; + case _263213: return "ICT Systems Test Engineer"; + case _263299: return "ICT Support and Test Engineers nec"; + case _263300: return "Telecommunications Engineering Professionals nfd"; + case _263311: return "Telecommunications Engineer"; + case _263312: return "Telecommunications Network Engineer"; + case _270000: return "Legal, Social and Welfare Professionals nfd"; + case _271000: return "Legal Professionals nfd"; + case _271111: return "Barrister"; + case _271200: return "Judicial and Other Legal Professionals nfd"; + case _271211: return "Judge"; + case _271212: return "Magistrate"; + case _271213: return "Tribunal Member"; + case _271299: return "Judicial and Other Legal Professionals nec"; + case _271311: return "Solicitor"; + case _272000: return "Social and Welfare Professionals nfd"; + case _272100: return "Counsellors nfd"; + case _272111: return "Careers Counsellor"; + case _272112: return "Drug and Alcohol Counsellor"; + case _272113: return "Family and Marriage Counsellor"; + case _272114: return "Rehabilitation Counsellor"; + case _272115: return "Student Counsellor"; + case _272199: return "Counsellors nec"; + case _272211: return "Minister of Religion"; + case _272300: return "Psychologists nfd"; + case _272311: return "Clinical Psychologist"; + case _272312: return "Educational Psychologist"; + case _272313: return "Organizational Psychologist"; + case _272314: return "Psychotherapist"; + case _272399: return "Psychologists nec"; + case _272400: return "Social Professionals nfd"; + case _272411: return "Historian"; + case _272412: return "Interpreter"; + case _272413: return "Translator"; + case _272499: return "Social Professionals nec"; + case _272511: return "Social Worker"; + case _272600: return "Welfare, Recreation and Community Arts Workers nfd"; + case _272611: return "Community Arts Worker"; + case _272612: return "Recreation Officer"; + case _272613: return "Welfare Worker"; + case _300000: return "Technicians and Trades Workers nfd"; + case _310000: return "Engineering, ICT and Science Technicians nfd"; + case _311000: return "Agricultural, Medical and Science Technicians nfd"; + case _311111: return "Agricultural Technician"; + case _311200: return "Medical Technicians nfd"; + case _311211: return "Anaesthetic Technician"; + case _311212: return "Cardiac Technician"; + case _311213: return "Medical Laboratory Technician"; + case _311214: return "Operating Theatre Technician"; + case _311215: return "Pharmacy Technician"; + case _311299: return "Medical Technicians nec"; + case _311300: return "Primary Products Inspectors nfd"; + case _311311: return "Fisheries Officer"; + case _311312: return "Meat Inspector"; + case _311313: return "Quarantine Officer"; + case _311399: return "Primary Products Inspectors nec"; + case _311400: return "Science Technicians nfd"; + case _311411: return "Chemistry Technician"; + case _311412: return "Earth Science Technician"; + case _311413: return "Life Science Technician"; + case _311414: return "School Laboratory Technician"; + case _311499: return "Science Technicians nec"; + case _312000: return "Building and Engineering Technicians nfd"; + case _312100: return "Architectural, Building and Surveying Technicians nfd"; + case _312111: return "Architectural Draftsperson"; + case _312112: return "Building Associate"; + case _312113: return "Building Inspector"; + case _312114: return "Construction Estimator"; + case _312115: return "Plumbing Inspector"; + case _312116: return "Surveying or Cartographic Technician"; + case _312200: return "Civil Engineering Draftspersons and Technicians nfd"; + case _312211: return "Civil Engineering Draftsperson"; + case _312212: return "Civil Engineering Technician"; + case _312300: return "Electrical Engineering Draftspersons and Technicians nfd"; + case _312311: return "Electrical Engineering Draftsperson"; + case _312312: return "Electrical Engineering Technician"; + case _312400: return "Electronic Engineering Draftspersons and Technicians nfd"; + case _312411: return "Electronic Engineering Draftsperson"; + case _312412: return "Electronic Engineering Technician"; + case _312500: return "Mechanical Engineering Draftspersons and Technicians nfd"; + case _312511: return "Mechanical Engineering Draftsperson"; + case _312512: return "Mechanical Engineering Technician"; + case _312611: return "Safety Inspector"; + case _312900: return "Other Building and Engineering Technicians nfd"; + case _312911: return "Maintenance Planner"; + case _312912: return "Metallurgical or Materials Technician"; + case _312913: return "Mine Deputy"; + case _312999: return "Building and Engineering Technicians nec"; + case _313000: return "ICT and Telecommunications Technicians nfd"; + case _313100: return "ICT Support Technicians nfd"; + case _313111: return "Hardware Technician"; + case _313112: return "ICT Customer Support Officer"; + case _313113: return "Web Administrator"; + case _313199: return "ICT Support Technicians nec"; + case _313200: return "Telecommunications Technical Specialists nfd"; + case _313211: return "Radiocommunications Technician"; + case _313212: return "Telecommunications Field Engineer"; + case _313213: return "Telecommunications Network Planner"; + case _313214: return "Telecommunications Technical Officer or Technologist"; + case _320000: return "Automotive and Engineering Trades Workers nfd"; + case _321000: return "Automotive Electricians and Mechanics nfd"; + case _321111: return "Automotive Electrician"; + case _321200: return "Motor Mechanics nfd"; + case _321211: return "Motor Mechanic (General)"; + case _321212: return "Diesel Motor Mechanic"; + case _321213: return "Motorcycle Mechanic"; + case _321214: return "Small Engine Mechanic"; + case _322000: return "Fabrication Engineering Trades Workers nfd"; + case _322100: return "Metal Casting, Forging and Finishing Trades Workers nfd"; + case _322111: return "Blacksmith"; + case _322112: return "Electroplater"; + case _322113: return "Farrier"; + case _322114: return "Metal Casting Trades Worker"; + case _322115: return "Metal Polisher"; + case _322211: return "Sheetmetal Trades Worker"; + case _322300: return "Structural Steel and Welding Trades Workers nfd"; + case _322311: return "Metal Fabricator"; + case _322312: return "Pressure Welder"; + case _322313: return "Welder (First Class)"; + case _323000: return "Mechanical Engineering Trades Workers nfd"; + case _323100: return "Aircraft Maintenance Engineers nfd"; + case _323111: return "Aircraft Maintenance Engineer (Avionics)"; + case _323112: return "Aircraft Maintenance Engineer (Mechanical)"; + case _323113: return "Aircraft Maintenance Engineer (Structures)"; + case _323200: return "Metal Fitters and Machinists nfd"; + case _323211: return "Fitter (General)"; + case _323212: return "Fitter and Turner"; + case _323213: return "Fitter-Welder"; + case _323214: return "Metal Machinist (First Class)"; + case _323215: return "Textile, Clothing and Footwear Mechanic"; + case _323299: return "Metal Fitters and Machinists nec"; + case _323300: return "Precision Metal Trades Workers nfd"; + case _323311: return "Engraver"; + case _323312: return "Gunsmith"; + case _323313: return "Locksmith"; + case _323314: return "Precision Instrument Maker and Repairer"; + case _323315: return "Saw Maker and Repairer"; + case _323316: return "Watch and Clock Maker and Repairer"; + case _323400: return "Toolmakers and Engineering Patternmakers nfd"; + case _323411: return "Engineering Patternmaker"; + case _323412: return "Toolmaker"; + case _324000: return "Panelbeaters, and Vehicle Body Builders, Trimmers and Painters nfd"; + case _324111: return "Panelbeater"; + case _324200: return "Vehicle Body Builders and Trimmers nfd"; + case _324211: return "Vehicle Body Builder"; + case _324212: return "Vehicle Trimmer"; + case _324311: return "Vehicle Painter"; + case _330000: return "Construction Trades Workers nfd"; + case _331000: return "Bricklayers, and Carpenters and Joiners nfd"; + case _331100: return "Bricklayers and Stonemasons nfd"; + case _331111: return "Bricklayer"; + case _331112: return "Stonemason"; + case _331211: return "Carpenter and Joiner"; + case _331212: return "Carpenter"; + case _331213: return "Joiner"; + case _332000: return "Floor Finishers and Painting Trades Workers nfd"; + case _332111: return "Floor Finisher"; + case _332211: return "Painting Trades Worker"; + case _333000: return "Glaziers, Plasterers and Tilers nfd"; + case _333111: return "Glazier"; + case _333200: return "Plasterers nfd"; + case _333211: return "Fibrous Plasterer"; + case _333212: return "Solid Plasterer"; + case _333311: return "Roof Tiler"; + case _333411: return "Wall and Floor Tiler"; + case _334100: return "Plumbers nfd"; + case _334111: return "Plumber (General)"; + case _334112: return "Airconditioning and Mechanical Services Plumber"; + case _334113: return "Drainer"; + case _334114: return "Gasfitter"; + case _334115: return "Roof Plumber"; + case _340000: return "Electrotechnology and Telecommunications Trades Workers nfd"; + case _341100: return "Electricians nfd"; + case _341111: return "Electrician (General)"; + case _341112: return "Electrician (Special Class)"; + case _341113: return "Lift Mechanic"; + case _342000: return "Electronics and Telecommunications Trades Workers nfd"; + case _342111: return "Airconditioning and Refrigeration Mechanic"; + case _342200: return "Electrical Distribution Trades Workers nfd"; + case _342211: return "Electrical Linesworker"; + case _342212: return "Technical Cable Jointer"; + case _342300: return "Electronics Trades Workers nfd"; + case _342311: return "Business Machine Mechanic"; + case _342312: return "Communications Operator"; + case _342313: return "Electronic Equipment Trades Worker"; + case _342314: return "Electronic Instrument Trades Worker (General)"; + case _342315: return "Electronic Instrument Trades Worker (Special Class)"; + case _342400: return "Telecommunications Trades Workers nfd"; + case _342411: return "Cabler (Data and Telecommunications)"; + case _342412: return "Telecommunications Cable Jointer"; + case _342413: return "Telecommunications Linesworker"; + case _342414: return "Telecommunications Technician"; + case _351000: return "Food Trades Workers nfd"; + case _351100: return "Bakers and Pastrycooks nfd"; + case _351111: return "Baker"; + case _351112: return "Pastrycook"; + case _351211: return "Butcher or Smallgoods Maker"; + case _351311: return "Chef"; + case _351411: return "Cook"; + case _360000: return "Skilled Animal and Horticultural Workers nfd"; + case _361000: return "Animal Attendants and Trainers, and Shearers nfd"; + case _361100: return "Animal Attendants and Trainers nfd"; + case _361111: return "Dog Handler or Trainer"; + case _361112: return "Horse Trainer"; + case _361113: return "Pet Groomer"; + case _361114: return "Zookeeper"; + case _361199: return "Animal Attendants and Trainers nec"; + case _361211: return "Shearer"; + case _361311: return "Veterinary Nurse"; + case _362000: return "Horticultural Trades Workers nfd"; + case _362111: return "Florist"; + case _362200: return "Gardeners nfd"; + case _362211: return "Gardener (General)"; + case _362212: return "Arborist"; + case _362213: return "Landscape Gardener"; + case _362311: return "Greenkeeper"; + case _362411: return "Nurseryperson"; + case _390000: return "Other Technicians and Trades Workers nfd"; + case _391111: return "Hairdresser"; + case _392000: return "Printing Trades Workers nfd"; + case _392100: return "Binders, Finishers and Screen Printers nfd"; + case _392111: return "Binder and Finisher"; + case _392112: return "Screen Printer"; + case _392211: return "Graphic Pre-press Trades Worker"; + case _392300: return "Printers nfd"; + case _392311: return "Printing Machinist"; + case _392312: return "Small Offset Printer"; + case _393000: return "Textile, Clothing and Footwear Trades Workers nfd"; + case _393100: return "Canvas and Leather Goods Makers nfd"; + case _393111: return "Canvas Goods Maker"; + case _393112: return "Leather Goods Maker"; + case _393113: return "Sail Maker"; + case _393114: return "Shoemaker"; + case _393200: return "Clothing Trades Workers nfd"; + case _393211: return "Apparel Cutter"; + case _393212: return "Clothing Patternmaker"; + case _393213: return "Dressmaker or Tailor"; + case _393299: return "Clothing Trades Workers nec"; + case _393311: return "Upholsterer"; + case _394000: return "Wood Trades Workers nfd"; + case _394111: return "Cabinetmaker"; + case _394200: return "Wood Machinists and Other Wood Trades Workers nfd"; + case _394211: return "Furniture Finisher"; + case _394212: return "Picture Framer"; + case _394213: return "Wood Machinist"; + case _394214: return "Wood Turner"; + case _394299: return "Wood Machinists and Other Wood Trades Workers nec"; + case _399000: return "Miscellaneous Technicians and Trades Workers nfd"; + case _399100: return "Boat Builders and Shipwrights nfd"; + case _399111: return "Boat Builder and Repairer"; + case _399112: return "Shipwright"; + case _399200: return "Chemical, Gas, Petroleum and Power Generation Plant Operators nfd"; + case _399211: return "Chemical Plant Operator"; + case _399212: return "Gas or Petroleum Operator"; + case _399213: return "Power Generation Plant Operator"; + case _399300: return "Gallery, Library and Museum Technicians nfd"; + case _399311: return "Gallery or Museum Technician"; + case _399312: return "Library Technician"; + case _399411: return "Jeweller"; + case _399500: return "Performing Arts Technicians nfd"; + case _399511: return "Broadcast Transmitter Operator"; + case _399512: return "Camera Operator (Film, Television or Video)"; + case _399513: return "Light Technician"; + case _399514: return "Make Up Artist"; + case _399515: return "Musical Instrument Maker or Repairer"; + case _399516: return "Sound Technician"; + case _399517: return "Television Equipment Operator"; + case _399599: return "Performing Arts Technicians nec"; + case _399611: return "Signwriter"; + case _399900: return "Other Miscellaneous Technicians and Trades Workers nfd"; + case _399911: return "Diver"; + case _399912: return "Interior Decorator"; + case _399913: return "Optical Dispenser"; + case _399914: return "Optical Mechanic"; + case _399915: return "Photographer's Assistant"; + case _399916: return "Plastics Technician"; + case _399917: return "Wool Classer"; + case _399999: return "Technicians and Trades Workers nec"; + case _400000: return "Community and Personal Service Workers nfd"; + case _411000: return "Health and Welfare Support Workers nfd"; + case _411100: return "Ambulance Officers and Paramedics nfd"; + case _411111: return "Ambulance Officer"; + case _411112: return "Intensive Care Ambulance Paramedic"; + case _411200: return "Dental Hygienists, Technicians and Therapists nfd"; + case _411211: return "Dental Hygienist"; + case _411212: return "Dental Prosthetist"; + case _411213: return "Dental Technician"; + case _411214: return "Dental Therapist"; + case _411311: return "Diversional Therapist"; + case _411400: return "Enrolled and Mothercraft Nurses nfd"; + case _411411: return "Enrolled Nurse"; + case _411412: return "Mothercraft Nurse"; + case _411511: return "Aboriginal and Torres Strait Islander Health Worker"; + case _411611: return "Massage Therapist"; + case _411700: return "Welfare Support Workers nfd"; + case _411711: return "Community Worker"; + case _411712: return "Disabilities Services Officer"; + case _411713: return "Family Support Worker"; + case _411714: return "Parole or Probation Officer"; + case _411715: return "Residential Care Officer"; + case _411716: return "Youth Worker"; + case _420000: return "Carers and Aides nfd"; + case _421100: return "Child Carers nfd"; + case _421111: return "Child Care Worker"; + case _421112: return "Family Day Care Worker"; + case _421113: return "Nanny"; + case _421114: return "Out of School Hours Care Worker"; + case _422100: return "Education Aides nfd"; + case _422111: return "Aboriginal and Torres Strait Islander Education Worker"; + case _422112: return "Integration Aide"; + case _422115: return "Preschool Aide"; + case _422116: return "Teachers' Aide"; + case _423000: return "Personal Carers and Assistants nfd"; + case _423111: return "Aged or Disabled Carer"; + case _423211: return "Dental Assistant"; + case _423300: return "Nursing Support and Personal Care Workers nfd"; + case _423311: return "Hospital Orderly"; + case _423312: return "Nursing Support Worker"; + case _423313: return "Personal Care Assistant"; + case _423314: return "Therapy Aide"; + case _423400: return "Special Care Workers nfd"; + case _423411: return "Child or Youth Residential Care Assistant"; + case _423412: return "Hostel Parent"; + case _423413: return "Refuge Worker"; + case _431000: return "Hospitality Workers nfd"; + case _431100: return "Bar Attendants and Baristas nfd"; + case _431111: return "Bar Attendant"; + case _431112: return "Barista"; + case _431211: return "Cafe Worker"; + case _431311: return "Gaming Worker"; + case _431411: return "Hotel Service Manager"; + case _431511: return "Waiter"; + case _431900: return "Other Hospitality Workers nfd"; + case _431911: return "Bar Useful or Busser"; + case _431912: return "Doorperson or Luggage Porter"; + case _431999: return "Hospitality Workers nec"; + case _440000: return "Protective Service Workers nfd"; + case _441000: return "Defence Force Members, Fire Fighters and Police nfd"; + case _441111: return "Defence Force Member - Other Ranks"; + case _441200: return "Fire and Emergency Workers nfd"; + case _441211: return "Emergency Service Worker"; + case _441212: return "Fire Fighter"; + case _441300: return "Police nfd"; + case _441311: return "Detective"; + case _441312: return "Police Officer"; + case _442000: return "Prison and Security Officers nfd"; + case _442111: return "Prison Officer"; + case _442200: return "Security Officers and Guards nfd"; + case _442211: return "Alarm, Security or Surveillance Monitor"; + case _442212: return "Armoured Car Escort"; + case _442213: return "Crowd Controller"; + case _442214: return "Private Investigator"; + case _442215: return "Retail Loss Prevention Officer"; + case _442216: return "Security Consultant"; + case _442217: return "Security Officer"; + case _442299: return "Security Officers and Guards nec"; + case _450000: return "Sports and Personal Service Workers nfd"; + case _451000: return "Personal Service and Travel Workers nfd"; + case _451111: return "Beauty Therapist"; + case _451211: return "Driving Instructor"; + case _451300: return "Funeral Workers nfd"; + case _451311: return "Funeral Director"; + case _451399: return "Funeral Workers nec"; + case _451400: return "Gallery, Museum and Tour Guides nfd"; + case _451411: return "Gallery or Museum Guide"; + case _451412: return "Tour Guide"; + case _451500: return "Personal Care Consultants nfd"; + case _451511: return "Natural Remedy Consultant"; + case _451512: return "Weight Loss Consultant"; + case _451600: return "Tourism and Travel Advisers nfd"; + case _451611: return "Tourist Information Officer"; + case _451612: return "Travel Consultant"; + case _451700: return "Travel Attendants nfd"; + case _451711: return "Flight Attendant"; + case _451799: return "Travel Attendants nec"; + case _451800: return "Other Personal Service Workers nfd"; + case _451811: return "Civil Celebrant"; + case _451812: return "Hair or Beauty Salon Assistant"; + case _451813: return "Sex Worker or Escort"; + case _451899: return "Personal Service Workers nec"; + case _452000: return "Sports and Fitness Workers nfd"; + case _452111: return "Fitness Instructor"; + case _452200: return "Outdoor Adventure Guides nfd"; + case _452211: return "Bungy Jump Master"; + case _452212: return "Fishing Guide"; + case _452213: return "Hunting Guide"; + case _452214: return "Mountain or Glacier Guide"; + case _452215: return "Outdoor Adventure Instructor"; + case _452216: return "Trekking Guide"; + case _452217: return "Whitewater Rafting Guide"; + case _452299: return "Outdoor Adventure Guides nec"; + case _452300: return "Sports Coaches, Instructors and Officials nfd"; + case _452311: return "Diving Instructor (Open Water)"; + case _452312: return "Gymnastics Coach or Instructor"; + case _452313: return "Horse Riding Coach or Instructor"; + case _452314: return "Snowsport Instructor"; + case _452315: return "Swimming Coach or Instructor"; + case _452316: return "Tennis Coach"; + case _452317: return "Other Sports Coach or Instructor"; + case _452318: return "Dog or Horse Racing Official"; + case _452321: return "Sports Development Officer"; + case _452322: return "Sports Umpire"; + case _452323: return "Other Sports Official"; + case _452400: return "Sportspersons nfd"; + case _452411: return "Footballer"; + case _452412: return "Golfer"; + case _452413: return "Jockey"; + case _452414: return "Lifeguard"; + case _452499: return "Sportspersons nec"; + case _500000: return "Clerical and Administrative Workers nfd"; + case _510000: return "Office Managers and Program Administrators nfd"; + case _511100: return "Contract, Program and Project Administrators nfd"; + case _511111: return "Contract Administrator"; + case _511112: return "Program or Project Administrator"; + case _512000: return "Office and Practice Managers nfd"; + case _512111: return "Office Manager"; + case _512200: return "Practice Managers nfd"; + case _512211: return "Health Practice Manager"; + case _512299: return "Practice Managers nec"; + case _521000: return "Personal Assistants and Secretaries nfd"; + case _521111: return "Personal Assistant"; + case _521200: return "Secretaries nfd"; + case _521211: return "Secretary (General)"; + case _521212: return "Legal Secretary"; + case _530000: return "General Clerical Workers nfd"; + case _531111: return "General Clerk"; + case _532100: return "Keyboard Operators nfd"; + case _532111: return "Data Entry Operator"; + case _532112: return "Machine Shorthand Reporter"; + case _532113: return "Word Processing Operator"; + case _540000: return "Inquiry Clerks and Receptionists nfd"; + case _541000: return "Call or Contact Centre Information Clerks nfd"; + case _541100: return "Call or Contact Centre Workers nfd"; + case _541111: return "Call or Contact Centre Team Leader"; + case _541112: return "Call or Contact Centre Operator"; + case _541211: return "Inquiry Clerk"; + case _542100: return "Receptionists nfd"; + case _542111: return "Receptionist (General)"; + case _542112: return "Admissions Clerk"; + case _542113: return "Hotel or Motel Receptionist"; + case _542114: return "Medical Receptionist"; + case _550000: return "Numerical Clerks nfd"; + case _551000: return "Accounting Clerks and Bookkeepers nfd"; + case _551100: return "Accounting Clerks nfd"; + case _551111: return "Accounts Clerk"; + case _551112: return "Cost Clerk"; + case _551211: return "Bookkeeper"; + case _551311: return "Payroll Clerk"; + case _552000: return "Financial and Insurance Clerks nfd"; + case _552111: return "Bank Worker"; + case _552211: return "Credit or Loans Officer"; + case _552300: return "Insurance, Money Market and Statistical Clerks nfd"; + case _552311: return "Bookmaker"; + case _552312: return "Insurance Consultant"; + case _552313: return "Money Market Clerk"; + case _552314: return "Statistical Clerk"; + case _561000: return "Clerical and Office Support Workers nfd"; + case _561100: return "Betting Clerks nfd"; + case _561111: return "Betting Agency Counter Clerk"; + case _561112: return "Bookmaker's Clerk"; + case _561113: return "Telephone Betting Clerk"; + case _561199: return "Betting Clerks nec"; + case _561200: return "Couriers and Postal Deliverers nfd"; + case _561211: return "Courier"; + case _561212: return "Postal Delivery Officer"; + case _561311: return "Filing or Registry Clerk"; + case _561400: return "Mail Sorters nfd"; + case _561411: return "Mail Clerk"; + case _561412: return "Postal Sorting Officer"; + case _561511: return "Survey Interviewer"; + case _561611: return "Switchboard Operator"; + case _561900: return "Other Clerical and Office Support Workers nfd"; + case _561911: return "Classified Advertising Clerk"; + case _561912: return "Meter Reader"; + case _561913: return "Parking Inspector"; + case _561999: return "Clerical and Office Support Workers nec"; + case _590000: return "Other Clerical and Administrative Workers nfd"; + case _591000: return "Logistics Clerks nfd"; + case _591100: return "Purchasing and Supply Logistics Clerks nfd"; + case _591111: return "Order Clerk"; + case _591112: return "Production Clerk"; + case _591113: return "Purchasing Officer"; + case _591114: return "Sales Clerk"; + case _591115: return "Stock Clerk"; + case _591116: return "Warehouse Administrator"; + case _591200: return "Transport and Despatch Clerks nfd"; + case _591211: return "Despatching and Receiving Clerk"; + case _591212: return "Import-Export Clerk"; + case _599000: return "Miscellaneous Clerical and Administrative Workers nfd"; + case _599100: return "Conveyancers and Legal Executives nfd"; + case _599111: return "Conveyancer"; + case _599112: return "Legal Executive"; + case _599200: return "Court and Legal Clerks nfd"; + case _599211: return "Clerk of Court"; + case _599212: return "Court Bailiff or Sheriff"; + case _599213: return "Court Orderly"; + case _599214: return "Law Clerk"; + case _599215: return "Trust Officer"; + case _599311: return "Debt Collector"; + case _599411: return "Human Resource Clerk"; + case _599500: return "Inspectors and Regulatory Officers nfd"; + case _599511: return "Customs Officer"; + case _599512: return "Immigration Officer"; + case _599513: return "Motor Vehicle Licence Examiner"; + case _599514: return "Noxious Weeds and Pest Inspector"; + case _599515: return "Social Security Assessor"; + case _599516: return "Taxation Inspector"; + case _599517: return "Train Examiner"; + case _599518: return "Transport Operations Inspector"; + case _599521: return "Water Inspector"; + case _599599: return "Inspectors and Regulatory Officers nec"; + case _599600: return "Insurance Investigators, Loss Adjusters and Risk Surveyors nfd"; + case _599611: return "Insurance Investigator"; + case _599612: return "Insurance Loss Adjuster"; + case _599613: return "Insurance Risk Surveyor"; + case _599711: return "Library Assistant"; + case _599900: return "Other Miscellaneous Clerical and Administrative Workers nfd"; + case _599911: return "Coding Clerk"; + case _599912: return "Production Assistant (Film, Television, Radio or Stage)"; + case _599913: return "Proof Reader"; + case _599914: return "Radio Despatcher"; + case _599999: return "Clerical and Administrative Workers nec"; + case _600000: return "Sales Workers nfd"; + case _610000: return "Sales Representatives and Agents nfd"; + case _611000: return "Insurance Agents and Sales Representatives nfd"; + case _611100: return "Auctioneers, and Stock and Station Agents nfd"; + case _611111: return "Auctioneer"; + case _611112: return "Stock and Station Agent"; + case _611211: return "Insurance Agent"; + case _611300: return "Sales Representatives nfd"; + case _611311: return "Sales Representative (Building and Plumbing Supplies)"; + case _611312: return "Sales Representative (Business Services)"; + case _611313: return "Sales Representative (Motor Vehicle Parts and Accessories)"; + case _611314: return "Sales Representative (Personal and Household Goods)"; + case _611399: return "Sales Representatives nec"; + case _612100: return "Real Estate Sales Agents nfd"; + case _612111: return "Business Broker"; + case _612112: return "Property Manager"; + case _612113: return "Real Estate Agency Principal"; + case _612114: return "Real Estate Agent"; + case _612115: return "Real Estate Representative"; + case _621000: return "Sales Assistants and Salespersons nfd"; + case _621111: return "Sales Assistant (General)"; + case _621211: return "ICT Sales Assistant"; + case _621300: return "Motor Vehicle and Vehicle Parts Salespersons nfd"; + case _621311: return "Motor Vehicle or Caravan Salesperson"; + case _621312: return "Motor Vehicle Parts Interpreter"; + case _621411: return "Pharmacy Sales Assistant"; + case _621511: return "Retail Supervisor"; + case _621611: return "Service Station Attendant"; + case _621700: return "Street Vendors and Related Salespersons nfd"; + case _621711: return "Cash Van Salesperson"; + case _621712: return "Door-to-door Salesperson"; + case _621713: return "Street Vendor"; + case _621900: return "Other Sales Assistants and Salespersons nfd"; + case _621911: return "Materials Recycler"; + case _621912: return "Rental Salesperson"; + case _621999: return "Sales Assistants and Salespersons nec"; + case _630000: return "Sales Support Workers nfd"; + case _631100: return "Checkout Operators and Office Cashiers nfd"; + case _631111: return "Checkout Operator"; + case _631112: return "Office Cashier"; + case _639000: return "Miscellaneous Sales Support Workers nfd"; + case _639100: return "Models and Sales Demonstrators nfd"; + case _639111: return "Model"; + case _639112: return "Sales Demonstrator"; + case _639200: return "Retail and Wool Buyers nfd"; + case _639211: return "Retail Buyer"; + case _639212: return "Wool Buyer"; + case _639311: return "Telemarketer"; + case _639400: return "Ticket Salespersons nfd"; + case _639411: return "Ticket Seller"; + case _639412: return "Transport Conductor"; + case _639511: return "Visual Merchandiser"; + case _639911: return "Other Sales Support Worker"; + case _700000: return "Machinery Operators and Drivers nfd"; + case _710000: return "Machine and Stationary Plant Operators nfd"; + case _711000: return "Machine Operators nfd"; + case _711100: return "Clay, Concrete, Glass and Stone Processing Machine Operators nfd"; + case _711111: return "Clay Products Machine Operator"; + case _711112: return "Concrete Products Machine Operator"; + case _711113: return "Glass Production Machine Operator"; + case _711114: return "Stone Processing Machine Operator"; + case _711199: return "Clay, Concrete, Glass and Stone Processing Machine Operators nec"; + case _711211: return "Industrial Spraypainter"; + case _711300: return "Paper and Wood Processing Machine Operators nfd"; + case _711311: return "Paper Products Machine Operator"; + case _711312: return "Wood Processing Machine Operator"; + case _711411: return "Photographic Developer and Printer"; + case _711500: return "Plastics and Rubber Production Machine Operators nfd"; + case _711511: return "Plastic Cablemaking Machine Operator"; + case _711512: return "Plastic Compounding and Reclamation Machine Operator"; + case _711513: return "Plastics Fabricator or Welder"; + case _711514: return "Plastics Production Machine Operator (General)"; + case _711515: return "Reinforced Plastic and Composite Production Worker"; + case _711516: return "Rubber Production Machine Operator"; + case _711599: return "Plastics and Rubber Production Machine Operators nec"; + case _711611: return "Sewing Machinist"; + case _711700: return "Textile and Footwear Production Machine Operators nfd"; + case _711711: return "Footwear Production Machine Operator"; + case _711712: return "Hide and Skin Processing Machine Operator"; + case _711713: return "Knitting Machine Operator"; + case _711714: return "Textile Dyeing and Finishing Machine Operator"; + case _711715: return "Weaving Machine Operator"; + case _711716: return "Yarn Carding and Spinning Machine Operator"; + case _711799: return "Textile and Footwear Production Machine Operators nec"; + case _711900: return "Other Machine Operators nfd"; + case _711911: return "Chemical Production Machine Operator"; + case _711912: return "Motion Picture Projectionist"; + case _711913: return "Sand Blaster"; + case _711914: return "Sterilisation Technician"; + case _711999: return "Machine Operators nec"; + case _712000: return "Stationary Plant Operators nfd"; + case _712111: return "Crane, Hoist or Lift Operator"; + case _712200: return "Drillers, Miners and Shot Firers nfd"; + case _712211: return "Driller"; + case _712212: return "Miner"; + case _712213: return "Shot Firer"; + case _712311: return "Engineering Production Systems Worker"; + case _712900: return "Other Stationary Plant Operators nfd"; + case _712911: return "Boiler or Engine Operator"; + case _712912: return "Bulk Materials Handling Plant Operator"; + case _712913: return "Cement Production Plant Operator"; + case _712914: return "Concrete Batching Plant Operator"; + case _712915: return "Concrete Pump Operator"; + case _712916: return "Paper and Pulp Mill Operator"; + case _712917: return "Railway Signal Operator"; + case _712918: return "Train Controller"; + case _712921: return "Waste Water or Water Plant Operator"; + case _712922: return "Weighbridge Operator"; + case _712999: return "Stationary Plant Operators nec"; + case _721000: return "Mobile Plant Operators nfd"; + case _721100: return "Agricultural, Forestry and Horticultural Plant Operators nfd"; + case _721111: return "Agricultural and Horticultural Mobile Plant Operator"; + case _721112: return "Logging Plant Operator"; + case _721200: return "Earthmoving Plant Operators nfd"; + case _721211: return "Earthmoving Plant Operator (General)"; + case _721212: return "Backhoe Operator"; + case _721213: return "Bulldozer Operator"; + case _721214: return "Excavator Operator"; + case _721215: return "Grader Operator"; + case _721216: return "Loader Operator"; + case _721311: return "Forklift Driver"; + case _721900: return "Other Mobile Plant Operators nfd"; + case _721911: return "Aircraft Baggage Handler and Airline Ground Crew"; + case _721912: return "Linemarker"; + case _721913: return "Paving Plant Operator"; + case _721914: return "Railway Track Plant Operator"; + case _721915: return "Road Roller Operator"; + case _721916: return "Streetsweeper Operator"; + case _721999: return "Mobile Plant Operators nec"; + case _730000: return "Road and Rail Drivers nfd"; + case _731000: return "Automobile, Bus and Rail Drivers nfd"; + case _731100: return "Automobile Drivers nfd"; + case _731111: return "Chauffeur"; + case _731112: return "Taxi Driver"; + case _731199: return "Automobile Drivers nec"; + case _731200: return "Bus and Coach Drivers nfd"; + case _731211: return "Bus Driver"; + case _731212: return "Charter and Tour Bus Driver"; + case _731213: return "Passenger Coach Driver"; + case _731300: return "Train and Tram Drivers nfd"; + case _731311: return "Train Driver"; + case _731312: return "Tram Driver"; + case _732111: return "Delivery Driver"; + case _733100: return "Truck Drivers nfd"; + case _733111: return "Truck Driver (General)"; + case _733112: return "Aircraft Refueller"; + case _733113: return "Furniture Removalist"; + case _733114: return "Tanker Driver"; + case _733115: return "Tow Truck Driver"; + case _741111: return "Storeperson"; + case _800000: return "Labourers nfd"; + case _811000: return "Cleaners and Laundry Workers nfd"; + case _811111: return "Car Detailer"; + case _811211: return "Commercial Cleaner"; + case _811311: return "Domestic Cleaner"; + case _811400: return "Housekeepers nfd"; + case _811411: return "Commercial Housekeeper"; + case _811412: return "Domestic Housekeeper"; + case _811500: return "Laundry Workers nfd"; + case _811511: return "Laundry Worker (General)"; + case _811512: return "Drycleaner"; + case _811513: return "Ironer or Presser"; + case _811600: return "Other Cleaners nfd"; + case _811611: return "Carpet Cleaner"; + case _811612: return "Window Cleaner"; + case _811699: return "Cleaners nec"; + case _821000: return "Construction and Mining Labourers nfd"; + case _821100: return "Building and Plumbing Labourers nfd"; + case _821111: return "Builder's Labourer"; + case _821112: return "Drainage, Sewerage and Stormwater Labourer"; + case _821113: return "Earthmoving Labourer"; + case _821114: return "Plumber's Assistant"; + case _821211: return "Concreter"; + case _821311: return "Fencer"; + case _821400: return "Insulation and Home Improvement Installers nfd"; + case _821411: return "Building Insulation Installer"; + case _821412: return "Home Improvement Installer"; + case _821511: return "Paving and Surfacing Labourer"; + case _821611: return "Railway Track Worker"; + case _821700: return "Structural Steel Construction Workers nfd"; + case _821711: return "Construction Rigger"; + case _821712: return "Scaffolder"; + case _821713: return "Steel Fixer"; + case _821714: return "Structural Steel Erector"; + case _821900: return "Other Construction and Mining Labourers nfd"; + case _821911: return "Crane Chaser"; + case _821912: return "Driller's Assistant"; + case _821913: return "Lagger"; + case _821914: return "Mining Support Worker"; + case _821915: return "Surveyor's Assistant"; + case _830000: return "Factory Process Workers nfd"; + case _831000: return "Food Process Workers nfd"; + case _831100: return "Food and Drink Factory Workers nfd"; + case _831111: return "Baking Factory Worker"; + case _831112: return "Brewery Worker"; + case _831113: return "Confectionery Maker"; + case _831114: return "Dairy Products Maker"; + case _831115: return "Fruit and Vegetable Factory Worker"; + case _831116: return "Grain Mill Worker"; + case _831117: return "Sugar Mill Worker"; + case _831118: return "Winery Cellar Hand"; + case _831199: return "Food and Drink Factory Workers nec"; + case _831200: return "Meat Boners and Slicers, and Slaughterers nfd"; + case _831211: return "Meat Boner and Slicer"; + case _831212: return "Slaughterer"; + case _831300: return "Meat, Poultry and Seafood Process Workers nfd"; + case _831311: return "Meat Process Worker"; + case _831312: return "Poultry Process Worker"; + case _831313: return "Seafood Process Worker"; + case _832000: return "Packers and Product Assemblers nfd"; + case _832100: return "Packers nfd"; + case _832111: return "Chocolate Packer"; + case _832112: return "Container Filler"; + case _832113: return "Fruit and Vegetable Packer"; + case _832114: return "Meat Packer"; + case _832115: return "Seafood Packer"; + case _832199: return "Packers nec"; + case _832211: return "Product Assembler"; + case _839000: return "Miscellaneous Factory Process Workers nfd"; + case _839111: return "Metal Engineering Process Worker"; + case _839200: return "Plastics and Rubber Factory Workers nfd"; + case _839211: return "Plastics Factory Worker"; + case _839212: return "Rubber Factory Worker"; + case _839300: return "Product Quality Controllers nfd"; + case _839311: return "Product Examiner"; + case _839312: return "Product Grader"; + case _839313: return "Product Tester"; + case _839400: return "Timber and Wood Process Workers nfd"; + case _839411: return "Paper and Pulp Mill Worker"; + case _839412: return "Sawmill or Timber Yard Worker"; + case _839413: return "Wood and Wood Products Factory Worker"; + case _839900: return "Other Factory Process Workers nfd"; + case _839911: return "Cement and Concrete Plant Worker"; + case _839912: return "Chemical Plant Worker"; + case _839913: return "Clay Processing Factory Worker"; + case _839914: return "Fabric and Textile Factory Worker"; + case _839915: return "Footwear Factory Worker"; + case _839916: return "Glass Processing Worker"; + case _839917: return "Hide and Skin Processing Worker"; + case _839999: return "Factory Process Workers nec"; + case _841000: return "Farm, Forestry and Garden Workers nfd"; + case _841111: return "Aquaculture Worker"; + case _841200: return "Crop Farm Workers nfd"; + case _841211: return "Fruit or Nut Farm Worker"; + case _841212: return "Fruit or Nut Picker"; + case _841213: return "Grain, Oilseed or Pasture Farm Worker"; + case _841214: return "Vegetable Farm Worker"; + case _841215: return "Vegetable Picker"; + case _841216: return "Vineyard Worker"; + case _841299: return "Crop Farm Workers nec"; + case _841300: return "Forestry and Logging Workers nfd"; + case _841311: return "Forestry Worker"; + case _841312: return "Logging Assistant"; + case _841313: return "Tree Faller"; + case _841400: return "Garden and Nursery Labourers nfd"; + case _841411: return "Garden Labourer"; + case _841412: return "Horticultural Nursery Assistant"; + case _841500: return "Livestock Farm Workers nfd"; + case _841511: return "Beef Cattle Farm Worker"; + case _841512: return "Dairy Cattle Farm Worker"; + case _841513: return "Mixed Livestock Farm Worker"; + case _841514: return "Poultry Farm Worker"; + case _841515: return "Sheep Farm Worker"; + case _841516: return "Stablehand"; + case _841517: return "Wool Handler"; + case _841599: return "Livestock Farm Workers nec"; + case _841611: return "Mixed Crop and Livestock Farm Worker"; + case _841900: return "Other Farm, Forestry and Garden Workers nfd"; + case _841911: return "Hunter-Trapper"; + case _841912: return "Pest or Weed Controller"; + case _841999: return "Farm, Forestry and Garden Workers nec"; + case _851000: return "Food Preparation Assistants nfd"; + case _851111: return "Fast Food Cook"; + case _851200: return "Food Trades Assistants nfd"; + case _851211: return "Pastrycook's Assistant"; + case _851299: return "Food Trades Assistants nec"; + case _851311: return "Kitchenhand"; + case _890000: return "Other Labourers nfd"; + case _891000: return "Freight Handlers and Shelf Fillers nfd"; + case _891100: return "Freight and Furniture Handlers nfd"; + case _891111: return "Freight Handler (Rail or Road)"; + case _891112: return "Truck Driver's Offsider"; + case _891113: return "Waterside Worker"; + case _891211: return "Shelf Filler"; + case _899000: return "Miscellaneous Labourers nfd"; + case _899111: return "Caretaker"; + case _899200: return "Deck and Fishing Hands nfd"; + case _899211: return "Deck Hand"; + case _899212: return "Fishing Hand"; + case _899311: return "Handyperson"; + case _899400: return "Motor Vehicle Parts and Accessories Fitters nfd"; + case _899411: return "Motor Vehicle Parts and Accessories Fitter (General)"; + case _899412: return "Autoglazier"; + case _899413: return "Exhaust and Muffler Fitter"; + case _899414: return "Radiator Fitter"; + case _899415: return "Tyre Fitter"; + case _899500: return "Printing Assistants and Table Workers nfd"; + case _899511: return "Printer's Assistant"; + case _899512: return "Printing Table Worker"; + case _899611: return "Recycling or Rubbish Collector"; + case _899711: return "Vending Machine Attendant"; + case _899900: return "Other Miscellaneous Labourers nfd"; + case _899911: return "Bicycle Mechanic"; + case _899912: return "Car Park Attendant"; + case _899913: return "Crossing Supervisor"; + case _899914: return "Electrical or Telecommunications Trades Assistant"; + case _899915: return "Leaflet or Newspaper Deliverer"; + case _899916: return "Mechanic's Assistant"; + case _899917: return "Railways Assistant"; + case _899918: return "Sign Erector"; + case _899921: return "Ticket Collector or Usher"; + case _899922: return "Trolley Collector"; + case _899999: return "Labourers nec"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _100000: return "Managers nfd"; + case _111000: return "Chief Executives, General Managers and Legislators nfd"; + case _111111: return "Chief Executive or Managing Director"; + case _111200: return "General Managers nfd"; + case _111211: return "Corporate General Manager"; + case _111212: return "Defence Force Senior Officer"; + case _111300: return "Legislators nfd"; + case _111311: return "Local Government Legislator"; + case _111312: return "Member of Parliament"; + case _111399: return "Legislators nec"; + case _121000: return "Farmers and Farm Managers nfd"; + case _121111: return "Aquaculture Farmer"; + case _121200: return "Crop Farmers nfd"; + case _121211: return "Cotton Grower"; + case _121212: return "Flower Grower"; + case _121213: return "Fruit or Nut Grower"; + case _121214: return "Grain, Oilseed or Pasture Grower"; + case _121215: return "Grape Grower"; + case _121216: return "Mixed Crop Farmer"; + case _121217: return "Sugar Cane Grower"; + case _121218: return "Turf Grower"; + case _121221: return "Vegetable Grower"; + case _121299: return "Crop Farmers nec"; + case _121300: return "Livestock Farmers nfd"; + case _121311: return "Apiarist"; + case _121312: return "Beef Cattle Farmer"; + case _121313: return "Dairy Cattle Farmer"; + case _121314: return "Deer Farmer"; + case _121315: return "Goat Farmer"; + case _121316: return "Horse Breeder"; + case _121317: return "Mixed Livestock Farmer"; + case _121318: return "Pig Farmer"; + case _121321: return "Poultry Farmer"; + case _121322: return "Sheep Farmer"; + case _121399: return "Livestock Farmers nec"; + case _121411: return "Mixed Crop and Livestock Farmer"; + case _130000: return "Specialist Managers nfd"; + case _131100: return "Advertising and Sales Managers nfd"; + case _131111: return "Advertising and Public Relations Manager"; + case _131112: return "Sales and Marketing Manager"; + case _132000: return "Business Administration Managers nfd"; + case _132111: return "Corporate Services Manager"; + case _132211: return "Finance Manager"; + case _132311: return "Human Resource Manager"; + case _132411: return "Policy and Planning Manager"; + case _132511: return "Research and Development Manager"; + case _133000: return "Construction, Distribution and Production Managers nfd"; + case _133100: return "Construction Managers nfd"; + case _133111: return "Construction Project Manager"; + case _133112: return "Project Builder"; + case _133211: return "Engineering Manager"; + case _133300: return "Importers, Exporters and Wholesalers nfd"; + case _133311: return "Importer or Exporter"; + case _133312: return "Wholesaler"; + case _133411: return "Manufacturer"; + case _133500: return "Production Managers nfd"; + case _133511: return "Production Manager (Forestry)"; + case _133512: return "Production Manager (Manufacturing)"; + case _133513: return "Production Manager (Mining)"; + case _133611: return "Supply and Distribution Manager"; + case _134000: return "Education, Health and Welfare Services Managers nfd"; + case _134111: return "Child Care Centre Manager"; + case _134200: return "Health and Welfare Services Managers nfd"; + case _134211: return "Medical Administrator"; + case _134212: return "Nursing Clinical Director"; + case _134213: return "Primary Health Organization Manager"; + case _134214: return "Welfare Centre Manager"; + case _134299: return "Health and Welfare Services Managers nec"; + case _134311: return "School Principal"; + case _134400: return "Other Education Managers nfd"; + case _134411: return "Faculty Head"; + case _134412: return "Regional Education Manager"; + case _134499: return "Education Managers nec"; + case _135100: return "ICT Managers nfd"; + case _135111: return "Chief Information Officer"; + case _135112: return "ICT Project Manager"; + case _135199: return "ICT Managers nec"; + case _139000: return "Miscellaneous Specialist Managers nfd"; + case _139100: return "Commissioned Officers (Management) nfd"; + case _139111: return "Commissioned Defence Force Officer"; + case _139112: return "Commissioned Fire Officer"; + case _139113: return "Commissioned Police Officer"; + case _139211: return "Senior Non-commissioned Defence Force Member"; + case _139900: return "Other Specialist Managers nfd"; + case _139911: return "Arts Administrator or Manager"; + case _139912: return "Environmental Manager"; + case _139913: return "Laboratory Manager"; + case _139914: return "Quality Assurance Manager"; + case _139915: return "Sports Administrator"; + case _139999: return "Specialist Managers nec"; + case _140000: return "Hospitality, Retail and Service Managers nfd"; + case _141000: return "Accommodation and Hospitality Managers nfd"; + case _141111: return "Cafe or Restaurant Manager"; + case _141211: return "Caravan Park and Camping Ground Manager"; + case _141311: return "Hotel or Motel Manager"; + case _141411: return "Licensed Club Manager"; + case _141900: return "Other Accommodation and Hospitality Managers nfd"; + case _141911: return "Bed and Breakfast Operator"; + case _141999: return "Accommodation and Hospitality Managers nec"; + case _142100: return "Retail Managers nfd"; + case _142111: return "Retail Manager (General)"; + case _142112: return "Antique Dealer"; + case _142113: return "Betting Agency Manager"; + case _142114: return "Hair or Beauty Salon Manager"; + case _142115: return "Post Office Manager"; + case _142116: return "Travel Agency Manager"; + case _149000: return "Miscellaneous Hospitality, Retail and Service Managers nfd"; + case _149100: return "Amusement, Fitness and Sports Centre Managers nfd"; + case _149111: return "Amusement Centre Manager"; + case _149112: return "Fitness Centre Manager"; + case _149113: return "Sports Centre Manager"; + case _149200: return "Call or Contact Centre and Customer Service Managers nfd"; + case _149211: return "Call or Contact Centre Manager"; + case _149212: return "Customer Service Manager"; + case _149311: return "Conference and Event Organiser"; + case _149400: return "Transport Services Managers nfd"; + case _149411: return "Fleet Manager"; + case _149412: return "Railway Station Manager"; + case _149413: return "Transport Company Manager"; + case _149900: return "Other Hospitality, Retail and Service Managers nfd"; + case _149911: return "Boarding Kennel or Cattery Operator"; + case _149912: return "Cinema or Theatre Manager"; + case _149913: return "Facilities Manager"; + case _149914: return "Financial Institution Branch Manager"; + case _149999: return "Hospitality, Retail and Service Managers nec"; + case _200000: return "Professionals nfd"; + case _210000: return "Arts and Media Professionals nfd"; + case _211000: return "Arts Professionals nfd"; + case _211100: return "Actors, Dancers and Other Entertainers nfd"; + case _211111: return "Actor"; + case _211112: return "Dancer or Choreographer"; + case _211113: return "Entertainer or Variety Artist"; + case _211199: return "Actors, Dancers and Other Entertainers nec"; + case _211200: return "Music Professionals nfd"; + case _211211: return "Composer"; + case _211212: return "Music Director"; + case _211213: return "Musician (Instrumental)"; + case _211214: return "Singer"; + case _211299: return "Music Professionals nec"; + case _211311: return "Photographer"; + case _211400: return "Visual Arts and Crafts Professionals nfd"; + case _211411: return "Painter (Visual Arts)"; + case _211412: return "Potter or Ceramic Artist"; + case _211413: return "Sculptor"; + case _211499: return "Visual Arts and Crafts Professionals nec"; + case _212000: return "Media Professionals nfd"; + case _212100: return "Artistic Directors, and Media Producers and Presenters nfd"; + case _212111: return "Artistic Director"; + case _212112: return "Media Producer (excluding Video)"; + case _212113: return "Radio Presenter"; + case _212114: return "Television Presenter"; + case _212200: return "Authors, and Book and Script Editors nfd"; + case _212211: return "Author"; + case _212212: return "Book or Script Editor"; + case _212300: return "Film, Television, Radio and Stage Directors nfd"; + case _212311: return "Art Director (Film, Television or Stage)"; + case _212312: return "Director (Film, Television, Radio or Stage)"; + case _212313: return "Director of Photography"; + case _212314: return "Film and Video Editor"; + case _212315: return "Program Director (Television or Radio)"; + case _212316: return "Stage Manager"; + case _212317: return "Technical Director"; + case _212318: return "Video Producer"; + case _212399: return "Film, Television, Radio and Stage Directors nec"; + case _212400: return "Journalists and Other Writers nfd"; + case _212411: return "Copywriter"; + case _212412: return "Newspaper or Periodical Editor"; + case _212413: return "Print Journalist"; + case _212414: return "Radio Journalist"; + case _212415: return "Technical Writer"; + case _212416: return "Television Journalist"; + case _212499: return "Journalists and Other Writers nec"; + case _220000: return "Business, Human Resource and Marketing Professionals nfd"; + case _221000: return "Accountants, Auditors and Company Secretaries nfd"; + case _221100: return "Accountants nfd"; + case _221111: return "Accountant (General)"; + case _221112: return "Management Accountant"; + case _221113: return "Taxation Accountant"; + case _221200: return "Auditors, Company Secretaries and Corporate Treasurers nfd"; + case _221211: return "Company Secretary"; + case _221212: return "Corporate Treasurer"; + case _221213: return "External Auditor"; + case _221214: return "Internal Auditor"; + case _222000: return "Financial Brokers and Dealers, and Investment Advisers nfd"; + case _222100: return "Financial Brokers nfd"; + case _222111: return "Commodities Trader"; + case _222112: return "Finance Broker"; + case _222113: return "Insurance Broker"; + case _222199: return "Financial Brokers nec"; + case _222200: return "Financial Dealers nfd"; + case _222211: return "Financial Market Dealer"; + case _222212: return "Futures Trader"; + case _222213: return "Stockbroking Dealer"; + case _222299: return "Financial Dealers nec"; + case _222300: return "Financial Investment Advisers and Managers nfd"; + case _222311: return "Financial Investment Adviser"; + case _222312: return "Financial Investment Manager"; + case _223000: return "Human Resource and Training Professionals nfd"; + case _223100: return "Human Resource Professionals nfd"; + case _223111: return "Human Resource Adviser"; + case _223112: return "Recruitment Consultant"; + case _223113: return "Workplace Relations Adviser"; + case _223211: return "ICT Trainer"; + case _223311: return "Training and Development Professional"; + case _224000: return "Information and Organization Professionals nfd"; + case _224100: return "Actuaries, Mathematicians and Statisticians nfd"; + case _224111: return "Actuary"; + case _224112: return "Mathematician"; + case _224113: return "Statistician"; + case _224200: return "Archivists, Curators and Records Managers nfd"; + case _224211: return "Archivist"; + case _224212: return "Gallery or Museum Curator"; + case _224213: return "Health Information Manager"; + case _224214: return "Records Manager"; + case _224311: return "Economist"; + case _224400: return "Intelligence and Policy Analysts nfd"; + case _224411: return "Intelligence Officer"; + case _224412: return "Policy Analyst"; + case _224500: return "Land Economists and Valuers nfd"; + case _224511: return "Land Economist"; + case _224512: return "Valuer"; + case _224611: return "Librarian"; + case _224700: return "Management and Organization Analysts nfd"; + case _224711: return "Management Consultant"; + case _224712: return "Organization and Methods Analyst"; + case _224900: return "Other Information and Organization Professionals nfd"; + case _224911: return "Electorate Officer"; + case _224912: return "Liaison Officer"; + case _224913: return "Migration Agent"; + case _224914: return "Patents Examiner"; + case _224999: return "Information and Organization Professionals nec"; + case _225000: return "Sales, Marketing and Public Relations Professionals nfd"; + case _225100: return "Advertising and Marketing Professionals nfd"; + case _225111: return "Advertising Specialist"; + case _225112: return "Market Research Analyst"; + case _225113: return "Marketing Specialist"; + case _225200: return "ICT Sales Professionals nfd"; + case _225211: return "ICT Account Manager"; + case _225212: return "ICT Business Development Manager"; + case _225213: return "ICT Sales Representative"; + case _225311: return "Public Relations Professional"; + case _225400: return "Technical Sales Representatives nfd"; + case _225411: return "Sales Representative (Industrial Products)"; + case _225412: return "Sales Representative (Medical and Pharmaceutical Products)"; + case _225499: return "Technical Sales Representatives nec"; + case _230000: return "Design, Engineering, Science and Transport Professionals nfd"; + case _231000: return "Air and Marine Transport Professionals nfd"; + case _231100: return "Air Transport Professionals nfd"; + case _231111: return "Aeroplane Pilot"; + case _231112: return "Air Traffic Controller"; + case _231113: return "Flying Instructor"; + case _231114: return "Helicopter Pilot"; + case _231199: return "Air Transport Professionals nec"; + case _231200: return "Marine Transport Professionals nfd"; + case _231211: return "Master Fisher"; + case _231212: return "Ship's Engineer"; + case _231213: return "Ship's Master"; + case _231214: return "Ship's Officer"; + case _231215: return "Ship's Surveyor"; + case _231299: return "Marine Transport Professionals nec"; + case _232000: return "Architects, Designers, Planners and Surveyors nfd"; + case _232100: return "Architects and Landscape Architects nfd"; + case _232111: return "Architect"; + case _232112: return "Landscape Architect"; + case _232200: return "Cartographers and Surveyors nfd"; + case _232211: return "Cartographer"; + case _232212: return "Surveyor"; + case _232300: return "Fashion, Industrial and Jewellery Designers nfd"; + case _232311: return "Fashion Designer"; + case _232312: return "Industrial Designer"; + case _232313: return "Jewellery Designer"; + case _232400: return "Graphic and Web Designers, and Illustrators nfd"; + case _232411: return "Graphic Designer"; + case _232412: return "Illustrator"; + case _232413: return "Multimedia Designer"; + case _232414: return "Web Designer"; + case _232511: return "Interior Designer"; + case _232611: return "Urban and Regional Planner"; + case _233000: return "Engineering Professionals nfd"; + case _233100: return "Chemical and Materials Engineers nfd"; + case _233111: return "Chemical Engineer"; + case _233112: return "Materials Engineer"; + case _233200: return "Civil Engineering Professionals nfd"; + case _233211: return "Civil Engineer"; + case _233212: return "Geotechnical Engineer"; + case _233213: return "Quantity Surveyor"; + case _233214: return "Structural Engineer"; + case _233215: return "Transport Engineer"; + case _233311: return "Electrical Engineer"; + case _233411: return "Electronics Engineer"; + case _233500: return "Industrial, Mechanical and Production Engineers nfd"; + case _233511: return "Industrial Engineer"; + case _233512: return "Mechanical Engineer"; + case _233513: return "Production or Plant Engineer"; + case _233600: return "Mining Engineers nfd"; + case _233611: return "Mining Engineer (excluding Petroleum)"; + case _233612: return "Petroleum Engineer"; + case _233900: return "Other Engineering Professionals nfd"; + case _233911: return "Aeronautical Engineer"; + case _233912: return "Agricultural Engineer"; + case _233913: return "Biomedical Engineer"; + case _233914: return "Engineering Technologist"; + case _233915: return "Environmental Engineer"; + case _233916: return "Naval Architect"; + case _233999: return "Engineering Professionals nec"; + case _234000: return "Natural and Physical Science Professionals nfd"; + case _234100: return "Agricultural and Forestry Scientists nfd"; + case _234111: return "Agricultural Consultant"; + case _234112: return "Agricultural Scientist"; + case _234113: return "Forester"; + case _234200: return "Chemists, and Food and Wine Scientists nfd"; + case _234211: return "Chemist"; + case _234212: return "Food Technologist"; + case _234213: return "Wine Maker"; + case _234300: return "Environmental Scientists nfd"; + case _234311: return "Conservation Officer"; + case _234312: return "Environmental Consultant"; + case _234313: return "Environmental Research Scientist"; + case _234314: return "Park Ranger"; + case _234399: return "Environmental Scientists nec"; + case _234400: return "Geologists and Geophysicists nfd"; + case _234411: return "Geologist"; + case _234412: return "Geophysicist"; + case _234500: return "Life Scientists nfd"; + case _234511: return "Life Scientist (General)"; + case _234512: return "Anatomist or Physiologist"; + case _234513: return "Biochemist"; + case _234514: return "Biotechnologist"; + case _234515: return "Botanist"; + case _234516: return "Marine Biologist"; + case _234517: return "Microbiologist"; + case _234518: return "Zoologist"; + case _234599: return "Life Scientists nec"; + case _234611: return "Medical Laboratory Scientist"; + case _234711: return "Veterinarian"; + case _234900: return "Other Natural and Physical Science Professionals nfd"; + case _234911: return "Conservator"; + case _234912: return "Metallurgist"; + case _234913: return "Meteorologist"; + case _234914: return "Physicist"; + case _234999: return "Natural and Physical Science Professionals nec"; + case _240000: return "Education Professionals nfd"; + case _241000: return "School Teachers nfd"; + case _241111: return "Early Childhood (Pre-primary School) Teacher"; + case _241213: return "Primary School Teacher"; + case _241311: return "Middle School Teacher"; + case _241411: return "Secondary School Teacher"; + case _241500: return "Special Education Teachers nfd"; + case _241511: return "Special Needs Teacher"; + case _241512: return "Teacher of the Hearing Impaired"; + case _241513: return "Teacher of the Sight Impaired"; + case _241599: return "Special Education Teachers nec"; + case _242000: return "Tertiary Education Teachers nfd"; + case _242100: return "University Lecturers and Tutors nfd"; + case _242111: return "University Lecturer"; + case _242112: return "University Tutor"; + case _242211: return "Vocational Education Teacher"; + case _249000: return "Miscellaneous Education Professionals nfd"; + case _249100: return "Education Advisers and Reviewers nfd"; + case _249111: return "Education Adviser"; + case _249112: return "Education Reviewer"; + case _249200: return "Private Tutors and Teachers nfd"; + case _249211: return "Art Teacher (Private Tuition)"; + case _249212: return "Dance Teacher (Private Tuition)"; + case _249213: return "Drama Teacher (Private Tuition)"; + case _249214: return "Music Teacher (Private Tuition)"; + case _249299: return "Private Tutors and Teachers nec"; + case _249311: return "Teacher of English to Speakers of Other Languages"; + case _250000: return "Health Professionals nfd"; + case _251000: return "Health Diagnostic and Promotion Professionals nfd"; + case _251111: return "Dietitian"; + case _251200: return "Medical Imaging Professionals nfd"; + case _251211: return "Medical Diagnostic Radiographer"; + case _251212: return "Medical Radiation Therapist"; + case _251213: return "Nuclear Medicine Technologist"; + case _251214: return "Sonographer"; + case _251300: return "Occupational and Environmental Health Professionals nfd"; + case _251311: return "Environmental Health Officer"; + case _251312: return "Occupational Health and Safety Adviser"; + case _251400: return "Optometrists and Orthoptists nfd"; + case _251411: return "Optometrist"; + case _251412: return "Orthoptist"; + case _251500: return "Pharmacists nfd"; + case _251511: return "Hospital Pharmacist"; + case _251512: return "Industrial Pharmacist"; + case _251513: return "Retail Pharmacist"; + case _251900: return "Other Health Diagnostic and Promotion Professionals nfd"; + case _251911: return "Health Promotion Officer"; + case _251912: return "Orthotist or Prosthetist"; + case _251999: return "Health Diagnostic and Promotion Professionals nec"; + case _252000: return "Health Therapy Professionals nfd"; + case _252100: return "Chiropractors and Osteopaths nfd"; + case _252111: return "Chiropractor"; + case _252112: return "Osteopath"; + case _252200: return "Complementary Health Therapists nfd"; + case _252211: return "Acupuncturist"; + case _252212: return "Homoeopath"; + case _252213: return "Naturopath"; + case _252214: return "Traditional Chinese Medicine Practitioner"; + case _252299: return "Complementary Health Therapists nec"; + case _252300: return "Dental Practitioners nfd"; + case _252311: return "Dental Specialist"; + case _252312: return "Dentist"; + case _252411: return "Occupational Therapist"; + case _252511: return "Physiotherapist"; + case _252611: return "Podiatrist"; + case _252700: return "Speech Professionals and Audiologists nfd"; + case _252711: return "Audiologist"; + case _252712: return "Speech Pathologist"; + case _253000: return "Medical Practitioners nfd"; + case _253100: return "Generalist Medical Practitioners nfd"; + case _253111: return "General Medical Practitioner"; + case _253112: return "Resident Medical Officer"; + case _253211: return "Anaesthetist"; + case _253300: return "Internal Medicine Specialists nfd"; + case _253311: return "Specialist Physician (General Medicine)"; + case _253312: return "Cardiologist"; + case _253313: return "Clinical Haematologist"; + case _253314: return "Clinical Oncologist"; + case _253315: return "Endocrinologist"; + case _253316: return "Gastroenterologist"; + case _253317: return "Intensive Care Specialist"; + case _253318: return "Neurologist"; + case _253321: return "Paediatrician"; + case _253322: return "Renal Medicine Specialist"; + case _253323: return "Rheumatologist"; + case _253324: return "Thoracic Medicine Specialist"; + case _253399: return "Internal Medicine Specialists nec"; + case _253411: return "Psychiatrist"; + case _253500: return "Surgeons nfd"; + case _253511: return "Surgeon (General)"; + case _253512: return "Cardiothoracic Surgeon"; + case _253513: return "Neurosurgeon"; + case _253514: return "Orthopaedic Surgeon"; + case _253515: return "Otorhinolaryngologist"; + case _253516: return "Paediatric Surgeon"; + case _253517: return "Plastic and Reconstructive Surgeon"; + case _253518: return "Urologist"; + case _253521: return "Vascular Surgeon"; + case _253900: return "Other Medical Practitioners nfd"; + case _253911: return "Dermatologist"; + case _253912: return "Emergency Medicine Specialist"; + case _253913: return "Obstetrician and Gynaecologist"; + case _253914: return "Ophthalmologist"; + case _253915: return "Pathologist"; + case _253916: return "Radiologist"; + case _253999: return "Medical Practitioners nec"; + case _254000: return "Midwifery and Nursing Professionals nfd"; + case _254111: return "Midwife"; + case _254200: return "Nurse Educators and Researchers nfd"; + case _254211: return "Nurse Educator"; + case _254212: return "Nurse Researcher"; + case _254311: return "Nurse Manager"; + case _254400: return "Registered Nurses nfd"; + case _254411: return "Nurse Practitioner"; + case _254412: return "Registered Nurse (Aged Care)"; + case _254413: return "Registered Nurse (Child and Family Health)"; + case _254414: return "Registered Nurse (Community Health)"; + case _254415: return "Registered Nurse (Critical Care and Emergency)"; + case _254416: return "Registered Nurse (Developmental Disability)"; + case _254417: return "Registered Nurse (Disability and Rehabilitation)"; + case _254418: return "Registered Nurse (Medical)"; + case _254421: return "Registered Nurse (Medical Practice)"; + case _254422: return "Registered Nurse (Mental Health)"; + case _254423: return "Registered Nurse (Perioperative)"; + case _254424: return "Registered Nurse (Surgical)"; + case _254499: return "Registered Nurses nec"; + case _260000: return "ICT Professionals nfd"; + case _261000: return "Business and Systems Analysts, and Programmers nfd"; + case _261100: return "ICT Business and Systems Analysts nfd"; + case _261111: return "ICT Business Analyst"; + case _261112: return "Systems Analyst"; + case _261200: return "Multimedia Specialists and Web Developers nfd"; + case _261211: return "Multimedia Specialist"; + case _261212: return "Web Developer"; + case _261300: return "Software and Applications Programmers nfd"; + case _261311: return "Analyst Programmer"; + case _261312: return "Developer Programmer"; + case _261313: return "Software Engineer"; + case _261399: return "Software and Applications Programmers nec"; + case _262100: return "Database and Systems Administrators, and ICT Security Specialists nfd"; + case _262111: return "Database Administrator"; + case _262112: return "ICT Security Specialist"; + case _262113: return "Systems Administrator"; + case _263000: return "ICT Network and Support Professionals nfd"; + case _263100: return "Computer Network Professionals nfd"; + case _263111: return "Computer Network and Systems Engineer"; + case _263112: return "Network Administrator"; + case _263113: return "Network Analyst"; + case _263200: return "ICT Support and Test Engineers nfd"; + case _263211: return "ICT Quality Assurance Engineer"; + case _263212: return "ICT Support Engineer"; + case _263213: return "ICT Systems Test Engineer"; + case _263299: return "ICT Support and Test Engineers nec"; + case _263300: return "Telecommunications Engineering Professionals nfd"; + case _263311: return "Telecommunications Engineer"; + case _263312: return "Telecommunications Network Engineer"; + case _270000: return "Legal, Social and Welfare Professionals nfd"; + case _271000: return "Legal Professionals nfd"; + case _271111: return "Barrister"; + case _271200: return "Judicial and Other Legal Professionals nfd"; + case _271211: return "Judge"; + case _271212: return "Magistrate"; + case _271213: return "Tribunal Member"; + case _271299: return "Judicial and Other Legal Professionals nec"; + case _271311: return "Solicitor"; + case _272000: return "Social and Welfare Professionals nfd"; + case _272100: return "Counsellors nfd"; + case _272111: return "Careers Counsellor"; + case _272112: return "Drug and Alcohol Counsellor"; + case _272113: return "Family and Marriage Counsellor"; + case _272114: return "Rehabilitation Counsellor"; + case _272115: return "Student Counsellor"; + case _272199: return "Counsellors nec"; + case _272211: return "Minister of Religion"; + case _272300: return "Psychologists nfd"; + case _272311: return "Clinical Psychologist"; + case _272312: return "Educational Psychologist"; + case _272313: return "Organizational Psychologist"; + case _272314: return "Psychotherapist"; + case _272399: return "Psychologists nec"; + case _272400: return "Social Professionals nfd"; + case _272411: return "Historian"; + case _272412: return "Interpreter"; + case _272413: return "Translator"; + case _272499: return "Social Professionals nec"; + case _272511: return "Social Worker"; + case _272600: return "Welfare, Recreation and Community Arts Workers nfd"; + case _272611: return "Community Arts Worker"; + case _272612: return "Recreation Officer"; + case _272613: return "Welfare Worker"; + case _300000: return "Technicians and Trades Workers nfd"; + case _310000: return "Engineering, ICT and Science Technicians nfd"; + case _311000: return "Agricultural, Medical and Science Technicians nfd"; + case _311111: return "Agricultural Technician"; + case _311200: return "Medical Technicians nfd"; + case _311211: return "Anaesthetic Technician"; + case _311212: return "Cardiac Technician"; + case _311213: return "Medical Laboratory Technician"; + case _311214: return "Operating Theatre Technician"; + case _311215: return "Pharmacy Technician"; + case _311299: return "Medical Technicians nec"; + case _311300: return "Primary Products Inspectors nfd"; + case _311311: return "Fisheries Officer"; + case _311312: return "Meat Inspector"; + case _311313: return "Quarantine Officer"; + case _311399: return "Primary Products Inspectors nec"; + case _311400: return "Science Technicians nfd"; + case _311411: return "Chemistry Technician"; + case _311412: return "Earth Science Technician"; + case _311413: return "Life Science Technician"; + case _311414: return "School Laboratory Technician"; + case _311499: return "Science Technicians nec"; + case _312000: return "Building and Engineering Technicians nfd"; + case _312100: return "Architectural, Building and Surveying Technicians nfd"; + case _312111: return "Architectural Draftsperson"; + case _312112: return "Building Associate"; + case _312113: return "Building Inspector"; + case _312114: return "Construction Estimator"; + case _312115: return "Plumbing Inspector"; + case _312116: return "Surveying or Cartographic Technician"; + case _312200: return "Civil Engineering Draftspersons and Technicians nfd"; + case _312211: return "Civil Engineering Draftsperson"; + case _312212: return "Civil Engineering Technician"; + case _312300: return "Electrical Engineering Draftspersons and Technicians nfd"; + case _312311: return "Electrical Engineering Draftsperson"; + case _312312: return "Electrical Engineering Technician"; + case _312400: return "Electronic Engineering Draftspersons and Technicians nfd"; + case _312411: return "Electronic Engineering Draftsperson"; + case _312412: return "Electronic Engineering Technician"; + case _312500: return "Mechanical Engineering Draftspersons and Technicians nfd"; + case _312511: return "Mechanical Engineering Draftsperson"; + case _312512: return "Mechanical Engineering Technician"; + case _312611: return "Safety Inspector"; + case _312900: return "Other Building and Engineering Technicians nfd"; + case _312911: return "Maintenance Planner"; + case _312912: return "Metallurgical or Materials Technician"; + case _312913: return "Mine Deputy"; + case _312999: return "Building and Engineering Technicians nec"; + case _313000: return "ICT and Telecommunications Technicians nfd"; + case _313100: return "ICT Support Technicians nfd"; + case _313111: return "Hardware Technician"; + case _313112: return "ICT Customer Support Officer"; + case _313113: return "Web Administrator"; + case _313199: return "ICT Support Technicians nec"; + case _313200: return "Telecommunications Technical Specialists nfd"; + case _313211: return "Radiocommunications Technician"; + case _313212: return "Telecommunications Field Engineer"; + case _313213: return "Telecommunications Network Planner"; + case _313214: return "Telecommunications Technical Officer or Technologist"; + case _320000: return "Automotive and Engineering Trades Workers nfd"; + case _321000: return "Automotive Electricians and Mechanics nfd"; + case _321111: return "Automotive Electrician"; + case _321200: return "Motor Mechanics nfd"; + case _321211: return "Motor Mechanic (General)"; + case _321212: return "Diesel Motor Mechanic"; + case _321213: return "Motorcycle Mechanic"; + case _321214: return "Small Engine Mechanic"; + case _322000: return "Fabrication Engineering Trades Workers nfd"; + case _322100: return "Metal Casting, Forging and Finishing Trades Workers nfd"; + case _322111: return "Blacksmith"; + case _322112: return "Electroplater"; + case _322113: return "Farrier"; + case _322114: return "Metal Casting Trades Worker"; + case _322115: return "Metal Polisher"; + case _322211: return "Sheetmetal Trades Worker"; + case _322300: return "Structural Steel and Welding Trades Workers nfd"; + case _322311: return "Metal Fabricator"; + case _322312: return "Pressure Welder"; + case _322313: return "Welder (First Class)"; + case _323000: return "Mechanical Engineering Trades Workers nfd"; + case _323100: return "Aircraft Maintenance Engineers nfd"; + case _323111: return "Aircraft Maintenance Engineer (Avionics)"; + case _323112: return "Aircraft Maintenance Engineer (Mechanical)"; + case _323113: return "Aircraft Maintenance Engineer (Structures)"; + case _323200: return "Metal Fitters and Machinists nfd"; + case _323211: return "Fitter (General)"; + case _323212: return "Fitter and Turner"; + case _323213: return "Fitter-Welder"; + case _323214: return "Metal Machinist (First Class)"; + case _323215: return "Textile, Clothing and Footwear Mechanic"; + case _323299: return "Metal Fitters and Machinists nec"; + case _323300: return "Precision Metal Trades Workers nfd"; + case _323311: return "Engraver"; + case _323312: return "Gunsmith"; + case _323313: return "Locksmith"; + case _323314: return "Precision Instrument Maker and Repairer"; + case _323315: return "Saw Maker and Repairer"; + case _323316: return "Watch and Clock Maker and Repairer"; + case _323400: return "Toolmakers and Engineering Patternmakers nfd"; + case _323411: return "Engineering Patternmaker"; + case _323412: return "Toolmaker"; + case _324000: return "Panelbeaters, and Vehicle Body Builders, Trimmers and Painters nfd"; + case _324111: return "Panelbeater"; + case _324200: return "Vehicle Body Builders and Trimmers nfd"; + case _324211: return "Vehicle Body Builder"; + case _324212: return "Vehicle Trimmer"; + case _324311: return "Vehicle Painter"; + case _330000: return "Construction Trades Workers nfd"; + case _331000: return "Bricklayers, and Carpenters and Joiners nfd"; + case _331100: return "Bricklayers and Stonemasons nfd"; + case _331111: return "Bricklayer"; + case _331112: return "Stonemason"; + case _331211: return "Carpenter and Joiner"; + case _331212: return "Carpenter"; + case _331213: return "Joiner"; + case _332000: return "Floor Finishers and Painting Trades Workers nfd"; + case _332111: return "Floor Finisher"; + case _332211: return "Painting Trades Worker"; + case _333000: return "Glaziers, Plasterers and Tilers nfd"; + case _333111: return "Glazier"; + case _333200: return "Plasterers nfd"; + case _333211: return "Fibrous Plasterer"; + case _333212: return "Solid Plasterer"; + case _333311: return "Roof Tiler"; + case _333411: return "Wall and Floor Tiler"; + case _334100: return "Plumbers nfd"; + case _334111: return "Plumber (General)"; + case _334112: return "Airconditioning and Mechanical Services Plumber"; + case _334113: return "Drainer"; + case _334114: return "Gasfitter"; + case _334115: return "Roof Plumber"; + case _340000: return "Electrotechnology and Telecommunications Trades Workers nfd"; + case _341100: return "Electricians nfd"; + case _341111: return "Electrician (General)"; + case _341112: return "Electrician (Special Class)"; + case _341113: return "Lift Mechanic"; + case _342000: return "Electronics and Telecommunications Trades Workers nfd"; + case _342111: return "Airconditioning and Refrigeration Mechanic"; + case _342200: return "Electrical Distribution Trades Workers nfd"; + case _342211: return "Electrical Linesworker"; + case _342212: return "Technical Cable Jointer"; + case _342300: return "Electronics Trades Workers nfd"; + case _342311: return "Business Machine Mechanic"; + case _342312: return "Communications Operator"; + case _342313: return "Electronic Equipment Trades Worker"; + case _342314: return "Electronic Instrument Trades Worker (General)"; + case _342315: return "Electronic Instrument Trades Worker (Special Class)"; + case _342400: return "Telecommunications Trades Workers nfd"; + case _342411: return "Cabler (Data and Telecommunications)"; + case _342412: return "Telecommunications Cable Jointer"; + case _342413: return "Telecommunications Linesworker"; + case _342414: return "Telecommunications Technician"; + case _351000: return "Food Trades Workers nfd"; + case _351100: return "Bakers and Pastrycooks nfd"; + case _351111: return "Baker"; + case _351112: return "Pastrycook"; + case _351211: return "Butcher or Smallgoods Maker"; + case _351311: return "Chef"; + case _351411: return "Cook"; + case _360000: return "Skilled Animal and Horticultural Workers nfd"; + case _361000: return "Animal Attendants and Trainers, and Shearers nfd"; + case _361100: return "Animal Attendants and Trainers nfd"; + case _361111: return "Dog Handler or Trainer"; + case _361112: return "Horse Trainer"; + case _361113: return "Pet Groomer"; + case _361114: return "Zookeeper"; + case _361199: return "Animal Attendants and Trainers nec"; + case _361211: return "Shearer"; + case _361311: return "Veterinary Nurse"; + case _362000: return "Horticultural Trades Workers nfd"; + case _362111: return "Florist"; + case _362200: return "Gardeners nfd"; + case _362211: return "Gardener (General)"; + case _362212: return "Arborist"; + case _362213: return "Landscape Gardener"; + case _362311: return "Greenkeeper"; + case _362411: return "Nurseryperson"; + case _390000: return "Other Technicians and Trades Workers nfd"; + case _391111: return "Hairdresser"; + case _392000: return "Printing Trades Workers nfd"; + case _392100: return "Binders, Finishers and Screen Printers nfd"; + case _392111: return "Binder and Finisher"; + case _392112: return "Screen Printer"; + case _392211: return "Graphic Pre-press Trades Worker"; + case _392300: return "Printers nfd"; + case _392311: return "Printing Machinist"; + case _392312: return "Small Offset Printer"; + case _393000: return "Textile, Clothing and Footwear Trades Workers nfd"; + case _393100: return "Canvas and Leather Goods Makers nfd"; + case _393111: return "Canvas Goods Maker"; + case _393112: return "Leather Goods Maker"; + case _393113: return "Sail Maker"; + case _393114: return "Shoemaker"; + case _393200: return "Clothing Trades Workers nfd"; + case _393211: return "Apparel Cutter"; + case _393212: return "Clothing Patternmaker"; + case _393213: return "Dressmaker or Tailor"; + case _393299: return "Clothing Trades Workers nec"; + case _393311: return "Upholsterer"; + case _394000: return "Wood Trades Workers nfd"; + case _394111: return "Cabinetmaker"; + case _394200: return "Wood Machinists and Other Wood Trades Workers nfd"; + case _394211: return "Furniture Finisher"; + case _394212: return "Picture Framer"; + case _394213: return "Wood Machinist"; + case _394214: return "Wood Turner"; + case _394299: return "Wood Machinists and Other Wood Trades Workers nec"; + case _399000: return "Miscellaneous Technicians and Trades Workers nfd"; + case _399100: return "Boat Builders and Shipwrights nfd"; + case _399111: return "Boat Builder and Repairer"; + case _399112: return "Shipwright"; + case _399200: return "Chemical, Gas, Petroleum and Power Generation Plant Operators nfd"; + case _399211: return "Chemical Plant Operator"; + case _399212: return "Gas or Petroleum Operator"; + case _399213: return "Power Generation Plant Operator"; + case _399300: return "Gallery, Library and Museum Technicians nfd"; + case _399311: return "Gallery or Museum Technician"; + case _399312: return "Library Technician"; + case _399411: return "Jeweller"; + case _399500: return "Performing Arts Technicians nfd"; + case _399511: return "Broadcast Transmitter Operator"; + case _399512: return "Camera Operator (Film, Television or Video)"; + case _399513: return "Light Technician"; + case _399514: return "Make Up Artist"; + case _399515: return "Musical Instrument Maker or Repairer"; + case _399516: return "Sound Technician"; + case _399517: return "Television Equipment Operator"; + case _399599: return "Performing Arts Technicians nec"; + case _399611: return "Signwriter"; + case _399900: return "Other Miscellaneous Technicians and Trades Workers nfd"; + case _399911: return "Diver"; + case _399912: return "Interior Decorator"; + case _399913: return "Optical Dispenser"; + case _399914: return "Optical Mechanic"; + case _399915: return "Photographer's Assistant"; + case _399916: return "Plastics Technician"; + case _399917: return "Wool Classer"; + case _399999: return "Technicians and Trades Workers nec"; + case _400000: return "Community and Personal Service Workers nfd"; + case _411000: return "Health and Welfare Support Workers nfd"; + case _411100: return "Ambulance Officers and Paramedics nfd"; + case _411111: return "Ambulance Officer"; + case _411112: return "Intensive Care Ambulance Paramedic"; + case _411200: return "Dental Hygienists, Technicians and Therapists nfd"; + case _411211: return "Dental Hygienist"; + case _411212: return "Dental Prosthetist"; + case _411213: return "Dental Technician"; + case _411214: return "Dental Therapist"; + case _411311: return "Diversional Therapist"; + case _411400: return "Enrolled and Mothercraft Nurses nfd"; + case _411411: return "Enrolled Nurse"; + case _411412: return "Mothercraft Nurse"; + case _411511: return "Aboriginal and Torres Strait Islander Health Worker"; + case _411611: return "Massage Therapist"; + case _411700: return "Welfare Support Workers nfd"; + case _411711: return "Community Worker"; + case _411712: return "Disabilities Services Officer"; + case _411713: return "Family Support Worker"; + case _411714: return "Parole or Probation Officer"; + case _411715: return "Residential Care Officer"; + case _411716: return "Youth Worker"; + case _420000: return "Carers and Aides nfd"; + case _421100: return "Child Carers nfd"; + case _421111: return "Child Care Worker"; + case _421112: return "Family Day Care Worker"; + case _421113: return "Nanny"; + case _421114: return "Out of School Hours Care Worker"; + case _422100: return "Education Aides nfd"; + case _422111: return "Aboriginal and Torres Strait Islander Education Worker"; + case _422112: return "Integration Aide"; + case _422115: return "Preschool Aide"; + case _422116: return "Teachers' Aide"; + case _423000: return "Personal Carers and Assistants nfd"; + case _423111: return "Aged or Disabled Carer"; + case _423211: return "Dental Assistant"; + case _423300: return "Nursing Support and Personal Care Workers nfd"; + case _423311: return "Hospital Orderly"; + case _423312: return "Nursing Support Worker"; + case _423313: return "Personal Care Assistant"; + case _423314: return "Therapy Aide"; + case _423400: return "Special Care Workers nfd"; + case _423411: return "Child or Youth Residential Care Assistant"; + case _423412: return "Hostel Parent"; + case _423413: return "Refuge Worker"; + case _431000: return "Hospitality Workers nfd"; + case _431100: return "Bar Attendants and Baristas nfd"; + case _431111: return "Bar Attendant"; + case _431112: return "Barista"; + case _431211: return "Cafe Worker"; + case _431311: return "Gaming Worker"; + case _431411: return "Hotel Service Manager"; + case _431511: return "Waiter"; + case _431900: return "Other Hospitality Workers nfd"; + case _431911: return "Bar Useful or Busser"; + case _431912: return "Doorperson or Luggage Porter"; + case _431999: return "Hospitality Workers nec"; + case _440000: return "Protective Service Workers nfd"; + case _441000: return "Defence Force Members, Fire Fighters and Police nfd"; + case _441111: return "Defence Force Member - Other Ranks"; + case _441200: return "Fire and Emergency Workers nfd"; + case _441211: return "Emergency Service Worker"; + case _441212: return "Fire Fighter"; + case _441300: return "Police nfd"; + case _441311: return "Detective"; + case _441312: return "Police Officer"; + case _442000: return "Prison and Security Officers nfd"; + case _442111: return "Prison Officer"; + case _442200: return "Security Officers and Guards nfd"; + case _442211: return "Alarm, Security or Surveillance Monitor"; + case _442212: return "Armoured Car Escort"; + case _442213: return "Crowd Controller"; + case _442214: return "Private Investigator"; + case _442215: return "Retail Loss Prevention Officer"; + case _442216: return "Security Consultant"; + case _442217: return "Security Officer"; + case _442299: return "Security Officers and Guards nec"; + case _450000: return "Sports and Personal Service Workers nfd"; + case _451000: return "Personal Service and Travel Workers nfd"; + case _451111: return "Beauty Therapist"; + case _451211: return "Driving Instructor"; + case _451300: return "Funeral Workers nfd"; + case _451311: return "Funeral Director"; + case _451399: return "Funeral Workers nec"; + case _451400: return "Gallery, Museum and Tour Guides nfd"; + case _451411: return "Gallery or Museum Guide"; + case _451412: return "Tour Guide"; + case _451500: return "Personal Care Consultants nfd"; + case _451511: return "Natural Remedy Consultant"; + case _451512: return "Weight Loss Consultant"; + case _451600: return "Tourism and Travel Advisers nfd"; + case _451611: return "Tourist Information Officer"; + case _451612: return "Travel Consultant"; + case _451700: return "Travel Attendants nfd"; + case _451711: return "Flight Attendant"; + case _451799: return "Travel Attendants nec"; + case _451800: return "Other Personal Service Workers nfd"; + case _451811: return "Civil Celebrant"; + case _451812: return "Hair or Beauty Salon Assistant"; + case _451813: return "Sex Worker or Escort"; + case _451899: return "Personal Service Workers nec"; + case _452000: return "Sports and Fitness Workers nfd"; + case _452111: return "Fitness Instructor"; + case _452200: return "Outdoor Adventure Guides nfd"; + case _452211: return "Bungy Jump Master"; + case _452212: return "Fishing Guide"; + case _452213: return "Hunting Guide"; + case _452214: return "Mountain or Glacier Guide"; + case _452215: return "Outdoor Adventure Instructor"; + case _452216: return "Trekking Guide"; + case _452217: return "Whitewater Rafting Guide"; + case _452299: return "Outdoor Adventure Guides nec"; + case _452300: return "Sports Coaches, Instructors and Officials nfd"; + case _452311: return "Diving Instructor (Open Water)"; + case _452312: return "Gymnastics Coach or Instructor"; + case _452313: return "Horse Riding Coach or Instructor"; + case _452314: return "Snowsport Instructor"; + case _452315: return "Swimming Coach or Instructor"; + case _452316: return "Tennis Coach"; + case _452317: return "Other Sports Coach or Instructor"; + case _452318: return "Dog or Horse Racing Official"; + case _452321: return "Sports Development Officer"; + case _452322: return "Sports Umpire"; + case _452323: return "Other Sports Official"; + case _452400: return "Sportspersons nfd"; + case _452411: return "Footballer"; + case _452412: return "Golfer"; + case _452413: return "Jockey"; + case _452414: return "Lifeguard"; + case _452499: return "Sportspersons nec"; + case _500000: return "Clerical and Administrative Workers nfd"; + case _510000: return "Office Managers and Program Administrators nfd"; + case _511100: return "Contract, Program and Project Administrators nfd"; + case _511111: return "Contract Administrator"; + case _511112: return "Program or Project Administrator"; + case _512000: return "Office and Practice Managers nfd"; + case _512111: return "Office Manager"; + case _512200: return "Practice Managers nfd"; + case _512211: return "Health Practice Manager"; + case _512299: return "Practice Managers nec"; + case _521000: return "Personal Assistants and Secretaries nfd"; + case _521111: return "Personal Assistant"; + case _521200: return "Secretaries nfd"; + case _521211: return "Secretary (General)"; + case _521212: return "Legal Secretary"; + case _530000: return "General Clerical Workers nfd"; + case _531111: return "General Clerk"; + case _532100: return "Keyboard Operators nfd"; + case _532111: return "Data Entry Operator"; + case _532112: return "Machine Shorthand Reporter"; + case _532113: return "Word Processing Operator"; + case _540000: return "Inquiry Clerks and Receptionists nfd"; + case _541000: return "Call or Contact Centre Information Clerks nfd"; + case _541100: return "Call or Contact Centre Workers nfd"; + case _541111: return "Call or Contact Centre Team Leader"; + case _541112: return "Call or Contact Centre Operator"; + case _541211: return "Inquiry Clerk"; + case _542100: return "Receptionists nfd"; + case _542111: return "Receptionist (General)"; + case _542112: return "Admissions Clerk"; + case _542113: return "Hotel or Motel Receptionist"; + case _542114: return "Medical Receptionist"; + case _550000: return "Numerical Clerks nfd"; + case _551000: return "Accounting Clerks and Bookkeepers nfd"; + case _551100: return "Accounting Clerks nfd"; + case _551111: return "Accounts Clerk"; + case _551112: return "Cost Clerk"; + case _551211: return "Bookkeeper"; + case _551311: return "Payroll Clerk"; + case _552000: return "Financial and Insurance Clerks nfd"; + case _552111: return "Bank Worker"; + case _552211: return "Credit or Loans Officer"; + case _552300: return "Insurance, Money Market and Statistical Clerks nfd"; + case _552311: return "Bookmaker"; + case _552312: return "Insurance Consultant"; + case _552313: return "Money Market Clerk"; + case _552314: return "Statistical Clerk"; + case _561000: return "Clerical and Office Support Workers nfd"; + case _561100: return "Betting Clerks nfd"; + case _561111: return "Betting Agency Counter Clerk"; + case _561112: return "Bookmaker's Clerk"; + case _561113: return "Telephone Betting Clerk"; + case _561199: return "Betting Clerks nec"; + case _561200: return "Couriers and Postal Deliverers nfd"; + case _561211: return "Courier"; + case _561212: return "Postal Delivery Officer"; + case _561311: return "Filing or Registry Clerk"; + case _561400: return "Mail Sorters nfd"; + case _561411: return "Mail Clerk"; + case _561412: return "Postal Sorting Officer"; + case _561511: return "Survey Interviewer"; + case _561611: return "Switchboard Operator"; + case _561900: return "Other Clerical and Office Support Workers nfd"; + case _561911: return "Classified Advertising Clerk"; + case _561912: return "Meter Reader"; + case _561913: return "Parking Inspector"; + case _561999: return "Clerical and Office Support Workers nec"; + case _590000: return "Other Clerical and Administrative Workers nfd"; + case _591000: return "Logistics Clerks nfd"; + case _591100: return "Purchasing and Supply Logistics Clerks nfd"; + case _591111: return "Order Clerk"; + case _591112: return "Production Clerk"; + case _591113: return "Purchasing Officer"; + case _591114: return "Sales Clerk"; + case _591115: return "Stock Clerk"; + case _591116: return "Warehouse Administrator"; + case _591200: return "Transport and Despatch Clerks nfd"; + case _591211: return "Despatching and Receiving Clerk"; + case _591212: return "Import-Export Clerk"; + case _599000: return "Miscellaneous Clerical and Administrative Workers nfd"; + case _599100: return "Conveyancers and Legal Executives nfd"; + case _599111: return "Conveyancer"; + case _599112: return "Legal Executive"; + case _599200: return "Court and Legal Clerks nfd"; + case _599211: return "Clerk of Court"; + case _599212: return "Court Bailiff or Sheriff"; + case _599213: return "Court Orderly"; + case _599214: return "Law Clerk"; + case _599215: return "Trust Officer"; + case _599311: return "Debt Collector"; + case _599411: return "Human Resource Clerk"; + case _599500: return "Inspectors and Regulatory Officers nfd"; + case _599511: return "Customs Officer"; + case _599512: return "Immigration Officer"; + case _599513: return "Motor Vehicle Licence Examiner"; + case _599514: return "Noxious Weeds and Pest Inspector"; + case _599515: return "Social Security Assessor"; + case _599516: return "Taxation Inspector"; + case _599517: return "Train Examiner"; + case _599518: return "Transport Operations Inspector"; + case _599521: return "Water Inspector"; + case _599599: return "Inspectors and Regulatory Officers nec"; + case _599600: return "Insurance Investigators, Loss Adjusters and Risk Surveyors nfd"; + case _599611: return "Insurance Investigator"; + case _599612: return "Insurance Loss Adjuster"; + case _599613: return "Insurance Risk Surveyor"; + case _599711: return "Library Assistant"; + case _599900: return "Other Miscellaneous Clerical and Administrative Workers nfd"; + case _599911: return "Coding Clerk"; + case _599912: return "Production Assistant (Film, Television, Radio or Stage)"; + case _599913: return "Proof Reader"; + case _599914: return "Radio Despatcher"; + case _599999: return "Clerical and Administrative Workers nec"; + case _600000: return "Sales Workers nfd"; + case _610000: return "Sales Representatives and Agents nfd"; + case _611000: return "Insurance Agents and Sales Representatives nfd"; + case _611100: return "Auctioneers, and Stock and Station Agents nfd"; + case _611111: return "Auctioneer"; + case _611112: return "Stock and Station Agent"; + case _611211: return "Insurance Agent"; + case _611300: return "Sales Representatives nfd"; + case _611311: return "Sales Representative (Building and Plumbing Supplies)"; + case _611312: return "Sales Representative (Business Services)"; + case _611313: return "Sales Representative (Motor Vehicle Parts and Accessories)"; + case _611314: return "Sales Representative (Personal and Household Goods)"; + case _611399: return "Sales Representatives nec"; + case _612100: return "Real Estate Sales Agents nfd"; + case _612111: return "Business Broker"; + case _612112: return "Property Manager"; + case _612113: return "Real Estate Agency Principal"; + case _612114: return "Real Estate Agent"; + case _612115: return "Real Estate Representative"; + case _621000: return "Sales Assistants and Salespersons nfd"; + case _621111: return "Sales Assistant (General)"; + case _621211: return "ICT Sales Assistant"; + case _621300: return "Motor Vehicle and Vehicle Parts Salespersons nfd"; + case _621311: return "Motor Vehicle or Caravan Salesperson"; + case _621312: return "Motor Vehicle Parts Interpreter"; + case _621411: return "Pharmacy Sales Assistant"; + case _621511: return "Retail Supervisor"; + case _621611: return "Service Station Attendant"; + case _621700: return "Street Vendors and Related Salespersons nfd"; + case _621711: return "Cash Van Salesperson"; + case _621712: return "Door-to-door Salesperson"; + case _621713: return "Street Vendor"; + case _621900: return "Other Sales Assistants and Salespersons nfd"; + case _621911: return "Materials Recycler"; + case _621912: return "Rental Salesperson"; + case _621999: return "Sales Assistants and Salespersons nec"; + case _630000: return "Sales Support Workers nfd"; + case _631100: return "Checkout Operators and Office Cashiers nfd"; + case _631111: return "Checkout Operator"; + case _631112: return "Office Cashier"; + case _639000: return "Miscellaneous Sales Support Workers nfd"; + case _639100: return "Models and Sales Demonstrators nfd"; + case _639111: return "Model"; + case _639112: return "Sales Demonstrator"; + case _639200: return "Retail and Wool Buyers nfd"; + case _639211: return "Retail Buyer"; + case _639212: return "Wool Buyer"; + case _639311: return "Telemarketer"; + case _639400: return "Ticket Salespersons nfd"; + case _639411: return "Ticket Seller"; + case _639412: return "Transport Conductor"; + case _639511: return "Visual Merchandiser"; + case _639911: return "Other Sales Support Worker"; + case _700000: return "Machinery Operators and Drivers nfd"; + case _710000: return "Machine and Stationary Plant Operators nfd"; + case _711000: return "Machine Operators nfd"; + case _711100: return "Clay, Concrete, Glass and Stone Processing Machine Operators nfd"; + case _711111: return "Clay Products Machine Operator"; + case _711112: return "Concrete Products Machine Operator"; + case _711113: return "Glass Production Machine Operator"; + case _711114: return "Stone Processing Machine Operator"; + case _711199: return "Clay, Concrete, Glass and Stone Processing Machine Operators nec"; + case _711211: return "Industrial Spraypainter"; + case _711300: return "Paper and Wood Processing Machine Operators nfd"; + case _711311: return "Paper Products Machine Operator"; + case _711312: return "Wood Processing Machine Operator"; + case _711411: return "Photographic Developer and Printer"; + case _711500: return "Plastics and Rubber Production Machine Operators nfd"; + case _711511: return "Plastic Cablemaking Machine Operator"; + case _711512: return "Plastic Compounding and Reclamation Machine Operator"; + case _711513: return "Plastics Fabricator or Welder"; + case _711514: return "Plastics Production Machine Operator (General)"; + case _711515: return "Reinforced Plastic and Composite Production Worker"; + case _711516: return "Rubber Production Machine Operator"; + case _711599: return "Plastics and Rubber Production Machine Operators nec"; + case _711611: return "Sewing Machinist"; + case _711700: return "Textile and Footwear Production Machine Operators nfd"; + case _711711: return "Footwear Production Machine Operator"; + case _711712: return "Hide and Skin Processing Machine Operator"; + case _711713: return "Knitting Machine Operator"; + case _711714: return "Textile Dyeing and Finishing Machine Operator"; + case _711715: return "Weaving Machine Operator"; + case _711716: return "Yarn Carding and Spinning Machine Operator"; + case _711799: return "Textile and Footwear Production Machine Operators nec"; + case _711900: return "Other Machine Operators nfd"; + case _711911: return "Chemical Production Machine Operator"; + case _711912: return "Motion Picture Projectionist"; + case _711913: return "Sand Blaster"; + case _711914: return "Sterilisation Technician"; + case _711999: return "Machine Operators nec"; + case _712000: return "Stationary Plant Operators nfd"; + case _712111: return "Crane, Hoist or Lift Operator"; + case _712200: return "Drillers, Miners and Shot Firers nfd"; + case _712211: return "Driller"; + case _712212: return "Miner"; + case _712213: return "Shot Firer"; + case _712311: return "Engineering Production Systems Worker"; + case _712900: return "Other Stationary Plant Operators nfd"; + case _712911: return "Boiler or Engine Operator"; + case _712912: return "Bulk Materials Handling Plant Operator"; + case _712913: return "Cement Production Plant Operator"; + case _712914: return "Concrete Batching Plant Operator"; + case _712915: return "Concrete Pump Operator"; + case _712916: return "Paper and Pulp Mill Operator"; + case _712917: return "Railway Signal Operator"; + case _712918: return "Train Controller"; + case _712921: return "Waste Water or Water Plant Operator"; + case _712922: return "Weighbridge Operator"; + case _712999: return "Stationary Plant Operators nec"; + case _721000: return "Mobile Plant Operators nfd"; + case _721100: return "Agricultural, Forestry and Horticultural Plant Operators nfd"; + case _721111: return "Agricultural and Horticultural Mobile Plant Operator"; + case _721112: return "Logging Plant Operator"; + case _721200: return "Earthmoving Plant Operators nfd"; + case _721211: return "Earthmoving Plant Operator (General)"; + case _721212: return "Backhoe Operator"; + case _721213: return "Bulldozer Operator"; + case _721214: return "Excavator Operator"; + case _721215: return "Grader Operator"; + case _721216: return "Loader Operator"; + case _721311: return "Forklift Driver"; + case _721900: return "Other Mobile Plant Operators nfd"; + case _721911: return "Aircraft Baggage Handler and Airline Ground Crew"; + case _721912: return "Linemarker"; + case _721913: return "Paving Plant Operator"; + case _721914: return "Railway Track Plant Operator"; + case _721915: return "Road Roller Operator"; + case _721916: return "Streetsweeper Operator"; + case _721999: return "Mobile Plant Operators nec"; + case _730000: return "Road and Rail Drivers nfd"; + case _731000: return "Automobile, Bus and Rail Drivers nfd"; + case _731100: return "Automobile Drivers nfd"; + case _731111: return "Chauffeur"; + case _731112: return "Taxi Driver"; + case _731199: return "Automobile Drivers nec"; + case _731200: return "Bus and Coach Drivers nfd"; + case _731211: return "Bus Driver"; + case _731212: return "Charter and Tour Bus Driver"; + case _731213: return "Passenger Coach Driver"; + case _731300: return "Train and Tram Drivers nfd"; + case _731311: return "Train Driver"; + case _731312: return "Tram Driver"; + case _732111: return "Delivery Driver"; + case _733100: return "Truck Drivers nfd"; + case _733111: return "Truck Driver (General)"; + case _733112: return "Aircraft Refueller"; + case _733113: return "Furniture Removalist"; + case _733114: return "Tanker Driver"; + case _733115: return "Tow Truck Driver"; + case _741111: return "Storeperson"; + case _800000: return "Labourers nfd"; + case _811000: return "Cleaners and Laundry Workers nfd"; + case _811111: return "Car Detailer"; + case _811211: return "Commercial Cleaner"; + case _811311: return "Domestic Cleaner"; + case _811400: return "Housekeepers nfd"; + case _811411: return "Commercial Housekeeper"; + case _811412: return "Domestic Housekeeper"; + case _811500: return "Laundry Workers nfd"; + case _811511: return "Laundry Worker (General)"; + case _811512: return "Drycleaner"; + case _811513: return "Ironer or Presser"; + case _811600: return "Other Cleaners nfd"; + case _811611: return "Carpet Cleaner"; + case _811612: return "Window Cleaner"; + case _811699: return "Cleaners nec"; + case _821000: return "Construction and Mining Labourers nfd"; + case _821100: return "Building and Plumbing Labourers nfd"; + case _821111: return "Builder's Labourer"; + case _821112: return "Drainage, Sewerage and Stormwater Labourer"; + case _821113: return "Earthmoving Labourer"; + case _821114: return "Plumber's Assistant"; + case _821211: return "Concreter"; + case _821311: return "Fencer"; + case _821400: return "Insulation and Home Improvement Installers nfd"; + case _821411: return "Building Insulation Installer"; + case _821412: return "Home Improvement Installer"; + case _821511: return "Paving and Surfacing Labourer"; + case _821611: return "Railway Track Worker"; + case _821700: return "Structural Steel Construction Workers nfd"; + case _821711: return "Construction Rigger"; + case _821712: return "Scaffolder"; + case _821713: return "Steel Fixer"; + case _821714: return "Structural Steel Erector"; + case _821900: return "Other Construction and Mining Labourers nfd"; + case _821911: return "Crane Chaser"; + case _821912: return "Driller's Assistant"; + case _821913: return "Lagger"; + case _821914: return "Mining Support Worker"; + case _821915: return "Surveyor's Assistant"; + case _830000: return "Factory Process Workers nfd"; + case _831000: return "Food Process Workers nfd"; + case _831100: return "Food and Drink Factory Workers nfd"; + case _831111: return "Baking Factory Worker"; + case _831112: return "Brewery Worker"; + case _831113: return "Confectionery Maker"; + case _831114: return "Dairy Products Maker"; + case _831115: return "Fruit and Vegetable Factory Worker"; + case _831116: return "Grain Mill Worker"; + case _831117: return "Sugar Mill Worker"; + case _831118: return "Winery Cellar Hand"; + case _831199: return "Food and Drink Factory Workers nec"; + case _831200: return "Meat Boners and Slicers, and Slaughterers nfd"; + case _831211: return "Meat Boner and Slicer"; + case _831212: return "Slaughterer"; + case _831300: return "Meat, Poultry and Seafood Process Workers nfd"; + case _831311: return "Meat Process Worker"; + case _831312: return "Poultry Process Worker"; + case _831313: return "Seafood Process Worker"; + case _832000: return "Packers and Product Assemblers nfd"; + case _832100: return "Packers nfd"; + case _832111: return "Chocolate Packer"; + case _832112: return "Container Filler"; + case _832113: return "Fruit and Vegetable Packer"; + case _832114: return "Meat Packer"; + case _832115: return "Seafood Packer"; + case _832199: return "Packers nec"; + case _832211: return "Product Assembler"; + case _839000: return "Miscellaneous Factory Process Workers nfd"; + case _839111: return "Metal Engineering Process Worker"; + case _839200: return "Plastics and Rubber Factory Workers nfd"; + case _839211: return "Plastics Factory Worker"; + case _839212: return "Rubber Factory Worker"; + case _839300: return "Product Quality Controllers nfd"; + case _839311: return "Product Examiner"; + case _839312: return "Product Grader"; + case _839313: return "Product Tester"; + case _839400: return "Timber and Wood Process Workers nfd"; + case _839411: return "Paper and Pulp Mill Worker"; + case _839412: return "Sawmill or Timber Yard Worker"; + case _839413: return "Wood and Wood Products Factory Worker"; + case _839900: return "Other Factory Process Workers nfd"; + case _839911: return "Cement and Concrete Plant Worker"; + case _839912: return "Chemical Plant Worker"; + case _839913: return "Clay Processing Factory Worker"; + case _839914: return "Fabric and Textile Factory Worker"; + case _839915: return "Footwear Factory Worker"; + case _839916: return "Glass Processing Worker"; + case _839917: return "Hide and Skin Processing Worker"; + case _839999: return "Factory Process Workers nec"; + case _841000: return "Farm, Forestry and Garden Workers nfd"; + case _841111: return "Aquaculture Worker"; + case _841200: return "Crop Farm Workers nfd"; + case _841211: return "Fruit or Nut Farm Worker"; + case _841212: return "Fruit or Nut Picker"; + case _841213: return "Grain, Oilseed or Pasture Farm Worker"; + case _841214: return "Vegetable Farm Worker"; + case _841215: return "Vegetable Picker"; + case _841216: return "Vineyard Worker"; + case _841299: return "Crop Farm Workers nec"; + case _841300: return "Forestry and Logging Workers nfd"; + case _841311: return "Forestry Worker"; + case _841312: return "Logging Assistant"; + case _841313: return "Tree Faller"; + case _841400: return "Garden and Nursery Labourers nfd"; + case _841411: return "Garden Labourer"; + case _841412: return "Horticultural Nursery Assistant"; + case _841500: return "Livestock Farm Workers nfd"; + case _841511: return "Beef Cattle Farm Worker"; + case _841512: return "Dairy Cattle Farm Worker"; + case _841513: return "Mixed Livestock Farm Worker"; + case _841514: return "Poultry Farm Worker"; + case _841515: return "Sheep Farm Worker"; + case _841516: return "Stablehand"; + case _841517: return "Wool Handler"; + case _841599: return "Livestock Farm Workers nec"; + case _841611: return "Mixed Crop and Livestock Farm Worker"; + case _841900: return "Other Farm, Forestry and Garden Workers nfd"; + case _841911: return "Hunter-Trapper"; + case _841912: return "Pest or Weed Controller"; + case _841999: return "Farm, Forestry and Garden Workers nec"; + case _851000: return "Food Preparation Assistants nfd"; + case _851111: return "Fast Food Cook"; + case _851200: return "Food Trades Assistants nfd"; + case _851211: return "Pastrycook's Assistant"; + case _851299: return "Food Trades Assistants nec"; + case _851311: return "Kitchenhand"; + case _890000: return "Other Labourers nfd"; + case _891000: return "Freight Handlers and Shelf Fillers nfd"; + case _891100: return "Freight and Furniture Handlers nfd"; + case _891111: return "Freight Handler (Rail or Road)"; + case _891112: return "Truck Driver's Offsider"; + case _891113: return "Waterside Worker"; + case _891211: return "Shelf Filler"; + case _899000: return "Miscellaneous Labourers nfd"; + case _899111: return "Caretaker"; + case _899200: return "Deck and Fishing Hands nfd"; + case _899211: return "Deck Hand"; + case _899212: return "Fishing Hand"; + case _899311: return "Handyperson"; + case _899400: return "Motor Vehicle Parts and Accessories Fitters nfd"; + case _899411: return "Motor Vehicle Parts and Accessories Fitter (General)"; + case _899412: return "Autoglazier"; + case _899413: return "Exhaust and Muffler Fitter"; + case _899414: return "Radiator Fitter"; + case _899415: return "Tyre Fitter"; + case _899500: return "Printing Assistants and Table Workers nfd"; + case _899511: return "Printer's Assistant"; + case _899512: return "Printing Table Worker"; + case _899611: return "Recycling or Rubbish Collector"; + case _899711: return "Vending Machine Attendant"; + case _899900: return "Other Miscellaneous Labourers nfd"; + case _899911: return "Bicycle Mechanic"; + case _899912: return "Car Park Attendant"; + case _899913: return "Crossing Supervisor"; + case _899914: return "Electrical or Telecommunications Trades Assistant"; + case _899915: return "Leaflet or Newspaper Deliverer"; + case _899916: return "Mechanic's Assistant"; + case _899917: return "Railways Assistant"; + case _899918: return "Sign Erector"; + case _899921: return "Ticket Collector or Usher"; + case _899922: return "Trolley Collector"; + case _899999: return "Labourers nec"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupationsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupationsEnumFactory.java new file mode 100644 index 00000000000..9f7fbec2c1f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AnzscoOccupationsEnumFactory.java @@ -0,0 +1,5355 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AnzscoOccupationsEnumFactory implements EnumFactory { + + public AnzscoOccupations fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("100000".equals(codeString)) + return AnzscoOccupations._100000; + if ("111000".equals(codeString)) + return AnzscoOccupations._111000; + if ("111111".equals(codeString)) + return AnzscoOccupations._111111; + if ("111200".equals(codeString)) + return AnzscoOccupations._111200; + if ("111211".equals(codeString)) + return AnzscoOccupations._111211; + if ("111212".equals(codeString)) + return AnzscoOccupations._111212; + if ("111300".equals(codeString)) + return AnzscoOccupations._111300; + if ("111311".equals(codeString)) + return AnzscoOccupations._111311; + if ("111312".equals(codeString)) + return AnzscoOccupations._111312; + if ("111399".equals(codeString)) + return AnzscoOccupations._111399; + if ("121000".equals(codeString)) + return AnzscoOccupations._121000; + if ("121111".equals(codeString)) + return AnzscoOccupations._121111; + if ("121200".equals(codeString)) + return AnzscoOccupations._121200; + if ("121211".equals(codeString)) + return AnzscoOccupations._121211; + if ("121212".equals(codeString)) + return AnzscoOccupations._121212; + if ("121213".equals(codeString)) + return AnzscoOccupations._121213; + if ("121214".equals(codeString)) + return AnzscoOccupations._121214; + if ("121215".equals(codeString)) + return AnzscoOccupations._121215; + if ("121216".equals(codeString)) + return AnzscoOccupations._121216; + if ("121217".equals(codeString)) + return AnzscoOccupations._121217; + if ("121218".equals(codeString)) + return AnzscoOccupations._121218; + if ("121221".equals(codeString)) + return AnzscoOccupations._121221; + if ("121299".equals(codeString)) + return AnzscoOccupations._121299; + if ("121300".equals(codeString)) + return AnzscoOccupations._121300; + if ("121311".equals(codeString)) + return AnzscoOccupations._121311; + if ("121312".equals(codeString)) + return AnzscoOccupations._121312; + if ("121313".equals(codeString)) + return AnzscoOccupations._121313; + if ("121314".equals(codeString)) + return AnzscoOccupations._121314; + if ("121315".equals(codeString)) + return AnzscoOccupations._121315; + if ("121316".equals(codeString)) + return AnzscoOccupations._121316; + if ("121317".equals(codeString)) + return AnzscoOccupations._121317; + if ("121318".equals(codeString)) + return AnzscoOccupations._121318; + if ("121321".equals(codeString)) + return AnzscoOccupations._121321; + if ("121322".equals(codeString)) + return AnzscoOccupations._121322; + if ("121399".equals(codeString)) + return AnzscoOccupations._121399; + if ("121411".equals(codeString)) + return AnzscoOccupations._121411; + if ("130000".equals(codeString)) + return AnzscoOccupations._130000; + if ("131100".equals(codeString)) + return AnzscoOccupations._131100; + if ("131111".equals(codeString)) + return AnzscoOccupations._131111; + if ("131112".equals(codeString)) + return AnzscoOccupations._131112; + if ("132000".equals(codeString)) + return AnzscoOccupations._132000; + if ("132111".equals(codeString)) + return AnzscoOccupations._132111; + if ("132211".equals(codeString)) + return AnzscoOccupations._132211; + if ("132311".equals(codeString)) + return AnzscoOccupations._132311; + if ("132411".equals(codeString)) + return AnzscoOccupations._132411; + if ("132511".equals(codeString)) + return AnzscoOccupations._132511; + if ("133000".equals(codeString)) + return AnzscoOccupations._133000; + if ("133100".equals(codeString)) + return AnzscoOccupations._133100; + if ("133111".equals(codeString)) + return AnzscoOccupations._133111; + if ("133112".equals(codeString)) + return AnzscoOccupations._133112; + if ("133211".equals(codeString)) + return AnzscoOccupations._133211; + if ("133300".equals(codeString)) + return AnzscoOccupations._133300; + if ("133311".equals(codeString)) + return AnzscoOccupations._133311; + if ("133312".equals(codeString)) + return AnzscoOccupations._133312; + if ("133411".equals(codeString)) + return AnzscoOccupations._133411; + if ("133500".equals(codeString)) + return AnzscoOccupations._133500; + if ("133511".equals(codeString)) + return AnzscoOccupations._133511; + if ("133512".equals(codeString)) + return AnzscoOccupations._133512; + if ("133513".equals(codeString)) + return AnzscoOccupations._133513; + if ("133611".equals(codeString)) + return AnzscoOccupations._133611; + if ("134000".equals(codeString)) + return AnzscoOccupations._134000; + if ("134111".equals(codeString)) + return AnzscoOccupations._134111; + if ("134200".equals(codeString)) + return AnzscoOccupations._134200; + if ("134211".equals(codeString)) + return AnzscoOccupations._134211; + if ("134212".equals(codeString)) + return AnzscoOccupations._134212; + if ("134213".equals(codeString)) + return AnzscoOccupations._134213; + if ("134214".equals(codeString)) + return AnzscoOccupations._134214; + if ("134299".equals(codeString)) + return AnzscoOccupations._134299; + if ("134311".equals(codeString)) + return AnzscoOccupations._134311; + if ("134400".equals(codeString)) + return AnzscoOccupations._134400; + if ("134411".equals(codeString)) + return AnzscoOccupations._134411; + if ("134412".equals(codeString)) + return AnzscoOccupations._134412; + if ("134499".equals(codeString)) + return AnzscoOccupations._134499; + if ("135100".equals(codeString)) + return AnzscoOccupations._135100; + if ("135111".equals(codeString)) + return AnzscoOccupations._135111; + if ("135112".equals(codeString)) + return AnzscoOccupations._135112; + if ("135199".equals(codeString)) + return AnzscoOccupations._135199; + if ("139000".equals(codeString)) + return AnzscoOccupations._139000; + if ("139100".equals(codeString)) + return AnzscoOccupations._139100; + if ("139111".equals(codeString)) + return AnzscoOccupations._139111; + if ("139112".equals(codeString)) + return AnzscoOccupations._139112; + if ("139113".equals(codeString)) + return AnzscoOccupations._139113; + if ("139211".equals(codeString)) + return AnzscoOccupations._139211; + if ("139900".equals(codeString)) + return AnzscoOccupations._139900; + if ("139911".equals(codeString)) + return AnzscoOccupations._139911; + if ("139912".equals(codeString)) + return AnzscoOccupations._139912; + if ("139913".equals(codeString)) + return AnzscoOccupations._139913; + if ("139914".equals(codeString)) + return AnzscoOccupations._139914; + if ("139915".equals(codeString)) + return AnzscoOccupations._139915; + if ("139999".equals(codeString)) + return AnzscoOccupations._139999; + if ("140000".equals(codeString)) + return AnzscoOccupations._140000; + if ("141000".equals(codeString)) + return AnzscoOccupations._141000; + if ("141111".equals(codeString)) + return AnzscoOccupations._141111; + if ("141211".equals(codeString)) + return AnzscoOccupations._141211; + if ("141311".equals(codeString)) + return AnzscoOccupations._141311; + if ("141411".equals(codeString)) + return AnzscoOccupations._141411; + if ("141900".equals(codeString)) + return AnzscoOccupations._141900; + if ("141911".equals(codeString)) + return AnzscoOccupations._141911; + if ("141999".equals(codeString)) + return AnzscoOccupations._141999; + if ("142100".equals(codeString)) + return AnzscoOccupations._142100; + if ("142111".equals(codeString)) + return AnzscoOccupations._142111; + if ("142112".equals(codeString)) + return AnzscoOccupations._142112; + if ("142113".equals(codeString)) + return AnzscoOccupations._142113; + if ("142114".equals(codeString)) + return AnzscoOccupations._142114; + if ("142115".equals(codeString)) + return AnzscoOccupations._142115; + if ("142116".equals(codeString)) + return AnzscoOccupations._142116; + if ("149000".equals(codeString)) + return AnzscoOccupations._149000; + if ("149100".equals(codeString)) + return AnzscoOccupations._149100; + if ("149111".equals(codeString)) + return AnzscoOccupations._149111; + if ("149112".equals(codeString)) + return AnzscoOccupations._149112; + if ("149113".equals(codeString)) + return AnzscoOccupations._149113; + if ("149200".equals(codeString)) + return AnzscoOccupations._149200; + if ("149211".equals(codeString)) + return AnzscoOccupations._149211; + if ("149212".equals(codeString)) + return AnzscoOccupations._149212; + if ("149311".equals(codeString)) + return AnzscoOccupations._149311; + if ("149400".equals(codeString)) + return AnzscoOccupations._149400; + if ("149411".equals(codeString)) + return AnzscoOccupations._149411; + if ("149412".equals(codeString)) + return AnzscoOccupations._149412; + if ("149413".equals(codeString)) + return AnzscoOccupations._149413; + if ("149900".equals(codeString)) + return AnzscoOccupations._149900; + if ("149911".equals(codeString)) + return AnzscoOccupations._149911; + if ("149912".equals(codeString)) + return AnzscoOccupations._149912; + if ("149913".equals(codeString)) + return AnzscoOccupations._149913; + if ("149914".equals(codeString)) + return AnzscoOccupations._149914; + if ("149999".equals(codeString)) + return AnzscoOccupations._149999; + if ("200000".equals(codeString)) + return AnzscoOccupations._200000; + if ("210000".equals(codeString)) + return AnzscoOccupations._210000; + if ("211000".equals(codeString)) + return AnzscoOccupations._211000; + if ("211100".equals(codeString)) + return AnzscoOccupations._211100; + if ("211111".equals(codeString)) + return AnzscoOccupations._211111; + if ("211112".equals(codeString)) + return AnzscoOccupations._211112; + if ("211113".equals(codeString)) + return AnzscoOccupations._211113; + if ("211199".equals(codeString)) + return AnzscoOccupations._211199; + if ("211200".equals(codeString)) + return AnzscoOccupations._211200; + if ("211211".equals(codeString)) + return AnzscoOccupations._211211; + if ("211212".equals(codeString)) + return AnzscoOccupations._211212; + if ("211213".equals(codeString)) + return AnzscoOccupations._211213; + if ("211214".equals(codeString)) + return AnzscoOccupations._211214; + if ("211299".equals(codeString)) + return AnzscoOccupations._211299; + if ("211311".equals(codeString)) + return AnzscoOccupations._211311; + if ("211400".equals(codeString)) + return AnzscoOccupations._211400; + if ("211411".equals(codeString)) + return AnzscoOccupations._211411; + if ("211412".equals(codeString)) + return AnzscoOccupations._211412; + if ("211413".equals(codeString)) + return AnzscoOccupations._211413; + if ("211499".equals(codeString)) + return AnzscoOccupations._211499; + if ("212000".equals(codeString)) + return AnzscoOccupations._212000; + if ("212100".equals(codeString)) + return AnzscoOccupations._212100; + if ("212111".equals(codeString)) + return AnzscoOccupations._212111; + if ("212112".equals(codeString)) + return AnzscoOccupations._212112; + if ("212113".equals(codeString)) + return AnzscoOccupations._212113; + if ("212114".equals(codeString)) + return AnzscoOccupations._212114; + if ("212200".equals(codeString)) + return AnzscoOccupations._212200; + if ("212211".equals(codeString)) + return AnzscoOccupations._212211; + if ("212212".equals(codeString)) + return AnzscoOccupations._212212; + if ("212300".equals(codeString)) + return AnzscoOccupations._212300; + if ("212311".equals(codeString)) + return AnzscoOccupations._212311; + if ("212312".equals(codeString)) + return AnzscoOccupations._212312; + if ("212313".equals(codeString)) + return AnzscoOccupations._212313; + if ("212314".equals(codeString)) + return AnzscoOccupations._212314; + if ("212315".equals(codeString)) + return AnzscoOccupations._212315; + if ("212316".equals(codeString)) + return AnzscoOccupations._212316; + if ("212317".equals(codeString)) + return AnzscoOccupations._212317; + if ("212318".equals(codeString)) + return AnzscoOccupations._212318; + if ("212399".equals(codeString)) + return AnzscoOccupations._212399; + if ("212400".equals(codeString)) + return AnzscoOccupations._212400; + if ("212411".equals(codeString)) + return AnzscoOccupations._212411; + if ("212412".equals(codeString)) + return AnzscoOccupations._212412; + if ("212413".equals(codeString)) + return AnzscoOccupations._212413; + if ("212414".equals(codeString)) + return AnzscoOccupations._212414; + if ("212415".equals(codeString)) + return AnzscoOccupations._212415; + if ("212416".equals(codeString)) + return AnzscoOccupations._212416; + if ("212499".equals(codeString)) + return AnzscoOccupations._212499; + if ("220000".equals(codeString)) + return AnzscoOccupations._220000; + if ("221000".equals(codeString)) + return AnzscoOccupations._221000; + if ("221100".equals(codeString)) + return AnzscoOccupations._221100; + if ("221111".equals(codeString)) + return AnzscoOccupations._221111; + if ("221112".equals(codeString)) + return AnzscoOccupations._221112; + if ("221113".equals(codeString)) + return AnzscoOccupations._221113; + if ("221200".equals(codeString)) + return AnzscoOccupations._221200; + if ("221211".equals(codeString)) + return AnzscoOccupations._221211; + if ("221212".equals(codeString)) + return AnzscoOccupations._221212; + if ("221213".equals(codeString)) + return AnzscoOccupations._221213; + if ("221214".equals(codeString)) + return AnzscoOccupations._221214; + if ("222000".equals(codeString)) + return AnzscoOccupations._222000; + if ("222100".equals(codeString)) + return AnzscoOccupations._222100; + if ("222111".equals(codeString)) + return AnzscoOccupations._222111; + if ("222112".equals(codeString)) + return AnzscoOccupations._222112; + if ("222113".equals(codeString)) + return AnzscoOccupations._222113; + if ("222199".equals(codeString)) + return AnzscoOccupations._222199; + if ("222200".equals(codeString)) + return AnzscoOccupations._222200; + if ("222211".equals(codeString)) + return AnzscoOccupations._222211; + if ("222212".equals(codeString)) + return AnzscoOccupations._222212; + if ("222213".equals(codeString)) + return AnzscoOccupations._222213; + if ("222299".equals(codeString)) + return AnzscoOccupations._222299; + if ("222300".equals(codeString)) + return AnzscoOccupations._222300; + if ("222311".equals(codeString)) + return AnzscoOccupations._222311; + if ("222312".equals(codeString)) + return AnzscoOccupations._222312; + if ("223000".equals(codeString)) + return AnzscoOccupations._223000; + if ("223100".equals(codeString)) + return AnzscoOccupations._223100; + if ("223111".equals(codeString)) + return AnzscoOccupations._223111; + if ("223112".equals(codeString)) + return AnzscoOccupations._223112; + if ("223113".equals(codeString)) + return AnzscoOccupations._223113; + if ("223211".equals(codeString)) + return AnzscoOccupations._223211; + if ("223311".equals(codeString)) + return AnzscoOccupations._223311; + if ("224000".equals(codeString)) + return AnzscoOccupations._224000; + if ("224100".equals(codeString)) + return AnzscoOccupations._224100; + if ("224111".equals(codeString)) + return AnzscoOccupations._224111; + if ("224112".equals(codeString)) + return AnzscoOccupations._224112; + if ("224113".equals(codeString)) + return AnzscoOccupations._224113; + if ("224200".equals(codeString)) + return AnzscoOccupations._224200; + if ("224211".equals(codeString)) + return AnzscoOccupations._224211; + if ("224212".equals(codeString)) + return AnzscoOccupations._224212; + if ("224213".equals(codeString)) + return AnzscoOccupations._224213; + if ("224214".equals(codeString)) + return AnzscoOccupations._224214; + if ("224311".equals(codeString)) + return AnzscoOccupations._224311; + if ("224400".equals(codeString)) + return AnzscoOccupations._224400; + if ("224411".equals(codeString)) + return AnzscoOccupations._224411; + if ("224412".equals(codeString)) + return AnzscoOccupations._224412; + if ("224500".equals(codeString)) + return AnzscoOccupations._224500; + if ("224511".equals(codeString)) + return AnzscoOccupations._224511; + if ("224512".equals(codeString)) + return AnzscoOccupations._224512; + if ("224611".equals(codeString)) + return AnzscoOccupations._224611; + if ("224700".equals(codeString)) + return AnzscoOccupations._224700; + if ("224711".equals(codeString)) + return AnzscoOccupations._224711; + if ("224712".equals(codeString)) + return AnzscoOccupations._224712; + if ("224900".equals(codeString)) + return AnzscoOccupations._224900; + if ("224911".equals(codeString)) + return AnzscoOccupations._224911; + if ("224912".equals(codeString)) + return AnzscoOccupations._224912; + if ("224913".equals(codeString)) + return AnzscoOccupations._224913; + if ("224914".equals(codeString)) + return AnzscoOccupations._224914; + if ("224999".equals(codeString)) + return AnzscoOccupations._224999; + if ("225000".equals(codeString)) + return AnzscoOccupations._225000; + if ("225100".equals(codeString)) + return AnzscoOccupations._225100; + if ("225111".equals(codeString)) + return AnzscoOccupations._225111; + if ("225112".equals(codeString)) + return AnzscoOccupations._225112; + if ("225113".equals(codeString)) + return AnzscoOccupations._225113; + if ("225200".equals(codeString)) + return AnzscoOccupations._225200; + if ("225211".equals(codeString)) + return AnzscoOccupations._225211; + if ("225212".equals(codeString)) + return AnzscoOccupations._225212; + if ("225213".equals(codeString)) + return AnzscoOccupations._225213; + if ("225311".equals(codeString)) + return AnzscoOccupations._225311; + if ("225400".equals(codeString)) + return AnzscoOccupations._225400; + if ("225411".equals(codeString)) + return AnzscoOccupations._225411; + if ("225412".equals(codeString)) + return AnzscoOccupations._225412; + if ("225499".equals(codeString)) + return AnzscoOccupations._225499; + if ("230000".equals(codeString)) + return AnzscoOccupations._230000; + if ("231000".equals(codeString)) + return AnzscoOccupations._231000; + if ("231100".equals(codeString)) + return AnzscoOccupations._231100; + if ("231111".equals(codeString)) + return AnzscoOccupations._231111; + if ("231112".equals(codeString)) + return AnzscoOccupations._231112; + if ("231113".equals(codeString)) + return AnzscoOccupations._231113; + if ("231114".equals(codeString)) + return AnzscoOccupations._231114; + if ("231199".equals(codeString)) + return AnzscoOccupations._231199; + if ("231200".equals(codeString)) + return AnzscoOccupations._231200; + if ("231211".equals(codeString)) + return AnzscoOccupations._231211; + if ("231212".equals(codeString)) + return AnzscoOccupations._231212; + if ("231213".equals(codeString)) + return AnzscoOccupations._231213; + if ("231214".equals(codeString)) + return AnzscoOccupations._231214; + if ("231215".equals(codeString)) + return AnzscoOccupations._231215; + if ("231299".equals(codeString)) + return AnzscoOccupations._231299; + if ("232000".equals(codeString)) + return AnzscoOccupations._232000; + if ("232100".equals(codeString)) + return AnzscoOccupations._232100; + if ("232111".equals(codeString)) + return AnzscoOccupations._232111; + if ("232112".equals(codeString)) + return AnzscoOccupations._232112; + if ("232200".equals(codeString)) + return AnzscoOccupations._232200; + if ("232211".equals(codeString)) + return AnzscoOccupations._232211; + if ("232212".equals(codeString)) + return AnzscoOccupations._232212; + if ("232300".equals(codeString)) + return AnzscoOccupations._232300; + if ("232311".equals(codeString)) + return AnzscoOccupations._232311; + if ("232312".equals(codeString)) + return AnzscoOccupations._232312; + if ("232313".equals(codeString)) + return AnzscoOccupations._232313; + if ("232400".equals(codeString)) + return AnzscoOccupations._232400; + if ("232411".equals(codeString)) + return AnzscoOccupations._232411; + if ("232412".equals(codeString)) + return AnzscoOccupations._232412; + if ("232413".equals(codeString)) + return AnzscoOccupations._232413; + if ("232414".equals(codeString)) + return AnzscoOccupations._232414; + if ("232511".equals(codeString)) + return AnzscoOccupations._232511; + if ("232611".equals(codeString)) + return AnzscoOccupations._232611; + if ("233000".equals(codeString)) + return AnzscoOccupations._233000; + if ("233100".equals(codeString)) + return AnzscoOccupations._233100; + if ("233111".equals(codeString)) + return AnzscoOccupations._233111; + if ("233112".equals(codeString)) + return AnzscoOccupations._233112; + if ("233200".equals(codeString)) + return AnzscoOccupations._233200; + if ("233211".equals(codeString)) + return AnzscoOccupations._233211; + if ("233212".equals(codeString)) + return AnzscoOccupations._233212; + if ("233213".equals(codeString)) + return AnzscoOccupations._233213; + if ("233214".equals(codeString)) + return AnzscoOccupations._233214; + if ("233215".equals(codeString)) + return AnzscoOccupations._233215; + if ("233311".equals(codeString)) + return AnzscoOccupations._233311; + if ("233411".equals(codeString)) + return AnzscoOccupations._233411; + if ("233500".equals(codeString)) + return AnzscoOccupations._233500; + if ("233511".equals(codeString)) + return AnzscoOccupations._233511; + if ("233512".equals(codeString)) + return AnzscoOccupations._233512; + if ("233513".equals(codeString)) + return AnzscoOccupations._233513; + if ("233600".equals(codeString)) + return AnzscoOccupations._233600; + if ("233611".equals(codeString)) + return AnzscoOccupations._233611; + if ("233612".equals(codeString)) + return AnzscoOccupations._233612; + if ("233900".equals(codeString)) + return AnzscoOccupations._233900; + if ("233911".equals(codeString)) + return AnzscoOccupations._233911; + if ("233912".equals(codeString)) + return AnzscoOccupations._233912; + if ("233913".equals(codeString)) + return AnzscoOccupations._233913; + if ("233914".equals(codeString)) + return AnzscoOccupations._233914; + if ("233915".equals(codeString)) + return AnzscoOccupations._233915; + if ("233916".equals(codeString)) + return AnzscoOccupations._233916; + if ("233999".equals(codeString)) + return AnzscoOccupations._233999; + if ("234000".equals(codeString)) + return AnzscoOccupations._234000; + if ("234100".equals(codeString)) + return AnzscoOccupations._234100; + if ("234111".equals(codeString)) + return AnzscoOccupations._234111; + if ("234112".equals(codeString)) + return AnzscoOccupations._234112; + if ("234113".equals(codeString)) + return AnzscoOccupations._234113; + if ("234200".equals(codeString)) + return AnzscoOccupations._234200; + if ("234211".equals(codeString)) + return AnzscoOccupations._234211; + if ("234212".equals(codeString)) + return AnzscoOccupations._234212; + if ("234213".equals(codeString)) + return AnzscoOccupations._234213; + if ("234300".equals(codeString)) + return AnzscoOccupations._234300; + if ("234311".equals(codeString)) + return AnzscoOccupations._234311; + if ("234312".equals(codeString)) + return AnzscoOccupations._234312; + if ("234313".equals(codeString)) + return AnzscoOccupations._234313; + if ("234314".equals(codeString)) + return AnzscoOccupations._234314; + if ("234399".equals(codeString)) + return AnzscoOccupations._234399; + if ("234400".equals(codeString)) + return AnzscoOccupations._234400; + if ("234411".equals(codeString)) + return AnzscoOccupations._234411; + if ("234412".equals(codeString)) + return AnzscoOccupations._234412; + if ("234500".equals(codeString)) + return AnzscoOccupations._234500; + if ("234511".equals(codeString)) + return AnzscoOccupations._234511; + if ("234512".equals(codeString)) + return AnzscoOccupations._234512; + if ("234513".equals(codeString)) + return AnzscoOccupations._234513; + if ("234514".equals(codeString)) + return AnzscoOccupations._234514; + if ("234515".equals(codeString)) + return AnzscoOccupations._234515; + if ("234516".equals(codeString)) + return AnzscoOccupations._234516; + if ("234517".equals(codeString)) + return AnzscoOccupations._234517; + if ("234518".equals(codeString)) + return AnzscoOccupations._234518; + if ("234599".equals(codeString)) + return AnzscoOccupations._234599; + if ("234611".equals(codeString)) + return AnzscoOccupations._234611; + if ("234711".equals(codeString)) + return AnzscoOccupations._234711; + if ("234900".equals(codeString)) + return AnzscoOccupations._234900; + if ("234911".equals(codeString)) + return AnzscoOccupations._234911; + if ("234912".equals(codeString)) + return AnzscoOccupations._234912; + if ("234913".equals(codeString)) + return AnzscoOccupations._234913; + if ("234914".equals(codeString)) + return AnzscoOccupations._234914; + if ("234999".equals(codeString)) + return AnzscoOccupations._234999; + if ("240000".equals(codeString)) + return AnzscoOccupations._240000; + if ("241000".equals(codeString)) + return AnzscoOccupations._241000; + if ("241111".equals(codeString)) + return AnzscoOccupations._241111; + if ("241213".equals(codeString)) + return AnzscoOccupations._241213; + if ("241311".equals(codeString)) + return AnzscoOccupations._241311; + if ("241411".equals(codeString)) + return AnzscoOccupations._241411; + if ("241500".equals(codeString)) + return AnzscoOccupations._241500; + if ("241511".equals(codeString)) + return AnzscoOccupations._241511; + if ("241512".equals(codeString)) + return AnzscoOccupations._241512; + if ("241513".equals(codeString)) + return AnzscoOccupations._241513; + if ("241599".equals(codeString)) + return AnzscoOccupations._241599; + if ("242000".equals(codeString)) + return AnzscoOccupations._242000; + if ("242100".equals(codeString)) + return AnzscoOccupations._242100; + if ("242111".equals(codeString)) + return AnzscoOccupations._242111; + if ("242112".equals(codeString)) + return AnzscoOccupations._242112; + if ("242211".equals(codeString)) + return AnzscoOccupations._242211; + if ("249000".equals(codeString)) + return AnzscoOccupations._249000; + if ("249100".equals(codeString)) + return AnzscoOccupations._249100; + if ("249111".equals(codeString)) + return AnzscoOccupations._249111; + if ("249112".equals(codeString)) + return AnzscoOccupations._249112; + if ("249200".equals(codeString)) + return AnzscoOccupations._249200; + if ("249211".equals(codeString)) + return AnzscoOccupations._249211; + if ("249212".equals(codeString)) + return AnzscoOccupations._249212; + if ("249213".equals(codeString)) + return AnzscoOccupations._249213; + if ("249214".equals(codeString)) + return AnzscoOccupations._249214; + if ("249299".equals(codeString)) + return AnzscoOccupations._249299; + if ("249311".equals(codeString)) + return AnzscoOccupations._249311; + if ("250000".equals(codeString)) + return AnzscoOccupations._250000; + if ("251000".equals(codeString)) + return AnzscoOccupations._251000; + if ("251111".equals(codeString)) + return AnzscoOccupations._251111; + if ("251200".equals(codeString)) + return AnzscoOccupations._251200; + if ("251211".equals(codeString)) + return AnzscoOccupations._251211; + if ("251212".equals(codeString)) + return AnzscoOccupations._251212; + if ("251213".equals(codeString)) + return AnzscoOccupations._251213; + if ("251214".equals(codeString)) + return AnzscoOccupations._251214; + if ("251300".equals(codeString)) + return AnzscoOccupations._251300; + if ("251311".equals(codeString)) + return AnzscoOccupations._251311; + if ("251312".equals(codeString)) + return AnzscoOccupations._251312; + if ("251400".equals(codeString)) + return AnzscoOccupations._251400; + if ("251411".equals(codeString)) + return AnzscoOccupations._251411; + if ("251412".equals(codeString)) + return AnzscoOccupations._251412; + if ("251500".equals(codeString)) + return AnzscoOccupations._251500; + if ("251511".equals(codeString)) + return AnzscoOccupations._251511; + if ("251512".equals(codeString)) + return AnzscoOccupations._251512; + if ("251513".equals(codeString)) + return AnzscoOccupations._251513; + if ("251900".equals(codeString)) + return AnzscoOccupations._251900; + if ("251911".equals(codeString)) + return AnzscoOccupations._251911; + if ("251912".equals(codeString)) + return AnzscoOccupations._251912; + if ("251999".equals(codeString)) + return AnzscoOccupations._251999; + if ("252000".equals(codeString)) + return AnzscoOccupations._252000; + if ("252100".equals(codeString)) + return AnzscoOccupations._252100; + if ("252111".equals(codeString)) + return AnzscoOccupations._252111; + if ("252112".equals(codeString)) + return AnzscoOccupations._252112; + if ("252200".equals(codeString)) + return AnzscoOccupations._252200; + if ("252211".equals(codeString)) + return AnzscoOccupations._252211; + if ("252212".equals(codeString)) + return AnzscoOccupations._252212; + if ("252213".equals(codeString)) + return AnzscoOccupations._252213; + if ("252214".equals(codeString)) + return AnzscoOccupations._252214; + if ("252299".equals(codeString)) + return AnzscoOccupations._252299; + if ("252300".equals(codeString)) + return AnzscoOccupations._252300; + if ("252311".equals(codeString)) + return AnzscoOccupations._252311; + if ("252312".equals(codeString)) + return AnzscoOccupations._252312; + if ("252411".equals(codeString)) + return AnzscoOccupations._252411; + if ("252511".equals(codeString)) + return AnzscoOccupations._252511; + if ("252611".equals(codeString)) + return AnzscoOccupations._252611; + if ("252700".equals(codeString)) + return AnzscoOccupations._252700; + if ("252711".equals(codeString)) + return AnzscoOccupations._252711; + if ("252712".equals(codeString)) + return AnzscoOccupations._252712; + if ("253000".equals(codeString)) + return AnzscoOccupations._253000; + if ("253100".equals(codeString)) + return AnzscoOccupations._253100; + if ("253111".equals(codeString)) + return AnzscoOccupations._253111; + if ("253112".equals(codeString)) + return AnzscoOccupations._253112; + if ("253211".equals(codeString)) + return AnzscoOccupations._253211; + if ("253300".equals(codeString)) + return AnzscoOccupations._253300; + if ("253311".equals(codeString)) + return AnzscoOccupations._253311; + if ("253312".equals(codeString)) + return AnzscoOccupations._253312; + if ("253313".equals(codeString)) + return AnzscoOccupations._253313; + if ("253314".equals(codeString)) + return AnzscoOccupations._253314; + if ("253315".equals(codeString)) + return AnzscoOccupations._253315; + if ("253316".equals(codeString)) + return AnzscoOccupations._253316; + if ("253317".equals(codeString)) + return AnzscoOccupations._253317; + if ("253318".equals(codeString)) + return AnzscoOccupations._253318; + if ("253321".equals(codeString)) + return AnzscoOccupations._253321; + if ("253322".equals(codeString)) + return AnzscoOccupations._253322; + if ("253323".equals(codeString)) + return AnzscoOccupations._253323; + if ("253324".equals(codeString)) + return AnzscoOccupations._253324; + if ("253399".equals(codeString)) + return AnzscoOccupations._253399; + if ("253411".equals(codeString)) + return AnzscoOccupations._253411; + if ("253500".equals(codeString)) + return AnzscoOccupations._253500; + if ("253511".equals(codeString)) + return AnzscoOccupations._253511; + if ("253512".equals(codeString)) + return AnzscoOccupations._253512; + if ("253513".equals(codeString)) + return AnzscoOccupations._253513; + if ("253514".equals(codeString)) + return AnzscoOccupations._253514; + if ("253515".equals(codeString)) + return AnzscoOccupations._253515; + if ("253516".equals(codeString)) + return AnzscoOccupations._253516; + if ("253517".equals(codeString)) + return AnzscoOccupations._253517; + if ("253518".equals(codeString)) + return AnzscoOccupations._253518; + if ("253521".equals(codeString)) + return AnzscoOccupations._253521; + if ("253900".equals(codeString)) + return AnzscoOccupations._253900; + if ("253911".equals(codeString)) + return AnzscoOccupations._253911; + if ("253912".equals(codeString)) + return AnzscoOccupations._253912; + if ("253913".equals(codeString)) + return AnzscoOccupations._253913; + if ("253914".equals(codeString)) + return AnzscoOccupations._253914; + if ("253915".equals(codeString)) + return AnzscoOccupations._253915; + if ("253916".equals(codeString)) + return AnzscoOccupations._253916; + if ("253999".equals(codeString)) + return AnzscoOccupations._253999; + if ("254000".equals(codeString)) + return AnzscoOccupations._254000; + if ("254111".equals(codeString)) + return AnzscoOccupations._254111; + if ("254200".equals(codeString)) + return AnzscoOccupations._254200; + if ("254211".equals(codeString)) + return AnzscoOccupations._254211; + if ("254212".equals(codeString)) + return AnzscoOccupations._254212; + if ("254311".equals(codeString)) + return AnzscoOccupations._254311; + if ("254400".equals(codeString)) + return AnzscoOccupations._254400; + if ("254411".equals(codeString)) + return AnzscoOccupations._254411; + if ("254412".equals(codeString)) + return AnzscoOccupations._254412; + if ("254413".equals(codeString)) + return AnzscoOccupations._254413; + if ("254414".equals(codeString)) + return AnzscoOccupations._254414; + if ("254415".equals(codeString)) + return AnzscoOccupations._254415; + if ("254416".equals(codeString)) + return AnzscoOccupations._254416; + if ("254417".equals(codeString)) + return AnzscoOccupations._254417; + if ("254418".equals(codeString)) + return AnzscoOccupations._254418; + if ("254421".equals(codeString)) + return AnzscoOccupations._254421; + if ("254422".equals(codeString)) + return AnzscoOccupations._254422; + if ("254423".equals(codeString)) + return AnzscoOccupations._254423; + if ("254424".equals(codeString)) + return AnzscoOccupations._254424; + if ("254499".equals(codeString)) + return AnzscoOccupations._254499; + if ("260000".equals(codeString)) + return AnzscoOccupations._260000; + if ("261000".equals(codeString)) + return AnzscoOccupations._261000; + if ("261100".equals(codeString)) + return AnzscoOccupations._261100; + if ("261111".equals(codeString)) + return AnzscoOccupations._261111; + if ("261112".equals(codeString)) + return AnzscoOccupations._261112; + if ("261200".equals(codeString)) + return AnzscoOccupations._261200; + if ("261211".equals(codeString)) + return AnzscoOccupations._261211; + if ("261212".equals(codeString)) + return AnzscoOccupations._261212; + if ("261300".equals(codeString)) + return AnzscoOccupations._261300; + if ("261311".equals(codeString)) + return AnzscoOccupations._261311; + if ("261312".equals(codeString)) + return AnzscoOccupations._261312; + if ("261313".equals(codeString)) + return AnzscoOccupations._261313; + if ("261399".equals(codeString)) + return AnzscoOccupations._261399; + if ("262100".equals(codeString)) + return AnzscoOccupations._262100; + if ("262111".equals(codeString)) + return AnzscoOccupations._262111; + if ("262112".equals(codeString)) + return AnzscoOccupations._262112; + if ("262113".equals(codeString)) + return AnzscoOccupations._262113; + if ("263000".equals(codeString)) + return AnzscoOccupations._263000; + if ("263100".equals(codeString)) + return AnzscoOccupations._263100; + if ("263111".equals(codeString)) + return AnzscoOccupations._263111; + if ("263112".equals(codeString)) + return AnzscoOccupations._263112; + if ("263113".equals(codeString)) + return AnzscoOccupations._263113; + if ("263200".equals(codeString)) + return AnzscoOccupations._263200; + if ("263211".equals(codeString)) + return AnzscoOccupations._263211; + if ("263212".equals(codeString)) + return AnzscoOccupations._263212; + if ("263213".equals(codeString)) + return AnzscoOccupations._263213; + if ("263299".equals(codeString)) + return AnzscoOccupations._263299; + if ("263300".equals(codeString)) + return AnzscoOccupations._263300; + if ("263311".equals(codeString)) + return AnzscoOccupations._263311; + if ("263312".equals(codeString)) + return AnzscoOccupations._263312; + if ("270000".equals(codeString)) + return AnzscoOccupations._270000; + if ("271000".equals(codeString)) + return AnzscoOccupations._271000; + if ("271111".equals(codeString)) + return AnzscoOccupations._271111; + if ("271200".equals(codeString)) + return AnzscoOccupations._271200; + if ("271211".equals(codeString)) + return AnzscoOccupations._271211; + if ("271212".equals(codeString)) + return AnzscoOccupations._271212; + if ("271213".equals(codeString)) + return AnzscoOccupations._271213; + if ("271299".equals(codeString)) + return AnzscoOccupations._271299; + if ("271311".equals(codeString)) + return AnzscoOccupations._271311; + if ("272000".equals(codeString)) + return AnzscoOccupations._272000; + if ("272100".equals(codeString)) + return AnzscoOccupations._272100; + if ("272111".equals(codeString)) + return AnzscoOccupations._272111; + if ("272112".equals(codeString)) + return AnzscoOccupations._272112; + if ("272113".equals(codeString)) + return AnzscoOccupations._272113; + if ("272114".equals(codeString)) + return AnzscoOccupations._272114; + if ("272115".equals(codeString)) + return AnzscoOccupations._272115; + if ("272199".equals(codeString)) + return AnzscoOccupations._272199; + if ("272211".equals(codeString)) + return AnzscoOccupations._272211; + if ("272300".equals(codeString)) + return AnzscoOccupations._272300; + if ("272311".equals(codeString)) + return AnzscoOccupations._272311; + if ("272312".equals(codeString)) + return AnzscoOccupations._272312; + if ("272313".equals(codeString)) + return AnzscoOccupations._272313; + if ("272314".equals(codeString)) + return AnzscoOccupations._272314; + if ("272399".equals(codeString)) + return AnzscoOccupations._272399; + if ("272400".equals(codeString)) + return AnzscoOccupations._272400; + if ("272411".equals(codeString)) + return AnzscoOccupations._272411; + if ("272412".equals(codeString)) + return AnzscoOccupations._272412; + if ("272413".equals(codeString)) + return AnzscoOccupations._272413; + if ("272499".equals(codeString)) + return AnzscoOccupations._272499; + if ("272511".equals(codeString)) + return AnzscoOccupations._272511; + if ("272600".equals(codeString)) + return AnzscoOccupations._272600; + if ("272611".equals(codeString)) + return AnzscoOccupations._272611; + if ("272612".equals(codeString)) + return AnzscoOccupations._272612; + if ("272613".equals(codeString)) + return AnzscoOccupations._272613; + if ("300000".equals(codeString)) + return AnzscoOccupations._300000; + if ("310000".equals(codeString)) + return AnzscoOccupations._310000; + if ("311000".equals(codeString)) + return AnzscoOccupations._311000; + if ("311111".equals(codeString)) + return AnzscoOccupations._311111; + if ("311200".equals(codeString)) + return AnzscoOccupations._311200; + if ("311211".equals(codeString)) + return AnzscoOccupations._311211; + if ("311212".equals(codeString)) + return AnzscoOccupations._311212; + if ("311213".equals(codeString)) + return AnzscoOccupations._311213; + if ("311214".equals(codeString)) + return AnzscoOccupations._311214; + if ("311215".equals(codeString)) + return AnzscoOccupations._311215; + if ("311299".equals(codeString)) + return AnzscoOccupations._311299; + if ("311300".equals(codeString)) + return AnzscoOccupations._311300; + if ("311311".equals(codeString)) + return AnzscoOccupations._311311; + if ("311312".equals(codeString)) + return AnzscoOccupations._311312; + if ("311313".equals(codeString)) + return AnzscoOccupations._311313; + if ("311399".equals(codeString)) + return AnzscoOccupations._311399; + if ("311400".equals(codeString)) + return AnzscoOccupations._311400; + if ("311411".equals(codeString)) + return AnzscoOccupations._311411; + if ("311412".equals(codeString)) + return AnzscoOccupations._311412; + if ("311413".equals(codeString)) + return AnzscoOccupations._311413; + if ("311414".equals(codeString)) + return AnzscoOccupations._311414; + if ("311499".equals(codeString)) + return AnzscoOccupations._311499; + if ("312000".equals(codeString)) + return AnzscoOccupations._312000; + if ("312100".equals(codeString)) + return AnzscoOccupations._312100; + if ("312111".equals(codeString)) + return AnzscoOccupations._312111; + if ("312112".equals(codeString)) + return AnzscoOccupations._312112; + if ("312113".equals(codeString)) + return AnzscoOccupations._312113; + if ("312114".equals(codeString)) + return AnzscoOccupations._312114; + if ("312115".equals(codeString)) + return AnzscoOccupations._312115; + if ("312116".equals(codeString)) + return AnzscoOccupations._312116; + if ("312200".equals(codeString)) + return AnzscoOccupations._312200; + if ("312211".equals(codeString)) + return AnzscoOccupations._312211; + if ("312212".equals(codeString)) + return AnzscoOccupations._312212; + if ("312300".equals(codeString)) + return AnzscoOccupations._312300; + if ("312311".equals(codeString)) + return AnzscoOccupations._312311; + if ("312312".equals(codeString)) + return AnzscoOccupations._312312; + if ("312400".equals(codeString)) + return AnzscoOccupations._312400; + if ("312411".equals(codeString)) + return AnzscoOccupations._312411; + if ("312412".equals(codeString)) + return AnzscoOccupations._312412; + if ("312500".equals(codeString)) + return AnzscoOccupations._312500; + if ("312511".equals(codeString)) + return AnzscoOccupations._312511; + if ("312512".equals(codeString)) + return AnzscoOccupations._312512; + if ("312611".equals(codeString)) + return AnzscoOccupations._312611; + if ("312900".equals(codeString)) + return AnzscoOccupations._312900; + if ("312911".equals(codeString)) + return AnzscoOccupations._312911; + if ("312912".equals(codeString)) + return AnzscoOccupations._312912; + if ("312913".equals(codeString)) + return AnzscoOccupations._312913; + if ("312999".equals(codeString)) + return AnzscoOccupations._312999; + if ("313000".equals(codeString)) + return AnzscoOccupations._313000; + if ("313100".equals(codeString)) + return AnzscoOccupations._313100; + if ("313111".equals(codeString)) + return AnzscoOccupations._313111; + if ("313112".equals(codeString)) + return AnzscoOccupations._313112; + if ("313113".equals(codeString)) + return AnzscoOccupations._313113; + if ("313199".equals(codeString)) + return AnzscoOccupations._313199; + if ("313200".equals(codeString)) + return AnzscoOccupations._313200; + if ("313211".equals(codeString)) + return AnzscoOccupations._313211; + if ("313212".equals(codeString)) + return AnzscoOccupations._313212; + if ("313213".equals(codeString)) + return AnzscoOccupations._313213; + if ("313214".equals(codeString)) + return AnzscoOccupations._313214; + if ("320000".equals(codeString)) + return AnzscoOccupations._320000; + if ("321000".equals(codeString)) + return AnzscoOccupations._321000; + if ("321111".equals(codeString)) + return AnzscoOccupations._321111; + if ("321200".equals(codeString)) + return AnzscoOccupations._321200; + if ("321211".equals(codeString)) + return AnzscoOccupations._321211; + if ("321212".equals(codeString)) + return AnzscoOccupations._321212; + if ("321213".equals(codeString)) + return AnzscoOccupations._321213; + if ("321214".equals(codeString)) + return AnzscoOccupations._321214; + if ("322000".equals(codeString)) + return AnzscoOccupations._322000; + if ("322100".equals(codeString)) + return AnzscoOccupations._322100; + if ("322111".equals(codeString)) + return AnzscoOccupations._322111; + if ("322112".equals(codeString)) + return AnzscoOccupations._322112; + if ("322113".equals(codeString)) + return AnzscoOccupations._322113; + if ("322114".equals(codeString)) + return AnzscoOccupations._322114; + if ("322115".equals(codeString)) + return AnzscoOccupations._322115; + if ("322211".equals(codeString)) + return AnzscoOccupations._322211; + if ("322300".equals(codeString)) + return AnzscoOccupations._322300; + if ("322311".equals(codeString)) + return AnzscoOccupations._322311; + if ("322312".equals(codeString)) + return AnzscoOccupations._322312; + if ("322313".equals(codeString)) + return AnzscoOccupations._322313; + if ("323000".equals(codeString)) + return AnzscoOccupations._323000; + if ("323100".equals(codeString)) + return AnzscoOccupations._323100; + if ("323111".equals(codeString)) + return AnzscoOccupations._323111; + if ("323112".equals(codeString)) + return AnzscoOccupations._323112; + if ("323113".equals(codeString)) + return AnzscoOccupations._323113; + if ("323200".equals(codeString)) + return AnzscoOccupations._323200; + if ("323211".equals(codeString)) + return AnzscoOccupations._323211; + if ("323212".equals(codeString)) + return AnzscoOccupations._323212; + if ("323213".equals(codeString)) + return AnzscoOccupations._323213; + if ("323214".equals(codeString)) + return AnzscoOccupations._323214; + if ("323215".equals(codeString)) + return AnzscoOccupations._323215; + if ("323299".equals(codeString)) + return AnzscoOccupations._323299; + if ("323300".equals(codeString)) + return AnzscoOccupations._323300; + if ("323311".equals(codeString)) + return AnzscoOccupations._323311; + if ("323312".equals(codeString)) + return AnzscoOccupations._323312; + if ("323313".equals(codeString)) + return AnzscoOccupations._323313; + if ("323314".equals(codeString)) + return AnzscoOccupations._323314; + if ("323315".equals(codeString)) + return AnzscoOccupations._323315; + if ("323316".equals(codeString)) + return AnzscoOccupations._323316; + if ("323400".equals(codeString)) + return AnzscoOccupations._323400; + if ("323411".equals(codeString)) + return AnzscoOccupations._323411; + if ("323412".equals(codeString)) + return AnzscoOccupations._323412; + if ("324000".equals(codeString)) + return AnzscoOccupations._324000; + if ("324111".equals(codeString)) + return AnzscoOccupations._324111; + if ("324200".equals(codeString)) + return AnzscoOccupations._324200; + if ("324211".equals(codeString)) + return AnzscoOccupations._324211; + if ("324212".equals(codeString)) + return AnzscoOccupations._324212; + if ("324311".equals(codeString)) + return AnzscoOccupations._324311; + if ("330000".equals(codeString)) + return AnzscoOccupations._330000; + if ("331000".equals(codeString)) + return AnzscoOccupations._331000; + if ("331100".equals(codeString)) + return AnzscoOccupations._331100; + if ("331111".equals(codeString)) + return AnzscoOccupations._331111; + if ("331112".equals(codeString)) + return AnzscoOccupations._331112; + if ("331211".equals(codeString)) + return AnzscoOccupations._331211; + if ("331212".equals(codeString)) + return AnzscoOccupations._331212; + if ("331213".equals(codeString)) + return AnzscoOccupations._331213; + if ("332000".equals(codeString)) + return AnzscoOccupations._332000; + if ("332111".equals(codeString)) + return AnzscoOccupations._332111; + if ("332211".equals(codeString)) + return AnzscoOccupations._332211; + if ("333000".equals(codeString)) + return AnzscoOccupations._333000; + if ("333111".equals(codeString)) + return AnzscoOccupations._333111; + if ("333200".equals(codeString)) + return AnzscoOccupations._333200; + if ("333211".equals(codeString)) + return AnzscoOccupations._333211; + if ("333212".equals(codeString)) + return AnzscoOccupations._333212; + if ("333311".equals(codeString)) + return AnzscoOccupations._333311; + if ("333411".equals(codeString)) + return AnzscoOccupations._333411; + if ("334100".equals(codeString)) + return AnzscoOccupations._334100; + if ("334111".equals(codeString)) + return AnzscoOccupations._334111; + if ("334112".equals(codeString)) + return AnzscoOccupations._334112; + if ("334113".equals(codeString)) + return AnzscoOccupations._334113; + if ("334114".equals(codeString)) + return AnzscoOccupations._334114; + if ("334115".equals(codeString)) + return AnzscoOccupations._334115; + if ("340000".equals(codeString)) + return AnzscoOccupations._340000; + if ("341100".equals(codeString)) + return AnzscoOccupations._341100; + if ("341111".equals(codeString)) + return AnzscoOccupations._341111; + if ("341112".equals(codeString)) + return AnzscoOccupations._341112; + if ("341113".equals(codeString)) + return AnzscoOccupations._341113; + if ("342000".equals(codeString)) + return AnzscoOccupations._342000; + if ("342111".equals(codeString)) + return AnzscoOccupations._342111; + if ("342200".equals(codeString)) + return AnzscoOccupations._342200; + if ("342211".equals(codeString)) + return AnzscoOccupations._342211; + if ("342212".equals(codeString)) + return AnzscoOccupations._342212; + if ("342300".equals(codeString)) + return AnzscoOccupations._342300; + if ("342311".equals(codeString)) + return AnzscoOccupations._342311; + if ("342312".equals(codeString)) + return AnzscoOccupations._342312; + if ("342313".equals(codeString)) + return AnzscoOccupations._342313; + if ("342314".equals(codeString)) + return AnzscoOccupations._342314; + if ("342315".equals(codeString)) + return AnzscoOccupations._342315; + if ("342400".equals(codeString)) + return AnzscoOccupations._342400; + if ("342411".equals(codeString)) + return AnzscoOccupations._342411; + if ("342412".equals(codeString)) + return AnzscoOccupations._342412; + if ("342413".equals(codeString)) + return AnzscoOccupations._342413; + if ("342414".equals(codeString)) + return AnzscoOccupations._342414; + if ("351000".equals(codeString)) + return AnzscoOccupations._351000; + if ("351100".equals(codeString)) + return AnzscoOccupations._351100; + if ("351111".equals(codeString)) + return AnzscoOccupations._351111; + if ("351112".equals(codeString)) + return AnzscoOccupations._351112; + if ("351211".equals(codeString)) + return AnzscoOccupations._351211; + if ("351311".equals(codeString)) + return AnzscoOccupations._351311; + if ("351411".equals(codeString)) + return AnzscoOccupations._351411; + if ("360000".equals(codeString)) + return AnzscoOccupations._360000; + if ("361000".equals(codeString)) + return AnzscoOccupations._361000; + if ("361100".equals(codeString)) + return AnzscoOccupations._361100; + if ("361111".equals(codeString)) + return AnzscoOccupations._361111; + if ("361112".equals(codeString)) + return AnzscoOccupations._361112; + if ("361113".equals(codeString)) + return AnzscoOccupations._361113; + if ("361114".equals(codeString)) + return AnzscoOccupations._361114; + if ("361199".equals(codeString)) + return AnzscoOccupations._361199; + if ("361211".equals(codeString)) + return AnzscoOccupations._361211; + if ("361311".equals(codeString)) + return AnzscoOccupations._361311; + if ("362000".equals(codeString)) + return AnzscoOccupations._362000; + if ("362111".equals(codeString)) + return AnzscoOccupations._362111; + if ("362200".equals(codeString)) + return AnzscoOccupations._362200; + if ("362211".equals(codeString)) + return AnzscoOccupations._362211; + if ("362212".equals(codeString)) + return AnzscoOccupations._362212; + if ("362213".equals(codeString)) + return AnzscoOccupations._362213; + if ("362311".equals(codeString)) + return AnzscoOccupations._362311; + if ("362411".equals(codeString)) + return AnzscoOccupations._362411; + if ("390000".equals(codeString)) + return AnzscoOccupations._390000; + if ("391111".equals(codeString)) + return AnzscoOccupations._391111; + if ("392000".equals(codeString)) + return AnzscoOccupations._392000; + if ("392100".equals(codeString)) + return AnzscoOccupations._392100; + if ("392111".equals(codeString)) + return AnzscoOccupations._392111; + if ("392112".equals(codeString)) + return AnzscoOccupations._392112; + if ("392211".equals(codeString)) + return AnzscoOccupations._392211; + if ("392300".equals(codeString)) + return AnzscoOccupations._392300; + if ("392311".equals(codeString)) + return AnzscoOccupations._392311; + if ("392312".equals(codeString)) + return AnzscoOccupations._392312; + if ("393000".equals(codeString)) + return AnzscoOccupations._393000; + if ("393100".equals(codeString)) + return AnzscoOccupations._393100; + if ("393111".equals(codeString)) + return AnzscoOccupations._393111; + if ("393112".equals(codeString)) + return AnzscoOccupations._393112; + if ("393113".equals(codeString)) + return AnzscoOccupations._393113; + if ("393114".equals(codeString)) + return AnzscoOccupations._393114; + if ("393200".equals(codeString)) + return AnzscoOccupations._393200; + if ("393211".equals(codeString)) + return AnzscoOccupations._393211; + if ("393212".equals(codeString)) + return AnzscoOccupations._393212; + if ("393213".equals(codeString)) + return AnzscoOccupations._393213; + if ("393299".equals(codeString)) + return AnzscoOccupations._393299; + if ("393311".equals(codeString)) + return AnzscoOccupations._393311; + if ("394000".equals(codeString)) + return AnzscoOccupations._394000; + if ("394111".equals(codeString)) + return AnzscoOccupations._394111; + if ("394200".equals(codeString)) + return AnzscoOccupations._394200; + if ("394211".equals(codeString)) + return AnzscoOccupations._394211; + if ("394212".equals(codeString)) + return AnzscoOccupations._394212; + if ("394213".equals(codeString)) + return AnzscoOccupations._394213; + if ("394214".equals(codeString)) + return AnzscoOccupations._394214; + if ("394299".equals(codeString)) + return AnzscoOccupations._394299; + if ("399000".equals(codeString)) + return AnzscoOccupations._399000; + if ("399100".equals(codeString)) + return AnzscoOccupations._399100; + if ("399111".equals(codeString)) + return AnzscoOccupations._399111; + if ("399112".equals(codeString)) + return AnzscoOccupations._399112; + if ("399200".equals(codeString)) + return AnzscoOccupations._399200; + if ("399211".equals(codeString)) + return AnzscoOccupations._399211; + if ("399212".equals(codeString)) + return AnzscoOccupations._399212; + if ("399213".equals(codeString)) + return AnzscoOccupations._399213; + if ("399300".equals(codeString)) + return AnzscoOccupations._399300; + if ("399311".equals(codeString)) + return AnzscoOccupations._399311; + if ("399312".equals(codeString)) + return AnzscoOccupations._399312; + if ("399411".equals(codeString)) + return AnzscoOccupations._399411; + if ("399500".equals(codeString)) + return AnzscoOccupations._399500; + if ("399511".equals(codeString)) + return AnzscoOccupations._399511; + if ("399512".equals(codeString)) + return AnzscoOccupations._399512; + if ("399513".equals(codeString)) + return AnzscoOccupations._399513; + if ("399514".equals(codeString)) + return AnzscoOccupations._399514; + if ("399515".equals(codeString)) + return AnzscoOccupations._399515; + if ("399516".equals(codeString)) + return AnzscoOccupations._399516; + if ("399517".equals(codeString)) + return AnzscoOccupations._399517; + if ("399599".equals(codeString)) + return AnzscoOccupations._399599; + if ("399611".equals(codeString)) + return AnzscoOccupations._399611; + if ("399900".equals(codeString)) + return AnzscoOccupations._399900; + if ("399911".equals(codeString)) + return AnzscoOccupations._399911; + if ("399912".equals(codeString)) + return AnzscoOccupations._399912; + if ("399913".equals(codeString)) + return AnzscoOccupations._399913; + if ("399914".equals(codeString)) + return AnzscoOccupations._399914; + if ("399915".equals(codeString)) + return AnzscoOccupations._399915; + if ("399916".equals(codeString)) + return AnzscoOccupations._399916; + if ("399917".equals(codeString)) + return AnzscoOccupations._399917; + if ("399999".equals(codeString)) + return AnzscoOccupations._399999; + if ("400000".equals(codeString)) + return AnzscoOccupations._400000; + if ("411000".equals(codeString)) + return AnzscoOccupations._411000; + if ("411100".equals(codeString)) + return AnzscoOccupations._411100; + if ("411111".equals(codeString)) + return AnzscoOccupations._411111; + if ("411112".equals(codeString)) + return AnzscoOccupations._411112; + if ("411200".equals(codeString)) + return AnzscoOccupations._411200; + if ("411211".equals(codeString)) + return AnzscoOccupations._411211; + if ("411212".equals(codeString)) + return AnzscoOccupations._411212; + if ("411213".equals(codeString)) + return AnzscoOccupations._411213; + if ("411214".equals(codeString)) + return AnzscoOccupations._411214; + if ("411311".equals(codeString)) + return AnzscoOccupations._411311; + if ("411400".equals(codeString)) + return AnzscoOccupations._411400; + if ("411411".equals(codeString)) + return AnzscoOccupations._411411; + if ("411412".equals(codeString)) + return AnzscoOccupations._411412; + if ("411511".equals(codeString)) + return AnzscoOccupations._411511; + if ("411611".equals(codeString)) + return AnzscoOccupations._411611; + if ("411700".equals(codeString)) + return AnzscoOccupations._411700; + if ("411711".equals(codeString)) + return AnzscoOccupations._411711; + if ("411712".equals(codeString)) + return AnzscoOccupations._411712; + if ("411713".equals(codeString)) + return AnzscoOccupations._411713; + if ("411714".equals(codeString)) + return AnzscoOccupations._411714; + if ("411715".equals(codeString)) + return AnzscoOccupations._411715; + if ("411716".equals(codeString)) + return AnzscoOccupations._411716; + if ("420000".equals(codeString)) + return AnzscoOccupations._420000; + if ("421100".equals(codeString)) + return AnzscoOccupations._421100; + if ("421111".equals(codeString)) + return AnzscoOccupations._421111; + if ("421112".equals(codeString)) + return AnzscoOccupations._421112; + if ("421113".equals(codeString)) + return AnzscoOccupations._421113; + if ("421114".equals(codeString)) + return AnzscoOccupations._421114; + if ("422100".equals(codeString)) + return AnzscoOccupations._422100; + if ("422111".equals(codeString)) + return AnzscoOccupations._422111; + if ("422112".equals(codeString)) + return AnzscoOccupations._422112; + if ("422115".equals(codeString)) + return AnzscoOccupations._422115; + if ("422116".equals(codeString)) + return AnzscoOccupations._422116; + if ("423000".equals(codeString)) + return AnzscoOccupations._423000; + if ("423111".equals(codeString)) + return AnzscoOccupations._423111; + if ("423211".equals(codeString)) + return AnzscoOccupations._423211; + if ("423300".equals(codeString)) + return AnzscoOccupations._423300; + if ("423311".equals(codeString)) + return AnzscoOccupations._423311; + if ("423312".equals(codeString)) + return AnzscoOccupations._423312; + if ("423313".equals(codeString)) + return AnzscoOccupations._423313; + if ("423314".equals(codeString)) + return AnzscoOccupations._423314; + if ("423400".equals(codeString)) + return AnzscoOccupations._423400; + if ("423411".equals(codeString)) + return AnzscoOccupations._423411; + if ("423412".equals(codeString)) + return AnzscoOccupations._423412; + if ("423413".equals(codeString)) + return AnzscoOccupations._423413; + if ("431000".equals(codeString)) + return AnzscoOccupations._431000; + if ("431100".equals(codeString)) + return AnzscoOccupations._431100; + if ("431111".equals(codeString)) + return AnzscoOccupations._431111; + if ("431112".equals(codeString)) + return AnzscoOccupations._431112; + if ("431211".equals(codeString)) + return AnzscoOccupations._431211; + if ("431311".equals(codeString)) + return AnzscoOccupations._431311; + if ("431411".equals(codeString)) + return AnzscoOccupations._431411; + if ("431511".equals(codeString)) + return AnzscoOccupations._431511; + if ("431900".equals(codeString)) + return AnzscoOccupations._431900; + if ("431911".equals(codeString)) + return AnzscoOccupations._431911; + if ("431912".equals(codeString)) + return AnzscoOccupations._431912; + if ("431999".equals(codeString)) + return AnzscoOccupations._431999; + if ("440000".equals(codeString)) + return AnzscoOccupations._440000; + if ("441000".equals(codeString)) + return AnzscoOccupations._441000; + if ("441111".equals(codeString)) + return AnzscoOccupations._441111; + if ("441200".equals(codeString)) + return AnzscoOccupations._441200; + if ("441211".equals(codeString)) + return AnzscoOccupations._441211; + if ("441212".equals(codeString)) + return AnzscoOccupations._441212; + if ("441300".equals(codeString)) + return AnzscoOccupations._441300; + if ("441311".equals(codeString)) + return AnzscoOccupations._441311; + if ("441312".equals(codeString)) + return AnzscoOccupations._441312; + if ("442000".equals(codeString)) + return AnzscoOccupations._442000; + if ("442111".equals(codeString)) + return AnzscoOccupations._442111; + if ("442200".equals(codeString)) + return AnzscoOccupations._442200; + if ("442211".equals(codeString)) + return AnzscoOccupations._442211; + if ("442212".equals(codeString)) + return AnzscoOccupations._442212; + if ("442213".equals(codeString)) + return AnzscoOccupations._442213; + if ("442214".equals(codeString)) + return AnzscoOccupations._442214; + if ("442215".equals(codeString)) + return AnzscoOccupations._442215; + if ("442216".equals(codeString)) + return AnzscoOccupations._442216; + if ("442217".equals(codeString)) + return AnzscoOccupations._442217; + if ("442299".equals(codeString)) + return AnzscoOccupations._442299; + if ("450000".equals(codeString)) + return AnzscoOccupations._450000; + if ("451000".equals(codeString)) + return AnzscoOccupations._451000; + if ("451111".equals(codeString)) + return AnzscoOccupations._451111; + if ("451211".equals(codeString)) + return AnzscoOccupations._451211; + if ("451300".equals(codeString)) + return AnzscoOccupations._451300; + if ("451311".equals(codeString)) + return AnzscoOccupations._451311; + if ("451399".equals(codeString)) + return AnzscoOccupations._451399; + if ("451400".equals(codeString)) + return AnzscoOccupations._451400; + if ("451411".equals(codeString)) + return AnzscoOccupations._451411; + if ("451412".equals(codeString)) + return AnzscoOccupations._451412; + if ("451500".equals(codeString)) + return AnzscoOccupations._451500; + if ("451511".equals(codeString)) + return AnzscoOccupations._451511; + if ("451512".equals(codeString)) + return AnzscoOccupations._451512; + if ("451600".equals(codeString)) + return AnzscoOccupations._451600; + if ("451611".equals(codeString)) + return AnzscoOccupations._451611; + if ("451612".equals(codeString)) + return AnzscoOccupations._451612; + if ("451700".equals(codeString)) + return AnzscoOccupations._451700; + if ("451711".equals(codeString)) + return AnzscoOccupations._451711; + if ("451799".equals(codeString)) + return AnzscoOccupations._451799; + if ("451800".equals(codeString)) + return AnzscoOccupations._451800; + if ("451811".equals(codeString)) + return AnzscoOccupations._451811; + if ("451812".equals(codeString)) + return AnzscoOccupations._451812; + if ("451813".equals(codeString)) + return AnzscoOccupations._451813; + if ("451899".equals(codeString)) + return AnzscoOccupations._451899; + if ("452000".equals(codeString)) + return AnzscoOccupations._452000; + if ("452111".equals(codeString)) + return AnzscoOccupations._452111; + if ("452200".equals(codeString)) + return AnzscoOccupations._452200; + if ("452211".equals(codeString)) + return AnzscoOccupations._452211; + if ("452212".equals(codeString)) + return AnzscoOccupations._452212; + if ("452213".equals(codeString)) + return AnzscoOccupations._452213; + if ("452214".equals(codeString)) + return AnzscoOccupations._452214; + if ("452215".equals(codeString)) + return AnzscoOccupations._452215; + if ("452216".equals(codeString)) + return AnzscoOccupations._452216; + if ("452217".equals(codeString)) + return AnzscoOccupations._452217; + if ("452299".equals(codeString)) + return AnzscoOccupations._452299; + if ("452300".equals(codeString)) + return AnzscoOccupations._452300; + if ("452311".equals(codeString)) + return AnzscoOccupations._452311; + if ("452312".equals(codeString)) + return AnzscoOccupations._452312; + if ("452313".equals(codeString)) + return AnzscoOccupations._452313; + if ("452314".equals(codeString)) + return AnzscoOccupations._452314; + if ("452315".equals(codeString)) + return AnzscoOccupations._452315; + if ("452316".equals(codeString)) + return AnzscoOccupations._452316; + if ("452317".equals(codeString)) + return AnzscoOccupations._452317; + if ("452318".equals(codeString)) + return AnzscoOccupations._452318; + if ("452321".equals(codeString)) + return AnzscoOccupations._452321; + if ("452322".equals(codeString)) + return AnzscoOccupations._452322; + if ("452323".equals(codeString)) + return AnzscoOccupations._452323; + if ("452400".equals(codeString)) + return AnzscoOccupations._452400; + if ("452411".equals(codeString)) + return AnzscoOccupations._452411; + if ("452412".equals(codeString)) + return AnzscoOccupations._452412; + if ("452413".equals(codeString)) + return AnzscoOccupations._452413; + if ("452414".equals(codeString)) + return AnzscoOccupations._452414; + if ("452499".equals(codeString)) + return AnzscoOccupations._452499; + if ("500000".equals(codeString)) + return AnzscoOccupations._500000; + if ("510000".equals(codeString)) + return AnzscoOccupations._510000; + if ("511100".equals(codeString)) + return AnzscoOccupations._511100; + if ("511111".equals(codeString)) + return AnzscoOccupations._511111; + if ("511112".equals(codeString)) + return AnzscoOccupations._511112; + if ("512000".equals(codeString)) + return AnzscoOccupations._512000; + if ("512111".equals(codeString)) + return AnzscoOccupations._512111; + if ("512200".equals(codeString)) + return AnzscoOccupations._512200; + if ("512211".equals(codeString)) + return AnzscoOccupations._512211; + if ("512299".equals(codeString)) + return AnzscoOccupations._512299; + if ("521000".equals(codeString)) + return AnzscoOccupations._521000; + if ("521111".equals(codeString)) + return AnzscoOccupations._521111; + if ("521200".equals(codeString)) + return AnzscoOccupations._521200; + if ("521211".equals(codeString)) + return AnzscoOccupations._521211; + if ("521212".equals(codeString)) + return AnzscoOccupations._521212; + if ("530000".equals(codeString)) + return AnzscoOccupations._530000; + if ("531111".equals(codeString)) + return AnzscoOccupations._531111; + if ("532100".equals(codeString)) + return AnzscoOccupations._532100; + if ("532111".equals(codeString)) + return AnzscoOccupations._532111; + if ("532112".equals(codeString)) + return AnzscoOccupations._532112; + if ("532113".equals(codeString)) + return AnzscoOccupations._532113; + if ("540000".equals(codeString)) + return AnzscoOccupations._540000; + if ("541000".equals(codeString)) + return AnzscoOccupations._541000; + if ("541100".equals(codeString)) + return AnzscoOccupations._541100; + if ("541111".equals(codeString)) + return AnzscoOccupations._541111; + if ("541112".equals(codeString)) + return AnzscoOccupations._541112; + if ("541211".equals(codeString)) + return AnzscoOccupations._541211; + if ("542100".equals(codeString)) + return AnzscoOccupations._542100; + if ("542111".equals(codeString)) + return AnzscoOccupations._542111; + if ("542112".equals(codeString)) + return AnzscoOccupations._542112; + if ("542113".equals(codeString)) + return AnzscoOccupations._542113; + if ("542114".equals(codeString)) + return AnzscoOccupations._542114; + if ("550000".equals(codeString)) + return AnzscoOccupations._550000; + if ("551000".equals(codeString)) + return AnzscoOccupations._551000; + if ("551100".equals(codeString)) + return AnzscoOccupations._551100; + if ("551111".equals(codeString)) + return AnzscoOccupations._551111; + if ("551112".equals(codeString)) + return AnzscoOccupations._551112; + if ("551211".equals(codeString)) + return AnzscoOccupations._551211; + if ("551311".equals(codeString)) + return AnzscoOccupations._551311; + if ("552000".equals(codeString)) + return AnzscoOccupations._552000; + if ("552111".equals(codeString)) + return AnzscoOccupations._552111; + if ("552211".equals(codeString)) + return AnzscoOccupations._552211; + if ("552300".equals(codeString)) + return AnzscoOccupations._552300; + if ("552311".equals(codeString)) + return AnzscoOccupations._552311; + if ("552312".equals(codeString)) + return AnzscoOccupations._552312; + if ("552313".equals(codeString)) + return AnzscoOccupations._552313; + if ("552314".equals(codeString)) + return AnzscoOccupations._552314; + if ("561000".equals(codeString)) + return AnzscoOccupations._561000; + if ("561100".equals(codeString)) + return AnzscoOccupations._561100; + if ("561111".equals(codeString)) + return AnzscoOccupations._561111; + if ("561112".equals(codeString)) + return AnzscoOccupations._561112; + if ("561113".equals(codeString)) + return AnzscoOccupations._561113; + if ("561199".equals(codeString)) + return AnzscoOccupations._561199; + if ("561200".equals(codeString)) + return AnzscoOccupations._561200; + if ("561211".equals(codeString)) + return AnzscoOccupations._561211; + if ("561212".equals(codeString)) + return AnzscoOccupations._561212; + if ("561311".equals(codeString)) + return AnzscoOccupations._561311; + if ("561400".equals(codeString)) + return AnzscoOccupations._561400; + if ("561411".equals(codeString)) + return AnzscoOccupations._561411; + if ("561412".equals(codeString)) + return AnzscoOccupations._561412; + if ("561511".equals(codeString)) + return AnzscoOccupations._561511; + if ("561611".equals(codeString)) + return AnzscoOccupations._561611; + if ("561900".equals(codeString)) + return AnzscoOccupations._561900; + if ("561911".equals(codeString)) + return AnzscoOccupations._561911; + if ("561912".equals(codeString)) + return AnzscoOccupations._561912; + if ("561913".equals(codeString)) + return AnzscoOccupations._561913; + if ("561999".equals(codeString)) + return AnzscoOccupations._561999; + if ("590000".equals(codeString)) + return AnzscoOccupations._590000; + if ("591000".equals(codeString)) + return AnzscoOccupations._591000; + if ("591100".equals(codeString)) + return AnzscoOccupations._591100; + if ("591111".equals(codeString)) + return AnzscoOccupations._591111; + if ("591112".equals(codeString)) + return AnzscoOccupations._591112; + if ("591113".equals(codeString)) + return AnzscoOccupations._591113; + if ("591114".equals(codeString)) + return AnzscoOccupations._591114; + if ("591115".equals(codeString)) + return AnzscoOccupations._591115; + if ("591116".equals(codeString)) + return AnzscoOccupations._591116; + if ("591200".equals(codeString)) + return AnzscoOccupations._591200; + if ("591211".equals(codeString)) + return AnzscoOccupations._591211; + if ("591212".equals(codeString)) + return AnzscoOccupations._591212; + if ("599000".equals(codeString)) + return AnzscoOccupations._599000; + if ("599100".equals(codeString)) + return AnzscoOccupations._599100; + if ("599111".equals(codeString)) + return AnzscoOccupations._599111; + if ("599112".equals(codeString)) + return AnzscoOccupations._599112; + if ("599200".equals(codeString)) + return AnzscoOccupations._599200; + if ("599211".equals(codeString)) + return AnzscoOccupations._599211; + if ("599212".equals(codeString)) + return AnzscoOccupations._599212; + if ("599213".equals(codeString)) + return AnzscoOccupations._599213; + if ("599214".equals(codeString)) + return AnzscoOccupations._599214; + if ("599215".equals(codeString)) + return AnzscoOccupations._599215; + if ("599311".equals(codeString)) + return AnzscoOccupations._599311; + if ("599411".equals(codeString)) + return AnzscoOccupations._599411; + if ("599500".equals(codeString)) + return AnzscoOccupations._599500; + if ("599511".equals(codeString)) + return AnzscoOccupations._599511; + if ("599512".equals(codeString)) + return AnzscoOccupations._599512; + if ("599513".equals(codeString)) + return AnzscoOccupations._599513; + if ("599514".equals(codeString)) + return AnzscoOccupations._599514; + if ("599515".equals(codeString)) + return AnzscoOccupations._599515; + if ("599516".equals(codeString)) + return AnzscoOccupations._599516; + if ("599517".equals(codeString)) + return AnzscoOccupations._599517; + if ("599518".equals(codeString)) + return AnzscoOccupations._599518; + if ("599521".equals(codeString)) + return AnzscoOccupations._599521; + if ("599599".equals(codeString)) + return AnzscoOccupations._599599; + if ("599600".equals(codeString)) + return AnzscoOccupations._599600; + if ("599611".equals(codeString)) + return AnzscoOccupations._599611; + if ("599612".equals(codeString)) + return AnzscoOccupations._599612; + if ("599613".equals(codeString)) + return AnzscoOccupations._599613; + if ("599711".equals(codeString)) + return AnzscoOccupations._599711; + if ("599900".equals(codeString)) + return AnzscoOccupations._599900; + if ("599911".equals(codeString)) + return AnzscoOccupations._599911; + if ("599912".equals(codeString)) + return AnzscoOccupations._599912; + if ("599913".equals(codeString)) + return AnzscoOccupations._599913; + if ("599914".equals(codeString)) + return AnzscoOccupations._599914; + if ("599999".equals(codeString)) + return AnzscoOccupations._599999; + if ("600000".equals(codeString)) + return AnzscoOccupations._600000; + if ("610000".equals(codeString)) + return AnzscoOccupations._610000; + if ("611000".equals(codeString)) + return AnzscoOccupations._611000; + if ("611100".equals(codeString)) + return AnzscoOccupations._611100; + if ("611111".equals(codeString)) + return AnzscoOccupations._611111; + if ("611112".equals(codeString)) + return AnzscoOccupations._611112; + if ("611211".equals(codeString)) + return AnzscoOccupations._611211; + if ("611300".equals(codeString)) + return AnzscoOccupations._611300; + if ("611311".equals(codeString)) + return AnzscoOccupations._611311; + if ("611312".equals(codeString)) + return AnzscoOccupations._611312; + if ("611313".equals(codeString)) + return AnzscoOccupations._611313; + if ("611314".equals(codeString)) + return AnzscoOccupations._611314; + if ("611399".equals(codeString)) + return AnzscoOccupations._611399; + if ("612100".equals(codeString)) + return AnzscoOccupations._612100; + if ("612111".equals(codeString)) + return AnzscoOccupations._612111; + if ("612112".equals(codeString)) + return AnzscoOccupations._612112; + if ("612113".equals(codeString)) + return AnzscoOccupations._612113; + if ("612114".equals(codeString)) + return AnzscoOccupations._612114; + if ("612115".equals(codeString)) + return AnzscoOccupations._612115; + if ("621000".equals(codeString)) + return AnzscoOccupations._621000; + if ("621111".equals(codeString)) + return AnzscoOccupations._621111; + if ("621211".equals(codeString)) + return AnzscoOccupations._621211; + if ("621300".equals(codeString)) + return AnzscoOccupations._621300; + if ("621311".equals(codeString)) + return AnzscoOccupations._621311; + if ("621312".equals(codeString)) + return AnzscoOccupations._621312; + if ("621411".equals(codeString)) + return AnzscoOccupations._621411; + if ("621511".equals(codeString)) + return AnzscoOccupations._621511; + if ("621611".equals(codeString)) + return AnzscoOccupations._621611; + if ("621700".equals(codeString)) + return AnzscoOccupations._621700; + if ("621711".equals(codeString)) + return AnzscoOccupations._621711; + if ("621712".equals(codeString)) + return AnzscoOccupations._621712; + if ("621713".equals(codeString)) + return AnzscoOccupations._621713; + if ("621900".equals(codeString)) + return AnzscoOccupations._621900; + if ("621911".equals(codeString)) + return AnzscoOccupations._621911; + if ("621912".equals(codeString)) + return AnzscoOccupations._621912; + if ("621999".equals(codeString)) + return AnzscoOccupations._621999; + if ("630000".equals(codeString)) + return AnzscoOccupations._630000; + if ("631100".equals(codeString)) + return AnzscoOccupations._631100; + if ("631111".equals(codeString)) + return AnzscoOccupations._631111; + if ("631112".equals(codeString)) + return AnzscoOccupations._631112; + if ("639000".equals(codeString)) + return AnzscoOccupations._639000; + if ("639100".equals(codeString)) + return AnzscoOccupations._639100; + if ("639111".equals(codeString)) + return AnzscoOccupations._639111; + if ("639112".equals(codeString)) + return AnzscoOccupations._639112; + if ("639200".equals(codeString)) + return AnzscoOccupations._639200; + if ("639211".equals(codeString)) + return AnzscoOccupations._639211; + if ("639212".equals(codeString)) + return AnzscoOccupations._639212; + if ("639311".equals(codeString)) + return AnzscoOccupations._639311; + if ("639400".equals(codeString)) + return AnzscoOccupations._639400; + if ("639411".equals(codeString)) + return AnzscoOccupations._639411; + if ("639412".equals(codeString)) + return AnzscoOccupations._639412; + if ("639511".equals(codeString)) + return AnzscoOccupations._639511; + if ("639911".equals(codeString)) + return AnzscoOccupations._639911; + if ("700000".equals(codeString)) + return AnzscoOccupations._700000; + if ("710000".equals(codeString)) + return AnzscoOccupations._710000; + if ("711000".equals(codeString)) + return AnzscoOccupations._711000; + if ("711100".equals(codeString)) + return AnzscoOccupations._711100; + if ("711111".equals(codeString)) + return AnzscoOccupations._711111; + if ("711112".equals(codeString)) + return AnzscoOccupations._711112; + if ("711113".equals(codeString)) + return AnzscoOccupations._711113; + if ("711114".equals(codeString)) + return AnzscoOccupations._711114; + if ("711199".equals(codeString)) + return AnzscoOccupations._711199; + if ("711211".equals(codeString)) + return AnzscoOccupations._711211; + if ("711300".equals(codeString)) + return AnzscoOccupations._711300; + if ("711311".equals(codeString)) + return AnzscoOccupations._711311; + if ("711312".equals(codeString)) + return AnzscoOccupations._711312; + if ("711411".equals(codeString)) + return AnzscoOccupations._711411; + if ("711500".equals(codeString)) + return AnzscoOccupations._711500; + if ("711511".equals(codeString)) + return AnzscoOccupations._711511; + if ("711512".equals(codeString)) + return AnzscoOccupations._711512; + if ("711513".equals(codeString)) + return AnzscoOccupations._711513; + if ("711514".equals(codeString)) + return AnzscoOccupations._711514; + if ("711515".equals(codeString)) + return AnzscoOccupations._711515; + if ("711516".equals(codeString)) + return AnzscoOccupations._711516; + if ("711599".equals(codeString)) + return AnzscoOccupations._711599; + if ("711611".equals(codeString)) + return AnzscoOccupations._711611; + if ("711700".equals(codeString)) + return AnzscoOccupations._711700; + if ("711711".equals(codeString)) + return AnzscoOccupations._711711; + if ("711712".equals(codeString)) + return AnzscoOccupations._711712; + if ("711713".equals(codeString)) + return AnzscoOccupations._711713; + if ("711714".equals(codeString)) + return AnzscoOccupations._711714; + if ("711715".equals(codeString)) + return AnzscoOccupations._711715; + if ("711716".equals(codeString)) + return AnzscoOccupations._711716; + if ("711799".equals(codeString)) + return AnzscoOccupations._711799; + if ("711900".equals(codeString)) + return AnzscoOccupations._711900; + if ("711911".equals(codeString)) + return AnzscoOccupations._711911; + if ("711912".equals(codeString)) + return AnzscoOccupations._711912; + if ("711913".equals(codeString)) + return AnzscoOccupations._711913; + if ("711914".equals(codeString)) + return AnzscoOccupations._711914; + if ("711999".equals(codeString)) + return AnzscoOccupations._711999; + if ("712000".equals(codeString)) + return AnzscoOccupations._712000; + if ("712111".equals(codeString)) + return AnzscoOccupations._712111; + if ("712200".equals(codeString)) + return AnzscoOccupations._712200; + if ("712211".equals(codeString)) + return AnzscoOccupations._712211; + if ("712212".equals(codeString)) + return AnzscoOccupations._712212; + if ("712213".equals(codeString)) + return AnzscoOccupations._712213; + if ("712311".equals(codeString)) + return AnzscoOccupations._712311; + if ("712900".equals(codeString)) + return AnzscoOccupations._712900; + if ("712911".equals(codeString)) + return AnzscoOccupations._712911; + if ("712912".equals(codeString)) + return AnzscoOccupations._712912; + if ("712913".equals(codeString)) + return AnzscoOccupations._712913; + if ("712914".equals(codeString)) + return AnzscoOccupations._712914; + if ("712915".equals(codeString)) + return AnzscoOccupations._712915; + if ("712916".equals(codeString)) + return AnzscoOccupations._712916; + if ("712917".equals(codeString)) + return AnzscoOccupations._712917; + if ("712918".equals(codeString)) + return AnzscoOccupations._712918; + if ("712921".equals(codeString)) + return AnzscoOccupations._712921; + if ("712922".equals(codeString)) + return AnzscoOccupations._712922; + if ("712999".equals(codeString)) + return AnzscoOccupations._712999; + if ("721000".equals(codeString)) + return AnzscoOccupations._721000; + if ("721100".equals(codeString)) + return AnzscoOccupations._721100; + if ("721111".equals(codeString)) + return AnzscoOccupations._721111; + if ("721112".equals(codeString)) + return AnzscoOccupations._721112; + if ("721200".equals(codeString)) + return AnzscoOccupations._721200; + if ("721211".equals(codeString)) + return AnzscoOccupations._721211; + if ("721212".equals(codeString)) + return AnzscoOccupations._721212; + if ("721213".equals(codeString)) + return AnzscoOccupations._721213; + if ("721214".equals(codeString)) + return AnzscoOccupations._721214; + if ("721215".equals(codeString)) + return AnzscoOccupations._721215; + if ("721216".equals(codeString)) + return AnzscoOccupations._721216; + if ("721311".equals(codeString)) + return AnzscoOccupations._721311; + if ("721900".equals(codeString)) + return AnzscoOccupations._721900; + if ("721911".equals(codeString)) + return AnzscoOccupations._721911; + if ("721912".equals(codeString)) + return AnzscoOccupations._721912; + if ("721913".equals(codeString)) + return AnzscoOccupations._721913; + if ("721914".equals(codeString)) + return AnzscoOccupations._721914; + if ("721915".equals(codeString)) + return AnzscoOccupations._721915; + if ("721916".equals(codeString)) + return AnzscoOccupations._721916; + if ("721999".equals(codeString)) + return AnzscoOccupations._721999; + if ("730000".equals(codeString)) + return AnzscoOccupations._730000; + if ("731000".equals(codeString)) + return AnzscoOccupations._731000; + if ("731100".equals(codeString)) + return AnzscoOccupations._731100; + if ("731111".equals(codeString)) + return AnzscoOccupations._731111; + if ("731112".equals(codeString)) + return AnzscoOccupations._731112; + if ("731199".equals(codeString)) + return AnzscoOccupations._731199; + if ("731200".equals(codeString)) + return AnzscoOccupations._731200; + if ("731211".equals(codeString)) + return AnzscoOccupations._731211; + if ("731212".equals(codeString)) + return AnzscoOccupations._731212; + if ("731213".equals(codeString)) + return AnzscoOccupations._731213; + if ("731300".equals(codeString)) + return AnzscoOccupations._731300; + if ("731311".equals(codeString)) + return AnzscoOccupations._731311; + if ("731312".equals(codeString)) + return AnzscoOccupations._731312; + if ("732111".equals(codeString)) + return AnzscoOccupations._732111; + if ("733100".equals(codeString)) + return AnzscoOccupations._733100; + if ("733111".equals(codeString)) + return AnzscoOccupations._733111; + if ("733112".equals(codeString)) + return AnzscoOccupations._733112; + if ("733113".equals(codeString)) + return AnzscoOccupations._733113; + if ("733114".equals(codeString)) + return AnzscoOccupations._733114; + if ("733115".equals(codeString)) + return AnzscoOccupations._733115; + if ("741111".equals(codeString)) + return AnzscoOccupations._741111; + if ("800000".equals(codeString)) + return AnzscoOccupations._800000; + if ("811000".equals(codeString)) + return AnzscoOccupations._811000; + if ("811111".equals(codeString)) + return AnzscoOccupations._811111; + if ("811211".equals(codeString)) + return AnzscoOccupations._811211; + if ("811311".equals(codeString)) + return AnzscoOccupations._811311; + if ("811400".equals(codeString)) + return AnzscoOccupations._811400; + if ("811411".equals(codeString)) + return AnzscoOccupations._811411; + if ("811412".equals(codeString)) + return AnzscoOccupations._811412; + if ("811500".equals(codeString)) + return AnzscoOccupations._811500; + if ("811511".equals(codeString)) + return AnzscoOccupations._811511; + if ("811512".equals(codeString)) + return AnzscoOccupations._811512; + if ("811513".equals(codeString)) + return AnzscoOccupations._811513; + if ("811600".equals(codeString)) + return AnzscoOccupations._811600; + if ("811611".equals(codeString)) + return AnzscoOccupations._811611; + if ("811612".equals(codeString)) + return AnzscoOccupations._811612; + if ("811699".equals(codeString)) + return AnzscoOccupations._811699; + if ("821000".equals(codeString)) + return AnzscoOccupations._821000; + if ("821100".equals(codeString)) + return AnzscoOccupations._821100; + if ("821111".equals(codeString)) + return AnzscoOccupations._821111; + if ("821112".equals(codeString)) + return AnzscoOccupations._821112; + if ("821113".equals(codeString)) + return AnzscoOccupations._821113; + if ("821114".equals(codeString)) + return AnzscoOccupations._821114; + if ("821211".equals(codeString)) + return AnzscoOccupations._821211; + if ("821311".equals(codeString)) + return AnzscoOccupations._821311; + if ("821400".equals(codeString)) + return AnzscoOccupations._821400; + if ("821411".equals(codeString)) + return AnzscoOccupations._821411; + if ("821412".equals(codeString)) + return AnzscoOccupations._821412; + if ("821511".equals(codeString)) + return AnzscoOccupations._821511; + if ("821611".equals(codeString)) + return AnzscoOccupations._821611; + if ("821700".equals(codeString)) + return AnzscoOccupations._821700; + if ("821711".equals(codeString)) + return AnzscoOccupations._821711; + if ("821712".equals(codeString)) + return AnzscoOccupations._821712; + if ("821713".equals(codeString)) + return AnzscoOccupations._821713; + if ("821714".equals(codeString)) + return AnzscoOccupations._821714; + if ("821900".equals(codeString)) + return AnzscoOccupations._821900; + if ("821911".equals(codeString)) + return AnzscoOccupations._821911; + if ("821912".equals(codeString)) + return AnzscoOccupations._821912; + if ("821913".equals(codeString)) + return AnzscoOccupations._821913; + if ("821914".equals(codeString)) + return AnzscoOccupations._821914; + if ("821915".equals(codeString)) + return AnzscoOccupations._821915; + if ("830000".equals(codeString)) + return AnzscoOccupations._830000; + if ("831000".equals(codeString)) + return AnzscoOccupations._831000; + if ("831100".equals(codeString)) + return AnzscoOccupations._831100; + if ("831111".equals(codeString)) + return AnzscoOccupations._831111; + if ("831112".equals(codeString)) + return AnzscoOccupations._831112; + if ("831113".equals(codeString)) + return AnzscoOccupations._831113; + if ("831114".equals(codeString)) + return AnzscoOccupations._831114; + if ("831115".equals(codeString)) + return AnzscoOccupations._831115; + if ("831116".equals(codeString)) + return AnzscoOccupations._831116; + if ("831117".equals(codeString)) + return AnzscoOccupations._831117; + if ("831118".equals(codeString)) + return AnzscoOccupations._831118; + if ("831199".equals(codeString)) + return AnzscoOccupations._831199; + if ("831200".equals(codeString)) + return AnzscoOccupations._831200; + if ("831211".equals(codeString)) + return AnzscoOccupations._831211; + if ("831212".equals(codeString)) + return AnzscoOccupations._831212; + if ("831300".equals(codeString)) + return AnzscoOccupations._831300; + if ("831311".equals(codeString)) + return AnzscoOccupations._831311; + if ("831312".equals(codeString)) + return AnzscoOccupations._831312; + if ("831313".equals(codeString)) + return AnzscoOccupations._831313; + if ("832000".equals(codeString)) + return AnzscoOccupations._832000; + if ("832100".equals(codeString)) + return AnzscoOccupations._832100; + if ("832111".equals(codeString)) + return AnzscoOccupations._832111; + if ("832112".equals(codeString)) + return AnzscoOccupations._832112; + if ("832113".equals(codeString)) + return AnzscoOccupations._832113; + if ("832114".equals(codeString)) + return AnzscoOccupations._832114; + if ("832115".equals(codeString)) + return AnzscoOccupations._832115; + if ("832199".equals(codeString)) + return AnzscoOccupations._832199; + if ("832211".equals(codeString)) + return AnzscoOccupations._832211; + if ("839000".equals(codeString)) + return AnzscoOccupations._839000; + if ("839111".equals(codeString)) + return AnzscoOccupations._839111; + if ("839200".equals(codeString)) + return AnzscoOccupations._839200; + if ("839211".equals(codeString)) + return AnzscoOccupations._839211; + if ("839212".equals(codeString)) + return AnzscoOccupations._839212; + if ("839300".equals(codeString)) + return AnzscoOccupations._839300; + if ("839311".equals(codeString)) + return AnzscoOccupations._839311; + if ("839312".equals(codeString)) + return AnzscoOccupations._839312; + if ("839313".equals(codeString)) + return AnzscoOccupations._839313; + if ("839400".equals(codeString)) + return AnzscoOccupations._839400; + if ("839411".equals(codeString)) + return AnzscoOccupations._839411; + if ("839412".equals(codeString)) + return AnzscoOccupations._839412; + if ("839413".equals(codeString)) + return AnzscoOccupations._839413; + if ("839900".equals(codeString)) + return AnzscoOccupations._839900; + if ("839911".equals(codeString)) + return AnzscoOccupations._839911; + if ("839912".equals(codeString)) + return AnzscoOccupations._839912; + if ("839913".equals(codeString)) + return AnzscoOccupations._839913; + if ("839914".equals(codeString)) + return AnzscoOccupations._839914; + if ("839915".equals(codeString)) + return AnzscoOccupations._839915; + if ("839916".equals(codeString)) + return AnzscoOccupations._839916; + if ("839917".equals(codeString)) + return AnzscoOccupations._839917; + if ("839999".equals(codeString)) + return AnzscoOccupations._839999; + if ("841000".equals(codeString)) + return AnzscoOccupations._841000; + if ("841111".equals(codeString)) + return AnzscoOccupations._841111; + if ("841200".equals(codeString)) + return AnzscoOccupations._841200; + if ("841211".equals(codeString)) + return AnzscoOccupations._841211; + if ("841212".equals(codeString)) + return AnzscoOccupations._841212; + if ("841213".equals(codeString)) + return AnzscoOccupations._841213; + if ("841214".equals(codeString)) + return AnzscoOccupations._841214; + if ("841215".equals(codeString)) + return AnzscoOccupations._841215; + if ("841216".equals(codeString)) + return AnzscoOccupations._841216; + if ("841299".equals(codeString)) + return AnzscoOccupations._841299; + if ("841300".equals(codeString)) + return AnzscoOccupations._841300; + if ("841311".equals(codeString)) + return AnzscoOccupations._841311; + if ("841312".equals(codeString)) + return AnzscoOccupations._841312; + if ("841313".equals(codeString)) + return AnzscoOccupations._841313; + if ("841400".equals(codeString)) + return AnzscoOccupations._841400; + if ("841411".equals(codeString)) + return AnzscoOccupations._841411; + if ("841412".equals(codeString)) + return AnzscoOccupations._841412; + if ("841500".equals(codeString)) + return AnzscoOccupations._841500; + if ("841511".equals(codeString)) + return AnzscoOccupations._841511; + if ("841512".equals(codeString)) + return AnzscoOccupations._841512; + if ("841513".equals(codeString)) + return AnzscoOccupations._841513; + if ("841514".equals(codeString)) + return AnzscoOccupations._841514; + if ("841515".equals(codeString)) + return AnzscoOccupations._841515; + if ("841516".equals(codeString)) + return AnzscoOccupations._841516; + if ("841517".equals(codeString)) + return AnzscoOccupations._841517; + if ("841599".equals(codeString)) + return AnzscoOccupations._841599; + if ("841611".equals(codeString)) + return AnzscoOccupations._841611; + if ("841900".equals(codeString)) + return AnzscoOccupations._841900; + if ("841911".equals(codeString)) + return AnzscoOccupations._841911; + if ("841912".equals(codeString)) + return AnzscoOccupations._841912; + if ("841999".equals(codeString)) + return AnzscoOccupations._841999; + if ("851000".equals(codeString)) + return AnzscoOccupations._851000; + if ("851111".equals(codeString)) + return AnzscoOccupations._851111; + if ("851200".equals(codeString)) + return AnzscoOccupations._851200; + if ("851211".equals(codeString)) + return AnzscoOccupations._851211; + if ("851299".equals(codeString)) + return AnzscoOccupations._851299; + if ("851311".equals(codeString)) + return AnzscoOccupations._851311; + if ("890000".equals(codeString)) + return AnzscoOccupations._890000; + if ("891000".equals(codeString)) + return AnzscoOccupations._891000; + if ("891100".equals(codeString)) + return AnzscoOccupations._891100; + if ("891111".equals(codeString)) + return AnzscoOccupations._891111; + if ("891112".equals(codeString)) + return AnzscoOccupations._891112; + if ("891113".equals(codeString)) + return AnzscoOccupations._891113; + if ("891211".equals(codeString)) + return AnzscoOccupations._891211; + if ("899000".equals(codeString)) + return AnzscoOccupations._899000; + if ("899111".equals(codeString)) + return AnzscoOccupations._899111; + if ("899200".equals(codeString)) + return AnzscoOccupations._899200; + if ("899211".equals(codeString)) + return AnzscoOccupations._899211; + if ("899212".equals(codeString)) + return AnzscoOccupations._899212; + if ("899311".equals(codeString)) + return AnzscoOccupations._899311; + if ("899400".equals(codeString)) + return AnzscoOccupations._899400; + if ("899411".equals(codeString)) + return AnzscoOccupations._899411; + if ("899412".equals(codeString)) + return AnzscoOccupations._899412; + if ("899413".equals(codeString)) + return AnzscoOccupations._899413; + if ("899414".equals(codeString)) + return AnzscoOccupations._899414; + if ("899415".equals(codeString)) + return AnzscoOccupations._899415; + if ("899500".equals(codeString)) + return AnzscoOccupations._899500; + if ("899511".equals(codeString)) + return AnzscoOccupations._899511; + if ("899512".equals(codeString)) + return AnzscoOccupations._899512; + if ("899611".equals(codeString)) + return AnzscoOccupations._899611; + if ("899711".equals(codeString)) + return AnzscoOccupations._899711; + if ("899900".equals(codeString)) + return AnzscoOccupations._899900; + if ("899911".equals(codeString)) + return AnzscoOccupations._899911; + if ("899912".equals(codeString)) + return AnzscoOccupations._899912; + if ("899913".equals(codeString)) + return AnzscoOccupations._899913; + if ("899914".equals(codeString)) + return AnzscoOccupations._899914; + if ("899915".equals(codeString)) + return AnzscoOccupations._899915; + if ("899916".equals(codeString)) + return AnzscoOccupations._899916; + if ("899917".equals(codeString)) + return AnzscoOccupations._899917; + if ("899918".equals(codeString)) + return AnzscoOccupations._899918; + if ("899921".equals(codeString)) + return AnzscoOccupations._899921; + if ("899922".equals(codeString)) + return AnzscoOccupations._899922; + if ("899999".equals(codeString)) + return AnzscoOccupations._899999; + throw new IllegalArgumentException("Unknown AnzscoOccupations code '"+codeString+"'"); + } + + public String toCode(AnzscoOccupations code) { + if (code == AnzscoOccupations._100000) + return "100000"; + if (code == AnzscoOccupations._111000) + return "111000"; + if (code == AnzscoOccupations._111111) + return "111111"; + if (code == AnzscoOccupations._111200) + return "111200"; + if (code == AnzscoOccupations._111211) + return "111211"; + if (code == AnzscoOccupations._111212) + return "111212"; + if (code == AnzscoOccupations._111300) + return "111300"; + if (code == AnzscoOccupations._111311) + return "111311"; + if (code == AnzscoOccupations._111312) + return "111312"; + if (code == AnzscoOccupations._111399) + return "111399"; + if (code == AnzscoOccupations._121000) + return "121000"; + if (code == AnzscoOccupations._121111) + return "121111"; + if (code == AnzscoOccupations._121200) + return "121200"; + if (code == AnzscoOccupations._121211) + return "121211"; + if (code == AnzscoOccupations._121212) + return "121212"; + if (code == AnzscoOccupations._121213) + return "121213"; + if (code == AnzscoOccupations._121214) + return "121214"; + if (code == AnzscoOccupations._121215) + return "121215"; + if (code == AnzscoOccupations._121216) + return "121216"; + if (code == AnzscoOccupations._121217) + return "121217"; + if (code == AnzscoOccupations._121218) + return "121218"; + if (code == AnzscoOccupations._121221) + return "121221"; + if (code == AnzscoOccupations._121299) + return "121299"; + if (code == AnzscoOccupations._121300) + return "121300"; + if (code == AnzscoOccupations._121311) + return "121311"; + if (code == AnzscoOccupations._121312) + return "121312"; + if (code == AnzscoOccupations._121313) + return "121313"; + if (code == AnzscoOccupations._121314) + return "121314"; + if (code == AnzscoOccupations._121315) + return "121315"; + if (code == AnzscoOccupations._121316) + return "121316"; + if (code == AnzscoOccupations._121317) + return "121317"; + if (code == AnzscoOccupations._121318) + return "121318"; + if (code == AnzscoOccupations._121321) + return "121321"; + if (code == AnzscoOccupations._121322) + return "121322"; + if (code == AnzscoOccupations._121399) + return "121399"; + if (code == AnzscoOccupations._121411) + return "121411"; + if (code == AnzscoOccupations._130000) + return "130000"; + if (code == AnzscoOccupations._131100) + return "131100"; + if (code == AnzscoOccupations._131111) + return "131111"; + if (code == AnzscoOccupations._131112) + return "131112"; + if (code == AnzscoOccupations._132000) + return "132000"; + if (code == AnzscoOccupations._132111) + return "132111"; + if (code == AnzscoOccupations._132211) + return "132211"; + if (code == AnzscoOccupations._132311) + return "132311"; + if (code == AnzscoOccupations._132411) + return "132411"; + if (code == AnzscoOccupations._132511) + return "132511"; + if (code == AnzscoOccupations._133000) + return "133000"; + if (code == AnzscoOccupations._133100) + return "133100"; + if (code == AnzscoOccupations._133111) + return "133111"; + if (code == AnzscoOccupations._133112) + return "133112"; + if (code == AnzscoOccupations._133211) + return "133211"; + if (code == AnzscoOccupations._133300) + return "133300"; + if (code == AnzscoOccupations._133311) + return "133311"; + if (code == AnzscoOccupations._133312) + return "133312"; + if (code == AnzscoOccupations._133411) + return "133411"; + if (code == AnzscoOccupations._133500) + return "133500"; + if (code == AnzscoOccupations._133511) + return "133511"; + if (code == AnzscoOccupations._133512) + return "133512"; + if (code == AnzscoOccupations._133513) + return "133513"; + if (code == AnzscoOccupations._133611) + return "133611"; + if (code == AnzscoOccupations._134000) + return "134000"; + if (code == AnzscoOccupations._134111) + return "134111"; + if (code == AnzscoOccupations._134200) + return "134200"; + if (code == AnzscoOccupations._134211) + return "134211"; + if (code == AnzscoOccupations._134212) + return "134212"; + if (code == AnzscoOccupations._134213) + return "134213"; + if (code == AnzscoOccupations._134214) + return "134214"; + if (code == AnzscoOccupations._134299) + return "134299"; + if (code == AnzscoOccupations._134311) + return "134311"; + if (code == AnzscoOccupations._134400) + return "134400"; + if (code == AnzscoOccupations._134411) + return "134411"; + if (code == AnzscoOccupations._134412) + return "134412"; + if (code == AnzscoOccupations._134499) + return "134499"; + if (code == AnzscoOccupations._135100) + return "135100"; + if (code == AnzscoOccupations._135111) + return "135111"; + if (code == AnzscoOccupations._135112) + return "135112"; + if (code == AnzscoOccupations._135199) + return "135199"; + if (code == AnzscoOccupations._139000) + return "139000"; + if (code == AnzscoOccupations._139100) + return "139100"; + if (code == AnzscoOccupations._139111) + return "139111"; + if (code == AnzscoOccupations._139112) + return "139112"; + if (code == AnzscoOccupations._139113) + return "139113"; + if (code == AnzscoOccupations._139211) + return "139211"; + if (code == AnzscoOccupations._139900) + return "139900"; + if (code == AnzscoOccupations._139911) + return "139911"; + if (code == AnzscoOccupations._139912) + return "139912"; + if (code == AnzscoOccupations._139913) + return "139913"; + if (code == AnzscoOccupations._139914) + return "139914"; + if (code == AnzscoOccupations._139915) + return "139915"; + if (code == AnzscoOccupations._139999) + return "139999"; + if (code == AnzscoOccupations._140000) + return "140000"; + if (code == AnzscoOccupations._141000) + return "141000"; + if (code == AnzscoOccupations._141111) + return "141111"; + if (code == AnzscoOccupations._141211) + return "141211"; + if (code == AnzscoOccupations._141311) + return "141311"; + if (code == AnzscoOccupations._141411) + return "141411"; + if (code == AnzscoOccupations._141900) + return "141900"; + if (code == AnzscoOccupations._141911) + return "141911"; + if (code == AnzscoOccupations._141999) + return "141999"; + if (code == AnzscoOccupations._142100) + return "142100"; + if (code == AnzscoOccupations._142111) + return "142111"; + if (code == AnzscoOccupations._142112) + return "142112"; + if (code == AnzscoOccupations._142113) + return "142113"; + if (code == AnzscoOccupations._142114) + return "142114"; + if (code == AnzscoOccupations._142115) + return "142115"; + if (code == AnzscoOccupations._142116) + return "142116"; + if (code == AnzscoOccupations._149000) + return "149000"; + if (code == AnzscoOccupations._149100) + return "149100"; + if (code == AnzscoOccupations._149111) + return "149111"; + if (code == AnzscoOccupations._149112) + return "149112"; + if (code == AnzscoOccupations._149113) + return "149113"; + if (code == AnzscoOccupations._149200) + return "149200"; + if (code == AnzscoOccupations._149211) + return "149211"; + if (code == AnzscoOccupations._149212) + return "149212"; + if (code == AnzscoOccupations._149311) + return "149311"; + if (code == AnzscoOccupations._149400) + return "149400"; + if (code == AnzscoOccupations._149411) + return "149411"; + if (code == AnzscoOccupations._149412) + return "149412"; + if (code == AnzscoOccupations._149413) + return "149413"; + if (code == AnzscoOccupations._149900) + return "149900"; + if (code == AnzscoOccupations._149911) + return "149911"; + if (code == AnzscoOccupations._149912) + return "149912"; + if (code == AnzscoOccupations._149913) + return "149913"; + if (code == AnzscoOccupations._149914) + return "149914"; + if (code == AnzscoOccupations._149999) + return "149999"; + if (code == AnzscoOccupations._200000) + return "200000"; + if (code == AnzscoOccupations._210000) + return "210000"; + if (code == AnzscoOccupations._211000) + return "211000"; + if (code == AnzscoOccupations._211100) + return "211100"; + if (code == AnzscoOccupations._211111) + return "211111"; + if (code == AnzscoOccupations._211112) + return "211112"; + if (code == AnzscoOccupations._211113) + return "211113"; + if (code == AnzscoOccupations._211199) + return "211199"; + if (code == AnzscoOccupations._211200) + return "211200"; + if (code == AnzscoOccupations._211211) + return "211211"; + if (code == AnzscoOccupations._211212) + return "211212"; + if (code == AnzscoOccupations._211213) + return "211213"; + if (code == AnzscoOccupations._211214) + return "211214"; + if (code == AnzscoOccupations._211299) + return "211299"; + if (code == AnzscoOccupations._211311) + return "211311"; + if (code == AnzscoOccupations._211400) + return "211400"; + if (code == AnzscoOccupations._211411) + return "211411"; + if (code == AnzscoOccupations._211412) + return "211412"; + if (code == AnzscoOccupations._211413) + return "211413"; + if (code == AnzscoOccupations._211499) + return "211499"; + if (code == AnzscoOccupations._212000) + return "212000"; + if (code == AnzscoOccupations._212100) + return "212100"; + if (code == AnzscoOccupations._212111) + return "212111"; + if (code == AnzscoOccupations._212112) + return "212112"; + if (code == AnzscoOccupations._212113) + return "212113"; + if (code == AnzscoOccupations._212114) + return "212114"; + if (code == AnzscoOccupations._212200) + return "212200"; + if (code == AnzscoOccupations._212211) + return "212211"; + if (code == AnzscoOccupations._212212) + return "212212"; + if (code == AnzscoOccupations._212300) + return "212300"; + if (code == AnzscoOccupations._212311) + return "212311"; + if (code == AnzscoOccupations._212312) + return "212312"; + if (code == AnzscoOccupations._212313) + return "212313"; + if (code == AnzscoOccupations._212314) + return "212314"; + if (code == AnzscoOccupations._212315) + return "212315"; + if (code == AnzscoOccupations._212316) + return "212316"; + if (code == AnzscoOccupations._212317) + return "212317"; + if (code == AnzscoOccupations._212318) + return "212318"; + if (code == AnzscoOccupations._212399) + return "212399"; + if (code == AnzscoOccupations._212400) + return "212400"; + if (code == AnzscoOccupations._212411) + return "212411"; + if (code == AnzscoOccupations._212412) + return "212412"; + if (code == AnzscoOccupations._212413) + return "212413"; + if (code == AnzscoOccupations._212414) + return "212414"; + if (code == AnzscoOccupations._212415) + return "212415"; + if (code == AnzscoOccupations._212416) + return "212416"; + if (code == AnzscoOccupations._212499) + return "212499"; + if (code == AnzscoOccupations._220000) + return "220000"; + if (code == AnzscoOccupations._221000) + return "221000"; + if (code == AnzscoOccupations._221100) + return "221100"; + if (code == AnzscoOccupations._221111) + return "221111"; + if (code == AnzscoOccupations._221112) + return "221112"; + if (code == AnzscoOccupations._221113) + return "221113"; + if (code == AnzscoOccupations._221200) + return "221200"; + if (code == AnzscoOccupations._221211) + return "221211"; + if (code == AnzscoOccupations._221212) + return "221212"; + if (code == AnzscoOccupations._221213) + return "221213"; + if (code == AnzscoOccupations._221214) + return "221214"; + if (code == AnzscoOccupations._222000) + return "222000"; + if (code == AnzscoOccupations._222100) + return "222100"; + if (code == AnzscoOccupations._222111) + return "222111"; + if (code == AnzscoOccupations._222112) + return "222112"; + if (code == AnzscoOccupations._222113) + return "222113"; + if (code == AnzscoOccupations._222199) + return "222199"; + if (code == AnzscoOccupations._222200) + return "222200"; + if (code == AnzscoOccupations._222211) + return "222211"; + if (code == AnzscoOccupations._222212) + return "222212"; + if (code == AnzscoOccupations._222213) + return "222213"; + if (code == AnzscoOccupations._222299) + return "222299"; + if (code == AnzscoOccupations._222300) + return "222300"; + if (code == AnzscoOccupations._222311) + return "222311"; + if (code == AnzscoOccupations._222312) + return "222312"; + if (code == AnzscoOccupations._223000) + return "223000"; + if (code == AnzscoOccupations._223100) + return "223100"; + if (code == AnzscoOccupations._223111) + return "223111"; + if (code == AnzscoOccupations._223112) + return "223112"; + if (code == AnzscoOccupations._223113) + return "223113"; + if (code == AnzscoOccupations._223211) + return "223211"; + if (code == AnzscoOccupations._223311) + return "223311"; + if (code == AnzscoOccupations._224000) + return "224000"; + if (code == AnzscoOccupations._224100) + return "224100"; + if (code == AnzscoOccupations._224111) + return "224111"; + if (code == AnzscoOccupations._224112) + return "224112"; + if (code == AnzscoOccupations._224113) + return "224113"; + if (code == AnzscoOccupations._224200) + return "224200"; + if (code == AnzscoOccupations._224211) + return "224211"; + if (code == AnzscoOccupations._224212) + return "224212"; + if (code == AnzscoOccupations._224213) + return "224213"; + if (code == AnzscoOccupations._224214) + return "224214"; + if (code == AnzscoOccupations._224311) + return "224311"; + if (code == AnzscoOccupations._224400) + return "224400"; + if (code == AnzscoOccupations._224411) + return "224411"; + if (code == AnzscoOccupations._224412) + return "224412"; + if (code == AnzscoOccupations._224500) + return "224500"; + if (code == AnzscoOccupations._224511) + return "224511"; + if (code == AnzscoOccupations._224512) + return "224512"; + if (code == AnzscoOccupations._224611) + return "224611"; + if (code == AnzscoOccupations._224700) + return "224700"; + if (code == AnzscoOccupations._224711) + return "224711"; + if (code == AnzscoOccupations._224712) + return "224712"; + if (code == AnzscoOccupations._224900) + return "224900"; + if (code == AnzscoOccupations._224911) + return "224911"; + if (code == AnzscoOccupations._224912) + return "224912"; + if (code == AnzscoOccupations._224913) + return "224913"; + if (code == AnzscoOccupations._224914) + return "224914"; + if (code == AnzscoOccupations._224999) + return "224999"; + if (code == AnzscoOccupations._225000) + return "225000"; + if (code == AnzscoOccupations._225100) + return "225100"; + if (code == AnzscoOccupations._225111) + return "225111"; + if (code == AnzscoOccupations._225112) + return "225112"; + if (code == AnzscoOccupations._225113) + return "225113"; + if (code == AnzscoOccupations._225200) + return "225200"; + if (code == AnzscoOccupations._225211) + return "225211"; + if (code == AnzscoOccupations._225212) + return "225212"; + if (code == AnzscoOccupations._225213) + return "225213"; + if (code == AnzscoOccupations._225311) + return "225311"; + if (code == AnzscoOccupations._225400) + return "225400"; + if (code == AnzscoOccupations._225411) + return "225411"; + if (code == AnzscoOccupations._225412) + return "225412"; + if (code == AnzscoOccupations._225499) + return "225499"; + if (code == AnzscoOccupations._230000) + return "230000"; + if (code == AnzscoOccupations._231000) + return "231000"; + if (code == AnzscoOccupations._231100) + return "231100"; + if (code == AnzscoOccupations._231111) + return "231111"; + if (code == AnzscoOccupations._231112) + return "231112"; + if (code == AnzscoOccupations._231113) + return "231113"; + if (code == AnzscoOccupations._231114) + return "231114"; + if (code == AnzscoOccupations._231199) + return "231199"; + if (code == AnzscoOccupations._231200) + return "231200"; + if (code == AnzscoOccupations._231211) + return "231211"; + if (code == AnzscoOccupations._231212) + return "231212"; + if (code == AnzscoOccupations._231213) + return "231213"; + if (code == AnzscoOccupations._231214) + return "231214"; + if (code == AnzscoOccupations._231215) + return "231215"; + if (code == AnzscoOccupations._231299) + return "231299"; + if (code == AnzscoOccupations._232000) + return "232000"; + if (code == AnzscoOccupations._232100) + return "232100"; + if (code == AnzscoOccupations._232111) + return "232111"; + if (code == AnzscoOccupations._232112) + return "232112"; + if (code == AnzscoOccupations._232200) + return "232200"; + if (code == AnzscoOccupations._232211) + return "232211"; + if (code == AnzscoOccupations._232212) + return "232212"; + if (code == AnzscoOccupations._232300) + return "232300"; + if (code == AnzscoOccupations._232311) + return "232311"; + if (code == AnzscoOccupations._232312) + return "232312"; + if (code == AnzscoOccupations._232313) + return "232313"; + if (code == AnzscoOccupations._232400) + return "232400"; + if (code == AnzscoOccupations._232411) + return "232411"; + if (code == AnzscoOccupations._232412) + return "232412"; + if (code == AnzscoOccupations._232413) + return "232413"; + if (code == AnzscoOccupations._232414) + return "232414"; + if (code == AnzscoOccupations._232511) + return "232511"; + if (code == AnzscoOccupations._232611) + return "232611"; + if (code == AnzscoOccupations._233000) + return "233000"; + if (code == AnzscoOccupations._233100) + return "233100"; + if (code == AnzscoOccupations._233111) + return "233111"; + if (code == AnzscoOccupations._233112) + return "233112"; + if (code == AnzscoOccupations._233200) + return "233200"; + if (code == AnzscoOccupations._233211) + return "233211"; + if (code == AnzscoOccupations._233212) + return "233212"; + if (code == AnzscoOccupations._233213) + return "233213"; + if (code == AnzscoOccupations._233214) + return "233214"; + if (code == AnzscoOccupations._233215) + return "233215"; + if (code == AnzscoOccupations._233311) + return "233311"; + if (code == AnzscoOccupations._233411) + return "233411"; + if (code == AnzscoOccupations._233500) + return "233500"; + if (code == AnzscoOccupations._233511) + return "233511"; + if (code == AnzscoOccupations._233512) + return "233512"; + if (code == AnzscoOccupations._233513) + return "233513"; + if (code == AnzscoOccupations._233600) + return "233600"; + if (code == AnzscoOccupations._233611) + return "233611"; + if (code == AnzscoOccupations._233612) + return "233612"; + if (code == AnzscoOccupations._233900) + return "233900"; + if (code == AnzscoOccupations._233911) + return "233911"; + if (code == AnzscoOccupations._233912) + return "233912"; + if (code == AnzscoOccupations._233913) + return "233913"; + if (code == AnzscoOccupations._233914) + return "233914"; + if (code == AnzscoOccupations._233915) + return "233915"; + if (code == AnzscoOccupations._233916) + return "233916"; + if (code == AnzscoOccupations._233999) + return "233999"; + if (code == AnzscoOccupations._234000) + return "234000"; + if (code == AnzscoOccupations._234100) + return "234100"; + if (code == AnzscoOccupations._234111) + return "234111"; + if (code == AnzscoOccupations._234112) + return "234112"; + if (code == AnzscoOccupations._234113) + return "234113"; + if (code == AnzscoOccupations._234200) + return "234200"; + if (code == AnzscoOccupations._234211) + return "234211"; + if (code == AnzscoOccupations._234212) + return "234212"; + if (code == AnzscoOccupations._234213) + return "234213"; + if (code == AnzscoOccupations._234300) + return "234300"; + if (code == AnzscoOccupations._234311) + return "234311"; + if (code == AnzscoOccupations._234312) + return "234312"; + if (code == AnzscoOccupations._234313) + return "234313"; + if (code == AnzscoOccupations._234314) + return "234314"; + if (code == AnzscoOccupations._234399) + return "234399"; + if (code == AnzscoOccupations._234400) + return "234400"; + if (code == AnzscoOccupations._234411) + return "234411"; + if (code == AnzscoOccupations._234412) + return "234412"; + if (code == AnzscoOccupations._234500) + return "234500"; + if (code == AnzscoOccupations._234511) + return "234511"; + if (code == AnzscoOccupations._234512) + return "234512"; + if (code == AnzscoOccupations._234513) + return "234513"; + if (code == AnzscoOccupations._234514) + return "234514"; + if (code == AnzscoOccupations._234515) + return "234515"; + if (code == AnzscoOccupations._234516) + return "234516"; + if (code == AnzscoOccupations._234517) + return "234517"; + if (code == AnzscoOccupations._234518) + return "234518"; + if (code == AnzscoOccupations._234599) + return "234599"; + if (code == AnzscoOccupations._234611) + return "234611"; + if (code == AnzscoOccupations._234711) + return "234711"; + if (code == AnzscoOccupations._234900) + return "234900"; + if (code == AnzscoOccupations._234911) + return "234911"; + if (code == AnzscoOccupations._234912) + return "234912"; + if (code == AnzscoOccupations._234913) + return "234913"; + if (code == AnzscoOccupations._234914) + return "234914"; + if (code == AnzscoOccupations._234999) + return "234999"; + if (code == AnzscoOccupations._240000) + return "240000"; + if (code == AnzscoOccupations._241000) + return "241000"; + if (code == AnzscoOccupations._241111) + return "241111"; + if (code == AnzscoOccupations._241213) + return "241213"; + if (code == AnzscoOccupations._241311) + return "241311"; + if (code == AnzscoOccupations._241411) + return "241411"; + if (code == AnzscoOccupations._241500) + return "241500"; + if (code == AnzscoOccupations._241511) + return "241511"; + if (code == AnzscoOccupations._241512) + return "241512"; + if (code == AnzscoOccupations._241513) + return "241513"; + if (code == AnzscoOccupations._241599) + return "241599"; + if (code == AnzscoOccupations._242000) + return "242000"; + if (code == AnzscoOccupations._242100) + return "242100"; + if (code == AnzscoOccupations._242111) + return "242111"; + if (code == AnzscoOccupations._242112) + return "242112"; + if (code == AnzscoOccupations._242211) + return "242211"; + if (code == AnzscoOccupations._249000) + return "249000"; + if (code == AnzscoOccupations._249100) + return "249100"; + if (code == AnzscoOccupations._249111) + return "249111"; + if (code == AnzscoOccupations._249112) + return "249112"; + if (code == AnzscoOccupations._249200) + return "249200"; + if (code == AnzscoOccupations._249211) + return "249211"; + if (code == AnzscoOccupations._249212) + return "249212"; + if (code == AnzscoOccupations._249213) + return "249213"; + if (code == AnzscoOccupations._249214) + return "249214"; + if (code == AnzscoOccupations._249299) + return "249299"; + if (code == AnzscoOccupations._249311) + return "249311"; + if (code == AnzscoOccupations._250000) + return "250000"; + if (code == AnzscoOccupations._251000) + return "251000"; + if (code == AnzscoOccupations._251111) + return "251111"; + if (code == AnzscoOccupations._251200) + return "251200"; + if (code == AnzscoOccupations._251211) + return "251211"; + if (code == AnzscoOccupations._251212) + return "251212"; + if (code == AnzscoOccupations._251213) + return "251213"; + if (code == AnzscoOccupations._251214) + return "251214"; + if (code == AnzscoOccupations._251300) + return "251300"; + if (code == AnzscoOccupations._251311) + return "251311"; + if (code == AnzscoOccupations._251312) + return "251312"; + if (code == AnzscoOccupations._251400) + return "251400"; + if (code == AnzscoOccupations._251411) + return "251411"; + if (code == AnzscoOccupations._251412) + return "251412"; + if (code == AnzscoOccupations._251500) + return "251500"; + if (code == AnzscoOccupations._251511) + return "251511"; + if (code == AnzscoOccupations._251512) + return "251512"; + if (code == AnzscoOccupations._251513) + return "251513"; + if (code == AnzscoOccupations._251900) + return "251900"; + if (code == AnzscoOccupations._251911) + return "251911"; + if (code == AnzscoOccupations._251912) + return "251912"; + if (code == AnzscoOccupations._251999) + return "251999"; + if (code == AnzscoOccupations._252000) + return "252000"; + if (code == AnzscoOccupations._252100) + return "252100"; + if (code == AnzscoOccupations._252111) + return "252111"; + if (code == AnzscoOccupations._252112) + return "252112"; + if (code == AnzscoOccupations._252200) + return "252200"; + if (code == AnzscoOccupations._252211) + return "252211"; + if (code == AnzscoOccupations._252212) + return "252212"; + if (code == AnzscoOccupations._252213) + return "252213"; + if (code == AnzscoOccupations._252214) + return "252214"; + if (code == AnzscoOccupations._252299) + return "252299"; + if (code == AnzscoOccupations._252300) + return "252300"; + if (code == AnzscoOccupations._252311) + return "252311"; + if (code == AnzscoOccupations._252312) + return "252312"; + if (code == AnzscoOccupations._252411) + return "252411"; + if (code == AnzscoOccupations._252511) + return "252511"; + if (code == AnzscoOccupations._252611) + return "252611"; + if (code == AnzscoOccupations._252700) + return "252700"; + if (code == AnzscoOccupations._252711) + return "252711"; + if (code == AnzscoOccupations._252712) + return "252712"; + if (code == AnzscoOccupations._253000) + return "253000"; + if (code == AnzscoOccupations._253100) + return "253100"; + if (code == AnzscoOccupations._253111) + return "253111"; + if (code == AnzscoOccupations._253112) + return "253112"; + if (code == AnzscoOccupations._253211) + return "253211"; + if (code == AnzscoOccupations._253300) + return "253300"; + if (code == AnzscoOccupations._253311) + return "253311"; + if (code == AnzscoOccupations._253312) + return "253312"; + if (code == AnzscoOccupations._253313) + return "253313"; + if (code == AnzscoOccupations._253314) + return "253314"; + if (code == AnzscoOccupations._253315) + return "253315"; + if (code == AnzscoOccupations._253316) + return "253316"; + if (code == AnzscoOccupations._253317) + return "253317"; + if (code == AnzscoOccupations._253318) + return "253318"; + if (code == AnzscoOccupations._253321) + return "253321"; + if (code == AnzscoOccupations._253322) + return "253322"; + if (code == AnzscoOccupations._253323) + return "253323"; + if (code == AnzscoOccupations._253324) + return "253324"; + if (code == AnzscoOccupations._253399) + return "253399"; + if (code == AnzscoOccupations._253411) + return "253411"; + if (code == AnzscoOccupations._253500) + return "253500"; + if (code == AnzscoOccupations._253511) + return "253511"; + if (code == AnzscoOccupations._253512) + return "253512"; + if (code == AnzscoOccupations._253513) + return "253513"; + if (code == AnzscoOccupations._253514) + return "253514"; + if (code == AnzscoOccupations._253515) + return "253515"; + if (code == AnzscoOccupations._253516) + return "253516"; + if (code == AnzscoOccupations._253517) + return "253517"; + if (code == AnzscoOccupations._253518) + return "253518"; + if (code == AnzscoOccupations._253521) + return "253521"; + if (code == AnzscoOccupations._253900) + return "253900"; + if (code == AnzscoOccupations._253911) + return "253911"; + if (code == AnzscoOccupations._253912) + return "253912"; + if (code == AnzscoOccupations._253913) + return "253913"; + if (code == AnzscoOccupations._253914) + return "253914"; + if (code == AnzscoOccupations._253915) + return "253915"; + if (code == AnzscoOccupations._253916) + return "253916"; + if (code == AnzscoOccupations._253999) + return "253999"; + if (code == AnzscoOccupations._254000) + return "254000"; + if (code == AnzscoOccupations._254111) + return "254111"; + if (code == AnzscoOccupations._254200) + return "254200"; + if (code == AnzscoOccupations._254211) + return "254211"; + if (code == AnzscoOccupations._254212) + return "254212"; + if (code == AnzscoOccupations._254311) + return "254311"; + if (code == AnzscoOccupations._254400) + return "254400"; + if (code == AnzscoOccupations._254411) + return "254411"; + if (code == AnzscoOccupations._254412) + return "254412"; + if (code == AnzscoOccupations._254413) + return "254413"; + if (code == AnzscoOccupations._254414) + return "254414"; + if (code == AnzscoOccupations._254415) + return "254415"; + if (code == AnzscoOccupations._254416) + return "254416"; + if (code == AnzscoOccupations._254417) + return "254417"; + if (code == AnzscoOccupations._254418) + return "254418"; + if (code == AnzscoOccupations._254421) + return "254421"; + if (code == AnzscoOccupations._254422) + return "254422"; + if (code == AnzscoOccupations._254423) + return "254423"; + if (code == AnzscoOccupations._254424) + return "254424"; + if (code == AnzscoOccupations._254499) + return "254499"; + if (code == AnzscoOccupations._260000) + return "260000"; + if (code == AnzscoOccupations._261000) + return "261000"; + if (code == AnzscoOccupations._261100) + return "261100"; + if (code == AnzscoOccupations._261111) + return "261111"; + if (code == AnzscoOccupations._261112) + return "261112"; + if (code == AnzscoOccupations._261200) + return "261200"; + if (code == AnzscoOccupations._261211) + return "261211"; + if (code == AnzscoOccupations._261212) + return "261212"; + if (code == AnzscoOccupations._261300) + return "261300"; + if (code == AnzscoOccupations._261311) + return "261311"; + if (code == AnzscoOccupations._261312) + return "261312"; + if (code == AnzscoOccupations._261313) + return "261313"; + if (code == AnzscoOccupations._261399) + return "261399"; + if (code == AnzscoOccupations._262100) + return "262100"; + if (code == AnzscoOccupations._262111) + return "262111"; + if (code == AnzscoOccupations._262112) + return "262112"; + if (code == AnzscoOccupations._262113) + return "262113"; + if (code == AnzscoOccupations._263000) + return "263000"; + if (code == AnzscoOccupations._263100) + return "263100"; + if (code == AnzscoOccupations._263111) + return "263111"; + if (code == AnzscoOccupations._263112) + return "263112"; + if (code == AnzscoOccupations._263113) + return "263113"; + if (code == AnzscoOccupations._263200) + return "263200"; + if (code == AnzscoOccupations._263211) + return "263211"; + if (code == AnzscoOccupations._263212) + return "263212"; + if (code == AnzscoOccupations._263213) + return "263213"; + if (code == AnzscoOccupations._263299) + return "263299"; + if (code == AnzscoOccupations._263300) + return "263300"; + if (code == AnzscoOccupations._263311) + return "263311"; + if (code == AnzscoOccupations._263312) + return "263312"; + if (code == AnzscoOccupations._270000) + return "270000"; + if (code == AnzscoOccupations._271000) + return "271000"; + if (code == AnzscoOccupations._271111) + return "271111"; + if (code == AnzscoOccupations._271200) + return "271200"; + if (code == AnzscoOccupations._271211) + return "271211"; + if (code == AnzscoOccupations._271212) + return "271212"; + if (code == AnzscoOccupations._271213) + return "271213"; + if (code == AnzscoOccupations._271299) + return "271299"; + if (code == AnzscoOccupations._271311) + return "271311"; + if (code == AnzscoOccupations._272000) + return "272000"; + if (code == AnzscoOccupations._272100) + return "272100"; + if (code == AnzscoOccupations._272111) + return "272111"; + if (code == AnzscoOccupations._272112) + return "272112"; + if (code == AnzscoOccupations._272113) + return "272113"; + if (code == AnzscoOccupations._272114) + return "272114"; + if (code == AnzscoOccupations._272115) + return "272115"; + if (code == AnzscoOccupations._272199) + return "272199"; + if (code == AnzscoOccupations._272211) + return "272211"; + if (code == AnzscoOccupations._272300) + return "272300"; + if (code == AnzscoOccupations._272311) + return "272311"; + if (code == AnzscoOccupations._272312) + return "272312"; + if (code == AnzscoOccupations._272313) + return "272313"; + if (code == AnzscoOccupations._272314) + return "272314"; + if (code == AnzscoOccupations._272399) + return "272399"; + if (code == AnzscoOccupations._272400) + return "272400"; + if (code == AnzscoOccupations._272411) + return "272411"; + if (code == AnzscoOccupations._272412) + return "272412"; + if (code == AnzscoOccupations._272413) + return "272413"; + if (code == AnzscoOccupations._272499) + return "272499"; + if (code == AnzscoOccupations._272511) + return "272511"; + if (code == AnzscoOccupations._272600) + return "272600"; + if (code == AnzscoOccupations._272611) + return "272611"; + if (code == AnzscoOccupations._272612) + return "272612"; + if (code == AnzscoOccupations._272613) + return "272613"; + if (code == AnzscoOccupations._300000) + return "300000"; + if (code == AnzscoOccupations._310000) + return "310000"; + if (code == AnzscoOccupations._311000) + return "311000"; + if (code == AnzscoOccupations._311111) + return "311111"; + if (code == AnzscoOccupations._311200) + return "311200"; + if (code == AnzscoOccupations._311211) + return "311211"; + if (code == AnzscoOccupations._311212) + return "311212"; + if (code == AnzscoOccupations._311213) + return "311213"; + if (code == AnzscoOccupations._311214) + return "311214"; + if (code == AnzscoOccupations._311215) + return "311215"; + if (code == AnzscoOccupations._311299) + return "311299"; + if (code == AnzscoOccupations._311300) + return "311300"; + if (code == AnzscoOccupations._311311) + return "311311"; + if (code == AnzscoOccupations._311312) + return "311312"; + if (code == AnzscoOccupations._311313) + return "311313"; + if (code == AnzscoOccupations._311399) + return "311399"; + if (code == AnzscoOccupations._311400) + return "311400"; + if (code == AnzscoOccupations._311411) + return "311411"; + if (code == AnzscoOccupations._311412) + return "311412"; + if (code == AnzscoOccupations._311413) + return "311413"; + if (code == AnzscoOccupations._311414) + return "311414"; + if (code == AnzscoOccupations._311499) + return "311499"; + if (code == AnzscoOccupations._312000) + return "312000"; + if (code == AnzscoOccupations._312100) + return "312100"; + if (code == AnzscoOccupations._312111) + return "312111"; + if (code == AnzscoOccupations._312112) + return "312112"; + if (code == AnzscoOccupations._312113) + return "312113"; + if (code == AnzscoOccupations._312114) + return "312114"; + if (code == AnzscoOccupations._312115) + return "312115"; + if (code == AnzscoOccupations._312116) + return "312116"; + if (code == AnzscoOccupations._312200) + return "312200"; + if (code == AnzscoOccupations._312211) + return "312211"; + if (code == AnzscoOccupations._312212) + return "312212"; + if (code == AnzscoOccupations._312300) + return "312300"; + if (code == AnzscoOccupations._312311) + return "312311"; + if (code == AnzscoOccupations._312312) + return "312312"; + if (code == AnzscoOccupations._312400) + return "312400"; + if (code == AnzscoOccupations._312411) + return "312411"; + if (code == AnzscoOccupations._312412) + return "312412"; + if (code == AnzscoOccupations._312500) + return "312500"; + if (code == AnzscoOccupations._312511) + return "312511"; + if (code == AnzscoOccupations._312512) + return "312512"; + if (code == AnzscoOccupations._312611) + return "312611"; + if (code == AnzscoOccupations._312900) + return "312900"; + if (code == AnzscoOccupations._312911) + return "312911"; + if (code == AnzscoOccupations._312912) + return "312912"; + if (code == AnzscoOccupations._312913) + return "312913"; + if (code == AnzscoOccupations._312999) + return "312999"; + if (code == AnzscoOccupations._313000) + return "313000"; + if (code == AnzscoOccupations._313100) + return "313100"; + if (code == AnzscoOccupations._313111) + return "313111"; + if (code == AnzscoOccupations._313112) + return "313112"; + if (code == AnzscoOccupations._313113) + return "313113"; + if (code == AnzscoOccupations._313199) + return "313199"; + if (code == AnzscoOccupations._313200) + return "313200"; + if (code == AnzscoOccupations._313211) + return "313211"; + if (code == AnzscoOccupations._313212) + return "313212"; + if (code == AnzscoOccupations._313213) + return "313213"; + if (code == AnzscoOccupations._313214) + return "313214"; + if (code == AnzscoOccupations._320000) + return "320000"; + if (code == AnzscoOccupations._321000) + return "321000"; + if (code == AnzscoOccupations._321111) + return "321111"; + if (code == AnzscoOccupations._321200) + return "321200"; + if (code == AnzscoOccupations._321211) + return "321211"; + if (code == AnzscoOccupations._321212) + return "321212"; + if (code == AnzscoOccupations._321213) + return "321213"; + if (code == AnzscoOccupations._321214) + return "321214"; + if (code == AnzscoOccupations._322000) + return "322000"; + if (code == AnzscoOccupations._322100) + return "322100"; + if (code == AnzscoOccupations._322111) + return "322111"; + if (code == AnzscoOccupations._322112) + return "322112"; + if (code == AnzscoOccupations._322113) + return "322113"; + if (code == AnzscoOccupations._322114) + return "322114"; + if (code == AnzscoOccupations._322115) + return "322115"; + if (code == AnzscoOccupations._322211) + return "322211"; + if (code == AnzscoOccupations._322300) + return "322300"; + if (code == AnzscoOccupations._322311) + return "322311"; + if (code == AnzscoOccupations._322312) + return "322312"; + if (code == AnzscoOccupations._322313) + return "322313"; + if (code == AnzscoOccupations._323000) + return "323000"; + if (code == AnzscoOccupations._323100) + return "323100"; + if (code == AnzscoOccupations._323111) + return "323111"; + if (code == AnzscoOccupations._323112) + return "323112"; + if (code == AnzscoOccupations._323113) + return "323113"; + if (code == AnzscoOccupations._323200) + return "323200"; + if (code == AnzscoOccupations._323211) + return "323211"; + if (code == AnzscoOccupations._323212) + return "323212"; + if (code == AnzscoOccupations._323213) + return "323213"; + if (code == AnzscoOccupations._323214) + return "323214"; + if (code == AnzscoOccupations._323215) + return "323215"; + if (code == AnzscoOccupations._323299) + return "323299"; + if (code == AnzscoOccupations._323300) + return "323300"; + if (code == AnzscoOccupations._323311) + return "323311"; + if (code == AnzscoOccupations._323312) + return "323312"; + if (code == AnzscoOccupations._323313) + return "323313"; + if (code == AnzscoOccupations._323314) + return "323314"; + if (code == AnzscoOccupations._323315) + return "323315"; + if (code == AnzscoOccupations._323316) + return "323316"; + if (code == AnzscoOccupations._323400) + return "323400"; + if (code == AnzscoOccupations._323411) + return "323411"; + if (code == AnzscoOccupations._323412) + return "323412"; + if (code == AnzscoOccupations._324000) + return "324000"; + if (code == AnzscoOccupations._324111) + return "324111"; + if (code == AnzscoOccupations._324200) + return "324200"; + if (code == AnzscoOccupations._324211) + return "324211"; + if (code == AnzscoOccupations._324212) + return "324212"; + if (code == AnzscoOccupations._324311) + return "324311"; + if (code == AnzscoOccupations._330000) + return "330000"; + if (code == AnzscoOccupations._331000) + return "331000"; + if (code == AnzscoOccupations._331100) + return "331100"; + if (code == AnzscoOccupations._331111) + return "331111"; + if (code == AnzscoOccupations._331112) + return "331112"; + if (code == AnzscoOccupations._331211) + return "331211"; + if (code == AnzscoOccupations._331212) + return "331212"; + if (code == AnzscoOccupations._331213) + return "331213"; + if (code == AnzscoOccupations._332000) + return "332000"; + if (code == AnzscoOccupations._332111) + return "332111"; + if (code == AnzscoOccupations._332211) + return "332211"; + if (code == AnzscoOccupations._333000) + return "333000"; + if (code == AnzscoOccupations._333111) + return "333111"; + if (code == AnzscoOccupations._333200) + return "333200"; + if (code == AnzscoOccupations._333211) + return "333211"; + if (code == AnzscoOccupations._333212) + return "333212"; + if (code == AnzscoOccupations._333311) + return "333311"; + if (code == AnzscoOccupations._333411) + return "333411"; + if (code == AnzscoOccupations._334100) + return "334100"; + if (code == AnzscoOccupations._334111) + return "334111"; + if (code == AnzscoOccupations._334112) + return "334112"; + if (code == AnzscoOccupations._334113) + return "334113"; + if (code == AnzscoOccupations._334114) + return "334114"; + if (code == AnzscoOccupations._334115) + return "334115"; + if (code == AnzscoOccupations._340000) + return "340000"; + if (code == AnzscoOccupations._341100) + return "341100"; + if (code == AnzscoOccupations._341111) + return "341111"; + if (code == AnzscoOccupations._341112) + return "341112"; + if (code == AnzscoOccupations._341113) + return "341113"; + if (code == AnzscoOccupations._342000) + return "342000"; + if (code == AnzscoOccupations._342111) + return "342111"; + if (code == AnzscoOccupations._342200) + return "342200"; + if (code == AnzscoOccupations._342211) + return "342211"; + if (code == AnzscoOccupations._342212) + return "342212"; + if (code == AnzscoOccupations._342300) + return "342300"; + if (code == AnzscoOccupations._342311) + return "342311"; + if (code == AnzscoOccupations._342312) + return "342312"; + if (code == AnzscoOccupations._342313) + return "342313"; + if (code == AnzscoOccupations._342314) + return "342314"; + if (code == AnzscoOccupations._342315) + return "342315"; + if (code == AnzscoOccupations._342400) + return "342400"; + if (code == AnzscoOccupations._342411) + return "342411"; + if (code == AnzscoOccupations._342412) + return "342412"; + if (code == AnzscoOccupations._342413) + return "342413"; + if (code == AnzscoOccupations._342414) + return "342414"; + if (code == AnzscoOccupations._351000) + return "351000"; + if (code == AnzscoOccupations._351100) + return "351100"; + if (code == AnzscoOccupations._351111) + return "351111"; + if (code == AnzscoOccupations._351112) + return "351112"; + if (code == AnzscoOccupations._351211) + return "351211"; + if (code == AnzscoOccupations._351311) + return "351311"; + if (code == AnzscoOccupations._351411) + return "351411"; + if (code == AnzscoOccupations._360000) + return "360000"; + if (code == AnzscoOccupations._361000) + return "361000"; + if (code == AnzscoOccupations._361100) + return "361100"; + if (code == AnzscoOccupations._361111) + return "361111"; + if (code == AnzscoOccupations._361112) + return "361112"; + if (code == AnzscoOccupations._361113) + return "361113"; + if (code == AnzscoOccupations._361114) + return "361114"; + if (code == AnzscoOccupations._361199) + return "361199"; + if (code == AnzscoOccupations._361211) + return "361211"; + if (code == AnzscoOccupations._361311) + return "361311"; + if (code == AnzscoOccupations._362000) + return "362000"; + if (code == AnzscoOccupations._362111) + return "362111"; + if (code == AnzscoOccupations._362200) + return "362200"; + if (code == AnzscoOccupations._362211) + return "362211"; + if (code == AnzscoOccupations._362212) + return "362212"; + if (code == AnzscoOccupations._362213) + return "362213"; + if (code == AnzscoOccupations._362311) + return "362311"; + if (code == AnzscoOccupations._362411) + return "362411"; + if (code == AnzscoOccupations._390000) + return "390000"; + if (code == AnzscoOccupations._391111) + return "391111"; + if (code == AnzscoOccupations._392000) + return "392000"; + if (code == AnzscoOccupations._392100) + return "392100"; + if (code == AnzscoOccupations._392111) + return "392111"; + if (code == AnzscoOccupations._392112) + return "392112"; + if (code == AnzscoOccupations._392211) + return "392211"; + if (code == AnzscoOccupations._392300) + return "392300"; + if (code == AnzscoOccupations._392311) + return "392311"; + if (code == AnzscoOccupations._392312) + return "392312"; + if (code == AnzscoOccupations._393000) + return "393000"; + if (code == AnzscoOccupations._393100) + return "393100"; + if (code == AnzscoOccupations._393111) + return "393111"; + if (code == AnzscoOccupations._393112) + return "393112"; + if (code == AnzscoOccupations._393113) + return "393113"; + if (code == AnzscoOccupations._393114) + return "393114"; + if (code == AnzscoOccupations._393200) + return "393200"; + if (code == AnzscoOccupations._393211) + return "393211"; + if (code == AnzscoOccupations._393212) + return "393212"; + if (code == AnzscoOccupations._393213) + return "393213"; + if (code == AnzscoOccupations._393299) + return "393299"; + if (code == AnzscoOccupations._393311) + return "393311"; + if (code == AnzscoOccupations._394000) + return "394000"; + if (code == AnzscoOccupations._394111) + return "394111"; + if (code == AnzscoOccupations._394200) + return "394200"; + if (code == AnzscoOccupations._394211) + return "394211"; + if (code == AnzscoOccupations._394212) + return "394212"; + if (code == AnzscoOccupations._394213) + return "394213"; + if (code == AnzscoOccupations._394214) + return "394214"; + if (code == AnzscoOccupations._394299) + return "394299"; + if (code == AnzscoOccupations._399000) + return "399000"; + if (code == AnzscoOccupations._399100) + return "399100"; + if (code == AnzscoOccupations._399111) + return "399111"; + if (code == AnzscoOccupations._399112) + return "399112"; + if (code == AnzscoOccupations._399200) + return "399200"; + if (code == AnzscoOccupations._399211) + return "399211"; + if (code == AnzscoOccupations._399212) + return "399212"; + if (code == AnzscoOccupations._399213) + return "399213"; + if (code == AnzscoOccupations._399300) + return "399300"; + if (code == AnzscoOccupations._399311) + return "399311"; + if (code == AnzscoOccupations._399312) + return "399312"; + if (code == AnzscoOccupations._399411) + return "399411"; + if (code == AnzscoOccupations._399500) + return "399500"; + if (code == AnzscoOccupations._399511) + return "399511"; + if (code == AnzscoOccupations._399512) + return "399512"; + if (code == AnzscoOccupations._399513) + return "399513"; + if (code == AnzscoOccupations._399514) + return "399514"; + if (code == AnzscoOccupations._399515) + return "399515"; + if (code == AnzscoOccupations._399516) + return "399516"; + if (code == AnzscoOccupations._399517) + return "399517"; + if (code == AnzscoOccupations._399599) + return "399599"; + if (code == AnzscoOccupations._399611) + return "399611"; + if (code == AnzscoOccupations._399900) + return "399900"; + if (code == AnzscoOccupations._399911) + return "399911"; + if (code == AnzscoOccupations._399912) + return "399912"; + if (code == AnzscoOccupations._399913) + return "399913"; + if (code == AnzscoOccupations._399914) + return "399914"; + if (code == AnzscoOccupations._399915) + return "399915"; + if (code == AnzscoOccupations._399916) + return "399916"; + if (code == AnzscoOccupations._399917) + return "399917"; + if (code == AnzscoOccupations._399999) + return "399999"; + if (code == AnzscoOccupations._400000) + return "400000"; + if (code == AnzscoOccupations._411000) + return "411000"; + if (code == AnzscoOccupations._411100) + return "411100"; + if (code == AnzscoOccupations._411111) + return "411111"; + if (code == AnzscoOccupations._411112) + return "411112"; + if (code == AnzscoOccupations._411200) + return "411200"; + if (code == AnzscoOccupations._411211) + return "411211"; + if (code == AnzscoOccupations._411212) + return "411212"; + if (code == AnzscoOccupations._411213) + return "411213"; + if (code == AnzscoOccupations._411214) + return "411214"; + if (code == AnzscoOccupations._411311) + return "411311"; + if (code == AnzscoOccupations._411400) + return "411400"; + if (code == AnzscoOccupations._411411) + return "411411"; + if (code == AnzscoOccupations._411412) + return "411412"; + if (code == AnzscoOccupations._411511) + return "411511"; + if (code == AnzscoOccupations._411611) + return "411611"; + if (code == AnzscoOccupations._411700) + return "411700"; + if (code == AnzscoOccupations._411711) + return "411711"; + if (code == AnzscoOccupations._411712) + return "411712"; + if (code == AnzscoOccupations._411713) + return "411713"; + if (code == AnzscoOccupations._411714) + return "411714"; + if (code == AnzscoOccupations._411715) + return "411715"; + if (code == AnzscoOccupations._411716) + return "411716"; + if (code == AnzscoOccupations._420000) + return "420000"; + if (code == AnzscoOccupations._421100) + return "421100"; + if (code == AnzscoOccupations._421111) + return "421111"; + if (code == AnzscoOccupations._421112) + return "421112"; + if (code == AnzscoOccupations._421113) + return "421113"; + if (code == AnzscoOccupations._421114) + return "421114"; + if (code == AnzscoOccupations._422100) + return "422100"; + if (code == AnzscoOccupations._422111) + return "422111"; + if (code == AnzscoOccupations._422112) + return "422112"; + if (code == AnzscoOccupations._422115) + return "422115"; + if (code == AnzscoOccupations._422116) + return "422116"; + if (code == AnzscoOccupations._423000) + return "423000"; + if (code == AnzscoOccupations._423111) + return "423111"; + if (code == AnzscoOccupations._423211) + return "423211"; + if (code == AnzscoOccupations._423300) + return "423300"; + if (code == AnzscoOccupations._423311) + return "423311"; + if (code == AnzscoOccupations._423312) + return "423312"; + if (code == AnzscoOccupations._423313) + return "423313"; + if (code == AnzscoOccupations._423314) + return "423314"; + if (code == AnzscoOccupations._423400) + return "423400"; + if (code == AnzscoOccupations._423411) + return "423411"; + if (code == AnzscoOccupations._423412) + return "423412"; + if (code == AnzscoOccupations._423413) + return "423413"; + if (code == AnzscoOccupations._431000) + return "431000"; + if (code == AnzscoOccupations._431100) + return "431100"; + if (code == AnzscoOccupations._431111) + return "431111"; + if (code == AnzscoOccupations._431112) + return "431112"; + if (code == AnzscoOccupations._431211) + return "431211"; + if (code == AnzscoOccupations._431311) + return "431311"; + if (code == AnzscoOccupations._431411) + return "431411"; + if (code == AnzscoOccupations._431511) + return "431511"; + if (code == AnzscoOccupations._431900) + return "431900"; + if (code == AnzscoOccupations._431911) + return "431911"; + if (code == AnzscoOccupations._431912) + return "431912"; + if (code == AnzscoOccupations._431999) + return "431999"; + if (code == AnzscoOccupations._440000) + return "440000"; + if (code == AnzscoOccupations._441000) + return "441000"; + if (code == AnzscoOccupations._441111) + return "441111"; + if (code == AnzscoOccupations._441200) + return "441200"; + if (code == AnzscoOccupations._441211) + return "441211"; + if (code == AnzscoOccupations._441212) + return "441212"; + if (code == AnzscoOccupations._441300) + return "441300"; + if (code == AnzscoOccupations._441311) + return "441311"; + if (code == AnzscoOccupations._441312) + return "441312"; + if (code == AnzscoOccupations._442000) + return "442000"; + if (code == AnzscoOccupations._442111) + return "442111"; + if (code == AnzscoOccupations._442200) + return "442200"; + if (code == AnzscoOccupations._442211) + return "442211"; + if (code == AnzscoOccupations._442212) + return "442212"; + if (code == AnzscoOccupations._442213) + return "442213"; + if (code == AnzscoOccupations._442214) + return "442214"; + if (code == AnzscoOccupations._442215) + return "442215"; + if (code == AnzscoOccupations._442216) + return "442216"; + if (code == AnzscoOccupations._442217) + return "442217"; + if (code == AnzscoOccupations._442299) + return "442299"; + if (code == AnzscoOccupations._450000) + return "450000"; + if (code == AnzscoOccupations._451000) + return "451000"; + if (code == AnzscoOccupations._451111) + return "451111"; + if (code == AnzscoOccupations._451211) + return "451211"; + if (code == AnzscoOccupations._451300) + return "451300"; + if (code == AnzscoOccupations._451311) + return "451311"; + if (code == AnzscoOccupations._451399) + return "451399"; + if (code == AnzscoOccupations._451400) + return "451400"; + if (code == AnzscoOccupations._451411) + return "451411"; + if (code == AnzscoOccupations._451412) + return "451412"; + if (code == AnzscoOccupations._451500) + return "451500"; + if (code == AnzscoOccupations._451511) + return "451511"; + if (code == AnzscoOccupations._451512) + return "451512"; + if (code == AnzscoOccupations._451600) + return "451600"; + if (code == AnzscoOccupations._451611) + return "451611"; + if (code == AnzscoOccupations._451612) + return "451612"; + if (code == AnzscoOccupations._451700) + return "451700"; + if (code == AnzscoOccupations._451711) + return "451711"; + if (code == AnzscoOccupations._451799) + return "451799"; + if (code == AnzscoOccupations._451800) + return "451800"; + if (code == AnzscoOccupations._451811) + return "451811"; + if (code == AnzscoOccupations._451812) + return "451812"; + if (code == AnzscoOccupations._451813) + return "451813"; + if (code == AnzscoOccupations._451899) + return "451899"; + if (code == AnzscoOccupations._452000) + return "452000"; + if (code == AnzscoOccupations._452111) + return "452111"; + if (code == AnzscoOccupations._452200) + return "452200"; + if (code == AnzscoOccupations._452211) + return "452211"; + if (code == AnzscoOccupations._452212) + return "452212"; + if (code == AnzscoOccupations._452213) + return "452213"; + if (code == AnzscoOccupations._452214) + return "452214"; + if (code == AnzscoOccupations._452215) + return "452215"; + if (code == AnzscoOccupations._452216) + return "452216"; + if (code == AnzscoOccupations._452217) + return "452217"; + if (code == AnzscoOccupations._452299) + return "452299"; + if (code == AnzscoOccupations._452300) + return "452300"; + if (code == AnzscoOccupations._452311) + return "452311"; + if (code == AnzscoOccupations._452312) + return "452312"; + if (code == AnzscoOccupations._452313) + return "452313"; + if (code == AnzscoOccupations._452314) + return "452314"; + if (code == AnzscoOccupations._452315) + return "452315"; + if (code == AnzscoOccupations._452316) + return "452316"; + if (code == AnzscoOccupations._452317) + return "452317"; + if (code == AnzscoOccupations._452318) + return "452318"; + if (code == AnzscoOccupations._452321) + return "452321"; + if (code == AnzscoOccupations._452322) + return "452322"; + if (code == AnzscoOccupations._452323) + return "452323"; + if (code == AnzscoOccupations._452400) + return "452400"; + if (code == AnzscoOccupations._452411) + return "452411"; + if (code == AnzscoOccupations._452412) + return "452412"; + if (code == AnzscoOccupations._452413) + return "452413"; + if (code == AnzscoOccupations._452414) + return "452414"; + if (code == AnzscoOccupations._452499) + return "452499"; + if (code == AnzscoOccupations._500000) + return "500000"; + if (code == AnzscoOccupations._510000) + return "510000"; + if (code == AnzscoOccupations._511100) + return "511100"; + if (code == AnzscoOccupations._511111) + return "511111"; + if (code == AnzscoOccupations._511112) + return "511112"; + if (code == AnzscoOccupations._512000) + return "512000"; + if (code == AnzscoOccupations._512111) + return "512111"; + if (code == AnzscoOccupations._512200) + return "512200"; + if (code == AnzscoOccupations._512211) + return "512211"; + if (code == AnzscoOccupations._512299) + return "512299"; + if (code == AnzscoOccupations._521000) + return "521000"; + if (code == AnzscoOccupations._521111) + return "521111"; + if (code == AnzscoOccupations._521200) + return "521200"; + if (code == AnzscoOccupations._521211) + return "521211"; + if (code == AnzscoOccupations._521212) + return "521212"; + if (code == AnzscoOccupations._530000) + return "530000"; + if (code == AnzscoOccupations._531111) + return "531111"; + if (code == AnzscoOccupations._532100) + return "532100"; + if (code == AnzscoOccupations._532111) + return "532111"; + if (code == AnzscoOccupations._532112) + return "532112"; + if (code == AnzscoOccupations._532113) + return "532113"; + if (code == AnzscoOccupations._540000) + return "540000"; + if (code == AnzscoOccupations._541000) + return "541000"; + if (code == AnzscoOccupations._541100) + return "541100"; + if (code == AnzscoOccupations._541111) + return "541111"; + if (code == AnzscoOccupations._541112) + return "541112"; + if (code == AnzscoOccupations._541211) + return "541211"; + if (code == AnzscoOccupations._542100) + return "542100"; + if (code == AnzscoOccupations._542111) + return "542111"; + if (code == AnzscoOccupations._542112) + return "542112"; + if (code == AnzscoOccupations._542113) + return "542113"; + if (code == AnzscoOccupations._542114) + return "542114"; + if (code == AnzscoOccupations._550000) + return "550000"; + if (code == AnzscoOccupations._551000) + return "551000"; + if (code == AnzscoOccupations._551100) + return "551100"; + if (code == AnzscoOccupations._551111) + return "551111"; + if (code == AnzscoOccupations._551112) + return "551112"; + if (code == AnzscoOccupations._551211) + return "551211"; + if (code == AnzscoOccupations._551311) + return "551311"; + if (code == AnzscoOccupations._552000) + return "552000"; + if (code == AnzscoOccupations._552111) + return "552111"; + if (code == AnzscoOccupations._552211) + return "552211"; + if (code == AnzscoOccupations._552300) + return "552300"; + if (code == AnzscoOccupations._552311) + return "552311"; + if (code == AnzscoOccupations._552312) + return "552312"; + if (code == AnzscoOccupations._552313) + return "552313"; + if (code == AnzscoOccupations._552314) + return "552314"; + if (code == AnzscoOccupations._561000) + return "561000"; + if (code == AnzscoOccupations._561100) + return "561100"; + if (code == AnzscoOccupations._561111) + return "561111"; + if (code == AnzscoOccupations._561112) + return "561112"; + if (code == AnzscoOccupations._561113) + return "561113"; + if (code == AnzscoOccupations._561199) + return "561199"; + if (code == AnzscoOccupations._561200) + return "561200"; + if (code == AnzscoOccupations._561211) + return "561211"; + if (code == AnzscoOccupations._561212) + return "561212"; + if (code == AnzscoOccupations._561311) + return "561311"; + if (code == AnzscoOccupations._561400) + return "561400"; + if (code == AnzscoOccupations._561411) + return "561411"; + if (code == AnzscoOccupations._561412) + return "561412"; + if (code == AnzscoOccupations._561511) + return "561511"; + if (code == AnzscoOccupations._561611) + return "561611"; + if (code == AnzscoOccupations._561900) + return "561900"; + if (code == AnzscoOccupations._561911) + return "561911"; + if (code == AnzscoOccupations._561912) + return "561912"; + if (code == AnzscoOccupations._561913) + return "561913"; + if (code == AnzscoOccupations._561999) + return "561999"; + if (code == AnzscoOccupations._590000) + return "590000"; + if (code == AnzscoOccupations._591000) + return "591000"; + if (code == AnzscoOccupations._591100) + return "591100"; + if (code == AnzscoOccupations._591111) + return "591111"; + if (code == AnzscoOccupations._591112) + return "591112"; + if (code == AnzscoOccupations._591113) + return "591113"; + if (code == AnzscoOccupations._591114) + return "591114"; + if (code == AnzscoOccupations._591115) + return "591115"; + if (code == AnzscoOccupations._591116) + return "591116"; + if (code == AnzscoOccupations._591200) + return "591200"; + if (code == AnzscoOccupations._591211) + return "591211"; + if (code == AnzscoOccupations._591212) + return "591212"; + if (code == AnzscoOccupations._599000) + return "599000"; + if (code == AnzscoOccupations._599100) + return "599100"; + if (code == AnzscoOccupations._599111) + return "599111"; + if (code == AnzscoOccupations._599112) + return "599112"; + if (code == AnzscoOccupations._599200) + return "599200"; + if (code == AnzscoOccupations._599211) + return "599211"; + if (code == AnzscoOccupations._599212) + return "599212"; + if (code == AnzscoOccupations._599213) + return "599213"; + if (code == AnzscoOccupations._599214) + return "599214"; + if (code == AnzscoOccupations._599215) + return "599215"; + if (code == AnzscoOccupations._599311) + return "599311"; + if (code == AnzscoOccupations._599411) + return "599411"; + if (code == AnzscoOccupations._599500) + return "599500"; + if (code == AnzscoOccupations._599511) + return "599511"; + if (code == AnzscoOccupations._599512) + return "599512"; + if (code == AnzscoOccupations._599513) + return "599513"; + if (code == AnzscoOccupations._599514) + return "599514"; + if (code == AnzscoOccupations._599515) + return "599515"; + if (code == AnzscoOccupations._599516) + return "599516"; + if (code == AnzscoOccupations._599517) + return "599517"; + if (code == AnzscoOccupations._599518) + return "599518"; + if (code == AnzscoOccupations._599521) + return "599521"; + if (code == AnzscoOccupations._599599) + return "599599"; + if (code == AnzscoOccupations._599600) + return "599600"; + if (code == AnzscoOccupations._599611) + return "599611"; + if (code == AnzscoOccupations._599612) + return "599612"; + if (code == AnzscoOccupations._599613) + return "599613"; + if (code == AnzscoOccupations._599711) + return "599711"; + if (code == AnzscoOccupations._599900) + return "599900"; + if (code == AnzscoOccupations._599911) + return "599911"; + if (code == AnzscoOccupations._599912) + return "599912"; + if (code == AnzscoOccupations._599913) + return "599913"; + if (code == AnzscoOccupations._599914) + return "599914"; + if (code == AnzscoOccupations._599999) + return "599999"; + if (code == AnzscoOccupations._600000) + return "600000"; + if (code == AnzscoOccupations._610000) + return "610000"; + if (code == AnzscoOccupations._611000) + return "611000"; + if (code == AnzscoOccupations._611100) + return "611100"; + if (code == AnzscoOccupations._611111) + return "611111"; + if (code == AnzscoOccupations._611112) + return "611112"; + if (code == AnzscoOccupations._611211) + return "611211"; + if (code == AnzscoOccupations._611300) + return "611300"; + if (code == AnzscoOccupations._611311) + return "611311"; + if (code == AnzscoOccupations._611312) + return "611312"; + if (code == AnzscoOccupations._611313) + return "611313"; + if (code == AnzscoOccupations._611314) + return "611314"; + if (code == AnzscoOccupations._611399) + return "611399"; + if (code == AnzscoOccupations._612100) + return "612100"; + if (code == AnzscoOccupations._612111) + return "612111"; + if (code == AnzscoOccupations._612112) + return "612112"; + if (code == AnzscoOccupations._612113) + return "612113"; + if (code == AnzscoOccupations._612114) + return "612114"; + if (code == AnzscoOccupations._612115) + return "612115"; + if (code == AnzscoOccupations._621000) + return "621000"; + if (code == AnzscoOccupations._621111) + return "621111"; + if (code == AnzscoOccupations._621211) + return "621211"; + if (code == AnzscoOccupations._621300) + return "621300"; + if (code == AnzscoOccupations._621311) + return "621311"; + if (code == AnzscoOccupations._621312) + return "621312"; + if (code == AnzscoOccupations._621411) + return "621411"; + if (code == AnzscoOccupations._621511) + return "621511"; + if (code == AnzscoOccupations._621611) + return "621611"; + if (code == AnzscoOccupations._621700) + return "621700"; + if (code == AnzscoOccupations._621711) + return "621711"; + if (code == AnzscoOccupations._621712) + return "621712"; + if (code == AnzscoOccupations._621713) + return "621713"; + if (code == AnzscoOccupations._621900) + return "621900"; + if (code == AnzscoOccupations._621911) + return "621911"; + if (code == AnzscoOccupations._621912) + return "621912"; + if (code == AnzscoOccupations._621999) + return "621999"; + if (code == AnzscoOccupations._630000) + return "630000"; + if (code == AnzscoOccupations._631100) + return "631100"; + if (code == AnzscoOccupations._631111) + return "631111"; + if (code == AnzscoOccupations._631112) + return "631112"; + if (code == AnzscoOccupations._639000) + return "639000"; + if (code == AnzscoOccupations._639100) + return "639100"; + if (code == AnzscoOccupations._639111) + return "639111"; + if (code == AnzscoOccupations._639112) + return "639112"; + if (code == AnzscoOccupations._639200) + return "639200"; + if (code == AnzscoOccupations._639211) + return "639211"; + if (code == AnzscoOccupations._639212) + return "639212"; + if (code == AnzscoOccupations._639311) + return "639311"; + if (code == AnzscoOccupations._639400) + return "639400"; + if (code == AnzscoOccupations._639411) + return "639411"; + if (code == AnzscoOccupations._639412) + return "639412"; + if (code == AnzscoOccupations._639511) + return "639511"; + if (code == AnzscoOccupations._639911) + return "639911"; + if (code == AnzscoOccupations._700000) + return "700000"; + if (code == AnzscoOccupations._710000) + return "710000"; + if (code == AnzscoOccupations._711000) + return "711000"; + if (code == AnzscoOccupations._711100) + return "711100"; + if (code == AnzscoOccupations._711111) + return "711111"; + if (code == AnzscoOccupations._711112) + return "711112"; + if (code == AnzscoOccupations._711113) + return "711113"; + if (code == AnzscoOccupations._711114) + return "711114"; + if (code == AnzscoOccupations._711199) + return "711199"; + if (code == AnzscoOccupations._711211) + return "711211"; + if (code == AnzscoOccupations._711300) + return "711300"; + if (code == AnzscoOccupations._711311) + return "711311"; + if (code == AnzscoOccupations._711312) + return "711312"; + if (code == AnzscoOccupations._711411) + return "711411"; + if (code == AnzscoOccupations._711500) + return "711500"; + if (code == AnzscoOccupations._711511) + return "711511"; + if (code == AnzscoOccupations._711512) + return "711512"; + if (code == AnzscoOccupations._711513) + return "711513"; + if (code == AnzscoOccupations._711514) + return "711514"; + if (code == AnzscoOccupations._711515) + return "711515"; + if (code == AnzscoOccupations._711516) + return "711516"; + if (code == AnzscoOccupations._711599) + return "711599"; + if (code == AnzscoOccupations._711611) + return "711611"; + if (code == AnzscoOccupations._711700) + return "711700"; + if (code == AnzscoOccupations._711711) + return "711711"; + if (code == AnzscoOccupations._711712) + return "711712"; + if (code == AnzscoOccupations._711713) + return "711713"; + if (code == AnzscoOccupations._711714) + return "711714"; + if (code == AnzscoOccupations._711715) + return "711715"; + if (code == AnzscoOccupations._711716) + return "711716"; + if (code == AnzscoOccupations._711799) + return "711799"; + if (code == AnzscoOccupations._711900) + return "711900"; + if (code == AnzscoOccupations._711911) + return "711911"; + if (code == AnzscoOccupations._711912) + return "711912"; + if (code == AnzscoOccupations._711913) + return "711913"; + if (code == AnzscoOccupations._711914) + return "711914"; + if (code == AnzscoOccupations._711999) + return "711999"; + if (code == AnzscoOccupations._712000) + return "712000"; + if (code == AnzscoOccupations._712111) + return "712111"; + if (code == AnzscoOccupations._712200) + return "712200"; + if (code == AnzscoOccupations._712211) + return "712211"; + if (code == AnzscoOccupations._712212) + return "712212"; + if (code == AnzscoOccupations._712213) + return "712213"; + if (code == AnzscoOccupations._712311) + return "712311"; + if (code == AnzscoOccupations._712900) + return "712900"; + if (code == AnzscoOccupations._712911) + return "712911"; + if (code == AnzscoOccupations._712912) + return "712912"; + if (code == AnzscoOccupations._712913) + return "712913"; + if (code == AnzscoOccupations._712914) + return "712914"; + if (code == AnzscoOccupations._712915) + return "712915"; + if (code == AnzscoOccupations._712916) + return "712916"; + if (code == AnzscoOccupations._712917) + return "712917"; + if (code == AnzscoOccupations._712918) + return "712918"; + if (code == AnzscoOccupations._712921) + return "712921"; + if (code == AnzscoOccupations._712922) + return "712922"; + if (code == AnzscoOccupations._712999) + return "712999"; + if (code == AnzscoOccupations._721000) + return "721000"; + if (code == AnzscoOccupations._721100) + return "721100"; + if (code == AnzscoOccupations._721111) + return "721111"; + if (code == AnzscoOccupations._721112) + return "721112"; + if (code == AnzscoOccupations._721200) + return "721200"; + if (code == AnzscoOccupations._721211) + return "721211"; + if (code == AnzscoOccupations._721212) + return "721212"; + if (code == AnzscoOccupations._721213) + return "721213"; + if (code == AnzscoOccupations._721214) + return "721214"; + if (code == AnzscoOccupations._721215) + return "721215"; + if (code == AnzscoOccupations._721216) + return "721216"; + if (code == AnzscoOccupations._721311) + return "721311"; + if (code == AnzscoOccupations._721900) + return "721900"; + if (code == AnzscoOccupations._721911) + return "721911"; + if (code == AnzscoOccupations._721912) + return "721912"; + if (code == AnzscoOccupations._721913) + return "721913"; + if (code == AnzscoOccupations._721914) + return "721914"; + if (code == AnzscoOccupations._721915) + return "721915"; + if (code == AnzscoOccupations._721916) + return "721916"; + if (code == AnzscoOccupations._721999) + return "721999"; + if (code == AnzscoOccupations._730000) + return "730000"; + if (code == AnzscoOccupations._731000) + return "731000"; + if (code == AnzscoOccupations._731100) + return "731100"; + if (code == AnzscoOccupations._731111) + return "731111"; + if (code == AnzscoOccupations._731112) + return "731112"; + if (code == AnzscoOccupations._731199) + return "731199"; + if (code == AnzscoOccupations._731200) + return "731200"; + if (code == AnzscoOccupations._731211) + return "731211"; + if (code == AnzscoOccupations._731212) + return "731212"; + if (code == AnzscoOccupations._731213) + return "731213"; + if (code == AnzscoOccupations._731300) + return "731300"; + if (code == AnzscoOccupations._731311) + return "731311"; + if (code == AnzscoOccupations._731312) + return "731312"; + if (code == AnzscoOccupations._732111) + return "732111"; + if (code == AnzscoOccupations._733100) + return "733100"; + if (code == AnzscoOccupations._733111) + return "733111"; + if (code == AnzscoOccupations._733112) + return "733112"; + if (code == AnzscoOccupations._733113) + return "733113"; + if (code == AnzscoOccupations._733114) + return "733114"; + if (code == AnzscoOccupations._733115) + return "733115"; + if (code == AnzscoOccupations._741111) + return "741111"; + if (code == AnzscoOccupations._800000) + return "800000"; + if (code == AnzscoOccupations._811000) + return "811000"; + if (code == AnzscoOccupations._811111) + return "811111"; + if (code == AnzscoOccupations._811211) + return "811211"; + if (code == AnzscoOccupations._811311) + return "811311"; + if (code == AnzscoOccupations._811400) + return "811400"; + if (code == AnzscoOccupations._811411) + return "811411"; + if (code == AnzscoOccupations._811412) + return "811412"; + if (code == AnzscoOccupations._811500) + return "811500"; + if (code == AnzscoOccupations._811511) + return "811511"; + if (code == AnzscoOccupations._811512) + return "811512"; + if (code == AnzscoOccupations._811513) + return "811513"; + if (code == AnzscoOccupations._811600) + return "811600"; + if (code == AnzscoOccupations._811611) + return "811611"; + if (code == AnzscoOccupations._811612) + return "811612"; + if (code == AnzscoOccupations._811699) + return "811699"; + if (code == AnzscoOccupations._821000) + return "821000"; + if (code == AnzscoOccupations._821100) + return "821100"; + if (code == AnzscoOccupations._821111) + return "821111"; + if (code == AnzscoOccupations._821112) + return "821112"; + if (code == AnzscoOccupations._821113) + return "821113"; + if (code == AnzscoOccupations._821114) + return "821114"; + if (code == AnzscoOccupations._821211) + return "821211"; + if (code == AnzscoOccupations._821311) + return "821311"; + if (code == AnzscoOccupations._821400) + return "821400"; + if (code == AnzscoOccupations._821411) + return "821411"; + if (code == AnzscoOccupations._821412) + return "821412"; + if (code == AnzscoOccupations._821511) + return "821511"; + if (code == AnzscoOccupations._821611) + return "821611"; + if (code == AnzscoOccupations._821700) + return "821700"; + if (code == AnzscoOccupations._821711) + return "821711"; + if (code == AnzscoOccupations._821712) + return "821712"; + if (code == AnzscoOccupations._821713) + return "821713"; + if (code == AnzscoOccupations._821714) + return "821714"; + if (code == AnzscoOccupations._821900) + return "821900"; + if (code == AnzscoOccupations._821911) + return "821911"; + if (code == AnzscoOccupations._821912) + return "821912"; + if (code == AnzscoOccupations._821913) + return "821913"; + if (code == AnzscoOccupations._821914) + return "821914"; + if (code == AnzscoOccupations._821915) + return "821915"; + if (code == AnzscoOccupations._830000) + return "830000"; + if (code == AnzscoOccupations._831000) + return "831000"; + if (code == AnzscoOccupations._831100) + return "831100"; + if (code == AnzscoOccupations._831111) + return "831111"; + if (code == AnzscoOccupations._831112) + return "831112"; + if (code == AnzscoOccupations._831113) + return "831113"; + if (code == AnzscoOccupations._831114) + return "831114"; + if (code == AnzscoOccupations._831115) + return "831115"; + if (code == AnzscoOccupations._831116) + return "831116"; + if (code == AnzscoOccupations._831117) + return "831117"; + if (code == AnzscoOccupations._831118) + return "831118"; + if (code == AnzscoOccupations._831199) + return "831199"; + if (code == AnzscoOccupations._831200) + return "831200"; + if (code == AnzscoOccupations._831211) + return "831211"; + if (code == AnzscoOccupations._831212) + return "831212"; + if (code == AnzscoOccupations._831300) + return "831300"; + if (code == AnzscoOccupations._831311) + return "831311"; + if (code == AnzscoOccupations._831312) + return "831312"; + if (code == AnzscoOccupations._831313) + return "831313"; + if (code == AnzscoOccupations._832000) + return "832000"; + if (code == AnzscoOccupations._832100) + return "832100"; + if (code == AnzscoOccupations._832111) + return "832111"; + if (code == AnzscoOccupations._832112) + return "832112"; + if (code == AnzscoOccupations._832113) + return "832113"; + if (code == AnzscoOccupations._832114) + return "832114"; + if (code == AnzscoOccupations._832115) + return "832115"; + if (code == AnzscoOccupations._832199) + return "832199"; + if (code == AnzscoOccupations._832211) + return "832211"; + if (code == AnzscoOccupations._839000) + return "839000"; + if (code == AnzscoOccupations._839111) + return "839111"; + if (code == AnzscoOccupations._839200) + return "839200"; + if (code == AnzscoOccupations._839211) + return "839211"; + if (code == AnzscoOccupations._839212) + return "839212"; + if (code == AnzscoOccupations._839300) + return "839300"; + if (code == AnzscoOccupations._839311) + return "839311"; + if (code == AnzscoOccupations._839312) + return "839312"; + if (code == AnzscoOccupations._839313) + return "839313"; + if (code == AnzscoOccupations._839400) + return "839400"; + if (code == AnzscoOccupations._839411) + return "839411"; + if (code == AnzscoOccupations._839412) + return "839412"; + if (code == AnzscoOccupations._839413) + return "839413"; + if (code == AnzscoOccupations._839900) + return "839900"; + if (code == AnzscoOccupations._839911) + return "839911"; + if (code == AnzscoOccupations._839912) + return "839912"; + if (code == AnzscoOccupations._839913) + return "839913"; + if (code == AnzscoOccupations._839914) + return "839914"; + if (code == AnzscoOccupations._839915) + return "839915"; + if (code == AnzscoOccupations._839916) + return "839916"; + if (code == AnzscoOccupations._839917) + return "839917"; + if (code == AnzscoOccupations._839999) + return "839999"; + if (code == AnzscoOccupations._841000) + return "841000"; + if (code == AnzscoOccupations._841111) + return "841111"; + if (code == AnzscoOccupations._841200) + return "841200"; + if (code == AnzscoOccupations._841211) + return "841211"; + if (code == AnzscoOccupations._841212) + return "841212"; + if (code == AnzscoOccupations._841213) + return "841213"; + if (code == AnzscoOccupations._841214) + return "841214"; + if (code == AnzscoOccupations._841215) + return "841215"; + if (code == AnzscoOccupations._841216) + return "841216"; + if (code == AnzscoOccupations._841299) + return "841299"; + if (code == AnzscoOccupations._841300) + return "841300"; + if (code == AnzscoOccupations._841311) + return "841311"; + if (code == AnzscoOccupations._841312) + return "841312"; + if (code == AnzscoOccupations._841313) + return "841313"; + if (code == AnzscoOccupations._841400) + return "841400"; + if (code == AnzscoOccupations._841411) + return "841411"; + if (code == AnzscoOccupations._841412) + return "841412"; + if (code == AnzscoOccupations._841500) + return "841500"; + if (code == AnzscoOccupations._841511) + return "841511"; + if (code == AnzscoOccupations._841512) + return "841512"; + if (code == AnzscoOccupations._841513) + return "841513"; + if (code == AnzscoOccupations._841514) + return "841514"; + if (code == AnzscoOccupations._841515) + return "841515"; + if (code == AnzscoOccupations._841516) + return "841516"; + if (code == AnzscoOccupations._841517) + return "841517"; + if (code == AnzscoOccupations._841599) + return "841599"; + if (code == AnzscoOccupations._841611) + return "841611"; + if (code == AnzscoOccupations._841900) + return "841900"; + if (code == AnzscoOccupations._841911) + return "841911"; + if (code == AnzscoOccupations._841912) + return "841912"; + if (code == AnzscoOccupations._841999) + return "841999"; + if (code == AnzscoOccupations._851000) + return "851000"; + if (code == AnzscoOccupations._851111) + return "851111"; + if (code == AnzscoOccupations._851200) + return "851200"; + if (code == AnzscoOccupations._851211) + return "851211"; + if (code == AnzscoOccupations._851299) + return "851299"; + if (code == AnzscoOccupations._851311) + return "851311"; + if (code == AnzscoOccupations._890000) + return "890000"; + if (code == AnzscoOccupations._891000) + return "891000"; + if (code == AnzscoOccupations._891100) + return "891100"; + if (code == AnzscoOccupations._891111) + return "891111"; + if (code == AnzscoOccupations._891112) + return "891112"; + if (code == AnzscoOccupations._891113) + return "891113"; + if (code == AnzscoOccupations._891211) + return "891211"; + if (code == AnzscoOccupations._899000) + return "899000"; + if (code == AnzscoOccupations._899111) + return "899111"; + if (code == AnzscoOccupations._899200) + return "899200"; + if (code == AnzscoOccupations._899211) + return "899211"; + if (code == AnzscoOccupations._899212) + return "899212"; + if (code == AnzscoOccupations._899311) + return "899311"; + if (code == AnzscoOccupations._899400) + return "899400"; + if (code == AnzscoOccupations._899411) + return "899411"; + if (code == AnzscoOccupations._899412) + return "899412"; + if (code == AnzscoOccupations._899413) + return "899413"; + if (code == AnzscoOccupations._899414) + return "899414"; + if (code == AnzscoOccupations._899415) + return "899415"; + if (code == AnzscoOccupations._899500) + return "899500"; + if (code == AnzscoOccupations._899511) + return "899511"; + if (code == AnzscoOccupations._899512) + return "899512"; + if (code == AnzscoOccupations._899611) + return "899611"; + if (code == AnzscoOccupations._899711) + return "899711"; + if (code == AnzscoOccupations._899900) + return "899900"; + if (code == AnzscoOccupations._899911) + return "899911"; + if (code == AnzscoOccupations._899912) + return "899912"; + if (code == AnzscoOccupations._899913) + return "899913"; + if (code == AnzscoOccupations._899914) + return "899914"; + if (code == AnzscoOccupations._899915) + return "899915"; + if (code == AnzscoOccupations._899916) + return "899916"; + if (code == AnzscoOccupations._899917) + return "899917"; + if (code == AnzscoOccupations._899918) + return "899918"; + if (code == AnzscoOccupations._899921) + return "899921"; + if (code == AnzscoOccupations._899922) + return "899922"; + if (code == AnzscoOccupations._899999) + return "899999"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceType.java new file mode 100644 index 00000000000..64a95e84821 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceType.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum AuditSourceType { + + /** + * End-user display device, diagnostic device + */ + _1, + /** + * Data acquisition device or instrument + */ + _2, + /** + * Web Server process or thread + */ + _3, + /** + * Application Server process or thread + */ + _4, + /** + * Database Server process or thread + */ + _5, + /** + * Security server, e.g., a domain controller + */ + _6, + /** + * ISO level 1-3 network component + */ + _7, + /** + * ISO level 4-6 operating software + */ + _8, + /** + * other kind of device (defined by DICOM, but some other code/system can be used) + */ + _9, + /** + * added to help the parsers + */ + NULL; + public static AuditSourceType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return _1; + if ("2".equals(codeString)) + return _2; + if ("3".equals(codeString)) + return _3; + if ("4".equals(codeString)) + return _4; + if ("5".equals(codeString)) + return _5; + if ("6".equals(codeString)) + return _6; + if ("7".equals(codeString)) + return _7; + if ("8".equals(codeString)) + return _8; + if ("9".equals(codeString)) + return _9; + throw new Exception("Unknown AuditSourceType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + case _6: return "6"; + case _7: return "7"; + case _8: return "8"; + case _9: return "9"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/security-source-type"; + } + public String getDefinition() { + switch (this) { + case _1: return "End-user display device, diagnostic device"; + case _2: return "Data acquisition device or instrument"; + case _3: return "Web Server process or thread"; + case _4: return "Application Server process or thread"; + case _5: return "Database Server process or thread"; + case _6: return "Security server, e.g., a domain controller"; + case _7: return "ISO level 1-3 network component"; + case _8: return "ISO level 4-6 operating software"; + case _9: return "other kind of device (defined by DICOM, but some other code/system can be used)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1: return "User Device"; + case _2: return "Data Interface"; + case _3: return "Web Server"; + case _4: return "Application Server"; + case _5: return "Database Server"; + case _6: return "Security Server"; + case _7: return "Network Device"; + case _8: return "Network Router"; + case _9: return "Other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceTypeEnumFactory.java new file mode 100644 index 00000000000..3f9c00dd348 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/AuditSourceTypeEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class AuditSourceTypeEnumFactory implements EnumFactory { + + public AuditSourceType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return AuditSourceType._1; + if ("2".equals(codeString)) + return AuditSourceType._2; + if ("3".equals(codeString)) + return AuditSourceType._3; + if ("4".equals(codeString)) + return AuditSourceType._4; + if ("5".equals(codeString)) + return AuditSourceType._5; + if ("6".equals(codeString)) + return AuditSourceType._6; + if ("7".equals(codeString)) + return AuditSourceType._7; + if ("8".equals(codeString)) + return AuditSourceType._8; + if ("9".equals(codeString)) + return AuditSourceType._9; + throw new IllegalArgumentException("Unknown AuditSourceType code '"+codeString+"'"); + } + + public String toCode(AuditSourceType code) { + if (code == AuditSourceType._1) + return "1"; + if (code == AuditSourceType._2) + return "2"; + if (code == AuditSourceType._3) + return "3"; + if (code == AuditSourceType._4) + return "4"; + if (code == AuditSourceType._5) + return "5"; + if (code == AuditSourceType._6) + return "6"; + if (code == AuditSourceType._7) + return "7"; + if (code == AuditSourceType._8) + return "8"; + if (code == AuditSourceType._9) + return "9"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceType.java new file mode 100644 index 00000000000..ca2563c3394 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceType.java @@ -0,0 +1,229 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum BasicResourceType { + + /** + * An assertion of permission for an activity or set of activities to occur, possibly subject to particular limitations. E.g. surgical consent, information disclosure consent, etc. + */ + CONSENT, + /** + * A request that care of a particular type be provided to a patient. Could involve the transfer of care, a consult, etc. + */ + REFERRAL, + /** + * A bounded time-period when a particular set of resources (practioners, devices and/or locations) is available for the delivery of healthcare services. Used for scheduling. + */ + SLOT, + /** + * An undesired reaction caused by exposure to some agent (e.g., a medication, immunization, food, or environmental agent). + */ + ADVEVENT, + /** + * A request that a time be scheduled for a type of service for a specified patient, potentially subject to other constraints + */ + APTMTREQ, + /** + * The transition of a patient or set of material from one location to another + */ + TRANSFER, + /** + * The specification of a set of food and/or other nutritonal material to be delivered to a patient. + */ + DIET, + /** + * An occurrence of a non-care-related event in the healthcare domain, such as approvals, reviews, etc. + */ + ADMINACT, + /** + * Record of a situation where a subject was exposed to a substance. Usually of interest to public health. + */ + EXPOSURE, + /** + * A formalized inquiry into the circumstances surrounding a particular unplanned event or potential event for the purposes of identifying possible causes and contributing factors for the event + */ + INVESTIGATION, + /** + * A financial instrument used to track costs, charges or other amounts. + */ + ACCOUNT, + /** + * A request for payment for goods and/or services. Includes the idea of a healthcare insurance claim. + */ + INVOICE, + /** + * The determination of what will be paid against a particular invoice based on coverage, plan rules, etc. + */ + ADJUDICAT, + /** + * A record of a transfer of funds between accounts and/or individuals + */ + PAYMENT, + /** + * A request for a predication of the cost that would be paid under an insurance plan for a hypothetical claim for goods or services + */ + PREDETREQ, + /** + * An adjudication of what would be paid under an insurance plan for a hypothetical claim for goods or services + */ + PREDETERMINE, + /** + * An investigation to determine information about a particular therapy or product + */ + STUDY, + /** + * A set of (possibly conditional) steps to be taken to achieve some aim. Includes study protocols, treatment protocols, emergency protocols, etc. + */ + PROTOCOL, + /** + * added to help the parsers + */ + NULL; + public static BasicResourceType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("CONSENT".equals(codeString)) + return CONSENT; + if ("REFERRAL".equals(codeString)) + return REFERRAL; + if ("SLOT".equals(codeString)) + return SLOT; + if ("ADVEVENT".equals(codeString)) + return ADVEVENT; + if ("APTMTREQ".equals(codeString)) + return APTMTREQ; + if ("TRANSFER".equals(codeString)) + return TRANSFER; + if ("DIET".equals(codeString)) + return DIET; + if ("ADMINACT".equals(codeString)) + return ADMINACT; + if ("EXPOSURE".equals(codeString)) + return EXPOSURE; + if ("INVESTIGATION".equals(codeString)) + return INVESTIGATION; + if ("ACCOUNT".equals(codeString)) + return ACCOUNT; + if ("INVOICE".equals(codeString)) + return INVOICE; + if ("ADJUDICAT".equals(codeString)) + return ADJUDICAT; + if ("PAYMENT".equals(codeString)) + return PAYMENT; + if ("PREDETREQ".equals(codeString)) + return PREDETREQ; + if ("PREDETERMINE".equals(codeString)) + return PREDETERMINE; + if ("STUDY".equals(codeString)) + return STUDY; + if ("PROTOCOL".equals(codeString)) + return PROTOCOL; + throw new Exception("Unknown BasicResourceType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CONSENT: return "CONSENT"; + case REFERRAL: return "REFERRAL"; + case SLOT: return "SLOT"; + case ADVEVENT: return "ADVEVENT"; + case APTMTREQ: return "APTMTREQ"; + case TRANSFER: return "TRANSFER"; + case DIET: return "DIET"; + case ADMINACT: return "ADMINACT"; + case EXPOSURE: return "EXPOSURE"; + case INVESTIGATION: return "INVESTIGATION"; + case ACCOUNT: return "ACCOUNT"; + case INVOICE: return "INVOICE"; + case ADJUDICAT: return "ADJUDICAT"; + case PAYMENT: return "PAYMENT"; + case PREDETREQ: return "PREDETREQ"; + case PREDETERMINE: return "PREDETERMINE"; + case STUDY: return "STUDY"; + case PROTOCOL: return "PROTOCOL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/basic-resource-type"; + } + public String getDefinition() { + switch (this) { + case CONSENT: return "An assertion of permission for an activity or set of activities to occur, possibly subject to particular limitations. E.g. surgical consent, information disclosure consent, etc."; + case REFERRAL: return "A request that care of a particular type be provided to a patient. Could involve the transfer of care, a consult, etc."; + case SLOT: return "A bounded time-period when a particular set of resources (practioners, devices and/or locations) is available for the delivery of healthcare services. Used for scheduling."; + case ADVEVENT: return "An undesired reaction caused by exposure to some agent (e.g., a medication, immunization, food, or environmental agent)."; + case APTMTREQ: return "A request that a time be scheduled for a type of service for a specified patient, potentially subject to other constraints"; + case TRANSFER: return "The transition of a patient or set of material from one location to another"; + case DIET: return "The specification of a set of food and/or other nutritonal material to be delivered to a patient."; + case ADMINACT: return "An occurrence of a non-care-related event in the healthcare domain, such as approvals, reviews, etc."; + case EXPOSURE: return "Record of a situation where a subject was exposed to a substance. Usually of interest to public health."; + case INVESTIGATION: return "A formalized inquiry into the circumstances surrounding a particular unplanned event or potential event for the purposes of identifying possible causes and contributing factors for the event"; + case ACCOUNT: return "A financial instrument used to track costs, charges or other amounts."; + case INVOICE: return "A request for payment for goods and/or services. Includes the idea of a healthcare insurance claim."; + case ADJUDICAT: return "The determination of what will be paid against a particular invoice based on coverage, plan rules, etc."; + case PAYMENT: return "A record of a transfer of funds between accounts and/or individuals"; + case PREDETREQ: return "A request for a predication of the cost that would be paid under an insurance plan for a hypothetical claim for goods or services"; + case PREDETERMINE: return "An adjudication of what would be paid under an insurance plan for a hypothetical claim for goods or services"; + case STUDY: return "An investigation to determine information about a particular therapy or product"; + case PROTOCOL: return "A set of (possibly conditional) steps to be taken to achieve some aim. Includes study protocols, treatment protocols, emergency protocols, etc."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CONSENT: return "consent"; + case REFERRAL: return "referral"; + case SLOT: return "resource slot"; + case ADVEVENT: return "adverse event"; + case APTMTREQ: return "appointment request"; + case TRANSFER: return "transfer"; + case DIET: return "diet"; + case ADMINACT: return "administrative activity"; + case EXPOSURE: return "exposure"; + case INVESTIGATION: return "investigation"; + case ACCOUNT: return "account"; + case INVOICE: return "invoice"; + case ADJUDICAT: return "invoice adjudication"; + case PAYMENT: return "payment"; + case PREDETREQ: return "predetermination request"; + case PREDETERMINE: return "predetermination"; + case STUDY: return "study"; + case PROTOCOL: return "protocol"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceTypeEnumFactory.java new file mode 100644 index 00000000000..562c168cf69 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BasicResourceTypeEnumFactory.java @@ -0,0 +1,123 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class BasicResourceTypeEnumFactory implements EnumFactory { + + public BasicResourceType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("CONSENT".equals(codeString)) + return BasicResourceType.CONSENT; + if ("REFERRAL".equals(codeString)) + return BasicResourceType.REFERRAL; + if ("SLOT".equals(codeString)) + return BasicResourceType.SLOT; + if ("ADVEVENT".equals(codeString)) + return BasicResourceType.ADVEVENT; + if ("APTMTREQ".equals(codeString)) + return BasicResourceType.APTMTREQ; + if ("TRANSFER".equals(codeString)) + return BasicResourceType.TRANSFER; + if ("DIET".equals(codeString)) + return BasicResourceType.DIET; + if ("ADMINACT".equals(codeString)) + return BasicResourceType.ADMINACT; + if ("EXPOSURE".equals(codeString)) + return BasicResourceType.EXPOSURE; + if ("INVESTIGATION".equals(codeString)) + return BasicResourceType.INVESTIGATION; + if ("ACCOUNT".equals(codeString)) + return BasicResourceType.ACCOUNT; + if ("INVOICE".equals(codeString)) + return BasicResourceType.INVOICE; + if ("ADJUDICAT".equals(codeString)) + return BasicResourceType.ADJUDICAT; + if ("PAYMENT".equals(codeString)) + return BasicResourceType.PAYMENT; + if ("PREDETREQ".equals(codeString)) + return BasicResourceType.PREDETREQ; + if ("PREDETERMINE".equals(codeString)) + return BasicResourceType.PREDETERMINE; + if ("STUDY".equals(codeString)) + return BasicResourceType.STUDY; + if ("PROTOCOL".equals(codeString)) + return BasicResourceType.PROTOCOL; + throw new IllegalArgumentException("Unknown BasicResourceType code '"+codeString+"'"); + } + + public String toCode(BasicResourceType code) { + if (code == BasicResourceType.CONSENT) + return "CONSENT"; + if (code == BasicResourceType.REFERRAL) + return "REFERRAL"; + if (code == BasicResourceType.SLOT) + return "SLOT"; + if (code == BasicResourceType.ADVEVENT) + return "ADVEVENT"; + if (code == BasicResourceType.APTMTREQ) + return "APTMTREQ"; + if (code == BasicResourceType.TRANSFER) + return "TRANSFER"; + if (code == BasicResourceType.DIET) + return "DIET"; + if (code == BasicResourceType.ADMINACT) + return "ADMINACT"; + if (code == BasicResourceType.EXPOSURE) + return "EXPOSURE"; + if (code == BasicResourceType.INVESTIGATION) + return "INVESTIGATION"; + if (code == BasicResourceType.ACCOUNT) + return "ACCOUNT"; + if (code == BasicResourceType.INVOICE) + return "INVOICE"; + if (code == BasicResourceType.ADJUDICAT) + return "ADJUDICAT"; + if (code == BasicResourceType.PAYMENT) + return "PAYMENT"; + if (code == BasicResourceType.PREDETREQ) + return "PREDETREQ"; + if (code == BasicResourceType.PREDETERMINE) + return "PREDETERMINE"; + if (code == BasicResourceType.STUDY) + return "STUDY"; + if (code == BasicResourceType.PROTOCOL) + return "PROTOCOL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformance.java new file mode 100644 index 00000000000..311a25dae72 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformance.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum BindingConformance { + + /** + * Only codes in the specified set are allowed. If the binding is extensible, other codes may be used for concepts not covered by the bound set of codes + */ + REQUIRED, + /** + * For greater interoperability, implementers are strongly encouraged to use the bound set of codes, however alternate codes may be used in derived profiles and implementations if necessary without being considered non-conformant + */ + PREFERRED, + /** + * The codes in the set are an example to illustrate the meaning of the field. There is no particular preference for its use nor any assertion that the provided values are sufficient to meet implementation needs + */ + EXAMPLE, + /** + * added to help the parsers + */ + NULL; + public static BindingConformance fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("required".equals(codeString)) + return REQUIRED; + if ("preferred".equals(codeString)) + return PREFERRED; + if ("example".equals(codeString)) + return EXAMPLE; + throw new Exception("Unknown BindingConformance code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case REQUIRED: return "required"; + case PREFERRED: return "preferred"; + case EXAMPLE: return "example"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/binding-conformance"; + } + public String getDefinition() { + switch (this) { + case REQUIRED: return "Only codes in the specified set are allowed. If the binding is extensible, other codes may be used for concepts not covered by the bound set of codes"; + case PREFERRED: return "For greater interoperability, implementers are strongly encouraged to use the bound set of codes, however alternate codes may be used in derived profiles and implementations if necessary without being considered non-conformant"; + case EXAMPLE: return "The codes in the set are an example to illustrate the meaning of the field. There is no particular preference for its use nor any assertion that the provided values are sufficient to meet implementation needs"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case REQUIRED: return "Required"; + case PREFERRED: return "Preferred"; + case EXAMPLE: return "Example"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformanceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformanceEnumFactory.java new file mode 100644 index 00000000000..97a8ccaadaf --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/BindingConformanceEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class BindingConformanceEnumFactory implements EnumFactory { + + public BindingConformance fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("required".equals(codeString)) + return BindingConformance.REQUIRED; + if ("preferred".equals(codeString)) + return BindingConformance.PREFERRED; + if ("example".equals(codeString)) + return BindingConformance.EXAMPLE; + throw new IllegalArgumentException("Unknown BindingConformance code '"+codeString+"'"); + } + + public String toCode(BindingConformance code) { + if (code == BindingConformance.REQUIRED) + return "required"; + if (code == BindingConformance.PREFERRED) + return "preferred"; + if (code == BindingConformance.EXAMPLE) + return "example"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatus.java new file mode 100644 index 00000000000..c418b8544d9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatus.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum CarePlanGoalStatus { + + /** + * The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again) + */ + INPROGRESS, + /** + * The goal has been met and no further action is needed + */ + ACHIEVED, + /** + * The goal has been met, but ongoing activity is needed to sustain the goal objective + */ + SUSTAINING, + /** + * The goal is no longer being sought + */ + CANCELLED, + /** + * added to help the parsers + */ + NULL; + public static CarePlanGoalStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("in-progress".equals(codeString)) + return INPROGRESS; + if ("achieved".equals(codeString)) + return ACHIEVED; + if ("sustaining".equals(codeString)) + return SUSTAINING; + if ("cancelled".equals(codeString)) + return CANCELLED; + throw new Exception("Unknown CarePlanGoalStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case INPROGRESS: return "in-progress"; + case ACHIEVED: return "achieved"; + case SUSTAINING: return "sustaining"; + case CANCELLED: return "cancelled"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/care-plan-goal-status"; + } + public String getDefinition() { + switch (this) { + case INPROGRESS: return "The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again)"; + case ACHIEVED: return "The goal has been met and no further action is needed"; + case SUSTAINING: return "The goal has been met, but ongoing activity is needed to sustain the goal objective"; + case CANCELLED: return "The goal is no longer being sought"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case INPROGRESS: return "In Progress"; + case ACHIEVED: return "Achieved"; + case SUSTAINING: return "Sustaining"; + case CANCELLED: return "Cancelled"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatusEnumFactory.java new file mode 100644 index 00000000000..51752236b6f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/CarePlanGoalStatusEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class CarePlanGoalStatusEnumFactory implements EnumFactory { + + public CarePlanGoalStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("in-progress".equals(codeString)) + return CarePlanGoalStatus.INPROGRESS; + if ("achieved".equals(codeString)) + return CarePlanGoalStatus.ACHIEVED; + if ("sustaining".equals(codeString)) + return CarePlanGoalStatus.SUSTAINING; + if ("cancelled".equals(codeString)) + return CarePlanGoalStatus.CANCELLED; + throw new IllegalArgumentException("Unknown CarePlanGoalStatus code '"+codeString+"'"); + } + + public String toCode(CarePlanGoalStatus code) { + if (code == CarePlanGoalStatus.INPROGRESS) + return "in-progress"; + if (code == CarePlanGoalStatus.ACHIEVED) + return "achieved"; + if (code == CarePlanGoalStatus.SUSTAINING) + return "sustaining"; + if (code == CarePlanGoalStatus.CANCELLED) + return "cancelled"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContext.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContext.java new file mode 100644 index 00000000000..2afce061d61 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContext.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ClassificationOrContext { + + /** + * Indicates the useContext is a classification - e.g. Administrative, financial, etc. + */ + CLASSIFICATION, + /** + * Indicates the useContext is a context - a domain of use - e.g. Particular country, organization or system + */ + CONTEXT, + /** + * added to help the parsers + */ + NULL; + public static ClassificationOrContext fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("classification".equals(codeString)) + return CLASSIFICATION; + if ("context".equals(codeString)) + return CONTEXT; + throw new Exception("Unknown ClassificationOrContext code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CLASSIFICATION: return "classification"; + case CONTEXT: return "context"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/classification-or-context"; + } + public String getDefinition() { + switch (this) { + case CLASSIFICATION: return "Indicates the useContext is a classification - e.g. Administrative, financial, etc."; + case CONTEXT: return "Indicates the useContext is a context - a domain of use - e.g. Particular country, organization or system"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CLASSIFICATION: return "Classification"; + case CONTEXT: return "Context"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContextEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContextEnumFactory.java new file mode 100644 index 00000000000..4de607cec79 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ClassificationOrContextEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ClassificationOrContextEnumFactory implements EnumFactory { + + public ClassificationOrContext fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("classification".equals(codeString)) + return ClassificationOrContext.CLASSIFICATION; + if ("context".equals(codeString)) + return ClassificationOrContext.CONTEXT; + throw new IllegalArgumentException("Unknown ClassificationOrContext code '"+codeString+"'"); + } + + public String toCode(ClassificationOrContext code) { + if (code == ClassificationOrContext.CLASSIFICATION) + return "classification"; + if (code == ClassificationOrContext.CONTEXT) + return "context"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategory.java new file mode 100644 index 00000000000..890a1fe7eac --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategory.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ConditionCategory { + + /** + * The patient considers the condition an issue to be addressed + */ + COMPLAINT, + /** + * A symptom of a condition (as might be mentioned in a review of systems) + */ + SYMPTOM, + /** + * An observation made by a healthcare provider + */ + FINDING, + /** + * This is a judgment made by a healthcare provider that the patient has a particular disease or condition + */ + DIAGNOSIS, + /** + * added to help the parsers + */ + NULL; + public static ConditionCategory fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("complaint".equals(codeString)) + return COMPLAINT; + if ("symptom".equals(codeString)) + return SYMPTOM; + if ("finding".equals(codeString)) + return FINDING; + if ("diagnosis".equals(codeString)) + return DIAGNOSIS; + throw new Exception("Unknown ConditionCategory code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case COMPLAINT: return "complaint"; + case SYMPTOM: return "symptom"; + case FINDING: return "finding"; + case DIAGNOSIS: return "diagnosis"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/condition-category"; + } + public String getDefinition() { + switch (this) { + case COMPLAINT: return "The patient considers the condition an issue to be addressed"; + case SYMPTOM: return "A symptom of a condition (as might be mentioned in a review of systems)"; + case FINDING: return "An observation made by a healthcare provider"; + case DIAGNOSIS: return "This is a judgment made by a healthcare provider that the patient has a particular disease or condition"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case COMPLAINT: return "Complaint"; + case SYMPTOM: return "Symptom"; + case FINDING: return "Finding"; + case DIAGNOSIS: return "Diagnosis"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategoryEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategoryEnumFactory.java new file mode 100644 index 00000000000..d70458703c4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionCategoryEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ConditionCategoryEnumFactory implements EnumFactory { + + public ConditionCategory fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("complaint".equals(codeString)) + return ConditionCategory.COMPLAINT; + if ("symptom".equals(codeString)) + return ConditionCategory.SYMPTOM; + if ("finding".equals(codeString)) + return ConditionCategory.FINDING; + if ("diagnosis".equals(codeString)) + return ConditionCategory.DIAGNOSIS; + throw new IllegalArgumentException("Unknown ConditionCategory code '"+codeString+"'"); + } + + public String toCode(ConditionCategory code) { + if (code == ConditionCategory.COMPLAINT) + return "complaint"; + if (code == ConditionCategory.SYMPTOM) + return "symptom"; + if (code == ConditionCategory.FINDING) + return "finding"; + if (code == ConditionCategory.DIAGNOSIS) + return "diagnosis"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionState.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionState.java new file mode 100644 index 00000000000..16b5410745c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionState.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ConditionState { + + /** + * The condition is active + */ + ACTIVE, + /** + * The condition inactive but not resolved + */ + INACTIVE, + /** + * The condition is resolved + */ + RESOLVED, + /** + * added to help the parsers + */ + NULL; + public static ConditionState fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return ACTIVE; + if ("inactive".equals(codeString)) + return INACTIVE; + if ("resolved".equals(codeString)) + return RESOLVED; + throw new Exception("Unknown ConditionState code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ACTIVE: return "active"; + case INACTIVE: return "inactive"; + case RESOLVED: return "resolved"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/condition-state"; + } + public String getDefinition() { + switch (this) { + case ACTIVE: return "The condition is active"; + case INACTIVE: return "The condition inactive but not resolved"; + case RESOLVED: return "The condition is resolved"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ACTIVE: return "Active"; + case INACTIVE: return "Inactive"; + case RESOLVED: return "Resolved"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionStateEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionStateEnumFactory.java new file mode 100644 index 00000000000..ae7c7cbefe1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConditionStateEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ConditionStateEnumFactory implements EnumFactory { + + public ConditionState fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return ConditionState.ACTIVE; + if ("inactive".equals(codeString)) + return ConditionState.INACTIVE; + if ("resolved".equals(codeString)) + return ConditionState.RESOLVED; + throw new IllegalArgumentException("Unknown ConditionState code '"+codeString+"'"); + } + + public String toCode(ConditionState code) { + if (code == ConditionState.ACTIVE) + return "active"; + if (code == ConditionState.INACTIVE) + return "inactive"; + if (code == ConditionState.RESOLVED) + return "resolved"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectation.java new file mode 100644 index 00000000000..171d074394f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectation.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ConformanceExpectation { + + /** + * Support for the specified capability is required to be considered conformant + */ + SHALL, + /** + * Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration + */ + SHOULD, + /** + * Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional + */ + MAY, + /** + * Support for the specified capability is strongly discouraged and should occur only after careful consideration + */ + SHOULDNOT, + /** + * added to help the parsers + */ + NULL; + public static ConformanceExpectation fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("SHALL".equals(codeString)) + return SHALL; + if ("SHOULD".equals(codeString)) + return SHOULD; + if ("MAY".equals(codeString)) + return MAY; + if ("SHOULD-NOT".equals(codeString)) + return SHOULDNOT; + throw new Exception("Unknown ConformanceExpectation code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case SHALL: return "SHALL"; + case SHOULD: return "SHOULD"; + case MAY: return "MAY"; + case SHOULDNOT: return "SHOULD-NOT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/conformance-expectation"; + } + public String getDefinition() { + switch (this) { + case SHALL: return "Support for the specified capability is required to be considered conformant"; + case SHOULD: return "Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration"; + case MAY: return "Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional"; + case SHOULDNOT: return "Support for the specified capability is strongly discouraged and should occur only after careful consideration"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case SHALL: return "S H A L L"; + case SHOULD: return "S H O U L D"; + case MAY: return "M A Y"; + case SHOULDNOT: return "S H O U L D N O T"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectationEnumFactory.java new file mode 100644 index 00000000000..82fe3591c0a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ConformanceExpectationEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ConformanceExpectationEnumFactory implements EnumFactory { + + public ConformanceExpectation fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("SHALL".equals(codeString)) + return ConformanceExpectation.SHALL; + if ("SHOULD".equals(codeString)) + return ConformanceExpectation.SHOULD; + if ("MAY".equals(codeString)) + return ConformanceExpectation.MAY; + if ("SHOULD-NOT".equals(codeString)) + return ConformanceExpectation.SHOULDNOT; + throw new IllegalArgumentException("Unknown ConformanceExpectation code '"+codeString+"'"); + } + + public String toCode(ConformanceExpectation code) { + if (code == ConformanceExpectation.SHALL) + return "SHALL"; + if (code == ConformanceExpectation.SHOULD) + return "SHOULD"; + if (code == ConformanceExpectation.MAY) + return "MAY"; + if (code == ConformanceExpectation.SHOULDNOT) + return "SHOULD-NOT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityType.java new file mode 100644 index 00000000000..5731c61ad1e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityType.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContactentityType { + + /** + * Contact details for information regarding to billing/general finance enquiries + */ + BILL, + /** + * Contact details for administrative enquiries + */ + ADMIN, + /** + * Contact details for issues related to Human Resources, such as staff matters, OH&S etc + */ + HR, + /** + * Contact details for dealing with issues related to insurance claims/adjudication/payment + */ + PAYOR, + /** + * Generic information contact for patients + */ + PATINF, + /** + * Dedicated contact point for matters relating to press enquiries + */ + PRESS, + /** + * added to help the parsers + */ + NULL; + public static ContactentityType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("BILL".equals(codeString)) + return BILL; + if ("ADMIN".equals(codeString)) + return ADMIN; + if ("HR".equals(codeString)) + return HR; + if ("PAYOR".equals(codeString)) + return PAYOR; + if ("PATINF".equals(codeString)) + return PATINF; + if ("PRESS".equals(codeString)) + return PRESS; + throw new Exception("Unknown ContactentityType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BILL: return "BILL"; + case ADMIN: return "ADMIN"; + case HR: return "HR"; + case PAYOR: return "PAYOR"; + case PATINF: return "PATINF"; + case PRESS: return "PRESS"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contactentity-type"; + } + public String getDefinition() { + switch (this) { + case BILL: return "Contact details for information regarding to billing/general finance enquiries"; + case ADMIN: return "Contact details for administrative enquiries"; + case HR: return "Contact details for issues related to Human Resources, such as staff matters, OH&S etc"; + case PAYOR: return "Contact details for dealing with issues related to insurance claims/adjudication/payment"; + case PATINF: return "Generic information contact for patients"; + case PRESS: return "Dedicated contact point for matters relating to press enquiries"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BILL: return "Billing"; + case ADMIN: return "Administrative"; + case HR: return "Human Resource"; + case PAYOR: return "Payor"; + case PATINF: return "Patient"; + case PRESS: return "Press"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityTypeEnumFactory.java new file mode 100644 index 00000000000..fa1a4c2192f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContactentityTypeEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContactentityTypeEnumFactory implements EnumFactory { + + public ContactentityType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("BILL".equals(codeString)) + return ContactentityType.BILL; + if ("ADMIN".equals(codeString)) + return ContactentityType.ADMIN; + if ("HR".equals(codeString)) + return ContactentityType.HR; + if ("PAYOR".equals(codeString)) + return ContactentityType.PAYOR; + if ("PATINF".equals(codeString)) + return ContactentityType.PATINF; + if ("PRESS".equals(codeString)) + return ContactentityType.PRESS; + throw new IllegalArgumentException("Unknown ContactentityType code '"+codeString+"'"); + } + + public String toCode(ContactentityType code) { + if (code == ContactentityType.BILL) + return "BILL"; + if (code == ContactentityType.ADMIN) + return "ADMIN"; + if (code == ContactentityType.HR) + return "HR"; + if (code == ContactentityType.PAYOR) + return "PAYOR"; + if (code == ContactentityType.PATINF) + return "PATINF"; + if (code == ContactentityType.PRESS) + return "PRESS"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractAction.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractAction.java new file mode 100644 index 00000000000..28b0c598d71 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractAction.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractAction { + + /** + * null + */ + ACTIONA, + /** + * null + */ + ACTIONB, + /** + * added to help the parsers + */ + NULL; + public static ContractAction fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("action-a".equals(codeString)) + return ACTIONA; + if ("action-b".equals(codeString)) + return ACTIONB; + throw new Exception("Unknown ContractAction code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ACTIONA: return "action-a"; + case ACTIONB: return "action-b"; + default: return "?"; + } + } + public String getSystem() { + return "http://www.hl7.org/fhir/contractaction"; + } + public String getDefinition() { + switch (this) { + case ACTIONA: return ""; + case ACTIONB: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ACTIONA: return "action-a"; + case ACTIONB: return "action-b"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActionEnumFactory.java new file mode 100644 index 00000000000..bc9f7e1fb34 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActionEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractActionEnumFactory implements EnumFactory { + + public ContractAction fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("action-a".equals(codeString)) + return ContractAction.ACTIONA; + if ("action-b".equals(codeString)) + return ContractAction.ACTIONB; + throw new IllegalArgumentException("Unknown ContractAction code '"+codeString+"'"); + } + + public String toCode(ContractAction code) { + if (code == ContractAction.ACTIONA) + return "action-a"; + if (code == ContractAction.ACTIONB) + return "action-b"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorrole.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorrole.java new file mode 100644 index 00000000000..87dcd35478d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorrole.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractActorrole { + + /** + * null + */ + PRACTITIONER, + /** + * null + */ + PATIENT, + /** + * added to help the parsers + */ + NULL; + public static ContractActorrole fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("practitioner".equals(codeString)) + return PRACTITIONER; + if ("patient".equals(codeString)) + return PATIENT; + throw new Exception("Unknown ContractActorrole code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PRACTITIONER: return "practitioner"; + case PATIENT: return "patient"; + default: return "?"; + } + } + public String getSystem() { + return "http://www.hl7.org/fhir/contractactorrole"; + } + public String getDefinition() { + switch (this) { + case PRACTITIONER: return ""; + case PATIENT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PRACTITIONER: return "practitioner"; + case PATIENT: return "patient"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorroleEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorroleEnumFactory.java new file mode 100644 index 00000000000..8acaf4b9ca2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractActorroleEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractActorroleEnumFactory implements EnumFactory { + + public ContractActorrole fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("practitioner".equals(codeString)) + return ContractActorrole.PRACTITIONER; + if ("patient".equals(codeString)) + return ContractActorrole.PATIENT; + throw new IllegalArgumentException("Unknown ContractActorrole code '"+codeString+"'"); + } + + public String toCode(ContractActorrole code) { + if (code == ContractActorrole.PRACTITIONER) + return "practitioner"; + if (code == ContractActorrole.PATIENT) + return "patient"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerType.java new file mode 100644 index 00000000000..49f48070479 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerType.java @@ -0,0 +1,220 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractSignerType { + + /** + * the signature of the primary or sole author of a health information document. There can be only one primary author of a health information document. + */ + OID_1_2_840_10065_1_12_1_1, + /** + * the signature of a health information document coauthor. There can be multiple coauthors of a health information document. + */ + OID_1_2_840_10065_1_12_1_2, + /** + * the signature of an individual who is a participant in the health information document but is not an author or coauthor. (Example a surgeon who is required by institutional, regulatory, or legal rules to sign an operative report, but who was not involved in the authorship of that report.) + */ + OID_1_2_840_10065_1_12_1_3, + /** + * the signature of an individual who has transcribed a dictated document or recorded written text into a digital machine readable format. + */ + OID_1_2_840_10065_1_12_1_4, + /** + * a signature verifying the information contained in a document. (Example a physician is required to countersign a verbal order that has previously been recorded in the medical record by a registered nurse who has carried out the verbal order.) + */ + OID_1_2_840_10065_1_12_1_5, + /** + * a signature validating a health information document for inclusion in the patient record. (Example a medical student or resident is credentialed to perform history or physical examinations and to write progress notes. The attending physician signs the history and physical examination to validate the entry for inclusion in the patient's medical record.) + */ + OID_1_2_840_10065_1_12_1_6, + /** + * the signature of an individual consenting to what is described in a health information document. + */ + OID_1_2_840_10065_1_12_1_7, + /** + * the signature of a witness to any other signature. + */ + OID_1_2_840_10065_1_12_1_8, + /** + * the signature of a witness to an event. (Example the witness has observed a procedure and is attesting to this fact.) + */ + OID_1_2_840_10065_1_12_1_9, + /** + * the signature of an individual who has witnessed another individual who is known to them signing a document. (Example the identity witness is a notary public.) + */ + OID_1_2_840_10065_1_12_1_10, + /** + * the signature of an individual who has witnessed the health care provider counselling a patient. + */ + OID_1_2_840_10065_1_12_1_11, + /** + * the signature of an individual who has translated health care information during an event or the obtaining of consent to a treatment. + */ + OID_1_2_840_10065_1_12_1_12, + /** + * the signature of a person, device, or algorithm that has reviewed or filtered data for inclusion into the patient record. ( Examples: (1) a medical records clerk who scans a document for inclusion in the medical record, enters header information, or catalogues and classifies the data, or a combination thereof; (2) a gateway that receives data from another computer system and interprets that data or changes its format, or both, before entering it into the patient record.) + */ + OID_1_2_840_10065_1_12_1_13, + /** + * the signature of an automated data source. (Examples: (1) the signature for an image that is generated by a device for inclusion in the patient record; (2) the signature for an ECG derived by an ECG system for inclusion in the patient record; (3) the data from a biomedical monitoring device or system that is for inclusion in the patient record.) + */ + OID_1_2_840_10065_1_12_1_14, + /** + * the signature on a new amended document of an individual who has corrected, edited, or amended an original health information document. An addendum signature can either be a signature type or a signature sub-type (see 8.1). Any document with an addendum signature shall have a companion document that is the original document with its original, unaltered content, and original signatures. The original document shall be referenced via an attribute in the new document, which contains, for example, the digest of the old document. Whether the original, unaltered, document is always displayed with the addended document is a local matter, but the original, unaltered, document must remain as part of the patient record and be retrievable on demand. + */ + OID_1_2_840_10065_1_12_1_15, + /** + * the signature on an original document of an individual who has generated a new amended document. This (original) document shall reference the new document via an additional signature purpose. This is the inverse of an addendum signature and provides a pointer from the original to the amended document. + */ + OID_1_2_840_10065_1_12_1_16, + /** + * the signature of an individual who is certifying that the document is invalidated by an error(s), or is placed in the wrong chart. An administrative (error/edit) signature must include an addendum to the document and therefore shall have an addendum signature sub-type (see 8.1). This signature is reserved for the highest health information system administrative classification, since it is a statement that the entire document is invalidated by the error and that the document should no longer be used for patient care, although for legal reasons the document must remain part of the permanent patient record. + */ + OID_1_2_840_10065_1_12_1_17, + /** + * added to help the parsers + */ + NULL; + public static ContractSignerType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1.2.840.10065.1.12.1.1".equals(codeString)) + return OID_1_2_840_10065_1_12_1_1; + if ("1.2.840.10065.1.12.1.2".equals(codeString)) + return OID_1_2_840_10065_1_12_1_2; + if ("1.2.840.10065.1.12.1.3".equals(codeString)) + return OID_1_2_840_10065_1_12_1_3; + if ("1.2.840.10065.1.12.1.4".equals(codeString)) + return OID_1_2_840_10065_1_12_1_4; + if ("1.2.840.10065.1.12.1.5".equals(codeString)) + return OID_1_2_840_10065_1_12_1_5; + if ("1.2.840.10065.1.12.1.6".equals(codeString)) + return OID_1_2_840_10065_1_12_1_6; + if ("1.2.840.10065.1.12.1.7".equals(codeString)) + return OID_1_2_840_10065_1_12_1_7; + if ("1.2.840.10065.1.12.1.8".equals(codeString)) + return OID_1_2_840_10065_1_12_1_8; + if ("1.2.840.10065.1.12.1.9".equals(codeString)) + return OID_1_2_840_10065_1_12_1_9; + if ("1.2.840.10065.1.12.1.10".equals(codeString)) + return OID_1_2_840_10065_1_12_1_10; + if ("1.2.840.10065.1.12.1.11".equals(codeString)) + return OID_1_2_840_10065_1_12_1_11; + if ("1.2.840.10065.1.12.1.12".equals(codeString)) + return OID_1_2_840_10065_1_12_1_12; + if ("1.2.840.10065.1.12.1.13".equals(codeString)) + return OID_1_2_840_10065_1_12_1_13; + if ("1.2.840.10065.1.12.1.14".equals(codeString)) + return OID_1_2_840_10065_1_12_1_14; + if ("1.2.840.10065.1.12.1.15".equals(codeString)) + return OID_1_2_840_10065_1_12_1_15; + if ("1.2.840.10065.1.12.1.16".equals(codeString)) + return OID_1_2_840_10065_1_12_1_16; + if ("1.2.840.10065.1.12.1.17".equals(codeString)) + return OID_1_2_840_10065_1_12_1_17; + throw new Exception("Unknown ContractSignerType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case OID_1_2_840_10065_1_12_1_1: return "1.2.840.10065.1.12.1.1"; + case OID_1_2_840_10065_1_12_1_2: return "1.2.840.10065.1.12.1.2"; + case OID_1_2_840_10065_1_12_1_3: return "1.2.840.10065.1.12.1.3"; + case OID_1_2_840_10065_1_12_1_4: return "1.2.840.10065.1.12.1.4"; + case OID_1_2_840_10065_1_12_1_5: return "1.2.840.10065.1.12.1.5"; + case OID_1_2_840_10065_1_12_1_6: return "1.2.840.10065.1.12.1.6"; + case OID_1_2_840_10065_1_12_1_7: return "1.2.840.10065.1.12.1.7"; + case OID_1_2_840_10065_1_12_1_8: return "1.2.840.10065.1.12.1.8"; + case OID_1_2_840_10065_1_12_1_9: return "1.2.840.10065.1.12.1.9"; + case OID_1_2_840_10065_1_12_1_10: return "1.2.840.10065.1.12.1.10"; + case OID_1_2_840_10065_1_12_1_11: return "1.2.840.10065.1.12.1.11"; + case OID_1_2_840_10065_1_12_1_12: return "1.2.840.10065.1.12.1.12"; + case OID_1_2_840_10065_1_12_1_13: return "1.2.840.10065.1.12.1.13"; + case OID_1_2_840_10065_1_12_1_14: return "1.2.840.10065.1.12.1.14"; + case OID_1_2_840_10065_1_12_1_15: return "1.2.840.10065.1.12.1.15"; + case OID_1_2_840_10065_1_12_1_16: return "1.2.840.10065.1.12.1.16"; + case OID_1_2_840_10065_1_12_1_17: return "1.2.840.10065.1.12.1.17"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contractsignertypecodes"; + } + public String getDefinition() { + switch (this) { + case OID_1_2_840_10065_1_12_1_1: return "the signature of the primary or sole author of a health information document. There can be only one primary author of a health information document."; + case OID_1_2_840_10065_1_12_1_2: return "the signature of a health information document coauthor. There can be multiple coauthors of a health information document."; + case OID_1_2_840_10065_1_12_1_3: return "the signature of an individual who is a participant in the health information document but is not an author or coauthor. (Example a surgeon who is required by institutional, regulatory, or legal rules to sign an operative report, but who was not involved in the authorship of that report.)"; + case OID_1_2_840_10065_1_12_1_4: return "the signature of an individual who has transcribed a dictated document or recorded written text into a digital machine readable format."; + case OID_1_2_840_10065_1_12_1_5: return "a signature verifying the information contained in a document. (Example a physician is required to countersign a verbal order that has previously been recorded in the medical record by a registered nurse who has carried out the verbal order.)"; + case OID_1_2_840_10065_1_12_1_6: return "a signature validating a health information document for inclusion in the patient record. (Example a medical student or resident is credentialed to perform history or physical examinations and to write progress notes. The attending physician signs the history and physical examination to validate the entry for inclusion in the patient's medical record.)"; + case OID_1_2_840_10065_1_12_1_7: return "the signature of an individual consenting to what is described in a health information document."; + case OID_1_2_840_10065_1_12_1_8: return "the signature of a witness to any other signature."; + case OID_1_2_840_10065_1_12_1_9: return "the signature of a witness to an event. (Example the witness has observed a procedure and is attesting to this fact.)"; + case OID_1_2_840_10065_1_12_1_10: return "the signature of an individual who has witnessed another individual who is known to them signing a document. (Example the identity witness is a notary public.)"; + case OID_1_2_840_10065_1_12_1_11: return "the signature of an individual who has witnessed the health care provider counselling a patient."; + case OID_1_2_840_10065_1_12_1_12: return "the signature of an individual who has translated health care information during an event or the obtaining of consent to a treatment."; + case OID_1_2_840_10065_1_12_1_13: return "the signature of a person, device, or algorithm that has reviewed or filtered data for inclusion into the patient record. ( Examples: (1) a medical records clerk who scans a document for inclusion in the medical record, enters header information, or catalogues and classifies the data, or a combination thereof; (2) a gateway that receives data from another computer system and interprets that data or changes its format, or both, before entering it into the patient record.)"; + case OID_1_2_840_10065_1_12_1_14: return "the signature of an automated data source. (Examples: (1) the signature for an image that is generated by a device for inclusion in the patient record; (2) the signature for an ECG derived by an ECG system for inclusion in the patient record; (3) the data from a biomedical monitoring device or system that is for inclusion in the patient record.)"; + case OID_1_2_840_10065_1_12_1_15: return "the signature on a new amended document of an individual who has corrected, edited, or amended an original health information document. An addendum signature can either be a signature type or a signature sub-type (see 8.1). Any document with an addendum signature shall have a companion document that is the original document with its original, unaltered content, and original signatures. The original document shall be referenced via an attribute in the new document, which contains, for example, the digest of the old document. Whether the original, unaltered, document is always displayed with the addended document is a local matter, but the original, unaltered, document must remain as part of the patient record and be retrievable on demand."; + case OID_1_2_840_10065_1_12_1_16: return "the signature on an original document of an individual who has generated a new amended document. This (original) document shall reference the new document via an additional signature purpose. This is the inverse of an addendum signature and provides a pointer from the original to the amended document."; + case OID_1_2_840_10065_1_12_1_17: return "the signature of an individual who is certifying that the document is invalidated by an error(s), or is placed in the wrong chart. An administrative (error/edit) signature must include an addendum to the document and therefore shall have an addendum signature sub-type (see 8.1). This signature is reserved for the highest health information system administrative classification, since it is a statement that the entire document is invalidated by the error and that the document should no longer be used for patient care, although for legal reasons the document must remain part of the permanent patient record."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case OID_1_2_840_10065_1_12_1_1: return "AuthorID"; + case OID_1_2_840_10065_1_12_1_2: return "Co-AuthorID"; + case OID_1_2_840_10065_1_12_1_3: return "Co-Participated"; + case OID_1_2_840_10065_1_12_1_4: return "Transcriptionist"; + case OID_1_2_840_10065_1_12_1_5: return "Verification"; + case OID_1_2_840_10065_1_12_1_6: return "Validation"; + case OID_1_2_840_10065_1_12_1_7: return "Consent"; + case OID_1_2_840_10065_1_12_1_8: return "Witness"; + case OID_1_2_840_10065_1_12_1_9: return "Event-Witness"; + case OID_1_2_840_10065_1_12_1_10: return "Identity-Witness"; + case OID_1_2_840_10065_1_12_1_11: return "Consent-Witness"; + case OID_1_2_840_10065_1_12_1_12: return "Interpreter"; + case OID_1_2_840_10065_1_12_1_13: return "Review"; + case OID_1_2_840_10065_1_12_1_14: return "Source"; + case OID_1_2_840_10065_1_12_1_15: return "Addendum"; + case OID_1_2_840_10065_1_12_1_16: return "Administrative"; + case OID_1_2_840_10065_1_12_1_17: return "Timestamp"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerTypeEnumFactory.java new file mode 100644 index 00000000000..208424623a7 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSignerTypeEnumFactory.java @@ -0,0 +1,119 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractSignerTypeEnumFactory implements EnumFactory { + + public ContractSignerType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1.2.840.10065.1.12.1.1".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_1; + if ("1.2.840.10065.1.12.1.2".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_2; + if ("1.2.840.10065.1.12.1.3".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_3; + if ("1.2.840.10065.1.12.1.4".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_4; + if ("1.2.840.10065.1.12.1.5".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_5; + if ("1.2.840.10065.1.12.1.6".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_6; + if ("1.2.840.10065.1.12.1.7".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_7; + if ("1.2.840.10065.1.12.1.8".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_8; + if ("1.2.840.10065.1.12.1.9".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_9; + if ("1.2.840.10065.1.12.1.10".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_10; + if ("1.2.840.10065.1.12.1.11".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_11; + if ("1.2.840.10065.1.12.1.12".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_12; + if ("1.2.840.10065.1.12.1.13".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_13; + if ("1.2.840.10065.1.12.1.14".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_14; + if ("1.2.840.10065.1.12.1.15".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_15; + if ("1.2.840.10065.1.12.1.16".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_16; + if ("1.2.840.10065.1.12.1.17".equals(codeString)) + return ContractSignerType.OID_1_2_840_10065_1_12_1_17; + throw new IllegalArgumentException("Unknown ContractSignerType code '"+codeString+"'"); + } + + public String toCode(ContractSignerType code) { + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_1) + return "1.2.840.10065.1.12.1.1"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_2) + return "1.2.840.10065.1.12.1.2"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_3) + return "1.2.840.10065.1.12.1.3"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_4) + return "1.2.840.10065.1.12.1.4"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_5) + return "1.2.840.10065.1.12.1.5"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_6) + return "1.2.840.10065.1.12.1.6"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_7) + return "1.2.840.10065.1.12.1.7"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_8) + return "1.2.840.10065.1.12.1.8"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_9) + return "1.2.840.10065.1.12.1.9"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_10) + return "1.2.840.10065.1.12.1.10"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_11) + return "1.2.840.10065.1.12.1.11"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_12) + return "1.2.840.10065.1.12.1.12"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_13) + return "1.2.840.10065.1.12.1.13"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_14) + return "1.2.840.10065.1.12.1.14"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_15) + return "1.2.840.10065.1.12.1.15"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_16) + return "1.2.840.10065.1.12.1.16"; + if (code == ContractSignerType.OID_1_2_840_10065_1_12_1_17) + return "1.2.840.10065.1.12.1.17"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtype.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtype.java new file mode 100644 index 00000000000..9f7b705b60e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtype.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractSubtype { + + /** + * null + */ + DISCLOSURECA, + /** + * null + */ + DISCLOSUREUS, + /** + * added to help the parsers + */ + NULL; + public static ContractSubtype fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("disclosure-CA".equals(codeString)) + return DISCLOSURECA; + if ("disclosure-US".equals(codeString)) + return DISCLOSUREUS; + throw new Exception("Unknown ContractSubtype code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DISCLOSURECA: return "disclosure-CA"; + case DISCLOSUREUS: return "disclosure-US"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contractsubtypecodes"; + } + public String getDefinition() { + switch (this) { + case DISCLOSURECA: return ""; + case DISCLOSUREUS: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DISCLOSURECA: return "disclosure-CA"; + case DISCLOSUREUS: return "disclosure-US"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtypeEnumFactory.java new file mode 100644 index 00000000000..4dbba28e5a9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractSubtypeEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractSubtypeEnumFactory implements EnumFactory { + + public ContractSubtype fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("disclosure-CA".equals(codeString)) + return ContractSubtype.DISCLOSURECA; + if ("disclosure-US".equals(codeString)) + return ContractSubtype.DISCLOSUREUS; + throw new IllegalArgumentException("Unknown ContractSubtype code '"+codeString+"'"); + } + + public String toCode(ContractSubtype code) { + if (code == ContractSubtype.DISCLOSURECA) + return "disclosure-CA"; + if (code == ContractSubtype.DISCLOSUREUS) + return "disclosure-US"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtype.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtype.java new file mode 100644 index 00000000000..5c80297428f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtype.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractTermSubtype { + + /** + * null + */ + ORALHEALTHBASIC, + /** + * null + */ + ORALHEALTHMAJOR, + /** + * null + */ + ORALHEALTHORTHODONTIC, + /** + * added to help the parsers + */ + NULL; + public static ContractTermSubtype fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("OralHealth-Basic".equals(codeString)) + return ORALHEALTHBASIC; + if ("OralHealth-Major".equals(codeString)) + return ORALHEALTHMAJOR; + if ("OralHealth-Orthodontic".equals(codeString)) + return ORALHEALTHORTHODONTIC; + throw new Exception("Unknown ContractTermSubtype code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ORALHEALTHBASIC: return "OralHealth-Basic"; + case ORALHEALTHMAJOR: return "OralHealth-Major"; + case ORALHEALTHORTHODONTIC: return "OralHealth-Orthodontic"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contracttermsubtypecodes"; + } + public String getDefinition() { + switch (this) { + case ORALHEALTHBASIC: return ""; + case ORALHEALTHMAJOR: return ""; + case ORALHEALTHORTHODONTIC: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ORALHEALTHBASIC: return "OralHealth-Basic"; + case ORALHEALTHMAJOR: return "OralHealth-Major"; + case ORALHEALTHORTHODONTIC: return "OralHealth-Orthodontic"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtypeEnumFactory.java new file mode 100644 index 00000000000..2827b00830f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermSubtypeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractTermSubtypeEnumFactory implements EnumFactory { + + public ContractTermSubtype fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("OralHealth-Basic".equals(codeString)) + return ContractTermSubtype.ORALHEALTHBASIC; + if ("OralHealth-Major".equals(codeString)) + return ContractTermSubtype.ORALHEALTHMAJOR; + if ("OralHealth-Orthodontic".equals(codeString)) + return ContractTermSubtype.ORALHEALTHORTHODONTIC; + throw new IllegalArgumentException("Unknown ContractTermSubtype code '"+codeString+"'"); + } + + public String toCode(ContractTermSubtype code) { + if (code == ContractTermSubtype.ORALHEALTHBASIC) + return "OralHealth-Basic"; + if (code == ContractTermSubtype.ORALHEALTHMAJOR) + return "OralHealth-Major"; + if (code == ContractTermSubtype.ORALHEALTHORTHODONTIC) + return "OralHealth-Orthodontic"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermType.java new file mode 100644 index 00000000000..6d92c021090 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermType.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractTermType { + + /** + * null + */ + ORALHEALTH, + /** + * null + */ + VISION, + /** + * added to help the parsers + */ + NULL; + public static ContractTermType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("OralHealth".equals(codeString)) + return ORALHEALTH; + if ("Vision".equals(codeString)) + return VISION; + throw new Exception("Unknown ContractTermType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ORALHEALTH: return "OralHealth"; + case VISION: return "Vision"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contracttermtypecodes"; + } + public String getDefinition() { + switch (this) { + case ORALHEALTH: return ""; + case VISION: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ORALHEALTH: return "OralHealth"; + case VISION: return "Vision"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermTypeEnumFactory.java new file mode 100644 index 00000000000..c939dad399b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTermTypeEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractTermTypeEnumFactory implements EnumFactory { + + public ContractTermType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("OralHealth".equals(codeString)) + return ContractTermType.ORALHEALTH; + if ("Vision".equals(codeString)) + return ContractTermType.VISION; + throw new IllegalArgumentException("Unknown ContractTermType code '"+codeString+"'"); + } + + public String toCode(ContractTermType code) { + if (code == ContractTermType.ORALHEALTH) + return "OralHealth"; + if (code == ContractTermType.VISION) + return "Vision"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractType.java new file mode 100644 index 00000000000..a1080f68137 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractType.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ContractType { + + /** + * null + */ + PRIVACY, + /** + * null + */ + DISCLOSURE, + /** + * added to help the parsers + */ + NULL; + public static ContractType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("privacy".equals(codeString)) + return PRIVACY; + if ("disclosure".equals(codeString)) + return DISCLOSURE; + throw new Exception("Unknown ContractType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PRIVACY: return "privacy"; + case DISCLOSURE: return "disclosure"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contracttypecodes"; + } + public String getDefinition() { + switch (this) { + case PRIVACY: return ""; + case DISCLOSURE: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PRIVACY: return "privacy"; + case DISCLOSURE: return "disclosure"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTypeEnumFactory.java new file mode 100644 index 00000000000..0791c393ed8 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ContractTypeEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ContractTypeEnumFactory implements EnumFactory { + + public ContractType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("privacy".equals(codeString)) + return ContractType.PRIVACY; + if ("disclosure".equals(codeString)) + return ContractType.DISCLOSURE; + throw new IllegalArgumentException("Unknown ContractType code '"+codeString+"'"); + } + + public String toCode(ContractType code) { + if (code == ContractType.PRIVACY) + return "privacy"; + if (code == ContractType.DISCLOSURE) + return "disclosure"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceAction.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceAction.java new file mode 100644 index 00000000000..ad632e11ae7 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceAction.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum DeviceAction { + + /** + * The device was implanted in the patient during the procedure + */ + IMPLANTED, + /** + * The device was explanted from the patient during the procedure + */ + EXPLANTED, + /** + * The device remains in that patient, but it's location, settings, or functionality was changed + */ + MANIPULATED, + /** + * added to help the parsers + */ + NULL; + public static DeviceAction fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("implanted".equals(codeString)) + return IMPLANTED; + if ("explanted".equals(codeString)) + return EXPLANTED; + if ("manipulated".equals(codeString)) + return MANIPULATED; + throw new Exception("Unknown DeviceAction code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case IMPLANTED: return "implanted"; + case EXPLANTED: return "explanted"; + case MANIPULATED: return "manipulated"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/device-action"; + } + public String getDefinition() { + switch (this) { + case IMPLANTED: return "The device was implanted in the patient during the procedure"; + case EXPLANTED: return "The device was explanted from the patient during the procedure"; + case MANIPULATED: return "The device remains in that patient, but it's location, settings, or functionality was changed"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case IMPLANTED: return "Implanted"; + case EXPLANTED: return "Explanted"; + case MANIPULATED: return "Manipulated"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceActionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceActionEnumFactory.java new file mode 100644 index 00000000000..60db2f83967 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/DeviceActionEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class DeviceActionEnumFactory implements EnumFactory { + + public DeviceAction fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("implanted".equals(codeString)) + return DeviceAction.IMPLANTED; + if ("explanted".equals(codeString)) + return DeviceAction.EXPLANTED; + if ("manipulated".equals(codeString)) + return DeviceAction.MANIPULATED; + throw new IllegalArgumentException("Unknown DeviceAction code '"+codeString+"'"); + } + + public String toCode(DeviceAction code) { + if (code == DeviceAction.IMPLANTED) + return "implanted"; + if (code == DeviceAction.EXPLANTED) + return "explanted"; + if (code == DeviceAction.MANIPULATED) + return "manipulated"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSource.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSource.java new file mode 100644 index 00000000000..4617257ca6d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSource.java @@ -0,0 +1,157 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum EncounterAdmitSource { + + /** + * null + */ + HOSPTRANS, + /** + * null + */ + EMD, + /** + * null + */ + OUTP, + /** + * null + */ + BORN, + /** + * null + */ + GP, + /** + * null + */ + MP, + /** + * null + */ + NURSING, + /** + * null + */ + PSYCH, + /** + * null + */ + REHAB, + /** + * null + */ + OTHER, + /** + * added to help the parsers + */ + NULL; + public static EncounterAdmitSource fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("hosp-trans".equals(codeString)) + return HOSPTRANS; + if ("emd".equals(codeString)) + return EMD; + if ("outp".equals(codeString)) + return OUTP; + if ("born".equals(codeString)) + return BORN; + if ("gp".equals(codeString)) + return GP; + if ("mp".equals(codeString)) + return MP; + if ("nursing".equals(codeString)) + return NURSING; + if ("psych".equals(codeString)) + return PSYCH; + if ("rehab".equals(codeString)) + return REHAB; + if ("other".equals(codeString)) + return OTHER; + throw new Exception("Unknown EncounterAdmitSource code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HOSPTRANS: return "hosp-trans"; + case EMD: return "emd"; + case OUTP: return "outp"; + case BORN: return "born"; + case GP: return "gp"; + case MP: return "mp"; + case NURSING: return "nursing"; + case PSYCH: return "psych"; + case REHAB: return "rehab"; + case OTHER: return "other"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/admit-source"; + } + public String getDefinition() { + switch (this) { + case HOSPTRANS: return ""; + case EMD: return ""; + case OUTP: return ""; + case BORN: return ""; + case GP: return ""; + case MP: return ""; + case NURSING: return ""; + case PSYCH: return ""; + case REHAB: return ""; + case OTHER: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HOSPTRANS: return "Transferred from other hospital"; + case EMD: return "From accident/emergency department"; + case OUTP: return "From outpatient department"; + case BORN: return "Born in hospital"; + case GP: return "General Practitioner referral"; + case MP: return "Medical Practitioner/physician referral"; + case NURSING: return "From nursing home"; + case PSYCH: return "From psychiatric hospital"; + case REHAB: return "From rehabilitation facility"; + case OTHER: return "Other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSourceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSourceEnumFactory.java new file mode 100644 index 00000000000..3134081af63 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterAdmitSourceEnumFactory.java @@ -0,0 +1,91 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class EncounterAdmitSourceEnumFactory implements EnumFactory { + + public EncounterAdmitSource fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("hosp-trans".equals(codeString)) + return EncounterAdmitSource.HOSPTRANS; + if ("emd".equals(codeString)) + return EncounterAdmitSource.EMD; + if ("outp".equals(codeString)) + return EncounterAdmitSource.OUTP; + if ("born".equals(codeString)) + return EncounterAdmitSource.BORN; + if ("gp".equals(codeString)) + return EncounterAdmitSource.GP; + if ("mp".equals(codeString)) + return EncounterAdmitSource.MP; + if ("nursing".equals(codeString)) + return EncounterAdmitSource.NURSING; + if ("psych".equals(codeString)) + return EncounterAdmitSource.PSYCH; + if ("rehab".equals(codeString)) + return EncounterAdmitSource.REHAB; + if ("other".equals(codeString)) + return EncounterAdmitSource.OTHER; + throw new IllegalArgumentException("Unknown EncounterAdmitSource code '"+codeString+"'"); + } + + public String toCode(EncounterAdmitSource code) { + if (code == EncounterAdmitSource.HOSPTRANS) + return "hosp-trans"; + if (code == EncounterAdmitSource.EMD) + return "emd"; + if (code == EncounterAdmitSource.OUTP) + return "outp"; + if (code == EncounterAdmitSource.BORN) + return "born"; + if (code == EncounterAdmitSource.GP) + return "gp"; + if (code == EncounterAdmitSource.MP) + return "mp"; + if (code == EncounterAdmitSource.NURSING) + return "nursing"; + if (code == EncounterAdmitSource.PSYCH) + return "psych"; + if (code == EncounterAdmitSource.REHAB) + return "rehab"; + if (code == EncounterAdmitSource.OTHER) + return "other"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDiet.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDiet.java new file mode 100644 index 00000000000..029af81021e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDiet.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum EncounterDiet { + + /** + * Food without meat, poultry or seafood + */ + VEGETARIAN, + /** + * Exludes dairy products + */ + DAIRYFREE, + /** + * Excludes ingredients containing nuts + */ + NUTFREE, + /** + * Excludes ingredients containing gluten + */ + GLUTENFREE, + /** + * Food without meat, poultry, seafood, eggs, dairy products and other animal-derived substances + */ + VEGAN, + /** + * Foods that conform to Islamic law + */ + HALAL, + /** + * foods that conform to Jewish dietary law + */ + KOSHER, + /** + * added to help the parsers + */ + NULL; + public static EncounterDiet fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("vegetarian".equals(codeString)) + return VEGETARIAN; + if ("dairy-free".equals(codeString)) + return DAIRYFREE; + if ("nut-free".equals(codeString)) + return NUTFREE; + if ("gluten-free".equals(codeString)) + return GLUTENFREE; + if ("vegan".equals(codeString)) + return VEGAN; + if ("halal".equals(codeString)) + return HALAL; + if ("kosher".equals(codeString)) + return KOSHER; + throw new Exception("Unknown EncounterDiet code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case VEGETARIAN: return "vegetarian"; + case DAIRYFREE: return "dairy-free"; + case NUTFREE: return "nut-free"; + case GLUTENFREE: return "gluten-free"; + case VEGAN: return "vegan"; + case HALAL: return "halal"; + case KOSHER: return "kosher"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/diet"; + } + public String getDefinition() { + switch (this) { + case VEGETARIAN: return "Food without meat, poultry or seafood"; + case DAIRYFREE: return "Exludes dairy products"; + case NUTFREE: return "Excludes ingredients containing nuts"; + case GLUTENFREE: return "Excludes ingredients containing gluten"; + case VEGAN: return "Food without meat, poultry, seafood, eggs, dairy products and other animal-derived substances"; + case HALAL: return "Foods that conform to Islamic law"; + case KOSHER: return "foods that conform to Jewish dietary law"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case VEGETARIAN: return "vegetarian"; + case DAIRYFREE: return "dairy-free"; + case NUTFREE: return "nut-free"; + case GLUTENFREE: return "gluten-free"; + case VEGAN: return "vegan"; + case HALAL: return "halal"; + case KOSHER: return "kosher"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDietEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDietEnumFactory.java new file mode 100644 index 00000000000..e1f26411800 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDietEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class EncounterDietEnumFactory implements EnumFactory { + + public EncounterDiet fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("vegetarian".equals(codeString)) + return EncounterDiet.VEGETARIAN; + if ("dairy-free".equals(codeString)) + return EncounterDiet.DAIRYFREE; + if ("nut-free".equals(codeString)) + return EncounterDiet.NUTFREE; + if ("gluten-free".equals(codeString)) + return EncounterDiet.GLUTENFREE; + if ("vegan".equals(codeString)) + return EncounterDiet.VEGAN; + if ("halal".equals(codeString)) + return EncounterDiet.HALAL; + if ("kosher".equals(codeString)) + return EncounterDiet.KOSHER; + throw new IllegalArgumentException("Unknown EncounterDiet code '"+codeString+"'"); + } + + public String toCode(EncounterDiet code) { + if (code == EncounterDiet.VEGETARIAN) + return "vegetarian"; + if (code == EncounterDiet.DAIRYFREE) + return "dairy-free"; + if (code == EncounterDiet.NUTFREE) + return "nut-free"; + if (code == EncounterDiet.GLUTENFREE) + return "gluten-free"; + if (code == EncounterDiet.VEGAN) + return "vegan"; + if (code == EncounterDiet.HALAL) + return "halal"; + if (code == EncounterDiet.KOSHER) + return "kosher"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDisposition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDisposition.java new file mode 100644 index 00000000000..85cdee0056b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDisposition.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum EncounterDischargeDisposition { + + /** + * null + */ + HOME, + /** + * null + */ + OTHERHCF, + /** + * null + */ + HOSP, + /** + * null + */ + LONG, + /** + * null + */ + AADVICE, + /** + * null + */ + EXP, + /** + * null + */ + PSY, + /** + * null + */ + REHAB, + /** + * null + */ + OTH, + /** + * added to help the parsers + */ + NULL; + public static EncounterDischargeDisposition fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("home".equals(codeString)) + return HOME; + if ("other-hcf".equals(codeString)) + return OTHERHCF; + if ("hosp".equals(codeString)) + return HOSP; + if ("long".equals(codeString)) + return LONG; + if ("aadvice".equals(codeString)) + return AADVICE; + if ("exp".equals(codeString)) + return EXP; + if ("psy".equals(codeString)) + return PSY; + if ("rehab".equals(codeString)) + return REHAB; + if ("oth".equals(codeString)) + return OTH; + throw new Exception("Unknown EncounterDischargeDisposition code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HOME: return "home"; + case OTHERHCF: return "other-hcf"; + case HOSP: return "hosp"; + case LONG: return "long"; + case AADVICE: return "aadvice"; + case EXP: return "exp"; + case PSY: return "psy"; + case REHAB: return "rehab"; + case OTH: return "oth"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/discharge-disposition"; + } + public String getDefinition() { + switch (this) { + case HOME: return ""; + case OTHERHCF: return ""; + case HOSP: return ""; + case LONG: return ""; + case AADVICE: return ""; + case EXP: return ""; + case PSY: return ""; + case REHAB: return ""; + case OTH: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HOME: return "Home"; + case OTHERHCF: return "Other healthcare facility"; + case HOSP: return "Hospice"; + case LONG: return "Long-term care"; + case AADVICE: return "Left against advice"; + case EXP: return "Expired"; + case PSY: return "Psychiatric hospital"; + case REHAB: return "Rehabilitation"; + case OTH: return "Other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDispositionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDispositionEnumFactory.java new file mode 100644 index 00000000000..213869cb862 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterDischargeDispositionEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class EncounterDischargeDispositionEnumFactory implements EnumFactory { + + public EncounterDischargeDisposition fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("home".equals(codeString)) + return EncounterDischargeDisposition.HOME; + if ("other-hcf".equals(codeString)) + return EncounterDischargeDisposition.OTHERHCF; + if ("hosp".equals(codeString)) + return EncounterDischargeDisposition.HOSP; + if ("long".equals(codeString)) + return EncounterDischargeDisposition.LONG; + if ("aadvice".equals(codeString)) + return EncounterDischargeDisposition.AADVICE; + if ("exp".equals(codeString)) + return EncounterDischargeDisposition.EXP; + if ("psy".equals(codeString)) + return EncounterDischargeDisposition.PSY; + if ("rehab".equals(codeString)) + return EncounterDischargeDisposition.REHAB; + if ("oth".equals(codeString)) + return EncounterDischargeDisposition.OTH; + throw new IllegalArgumentException("Unknown EncounterDischargeDisposition code '"+codeString+"'"); + } + + public String toCode(EncounterDischargeDisposition code) { + if (code == EncounterDischargeDisposition.HOME) + return "home"; + if (code == EncounterDischargeDisposition.OTHERHCF) + return "other-hcf"; + if (code == EncounterDischargeDisposition.HOSP) + return "hosp"; + if (code == EncounterDischargeDisposition.LONG) + return "long"; + if (code == EncounterDischargeDisposition.AADVICE) + return "aadvice"; + if (code == EncounterDischargeDisposition.EXP) + return "exp"; + if (code == EncounterDischargeDisposition.PSY) + return "psy"; + if (code == EncounterDischargeDisposition.REHAB) + return "rehab"; + if (code == EncounterDischargeDisposition.OTH) + return "oth"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriority.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriority.java new file mode 100644 index 00000000000..286abffff1e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriority.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum EncounterPriority { + + /** + * Within seconds + */ + IMM, + /** + * Within 10 minutes + */ + EMG, + /** + * Within 30 minutes + */ + URG, + /** + * Within 60 minutes + */ + SURG, + /** + * Within 120 minutes + */ + NOURG, + /** + * added to help the parsers + */ + NULL; + public static EncounterPriority fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("imm".equals(codeString)) + return IMM; + if ("emg".equals(codeString)) + return EMG; + if ("urg".equals(codeString)) + return URG; + if ("s-urg".equals(codeString)) + return SURG; + if ("no-urg".equals(codeString)) + return NOURG; + throw new Exception("Unknown EncounterPriority code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case IMM: return "imm"; + case EMG: return "emg"; + case URG: return "urg"; + case SURG: return "s-urg"; + case NOURG: return "no-urg"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/encounter-priority"; + } + public String getDefinition() { + switch (this) { + case IMM: return "Within seconds"; + case EMG: return "Within 10 minutes"; + case URG: return "Within 30 minutes"; + case SURG: return "Within 60 minutes"; + case NOURG: return "Within 120 minutes"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case IMM: return "Immediate"; + case EMG: return "Emergency"; + case URG: return "Urgent"; + case SURG: return "Semi-urgent"; + case NOURG: return "Non-urgent"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriorityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriorityEnumFactory.java new file mode 100644 index 00000000000..8b138c5e5f4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterPriorityEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class EncounterPriorityEnumFactory implements EnumFactory { + + public EncounterPriority fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("imm".equals(codeString)) + return EncounterPriority.IMM; + if ("emg".equals(codeString)) + return EncounterPriority.EMG; + if ("urg".equals(codeString)) + return EncounterPriority.URG; + if ("s-urg".equals(codeString)) + return EncounterPriority.SURG; + if ("no-urg".equals(codeString)) + return EncounterPriority.NOURG; + throw new IllegalArgumentException("Unknown EncounterPriority code '"+codeString+"'"); + } + + public String toCode(EncounterPriority code) { + if (code == EncounterPriority.IMM) + return "imm"; + if (code == EncounterPriority.EMG) + return "emg"; + if (code == EncounterPriority.URG) + return "urg"; + if (code == EncounterPriority.SURG) + return "s-urg"; + if (code == EncounterPriority.NOURG) + return "no-urg"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangements.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangements.java new file mode 100644 index 00000000000..f9e2ca77796 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangements.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum EncounterSpecialArrangements { + + /** + * null + */ + WHEEL, + /** + * null + */ + STRET, + /** + * null + */ + INT, + /** + * null + */ + ATT, + /** + * null + */ + DOG, + /** + * added to help the parsers + */ + NULL; + public static EncounterSpecialArrangements fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("wheel".equals(codeString)) + return WHEEL; + if ("stret".equals(codeString)) + return STRET; + if ("int".equals(codeString)) + return INT; + if ("att".equals(codeString)) + return ATT; + if ("dog".equals(codeString)) + return DOG; + throw new Exception("Unknown EncounterSpecialArrangements code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case WHEEL: return "wheel"; + case STRET: return "stret"; + case INT: return "int"; + case ATT: return "att"; + case DOG: return "dog"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/encounter-special-arrangements"; + } + public String getDefinition() { + switch (this) { + case WHEEL: return ""; + case STRET: return ""; + case INT: return ""; + case ATT: return ""; + case DOG: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case WHEEL: return "Wheelchair"; + case STRET: return "Stretcher"; + case INT: return "Interpreter"; + case ATT: return "Attendant"; + case DOG: return "Guide dog"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangementsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangementsEnumFactory.java new file mode 100644 index 00000000000..eef422993ff --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterSpecialArrangementsEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class EncounterSpecialArrangementsEnumFactory implements EnumFactory { + + public EncounterSpecialArrangements fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("wheel".equals(codeString)) + return EncounterSpecialArrangements.WHEEL; + if ("stret".equals(codeString)) + return EncounterSpecialArrangements.STRET; + if ("int".equals(codeString)) + return EncounterSpecialArrangements.INT; + if ("att".equals(codeString)) + return EncounterSpecialArrangements.ATT; + if ("dog".equals(codeString)) + return EncounterSpecialArrangements.DOG; + throw new IllegalArgumentException("Unknown EncounterSpecialArrangements code '"+codeString+"'"); + } + + public String toCode(EncounterSpecialArrangements code) { + if (code == EncounterSpecialArrangements.WHEEL) + return "wheel"; + if (code == EncounterSpecialArrangements.STRET) + return "stret"; + if (code == EncounterSpecialArrangements.INT) + return "int"; + if (code == EncounterSpecialArrangements.ATT) + return "att"; + if (code == EncounterSpecialArrangements.DOG) + return "dog"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterType.java new file mode 100644 index 00000000000..df8cae25431 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterType.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum EncounterType { + + /** + * null + */ + ADMS, + /** + * null + */ + BD_BMCLIN, + /** + * null + */ + CCS60, + /** + * null + */ + OKI, + /** + * added to help the parsers + */ + NULL; + public static EncounterType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ADMS".equals(codeString)) + return ADMS; + if ("BD/BM-clin".equals(codeString)) + return BD_BMCLIN; + if ("CCS60".equals(codeString)) + return CCS60; + if ("OKI".equals(codeString)) + return OKI; + throw new Exception("Unknown EncounterType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ADMS: return "ADMS"; + case BD_BMCLIN: return "BD/BM-clin"; + case CCS60: return "CCS60"; + case OKI: return "OKI"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/encounter-type"; + } + public String getDefinition() { + switch (this) { + case ADMS: return ""; + case BD_BMCLIN: return ""; + case CCS60: return ""; + case OKI: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ADMS: return "Annual diabetes mellitus screening"; + case BD_BMCLIN: return "Bone drilling/bone marrow punction in clinic"; + case CCS60: return "Infant colon screening - 60 minutes"; + case OKI: return "Outpatient Kenacort injection"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterTypeEnumFactory.java new file mode 100644 index 00000000000..e8fa98de46f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/EncounterTypeEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class EncounterTypeEnumFactory implements EnumFactory { + + public EncounterType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ADMS".equals(codeString)) + return EncounterType.ADMS; + if ("BD/BM-clin".equals(codeString)) + return EncounterType.BD_BMCLIN; + if ("CCS60".equals(codeString)) + return EncounterType.CCS60; + if ("OKI".equals(codeString)) + return EncounterType.OKI; + throw new IllegalArgumentException("Unknown EncounterType code '"+codeString+"'"); + } + + public String toCode(EncounterType code) { + if (code == EncounterType.ADMS) + return "ADMS"; + if (code == EncounterType.BD_BMCLIN) + return "BD/BM-clin"; + if (code == EncounterType.CCS60) + return "CCS60"; + if (code == EncounterType.OKI) + return "OKI"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_.java new file mode 100644 index 00000000000..9c663931473 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Exception_ { + + /** + * null + */ + STUDENT, + /** + * null + */ + DISABLED, + /** + * added to help the parsers + */ + NULL; + public static Exception_ fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("student".equals(codeString)) + return STUDENT; + if ("disabled".equals(codeString)) + return DISABLED; + throw new Exception("Unknown Exception_ code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case STUDENT: return "student"; + case DISABLED: return "disabled"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/exception"; + } + public String getDefinition() { + switch (this) { + case STUDENT: return ""; + case DISABLED: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case STUDENT: return "student"; + case DISABLED: return "disabled"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_EnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_EnumFactory.java new file mode 100644 index 00000000000..71125795688 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Exception_EnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class Exception_EnumFactory implements EnumFactory { + + public Exception_ fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("student".equals(codeString)) + return Exception_.STUDENT; + if ("disabled".equals(codeString)) + return Exception_.DISABLED; + throw new IllegalArgumentException("Unknown Exception_ code '"+codeString+"'"); + } + + public String toCode(Exception_ code) { + if (code == Exception_.STUDENT) + return "student"; + if (code == Exception_.DISABLED) + return "disabled"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditions.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditions.java new file mode 100644 index 00000000000..f4775224c02 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditions.java @@ -0,0 +1,76 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum FmConditions { + + /** + * null + */ + _123987, + /** + * added to help the parsers + */ + NULL; + public static FmConditions fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("123987".equals(codeString)) + return _123987; + throw new Exception("Unknown FmConditions code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _123987: return "123987"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/fm-conditions"; + } + public String getDefinition() { + switch (this) { + case _123987: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _123987: return "123987"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditionsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditionsEnumFactory.java new file mode 100644 index 00000000000..ee490a48ffb --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FmConditionsEnumFactory.java @@ -0,0 +1,55 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class FmConditionsEnumFactory implements EnumFactory { + + public FmConditions fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("123987".equals(codeString)) + return FmConditions._123987; + throw new IllegalArgumentException("Unknown FmConditions code '"+codeString+"'"); + } + + public String toCode(FmConditions code) { + if (code == FmConditions._123987) + return "123987"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Forms.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Forms.java new file mode 100644 index 00000000000..c0f44e88d2a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Forms.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Forms { + + /** + * null + */ + _1, + /** + * null + */ + _2, + /** + * added to help the parsers + */ + NULL; + public static Forms fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return _1; + if ("2".equals(codeString)) + return _2; + throw new Exception("Unknown Forms code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/adjudication-error"; + } + public String getDefinition() { + switch (this) { + case _1: return ""; + case _2: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FormsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FormsEnumFactory.java new file mode 100644 index 00000000000..38783f0962b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FormsEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class FormsEnumFactory implements EnumFactory { + + public Forms fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return Forms._1; + if ("2".equals(codeString)) + return Forms._2; + throw new IllegalArgumentException("Unknown Forms code '"+codeString+"'"); + } + + public String toCode(Forms code) { + if (code == Forms._1) + return "1"; + if (code == Forms._2) + return "2"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Fundsreserve.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Fundsreserve.java new file mode 100644 index 00000000000..b896d209a03 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Fundsreserve.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Fundsreserve { + + /** + * null + */ + PATIENT, + /** + * null + */ + PROVIDER, + /** + * null + */ + NONE, + /** + * added to help the parsers + */ + NULL; + public static Fundsreserve fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("patient".equals(codeString)) + return PATIENT; + if ("provider".equals(codeString)) + return PROVIDER; + if ("none".equals(codeString)) + return NONE; + throw new Exception("Unknown Fundsreserve code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PATIENT: return "patient"; + case PROVIDER: return "provider"; + case NONE: return "none"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/fundsreserve"; + } + public String getDefinition() { + switch (this) { + case PATIENT: return ""; + case PROVIDER: return ""; + case NONE: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PATIENT: return "patient"; + case PROVIDER: return "provider"; + case NONE: return "none"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FundsreserveEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FundsreserveEnumFactory.java new file mode 100644 index 00000000000..1390e165e4f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/FundsreserveEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class FundsreserveEnumFactory implements EnumFactory { + + public Fundsreserve fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("patient".equals(codeString)) + return Fundsreserve.PATIENT; + if ("provider".equals(codeString)) + return Fundsreserve.PROVIDER; + if ("none".equals(codeString)) + return Fundsreserve.NONE; + throw new IllegalArgumentException("Unknown Fundsreserve code '"+codeString+"'"); + } + + public String toCode(Fundsreserve code) { + if (code == Fundsreserve.PATIENT) + return "patient"; + if (code == Fundsreserve.PROVIDER) + return "provider"; + if (code == Fundsreserve.NONE) + return "none"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriority.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriority.java new file mode 100644 index 00000000000..b0f04d5b351 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriority.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum GoalPriority { + + /** + * Indicates that the goal is of considerable importance and should be a primary focus of care delivery + */ + HIGH, + /** + * Indicates that the goal has a reasonable degree of importance and that concrete action should be taken towards the goal. Attainment is not as critical as high-priority goals. + */ + MEDIUM, + /** + * The goal is desirable but is not sufficiently important to devote significant resources to. Achievement of the goal may be sought when incidental to achieving other goals. + */ + LOW, + /** + * added to help the parsers + */ + NULL; + public static GoalPriority fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("high".equals(codeString)) + return HIGH; + if ("medium".equals(codeString)) + return MEDIUM; + if ("low".equals(codeString)) + return LOW; + throw new Exception("Unknown GoalPriority code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HIGH: return "high"; + case MEDIUM: return "medium"; + case LOW: return "low"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/goal-priority"; + } + public String getDefinition() { + switch (this) { + case HIGH: return "Indicates that the goal is of considerable importance and should be a primary focus of care delivery"; + case MEDIUM: return "Indicates that the goal has a reasonable degree of importance and that concrete action should be taken towards the goal. Attainment is not as critical as high-priority goals."; + case LOW: return "The goal is desirable but is not sufficiently important to devote significant resources to. Achievement of the goal may be sought when incidental to achieving other goals."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HIGH: return "high"; + case MEDIUM: return "medium"; + case LOW: return "low"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriorityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriorityEnumFactory.java new file mode 100644 index 00000000000..bdc6c6c3cba --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalPriorityEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class GoalPriorityEnumFactory implements EnumFactory { + + public GoalPriority fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("high".equals(codeString)) + return GoalPriority.HIGH; + if ("medium".equals(codeString)) + return GoalPriority.MEDIUM; + if ("low".equals(codeString)) + return GoalPriority.LOW; + throw new IllegalArgumentException("Unknown GoalPriority code '"+codeString+"'"); + } + + public String toCode(GoalPriority code) { + if (code == GoalPriority.HIGH) + return "high"; + if (code == GoalPriority.MEDIUM) + return "medium"; + if (code == GoalPriority.LOW) + return "low"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipType.java new file mode 100644 index 00000000000..008a0a16233 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipType.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum GoalRelationshipType { + + /** + * Indicates that the target goal is one which must be met before striving for the current goal + */ + PREDECESSOR, + /** + * Indicates that the target goal is a desired objective once the current goal is met + */ + SUCCESSOR, + /** + * Indicates that this goal has been replaced by the target goal + */ + REPLACEMENT, + /** + * Indicates that the relationship is not covered by one of the pre-defined codes. (An extension may convey more information about the meaning of the relationship.) + */ + OTHER, + /** + * added to help the parsers + */ + NULL; + public static GoalRelationshipType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("predecessor".equals(codeString)) + return PREDECESSOR; + if ("successor".equals(codeString)) + return SUCCESSOR; + if ("replacement".equals(codeString)) + return REPLACEMENT; + if ("other".equals(codeString)) + return OTHER; + throw new Exception("Unknown GoalRelationshipType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PREDECESSOR: return "predecessor"; + case SUCCESSOR: return "successor"; + case REPLACEMENT: return "replacement"; + case OTHER: return "other"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/goal-relationship-type"; + } + public String getDefinition() { + switch (this) { + case PREDECESSOR: return "Indicates that the target goal is one which must be met before striving for the current goal"; + case SUCCESSOR: return "Indicates that the target goal is a desired objective once the current goal is met"; + case REPLACEMENT: return "Indicates that this goal has been replaced by the target goal"; + case OTHER: return "Indicates that the relationship is not covered by one of the pre-defined codes. (An extension may convey more information about the meaning of the relationship.)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PREDECESSOR: return "Predecessor"; + case SUCCESSOR: return "Successor"; + case REPLACEMENT: return "Replacement"; + case OTHER: return "Other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipTypeEnumFactory.java new file mode 100644 index 00000000000..2ea658b9566 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/GoalRelationshipTypeEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class GoalRelationshipTypeEnumFactory implements EnumFactory { + + public GoalRelationshipType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("predecessor".equals(codeString)) + return GoalRelationshipType.PREDECESSOR; + if ("successor".equals(codeString)) + return GoalRelationshipType.SUCCESSOR; + if ("replacement".equals(codeString)) + return GoalRelationshipType.REPLACEMENT; + if ("other".equals(codeString)) + return GoalRelationshipType.OTHER; + throw new IllegalArgumentException("Unknown GoalRelationshipType code '"+codeString+"'"); + } + + public String toCode(GoalRelationshipType code) { + if (code == GoalRelationshipType.PREDECESSOR) + return "predecessor"; + if (code == GoalRelationshipType.SUCCESSOR) + return "successor"; + if (code == GoalRelationshipType.REPLACEMENT) + return "replacement"; + if (code == GoalRelationshipType.OTHER) + return "other"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterion.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterion.java new file mode 100644 index 00000000000..1f9522b90aa --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterion.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ImmunizationRecommendationDateCriterion { + + /** + * Date the next dose is considered due + */ + DUE, + /** + * At the recommended date + */ + RECOMMENDED, + /** + * As early as possible + */ + EARLIEST, + /** + * Date the next dose is considered overdue + */ + OVERDUE, + /** + * The latest date the next dose is to be given + */ + LATEST, + /** + * added to help the parsers + */ + NULL; + public static ImmunizationRecommendationDateCriterion fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("due".equals(codeString)) + return DUE; + if ("recommended".equals(codeString)) + return RECOMMENDED; + if ("earliest".equals(codeString)) + return EARLIEST; + if ("overdue".equals(codeString)) + return OVERDUE; + if ("latest".equals(codeString)) + return LATEST; + throw new Exception("Unknown ImmunizationRecommendationDateCriterion code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DUE: return "due"; + case RECOMMENDED: return "recommended"; + case EARLIEST: return "earliest"; + case OVERDUE: return "overdue"; + case LATEST: return "latest"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/immunization-recommendation-date-criterion"; + } + public String getDefinition() { + switch (this) { + case DUE: return "Date the next dose is considered due"; + case RECOMMENDED: return "At the recommended date"; + case EARLIEST: return "As early as possible"; + case OVERDUE: return "Date the next dose is considered overdue"; + case LATEST: return "The latest date the next dose is to be given"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DUE: return "due"; + case RECOMMENDED: return "recommended"; + case EARLIEST: return "Earliest Date"; + case OVERDUE: return "Past Due Date"; + case LATEST: return "latest"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterionEnumFactory.java new file mode 100644 index 00000000000..17616bd5091 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationDateCriterionEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ImmunizationRecommendationDateCriterionEnumFactory implements EnumFactory { + + public ImmunizationRecommendationDateCriterion fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("due".equals(codeString)) + return ImmunizationRecommendationDateCriterion.DUE; + if ("recommended".equals(codeString)) + return ImmunizationRecommendationDateCriterion.RECOMMENDED; + if ("earliest".equals(codeString)) + return ImmunizationRecommendationDateCriterion.EARLIEST; + if ("overdue".equals(codeString)) + return ImmunizationRecommendationDateCriterion.OVERDUE; + if ("latest".equals(codeString)) + return ImmunizationRecommendationDateCriterion.LATEST; + throw new IllegalArgumentException("Unknown ImmunizationRecommendationDateCriterion code '"+codeString+"'"); + } + + public String toCode(ImmunizationRecommendationDateCriterion code) { + if (code == ImmunizationRecommendationDateCriterion.DUE) + return "due"; + if (code == ImmunizationRecommendationDateCriterion.RECOMMENDED) + return "recommended"; + if (code == ImmunizationRecommendationDateCriterion.EARLIEST) + return "earliest"; + if (code == ImmunizationRecommendationDateCriterion.OVERDUE) + return "overdue"; + if (code == ImmunizationRecommendationDateCriterion.LATEST) + return "latest"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatus.java new file mode 100644 index 00000000000..f322eb0d38b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatus.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ImmunizationRecommendationStatus { + + /** + * The patient is due for their next vaccination + */ + DUE, + /** + * The patient is considered overdue for their next vaccination + */ + OVERDUE, + /** + * added to help the parsers + */ + NULL; + public static ImmunizationRecommendationStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("due".equals(codeString)) + return DUE; + if ("overdue".equals(codeString)) + return OVERDUE; + throw new Exception("Unknown ImmunizationRecommendationStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DUE: return "due"; + case OVERDUE: return "overdue"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/immunization-recommendation-status"; + } + public String getDefinition() { + switch (this) { + case DUE: return "The patient is due for their next vaccination"; + case OVERDUE: return "The patient is considered overdue for their next vaccination"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DUE: return "due"; + case OVERDUE: return "overdue"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatusEnumFactory.java new file mode 100644 index 00000000000..8d55a0862aa --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ImmunizationRecommendationStatusEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ImmunizationRecommendationStatusEnumFactory implements EnumFactory { + + public ImmunizationRecommendationStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("due".equals(codeString)) + return ImmunizationRecommendationStatus.DUE; + if ("overdue".equals(codeString)) + return ImmunizationRecommendationStatus.OVERDUE; + throw new IllegalArgumentException("Unknown ImmunizationRecommendationStatus code '"+codeString+"'"); + } + + public String toCode(ImmunizationRecommendationStatus code) { + if (code == ImmunizationRecommendationStatus.DUE) + return "due"; + if (code == ImmunizationRecommendationStatus.OVERDUE) + return "overdue"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Intervention.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Intervention.java new file mode 100644 index 00000000000..01f36e533e2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Intervention.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Intervention { + + /** + * null + */ + UNKNOWN, + /** + * null + */ + OTHER, + /** + * added to help the parsers + */ + NULL; + public static Intervention fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return UNKNOWN; + if ("other".equals(codeString)) + return OTHER; + throw new Exception("Unknown Intervention code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case UNKNOWN: return "unknown"; + case OTHER: return "other"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/intervention"; + } + public String getDefinition() { + switch (this) { + case UNKNOWN: return ""; + case OTHER: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case UNKNOWN: return "unknown"; + case OTHER: return "other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/InterventionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/InterventionEnumFactory.java new file mode 100644 index 00000000000..466ddb5072a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/InterventionEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class InterventionEnumFactory implements EnumFactory { + + public Intervention fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return Intervention.UNKNOWN; + if ("other".equals(codeString)) + return Intervention.OTHER; + throw new IllegalArgumentException("Unknown Intervention code '"+codeString+"'"); + } + + public String toCode(Intervention code) { + if (code == Intervention.UNKNOWN) + return "unknown"; + if (code == Intervention.OTHER) + return "other"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueType.java new file mode 100644 index 00000000000..2d12507fde8 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueType.java @@ -0,0 +1,328 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum IssueType { + + /** + * Content invalid against the Specification or a Profile + */ + INVALID, + /** + * A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax + */ + STRUCTURE, + /** + * A required element is missing + */ + REQUIRED, + /** + * element value invalid + */ + VALUE, + /** + * A content validation rule failed - e.g. a schematron rule + */ + INVARIANT, + /** + * An authentication/authorization/permissions issueof some kind + */ + SECURITY, + /** + * the client needs to initiate an authentication process + */ + LOGIN, + /** + * The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable) + */ + UNKNOWN, + /** + * User session expired; a login may be required + */ + EXPIRED, + /** + * The user does not have the rights to perform this action + */ + FORBIDDEN, + /** + * Some information was not or may not have been returned due to business rules, consent or privacy rules, or access permission constraints. This information may be accessible through alternate processes + */ + SUPPRESSED, + /** + * Processing issues. These are expected to be final e.g. there is no point resubmitting the same content unchanged + */ + PROCESSING, + /** + * The resource or profile is not supported + */ + NOTSUPPORTED, + /** + * An attempt was made to create a duplicate record + */ + DUPLICATE, + /** + * The reference provided was not found. In a pure RESTful environment, this would be an HTTP 404 error, but this code may be used where the content is not found further into the application architecture + */ + NOTFOUND, + /** + * Provided content is too long (typically, this is a denial of service protection type of error) + */ + TOOLONG, + /** + * The code or system could not be understood, or it was not valid in the context of a particular ValueSet + */ + CODEINVALID, + /** + * An extension was found that was not acceptable, or that could not be resolved, or a modifierExtension that was not recognised + */ + EXTENSION, + /** + * The operation was stopped to protect server resources. E.g. a request for a value set expansion on all of SNOMED CT + */ + TOOCOSTLY, + /** + * The content/operation failed to pass some business rule, and so could not proceed + */ + BUSINESSRULE, + /** + * content could not be accepted because of an edit conflict (i.e. version aware updates) (In a pure RESTful environment, this would be an HTTP 404 error, but this code may be used where the conflict is discovered further into the application architecture) + */ + CONFLICT, + /** + * Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete + */ + INCOMPLETE, + /** + * Transient processing issues. The system receiving the error may be able to resubmit the same content once an underlying issue is resolved + */ + TRANSIENT, + /** + * A resource/record locking failure (usually in an underlying database) + */ + LOCKERROR, + /** + * The persistent store unavailable. E.g. the database is down for maintenance or similar + */ + NOSTORE, + /** + * An unexpected internal error + */ + EXCEPTION, + /** + * An internal timeout occurred + */ + TIMEOUT, + /** + * The system is not prepared to handle this request due to load management + */ + THROTTLED, + /** + * A message unrelated to the processing success of the completed operation (Examples of the latter include things like reminders of password expiry, system maintenance times, etc.) + */ + INFORMATIONAL, + /** + * added to help the parsers + */ + NULL; + public static IssueType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("invalid".equals(codeString)) + return INVALID; + if ("structure".equals(codeString)) + return STRUCTURE; + if ("required".equals(codeString)) + return REQUIRED; + if ("value".equals(codeString)) + return VALUE; + if ("invariant".equals(codeString)) + return INVARIANT; + if ("security".equals(codeString)) + return SECURITY; + if ("login".equals(codeString)) + return LOGIN; + if ("unknown".equals(codeString)) + return UNKNOWN; + if ("expired".equals(codeString)) + return EXPIRED; + if ("forbidden".equals(codeString)) + return FORBIDDEN; + if ("suppressed".equals(codeString)) + return SUPPRESSED; + if ("processing".equals(codeString)) + return PROCESSING; + if ("not-supported".equals(codeString)) + return NOTSUPPORTED; + if ("duplicate".equals(codeString)) + return DUPLICATE; + if ("not-found".equals(codeString)) + return NOTFOUND; + if ("too-long".equals(codeString)) + return TOOLONG; + if ("code-invalid".equals(codeString)) + return CODEINVALID; + if ("extension".equals(codeString)) + return EXTENSION; + if ("too-costly".equals(codeString)) + return TOOCOSTLY; + if ("business-rule".equals(codeString)) + return BUSINESSRULE; + if ("conflict".equals(codeString)) + return CONFLICT; + if ("incomplete".equals(codeString)) + return INCOMPLETE; + if ("transient".equals(codeString)) + return TRANSIENT; + if ("lock-error".equals(codeString)) + return LOCKERROR; + if ("no-store".equals(codeString)) + return NOSTORE; + if ("exception".equals(codeString)) + return EXCEPTION; + if ("timeout".equals(codeString)) + return TIMEOUT; + if ("throttled".equals(codeString)) + return THROTTLED; + if ("informational".equals(codeString)) + return INFORMATIONAL; + throw new Exception("Unknown IssueType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case INVALID: return "invalid"; + case STRUCTURE: return "structure"; + case REQUIRED: return "required"; + case VALUE: return "value"; + case INVARIANT: return "invariant"; + case SECURITY: return "security"; + case LOGIN: return "login"; + case UNKNOWN: return "unknown"; + case EXPIRED: return "expired"; + case FORBIDDEN: return "forbidden"; + case SUPPRESSED: return "suppressed"; + case PROCESSING: return "processing"; + case NOTSUPPORTED: return "not-supported"; + case DUPLICATE: return "duplicate"; + case NOTFOUND: return "not-found"; + case TOOLONG: return "too-long"; + case CODEINVALID: return "code-invalid"; + case EXTENSION: return "extension"; + case TOOCOSTLY: return "too-costly"; + case BUSINESSRULE: return "business-rule"; + case CONFLICT: return "conflict"; + case INCOMPLETE: return "incomplete"; + case TRANSIENT: return "transient"; + case LOCKERROR: return "lock-error"; + case NOSTORE: return "no-store"; + case EXCEPTION: return "exception"; + case TIMEOUT: return "timeout"; + case THROTTLED: return "throttled"; + case INFORMATIONAL: return "informational"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/issue-type"; + } + public String getDefinition() { + switch (this) { + case INVALID: return "Content invalid against the Specification or a Profile"; + case STRUCTURE: return "A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax"; + case REQUIRED: return "A required element is missing"; + case VALUE: return "element value invalid"; + case INVARIANT: return "A content validation rule failed - e.g. a schematron rule"; + case SECURITY: return "An authentication/authorization/permissions issueof some kind"; + case LOGIN: return "the client needs to initiate an authentication process"; + case UNKNOWN: return "The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable)"; + case EXPIRED: return "User session expired; a login may be required"; + case FORBIDDEN: return "The user does not have the rights to perform this action"; + case SUPPRESSED: return "Some information was not or may not have been returned due to business rules, consent or privacy rules, or access permission constraints. This information may be accessible through alternate processes"; + case PROCESSING: return "Processing issues. These are expected to be final e.g. there is no point resubmitting the same content unchanged"; + case NOTSUPPORTED: return "The resource or profile is not supported"; + case DUPLICATE: return "An attempt was made to create a duplicate record"; + case NOTFOUND: return "The reference provided was not found. In a pure RESTful environment, this would be an HTTP 404 error, but this code may be used where the content is not found further into the application architecture"; + case TOOLONG: return "Provided content is too long (typically, this is a denial of service protection type of error)"; + case CODEINVALID: return "The code or system could not be understood, or it was not valid in the context of a particular ValueSet"; + case EXTENSION: return "An extension was found that was not acceptable, or that could not be resolved, or a modifierExtension that was not recognised"; + case TOOCOSTLY: return "The operation was stopped to protect server resources. E.g. a request for a value set expansion on all of SNOMED CT"; + case BUSINESSRULE: return "The content/operation failed to pass some business rule, and so could not proceed"; + case CONFLICT: return "content could not be accepted because of an edit conflict (i.e. version aware updates) (In a pure RESTful environment, this would be an HTTP 404 error, but this code may be used where the conflict is discovered further into the application architecture)"; + case INCOMPLETE: return "Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete"; + case TRANSIENT: return "Transient processing issues. The system receiving the error may be able to resubmit the same content once an underlying issue is resolved"; + case LOCKERROR: return "A resource/record locking failure (usually in an underlying database)"; + case NOSTORE: return "The persistent store unavailable. E.g. the database is down for maintenance or similar"; + case EXCEPTION: return "An unexpected internal error"; + case TIMEOUT: return "An internal timeout occurred"; + case THROTTLED: return "The system is not prepared to handle this request due to load management"; + case INFORMATIONAL: return "A message unrelated to the processing success of the completed operation (Examples of the latter include things like reminders of password expiry, system maintenance times, etc.)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case INVALID: return "Invalid Content"; + case STRUCTURE: return "Structural Issue"; + case REQUIRED: return "Required element missing"; + case VALUE: return "Element value invalid"; + case INVARIANT: return "Validation rule failed"; + case SECURITY: return "Security Problem"; + case LOGIN: return "Login Required"; + case UNKNOWN: return "Unknown User"; + case EXPIRED: return "Session Expired"; + case FORBIDDEN: return "Forbidden"; + case SUPPRESSED: return "Information Suppressed"; + case PROCESSING: return "Processing Failure"; + case NOTSUPPORTED: return "Content not supported"; + case DUPLICATE: return "Duplicate"; + case NOTFOUND: return "Not Found"; + case TOOLONG: return "Content Too Long"; + case CODEINVALID: return "Invalid Code"; + case EXTENSION: return "Unacceptable Extension"; + case TOOCOSTLY: return "Operation Too Costly"; + case BUSINESSRULE: return "Business Rule Violation"; + case CONFLICT: return "Edit Version Conflict"; + case INCOMPLETE: return "Incomplete Results"; + case TRANSIENT: return "Transient Issue"; + case LOCKERROR: return "Lock Error"; + case NOSTORE: return "No Store Available"; + case EXCEPTION: return "Exception"; + case TIMEOUT: return "Timeout"; + case THROTTLED: return "Throttled"; + case INFORMATIONAL: return "Informational Note"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueTypeEnumFactory.java new file mode 100644 index 00000000000..77c57cd344f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/IssueTypeEnumFactory.java @@ -0,0 +1,167 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class IssueTypeEnumFactory implements EnumFactory { + + public IssueType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("invalid".equals(codeString)) + return IssueType.INVALID; + if ("structure".equals(codeString)) + return IssueType.STRUCTURE; + if ("required".equals(codeString)) + return IssueType.REQUIRED; + if ("value".equals(codeString)) + return IssueType.VALUE; + if ("invariant".equals(codeString)) + return IssueType.INVARIANT; + if ("security".equals(codeString)) + return IssueType.SECURITY; + if ("login".equals(codeString)) + return IssueType.LOGIN; + if ("unknown".equals(codeString)) + return IssueType.UNKNOWN; + if ("expired".equals(codeString)) + return IssueType.EXPIRED; + if ("forbidden".equals(codeString)) + return IssueType.FORBIDDEN; + if ("suppressed".equals(codeString)) + return IssueType.SUPPRESSED; + if ("processing".equals(codeString)) + return IssueType.PROCESSING; + if ("not-supported".equals(codeString)) + return IssueType.NOTSUPPORTED; + if ("duplicate".equals(codeString)) + return IssueType.DUPLICATE; + if ("not-found".equals(codeString)) + return IssueType.NOTFOUND; + if ("too-long".equals(codeString)) + return IssueType.TOOLONG; + if ("code-invalid".equals(codeString)) + return IssueType.CODEINVALID; + if ("extension".equals(codeString)) + return IssueType.EXTENSION; + if ("too-costly".equals(codeString)) + return IssueType.TOOCOSTLY; + if ("business-rule".equals(codeString)) + return IssueType.BUSINESSRULE; + if ("conflict".equals(codeString)) + return IssueType.CONFLICT; + if ("incomplete".equals(codeString)) + return IssueType.INCOMPLETE; + if ("transient".equals(codeString)) + return IssueType.TRANSIENT; + if ("lock-error".equals(codeString)) + return IssueType.LOCKERROR; + if ("no-store".equals(codeString)) + return IssueType.NOSTORE; + if ("exception".equals(codeString)) + return IssueType.EXCEPTION; + if ("timeout".equals(codeString)) + return IssueType.TIMEOUT; + if ("throttled".equals(codeString)) + return IssueType.THROTTLED; + if ("informational".equals(codeString)) + return IssueType.INFORMATIONAL; + throw new IllegalArgumentException("Unknown IssueType code '"+codeString+"'"); + } + + public String toCode(IssueType code) { + if (code == IssueType.INVALID) + return "invalid"; + if (code == IssueType.STRUCTURE) + return "structure"; + if (code == IssueType.REQUIRED) + return "required"; + if (code == IssueType.VALUE) + return "value"; + if (code == IssueType.INVARIANT) + return "invariant"; + if (code == IssueType.SECURITY) + return "security"; + if (code == IssueType.LOGIN) + return "login"; + if (code == IssueType.UNKNOWN) + return "unknown"; + if (code == IssueType.EXPIRED) + return "expired"; + if (code == IssueType.FORBIDDEN) + return "forbidden"; + if (code == IssueType.SUPPRESSED) + return "suppressed"; + if (code == IssueType.PROCESSING) + return "processing"; + if (code == IssueType.NOTSUPPORTED) + return "not-supported"; + if (code == IssueType.DUPLICATE) + return "duplicate"; + if (code == IssueType.NOTFOUND) + return "not-found"; + if (code == IssueType.TOOLONG) + return "too-long"; + if (code == IssueType.CODEINVALID) + return "code-invalid"; + if (code == IssueType.EXTENSION) + return "extension"; + if (code == IssueType.TOOCOSTLY) + return "too-costly"; + if (code == IssueType.BUSINESSRULE) + return "business-rule"; + if (code == IssueType.CONFLICT) + return "conflict"; + if (code == IssueType.INCOMPLETE) + return "incomplete"; + if (code == IssueType.TRANSIENT) + return "transient"; + if (code == IssueType.LOCKERROR) + return "lock-error"; + if (code == IssueType.NOSTORE) + return "no-store"; + if (code == IssueType.EXCEPTION) + return "exception"; + if (code == IssueType.TIMEOUT) + return "timeout"; + if (code == IssueType.THROTTLED) + return "throttled"; + if (code == IssueType.INFORMATIONAL) + return "informational"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReason.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReason.java new file mode 100644 index 00000000000..004423de063 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReason.java @@ -0,0 +1,124 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ListEmptyReason { + + /** + * Clinical judgement that there are no known items for this list after reasonable investigation. Note that this a positive statement by a clinical user, and not a default position asserted by a computer system in the lack of other information. Example uses: + * For allergies: the patient or patient's agent/guardian has asserted that he/she is not aware of any allergies (NKA - nil known allergies) + * For medications: the patient or patient's agent/guardian has asserted that the patient is known to be taking no medications + * For diagnoses, problems and procedures: the patient or patient's agent/guardian has asserted that there is no known event to record. + */ + NILKNOWN, + /** + * THe investigation to find out whether there are items for this list has not occurred + */ + NOTASKED, + /** + * Information was not provided due to privacy or confidentiality concerns. Note that it should not be assumed that this means that the particular information in question was withheld due to its contents - it can also be a policy decision + */ + WITHHELD, + /** + * Information to populate this list cannot be obtained. E.g. unconscious patient + */ + UNAVAILABLE, + /** + * The work to populate this list has not yet begun + */ + NOTSTARTED, + /** + * This list has now closed or has ceased to be relevant or useful + */ + CLOSED, + /** + * added to help the parsers + */ + NULL; + public static ListEmptyReason fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("nilknown".equals(codeString)) + return NILKNOWN; + if ("notasked".equals(codeString)) + return NOTASKED; + if ("withheld".equals(codeString)) + return WITHHELD; + if ("unavailable".equals(codeString)) + return UNAVAILABLE; + if ("notstarted".equals(codeString)) + return NOTSTARTED; + if ("closed".equals(codeString)) + return CLOSED; + throw new Exception("Unknown ListEmptyReason code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NILKNOWN: return "nilknown"; + case NOTASKED: return "notasked"; + case WITHHELD: return "withheld"; + case UNAVAILABLE: return "unavailable"; + case NOTSTARTED: return "notstarted"; + case CLOSED: return "closed"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/list-empty-reason"; + } + public String getDefinition() { + switch (this) { + case NILKNOWN: return "Clinical judgement that there are no known items for this list after reasonable investigation. Note that this a positive statement by a clinical user, and not a default position asserted by a computer system in the lack of other information. Example uses:\r\n * For allergies: the patient or patient's agent/guardian has asserted that he/she is not aware of any allergies (NKA - nil known allergies)\r\n * For medications: the patient or patient's agent/guardian has asserted that the patient is known to be taking no medications\r\n * For diagnoses, problems and procedures: the patient or patient's agent/guardian has asserted that there is no known event to record."; + case NOTASKED: return "THe investigation to find out whether there are items for this list has not occurred"; + case WITHHELD: return "Information was not provided due to privacy or confidentiality concerns. Note that it should not be assumed that this means that the particular information in question was withheld due to its contents - it can also be a policy decision"; + case UNAVAILABLE: return "Information to populate this list cannot be obtained. E.g. unconscious patient"; + case NOTSTARTED: return "The work to populate this list has not yet begun"; + case CLOSED: return "This list has now closed or has ceased to be relevant or useful"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NILKNOWN: return "Nil Known"; + case NOTASKED: return "Not Asked"; + case WITHHELD: return "Information Withheld"; + case UNAVAILABLE: return "Unavailable"; + case NOTSTARTED: return "Not Started"; + case CLOSED: return "Closed"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReasonEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReasonEnumFactory.java new file mode 100644 index 00000000000..50603170741 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListEmptyReasonEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ListEmptyReasonEnumFactory implements EnumFactory { + + public ListEmptyReason fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("nilknown".equals(codeString)) + return ListEmptyReason.NILKNOWN; + if ("notasked".equals(codeString)) + return ListEmptyReason.NOTASKED; + if ("withheld".equals(codeString)) + return ListEmptyReason.WITHHELD; + if ("unavailable".equals(codeString)) + return ListEmptyReason.UNAVAILABLE; + if ("notstarted".equals(codeString)) + return ListEmptyReason.NOTSTARTED; + if ("closed".equals(codeString)) + return ListEmptyReason.CLOSED; + throw new IllegalArgumentException("Unknown ListEmptyReason code '"+codeString+"'"); + } + + public String toCode(ListEmptyReason code) { + if (code == ListEmptyReason.NILKNOWN) + return "nilknown"; + if (code == ListEmptyReason.NOTASKED) + return "notasked"; + if (code == ListEmptyReason.WITHHELD) + return "withheld"; + if (code == ListEmptyReason.UNAVAILABLE) + return "unavailable"; + if (code == ListEmptyReason.NOTSTARTED) + return "notstarted"; + if (code == ListEmptyReason.CLOSED) + return "closed"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodes.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodes.java new file mode 100644 index 00000000000..5e0a065a12a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodes.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ListExampleCodes { + + /** + * A list of alerts for the patient + */ + ALERTS, + /** + * A list of part adverse reactions + */ + ADVERSERXNS, + /** + * A list of Allergies for the patient + */ + ALLERGIES, + /** + * A list of medication statements for the patient + */ + MEDICATIONS, + /** + * A list of problems that the patient is known of have (or have had in the past) + */ + PROBLEMS, + /** + * A list of items that constitute a set of work to be performed (typically this code would be specialised for more specific uses, such as a ward round list) + */ + WORKLIST, + /** + * A list of items waiting for an event (perhaps a surgical patient waiting list) + */ + WAITING, + /** + * A set of protocols to be followed + */ + PROTOCOLS, + /** + * A set of care plans that apply in a particular context of care + */ + PLANS, + /** + * added to help the parsers + */ + NULL; + public static ListExampleCodes fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("alerts".equals(codeString)) + return ALERTS; + if ("adverserxns".equals(codeString)) + return ADVERSERXNS; + if ("allergies".equals(codeString)) + return ALLERGIES; + if ("medications".equals(codeString)) + return MEDICATIONS; + if ("problems".equals(codeString)) + return PROBLEMS; + if ("worklist".equals(codeString)) + return WORKLIST; + if ("waiting".equals(codeString)) + return WAITING; + if ("protocols".equals(codeString)) + return PROTOCOLS; + if ("plans".equals(codeString)) + return PLANS; + throw new Exception("Unknown ListExampleCodes code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ALERTS: return "alerts"; + case ADVERSERXNS: return "adverserxns"; + case ALLERGIES: return "allergies"; + case MEDICATIONS: return "medications"; + case PROBLEMS: return "problems"; + case WORKLIST: return "worklist"; + case WAITING: return "waiting"; + case PROTOCOLS: return "protocols"; + case PLANS: return "plans"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/list-example-use-codes"; + } + public String getDefinition() { + switch (this) { + case ALERTS: return "A list of alerts for the patient"; + case ADVERSERXNS: return "A list of part adverse reactions"; + case ALLERGIES: return "A list of Allergies for the patient"; + case MEDICATIONS: return "A list of medication statements for the patient"; + case PROBLEMS: return "A list of problems that the patient is known of have (or have had in the past)"; + case WORKLIST: return "A list of items that constitute a set of work to be performed (typically this code would be specialised for more specific uses, such as a ward round list)"; + case WAITING: return "A list of items waiting for an event (perhaps a surgical patient waiting list)"; + case PROTOCOLS: return "A set of protocols to be followed"; + case PLANS: return "A set of care plans that apply in a particular context of care"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ALERTS: return "Alerts"; + case ADVERSERXNS: return "Adverse Reactions"; + case ALLERGIES: return "Allergies"; + case MEDICATIONS: return "Medication List"; + case PROBLEMS: return "Problem List"; + case WORKLIST: return "Worklist"; + case WAITING: return "Waiting List"; + case PROTOCOLS: return "Protocols"; + case PLANS: return "Care Plans"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodesEnumFactory.java new file mode 100644 index 00000000000..aa067220baf --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListExampleCodesEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ListExampleCodesEnumFactory implements EnumFactory { + + public ListExampleCodes fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("alerts".equals(codeString)) + return ListExampleCodes.ALERTS; + if ("adverserxns".equals(codeString)) + return ListExampleCodes.ADVERSERXNS; + if ("allergies".equals(codeString)) + return ListExampleCodes.ALLERGIES; + if ("medications".equals(codeString)) + return ListExampleCodes.MEDICATIONS; + if ("problems".equals(codeString)) + return ListExampleCodes.PROBLEMS; + if ("worklist".equals(codeString)) + return ListExampleCodes.WORKLIST; + if ("waiting".equals(codeString)) + return ListExampleCodes.WAITING; + if ("protocols".equals(codeString)) + return ListExampleCodes.PROTOCOLS; + if ("plans".equals(codeString)) + return ListExampleCodes.PLANS; + throw new IllegalArgumentException("Unknown ListExampleCodes code '"+codeString+"'"); + } + + public String toCode(ListExampleCodes code) { + if (code == ListExampleCodes.ALERTS) + return "alerts"; + if (code == ListExampleCodes.ADVERSERXNS) + return "adverserxns"; + if (code == ListExampleCodes.ALLERGIES) + return "allergies"; + if (code == ListExampleCodes.MEDICATIONS) + return "medications"; + if (code == ListExampleCodes.PROBLEMS) + return "problems"; + if (code == ListExampleCodes.WORKLIST) + return "worklist"; + if (code == ListExampleCodes.WAITING) + return "waiting"; + if (code == ListExampleCodes.PROTOCOLS) + return "protocols"; + if (code == ListExampleCodes.PLANS) + return "plans"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlag.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlag.java new file mode 100644 index 00000000000..0fb7f61e791 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlag.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ListItemFlag { + + /** + * No change has been made to the status of this medicine item. + */ + _01, + /** + * The medicine item has changed. The change may be described in an extension (not defined yet) + */ + _02, + /** + * The prescription for this medicine item was cancelled by an authorized health care provider. The patient may be advised to complete the course of the prescribed medicine. This advice is a clinical decision made based on assessment of the patient‟s clinical condition. + */ + _03, + /** + * A new medicine item has been prescribed + */ + _04, + /** + * Administration of this medication item that the patient is currently taking is stopped or recommended to be stopped (i.e. instructed to be ceased by a health care provider). This cessation is anticipated to be permanent. The Change Description should describe the reason for cessation. Example uses: the medication in question is considered ineffective or has caused serious adverse effects. This value applies both to the cessation of a medication that is prescribed by another healthcare provider or patient self-administration of OTC medicines. + */ + _05, + /** + * Administration of this medication item that the patient is currently taking is on hold, or instructed or recommended by a health care provider to be temporarily stopped, or subject to clinical review (i.e. the stop may be temporary or permanent depending on the outcome of clinical review), or temporarily suspended as a pre-requisite to certain surgical or diagnostic procedures. + */ + _06, + /** + * added to help the parsers + */ + NULL; + public static ListItemFlag fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("01".equals(codeString)) + return _01; + if ("02".equals(codeString)) + return _02; + if ("03".equals(codeString)) + return _03; + if ("04".equals(codeString)) + return _04; + if ("05".equals(codeString)) + return _05; + if ("06".equals(codeString)) + return _06; + throw new Exception("Unknown ListItemFlag code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _01: return "01"; + case _02: return "02"; + case _03: return "03"; + case _04: return "04"; + case _05: return "05"; + case _06: return "06"; + default: return "?"; + } + } + public String getSystem() { + return "urn:oid:1.2.36.1.2001.1001.101.104.16592"; + } + public String getDefinition() { + switch (this) { + case _01: return "No change has been made to the status of this medicine item."; + case _02: return "The medicine item has changed. The change may be described in an extension (not defined yet)"; + case _03: return "The prescription for this medicine item was cancelled by an authorized health care provider. The patient may be advised to complete the course of the prescribed medicine. This advice is a clinical decision made based on assessment of the patient‟s clinical condition."; + case _04: return "A new medicine item has been prescribed"; + case _05: return "Administration of this medication item that the patient is currently taking is stopped or recommended to be stopped (i.e. instructed to be ceased by a health care provider). This cessation is anticipated to be permanent. The Change Description should describe the reason for cessation. Example uses: the medication in question is considered ineffective or has caused serious adverse effects. This value applies both to the cessation of a medication that is prescribed by another healthcare provider or patient self-administration of OTC medicines."; + case _06: return "Administration of this medication item that the patient is currently taking is on hold, or instructed or recommended by a health care provider to be temporarily stopped, or subject to clinical review (i.e. the stop may be temporary or permanent depending on the outcome of clinical review), or temporarily suspended as a pre-requisite to certain surgical or diagnostic procedures."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _01: return "Unchanged"; + case _02: return "Changed"; + case _03: return "Cancelled"; + case _04: return "Prescribed"; + case _05: return "Ceased"; + case _06: return "Suspended"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlagEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlagEnumFactory.java new file mode 100644 index 00000000000..b4e6d0e6a83 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListItemFlagEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ListItemFlagEnumFactory implements EnumFactory { + + public ListItemFlag fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("01".equals(codeString)) + return ListItemFlag._01; + if ("02".equals(codeString)) + return ListItemFlag._02; + if ("03".equals(codeString)) + return ListItemFlag._03; + if ("04".equals(codeString)) + return ListItemFlag._04; + if ("05".equals(codeString)) + return ListItemFlag._05; + if ("06".equals(codeString)) + return ListItemFlag._06; + throw new IllegalArgumentException("Unknown ListItemFlag code '"+codeString+"'"); + } + + public String toCode(ListItemFlag code) { + if (code == ListItemFlag._01) + return "01"; + if (code == ListItemFlag._02) + return "02"; + if (code == ListItemFlag._03) + return "03"; + if (code == ListItemFlag._04) + return "04"; + if (code == ListItemFlag._05) + return "05"; + if (code == ListItemFlag._06) + return "06"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrder.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrder.java new file mode 100644 index 00000000000..645cfcf77f1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrder.java @@ -0,0 +1,139 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ListOrder { + + /** + * The list was sorted by a user. The criteria the user used are not specified + */ + USER, + /** + * The list was sorted by the system. The criteria the user used are not specified; define additional codes to specify a particular order (or use other defined codes) + */ + SYSTEM, + /** + * The list is sorted by the data of the event. This can be used when the list has items which are dates with past or future events + */ + EVENTDATE, + /** + * The list is sorted by the date the item was added to the list. Note that the date added to the list is not explicit in the list itself + */ + ENTRYDATE, + /** + * The list is sorted by priority. The exact method in which priority has been determined is not specified + */ + PRIORITY, + /** + * The list is sorted alphabetically by an unspecified property of the items in the list + */ + ALPHABETIC, + /** + * The list is sorted categorically by an unspecified property of the items in the list + */ + CATEGORY, + /** + * The list is sorted by patient, with items for each patient grouped together + */ + PATIENT, + /** + * added to help the parsers + */ + NULL; + public static ListOrder fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("user".equals(codeString)) + return USER; + if ("system".equals(codeString)) + return SYSTEM; + if ("event-date".equals(codeString)) + return EVENTDATE; + if ("entry-date".equals(codeString)) + return ENTRYDATE; + if ("priority".equals(codeString)) + return PRIORITY; + if ("alphabetic".equals(codeString)) + return ALPHABETIC; + if ("category".equals(codeString)) + return CATEGORY; + if ("patient".equals(codeString)) + return PATIENT; + throw new Exception("Unknown ListOrder code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case USER: return "user"; + case SYSTEM: return "system"; + case EVENTDATE: return "event-date"; + case ENTRYDATE: return "entry-date"; + case PRIORITY: return "priority"; + case ALPHABETIC: return "alphabetic"; + case CATEGORY: return "category"; + case PATIENT: return "patient"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/list-order"; + } + public String getDefinition() { + switch (this) { + case USER: return "The list was sorted by a user. The criteria the user used are not specified"; + case SYSTEM: return "The list was sorted by the system. The criteria the user used are not specified; define additional codes to specify a particular order (or use other defined codes)"; + case EVENTDATE: return "The list is sorted by the data of the event. This can be used when the list has items which are dates with past or future events"; + case ENTRYDATE: return "The list is sorted by the date the item was added to the list. Note that the date added to the list is not explicit in the list itself"; + case PRIORITY: return "The list is sorted by priority. The exact method in which priority has been determined is not specified"; + case ALPHABETIC: return "The list is sorted alphabetically by an unspecified property of the items in the list"; + case CATEGORY: return "The list is sorted categorically by an unspecified property of the items in the list"; + case PATIENT: return "The list is sorted by patient, with items for each patient grouped together"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case USER: return "Sorted by User"; + case SYSTEM: return "Sorted by System"; + case EVENTDATE: return "Sorted by Event Date"; + case ENTRYDATE: return "Sorted by Item Date"; + case PRIORITY: return "Sorted by Priority"; + case ALPHABETIC: return "Sorted Alphabetically"; + case CATEGORY: return "Sorted by Category"; + case PATIENT: return "Sorted by Patient"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrderEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrderEnumFactory.java new file mode 100644 index 00000000000..22d76eb6444 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ListOrderEnumFactory.java @@ -0,0 +1,83 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ListOrderEnumFactory implements EnumFactory { + + public ListOrder fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("user".equals(codeString)) + return ListOrder.USER; + if ("system".equals(codeString)) + return ListOrder.SYSTEM; + if ("event-date".equals(codeString)) + return ListOrder.EVENTDATE; + if ("entry-date".equals(codeString)) + return ListOrder.ENTRYDATE; + if ("priority".equals(codeString)) + return ListOrder.PRIORITY; + if ("alphabetic".equals(codeString)) + return ListOrder.ALPHABETIC; + if ("category".equals(codeString)) + return ListOrder.CATEGORY; + if ("patient".equals(codeString)) + return ListOrder.PATIENT; + throw new IllegalArgumentException("Unknown ListOrder code '"+codeString+"'"); + } + + public String toCode(ListOrder code) { + if (code == ListOrder.USER) + return "user"; + if (code == ListOrder.SYSTEM) + return "system"; + if (code == ListOrder.EVENTDATE) + return "event-date"; + if (code == ListOrder.ENTRYDATE) + return "entry-date"; + if (code == ListOrder.PRIORITY) + return "priority"; + if (code == ListOrder.ALPHABETIC) + return "alphabetic"; + if (code == ListOrder.CATEGORY) + return "category"; + if (code == ListOrder.PATIENT) + return "patient"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalType.java new file mode 100644 index 00000000000..03340c3f527 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalType.java @@ -0,0 +1,175 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum LocationPhysicalType { + + /** + * Any Building or structure. This may contain rooms, corridors, wings, etc. It may not have walls, or a roof, but is considered a defined/allocated space. + */ + BU, + /** + * A Wing within a Building, this often contains levels, rooms and corridors. + */ + WI, + /** + * A Level in a multi-level Building/Structure + */ + LVL, + /** + * Any corridor within a Building, that is not within + */ + CO, + /** + * A space that is allocated as a room, it may have walls/roof etc, but does not require these + */ + RO, + /** + * A space that is allocated for sleeping/laying on + */ + BD, + /** + * A means of transportation + */ + VE, + /** + * A residential dwelling. Usually used to reference a location that a person/patient may reside + */ + HO, + /** + * A container that can store goods, equipment, medications or other items + */ + CA, + /** + * A defined path to travel between 2 points that has a known name + */ + RD, + /** + * A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (eg. CDC, FDA etc.) or a Business segment (UK Pharmacy) + */ + JDN, + /** + * An defined boundary, such as a state, region, country, county + */ + AREA, + /** + * added to help the parsers + */ + NULL; + public static LocationPhysicalType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("bu".equals(codeString)) + return BU; + if ("wi".equals(codeString)) + return WI; + if ("lvl".equals(codeString)) + return LVL; + if ("co".equals(codeString)) + return CO; + if ("ro".equals(codeString)) + return RO; + if ("bd".equals(codeString)) + return BD; + if ("ve".equals(codeString)) + return VE; + if ("ho".equals(codeString)) + return HO; + if ("ca".equals(codeString)) + return CA; + if ("rd".equals(codeString)) + return RD; + if ("jdn".equals(codeString)) + return JDN; + if ("area".equals(codeString)) + return AREA; + throw new Exception("Unknown LocationPhysicalType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BU: return "bu"; + case WI: return "wi"; + case LVL: return "lvl"; + case CO: return "co"; + case RO: return "ro"; + case BD: return "bd"; + case VE: return "ve"; + case HO: return "ho"; + case CA: return "ca"; + case RD: return "rd"; + case JDN: return "jdn"; + case AREA: return "area"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/location-physical-type"; + } + public String getDefinition() { + switch (this) { + case BU: return "Any Building or structure. This may contain rooms, corridors, wings, etc. It may not have walls, or a roof, but is considered a defined/allocated space."; + case WI: return "A Wing within a Building, this often contains levels, rooms and corridors."; + case LVL: return "A Level in a multi-level Building/Structure"; + case CO: return "Any corridor within a Building, that is not within"; + case RO: return "A space that is allocated as a room, it may have walls/roof etc, but does not require these"; + case BD: return "A space that is allocated for sleeping/laying on"; + case VE: return "A means of transportation"; + case HO: return "A residential dwelling. Usually used to reference a location that a person/patient may reside"; + case CA: return "A container that can store goods, equipment, medications or other items"; + case RD: return "A defined path to travel between 2 points that has a known name"; + case JDN: return "A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (eg. CDC, FDA etc.) or a Business segment (UK Pharmacy)"; + case AREA: return "An defined boundary, such as a state, region, country, county"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BU: return "Building"; + case WI: return "Wing"; + case LVL: return "Level"; + case CO: return "Corridor"; + case RO: return "Room"; + case BD: return "Bed"; + case VE: return "Vehicle"; + case HO: return "House"; + case CA: return "Cabinet"; + case RD: return "Road"; + case JDN: return "Jurisdiction"; + case AREA: return "Area"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalTypeEnumFactory.java new file mode 100644 index 00000000000..87c813a069c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/LocationPhysicalTypeEnumFactory.java @@ -0,0 +1,99 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class LocationPhysicalTypeEnumFactory implements EnumFactory { + + public LocationPhysicalType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("bu".equals(codeString)) + return LocationPhysicalType.BU; + if ("wi".equals(codeString)) + return LocationPhysicalType.WI; + if ("lvl".equals(codeString)) + return LocationPhysicalType.LVL; + if ("co".equals(codeString)) + return LocationPhysicalType.CO; + if ("ro".equals(codeString)) + return LocationPhysicalType.RO; + if ("bd".equals(codeString)) + return LocationPhysicalType.BD; + if ("ve".equals(codeString)) + return LocationPhysicalType.VE; + if ("ho".equals(codeString)) + return LocationPhysicalType.HO; + if ("ca".equals(codeString)) + return LocationPhysicalType.CA; + if ("rd".equals(codeString)) + return LocationPhysicalType.RD; + if ("jdn".equals(codeString)) + return LocationPhysicalType.JDN; + if ("area".equals(codeString)) + return LocationPhysicalType.AREA; + throw new IllegalArgumentException("Unknown LocationPhysicalType code '"+codeString+"'"); + } + + public String toCode(LocationPhysicalType code) { + if (code == LocationPhysicalType.BU) + return "bu"; + if (code == LocationPhysicalType.WI) + return "wi"; + if (code == LocationPhysicalType.LVL) + return "lvl"; + if (code == LocationPhysicalType.CO) + return "co"; + if (code == LocationPhysicalType.RO) + return "ro"; + if (code == LocationPhysicalType.BD) + return "bd"; + if (code == LocationPhysicalType.VE) + return "ve"; + if (code == LocationPhysicalType.HO) + return "ho"; + if (code == LocationPhysicalType.CA) + return "ca"; + if (code == LocationPhysicalType.RD) + return "rd"; + if (code == LocationPhysicalType.JDN) + return "jdn"; + if (code == LocationPhysicalType.AREA) + return "area"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccurs.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccurs.java new file mode 100644 index 00000000000..7e313cad097 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccurs.java @@ -0,0 +1,76 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum MaxOccurs { + + /** + * Element can repeat an unlimited number of times + */ + ASTERISK, + /** + * added to help the parsers + */ + NULL; + public static MaxOccurs fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("*".equals(codeString)) + return ASTERISK; + throw new Exception("Unknown MaxOccurs code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ASTERISK: return "*"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/max-occurs"; + } + public String getDefinition() { + switch (this) { + case ASTERISK: return "Element can repeat an unlimited number of times"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ASTERISK: return " "; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccursEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccursEnumFactory.java new file mode 100644 index 00000000000..7b0fa5231dc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MaxOccursEnumFactory.java @@ -0,0 +1,55 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class MaxOccursEnumFactory implements EnumFactory { + + public MaxOccurs fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("*".equals(codeString)) + return MaxOccurs.ASTERISK; + throw new IllegalArgumentException("Unknown MaxOccurs code '"+codeString+"'"); + } + + public String toCode(MaxOccurs code) { + if (code == MaxOccurs.ASTERISK) + return "*"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounter.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounter.java new file mode 100644 index 00000000000..b1d2aa840d5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounter.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum MessageReasonEncounter { + + /** + * The patient has been admitted + */ + ADMIT, + /** + * The patient has been discharged + */ + DISCHARGE, + /** + * The patient has temporarily left the institution + */ + ABSENT, + /** + * The patient has returned from a temporary absence + */ + RETURN, + /** + * The patient has been moved to a new location + */ + MOVED, + /** + * Encounter details have been updated (e.g. to correct a coding error) + */ + EDIT, + /** + * added to help the parsers + */ + NULL; + public static MessageReasonEncounter fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("admit".equals(codeString)) + return ADMIT; + if ("discharge".equals(codeString)) + return DISCHARGE; + if ("absent".equals(codeString)) + return ABSENT; + if ("return".equals(codeString)) + return RETURN; + if ("moved".equals(codeString)) + return MOVED; + if ("edit".equals(codeString)) + return EDIT; + throw new Exception("Unknown MessageReasonEncounter code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ADMIT: return "admit"; + case DISCHARGE: return "discharge"; + case ABSENT: return "absent"; + case RETURN: return "return"; + case MOVED: return "moved"; + case EDIT: return "edit"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/message-reasons-encounter"; + } + public String getDefinition() { + switch (this) { + case ADMIT: return "The patient has been admitted"; + case DISCHARGE: return "The patient has been discharged"; + case ABSENT: return "The patient has temporarily left the institution"; + case RETURN: return "The patient has returned from a temporary absence"; + case MOVED: return "The patient has been moved to a new location"; + case EDIT: return "Encounter details have been updated (e.g. to correct a coding error)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ADMIT: return "Admit"; + case DISCHARGE: return "Discharge"; + case ABSENT: return "Absent"; + case RETURN: return "Returned"; + case MOVED: return "Moved"; + case EDIT: return "Edit"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounterEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounterEnumFactory.java new file mode 100644 index 00000000000..ae350ee2913 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageReasonEncounterEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class MessageReasonEncounterEnumFactory implements EnumFactory { + + public MessageReasonEncounter fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("admit".equals(codeString)) + return MessageReasonEncounter.ADMIT; + if ("discharge".equals(codeString)) + return MessageReasonEncounter.DISCHARGE; + if ("absent".equals(codeString)) + return MessageReasonEncounter.ABSENT; + if ("return".equals(codeString)) + return MessageReasonEncounter.RETURN; + if ("moved".equals(codeString)) + return MessageReasonEncounter.MOVED; + if ("edit".equals(codeString)) + return MessageReasonEncounter.EDIT; + throw new IllegalArgumentException("Unknown MessageReasonEncounter code '"+codeString+"'"); + } + + public String toCode(MessageReasonEncounter code) { + if (code == MessageReasonEncounter.ADMIT) + return "admit"; + if (code == MessageReasonEncounter.DISCHARGE) + return "discharge"; + if (code == MessageReasonEncounter.ABSENT) + return "absent"; + if (code == MessageReasonEncounter.RETURN) + return "return"; + if (code == MessageReasonEncounter.MOVED) + return "moved"; + if (code == MessageReasonEncounter.EDIT) + return "edit"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransport.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransport.java new file mode 100644 index 00000000000..102b38fdb45 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransport.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum MessageTransport { + + /** + * The application sends or receives messages using HTTP POST (may be over http or https) + */ + HTTP, + /** + * The application sends or receives messages using File Transfer Protocol + */ + FTP, + /** + * The application sends or receivers messages using HL7's Minimal Lower Level Protocol + */ + MLLP, + /** + * added to help the parsers + */ + NULL; + public static MessageTransport fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("http".equals(codeString)) + return HTTP; + if ("ftp".equals(codeString)) + return FTP; + if ("mllp".equals(codeString)) + return MLLP; + throw new Exception("Unknown MessageTransport code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HTTP: return "http"; + case FTP: return "ftp"; + case MLLP: return "mllp"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/message-transport"; + } + public String getDefinition() { + switch (this) { + case HTTP: return "The application sends or receives messages using HTTP POST (may be over http or https)"; + case FTP: return "The application sends or receives messages using File Transfer Protocol"; + case MLLP: return "The application sends or receivers messages using HL7's Minimal Lower Level Protocol"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HTTP: return "Http"; + case FTP: return "Ftp"; + case MLLP: return "Mllp"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransportEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransportEnumFactory.java new file mode 100644 index 00000000000..97b068d1e63 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MessageTransportEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class MessageTransportEnumFactory implements EnumFactory { + + public MessageTransport fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("http".equals(codeString)) + return MessageTransport.HTTP; + if ("ftp".equals(codeString)) + return MessageTransport.FTP; + if ("mllp".equals(codeString)) + return MessageTransport.MLLP; + throw new IllegalArgumentException("Unknown MessageTransport code '"+codeString+"'"); + } + + public String toCode(MessageTransport code) { + if (code == MessageTransport.HTTP) + return "http"; + if (code == MessageTransport.FTP) + return "ftp"; + if (code == MessageTransport.MLLP) + return "mllp"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReason.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReason.java new file mode 100644 index 00000000000..94ead38ddcf --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReason.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum MissingToothReason { + + /** + * null + */ + E, + /** + * null + */ + C, + /** + * null + */ + U, + /** + * null + */ + O, + /** + * added to help the parsers + */ + NULL; + public static MissingToothReason fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return E; + if ("C".equals(codeString)) + return C; + if ("U".equals(codeString)) + return U; + if ("O".equals(codeString)) + return O; + throw new Exception("Unknown MissingToothReason code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case E: return "E"; + case C: return "C"; + case U: return "U"; + case O: return "O"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/missingtoothreason"; + } + public String getDefinition() { + switch (this) { + case E: return ""; + case C: return ""; + case U: return ""; + case O: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case E: return "E"; + case C: return "C"; + case U: return "U"; + case O: return "O"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReasonEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReasonEnumFactory.java new file mode 100644 index 00000000000..8e2071c8f1e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/MissingToothReasonEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class MissingToothReasonEnumFactory implements EnumFactory { + + public MissingToothReason fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return MissingToothReason.E; + if ("C".equals(codeString)) + return MissingToothReason.C; + if ("U".equals(codeString)) + return MissingToothReason.U; + if ("O".equals(codeString)) + return MissingToothReason.O; + throw new IllegalArgumentException("Unknown MissingToothReason code '"+codeString+"'"); + } + + public String toCode(MissingToothReason code) { + if (code == MissingToothReason.E) + return "E"; + if (code == MissingToothReason.C) + return "C"; + if (code == MissingToothReason.U) + return "U"; + if (code == MissingToothReason.O) + return "O"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Modifiers.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Modifiers.java new file mode 100644 index 00000000000..062df0b3e41 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Modifiers.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Modifiers { + + /** + * null + */ + A, + /** + * null + */ + B, + /** + * null + */ + C, + /** + * null + */ + E, + /** + * null + */ + X, + /** + * added to help the parsers + */ + NULL; + public static Modifiers fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return A; + if ("B".equals(codeString)) + return B; + if ("C".equals(codeString)) + return C; + if ("E".equals(codeString)) + return E; + if ("X".equals(codeString)) + return X; + throw new Exception("Unknown Modifiers code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "A"; + case B: return "B"; + case C: return "C"; + case E: return "E"; + case X: return "X"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/modifiers"; + } + public String getDefinition() { + switch (this) { + case A: return ""; + case B: return ""; + case C: return ""; + case E: return ""; + case X: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "A"; + case B: return "B"; + case C: return "C"; + case E: return "E"; + case X: return "X"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ModifiersEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ModifiersEnumFactory.java new file mode 100644 index 00000000000..d72443a289a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ModifiersEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ModifiersEnumFactory implements EnumFactory { + + public Modifiers fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return Modifiers.A; + if ("B".equals(codeString)) + return Modifiers.B; + if ("C".equals(codeString)) + return Modifiers.C; + if ("E".equals(codeString)) + return Modifiers.E; + if ("X".equals(codeString)) + return Modifiers.X; + throw new IllegalArgumentException("Unknown Modifiers code '"+codeString+"'"); + } + + public String toCode(Modifiers code) { + if (code == Modifiers.A) + return "A"; + if (code == Modifiers.B) + return "B"; + if (code == Modifiers.C) + return "C"; + if (code == Modifiers.E) + return "E"; + if (code == Modifiers.X) + return "X"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreason.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreason.java new file mode 100644 index 00000000000..ab10f5f8076 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreason.java @@ -0,0 +1,139 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ObservationValueabsentreason { + + /** + * The value is not known + */ + UNKNOWN, + /** + * The source human does not know the value + */ + ASKED, + /** + * There is reason to expect (from the workflow) that the value may become known + */ + TEMP, + /** + * The workflow didn't lead to this value being known + */ + NOTASKED, + /** + * The information is not available due to security, privacy or related reasons + */ + MASKED, + /** + * The source system wasn't capable of supporting this element + */ + UNSUPPORTED, + /** + * The content of the data is represented in the resource narrative + */ + ASTEXT, + /** + * Some system or workflow process error means that the information is not available + */ + ERROR, + /** + * added to help the parsers + */ + NULL; + public static ObservationValueabsentreason fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return UNKNOWN; + if ("asked".equals(codeString)) + return ASKED; + if ("temp".equals(codeString)) + return TEMP; + if ("notasked".equals(codeString)) + return NOTASKED; + if ("masked".equals(codeString)) + return MASKED; + if ("unsupported".equals(codeString)) + return UNSUPPORTED; + if ("astext".equals(codeString)) + return ASTEXT; + if ("error".equals(codeString)) + return ERROR; + throw new Exception("Unknown ObservationValueabsentreason code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case UNKNOWN: return "unknown"; + case ASKED: return "asked"; + case TEMP: return "temp"; + case NOTASKED: return "notasked"; + case MASKED: return "masked"; + case UNSUPPORTED: return "unsupported"; + case ASTEXT: return "astext"; + case ERROR: return "error"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/data-absent-reason"; + } + public String getDefinition() { + switch (this) { + case UNKNOWN: return "The value is not known"; + case ASKED: return "The source human does not know the value"; + case TEMP: return "There is reason to expect (from the workflow) that the value may become known"; + case NOTASKED: return "The workflow didn't lead to this value being known"; + case MASKED: return "The information is not available due to security, privacy or related reasons"; + case UNSUPPORTED: return "The source system wasn't capable of supporting this element"; + case ASTEXT: return "The content of the data is represented in the resource narrative"; + case ERROR: return "Some system or workflow process error means that the information is not available"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case UNKNOWN: return "Unknown"; + case ASKED: return "Asked"; + case TEMP: return "Temp"; + case NOTASKED: return "Not Asked"; + case MASKED: return "Masked"; + case UNSUPPORTED: return "Unsupported"; + case ASTEXT: return "As Text"; + case ERROR: return "Error"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreasonEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreasonEnumFactory.java new file mode 100644 index 00000000000..d61d15bfb76 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ObservationValueabsentreasonEnumFactory.java @@ -0,0 +1,83 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ObservationValueabsentreasonEnumFactory implements EnumFactory { + + public ObservationValueabsentreason fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return ObservationValueabsentreason.UNKNOWN; + if ("asked".equals(codeString)) + return ObservationValueabsentreason.ASKED; + if ("temp".equals(codeString)) + return ObservationValueabsentreason.TEMP; + if ("notasked".equals(codeString)) + return ObservationValueabsentreason.NOTASKED; + if ("masked".equals(codeString)) + return ObservationValueabsentreason.MASKED; + if ("unsupported".equals(codeString)) + return ObservationValueabsentreason.UNSUPPORTED; + if ("astext".equals(codeString)) + return ObservationValueabsentreason.ASTEXT; + if ("error".equals(codeString)) + return ObservationValueabsentreason.ERROR; + throw new IllegalArgumentException("Unknown ObservationValueabsentreason code '"+codeString+"'"); + } + + public String toCode(ObservationValueabsentreason code) { + if (code == ObservationValueabsentreason.UNKNOWN) + return "unknown"; + if (code == ObservationValueabsentreason.ASKED) + return "asked"; + if (code == ObservationValueabsentreason.TEMP) + return "temp"; + if (code == ObservationValueabsentreason.NOTASKED) + return "notasked"; + if (code == ObservationValueabsentreason.MASKED) + return "masked"; + if (code == ObservationValueabsentreason.UNSUPPORTED) + return "unsupported"; + if (code == ObservationValueabsentreason.ASTEXT) + return "astext"; + if (code == ObservationValueabsentreason.ERROR) + return "error"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterial.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterial.java new file mode 100644 index 00000000000..21f15dc6fb5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterial.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum OralProsthodonticMaterial { + + /** + * null + */ + _1, + /** + * null + */ + _2, + /** + * null + */ + _3, + /** + * null + */ + _4, + /** + * added to help the parsers + */ + NULL; + public static OralProsthodonticMaterial fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return _1; + if ("2".equals(codeString)) + return _2; + if ("3".equals(codeString)) + return _3; + if ("4".equals(codeString)) + return _4; + throw new Exception("Unknown OralProsthodonticMaterial code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-oralprostho"; + } + public String getDefinition() { + switch (this) { + case _1: return ""; + case _2: return ""; + case _3: return ""; + case _4: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterialEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterialEnumFactory.java new file mode 100644 index 00000000000..df1f2e6c1b5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OralProsthodonticMaterialEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class OralProsthodonticMaterialEnumFactory implements EnumFactory { + + public OralProsthodonticMaterial fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return OralProsthodonticMaterial._1; + if ("2".equals(codeString)) + return OralProsthodonticMaterial._2; + if ("3".equals(codeString)) + return OralProsthodonticMaterial._3; + if ("4".equals(codeString)) + return OralProsthodonticMaterial._4; + throw new IllegalArgumentException("Unknown OralProsthodonticMaterial code '"+codeString+"'"); + } + + public String toCode(OralProsthodonticMaterial code) { + if (code == OralProsthodonticMaterial._1) + return "1"; + if (code == OralProsthodonticMaterial._2) + return "2"; + if (code == OralProsthodonticMaterial._3) + return "3"; + if (code == OralProsthodonticMaterial._4) + return "4"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationType.java new file mode 100644 index 00000000000..9be7786f3de --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationType.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum OrganizationType { + + /** + * An organization that provides healthcare services + */ + PROV, + /** + * A department or ward within a hospital (Generally is not applicable to top level organizations) + */ + DEPT, + /** + * An organizational team is usualy a grouping of practitioners that perform a specific function within an organization (which could be a top level organization, or a department) + */ + TEAM, + /** + * A political body, often used when including organization records for government bodies such as a Federal Government, State or Local Government + */ + GOVT, + /** + * A company that provides insurance to its subscribers that may include healthcare related policies + */ + INS, + /** + * An educational institution that provides education or research facilitites + */ + EDU, + /** + * An organization that identified as a part of a religeous institution + */ + RELI, + /** + * added to help the parsers + */ + NULL; + public static OrganizationType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("prov".equals(codeString)) + return PROV; + if ("dept".equals(codeString)) + return DEPT; + if ("team".equals(codeString)) + return TEAM; + if ("govt".equals(codeString)) + return GOVT; + if ("ins".equals(codeString)) + return INS; + if ("edu".equals(codeString)) + return EDU; + if ("reli".equals(codeString)) + return RELI; + throw new Exception("Unknown OrganizationType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PROV: return "prov"; + case DEPT: return "dept"; + case TEAM: return "team"; + case GOVT: return "govt"; + case INS: return "ins"; + case EDU: return "edu"; + case RELI: return "reli"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/organization-type"; + } + public String getDefinition() { + switch (this) { + case PROV: return "An organization that provides healthcare services"; + case DEPT: return "A department or ward within a hospital (Generally is not applicable to top level organizations)"; + case TEAM: return "An organizational team is usualy a grouping of practitioners that perform a specific function within an organization (which could be a top level organization, or a department)"; + case GOVT: return "A political body, often used when including organization records for government bodies such as a Federal Government, State or Local Government"; + case INS: return "A company that provides insurance to its subscribers that may include healthcare related policies"; + case EDU: return "An educational institution that provides education or research facilitites"; + case RELI: return "An organization that identified as a part of a religeous institution"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PROV: return "Healthcare Provider"; + case DEPT: return "Hospital Department"; + case TEAM: return "Organizational team"; + case GOVT: return "Government"; + case INS: return "Insurance Company"; + case EDU: return "Educational Institute"; + case RELI: return "Religious Institution"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationTypeEnumFactory.java new file mode 100644 index 00000000000..d947d823b37 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/OrganizationTypeEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class OrganizationTypeEnumFactory implements EnumFactory { + + public OrganizationType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("prov".equals(codeString)) + return OrganizationType.PROV; + if ("dept".equals(codeString)) + return OrganizationType.DEPT; + if ("team".equals(codeString)) + return OrganizationType.TEAM; + if ("govt".equals(codeString)) + return OrganizationType.GOVT; + if ("ins".equals(codeString)) + return OrganizationType.INS; + if ("edu".equals(codeString)) + return OrganizationType.EDU; + if ("reli".equals(codeString)) + return OrganizationType.RELI; + throw new IllegalArgumentException("Unknown OrganizationType code '"+codeString+"'"); + } + + public String toCode(OrganizationType code) { + if (code == OrganizationType.PROV) + return "prov"; + if (code == OrganizationType.DEPT) + return "dept"; + if (code == OrganizationType.TEAM) + return "team"; + if (code == OrganizationType.GOVT) + return "govt"; + if (code == OrganizationType.INS) + return "ins"; + if (code == OrganizationType.EDU) + return "edu"; + if (code == OrganizationType.RELI) + return "reli"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationship.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationship.java new file mode 100644 index 00000000000..d87afa67030 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationship.java @@ -0,0 +1,166 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum PatientContactRelationship { + + /** + * Contact for use in case of emergency + */ + EMERGENCY, + /** + * null + */ + FAMILY, + /** + * null + */ + GUARDIAN, + /** + * null + */ + FRIEND, + /** + * null + */ + PARTNER, + /** + * Contact for matters related to the patients occupation/employment + */ + WORK, + /** + * (Non)professional caregiver + */ + CAREGIVER, + /** + * Contact that acts on behalf of the patient + */ + AGENT, + /** + * Contact for financial matters + */ + GUARANTOR, + /** + * For animals, the owner of the animal + */ + OWNER, + /** + * Parent of the patient + */ + PARENT, + /** + * added to help the parsers + */ + NULL; + public static PatientContactRelationship fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("emergency".equals(codeString)) + return EMERGENCY; + if ("family".equals(codeString)) + return FAMILY; + if ("guardian".equals(codeString)) + return GUARDIAN; + if ("friend".equals(codeString)) + return FRIEND; + if ("partner".equals(codeString)) + return PARTNER; + if ("work".equals(codeString)) + return WORK; + if ("caregiver".equals(codeString)) + return CAREGIVER; + if ("agent".equals(codeString)) + return AGENT; + if ("guarantor".equals(codeString)) + return GUARANTOR; + if ("owner".equals(codeString)) + return OWNER; + if ("parent".equals(codeString)) + return PARENT; + throw new Exception("Unknown PatientContactRelationship code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case EMERGENCY: return "emergency"; + case FAMILY: return "family"; + case GUARDIAN: return "guardian"; + case FRIEND: return "friend"; + case PARTNER: return "partner"; + case WORK: return "work"; + case CAREGIVER: return "caregiver"; + case AGENT: return "agent"; + case GUARANTOR: return "guarantor"; + case OWNER: return "owner"; + case PARENT: return "parent"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/patient-contact-relationship"; + } + public String getDefinition() { + switch (this) { + case EMERGENCY: return "Contact for use in case of emergency"; + case FAMILY: return ""; + case GUARDIAN: return ""; + case FRIEND: return ""; + case PARTNER: return ""; + case WORK: return "Contact for matters related to the patients occupation/employment"; + case CAREGIVER: return "(Non)professional caregiver"; + case AGENT: return "Contact that acts on behalf of the patient"; + case GUARANTOR: return "Contact for financial matters"; + case OWNER: return "For animals, the owner of the animal"; + case PARENT: return "Parent of the patient"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case EMERGENCY: return "Emergency"; + case FAMILY: return "Family"; + case GUARDIAN: return "Guardian"; + case FRIEND: return "Friend"; + case PARTNER: return "Partner"; + case WORK: return "Work"; + case CAREGIVER: return "Caregiver"; + case AGENT: return "Agent"; + case GUARANTOR: return "Guarantor"; + case OWNER: return "Owner of animal"; + case PARENT: return "Parent"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationshipEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationshipEnumFactory.java new file mode 100644 index 00000000000..d637fa9ed5c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PatientContactRelationshipEnumFactory.java @@ -0,0 +1,95 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class PatientContactRelationshipEnumFactory implements EnumFactory { + + public PatientContactRelationship fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("emergency".equals(codeString)) + return PatientContactRelationship.EMERGENCY; + if ("family".equals(codeString)) + return PatientContactRelationship.FAMILY; + if ("guardian".equals(codeString)) + return PatientContactRelationship.GUARDIAN; + if ("friend".equals(codeString)) + return PatientContactRelationship.FRIEND; + if ("partner".equals(codeString)) + return PatientContactRelationship.PARTNER; + if ("work".equals(codeString)) + return PatientContactRelationship.WORK; + if ("caregiver".equals(codeString)) + return PatientContactRelationship.CAREGIVER; + if ("agent".equals(codeString)) + return PatientContactRelationship.AGENT; + if ("guarantor".equals(codeString)) + return PatientContactRelationship.GUARANTOR; + if ("owner".equals(codeString)) + return PatientContactRelationship.OWNER; + if ("parent".equals(codeString)) + return PatientContactRelationship.PARENT; + throw new IllegalArgumentException("Unknown PatientContactRelationship code '"+codeString+"'"); + } + + public String toCode(PatientContactRelationship code) { + if (code == PatientContactRelationship.EMERGENCY) + return "emergency"; + if (code == PatientContactRelationship.FAMILY) + return "family"; + if (code == PatientContactRelationship.GUARDIAN) + return "guardian"; + if (code == PatientContactRelationship.FRIEND) + return "friend"; + if (code == PatientContactRelationship.PARTNER) + return "partner"; + if (code == PatientContactRelationship.WORK) + return "work"; + if (code == PatientContactRelationship.CAREGIVER) + return "caregiver"; + if (code == PatientContactRelationship.AGENT) + return "agent"; + if (code == PatientContactRelationship.GUARANTOR) + return "guarantor"; + if (code == PatientContactRelationship.OWNER) + return "owner"; + if (code == PatientContactRelationship.PARENT) + return "parent"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Payeetype.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Payeetype.java new file mode 100644 index 00000000000..1eb295b8198 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Payeetype.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Payeetype { + + /** + * null + */ + SUBSCRIBER, + /** + * null + */ + PROVIDER, + /** + * null + */ + OTHER, + /** + * added to help the parsers + */ + NULL; + public static Payeetype fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("subscriber".equals(codeString)) + return SUBSCRIBER; + if ("provider".equals(codeString)) + return PROVIDER; + if ("other".equals(codeString)) + return OTHER; + throw new Exception("Unknown Payeetype code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case SUBSCRIBER: return "subscriber"; + case PROVIDER: return "provider"; + case OTHER: return "other"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/payeetype"; + } + public String getDefinition() { + switch (this) { + case SUBSCRIBER: return ""; + case PROVIDER: return ""; + case OTHER: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case SUBSCRIBER: return "subscriber"; + case PROVIDER: return "provider"; + case OTHER: return "other"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PayeetypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PayeetypeEnumFactory.java new file mode 100644 index 00000000000..3c2d682f577 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PayeetypeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class PayeetypeEnumFactory implements EnumFactory { + + public Payeetype fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("subscriber".equals(codeString)) + return Payeetype.SUBSCRIBER; + if ("provider".equals(codeString)) + return Payeetype.PROVIDER; + if ("other".equals(codeString)) + return Payeetype.OTHER; + throw new IllegalArgumentException("Unknown Payeetype code '"+codeString+"'"); + } + + public String toCode(Payeetype code) { + if (code == Payeetype.SUBSCRIBER) + return "subscriber"; + if (code == Payeetype.PROVIDER) + return "provider"; + if (code == Payeetype.OTHER) + return "other"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatus.java new file mode 100644 index 00000000000..7b98ff26f7a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatus.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum PaymentStatus { + + /** + * null + */ + PAID, + /** + * null + */ + CLEARED, + /** + * added to help the parsers + */ + NULL; + public static PaymentStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("paid".equals(codeString)) + return PAID; + if ("cleared".equals(codeString)) + return CLEARED; + throw new Exception("Unknown PaymentStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PAID: return "paid"; + case CLEARED: return "cleared"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/paymentstatus"; + } + public String getDefinition() { + switch (this) { + case PAID: return ""; + case CLEARED: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PAID: return "paid"; + case CLEARED: return "cleared"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatusEnumFactory.java new file mode 100644 index 00000000000..7753029de34 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentStatusEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class PaymentStatusEnumFactory implements EnumFactory { + + public PaymentStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("paid".equals(codeString)) + return PaymentStatus.PAID; + if ("cleared".equals(codeString)) + return PaymentStatus.CLEARED; + throw new IllegalArgumentException("Unknown PaymentStatus code '"+codeString+"'"); + } + + public String toCode(PaymentStatus code) { + if (code == PaymentStatus.PAID) + return "paid"; + if (code == PaymentStatus.CLEARED) + return "cleared"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentType.java new file mode 100644 index 00000000000..dce2f831c89 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentType.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum PaymentType { + + /** + * null + */ + PAYMENT, + /** + * null + */ + ADJUSTMENT, + /** + * null + */ + ADVANCE, + /** + * added to help the parsers + */ + NULL; + public static PaymentType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("payment".equals(codeString)) + return PAYMENT; + if ("adjustment".equals(codeString)) + return ADJUSTMENT; + if ("advance".equals(codeString)) + return ADVANCE; + throw new Exception("Unknown PaymentType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PAYMENT: return "payment"; + case ADJUSTMENT: return "adjustment"; + case ADVANCE: return "advance"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/contracttypecodes"; + } + public String getDefinition() { + switch (this) { + case PAYMENT: return ""; + case ADJUSTMENT: return ""; + case ADVANCE: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PAYMENT: return "payment"; + case ADJUSTMENT: return "adjustment"; + case ADVANCE: return "advance"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentTypeEnumFactory.java new file mode 100644 index 00000000000..89d150e453f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PaymentTypeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class PaymentTypeEnumFactory implements EnumFactory { + + public PaymentType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("payment".equals(codeString)) + return PaymentType.PAYMENT; + if ("adjustment".equals(codeString)) + return PaymentType.ADJUSTMENT; + if ("advance".equals(codeString)) + return PaymentType.ADVANCE; + throw new IllegalArgumentException("Unknown PaymentType code '"+codeString+"'"); + } + + public String toCode(PaymentType code) { + if (code == PaymentType.PAYMENT) + return "payment"; + if (code == PaymentType.ADJUSTMENT) + return "adjustment"; + if (code == PaymentType.ADVANCE) + return "advance"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRole.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRole.java new file mode 100644 index 00000000000..480963f2ace --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRole.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum PractitionerRole { + + /** + * null + */ + DOCTOR, + /** + * null + */ + NURSE, + /** + * null + */ + PHARMACIST, + /** + * null + */ + RESEARCHER, + /** + * null + */ + TEACHER, + /** + * null + */ + ICT, + /** + * added to help the parsers + */ + NULL; + public static PractitionerRole fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("doctor".equals(codeString)) + return DOCTOR; + if ("nurse".equals(codeString)) + return NURSE; + if ("pharmacist".equals(codeString)) + return PHARMACIST; + if ("researcher".equals(codeString)) + return RESEARCHER; + if ("teacher".equals(codeString)) + return TEACHER; + if ("ict".equals(codeString)) + return ICT; + throw new Exception("Unknown PractitionerRole code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DOCTOR: return "doctor"; + case NURSE: return "nurse"; + case PHARMACIST: return "pharmacist"; + case RESEARCHER: return "researcher"; + case TEACHER: return "teacher"; + case ICT: return "ict"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/practitioner-role"; + } + public String getDefinition() { + switch (this) { + case DOCTOR: return ""; + case NURSE: return ""; + case PHARMACIST: return ""; + case RESEARCHER: return ""; + case TEACHER: return ""; + case ICT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DOCTOR: return "doctor"; + case NURSE: return "nurse"; + case PHARMACIST: return "pharmacist"; + case RESEARCHER: return "researcher"; + case TEACHER: return "Teacher/educator"; + case ICT: return "ICT professional"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRoleEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRoleEnumFactory.java new file mode 100644 index 00000000000..4f185b044c6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerRoleEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class PractitionerRoleEnumFactory implements EnumFactory { + + public PractitionerRole fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("doctor".equals(codeString)) + return PractitionerRole.DOCTOR; + if ("nurse".equals(codeString)) + return PractitionerRole.NURSE; + if ("pharmacist".equals(codeString)) + return PractitionerRole.PHARMACIST; + if ("researcher".equals(codeString)) + return PractitionerRole.RESEARCHER; + if ("teacher".equals(codeString)) + return PractitionerRole.TEACHER; + if ("ict".equals(codeString)) + return PractitionerRole.ICT; + throw new IllegalArgumentException("Unknown PractitionerRole code '"+codeString+"'"); + } + + public String toCode(PractitionerRole code) { + if (code == PractitionerRole.DOCTOR) + return "doctor"; + if (code == PractitionerRole.NURSE) + return "nurse"; + if (code == PractitionerRole.PHARMACIST) + return "pharmacist"; + if (code == PractitionerRole.RESEARCHER) + return "researcher"; + if (code == PractitionerRole.TEACHER) + return "teacher"; + if (code == PractitionerRole.ICT) + return "ict"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialty.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialty.java new file mode 100644 index 00000000000..cd94dbc65e3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialty.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum PractitionerSpecialty { + + /** + * null + */ + CARDIO, + /** + * null + */ + DENT, + /** + * null + */ + DIETARY, + /** + * null + */ + MIDW, + /** + * null + */ + SYSARCH, + /** + * added to help the parsers + */ + NULL; + public static PractitionerSpecialty fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("cardio".equals(codeString)) + return CARDIO; + if ("dent".equals(codeString)) + return DENT; + if ("dietary".equals(codeString)) + return DIETARY; + if ("midw".equals(codeString)) + return MIDW; + if ("sysarch".equals(codeString)) + return SYSARCH; + throw new Exception("Unknown PractitionerSpecialty code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CARDIO: return "cardio"; + case DENT: return "dent"; + case DIETARY: return "dietary"; + case MIDW: return "midw"; + case SYSARCH: return "sysarch"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/practitioner-specialty"; + } + public String getDefinition() { + switch (this) { + case CARDIO: return ""; + case DENT: return ""; + case DIETARY: return ""; + case MIDW: return ""; + case SYSARCH: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CARDIO: return "Cardiologist"; + case DENT: return "Dentist"; + case DIETARY: return "Dietary consultant"; + case MIDW: return "Midwife"; + case SYSARCH: return "Systems architect"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialtyEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialtyEnumFactory.java new file mode 100644 index 00000000000..59bb099bb16 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/PractitionerSpecialtyEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class PractitionerSpecialtyEnumFactory implements EnumFactory { + + public PractitionerSpecialty fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("cardio".equals(codeString)) + return PractitionerSpecialty.CARDIO; + if ("dent".equals(codeString)) + return PractitionerSpecialty.DENT; + if ("dietary".equals(codeString)) + return PractitionerSpecialty.DIETARY; + if ("midw".equals(codeString)) + return PractitionerSpecialty.MIDW; + if ("sysarch".equals(codeString)) + return PractitionerSpecialty.SYSARCH; + throw new IllegalArgumentException("Unknown PractitionerSpecialty code '"+codeString+"'"); + } + + public String toCode(PractitionerSpecialty code) { + if (code == PractitionerSpecialty.CARDIO) + return "cardio"; + if (code == PractitionerSpecialty.DENT) + return "dent"; + if (code == PractitionerSpecialty.DIETARY) + return "dietary"; + if (code == PractitionerSpecialty.MIDW) + return "midw"; + if (code == PractitionerSpecialty.SYSARCH) + return "sysarch"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcome.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcome.java new file mode 100644 index 00000000000..d7aac922033 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcome.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ProcessOutcome { + + /** + * null + */ + COMPLETE, + /** + * null + */ + PENDED, + /** + * null + */ + ERROR, + /** + * added to help the parsers + */ + NULL; + public static ProcessOutcome fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("complete".equals(codeString)) + return COMPLETE; + if ("pended".equals(codeString)) + return PENDED; + if ("error".equals(codeString)) + return ERROR; + throw new Exception("Unknown ProcessOutcome code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case COMPLETE: return "complete"; + case PENDED: return "pended"; + case ERROR: return "error"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/processoutcomecodes"; + } + public String getDefinition() { + switch (this) { + case COMPLETE: return ""; + case PENDED: return ""; + case ERROR: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case COMPLETE: return "complete"; + case PENDED: return "pended"; + case ERROR: return "error"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcomeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcomeEnumFactory.java new file mode 100644 index 00000000000..3227ebeb9b1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessOutcomeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ProcessOutcomeEnumFactory implements EnumFactory { + + public ProcessOutcome fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("complete".equals(codeString)) + return ProcessOutcome.COMPLETE; + if ("pended".equals(codeString)) + return ProcessOutcome.PENDED; + if ("error".equals(codeString)) + return ProcessOutcome.ERROR; + throw new IllegalArgumentException("Unknown ProcessOutcome code '"+codeString+"'"); + } + + public String toCode(ProcessOutcome code) { + if (code == ProcessOutcome.COMPLETE) + return "complete"; + if (code == ProcessOutcome.PENDED) + return "pended"; + if (code == ProcessOutcome.ERROR) + return "error"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriority.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriority.java new file mode 100644 index 00000000000..fcfdd2d8379 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriority.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ProcessPriority { + + /** + * null + */ + STAT, + /** + * null + */ + NORMAL, + /** + * null + */ + DEFERRED, + /** + * added to help the parsers + */ + NULL; + public static ProcessPriority fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("stat".equals(codeString)) + return STAT; + if ("normal".equals(codeString)) + return NORMAL; + if ("deferred".equals(codeString)) + return DEFERRED; + throw new Exception("Unknown ProcessPriority code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case STAT: return "stat"; + case NORMAL: return "normal"; + case DEFERRED: return "deferred"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/processpriority"; + } + public String getDefinition() { + switch (this) { + case STAT: return ""; + case NORMAL: return ""; + case DEFERRED: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case STAT: return "stat"; + case NORMAL: return "normal"; + case DEFERRED: return "deferred"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriorityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriorityEnumFactory.java new file mode 100644 index 00000000000..62bfa5b45e3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProcessPriorityEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ProcessPriorityEnumFactory implements EnumFactory { + + public ProcessPriority fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("stat".equals(codeString)) + return ProcessPriority.STAT; + if ("normal".equals(codeString)) + return ProcessPriority.NORMAL; + if ("deferred".equals(codeString)) + return ProcessPriority.DEFERRED; + throw new IllegalArgumentException("Unknown ProcessPriority code '"+codeString+"'"); + } + + public String toCode(ProcessPriority code) { + if (code == ProcessPriority.STAT) + return "stat"; + if (code == ProcessPriority.NORMAL) + return "normal"; + if (code == ProcessPriority.DEFERRED) + return "deferred"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRole.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRole.java new file mode 100644 index 00000000000..96eaad2c5a6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRole.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ProvenanceAgentRole { + + /** + * A person entering the data into the originating system + */ + ENTERER, + /** + * A person, animal, organization or device that who actually and principally carries out the activity + */ + PERFORMER, + /** + * A party that originates the resource and therefore has responsibility for the information given in the resource and ownership of this resource + */ + AUTHOR, + /** + * A person who verifies the correctness and appropriateness of activity + */ + VERIFIER, + /** + * The person authenticated the content and accepted legal responsibility for its content + */ + LEGAL, + /** + * A verifier who attests to the accuracy of the resource + */ + ATTESTER, + /** + * A person who reported information that contributed to the resource + */ + INFORMANT, + /** + * added to help the parsers + */ + NULL; + public static ProvenanceAgentRole fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("enterer".equals(codeString)) + return ENTERER; + if ("performer".equals(codeString)) + return PERFORMER; + if ("author".equals(codeString)) + return AUTHOR; + if ("verifier".equals(codeString)) + return VERIFIER; + if ("legal".equals(codeString)) + return LEGAL; + if ("attester".equals(codeString)) + return ATTESTER; + if ("informant".equals(codeString)) + return INFORMANT; + throw new Exception("Unknown ProvenanceAgentRole code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ENTERER: return "enterer"; + case PERFORMER: return "performer"; + case AUTHOR: return "author"; + case VERIFIER: return "verifier"; + case LEGAL: return "legal"; + case ATTESTER: return "attester"; + case INFORMANT: return "informant"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/provenance-participant-role"; + } + public String getDefinition() { + switch (this) { + case ENTERER: return "A person entering the data into the originating system"; + case PERFORMER: return "A person, animal, organization or device that who actually and principally carries out the activity"; + case AUTHOR: return "A party that originates the resource and therefore has responsibility for the information given in the resource and ownership of this resource"; + case VERIFIER: return "A person who verifies the correctness and appropriateness of activity"; + case LEGAL: return "The person authenticated the content and accepted legal responsibility for its content"; + case ATTESTER: return "A verifier who attests to the accuracy of the resource"; + case INFORMANT: return "A person who reported information that contributed to the resource"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ENTERER: return "Enterer"; + case PERFORMER: return "Performer"; + case AUTHOR: return "Author"; + case VERIFIER: return "Verifier"; + case LEGAL: return "Legal Authenticator"; + case ATTESTER: return "Attester"; + case INFORMANT: return "Informant"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRoleEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRoleEnumFactory.java new file mode 100644 index 00000000000..d4d39344f83 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentRoleEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ProvenanceAgentRoleEnumFactory implements EnumFactory { + + public ProvenanceAgentRole fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("enterer".equals(codeString)) + return ProvenanceAgentRole.ENTERER; + if ("performer".equals(codeString)) + return ProvenanceAgentRole.PERFORMER; + if ("author".equals(codeString)) + return ProvenanceAgentRole.AUTHOR; + if ("verifier".equals(codeString)) + return ProvenanceAgentRole.VERIFIER; + if ("legal".equals(codeString)) + return ProvenanceAgentRole.LEGAL; + if ("attester".equals(codeString)) + return ProvenanceAgentRole.ATTESTER; + if ("informant".equals(codeString)) + return ProvenanceAgentRole.INFORMANT; + throw new IllegalArgumentException("Unknown ProvenanceAgentRole code '"+codeString+"'"); + } + + public String toCode(ProvenanceAgentRole code) { + if (code == ProvenanceAgentRole.ENTERER) + return "enterer"; + if (code == ProvenanceAgentRole.PERFORMER) + return "performer"; + if (code == ProvenanceAgentRole.AUTHOR) + return "author"; + if (code == ProvenanceAgentRole.VERIFIER) + return "verifier"; + if (code == ProvenanceAgentRole.LEGAL) + return "legal"; + if (code == ProvenanceAgentRole.ATTESTER) + return "attester"; + if (code == ProvenanceAgentRole.INFORMANT) + return "informant"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentType.java new file mode 100644 index 00000000000..dc661c51709 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentType.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ProvenanceAgentType { + + /** + * The participant is a person acting on their on behalf or on behalf of the patient rather than as an practitioner for an organization. I.e. "not a healthcare provider" + */ + PERSON, + /** + * The participant is a practitioner, a person (provider) who is directly or indirectly involved in the provisioning of healthcare. + */ + PRACTITIONER, + /** + * The participant is an organization + */ + ORGANIZATION, + /** + * The participant is a software application including services, algorithms, etc. + */ + SOFTWARE, + /** + * The participant is the patient, a person or animal receiving care or other health-related services. + */ + PATIENT, + /** + * The participant is a device, an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + */ + DEVICE, + /** + * The participant is a related person, a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + */ + RELATEDPERSON, + /** + * added to help the parsers + */ + NULL; + public static ProvenanceAgentType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("person".equals(codeString)) + return PERSON; + if ("practitioner".equals(codeString)) + return PRACTITIONER; + if ("organization".equals(codeString)) + return ORGANIZATION; + if ("software".equals(codeString)) + return SOFTWARE; + if ("patient".equals(codeString)) + return PATIENT; + if ("device".equals(codeString)) + return DEVICE; + if ("relatedPerson".equals(codeString)) + return RELATEDPERSON; + throw new Exception("Unknown ProvenanceAgentType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PERSON: return "person"; + case PRACTITIONER: return "practitioner"; + case ORGANIZATION: return "organization"; + case SOFTWARE: return "software"; + case PATIENT: return "patient"; + case DEVICE: return "device"; + case RELATEDPERSON: return "relatedPerson"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/provenance-participant-type"; + } + public String getDefinition() { + switch (this) { + case PERSON: return "The participant is a person acting on their on behalf or on behalf of the patient rather than as an practitioner for an organization. I.e. 'not a healthcare provider'"; + case PRACTITIONER: return "The participant is a practitioner, a person (provider) who is directly or indirectly involved in the provisioning of healthcare."; + case ORGANIZATION: return "The participant is an organization"; + case SOFTWARE: return "The participant is a software application including services, algorithms, etc."; + case PATIENT: return "The participant is the patient, a person or animal receiving care or other health-related services."; + case DEVICE: return "The participant is a device, an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health."; + case RELATEDPERSON: return "The participant is a related person, a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PERSON: return "person"; + case PRACTITIONER: return "practitioner"; + case ORGANIZATION: return "organization"; + case SOFTWARE: return "software"; + case PATIENT: return "patient"; + case DEVICE: return "device"; + case RELATEDPERSON: return "relatedPerson"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentTypeEnumFactory.java new file mode 100644 index 00000000000..edab1c8f500 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ProvenanceAgentTypeEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ProvenanceAgentTypeEnumFactory implements EnumFactory { + + public ProvenanceAgentType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("person".equals(codeString)) + return ProvenanceAgentType.PERSON; + if ("practitioner".equals(codeString)) + return ProvenanceAgentType.PRACTITIONER; + if ("organization".equals(codeString)) + return ProvenanceAgentType.ORGANIZATION; + if ("software".equals(codeString)) + return ProvenanceAgentType.SOFTWARE; + if ("patient".equals(codeString)) + return ProvenanceAgentType.PATIENT; + if ("device".equals(codeString)) + return ProvenanceAgentType.DEVICE; + if ("relatedPerson".equals(codeString)) + return ProvenanceAgentType.RELATEDPERSON; + throw new IllegalArgumentException("Unknown ProvenanceAgentType code '"+codeString+"'"); + } + + public String toCode(ProvenanceAgentType code) { + if (code == ProvenanceAgentType.PERSON) + return "person"; + if (code == ProvenanceAgentType.PRACTITIONER) + return "practitioner"; + if (code == ProvenanceAgentType.ORGANIZATION) + return "organization"; + if (code == ProvenanceAgentType.SOFTWARE) + return "software"; + if (code == ProvenanceAgentType.PATIENT) + return "patient"; + if (code == ProvenanceAgentType.DEVICE) + return "device"; + if (code == ProvenanceAgentType.RELATEDPERSON) + return "relatedPerson"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodes.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodes.java new file mode 100644 index 00000000000..567319217c2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodes.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ReasonMedicationGivenCodes { + + /** + * No reason known + */ + A, + /** + * The administration was following an ordered protocol + */ + B, + /** + * The administration was needed to treat an emergency + */ + C, + /** + * added to help the parsers + */ + NULL; + public static ReasonMedicationGivenCodes fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("a".equals(codeString)) + return A; + if ("b".equals(codeString)) + return B; + if ("c".equals(codeString)) + return C; + throw new Exception("Unknown ReasonMedicationGivenCodes code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "a"; + case B: return "b"; + case C: return "c"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/reason-medication-given"; + } + public String getDefinition() { + switch (this) { + case A: return "No reason known"; + case B: return "The administration was following an ordered protocol"; + case C: return "The administration was needed to treat an emergency"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "None"; + case B: return "Given as Ordered"; + case C: return "Emergency"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodesEnumFactory.java new file mode 100644 index 00000000000..701a02470ab --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationGivenCodesEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ReasonMedicationGivenCodesEnumFactory implements EnumFactory { + + public ReasonMedicationGivenCodes fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("a".equals(codeString)) + return ReasonMedicationGivenCodes.A; + if ("b".equals(codeString)) + return ReasonMedicationGivenCodes.B; + if ("c".equals(codeString)) + return ReasonMedicationGivenCodes.C; + throw new IllegalArgumentException("Unknown ReasonMedicationGivenCodes code '"+codeString+"'"); + } + + public String toCode(ReasonMedicationGivenCodes code) { + if (code == ReasonMedicationGivenCodes.A) + return "a"; + if (code == ReasonMedicationGivenCodes.B) + return "b"; + if (code == ReasonMedicationGivenCodes.C) + return "c"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodes.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodes.java new file mode 100644 index 00000000000..1ddb6192823 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodes.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ReasonMedicationNotGivenCodes { + + /** + * No reason known + */ + A, + /** + * The patient was not available when the dose was scheduled + */ + B, + /** + * The patient was asleep when the dose was scheduled + */ + C, + /** + * The patient was given the medication and immediately vomited it back + */ + D, + /** + * added to help the parsers + */ + NULL; + public static ReasonMedicationNotGivenCodes fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("a".equals(codeString)) + return A; + if ("b".equals(codeString)) + return B; + if ("c".equals(codeString)) + return C; + if ("d".equals(codeString)) + return D; + throw new Exception("Unknown ReasonMedicationNotGivenCodes code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "a"; + case B: return "b"; + case C: return "c"; + case D: return "d"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/reason-medication-not-given"; + } + public String getDefinition() { + switch (this) { + case A: return "No reason known"; + case B: return "The patient was not available when the dose was scheduled"; + case C: return "The patient was asleep when the dose was scheduled"; + case D: return "The patient was given the medication and immediately vomited it back"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "None"; + case B: return "Away"; + case C: return "Asleep"; + case D: return "Vomit"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodesEnumFactory.java new file mode 100644 index 00000000000..6cdf00a3559 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ReasonMedicationNotGivenCodesEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ReasonMedicationNotGivenCodesEnumFactory implements EnumFactory { + + public ReasonMedicationNotGivenCodes fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("a".equals(codeString)) + return ReasonMedicationNotGivenCodes.A; + if ("b".equals(codeString)) + return ReasonMedicationNotGivenCodes.B; + if ("c".equals(codeString)) + return ReasonMedicationNotGivenCodes.C; + if ("d".equals(codeString)) + return ReasonMedicationNotGivenCodes.D; + throw new IllegalArgumentException("Unknown ReasonMedicationNotGivenCodes code '"+codeString+"'"); + } + + public String toCode(ReasonMedicationNotGivenCodes code) { + if (code == ReasonMedicationNotGivenCodes.A) + return "a"; + if (code == ReasonMedicationNotGivenCodes.B) + return "b"; + if (code == ReasonMedicationNotGivenCodes.C) + return "c"; + if (code == ReasonMedicationNotGivenCodes.D) + return "d"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Relationship.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Relationship.java new file mode 100644 index 00000000000..32e7016dc27 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Relationship.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Relationship { + + /** + * null + */ + _1, + /** + * null + */ + _2, + /** + * null + */ + _3, + /** + * null + */ + _4, + /** + * null + */ + _5, + /** + * added to help the parsers + */ + NULL; + public static Relationship fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return _1; + if ("2".equals(codeString)) + return _2; + if ("3".equals(codeString)) + return _3; + if ("4".equals(codeString)) + return _4; + if ("5".equals(codeString)) + return _5; + throw new Exception("Unknown Relationship code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/relationship"; + } + public String getDefinition() { + switch (this) { + case _1: return ""; + case _2: return ""; + case _3: return ""; + case _4: return ""; + case _5: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RelationshipEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RelationshipEnumFactory.java new file mode 100644 index 00000000000..1cfe0ae7e96 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RelationshipEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class RelationshipEnumFactory implements EnumFactory { + + public Relationship fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return Relationship._1; + if ("2".equals(codeString)) + return Relationship._2; + if ("3".equals(codeString)) + return Relationship._3; + if ("4".equals(codeString)) + return Relationship._4; + if ("5".equals(codeString)) + return Relationship._5; + throw new IllegalArgumentException("Unknown Relationship code '"+codeString+"'"); + } + + public String toCode(Relationship code) { + if (code == Relationship._1) + return "1"; + if (code == Relationship._2) + return "2"; + if (code == Relationship._3) + return "3"; + if (code == Relationship._4) + return "4"; + if (code == Relationship._5) + return "5"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationMode.java new file mode 100644 index 00000000000..85690ed6212 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationMode.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ResourceValidationMode { + + /** + * The server checks the content, and then checks that the content would be acceptable as a create (e.g. that the content would not validate any uniqueness constraints) + */ + CREATE, + /** + * The server checks the content, and then checks that it would accept it as an update against the nominated specific resource (e.g. that there are no changes to immutable fields the server does not allow to change, and checking version integrity if appropriate) + */ + UPDATE, + /** + * The server ignores the content, and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules) + */ + DELETE, + /** + * added to help the parsers + */ + NULL; + public static ResourceValidationMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("create".equals(codeString)) + return CREATE; + if ("update".equals(codeString)) + return UPDATE; + if ("delete".equals(codeString)) + return DELETE; + throw new Exception("Unknown ResourceValidationMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CREATE: return "create"; + case UPDATE: return "update"; + case DELETE: return "delete"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/resource-validation-mode"; + } + public String getDefinition() { + switch (this) { + case CREATE: return "The server checks the content, and then checks that the content would be acceptable as a create (e.g. that the content would not validate any uniqueness constraints)"; + case UPDATE: return "The server checks the content, and then checks that it would accept it as an update against the nominated specific resource (e.g. that there are no changes to immutable fields the server does not allow to change, and checking version integrity if appropriate)"; + case DELETE: return "The server ignores the content, and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CREATE: return "Validate for Create"; + case UPDATE: return "Validate for Update"; + case DELETE: return "Validate for Delete"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationModeEnumFactory.java new file mode 100644 index 00000000000..03a9935800a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ResourceValidationModeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ResourceValidationModeEnumFactory implements EnumFactory { + + public ResourceValidationMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("create".equals(codeString)) + return ResourceValidationMode.CREATE; + if ("update".equals(codeString)) + return ResourceValidationMode.UPDATE; + if ("delete".equals(codeString)) + return ResourceValidationMode.DELETE; + throw new IllegalArgumentException("Unknown ResourceValidationMode code '"+codeString+"'"); + } + + public String toCode(ResourceValidationMode code) { + if (code == ResourceValidationMode.CREATE) + return "create"; + if (code == ResourceValidationMode.UPDATE) + return "update"; + if (code == ResourceValidationMode.DELETE) + return "delete"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityService.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityService.java new file mode 100644 index 00000000000..dee1768f13c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityService.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum RestfulSecurityService { + + /** + * Oauth (unspecified version see oauth.net) + */ + OAUTH, + /** + * OAuth2 using SMART-on-FHIR profile (see http://docs.smarthealthit.org/) + */ + SMARTONFHIR, + /** + * Microsoft NTLM Authentication + */ + NTLM, + /** + * Basic authentication defined in HTTP specification + */ + BASIC, + /** + * see http://www.ietf.org/rfc/rfc4120.txt + */ + KERBEROS, + /** + * SSL where client must have a certificate registered with the server + */ + CERTIFICATES, + /** + * added to help the parsers + */ + NULL; + public static RestfulSecurityService fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("OAuth".equals(codeString)) + return OAUTH; + if ("SMART-on-FHIR".equals(codeString)) + return SMARTONFHIR; + if ("NTLM".equals(codeString)) + return NTLM; + if ("Basic".equals(codeString)) + return BASIC; + if ("Kerberos".equals(codeString)) + return KERBEROS; + if ("Certificates".equals(codeString)) + return CERTIFICATES; + throw new Exception("Unknown RestfulSecurityService code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case OAUTH: return "OAuth"; + case SMARTONFHIR: return "SMART-on-FHIR"; + case NTLM: return "NTLM"; + case BASIC: return "Basic"; + case KERBEROS: return "Kerberos"; + case CERTIFICATES: return "Certificates"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/restful-security-service"; + } + public String getDefinition() { + switch (this) { + case OAUTH: return "Oauth (unspecified version see oauth.net)"; + case SMARTONFHIR: return "OAuth2 using SMART-on-FHIR profile (see http://docs.smarthealthit.org/)"; + case NTLM: return "Microsoft NTLM Authentication"; + case BASIC: return "Basic authentication defined in HTTP specification"; + case KERBEROS: return "see http://www.ietf.org/rfc/rfc4120.txt"; + case CERTIFICATES: return "SSL where client must have a certificate registered with the server"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case OAUTH: return "OAuth"; + case SMARTONFHIR: return "SMART-on-FHIR"; + case NTLM: return "NTLM"; + case BASIC: return "Basic"; + case KERBEROS: return "Kerberos"; + case CERTIFICATES: return "Certificates"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityServiceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityServiceEnumFactory.java new file mode 100644 index 00000000000..f64d1212fda --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RestfulSecurityServiceEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class RestfulSecurityServiceEnumFactory implements EnumFactory { + + public RestfulSecurityService fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("OAuth".equals(codeString)) + return RestfulSecurityService.OAUTH; + if ("SMART-on-FHIR".equals(codeString)) + return RestfulSecurityService.SMARTONFHIR; + if ("NTLM".equals(codeString)) + return RestfulSecurityService.NTLM; + if ("Basic".equals(codeString)) + return RestfulSecurityService.BASIC; + if ("Kerberos".equals(codeString)) + return RestfulSecurityService.KERBEROS; + if ("Certificates".equals(codeString)) + return RestfulSecurityService.CERTIFICATES; + throw new IllegalArgumentException("Unknown RestfulSecurityService code '"+codeString+"'"); + } + + public String toCode(RestfulSecurityService code) { + if (code == RestfulSecurityService.OAUTH) + return "OAuth"; + if (code == RestfulSecurityService.SMARTONFHIR) + return "SMART-on-FHIR"; + if (code == RestfulSecurityService.NTLM) + return "NTLM"; + if (code == RestfulSecurityService.BASIC) + return "Basic"; + if (code == RestfulSecurityService.KERBEROS) + return "Kerberos"; + if (code == RestfulSecurityService.CERTIFICATES) + return "Certificates"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbability.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbability.java new file mode 100644 index 00000000000..d38996ad658 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbability.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum RiskProbability { + + /** + * The specified outcome is exceptionally unlikely + */ + NEGLIGIBLE, + /** + * The specified outcome is possible but unlikely + */ + LOW, + /** + * The specified outcome has a reasonable likelihood of occurrence + */ + MODERATE, + /** + * The specified outcome is more likely to occur than not + */ + HIGH, + /** + * The specified outcome is effectively guaranteed + */ + CERTAIN, + /** + * added to help the parsers + */ + NULL; + public static RiskProbability fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("negligible".equals(codeString)) + return NEGLIGIBLE; + if ("low".equals(codeString)) + return LOW; + if ("moderate".equals(codeString)) + return MODERATE; + if ("high".equals(codeString)) + return HIGH; + if ("certain".equals(codeString)) + return CERTAIN; + throw new Exception("Unknown RiskProbability code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NEGLIGIBLE: return "negligible"; + case LOW: return "low"; + case MODERATE: return "moderate"; + case HIGH: return "high"; + case CERTAIN: return "certain"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/risk-probability"; + } + public String getDefinition() { + switch (this) { + case NEGLIGIBLE: return "The specified outcome is exceptionally unlikely"; + case LOW: return "The specified outcome is possible but unlikely"; + case MODERATE: return "The specified outcome has a reasonable likelihood of occurrence"; + case HIGH: return "The specified outcome is more likely to occur than not"; + case CERTAIN: return "The specified outcome is effectively guaranteed"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NEGLIGIBLE: return "negligible likelihood"; + case LOW: return "low likelihood"; + case MODERATE: return "moderate likelihood"; + case HIGH: return "high likelihood"; + case CERTAIN: return "certain"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbabilityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbabilityEnumFactory.java new file mode 100644 index 00000000000..7d0f303703d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RiskProbabilityEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class RiskProbabilityEnumFactory implements EnumFactory { + + public RiskProbability fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("negligible".equals(codeString)) + return RiskProbability.NEGLIGIBLE; + if ("low".equals(codeString)) + return RiskProbability.LOW; + if ("moderate".equals(codeString)) + return RiskProbability.MODERATE; + if ("high".equals(codeString)) + return RiskProbability.HIGH; + if ("certain".equals(codeString)) + return RiskProbability.CERTAIN; + throw new IllegalArgumentException("Unknown RiskProbability code '"+codeString+"'"); + } + + public String toCode(RiskProbability code) { + if (code == RiskProbability.NEGLIGIBLE) + return "negligible"; + if (code == RiskProbability.LOW) + return "low"; + if (code == RiskProbability.MODERATE) + return "moderate"; + if (code == RiskProbability.HIGH) + return "high"; + if (code == RiskProbability.CERTAIN) + return "certain"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Ruleset.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Ruleset.java new file mode 100644 index 00000000000..c6bc26c48fb --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Ruleset.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Ruleset { + + /** + * null + */ + X124010, + /** + * null + */ + X125010, + /** + * null + */ + X127010, + /** + * null + */ + CDANETV2, + /** + * null + */ + CDANETV4, + /** + * null + */ + CPHA3, + /** + * added to help the parsers + */ + NULL; + public static Ruleset fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("x12-4010".equals(codeString)) + return X124010; + if ("x12-5010".equals(codeString)) + return X125010; + if ("x12-7010".equals(codeString)) + return X127010; + if ("cdanet-v2".equals(codeString)) + return CDANETV2; + if ("cdanet-v4".equals(codeString)) + return CDANETV4; + if ("cpha-3".equals(codeString)) + return CPHA3; + throw new Exception("Unknown Ruleset code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case X124010: return "x12-4010"; + case X125010: return "x12-5010"; + case X127010: return "x12-7010"; + case CDANETV2: return "cdanet-v2"; + case CDANETV4: return "cdanet-v4"; + case CPHA3: return "cpha-3"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ruleset"; + } + public String getDefinition() { + switch (this) { + case X124010: return ""; + case X125010: return ""; + case X127010: return ""; + case CDANETV2: return ""; + case CDANETV4: return ""; + case CPHA3: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case X124010: return "x12-4010"; + case X125010: return "x12-5010"; + case X127010: return "x12-7010"; + case CDANETV2: return "cdanet-v2"; + case CDANETV4: return "cdanet-v4"; + case CPHA3: return "cpha-3"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RulesetEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RulesetEnumFactory.java new file mode 100644 index 00000000000..688481c4c9a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/RulesetEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class RulesetEnumFactory implements EnumFactory { + + public Ruleset fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("x12-4010".equals(codeString)) + return Ruleset.X124010; + if ("x12-5010".equals(codeString)) + return Ruleset.X125010; + if ("x12-7010".equals(codeString)) + return Ruleset.X127010; + if ("cdanet-v2".equals(codeString)) + return Ruleset.CDANETV2; + if ("cdanet-v4".equals(codeString)) + return Ruleset.CDANETV4; + if ("cpha-3".equals(codeString)) + return Ruleset.CPHA3; + throw new IllegalArgumentException("Unknown Ruleset code '"+codeString+"'"); + } + + public String toCode(Ruleset code) { + if (code == Ruleset.X124010) + return "x12-4010"; + if (code == Ruleset.X125010) + return "x12-5010"; + if (code == Ruleset.X127010) + return "x12-7010"; + if (code == Ruleset.CDANETV2) + return "cdanet-v2"; + if (code == Ruleset.CDANETV4) + return "cdanet-v4"; + if (code == Ruleset.CPHA3) + return "cpha-3"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacy.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacy.java new file mode 100644 index 00000000000..b9a53893444 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacy.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ServicePharmacy { + + /** + * null + */ + SMOKECESS, + /** + * null + */ + FLUSHOT, + /** + * added to help the parsers + */ + NULL; + public static ServicePharmacy fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("smokecess".equals(codeString)) + return SMOKECESS; + if ("flushot".equals(codeString)) + return FLUSHOT; + throw new Exception("Unknown ServicePharmacy code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case SMOKECESS: return "smokecess"; + case FLUSHOT: return "flushot"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-pharmaservice"; + } + public String getDefinition() { + switch (this) { + case SMOKECESS: return ""; + case FLUSHOT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case SMOKECESS: return "smokecess"; + case FLUSHOT: return "flushot"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacyEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacyEnumFactory.java new file mode 100644 index 00000000000..28d53c40415 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServicePharmacyEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ServicePharmacyEnumFactory implements EnumFactory { + + public ServicePharmacy fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("smokecess".equals(codeString)) + return ServicePharmacy.SMOKECESS; + if ("flushot".equals(codeString)) + return ServicePharmacy.FLUSHOT; + throw new IllegalArgumentException("Unknown ServicePharmacy code '"+codeString+"'"); + } + + public String toCode(ServicePharmacy code) { + if (code == ServicePharmacy.SMOKECESS) + return "smokecess"; + if (code == ServicePharmacy.FLUSHOT) + return "flushot"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProduct.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProduct.java new file mode 100644 index 00000000000..466f1adecb2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProduct.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ServiceProduct { + + /** + * null + */ + EXAM, + /** + * null + */ + FLUSHOT, + /** + * added to help the parsers + */ + NULL; + public static ServiceProduct fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("exam".equals(codeString)) + return EXAM; + if ("flushot".equals(codeString)) + return FLUSHOT; + throw new Exception("Unknown ServiceProduct code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case EXAM: return "exam"; + case FLUSHOT: return "flushot"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-serviceproduct"; + } + public String getDefinition() { + switch (this) { + case EXAM: return ""; + case FLUSHOT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case EXAM: return "exam"; + case FLUSHOT: return "flushot"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProductEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProductEnumFactory.java new file mode 100644 index 00000000000..24b69f1bf10 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProductEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ServiceProductEnumFactory implements EnumFactory { + + public ServiceProduct fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("exam".equals(codeString)) + return ServiceProduct.EXAM; + if ("flushot".equals(codeString)) + return ServiceProduct.FLUSHOT; + throw new IllegalArgumentException("Unknown ServiceProduct code '"+codeString+"'"); + } + + public String toCode(ServiceProduct code) { + if (code == ServiceProduct.EXAM) + return "exam"; + if (code == ServiceProduct.FLUSHOT) + return "flushot"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditions.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditions.java new file mode 100644 index 00000000000..2fd4dc22172 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditions.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ServiceProvisionConditions { + + /** + * This service is available for no patient cost + */ + FREE, + /** + * There are discounts available on this service for qualifying patients + */ + DISC, + /** + * Fees apply for this service + */ + COST, + /** + * added to help the parsers + */ + NULL; + public static ServiceProvisionConditions fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("free".equals(codeString)) + return FREE; + if ("disc".equals(codeString)) + return DISC; + if ("cost".equals(codeString)) + return COST; + throw new Exception("Unknown ServiceProvisionConditions code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case FREE: return "free"; + case DISC: return "disc"; + case COST: return "cost"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/service-provision-conditions"; + } + public String getDefinition() { + switch (this) { + case FREE: return "This service is available for no patient cost"; + case DISC: return "There are discounts available on this service for qualifying patients"; + case COST: return "Fees apply for this service"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case FREE: return "Free"; + case DISC: return "Discounts Available"; + case COST: return "Fees apply"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditionsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditionsEnumFactory.java new file mode 100644 index 00000000000..ef2c9100614 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceProvisionConditionsEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ServiceProvisionConditionsEnumFactory implements EnumFactory { + + public ServiceProvisionConditions fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("free".equals(codeString)) + return ServiceProvisionConditions.FREE; + if ("disc".equals(codeString)) + return ServiceProvisionConditions.DISC; + if ("cost".equals(codeString)) + return ServiceProvisionConditions.COST; + throw new IllegalArgumentException("Unknown ServiceProvisionConditions code '"+codeString+"'"); + } + + public String toCode(ServiceProvisionConditions code) { + if (code == ServiceProvisionConditions.FREE) + return "free"; + if (code == ServiceProvisionConditions.DISC) + return "disc"; + if (code == ServiceProvisionConditions.COST) + return "cost"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethod.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethod.java new file mode 100644 index 00000000000..d5cb4f34b87 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethod.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ServiceReferralMethod { + + /** + * Referrals may be accepted by fax + */ + FAX, + /** + * Referrals may be accepted over the phone from a Practitioner + */ + PHONE, + /** + * Referrals may be accepted via a secure messaging system. To determine the types of secure messaging systems supported, refer to the identifiers collection. Callers will need to understand the specific identifier system used to know that they are able to transmit messages. + */ + ELEC, + /** + * Referrals may be accepted via a secure email. To send please enrypt with the services public key. + */ + SEMAIL, + /** + * Referrals may be accepted via regular postage (or hand delivered) + */ + MAIL, + /** + * added to help the parsers + */ + NULL; + public static ServiceReferralMethod fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("fax".equals(codeString)) + return FAX; + if ("phone".equals(codeString)) + return PHONE; + if ("elec".equals(codeString)) + return ELEC; + if ("semail".equals(codeString)) + return SEMAIL; + if ("mail".equals(codeString)) + return MAIL; + throw new Exception("Unknown ServiceReferralMethod code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case FAX: return "fax"; + case PHONE: return "phone"; + case ELEC: return "elec"; + case SEMAIL: return "semail"; + case MAIL: return "mail"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/service-referral-method"; + } + public String getDefinition() { + switch (this) { + case FAX: return "Referrals may be accepted by fax"; + case PHONE: return "Referrals may be accepted over the phone from a Practitioner"; + case ELEC: return "Referrals may be accepted via a secure messaging system. To determine the types of secure messaging systems supported, refer to the identifiers collection. Callers will need to understand the specific identifier system used to know that they are able to transmit messages."; + case SEMAIL: return "Referrals may be accepted via a secure email. To send please enrypt with the services public key."; + case MAIL: return "Referrals may be accepted via regular postage (or hand delivered)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case FAX: return "fax"; + case PHONE: return "Phone"; + case ELEC: return "Secure Messaging"; + case SEMAIL: return "Secure Email"; + case MAIL: return "Mail"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethodEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethodEnumFactory.java new file mode 100644 index 00000000000..7de4be35531 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceReferralMethodEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ServiceReferralMethodEnumFactory implements EnumFactory { + + public ServiceReferralMethod fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("fax".equals(codeString)) + return ServiceReferralMethod.FAX; + if ("phone".equals(codeString)) + return ServiceReferralMethod.PHONE; + if ("elec".equals(codeString)) + return ServiceReferralMethod.ELEC; + if ("semail".equals(codeString)) + return ServiceReferralMethod.SEMAIL; + if ("mail".equals(codeString)) + return ServiceReferralMethod.MAIL; + throw new IllegalArgumentException("Unknown ServiceReferralMethod code '"+codeString+"'"); + } + + public String toCode(ServiceReferralMethod code) { + if (code == ServiceReferralMethod.FAX) + return "fax"; + if (code == ServiceReferralMethod.PHONE) + return "phone"; + if (code == ServiceReferralMethod.ELEC) + return "elec"; + if (code == ServiceReferralMethod.SEMAIL) + return "semail"; + if (code == ServiceReferralMethod.MAIL) + return "mail"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUscls.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUscls.java new file mode 100644 index 00000000000..fd7e3a3f25c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUscls.java @@ -0,0 +1,238 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum ServiceUscls { + + /** + * null + */ + _1101, + /** + * null + */ + _1102, + /** + * null + */ + _1103, + /** + * null + */ + _1201, + /** + * null + */ + _1205, + /** + * null + */ + _2101, + /** + * null + */ + _2102, + /** + * null + */ + _2141, + /** + * null + */ + _2601, + /** + * null + */ + _11101, + /** + * null + */ + _11102, + /** + * null + */ + _11103, + /** + * null + */ + _11104, + /** + * null + */ + _21211, + /** + * null + */ + _21212, + /** + * null + */ + _27211, + /** + * null + */ + _99111, + /** + * null + */ + _99333, + /** + * null + */ + _99555, + /** + * added to help the parsers + */ + NULL; + public static ServiceUscls fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1101".equals(codeString)) + return _1101; + if ("1102".equals(codeString)) + return _1102; + if ("1103".equals(codeString)) + return _1103; + if ("1201".equals(codeString)) + return _1201; + if ("1205".equals(codeString)) + return _1205; + if ("2101".equals(codeString)) + return _2101; + if ("2102".equals(codeString)) + return _2102; + if ("2141".equals(codeString)) + return _2141; + if ("2601".equals(codeString)) + return _2601; + if ("11101".equals(codeString)) + return _11101; + if ("11102".equals(codeString)) + return _11102; + if ("11103".equals(codeString)) + return _11103; + if ("11104".equals(codeString)) + return _11104; + if ("21211".equals(codeString)) + return _21211; + if ("21212".equals(codeString)) + return _21212; + if ("27211".equals(codeString)) + return _27211; + if ("99111".equals(codeString)) + return _99111; + if ("99333".equals(codeString)) + return _99333; + if ("99555".equals(codeString)) + return _99555; + throw new Exception("Unknown ServiceUscls code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1101: return "1101"; + case _1102: return "1102"; + case _1103: return "1103"; + case _1201: return "1201"; + case _1205: return "1205"; + case _2101: return "2101"; + case _2102: return "2102"; + case _2141: return "2141"; + case _2601: return "2601"; + case _11101: return "11101"; + case _11102: return "11102"; + case _11103: return "11103"; + case _11104: return "11104"; + case _21211: return "21211"; + case _21212: return "21212"; + case _27211: return "27211"; + case _99111: return "99111"; + case _99333: return "99333"; + case _99555: return "99555"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-USCLS"; + } + public String getDefinition() { + switch (this) { + case _1101: return ""; + case _1102: return ""; + case _1103: return ""; + case _1201: return ""; + case _1205: return ""; + case _2101: return ""; + case _2102: return ""; + case _2141: return ""; + case _2601: return ""; + case _11101: return ""; + case _11102: return ""; + case _11103: return ""; + case _11104: return ""; + case _21211: return ""; + case _21212: return ""; + case _27211: return ""; + case _99111: return ""; + case _99333: return ""; + case _99555: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1101: return "1101"; + case _1102: return "1102"; + case _1103: return "1103"; + case _1201: return "1201"; + case _1205: return "1205"; + case _2101: return "2101"; + case _2102: return "2102"; + case _2141: return "2141"; + case _2601: return "2601"; + case _11101: return "11101"; + case _11102: return "11102"; + case _11103: return "11103"; + case _11104: return "11104"; + case _21211: return "21211"; + case _21212: return "21212"; + case _27211: return "27211"; + case _99111: return "99111"; + case _99333: return "99333"; + case _99555: return "99555"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUsclsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUsclsEnumFactory.java new file mode 100644 index 00000000000..26a8265c672 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ServiceUsclsEnumFactory.java @@ -0,0 +1,127 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ServiceUsclsEnumFactory implements EnumFactory { + + public ServiceUscls fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1101".equals(codeString)) + return ServiceUscls._1101; + if ("1102".equals(codeString)) + return ServiceUscls._1102; + if ("1103".equals(codeString)) + return ServiceUscls._1103; + if ("1201".equals(codeString)) + return ServiceUscls._1201; + if ("1205".equals(codeString)) + return ServiceUscls._1205; + if ("2101".equals(codeString)) + return ServiceUscls._2101; + if ("2102".equals(codeString)) + return ServiceUscls._2102; + if ("2141".equals(codeString)) + return ServiceUscls._2141; + if ("2601".equals(codeString)) + return ServiceUscls._2601; + if ("11101".equals(codeString)) + return ServiceUscls._11101; + if ("11102".equals(codeString)) + return ServiceUscls._11102; + if ("11103".equals(codeString)) + return ServiceUscls._11103; + if ("11104".equals(codeString)) + return ServiceUscls._11104; + if ("21211".equals(codeString)) + return ServiceUscls._21211; + if ("21212".equals(codeString)) + return ServiceUscls._21212; + if ("27211".equals(codeString)) + return ServiceUscls._27211; + if ("99111".equals(codeString)) + return ServiceUscls._99111; + if ("99333".equals(codeString)) + return ServiceUscls._99333; + if ("99555".equals(codeString)) + return ServiceUscls._99555; + throw new IllegalArgumentException("Unknown ServiceUscls code '"+codeString+"'"); + } + + public String toCode(ServiceUscls code) { + if (code == ServiceUscls._1101) + return "1101"; + if (code == ServiceUscls._1102) + return "1102"; + if (code == ServiceUscls._1103) + return "1103"; + if (code == ServiceUscls._1201) + return "1201"; + if (code == ServiceUscls._1205) + return "1205"; + if (code == ServiceUscls._2101) + return "2101"; + if (code == ServiceUscls._2102) + return "2102"; + if (code == ServiceUscls._2141) + return "2141"; + if (code == ServiceUscls._2601) + return "2601"; + if (code == ServiceUscls._11101) + return "11101"; + if (code == ServiceUscls._11102) + return "11102"; + if (code == ServiceUscls._11103) + return "11103"; + if (code == ServiceUscls._11104) + return "11104"; + if (code == ServiceUscls._21211) + return "21211"; + if (code == ServiceUscls._21212) + return "21212"; + if (code == ServiceUscls._27211) + return "27211"; + if (code == ServiceUscls._99111) + return "99111"; + if (code == ServiceUscls._99333) + return "99333"; + if (code == ServiceUscls._99555) + return "99555"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureType.java new file mode 100644 index 00000000000..8233d9b0f32 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureType.java @@ -0,0 +1,220 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum SignatureType { + + /** + * the signature of the primary or sole author of a health information document. There can be only one primary author of a health information document. + */ + OID_1_2_840_10065_1_12_1_1, + /** + * the signature of a health information document coauthor. There can be multiple coauthors of a health information document. + */ + OID_1_2_840_10065_1_12_1_2, + /** + * the signature of an individual who is a participant in the health information document but is not an author or coauthor. (Example a surgeon who is required by institutional, regulatory, or legal rules to sign an operative report, but who was not involved in the authorship of that report.) + */ + OID_1_2_840_10065_1_12_1_3, + /** + * the signature of an individual who has transcribed a dictated document or recorded written text into a digital machine readable format. + */ + OID_1_2_840_10065_1_12_1_4, + /** + * a signature verifying the information contained in a document. (Example a physician is required to countersign a verbal order that has previously been recorded in the medical record by a registered nurse who has carried out the verbal order.) + */ + OID_1_2_840_10065_1_12_1_5, + /** + * a signature validating a health information document for inclusion in the patient record. (Example a medical student or resident is credentialed to perform history or physical examinations and to write progress notes. The attending physician signs the history and physical examination to validate the entry for inclusion in the patient's medical record.) + */ + OID_1_2_840_10065_1_12_1_6, + /** + * the signature of an individual consenting to what is described in a health information document. + */ + OID_1_2_840_10065_1_12_1_7, + /** + * the signature of a witness to any other signature. + */ + OID_1_2_840_10065_1_12_1_8, + /** + * the signature of a witness to an event. (Example the witness has observed a procedure and is attesting to this fact.) + */ + OID_1_2_840_10065_1_12_1_9, + /** + * the signature of an individual who has witnessed another individual who is known to them signing a document. (Example the identity witness is a notary public.) + */ + OID_1_2_840_10065_1_12_1_10, + /** + * the signature of an individual who has witnessed the health care provider counselling a patient. + */ + OID_1_2_840_10065_1_12_1_11, + /** + * the signature of an individual who has translated health care information during an event or the obtaining of consent to a treatment. + */ + OID_1_2_840_10065_1_12_1_12, + /** + * the signature of a person, device, or algorithm that has reviewed or filtered data for inclusion into the patient record. ( Examples: (1) a medical records clerk who scans a document for inclusion in the medical record, enters header information, or catalogues and classifies the data, or a combination thereof; (2) a gateway that receives data from another computer system and interprets that data or changes its format, or both, before entering it into the patient record.) + */ + OID_1_2_840_10065_1_12_1_13, + /** + * the signature of an automated data source. (Examples: (1) the signature for an image that is generated by a device for inclusion in the patient record; (2) the signature for an ECG derived by an ECG system for inclusion in the patient record; (3) the data from a biomedical monitoring device or system that is for inclusion in the patient record.) + */ + OID_1_2_840_10065_1_12_1_14, + /** + * the signature on a new amended document of an individual who has corrected, edited, or amended an original health information document. An addendum signature can either be a signature type or a signature sub-type (see 8.1). Any document with an addendum signature shall have a companion document that is the original document with its original, unaltered content, and original signatures. The original document shall be referenced via an attribute in the new document, which contains, for example, the digest of the old document. Whether the original, unaltered, document is always displayed with the addended document is a local matter, but the original, unaltered, document must remain as part of the patient record and be retrievable on demand. + */ + OID_1_2_840_10065_1_12_1_15, + /** + * the signature on an original document of an individual who has generated a new amended document. This (original) document shall reference the new document via an additional signature purpose. This is the inverse of an addendum signature and provides a pointer from the original to the amended document. + */ + OID_1_2_840_10065_1_12_1_16, + /** + * the signature of an individual who is certifying that the document is invalidated by an error(s), or is placed in the wrong chart. An administrative (error/edit) signature must include an addendum to the document and therefore shall have an addendum signature sub-type (see 8.1). This signature is reserved for the highest health information system administrative classification, since it is a statement that the entire document is invalidated by the error and that the document should no longer be used for patient care, although for legal reasons the document must remain part of the permanent patient record. + */ + OID_1_2_840_10065_1_12_1_17, + /** + * added to help the parsers + */ + NULL; + public static SignatureType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1.2.840.10065.1.12.1.1".equals(codeString)) + return OID_1_2_840_10065_1_12_1_1; + if ("1.2.840.10065.1.12.1.2".equals(codeString)) + return OID_1_2_840_10065_1_12_1_2; + if ("1.2.840.10065.1.12.1.3".equals(codeString)) + return OID_1_2_840_10065_1_12_1_3; + if ("1.2.840.10065.1.12.1.4".equals(codeString)) + return OID_1_2_840_10065_1_12_1_4; + if ("1.2.840.10065.1.12.1.5".equals(codeString)) + return OID_1_2_840_10065_1_12_1_5; + if ("1.2.840.10065.1.12.1.6".equals(codeString)) + return OID_1_2_840_10065_1_12_1_6; + if ("1.2.840.10065.1.12.1.7".equals(codeString)) + return OID_1_2_840_10065_1_12_1_7; + if ("1.2.840.10065.1.12.1.8".equals(codeString)) + return OID_1_2_840_10065_1_12_1_8; + if ("1.2.840.10065.1.12.1.9".equals(codeString)) + return OID_1_2_840_10065_1_12_1_9; + if ("1.2.840.10065.1.12.1.10".equals(codeString)) + return OID_1_2_840_10065_1_12_1_10; + if ("1.2.840.10065.1.12.1.11".equals(codeString)) + return OID_1_2_840_10065_1_12_1_11; + if ("1.2.840.10065.1.12.1.12".equals(codeString)) + return OID_1_2_840_10065_1_12_1_12; + if ("1.2.840.10065.1.12.1.13".equals(codeString)) + return OID_1_2_840_10065_1_12_1_13; + if ("1.2.840.10065.1.12.1.14".equals(codeString)) + return OID_1_2_840_10065_1_12_1_14; + if ("1.2.840.10065.1.12.1.15".equals(codeString)) + return OID_1_2_840_10065_1_12_1_15; + if ("1.2.840.10065.1.12.1.16".equals(codeString)) + return OID_1_2_840_10065_1_12_1_16; + if ("1.2.840.10065.1.12.1.17".equals(codeString)) + return OID_1_2_840_10065_1_12_1_17; + throw new Exception("Unknown SignatureType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case OID_1_2_840_10065_1_12_1_1: return "1.2.840.10065.1.12.1.1"; + case OID_1_2_840_10065_1_12_1_2: return "1.2.840.10065.1.12.1.2"; + case OID_1_2_840_10065_1_12_1_3: return "1.2.840.10065.1.12.1.3"; + case OID_1_2_840_10065_1_12_1_4: return "1.2.840.10065.1.12.1.4"; + case OID_1_2_840_10065_1_12_1_5: return "1.2.840.10065.1.12.1.5"; + case OID_1_2_840_10065_1_12_1_6: return "1.2.840.10065.1.12.1.6"; + case OID_1_2_840_10065_1_12_1_7: return "1.2.840.10065.1.12.1.7"; + case OID_1_2_840_10065_1_12_1_8: return "1.2.840.10065.1.12.1.8"; + case OID_1_2_840_10065_1_12_1_9: return "1.2.840.10065.1.12.1.9"; + case OID_1_2_840_10065_1_12_1_10: return "1.2.840.10065.1.12.1.10"; + case OID_1_2_840_10065_1_12_1_11: return "1.2.840.10065.1.12.1.11"; + case OID_1_2_840_10065_1_12_1_12: return "1.2.840.10065.1.12.1.12"; + case OID_1_2_840_10065_1_12_1_13: return "1.2.840.10065.1.12.1.13"; + case OID_1_2_840_10065_1_12_1_14: return "1.2.840.10065.1.12.1.14"; + case OID_1_2_840_10065_1_12_1_15: return "1.2.840.10065.1.12.1.15"; + case OID_1_2_840_10065_1_12_1_16: return "1.2.840.10065.1.12.1.16"; + case OID_1_2_840_10065_1_12_1_17: return "1.2.840.10065.1.12.1.17"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/valueset-signature-type"; + } + public String getDefinition() { + switch (this) { + case OID_1_2_840_10065_1_12_1_1: return "the signature of the primary or sole author of a health information document. There can be only one primary author of a health information document."; + case OID_1_2_840_10065_1_12_1_2: return "the signature of a health information document coauthor. There can be multiple coauthors of a health information document."; + case OID_1_2_840_10065_1_12_1_3: return "the signature of an individual who is a participant in the health information document but is not an author or coauthor. (Example a surgeon who is required by institutional, regulatory, or legal rules to sign an operative report, but who was not involved in the authorship of that report.)"; + case OID_1_2_840_10065_1_12_1_4: return "the signature of an individual who has transcribed a dictated document or recorded written text into a digital machine readable format."; + case OID_1_2_840_10065_1_12_1_5: return "a signature verifying the information contained in a document. (Example a physician is required to countersign a verbal order that has previously been recorded in the medical record by a registered nurse who has carried out the verbal order.)"; + case OID_1_2_840_10065_1_12_1_6: return "a signature validating a health information document for inclusion in the patient record. (Example a medical student or resident is credentialed to perform history or physical examinations and to write progress notes. The attending physician signs the history and physical examination to validate the entry for inclusion in the patient's medical record.)"; + case OID_1_2_840_10065_1_12_1_7: return "the signature of an individual consenting to what is described in a health information document."; + case OID_1_2_840_10065_1_12_1_8: return "the signature of a witness to any other signature."; + case OID_1_2_840_10065_1_12_1_9: return "the signature of a witness to an event. (Example the witness has observed a procedure and is attesting to this fact.)"; + case OID_1_2_840_10065_1_12_1_10: return "the signature of an individual who has witnessed another individual who is known to them signing a document. (Example the identity witness is a notary public.)"; + case OID_1_2_840_10065_1_12_1_11: return "the signature of an individual who has witnessed the health care provider counselling a patient."; + case OID_1_2_840_10065_1_12_1_12: return "the signature of an individual who has translated health care information during an event or the obtaining of consent to a treatment."; + case OID_1_2_840_10065_1_12_1_13: return "the signature of a person, device, or algorithm that has reviewed or filtered data for inclusion into the patient record. ( Examples: (1) a medical records clerk who scans a document for inclusion in the medical record, enters header information, or catalogues and classifies the data, or a combination thereof; (2) a gateway that receives data from another computer system and interprets that data or changes its format, or both, before entering it into the patient record.)"; + case OID_1_2_840_10065_1_12_1_14: return "the signature of an automated data source. (Examples: (1) the signature for an image that is generated by a device for inclusion in the patient record; (2) the signature for an ECG derived by an ECG system for inclusion in the patient record; (3) the data from a biomedical monitoring device or system that is for inclusion in the patient record.)"; + case OID_1_2_840_10065_1_12_1_15: return "the signature on a new amended document of an individual who has corrected, edited, or amended an original health information document. An addendum signature can either be a signature type or a signature sub-type (see 8.1). Any document with an addendum signature shall have a companion document that is the original document with its original, unaltered content, and original signatures. The original document shall be referenced via an attribute in the new document, which contains, for example, the digest of the old document. Whether the original, unaltered, document is always displayed with the addended document is a local matter, but the original, unaltered, document must remain as part of the patient record and be retrievable on demand."; + case OID_1_2_840_10065_1_12_1_16: return "the signature on an original document of an individual who has generated a new amended document. This (original) document shall reference the new document via an additional signature purpose. This is the inverse of an addendum signature and provides a pointer from the original to the amended document."; + case OID_1_2_840_10065_1_12_1_17: return "the signature of an individual who is certifying that the document is invalidated by an error(s), or is placed in the wrong chart. An administrative (error/edit) signature must include an addendum to the document and therefore shall have an addendum signature sub-type (see 8.1). This signature is reserved for the highest health information system administrative classification, since it is a statement that the entire document is invalidated by the error and that the document should no longer be used for patient care, although for legal reasons the document must remain part of the permanent patient record."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case OID_1_2_840_10065_1_12_1_1: return "AuthorID"; + case OID_1_2_840_10065_1_12_1_2: return "Co-AuthorID"; + case OID_1_2_840_10065_1_12_1_3: return "Co-Participated"; + case OID_1_2_840_10065_1_12_1_4: return "Transcriptionist"; + case OID_1_2_840_10065_1_12_1_5: return "Verification"; + case OID_1_2_840_10065_1_12_1_6: return "Validation"; + case OID_1_2_840_10065_1_12_1_7: return "Consent"; + case OID_1_2_840_10065_1_12_1_8: return "Witness"; + case OID_1_2_840_10065_1_12_1_9: return "Event-Witness"; + case OID_1_2_840_10065_1_12_1_10: return "Identity-Witness"; + case OID_1_2_840_10065_1_12_1_11: return "Consent-Witness"; + case OID_1_2_840_10065_1_12_1_12: return "Interpreter"; + case OID_1_2_840_10065_1_12_1_13: return "Review"; + case OID_1_2_840_10065_1_12_1_14: return "Source"; + case OID_1_2_840_10065_1_12_1_15: return "Addendum"; + case OID_1_2_840_10065_1_12_1_16: return "Administrative"; + case OID_1_2_840_10065_1_12_1_17: return "Timestamp"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureTypeEnumFactory.java new file mode 100644 index 00000000000..ed91aa8b456 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SignatureTypeEnumFactory.java @@ -0,0 +1,119 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SignatureTypeEnumFactory implements EnumFactory { + + public SignatureType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1.2.840.10065.1.12.1.1".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_1; + if ("1.2.840.10065.1.12.1.2".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_2; + if ("1.2.840.10065.1.12.1.3".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_3; + if ("1.2.840.10065.1.12.1.4".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_4; + if ("1.2.840.10065.1.12.1.5".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_5; + if ("1.2.840.10065.1.12.1.6".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_6; + if ("1.2.840.10065.1.12.1.7".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_7; + if ("1.2.840.10065.1.12.1.8".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_8; + if ("1.2.840.10065.1.12.1.9".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_9; + if ("1.2.840.10065.1.12.1.10".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_10; + if ("1.2.840.10065.1.12.1.11".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_11; + if ("1.2.840.10065.1.12.1.12".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_12; + if ("1.2.840.10065.1.12.1.13".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_13; + if ("1.2.840.10065.1.12.1.14".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_14; + if ("1.2.840.10065.1.12.1.15".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_15; + if ("1.2.840.10065.1.12.1.16".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_16; + if ("1.2.840.10065.1.12.1.17".equals(codeString)) + return SignatureType.OID_1_2_840_10065_1_12_1_17; + throw new IllegalArgumentException("Unknown SignatureType code '"+codeString+"'"); + } + + public String toCode(SignatureType code) { + if (code == SignatureType.OID_1_2_840_10065_1_12_1_1) + return "1.2.840.10065.1.12.1.1"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_2) + return "1.2.840.10065.1.12.1.2"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_3) + return "1.2.840.10065.1.12.1.3"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_4) + return "1.2.840.10065.1.12.1.4"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_5) + return "1.2.840.10065.1.12.1.5"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_6) + return "1.2.840.10065.1.12.1.6"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_7) + return "1.2.840.10065.1.12.1.7"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_8) + return "1.2.840.10065.1.12.1.8"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_9) + return "1.2.840.10065.1.12.1.9"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_10) + return "1.2.840.10065.1.12.1.10"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_11) + return "1.2.840.10065.1.12.1.11"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_12) + return "1.2.840.10065.1.12.1.12"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_13) + return "1.2.840.10065.1.12.1.13"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_14) + return "1.2.840.10065.1.12.1.14"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_15) + return "1.2.840.10065.1.12.1.15"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_16) + return "1.2.840.10065.1.12.1.16"; + if (code == SignatureType.OID_1_2_840_10065_1_12_1_17) + return "1.2.840.10065.1.12.1.17"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTag.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTag.java new file mode 100644 index 00000000000..07b1595ba09 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTag.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum SubscriptionTag { + + /** + * The message has been queued for processing on a destination systems + */ + QUEUED, + /** + * The message has been delivered to it's intended recipient + */ + DELIVERED, + /** + * added to help the parsers + */ + NULL; + public static SubscriptionTag fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("queued".equals(codeString)) + return QUEUED; + if ("delivered".equals(codeString)) + return DELIVERED; + throw new Exception("Unknown SubscriptionTag code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case QUEUED: return "queued"; + case DELIVERED: return "delivered"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/subscription-tag"; + } + public String getDefinition() { + switch (this) { + case QUEUED: return "The message has been queued for processing on a destination systems"; + case DELIVERED: return "The message has been delivered to it's intended recipient"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case QUEUED: return "Queued"; + case DELIVERED: return "Delivered"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTagEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTagEnumFactory.java new file mode 100644 index 00000000000..06d75c79dd3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SubscriptionTagEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SubscriptionTagEnumFactory implements EnumFactory { + + public SubscriptionTag fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("queued".equals(codeString)) + return SubscriptionTag.QUEUED; + if ("delivered".equals(codeString)) + return SubscriptionTag.DELIVERED; + throw new IllegalArgumentException("Unknown SubscriptionTag code '"+codeString+"'"); + } + + public String toCode(SubscriptionTag code) { + if (code == SubscriptionTag.QUEUED) + return "queued"; + if (code == SubscriptionTag.DELIVERED) + return "delivered"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItem.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItem.java new file mode 100644 index 00000000000..25e6b110049 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItem.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum SupplyItem { + + /** + * Supply is a kind of medication. + */ + MEDICATION, + /** + * What is supplied (or requested) is a device + */ + DEVICE, + /** + * added to help the parsers + */ + NULL; + public static SupplyItem fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("medication".equals(codeString)) + return MEDICATION; + if ("device".equals(codeString)) + return DEVICE; + throw new Exception("Unknown SupplyItem code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case MEDICATION: return "medication"; + case DEVICE: return "device"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/supply-item-type"; + } + public String getDefinition() { + switch (this) { + case MEDICATION: return "Supply is a kind of medication."; + case DEVICE: return "What is supplied (or requested) is a device"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case MEDICATION: return "Medication"; + case DEVICE: return "Device"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItemEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItemEnumFactory.java new file mode 100644 index 00000000000..02afaaa3a74 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyItemEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SupplyItemEnumFactory implements EnumFactory { + + public SupplyItem fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("medication".equals(codeString)) + return SupplyItem.MEDICATION; + if ("device".equals(codeString)) + return SupplyItem.DEVICE; + throw new IllegalArgumentException("Unknown SupplyItem code '"+codeString+"'"); + } + + public String toCode(SupplyItem code) { + if (code == SupplyItem.MEDICATION) + return "medication"; + if (code == SupplyItem.DEVICE) + return "device"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKind.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKind.java new file mode 100644 index 00000000000..bfa35cb1f84 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKind.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum SupplyKind { + + /** + * Supply is stored and requested from central supply + */ + CENTRAL, + /** + * Supply is not onsite and must be requested from an outside vendor using a non-stock requisition + */ + NONSTOCK, + /** + * added to help the parsers + */ + NULL; + public static SupplyKind fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("central".equals(codeString)) + return CENTRAL; + if ("nonstock".equals(codeString)) + return NONSTOCK; + throw new Exception("Unknown SupplyKind code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CENTRAL: return "central"; + case NONSTOCK: return "nonstock"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/supply-kind"; + } + public String getDefinition() { + switch (this) { + case CENTRAL: return "Supply is stored and requested from central supply"; + case NONSTOCK: return "Supply is not onsite and must be requested from an outside vendor using a non-stock requisition"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CENTRAL: return "Central Supply"; + case NONSTOCK: return "Non-Stock"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKindEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKindEnumFactory.java new file mode 100644 index 00000000000..7694c390855 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyKindEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SupplyKindEnumFactory implements EnumFactory { + + public SupplyKind fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("central".equals(codeString)) + return SupplyKind.CENTRAL; + if ("nonstock".equals(codeString)) + return SupplyKind.NONSTOCK; + throw new IllegalArgumentException("Unknown SupplyKind code '"+codeString+"'"); + } + + public String toCode(SupplyKind code) { + if (code == SupplyKind.CENTRAL) + return "central"; + if (code == SupplyKind.NONSTOCK) + return "nonstock"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryType.java new file mode 100644 index 00000000000..d4e4266b831 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryType.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum SupplydeliveryType { + + /** + * Supply is a kind of medication. + */ + MEDICATION, + /** + * What is supplied (or requested) is a device + */ + DEVICE, + /** + * added to help the parsers + */ + NULL; + public static SupplydeliveryType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("medication".equals(codeString)) + return MEDICATION; + if ("device".equals(codeString)) + return DEVICE; + throw new Exception("Unknown SupplydeliveryType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case MEDICATION: return "medication"; + case DEVICE: return "device"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/supply-item-type"; + } + public String getDefinition() { + switch (this) { + case MEDICATION: return "Supply is a kind of medication."; + case DEVICE: return "What is supplied (or requested) is a device"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case MEDICATION: return "Medication"; + case DEVICE: return "Device"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryTypeEnumFactory.java new file mode 100644 index 00000000000..8cc89d016b0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplydeliveryTypeEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SupplydeliveryTypeEnumFactory implements EnumFactory { + + public SupplydeliveryType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("medication".equals(codeString)) + return SupplydeliveryType.MEDICATION; + if ("device".equals(codeString)) + return SupplydeliveryType.DEVICE; + throw new IllegalArgumentException("Unknown SupplydeliveryType code '"+codeString+"'"); + } + + public String toCode(SupplydeliveryType code) { + if (code == SupplydeliveryType.MEDICATION) + return "medication"; + if (code == SupplydeliveryType.DEVICE) + return "device"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKind.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKind.java new file mode 100644 index 00000000000..f18a92064f9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKind.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum SupplyrequestKind { + + /** + * Supply is stored and requested from central supply + */ + CENTRAL, + /** + * Supply is not onsite and must be requested from an outside vendor using a non-stock requisition + */ + NONSTOCK, + /** + * added to help the parsers + */ + NULL; + public static SupplyrequestKind fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("central".equals(codeString)) + return CENTRAL; + if ("nonstock".equals(codeString)) + return NONSTOCK; + throw new Exception("Unknown SupplyrequestKind code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CENTRAL: return "central"; + case NONSTOCK: return "nonstock"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/supply-kind"; + } + public String getDefinition() { + switch (this) { + case CENTRAL: return "Supply is stored and requested from central supply"; + case NONSTOCK: return "Supply is not onsite and must be requested from an outside vendor using a non-stock requisition"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CENTRAL: return "Central Supply"; + case NONSTOCK: return "Non-Stock"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKindEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKindEnumFactory.java new file mode 100644 index 00000000000..4fce8fcf9d1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SupplyrequestKindEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SupplyrequestKindEnumFactory implements EnumFactory { + + public SupplyrequestKind fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("central".equals(codeString)) + return SupplyrequestKind.CENTRAL; + if ("nonstock".equals(codeString)) + return SupplyrequestKind.NONSTOCK; + throw new IllegalArgumentException("Unknown SupplyrequestKind code '"+codeString+"'"); + } + + public String toCode(SupplyrequestKind code) { + if (code == SupplyrequestKind.CENTRAL) + return "central"; + if (code == SupplyrequestKind.NONSTOCK) + return "nonstock"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Surface.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Surface.java new file mode 100644 index 00000000000..643b81ec630 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Surface.java @@ -0,0 +1,166 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Surface { + + /** + * null + */ + M, + /** + * null + */ + O, + /** + * null + */ + I, + /** + * null + */ + D, + /** + * null + */ + B, + /** + * null + */ + V, + /** + * null + */ + L, + /** + * null + */ + MO, + /** + * null + */ + DO, + /** + * null + */ + DI, + /** + * null + */ + MOD, + /** + * added to help the parsers + */ + NULL; + public static Surface fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("M".equals(codeString)) + return M; + if ("O".equals(codeString)) + return O; + if ("I".equals(codeString)) + return I; + if ("D".equals(codeString)) + return D; + if ("B".equals(codeString)) + return B; + if ("V".equals(codeString)) + return V; + if ("L".equals(codeString)) + return L; + if ("MO".equals(codeString)) + return MO; + if ("DO".equals(codeString)) + return DO; + if ("DI".equals(codeString)) + return DI; + if ("MOD".equals(codeString)) + return MOD; + throw new Exception("Unknown Surface code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case M: return "M"; + case O: return "O"; + case I: return "I"; + case D: return "D"; + case B: return "B"; + case V: return "V"; + case L: return "L"; + case MO: return "MO"; + case DO: return "DO"; + case DI: return "DI"; + case MOD: return "MOD"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/FDI-surface"; + } + public String getDefinition() { + switch (this) { + case M: return ""; + case O: return ""; + case I: return ""; + case D: return ""; + case B: return ""; + case V: return ""; + case L: return ""; + case MO: return ""; + case DO: return ""; + case DI: return ""; + case MOD: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case M: return "M"; + case O: return "O"; + case I: return "I"; + case D: return "D"; + case B: return "B"; + case V: return "V"; + case L: return "L"; + case MO: return "MO"; + case DO: return "DO"; + case DI: return "DI"; + case MOD: return "MOD"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SurfaceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SurfaceEnumFactory.java new file mode 100644 index 00000000000..63602388423 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/SurfaceEnumFactory.java @@ -0,0 +1,95 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class SurfaceEnumFactory implements EnumFactory { + + public Surface fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("M".equals(codeString)) + return Surface.M; + if ("O".equals(codeString)) + return Surface.O; + if ("I".equals(codeString)) + return Surface.I; + if ("D".equals(codeString)) + return Surface.D; + if ("B".equals(codeString)) + return Surface.B; + if ("V".equals(codeString)) + return Surface.V; + if ("L".equals(codeString)) + return Surface.L; + if ("MO".equals(codeString)) + return Surface.MO; + if ("DO".equals(codeString)) + return Surface.DO; + if ("DI".equals(codeString)) + return Surface.DI; + if ("MOD".equals(codeString)) + return Surface.MOD; + throw new IllegalArgumentException("Unknown Surface code '"+codeString+"'"); + } + + public String toCode(Surface code) { + if (code == Surface.M) + return "M"; + if (code == Surface.O) + return "O"; + if (code == Surface.I) + return "I"; + if (code == Surface.D) + return "D"; + if (code == Surface.B) + return "B"; + if (code == Surface.V) + return "V"; + if (code == Surface.L) + return "L"; + if (code == Surface.MO) + return "MO"; + if (code == Surface.DO) + return "DO"; + if (code == Surface.DI) + return "DI"; + if (code == Surface.MOD) + return "MOD"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Teeth.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Teeth.java new file mode 100644 index 00000000000..a31a0014a08 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Teeth.java @@ -0,0 +1,355 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Teeth { + + /** + * null + */ + _11, + /** + * null + */ + _12, + /** + * null + */ + _13, + /** + * null + */ + _14, + /** + * null + */ + _15, + /** + * null + */ + _16, + /** + * null + */ + _17, + /** + * null + */ + _18, + /** + * null + */ + _21, + /** + * null + */ + _22, + /** + * null + */ + _23, + /** + * null + */ + _24, + /** + * null + */ + _25, + /** + * null + */ + _26, + /** + * null + */ + _27, + /** + * null + */ + _28, + /** + * null + */ + _31, + /** + * null + */ + _32, + /** + * null + */ + _33, + /** + * null + */ + _34, + /** + * null + */ + _35, + /** + * null + */ + _36, + /** + * null + */ + _37, + /** + * null + */ + _38, + /** + * null + */ + _41, + /** + * null + */ + _42, + /** + * null + */ + _43, + /** + * null + */ + _44, + /** + * null + */ + _45, + /** + * null + */ + _46, + /** + * null + */ + _47, + /** + * null + */ + _48, + /** + * added to help the parsers + */ + NULL; + public static Teeth fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("11".equals(codeString)) + return _11; + if ("12".equals(codeString)) + return _12; + if ("13".equals(codeString)) + return _13; + if ("14".equals(codeString)) + return _14; + if ("15".equals(codeString)) + return _15; + if ("16".equals(codeString)) + return _16; + if ("17".equals(codeString)) + return _17; + if ("18".equals(codeString)) + return _18; + if ("21".equals(codeString)) + return _21; + if ("22".equals(codeString)) + return _22; + if ("23".equals(codeString)) + return _23; + if ("24".equals(codeString)) + return _24; + if ("25".equals(codeString)) + return _25; + if ("26".equals(codeString)) + return _26; + if ("27".equals(codeString)) + return _27; + if ("28".equals(codeString)) + return _28; + if ("31".equals(codeString)) + return _31; + if ("32".equals(codeString)) + return _32; + if ("33".equals(codeString)) + return _33; + if ("34".equals(codeString)) + return _34; + if ("35".equals(codeString)) + return _35; + if ("36".equals(codeString)) + return _36; + if ("37".equals(codeString)) + return _37; + if ("38".equals(codeString)) + return _38; + if ("41".equals(codeString)) + return _41; + if ("42".equals(codeString)) + return _42; + if ("43".equals(codeString)) + return _43; + if ("44".equals(codeString)) + return _44; + if ("45".equals(codeString)) + return _45; + if ("46".equals(codeString)) + return _46; + if ("47".equals(codeString)) + return _47; + if ("48".equals(codeString)) + return _48; + throw new Exception("Unknown Teeth code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _11: return "11"; + case _12: return "12"; + case _13: return "13"; + case _14: return "14"; + case _15: return "15"; + case _16: return "16"; + case _17: return "17"; + case _18: return "18"; + case _21: return "21"; + case _22: return "22"; + case _23: return "23"; + case _24: return "24"; + case _25: return "25"; + case _26: return "26"; + case _27: return "27"; + case _28: return "28"; + case _31: return "31"; + case _32: return "32"; + case _33: return "33"; + case _34: return "34"; + case _35: return "35"; + case _36: return "36"; + case _37: return "37"; + case _38: return "38"; + case _41: return "41"; + case _42: return "42"; + case _43: return "43"; + case _44: return "44"; + case _45: return "45"; + case _46: return "46"; + case _47: return "47"; + case _48: return "48"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-fdi"; + } + public String getDefinition() { + switch (this) { + case _11: return ""; + case _12: return ""; + case _13: return ""; + case _14: return ""; + case _15: return ""; + case _16: return ""; + case _17: return ""; + case _18: return ""; + case _21: return ""; + case _22: return ""; + case _23: return ""; + case _24: return ""; + case _25: return ""; + case _26: return ""; + case _27: return ""; + case _28: return ""; + case _31: return ""; + case _32: return ""; + case _33: return ""; + case _34: return ""; + case _35: return ""; + case _36: return ""; + case _37: return ""; + case _38: return ""; + case _41: return ""; + case _42: return ""; + case _43: return ""; + case _44: return ""; + case _45: return ""; + case _46: return ""; + case _47: return ""; + case _48: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _11: return "11"; + case _12: return "12"; + case _13: return "13"; + case _14: return "14"; + case _15: return "15"; + case _16: return "16"; + case _17: return "17"; + case _18: return "18"; + case _21: return "21"; + case _22: return "22"; + case _23: return "23"; + case _24: return "24"; + case _25: return "25"; + case _26: return "26"; + case _27: return "27"; + case _28: return "28"; + case _31: return "31"; + case _32: return "32"; + case _33: return "33"; + case _34: return "34"; + case _35: return "35"; + case _36: return "36"; + case _37: return "37"; + case _38: return "38"; + case _41: return "41"; + case _42: return "42"; + case _43: return "43"; + case _44: return "44"; + case _45: return "45"; + case _46: return "46"; + case _47: return "47"; + case _48: return "48"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TeethEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TeethEnumFactory.java new file mode 100644 index 00000000000..e0886087540 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TeethEnumFactory.java @@ -0,0 +1,179 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class TeethEnumFactory implements EnumFactory { + + public Teeth fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("11".equals(codeString)) + return Teeth._11; + if ("12".equals(codeString)) + return Teeth._12; + if ("13".equals(codeString)) + return Teeth._13; + if ("14".equals(codeString)) + return Teeth._14; + if ("15".equals(codeString)) + return Teeth._15; + if ("16".equals(codeString)) + return Teeth._16; + if ("17".equals(codeString)) + return Teeth._17; + if ("18".equals(codeString)) + return Teeth._18; + if ("21".equals(codeString)) + return Teeth._21; + if ("22".equals(codeString)) + return Teeth._22; + if ("23".equals(codeString)) + return Teeth._23; + if ("24".equals(codeString)) + return Teeth._24; + if ("25".equals(codeString)) + return Teeth._25; + if ("26".equals(codeString)) + return Teeth._26; + if ("27".equals(codeString)) + return Teeth._27; + if ("28".equals(codeString)) + return Teeth._28; + if ("31".equals(codeString)) + return Teeth._31; + if ("32".equals(codeString)) + return Teeth._32; + if ("33".equals(codeString)) + return Teeth._33; + if ("34".equals(codeString)) + return Teeth._34; + if ("35".equals(codeString)) + return Teeth._35; + if ("36".equals(codeString)) + return Teeth._36; + if ("37".equals(codeString)) + return Teeth._37; + if ("38".equals(codeString)) + return Teeth._38; + if ("41".equals(codeString)) + return Teeth._41; + if ("42".equals(codeString)) + return Teeth._42; + if ("43".equals(codeString)) + return Teeth._43; + if ("44".equals(codeString)) + return Teeth._44; + if ("45".equals(codeString)) + return Teeth._45; + if ("46".equals(codeString)) + return Teeth._46; + if ("47".equals(codeString)) + return Teeth._47; + if ("48".equals(codeString)) + return Teeth._48; + throw new IllegalArgumentException("Unknown Teeth code '"+codeString+"'"); + } + + public String toCode(Teeth code) { + if (code == Teeth._11) + return "11"; + if (code == Teeth._12) + return "12"; + if (code == Teeth._13) + return "13"; + if (code == Teeth._14) + return "14"; + if (code == Teeth._15) + return "15"; + if (code == Teeth._16) + return "16"; + if (code == Teeth._17) + return "17"; + if (code == Teeth._18) + return "18"; + if (code == Teeth._21) + return "21"; + if (code == Teeth._22) + return "22"; + if (code == Teeth._23) + return "23"; + if (code == Teeth._24) + return "24"; + if (code == Teeth._25) + return "25"; + if (code == Teeth._26) + return "26"; + if (code == Teeth._27) + return "27"; + if (code == Teeth._28) + return "28"; + if (code == Teeth._31) + return "31"; + if (code == Teeth._32) + return "32"; + if (code == Teeth._33) + return "33"; + if (code == Teeth._34) + return "34"; + if (code == Teeth._35) + return "35"; + if (code == Teeth._36) + return "36"; + if (code == Teeth._37) + return "37"; + if (code == Teeth._38) + return "38"; + if (code == Teeth._41) + return "41"; + if (code == Teeth._42) + return "42"; + if (code == Teeth._43) + return "43"; + if (code == Teeth._44) + return "44"; + if (code == Teeth._45) + return "45"; + if (code == Teeth._46) + return "46"; + if (code == Teeth._47) + return "47"; + if (code == Teeth._48) + return "48"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Tooth.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Tooth.java new file mode 100644 index 00000000000..ce8e947caec --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Tooth.java @@ -0,0 +1,445 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Tooth { + + /** + * null + */ + _0, + /** + * null + */ + _1, + /** + * null + */ + _2, + /** + * null + */ + _3, + /** + * null + */ + _4, + /** + * null + */ + _5, + /** + * null + */ + _10, + /** + * null + */ + _20, + /** + * null + */ + _30, + /** + * null + */ + _40, + /** + * null + */ + _11, + /** + * null + */ + _12, + /** + * null + */ + _13, + /** + * null + */ + _14, + /** + * null + */ + _15, + /** + * null + */ + _16, + /** + * null + */ + _17, + /** + * null + */ + _18, + /** + * null + */ + _21, + /** + * null + */ + _22, + /** + * null + */ + _23, + /** + * null + */ + _24, + /** + * null + */ + _25, + /** + * null + */ + _26, + /** + * null + */ + _27, + /** + * null + */ + _28, + /** + * null + */ + _31, + /** + * null + */ + _32, + /** + * null + */ + _33, + /** + * null + */ + _34, + /** + * null + */ + _35, + /** + * null + */ + _36, + /** + * null + */ + _37, + /** + * null + */ + _38, + /** + * null + */ + _41, + /** + * null + */ + _42, + /** + * null + */ + _43, + /** + * null + */ + _44, + /** + * null + */ + _45, + /** + * null + */ + _46, + /** + * null + */ + _47, + /** + * null + */ + _48, + /** + * added to help the parsers + */ + NULL; + public static Tooth fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("0".equals(codeString)) + return _0; + if ("1".equals(codeString)) + return _1; + if ("2".equals(codeString)) + return _2; + if ("3".equals(codeString)) + return _3; + if ("4".equals(codeString)) + return _4; + if ("5".equals(codeString)) + return _5; + if ("10".equals(codeString)) + return _10; + if ("20".equals(codeString)) + return _20; + if ("30".equals(codeString)) + return _30; + if ("40".equals(codeString)) + return _40; + if ("11".equals(codeString)) + return _11; + if ("12".equals(codeString)) + return _12; + if ("13".equals(codeString)) + return _13; + if ("14".equals(codeString)) + return _14; + if ("15".equals(codeString)) + return _15; + if ("16".equals(codeString)) + return _16; + if ("17".equals(codeString)) + return _17; + if ("18".equals(codeString)) + return _18; + if ("21".equals(codeString)) + return _21; + if ("22".equals(codeString)) + return _22; + if ("23".equals(codeString)) + return _23; + if ("24".equals(codeString)) + return _24; + if ("25".equals(codeString)) + return _25; + if ("26".equals(codeString)) + return _26; + if ("27".equals(codeString)) + return _27; + if ("28".equals(codeString)) + return _28; + if ("31".equals(codeString)) + return _31; + if ("32".equals(codeString)) + return _32; + if ("33".equals(codeString)) + return _33; + if ("34".equals(codeString)) + return _34; + if ("35".equals(codeString)) + return _35; + if ("36".equals(codeString)) + return _36; + if ("37".equals(codeString)) + return _37; + if ("38".equals(codeString)) + return _38; + if ("41".equals(codeString)) + return _41; + if ("42".equals(codeString)) + return _42; + if ("43".equals(codeString)) + return _43; + if ("44".equals(codeString)) + return _44; + if ("45".equals(codeString)) + return _45; + if ("46".equals(codeString)) + return _46; + if ("47".equals(codeString)) + return _47; + if ("48".equals(codeString)) + return _48; + throw new Exception("Unknown Tooth code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _0: return "0"; + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + case _10: return "10"; + case _20: return "20"; + case _30: return "30"; + case _40: return "40"; + case _11: return "11"; + case _12: return "12"; + case _13: return "13"; + case _14: return "14"; + case _15: return "15"; + case _16: return "16"; + case _17: return "17"; + case _18: return "18"; + case _21: return "21"; + case _22: return "22"; + case _23: return "23"; + case _24: return "24"; + case _25: return "25"; + case _26: return "26"; + case _27: return "27"; + case _28: return "28"; + case _31: return "31"; + case _32: return "32"; + case _33: return "33"; + case _34: return "34"; + case _35: return "35"; + case _36: return "36"; + case _37: return "37"; + case _38: return "38"; + case _41: return "41"; + case _42: return "42"; + case _43: return "43"; + case _44: return "44"; + case _45: return "45"; + case _46: return "46"; + case _47: return "47"; + case _48: return "48"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-surface"; + } + public String getDefinition() { + switch (this) { + case _0: return ""; + case _1: return ""; + case _2: return ""; + case _3: return ""; + case _4: return ""; + case _5: return ""; + case _10: return ""; + case _20: return ""; + case _30: return ""; + case _40: return ""; + case _11: return ""; + case _12: return ""; + case _13: return ""; + case _14: return ""; + case _15: return ""; + case _16: return ""; + case _17: return ""; + case _18: return ""; + case _21: return ""; + case _22: return ""; + case _23: return ""; + case _24: return ""; + case _25: return ""; + case _26: return ""; + case _27: return ""; + case _28: return ""; + case _31: return ""; + case _32: return ""; + case _33: return ""; + case _34: return ""; + case _35: return ""; + case _36: return ""; + case _37: return ""; + case _38: return ""; + case _41: return ""; + case _42: return ""; + case _43: return ""; + case _44: return ""; + case _45: return ""; + case _46: return ""; + case _47: return ""; + case _48: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _0: return "0"; + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + case _10: return "10"; + case _20: return "20"; + case _30: return "30"; + case _40: return "40"; + case _11: return "11"; + case _12: return "12"; + case _13: return "13"; + case _14: return "14"; + case _15: return "15"; + case _16: return "16"; + case _17: return "17"; + case _18: return "18"; + case _21: return "21"; + case _22: return "22"; + case _23: return "23"; + case _24: return "24"; + case _25: return "25"; + case _26: return "26"; + case _27: return "27"; + case _28: return "28"; + case _31: return "31"; + case _32: return "32"; + case _33: return "33"; + case _34: return "34"; + case _35: return "35"; + case _36: return "36"; + case _37: return "37"; + case _38: return "38"; + case _41: return "41"; + case _42: return "42"; + case _43: return "43"; + case _44: return "44"; + case _45: return "45"; + case _46: return "46"; + case _47: return "47"; + case _48: return "48"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ToothEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ToothEnumFactory.java new file mode 100644 index 00000000000..150b3cd1e79 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ToothEnumFactory.java @@ -0,0 +1,219 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class ToothEnumFactory implements EnumFactory { + + public Tooth fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("0".equals(codeString)) + return Tooth._0; + if ("1".equals(codeString)) + return Tooth._1; + if ("2".equals(codeString)) + return Tooth._2; + if ("3".equals(codeString)) + return Tooth._3; + if ("4".equals(codeString)) + return Tooth._4; + if ("5".equals(codeString)) + return Tooth._5; + if ("10".equals(codeString)) + return Tooth._10; + if ("20".equals(codeString)) + return Tooth._20; + if ("30".equals(codeString)) + return Tooth._30; + if ("40".equals(codeString)) + return Tooth._40; + if ("11".equals(codeString)) + return Tooth._11; + if ("12".equals(codeString)) + return Tooth._12; + if ("13".equals(codeString)) + return Tooth._13; + if ("14".equals(codeString)) + return Tooth._14; + if ("15".equals(codeString)) + return Tooth._15; + if ("16".equals(codeString)) + return Tooth._16; + if ("17".equals(codeString)) + return Tooth._17; + if ("18".equals(codeString)) + return Tooth._18; + if ("21".equals(codeString)) + return Tooth._21; + if ("22".equals(codeString)) + return Tooth._22; + if ("23".equals(codeString)) + return Tooth._23; + if ("24".equals(codeString)) + return Tooth._24; + if ("25".equals(codeString)) + return Tooth._25; + if ("26".equals(codeString)) + return Tooth._26; + if ("27".equals(codeString)) + return Tooth._27; + if ("28".equals(codeString)) + return Tooth._28; + if ("31".equals(codeString)) + return Tooth._31; + if ("32".equals(codeString)) + return Tooth._32; + if ("33".equals(codeString)) + return Tooth._33; + if ("34".equals(codeString)) + return Tooth._34; + if ("35".equals(codeString)) + return Tooth._35; + if ("36".equals(codeString)) + return Tooth._36; + if ("37".equals(codeString)) + return Tooth._37; + if ("38".equals(codeString)) + return Tooth._38; + if ("41".equals(codeString)) + return Tooth._41; + if ("42".equals(codeString)) + return Tooth._42; + if ("43".equals(codeString)) + return Tooth._43; + if ("44".equals(codeString)) + return Tooth._44; + if ("45".equals(codeString)) + return Tooth._45; + if ("46".equals(codeString)) + return Tooth._46; + if ("47".equals(codeString)) + return Tooth._47; + if ("48".equals(codeString)) + return Tooth._48; + throw new IllegalArgumentException("Unknown Tooth code '"+codeString+"'"); + } + + public String toCode(Tooth code) { + if (code == Tooth._0) + return "0"; + if (code == Tooth._1) + return "1"; + if (code == Tooth._2) + return "2"; + if (code == Tooth._3) + return "3"; + if (code == Tooth._4) + return "4"; + if (code == Tooth._5) + return "5"; + if (code == Tooth._10) + return "10"; + if (code == Tooth._20) + return "20"; + if (code == Tooth._30) + return "30"; + if (code == Tooth._40) + return "40"; + if (code == Tooth._11) + return "11"; + if (code == Tooth._12) + return "12"; + if (code == Tooth._13) + return "13"; + if (code == Tooth._14) + return "14"; + if (code == Tooth._15) + return "15"; + if (code == Tooth._16) + return "16"; + if (code == Tooth._17) + return "17"; + if (code == Tooth._18) + return "18"; + if (code == Tooth._21) + return "21"; + if (code == Tooth._22) + return "22"; + if (code == Tooth._23) + return "23"; + if (code == Tooth._24) + return "24"; + if (code == Tooth._25) + return "25"; + if (code == Tooth._26) + return "26"; + if (code == Tooth._27) + return "27"; + if (code == Tooth._28) + return "28"; + if (code == Tooth._31) + return "31"; + if (code == Tooth._32) + return "32"; + if (code == Tooth._33) + return "33"; + if (code == Tooth._34) + return "34"; + if (code == Tooth._35) + return "35"; + if (code == Tooth._36) + return "36"; + if (code == Tooth._37) + return "37"; + if (code == Tooth._38) + return "38"; + if (code == Tooth._41) + return "41"; + if (code == Tooth._42) + return "42"; + if (code == Tooth._43) + return "43"; + if (code == Tooth._44) + return "44"; + if (code == Tooth._45) + return "45"; + if (code == Tooth._46) + return "46"; + if (code == Tooth._47) + return "47"; + if (code == Tooth._48) + return "48"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingMode.java new file mode 100644 index 00000000000..03ba042023d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingMode.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum TransactionProcessingMode { + + /** + * If a matching resource is found, then ignore the resource and do not process it as part of the transaction (and return the matching resource information in the transaction response) + */ + IGNORE, + /** + * If a matching resource is found, then update it with this resource, otherwise create a new one + */ + UPDATE, + /** + * If a resource matching the information provided is found, delete it. If no matching resource is found, the transaction fails + */ + DELETE, + /** + * added to help the parsers + */ + NULL; + public static TransactionProcessingMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ignore".equals(codeString)) + return IGNORE; + if ("update".equals(codeString)) + return UPDATE; + if ("delete".equals(codeString)) + return DELETE; + throw new Exception("Unknown TransactionProcessingMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case IGNORE: return "ignore"; + case UPDATE: return "update"; + case DELETE: return "delete"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/transaction-processing-mode"; + } + public String getDefinition() { + switch (this) { + case IGNORE: return "If a matching resource is found, then ignore the resource and do not process it as part of the transaction (and return the matching resource information in the transaction response)"; + case UPDATE: return "If a matching resource is found, then update it with this resource, otherwise create a new one"; + case DELETE: return "If a resource matching the information provided is found, delete it. If no matching resource is found, the transaction fails"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case IGNORE: return "ignore"; + case UPDATE: return "update"; + case DELETE: return "delete"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingModeEnumFactory.java new file mode 100644 index 00000000000..1c6d6c48625 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TransactionProcessingModeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class TransactionProcessingModeEnumFactory implements EnumFactory { + + public TransactionProcessingMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ignore".equals(codeString)) + return TransactionProcessingMode.IGNORE; + if ("update".equals(codeString)) + return TransactionProcessingMode.UPDATE; + if ("delete".equals(codeString)) + return TransactionProcessingMode.DELETE; + throw new IllegalArgumentException("Unknown TransactionProcessingMode code '"+codeString+"'"); + } + + public String toCode(TransactionProcessingMode code) { + if (code == TransactionProcessingMode.IGNORE) + return "ignore"; + if (code == TransactionProcessingMode.UPDATE) + return "update"; + if (code == TransactionProcessingMode.DELETE) + return "delete"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Udi.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Udi.java new file mode 100644 index 00000000000..741a6768fe2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/Udi.java @@ -0,0 +1,76 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum Udi { + + /** + * null + */ + _01_123456789, + /** + * added to help the parsers + */ + NULL; + public static Udi fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("{01}123456789".equals(codeString)) + return _01_123456789; + throw new Exception("Unknown Udi code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _01_123456789: return "{01}123456789"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-udi"; + } + public String getDefinition() { + switch (this) { + case _01_123456789: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _01_123456789: return "{01}123456789"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/UdiEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/UdiEnumFactory.java new file mode 100644 index 00000000000..546fbfcddfc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/UdiEnumFactory.java @@ -0,0 +1,55 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class UdiEnumFactory implements EnumFactory { + + public Udi fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("{01}123456789".equals(codeString)) + return Udi._01_123456789; + throw new IllegalArgumentException("Unknown Udi code '"+codeString+"'"); + } + + public String toCode(Udi code) { + if (code == Udi._01_123456789) + return "{01}123456789"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementCondition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementCondition.java new file mode 100644 index 00000000000..d7406ed8583 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementCondition.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AcknowledgementCondition { + + /** + * Always send an acknowledgement. + */ + AL, + /** + * Send an acknowledgement for error/reject conditions only. + */ + ER, + /** + * Never send an acknowledgement. + */ + NE, + /** + * added to help the parsers + */ + NULL; + public static V3AcknowledgementCondition fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AL".equals(codeString)) + return AL; + if ("ER".equals(codeString)) + return ER; + if ("NE".equals(codeString)) + return NE; + throw new Exception("Unknown V3AcknowledgementCondition code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AL: return "AL"; + case ER: return "ER"; + case NE: return "NE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AcknowledgementCondition"; + } + public String getDefinition() { + switch (this) { + case AL: return "Always send an acknowledgement."; + case ER: return "Send an acknowledgement for error/reject conditions only."; + case NE: return "Never send an acknowledgement."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AL: return "Always"; + case ER: return "Error/reject only"; + case NE: return "Never"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementConditionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementConditionEnumFactory.java new file mode 100644 index 00000000000..7417199e02c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementConditionEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AcknowledgementConditionEnumFactory implements EnumFactory { + + public V3AcknowledgementCondition fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AL".equals(codeString)) + return V3AcknowledgementCondition.AL; + if ("ER".equals(codeString)) + return V3AcknowledgementCondition.ER; + if ("NE".equals(codeString)) + return V3AcknowledgementCondition.NE; + throw new IllegalArgumentException("Unknown V3AcknowledgementCondition code '"+codeString+"'"); + } + + public String toCode(V3AcknowledgementCondition code) { + if (code == V3AcknowledgementCondition.AL) + return "AL"; + if (code == V3AcknowledgementCondition.ER) + return "ER"; + if (code == V3AcknowledgementCondition.NE) + return "NE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCode.java new file mode 100644 index 00000000000..35d0956fdca --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCode.java @@ -0,0 +1,319 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AcknowledgementDetailCode { + + /** + * Refelects rejections because elements of the communication are not supported in the current context. + */ + _ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE, + /** + * The interaction (or: this version of the interaction) is not supported. + */ + NS200, + /** + * The Processing ID is not supported. + */ + NS202, + /** + * The Version ID is not supported. + */ + NS203, + /** + * The processing mode is not supported. + */ + NS250, + /** + * The Device.id of the sender is unknown. + */ + NS260, + /** + * The receiver requires information in the attentionLine classes for routing purposes. + */ + NS261, + /** + * An internal software component (database, application, queue mechanism, etc.) has failed, leading to inability to process the message. + */ + INTERR, + /** + * Rejection: The message can't be stored by the receiver due to an unspecified internal application issue. The message was neither processed nor stored by the receiving application. + */ + NOSTORE, + /** + * Error: The destination of this message is known to the receiving application. Messages have been successfully routed to that destination in the past. The link to the destination application or an intermediate application is unavailable. + */ + RTEDEST, + /** + * The destination of this message is unknown to the receiving application. The receiving application in the message does not match the application which received the message. The message was neither routed, processed nor stored by the receiving application. + */ + RTUDEST, + /** + * Warning: The destination of this message is known to the receiving application. Messages have been successfully routed to that destination in the past. The link to the destination application or an intermediate application is (temporarily) unavailable. The receiving application will forward the message as soon as the destination can be reached again. + */ + RTWDEST, + /** + * Reflects errors in the syntax or structure of the communication. + */ + SYN, + /** + * The attribute contained data of the wrong data type, e.g. a numeric attribute contained "FOO". + */ + SYN102, + /** + * Description: Required association or attribute missing in message; or the sequence of the classes is different than required by the standard or one of the conformance profiles identified in the message. + */ + SYN105, + /** + * Required association missing in message; or the sequence of the classes is different than required by the standard or one of the conformance profiles identified in the message. + */ + SYN100, + /** + * A required attribute is missing in a class. + */ + SYN101, + /** + * Description: The number of repetitions of a group of association or attributes is less than the required minimum for the standard or of one of the conformance profiles or templates identified in the message. + */ + SYN114, + /** + * Description: A coded attribute or datatype property violates one of the terminology constraints specified in the standard or one of the conformance profiles or templates declared by the instance. + */ + SYN106, + /** + * An attribute value was compared against the corresponding code system, and no match was found. + */ + SYN103, + /** + * An attribute value referenced a code system that is not valid for an attribute constrained to CNE. + */ + SYN104, + /** + * Description: A coded attribute is referencing a code that has been deprecated by the owning code system. + */ + SYN107, + /** + * Description: The number of repetitions of a (group of) association(s) or attribute(s) exceeds the limits of the standard or of one of the conformance profiles or templates identified in the message. + */ + SYN108, + /** + * The number of repetitions of a (group of) association(s) exceeds the limits of the standard or of one of the conformance profiles identified in the message. + */ + SYN110, + /** + * The number of repetitions of an attribute exceeds the limits of the standard or of one of the conformance profiles identified in the message. + */ + SYN112, + /** + * Description: An attribute or association identified as mandatory in a specification or declared conformance profile or template has been specified with a null flavor. + */ + SYN109, + /** + * Description: The value of an attribute or property differs from the fixed value asserted in the standard or one of the conformance profiles or templates declared in the message. + */ + SYN111, + /** + * Description: A formal constraint asserted in the standard or one of the conformance profiles or templates declared in the message has been violated. + */ + SYN113, + /** + * added to help the parsers + */ + NULL; + public static V3AcknowledgementDetailCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AcknowledgementDetailNotSupportedCode".equals(codeString)) + return _ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE; + if ("NS200".equals(codeString)) + return NS200; + if ("NS202".equals(codeString)) + return NS202; + if ("NS203".equals(codeString)) + return NS203; + if ("NS250".equals(codeString)) + return NS250; + if ("NS260".equals(codeString)) + return NS260; + if ("NS261".equals(codeString)) + return NS261; + if ("INTERR".equals(codeString)) + return INTERR; + if ("NOSTORE".equals(codeString)) + return NOSTORE; + if ("RTEDEST".equals(codeString)) + return RTEDEST; + if ("RTUDEST".equals(codeString)) + return RTUDEST; + if ("RTWDEST".equals(codeString)) + return RTWDEST; + if ("SYN".equals(codeString)) + return SYN; + if ("SYN102".equals(codeString)) + return SYN102; + if ("SYN105".equals(codeString)) + return SYN105; + if ("SYN100".equals(codeString)) + return SYN100; + if ("SYN101".equals(codeString)) + return SYN101; + if ("SYN114".equals(codeString)) + return SYN114; + if ("SYN106".equals(codeString)) + return SYN106; + if ("SYN103".equals(codeString)) + return SYN103; + if ("SYN104".equals(codeString)) + return SYN104; + if ("SYN107".equals(codeString)) + return SYN107; + if ("SYN108".equals(codeString)) + return SYN108; + if ("SYN110".equals(codeString)) + return SYN110; + if ("SYN112".equals(codeString)) + return SYN112; + if ("SYN109".equals(codeString)) + return SYN109; + if ("SYN111".equals(codeString)) + return SYN111; + if ("SYN113".equals(codeString)) + return SYN113; + throw new Exception("Unknown V3AcknowledgementDetailCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE: return "_AcknowledgementDetailNotSupportedCode"; + case NS200: return "NS200"; + case NS202: return "NS202"; + case NS203: return "NS203"; + case NS250: return "NS250"; + case NS260: return "NS260"; + case NS261: return "NS261"; + case INTERR: return "INTERR"; + case NOSTORE: return "NOSTORE"; + case RTEDEST: return "RTEDEST"; + case RTUDEST: return "RTUDEST"; + case RTWDEST: return "RTWDEST"; + case SYN: return "SYN"; + case SYN102: return "SYN102"; + case SYN105: return "SYN105"; + case SYN100: return "SYN100"; + case SYN101: return "SYN101"; + case SYN114: return "SYN114"; + case SYN106: return "SYN106"; + case SYN103: return "SYN103"; + case SYN104: return "SYN104"; + case SYN107: return "SYN107"; + case SYN108: return "SYN108"; + case SYN110: return "SYN110"; + case SYN112: return "SYN112"; + case SYN109: return "SYN109"; + case SYN111: return "SYN111"; + case SYN113: return "SYN113"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AcknowledgementDetailCode"; + } + public String getDefinition() { + switch (this) { + case _ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE: return "Refelects rejections because elements of the communication are not supported in the current context."; + case NS200: return "The interaction (or: this version of the interaction) is not supported."; + case NS202: return "The Processing ID is not supported."; + case NS203: return "The Version ID is not supported."; + case NS250: return "The processing mode is not supported."; + case NS260: return "The Device.id of the sender is unknown."; + case NS261: return "The receiver requires information in the attentionLine classes for routing purposes."; + case INTERR: return "An internal software component (database, application, queue mechanism, etc.) has failed, leading to inability to process the message."; + case NOSTORE: return "Rejection: The message can't be stored by the receiver due to an unspecified internal application issue. The message was neither processed nor stored by the receiving application."; + case RTEDEST: return "Error: The destination of this message is known to the receiving application. Messages have been successfully routed to that destination in the past. The link to the destination application or an intermediate application is unavailable."; + case RTUDEST: return "The destination of this message is unknown to the receiving application. The receiving application in the message does not match the application which received the message. The message was neither routed, processed nor stored by the receiving application."; + case RTWDEST: return "Warning: The destination of this message is known to the receiving application. Messages have been successfully routed to that destination in the past. The link to the destination application or an intermediate application is (temporarily) unavailable. The receiving application will forward the message as soon as the destination can be reached again."; + case SYN: return "Reflects errors in the syntax or structure of the communication."; + case SYN102: return "The attribute contained data of the wrong data type, e.g. a numeric attribute contained 'FOO'."; + case SYN105: return "Description: Required association or attribute missing in message; or the sequence of the classes is different than required by the standard or one of the conformance profiles identified in the message."; + case SYN100: return "Required association missing in message; or the sequence of the classes is different than required by the standard or one of the conformance profiles identified in the message."; + case SYN101: return "A required attribute is missing in a class."; + case SYN114: return "Description: The number of repetitions of a group of association or attributes is less than the required minimum for the standard or of one of the conformance profiles or templates identified in the message."; + case SYN106: return "Description: A coded attribute or datatype property violates one of the terminology constraints specified in the standard or one of the conformance profiles or templates declared by the instance."; + case SYN103: return "An attribute value was compared against the corresponding code system, and no match was found."; + case SYN104: return "An attribute value referenced a code system that is not valid for an attribute constrained to CNE."; + case SYN107: return "Description: A coded attribute is referencing a code that has been deprecated by the owning code system."; + case SYN108: return "Description: The number of repetitions of a (group of) association(s) or attribute(s) exceeds the limits of the standard or of one of the conformance profiles or templates identified in the message."; + case SYN110: return "The number of repetitions of a (group of) association(s) exceeds the limits of the standard or of one of the conformance profiles identified in the message."; + case SYN112: return "The number of repetitions of an attribute exceeds the limits of the standard or of one of the conformance profiles identified in the message."; + case SYN109: return "Description: An attribute or association identified as mandatory in a specification or declared conformance profile or template has been specified with a null flavor."; + case SYN111: return "Description: The value of an attribute or property differs from the fixed value asserted in the standard or one of the conformance profiles or templates declared in the message."; + case SYN113: return "Description: A formal constraint asserted in the standard or one of the conformance profiles or templates declared in the message has been violated."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE: return "AcknowledgementDetailNotSupportedCode"; + case NS200: return "Unsupported interaction"; + case NS202: return "Unsupported processing id"; + case NS203: return "Unsupported version id"; + case NS250: return "Unsupported processing Mode"; + case NS260: return "Unknown sender"; + case NS261: return "Unrecognized attentionline"; + case INTERR: return "Internal system error"; + case NOSTORE: return "No storage space for message."; + case RTEDEST: return "Message routing error, destination unreachable."; + case RTUDEST: return "Error: Message routing error, unknown destination."; + case RTWDEST: return "Message routing warning, destination unreachable."; + case SYN: return "Syntax error"; + case SYN102: return "Data type error"; + case SYN105: return "Required element missing"; + case SYN100: return "Required association missing"; + case SYN101: return "Required attribute missing"; + case SYN114: return "Insufficient repetitions"; + case SYN106: return "Terminology error"; + case SYN103: return "Value not found in code system"; + case SYN104: return "Invalid code system in CNE"; + case SYN107: return "Deprecated code"; + case SYN108: return "Number of repetitions exceeds limit"; + case SYN110: return "Number of association repetitions exceeds limit"; + case SYN112: return "Number of attribute repetitions exceeds limit"; + case SYN109: return "Mandatory element with null value"; + case SYN111: return "Value does not match fixed value"; + case SYN113: return "Formal constraint violation"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCodeEnumFactory.java new file mode 100644 index 00000000000..ad77812a644 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailCodeEnumFactory.java @@ -0,0 +1,163 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AcknowledgementDetailCodeEnumFactory implements EnumFactory { + + public V3AcknowledgementDetailCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AcknowledgementDetailNotSupportedCode".equals(codeString)) + return V3AcknowledgementDetailCode._ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE; + if ("NS200".equals(codeString)) + return V3AcknowledgementDetailCode.NS200; + if ("NS202".equals(codeString)) + return V3AcknowledgementDetailCode.NS202; + if ("NS203".equals(codeString)) + return V3AcknowledgementDetailCode.NS203; + if ("NS250".equals(codeString)) + return V3AcknowledgementDetailCode.NS250; + if ("NS260".equals(codeString)) + return V3AcknowledgementDetailCode.NS260; + if ("NS261".equals(codeString)) + return V3AcknowledgementDetailCode.NS261; + if ("INTERR".equals(codeString)) + return V3AcknowledgementDetailCode.INTERR; + if ("NOSTORE".equals(codeString)) + return V3AcknowledgementDetailCode.NOSTORE; + if ("RTEDEST".equals(codeString)) + return V3AcknowledgementDetailCode.RTEDEST; + if ("RTUDEST".equals(codeString)) + return V3AcknowledgementDetailCode.RTUDEST; + if ("RTWDEST".equals(codeString)) + return V3AcknowledgementDetailCode.RTWDEST; + if ("SYN".equals(codeString)) + return V3AcknowledgementDetailCode.SYN; + if ("SYN102".equals(codeString)) + return V3AcknowledgementDetailCode.SYN102; + if ("SYN105".equals(codeString)) + return V3AcknowledgementDetailCode.SYN105; + if ("SYN100".equals(codeString)) + return V3AcknowledgementDetailCode.SYN100; + if ("SYN101".equals(codeString)) + return V3AcknowledgementDetailCode.SYN101; + if ("SYN114".equals(codeString)) + return V3AcknowledgementDetailCode.SYN114; + if ("SYN106".equals(codeString)) + return V3AcknowledgementDetailCode.SYN106; + if ("SYN103".equals(codeString)) + return V3AcknowledgementDetailCode.SYN103; + if ("SYN104".equals(codeString)) + return V3AcknowledgementDetailCode.SYN104; + if ("SYN107".equals(codeString)) + return V3AcknowledgementDetailCode.SYN107; + if ("SYN108".equals(codeString)) + return V3AcknowledgementDetailCode.SYN108; + if ("SYN110".equals(codeString)) + return V3AcknowledgementDetailCode.SYN110; + if ("SYN112".equals(codeString)) + return V3AcknowledgementDetailCode.SYN112; + if ("SYN109".equals(codeString)) + return V3AcknowledgementDetailCode.SYN109; + if ("SYN111".equals(codeString)) + return V3AcknowledgementDetailCode.SYN111; + if ("SYN113".equals(codeString)) + return V3AcknowledgementDetailCode.SYN113; + throw new IllegalArgumentException("Unknown V3AcknowledgementDetailCode code '"+codeString+"'"); + } + + public String toCode(V3AcknowledgementDetailCode code) { + if (code == V3AcknowledgementDetailCode._ACKNOWLEDGEMENTDETAILNOTSUPPORTEDCODE) + return "_AcknowledgementDetailNotSupportedCode"; + if (code == V3AcknowledgementDetailCode.NS200) + return "NS200"; + if (code == V3AcknowledgementDetailCode.NS202) + return "NS202"; + if (code == V3AcknowledgementDetailCode.NS203) + return "NS203"; + if (code == V3AcknowledgementDetailCode.NS250) + return "NS250"; + if (code == V3AcknowledgementDetailCode.NS260) + return "NS260"; + if (code == V3AcknowledgementDetailCode.NS261) + return "NS261"; + if (code == V3AcknowledgementDetailCode.INTERR) + return "INTERR"; + if (code == V3AcknowledgementDetailCode.NOSTORE) + return "NOSTORE"; + if (code == V3AcknowledgementDetailCode.RTEDEST) + return "RTEDEST"; + if (code == V3AcknowledgementDetailCode.RTUDEST) + return "RTUDEST"; + if (code == V3AcknowledgementDetailCode.RTWDEST) + return "RTWDEST"; + if (code == V3AcknowledgementDetailCode.SYN) + return "SYN"; + if (code == V3AcknowledgementDetailCode.SYN102) + return "SYN102"; + if (code == V3AcknowledgementDetailCode.SYN105) + return "SYN105"; + if (code == V3AcknowledgementDetailCode.SYN100) + return "SYN100"; + if (code == V3AcknowledgementDetailCode.SYN101) + return "SYN101"; + if (code == V3AcknowledgementDetailCode.SYN114) + return "SYN114"; + if (code == V3AcknowledgementDetailCode.SYN106) + return "SYN106"; + if (code == V3AcknowledgementDetailCode.SYN103) + return "SYN103"; + if (code == V3AcknowledgementDetailCode.SYN104) + return "SYN104"; + if (code == V3AcknowledgementDetailCode.SYN107) + return "SYN107"; + if (code == V3AcknowledgementDetailCode.SYN108) + return "SYN108"; + if (code == V3AcknowledgementDetailCode.SYN110) + return "SYN110"; + if (code == V3AcknowledgementDetailCode.SYN112) + return "SYN112"; + if (code == V3AcknowledgementDetailCode.SYN109) + return "SYN109"; + if (code == V3AcknowledgementDetailCode.SYN111) + return "SYN111"; + if (code == V3AcknowledgementDetailCode.SYN113) + return "SYN113"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailType.java new file mode 100644 index 00000000000..11c492834f9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailType.java @@ -0,0 +1,106 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AcknowledgementDetailType { + + /** + * Definition:An issue which has prevented, or will prevent (unless a management is provided for the issue by the sender), the successful processing of an interaction. Response interactions which include an issue which is an Error are a 'rejection', indicating that the request was not successfully processed. + + + Example:Unable to find specified patient. + */ + E, + /** + * Definition: The message relates to an issue which has no bearing on the successful processing of the request. Information issues cannot be overridden by specifying a management. + + + Example: A Patient's coverage will expire in 5 days. + */ + I, + /** + * Definition: The message relates to an issue which cannot prevent the successful processing of a request, but which could result in the processing not having the ideal or intended effect. Managing a warning issue is not required for successful processing, but will suppress the warning from being raised. + + + Example: + + + Unexpected additional repetitions of phone number have been ignored. + */ + W, + /** + * added to help the parsers + */ + NULL; + public static V3AcknowledgementDetailType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return E; + if ("I".equals(codeString)) + return I; + if ("W".equals(codeString)) + return W; + throw new Exception("Unknown V3AcknowledgementDetailType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case E: return "E"; + case I: return "I"; + case W: return "W"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AcknowledgementDetailType"; + } + public String getDefinition() { + switch (this) { + case E: return "Definition:An issue which has prevented, or will prevent (unless a management is provided for the issue by the sender), the successful processing of an interaction. Response interactions which include an issue which is an Error are a 'rejection', indicating that the request was not successfully processed. \r\n\n \n Example:Unable to find specified patient."; + case I: return "Definition: The message relates to an issue which has no bearing on the successful processing of the request. Information issues cannot be overridden by specifying a management.\r\n\n \n Example: A Patient's coverage will expire in 5 days."; + case W: return "Definition: The message relates to an issue which cannot prevent the successful processing of a request, but which could result in the processing not having the ideal or intended effect. Managing a warning issue is not required for successful processing, but will suppress the warning from being raised. \r\n\n \n Example:\n \r\n\n Unexpected additional repetitions of phone number have been ignored."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case E: return "Error"; + case I: return "Information"; + case W: return "Warning"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailTypeEnumFactory.java new file mode 100644 index 00000000000..d8a482cb97b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementDetailTypeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AcknowledgementDetailTypeEnumFactory implements EnumFactory { + + public V3AcknowledgementDetailType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return V3AcknowledgementDetailType.E; + if ("I".equals(codeString)) + return V3AcknowledgementDetailType.I; + if ("W".equals(codeString)) + return V3AcknowledgementDetailType.W; + throw new IllegalArgumentException("Unknown V3AcknowledgementDetailType code '"+codeString+"'"); + } + + public String toCode(V3AcknowledgementDetailType code) { + if (code == V3AcknowledgementDetailType.E) + return "E"; + if (code == V3AcknowledgementDetailType.I) + return "I"; + if (code == V3AcknowledgementDetailType.W) + return "W"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementType.java new file mode 100644 index 00000000000..157322e3296 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementType.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AcknowledgementType { + + /** + * Receiving application successfully processed message. + */ + AA, + /** + * Receiving application found error in processing message. Sending error response with additional error detail information. + */ + AE, + /** + * Receiving application failed to process message for reason unrelated to content or format. Original message sender must decide on whether to automatically send message again. + */ + AR, + /** + * Receiving message handling service accepts responsibility for passing message onto receiving application. + */ + CA, + /** + * Receiving message handling service cannot accept message for any other reason (e.g. message sequence number, etc.). + */ + CE, + /** + * Receiving message handling service rejects message if interaction identifier, version or processing mode is incompatible with known receiving application role information. + */ + CR, + /** + * added to help the parsers + */ + NULL; + public static V3AcknowledgementType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AA".equals(codeString)) + return AA; + if ("AE".equals(codeString)) + return AE; + if ("AR".equals(codeString)) + return AR; + if ("CA".equals(codeString)) + return CA; + if ("CE".equals(codeString)) + return CE; + if ("CR".equals(codeString)) + return CR; + throw new Exception("Unknown V3AcknowledgementType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AA: return "AA"; + case AE: return "AE"; + case AR: return "AR"; + case CA: return "CA"; + case CE: return "CE"; + case CR: return "CR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AcknowledgementType"; + } + public String getDefinition() { + switch (this) { + case AA: return "Receiving application successfully processed message."; + case AE: return "Receiving application found error in processing message. Sending error response with additional error detail information."; + case AR: return "Receiving application failed to process message for reason unrelated to content or format. Original message sender must decide on whether to automatically send message again."; + case CA: return "Receiving message handling service accepts responsibility for passing message onto receiving application."; + case CE: return "Receiving message handling service cannot accept message for any other reason (e.g. message sequence number, etc.)."; + case CR: return "Receiving message handling service rejects message if interaction identifier, version or processing mode is incompatible with known receiving application role information."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AA: return "Application Acknowledgement Accept"; + case AE: return "Application Acknowledgement Error"; + case AR: return "Application Acknowledgement Reject"; + case CA: return "Accept Acknowledgement Commit Accept"; + case CE: return "Accept Acknowledgement Commit Error"; + case CR: return "Accept Acknowledgement Commit Reject"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementTypeEnumFactory.java new file mode 100644 index 00000000000..e44071a2ae0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AcknowledgementTypeEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AcknowledgementTypeEnumFactory implements EnumFactory { + + public V3AcknowledgementType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AA".equals(codeString)) + return V3AcknowledgementType.AA; + if ("AE".equals(codeString)) + return V3AcknowledgementType.AE; + if ("AR".equals(codeString)) + return V3AcknowledgementType.AR; + if ("CA".equals(codeString)) + return V3AcknowledgementType.CA; + if ("CE".equals(codeString)) + return V3AcknowledgementType.CE; + if ("CR".equals(codeString)) + return V3AcknowledgementType.CR; + throw new IllegalArgumentException("Unknown V3AcknowledgementType code '"+codeString+"'"); + } + + public String toCode(V3AcknowledgementType code) { + if (code == V3AcknowledgementType.AA) + return "AA"; + if (code == V3AcknowledgementType.AE) + return "AE"; + if (code == V3AcknowledgementType.AR) + return "AR"; + if (code == V3AcknowledgementType.CA) + return "CA"; + if (code == V3AcknowledgementType.CE) + return "CE"; + if (code == V3AcknowledgementType.CR) + return "CR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClass.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClass.java new file mode 100644 index 00000000000..145a5a4e080 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClass.java @@ -0,0 +1,1558 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActClass { + + /** + * A record of something that is being done, has been done, can be done, or is intended or requested to be done. + + + Examples:The kinds of acts that are common in health care are (1) a clinical observation, (2) an assessment of health condition (such as problems and diagnoses), (3) healthcare goals, (4) treatment services (such as medication, surgery, physical and psychological therapy), (5) assisting, monitoring or attending, (6) training and education services to patients and their next of kin, (7) and notary services (such as advanced directives or living will), (8) editing and maintaining documents, and many others. + + + Discussion and Rationale: Acts are the pivot of the RIM; all domain information and processes are represented primarily in Acts. Any profession or business, including healthcare, is primarily constituted of intentional and occasionally non-intentional actions, performed and recorded by responsible actors. An Act-instance is a record of such an action. + + Acts connect to Entities in their Roles through Participations and connect to other Acts through ActRelationships. Participations are the authors, performers and other responsible parties as well as subjects and beneficiaries (which includes tools and material used in the performance of the act, which are also subjects). The moodCode distinguishes between Acts that are meant as factual records, vs. records of intended or ordered services, and the other modalities in which act can appear. + + One of the Participations that all acts have (at least implicitly) is a primary author, who is responsible of the Act and who "owns" the act. Responsibility for the act means responsibility for what is being stated in the Act and as what it is stated. Ownership of the act is assumed in the sense of who may operationally modify the same act. Ownership and responsibility of the Act is not the same as ownership or responsibility of what the Act-object refers to in the real world. The same real world activity can be described by two people, each being the author of their Act, describing the same real world activity. Yet one can be a witness while the other can be a principal performer. The performer has responsibilities for the physical actions; the witness only has responsibility for making a true statement to the best of his or her ability. The two Act-instances may even disagree, but because each is properly attributed to its author, such disagreements can exist side by side and left to arbitration by a recipient of these Act-instances. + + In this sense, an Act-instance represents a "statement" according to Rector and Nowlan (1991) [Foundations for an electronic medical record. Methods Inf Med. 30.] Rector and Nowlan have emphasized the importance of understanding the medical record not as a collection of facts, but "a faithful record of what clinicians have heard, seen, thought, and done." Rector and Nowlan go on saying that "the other requirements for a medical record, e.g., that it be attributable and permanent, follow naturally from this view." Indeed the Act class is this attributable statement, and the rules of updating acts (discussed in the state-transition model, see Act.statusCode) versus generating new Act-instances are designed according to this principle of permanent attributable statements. + + Rector and Nolan focus on the electronic medical record as a collection of statements, while attributed statements, these are still mostly factual statements. However, the Act class goes beyond this limitation to attributed factual statements, representing what is known as "speech-acts" in linguistics and philosophy. The notion of speech-act includes that there is pragmatic meaning in language utterances, aside from just factual statements; and that these utterances interact with the real world to change the state of affairs, even directly cause physical activities to happen. For example, an order is a speech act that (provided it is issued adequately) will cause the ordered action to be physically performed. The speech act theory has culminated in the seminal work by Austin (1962) [How to do things with words. Oxford University Press]. + + An activity in the real world may progress from defined, through planned and ordered to executed, which is represented as the mood of the Act. Even though one might think of a single activity as progressing from planned to executed, this progression is reflected by multiple Act-instances, each having one and only one mood that will not change along the Act-instance life cycle. This is because the attribution and content of speech acts along this progression of an activity may be different, and it is often critical that a permanent and faithful record be maintained of this progression. The specification of orders or promises or plans must not be overwritten by the specification of what was actually done, so as to allow comparing actions with their earlier specifications. Act-instances that describe this progression of the same real world activity are linked through the ActRelationships (of the relationship category "sequel"). + + Act as statements or speech-acts are the only representation of real world facts or processes in the HL7 RIM. The truth about the real world is constructed through a combination (and arbitration) of such attributed statements only, and there is no class in the RIM whose objects represent "objective state of affairs" or "real processes" independent from attributed statements. As such, there is no distinction between an activity and its documentation. Every Act includes both to varying degrees. For example, a factual statement made about recent (but past) activities, authored (and signed) by the performer of such activities, is commonly known as a procedure report or original documentation (e.g., surgical procedure report, clinic note etc.). Conversely, a status update on an activity that is presently in progress, authored by the performer (or a close observer) is considered to capture that activity (and is later superceded by a full procedure report). However, both status update and procedure report are acts of the same kind, only distinguished by mood and state (see statusCode) and completeness of the information. + */ + ACT, + /** + * Used to group a set of acts sharing a common context. Organizer structures can nest within other context structures - such as where a document is contained within a folder, or a folder is contained within an EHR extract. + */ + _ACTCLASSRECORDORGANIZER, + /** + * A context representing a grouped commitment of information to the EHR. It is considered the unit of modification of the record, the unit of transmission in record extracts, and the unit of attestation by authorizing clinicians. + + A composition represents part of a patient record originating from a single interaction between an authenticator and the record. + + Unless otherwise stated all statements within a composition have the same authenticator, apply to the same patient and were recorded in a single session of use of a single application. + + A composition contains organizers and entries. + */ + COMPOSITION, + /** + * The notion of a document comes particularly from the paper world, where it corresponds to the contents recorded on discrete pieces of paper. In the electronic world, a document is a kind of composition that bears resemblance to their paper world counter-parts. Documents typically are meant to be human-readable. + + HL7's notion of document differs from that described in the W3C XML Recommendation, in which a document refers specifically to the contents that fall between the root element's start-tag and end-tag. Not all XML documents are HL7 documents. + */ + DOC, + /** + * A clinical document is a documentation of clinical observations and services, with the following characteristics: + + + + Persistence - A clinical document continues to exist in an unaltered state, for a time period defined by local and regulatory requirements; + + + + Stewardship - A clinical document is maintained by a person or organization entrusted with its care; + + + + Potential for authentication - A clinical document is an assemblage of information that is intended to be legally authenticated; + + + + Wholeness - Authentication of a clinical document applies to the whole and does not apply to portions of the document without the full context of the document; + + + + Human readability - A clinical document is human readable. + */ + DOCCLIN, + /** + * A clinical document that conforms to Level One of the HL7 Clinical Document Architecture (CDA) + */ + CDALVLONE, + /** + * Description: Container of clinical statements. Navigational. No semantic content. Knowledge of the section code is not required to interpret contained observations. Represents a heading in a heading structure, or "container tree". + + The record entries relating to a single clinical session are usually grouped under headings that represent phases of the encounter, or assist with layout and navigation. Clinical headings usually reflect the clinical workflow during a care session, and might also reflect the main author's reasoning processes. Much research has demonstrated that headings are used differently by different professional groups and specialties, and that headings are not used consistently enough to support safe automatic processing of the E H R. + */ + CONTAINER, + /** + * A group of entries within a composition or topic that have a common characteristic - for example, Examination, Diagnosis, Management OR Subjective, Objective, Analysis, Plan. + + The distinction from Topic relates to value sets. For Category there is a bounded list of things like "Examination", "Diagnosis" or SOAP categories. For Topic the list is wide open to any clinical condition or reason for a part of an encounter. + + A CATEGORY MAY CONTAIN ENTRIES. + */ + CATEGORY, + /** + * A context that distinguishes the body of a document from the document header. This is seen, for instance, in HTML documents, which have discrete and elements. + */ + DOCBODY, + /** + * A context that subdivides the body of a document. Document sections are typically used for human navigation, to give a reader a clue as to the expected content. Document sections are used to organize and provide consistency to the contents of a document body. Document sections can contain document sections and can contain entries. + */ + DOCSECT, + /** + * A group of entries within a composition that are related to a common clinical theme - such as a specific disorder or problem, prevention, screening and provision of contraceptive services. + + A topic may contain categories and entries. + */ + TOPIC, + /** + * This context represents the part of a patient record conveyed in a single communication. It is drawn from a providing system for the purposes of communication to a requesting process (which might be another repository, a client application or a middleware service such as an electronic guideline engine), and supporting the faithful inclusion of the communicated data in the receiving system. + + An extract may be the entirety of the patient record as held by the sender or it may be a part of that record (e.g. changes since a specified date). + + An extract contains folders or compositions. + + An extract cannot contain another extract. + */ + EXTRACT, + /** + * A context that comprises all compositions. The EHR is an extract that includes the entire chart. + + + NOTE: In an exchange scenario, an EHR is a specialization of an extract. + */ + EHR, + /** + * A context representing the high-level organization of an extract e.g. to group parts of the record by episode, care team, clinical specialty, clinical condition, or source application. Internationally, this kind of organizing structure is used variably: in some centers and systems the folder is treated as an informal compartmentalization of the overall health record; in others it might represent a significant legal portion of the EHR relating to the originating enterprise or team. + + A folder contains compositions. + + Folders may be nested within folders. + */ + FOLDER, + /** + * Definition: An ACT that organizes a set of component acts into a semantic grouping that share a particular context such as timeframe, patient, etc. + + + UsageNotes: The focus in a GROUPER act is the grouping of the contained acts. For example "a request to group" (RQO), "a type of grouping that is allowed to occur" (DEF), etc. + + Unlike WorkingList, which represents a dynamic, shared, continuously updated collection to provide a "view" of a set of objects, GROUPER collections tend to be static and simply indicate a shared set of semantics. Note that sharing of semantics can be achieved using ACT as well. However, with GROUPER, the sole semantic is of grouping. + */ + GROUPER, + /** + * Description:An ACT that organizes a set of component acts into a semantic grouping that have a shared subject. The subject may be either a subject participation (SBJ), subject act relationship (SUBJ), or child participation/act relationship types. + + + Discussion: The focus in a CLUSTER act is the grouping of the contained acts. For example "a request to cluster" (RQO), "a type of cluster that is allowed to occur" (DEF), etc. + + + Examples: + + + + + Radiologic investigations that might include administration of a dye, followed by radiographic observations; + + + + "Isolate cluster" which includes all testing and specimen processing performed on a specific isolate; + + + + a set of actions to perform at a particular stage in a clinical trial. + */ + CLUSTER, + /** + * An accommodation is a service provided for a Person or other LivingSubject in which a place is provided for the subject to reside for a period of time. Commonly used to track the provision of ward, private and semi-private accommodations for a patient. + */ + ACCM, + /** + * A financial account established to track the net result of financial acts. + */ + ACCT, + /** + * A unit of work, a grouper of work items as defined by the system performing that work. Typically some laboratory order fulfillers communicate references to accessions in their communications regarding laboratory orders. Often one or more specimens are related to an accession such that in some environments the accession number is taken as an identifier for a specimen (group). + */ + ACSN, + /** + * A transformation process where a requested invoice is transformed into an agreed invoice. Represents the adjudication processing of an invoice (claim). Adjudication results can be adjudicated as submitted, with adjustments or refused. + + Adjudication results comprise 2 components: the adjudication processing results and a restated (or adjudicated) invoice or claim + */ + ADJUD, + /** + * An act representing a system action such as the change of state of another act or the initiation of a query. All control acts represent trigger events in the HL7 context. ControlActs may occur in different moods. + */ + CACT, + /** + * Sender asks addressee to do something depending on the focal Act of the payload. An example is "fulfill this order". Addressee has responsibilities to either reject the message or to act on it in an appropriate way (specified by the specific receiver responsibilities for the interaction). + */ + ACTN, + /** + * Sender sends payload to addressee as information. Addressee does not have responsibilities beyond serving addressee's own interest (i.e., read and memorize if you see fit). This is equivalent to an FYI on a memo. + */ + INFO, + /** + * Description: Sender transmits a status change pertaining to the focal act of the payload. This status of the focal act is the final state of the state transition. This can be either a request or an event, according to the mood of the control act. + */ + STC, + /** + * An agreement of obligation between two or more parties that is subject to contractual law and enforcement. + */ + CNTRCT, + /** + * A contract whose value is measured in monetary terms. + */ + FCNTRCT, + /** + * When used in the EVN mood, this concept means with respect to a covered party: + + + + A health care insurance policy or plan that is contractually binding between two or more parties; or + + + + A health care program, usually administered by government entities, that provides coverage to persons determined eligible under the terms of the program. + + + + + + When used in the definition (DEF) mood, COV means potential coverage for a patient who may or may not be a covered party. + + + + The concept's meaning is fully specified by the choice of ActCoverageTypeCode (abstract) ActProgramCode or ActInsurancePolicyCode. + */ + COV, + /** + * Definition: A worry that tends to persist over time and has as its subject a state or process. The subject of the worry has the potential to require intervention or management. + + + Examples: an observation result, procedure, substance administration, equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, allergy, and acute or chronic illness. + */ + CONC, + /** + * A public health case is a Concern about an observation or event that has a specific significance for public health. The creation of a PublicHealthCase initiates the tracking of the object of concern. The decision to track is related to but somewhat independent of the underlying event or observation. + + + UsageNotes: Typically a Public Health Case involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health. + + A public health case definition (Act.moodCode = "definition") includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case. + */ + HCASE, + /** + * An Outbreak is a concern resulting from a series of public health cases. + + + UsageNotes: The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak and its ending date is the last date of onset among the cases assigned to the outbreak. The effectiveTime attribute is used to convey the relevant dates for the case. An outbreak definition (Act.moodCode = "definition" includes the criteria for the number, types and occurrence pattern of cases necessary to declare an outbreak and to judge the severity of an outbreak. + */ + OUTBR, + /** + * The Consent class represents informed consents and all similar medico-legal transactions between the patient (or his legal guardian) and the provider. Examples are informed consent for surgical procedures, informed consent for clinical trials, advanced beneficiary notice, against medical advice decline from service, release of information agreement, etc. + + The details of consents vary. Often an institution has a number of different consent forms for various purposes, including reminding the physician about the topics to mention. Such forms also include patient education material. In electronic medical record communication, consents thus are information-generating acts on their own and need to be managed similar to medical activities. Thus, Consent is modeled as a special class of Act. + + The "signatures" to the consent document are represented electronically through Participation instances to the consent object. Typically an informed consent has Participation.typeCode of "performer", the healthcare provider informing the patient, and "consenter", the patient or legal guardian. Some consent may associate a witness or a notary public (e.g., living wills, advanced directives). In consents where a healthcare provider is not required (e.g. living will), the performer may be the patient himself or a notary public. + + Some consent has a minimum required delay between the consent and the service, so as to allow the patient to rethink his decisions. This minimum delay can be expressed in the act definition by the ActRelationship.pauseQuantity attribute that delays the service until the pause time has elapsed after the consent has been completed. + */ + CONS, + /** + * An Act where a container is registered either via an automated sensor, such as a barcode reader, or by manual receipt + */ + CONTREG, + /** + * An identified point during a clinical trial at which one or more actions are scheduled to be performed (definition mood), or are actually performed (event mood). The actions may or may not involve an encounter between the subject and a healthcare professional. + */ + CTTEVENT, + /** + * An action taken with respect to a subject Entity by a regulatory or authoritative body with supervisory capacity over that entity. The action is taken in response to behavior by the subject Entity that body finds to be undesirable. + + Suspension, license restrictions, monetary fine, letter of reprimand, mandated training, mandated supervision, etc.Examples: + */ + DISPACT, + /** + * An interaction between entities that provides opportunity for transmission of a physical, chemical, or biological agent from an exposure source entity to an exposure target entity. + + + Examples: The following examples are provided to indicate what interactions are considered exposures rather than other types of Acts: + + + + A patient accidentally receives three times the recommended dose of their medication due to a dosing error. + + + + This is a substance administration. Public health and/or safety authorities may also be interested in documenting this with an associated exposure. + + + + + + A patient accidentally is dispensed an incorrect medicine (e.g., clomiphene instead of clomipramine). They have taken several doses before the mistake is detected. They are therefore "exposed" to a medicine that there was no therapeutic indication for them to receive. + + + + There are several substance administrations in this example. Public health and/or safety authorities may also be interested in documenting this with associated exposures. + + + + + + In a busy medical ward, a patient is receiving chemotherapy for a lymphoma. Unfortunately, the IV infusion bag containing the medicine splits, spraying cytotoxic medication over the patient being treated and the patient in the adjacent bed. + + + + There are three substance administrations in this example. The first is the intended one (IV infusion) with its associated (implicit) exposure. There is an incident with an associated substance administration to the same patient involving the medication sprayed over the patient as well as an associated exposure. Additionally, the incident includes a substance administration involving the spraying of medication on the adjacent patient, also with an associated exposure. + + + + + + A patient who is a refugee from a war-torn African nation arrives in a busy inner city A&E department suffering from a cough with bloody sputum. Not understanding the registration and triage process, they sit in the waiting room for several hours before it is noticed that they have not booked in. As soon as they are being processed, it is suspected that they are suffering from TB. Vulnerable (immunosuppressed) patients who were sharing the waiting room with this patient may have been exposed to the tubercule bacillus, and must be traced for investigation. + + + + This is an exposure (or possibly multiple exposures) in the waiting room involving the refugee and everyone else in the waiting room during the period. There might also be a number of known or presumed substance administrations (coughing) via several possible routes. The substance administrations are only hypotheses until confirmed by further testing. + + + + + + A patient who has received an elective total hip replacement procedure suffers a prolonged stay in hospital, due to contracting an MRSA infection in the surgical wound site after the surgery. + + + + This is an exposure to MRSA. Although there was some sort of substance administration, it's possible the exact mechanism for introduction of the MRSA into the wound will not be identified. + + + + + + Routine maintenance of the X-ray machines at a local hospital reveals a serious breach of the shielding on one of the machines. Patients who have undergone investigations using that machine in the last month are likely to have been exposed to significantly higher doses of X-rays than was intended, and must be tracked for possible adverse effects. + + + + There has been an exposure of each patient who used the machine in the past 30 days. Some patients may have had substance administrations. + + + + + + A new member of staff is employed in the laundry processing room of a small cottage hospital, and a misreading of the instructions for adding detergents results in fifty times the usual concentration of cleaning materials being added to a batch of hospital bedding. As a result, several patients have been exposed to very high levels of detergents still present in the "clean" bedding, and have experienced dermatological reactions to this. + + + + There has been an incident with multiple exposures to several patients. Although there are substance administrations involving the application of the detergent to the skin of the patients, it is expected that the substance administrations would not be directly documented. + + + + + + Seven patients who are residents in a health care facility for the elderly mentally ill have developed respiratory problems. After several months of various tests having been performed and various medications prescribed to these patients, the problem is traced to their being "sensitive" to a new fungicide used in the wall plaster of the ward where these patients reside. + + + + The patients have been continuously exposed to the fungicide. Although there have been continuous substance administrations (via breathing) this would not normally be documented as a substance administration. + + + + + + A patient with osteoarthritis of the knees is treated symptomatically using analgesia, paracetamol (acetaminophen) 1g up to four times a day for pain relief. His GP does not realize that the patient has, 20 years previously (while at college) had severe alcohol addiction problems, and now, although this is completely under control, his liver has suffered significantly, leaving him more sensitive to hepatic toxicity from paracetamol use. Later that year, the patient returns with a noticeable level of jaundice. Paracetamol is immediately withdrawn and alternative solutions for the knee pain are sought. The jaundice gradually subsides with conservative management, but referral to the gastroenterologist is required for advice and monitoring. + + + + There is a substance administration with an associated exposure. The exposure component is based on the relative toxic level of the substance to a patient with a compromised liver function. + + + + + + A patient goes to their GP complaining of abdominal pain, having been discharged from the local hospital ten days' previously after an emergency appendectomy. The GP can find nothing particularly amiss, and presumes it is post operative surgical pain that will resolve. The patient returns a fortnight later, when the GP prescribes further analgesia, but does decide to request an outpatient surgical follow-up appointment. At this post-surgical outpatient review, the registrar decides to order an ultrasound, which, when performed three weeks later, shows a small faint inexplicable mass. A laparoscopy is then performed, as a day case procedure, and a piece of a surgical swab is removed from the patient's abdominal cavity. Thankfully, a full recovery then takes place. + + + + This is a procedural sequelae. There may be an Incident recorded for this also. + + + + + + A patient is slightly late for a regular pacemaker battery check in the Cardiology department of the local hospital. They are hurrying down the second floor corridor. A sudden summer squall has recently passed over the area, and rain has come in through an open corridor window leaving a small puddle on the corridor floor. In their haste, the patient slips in the puddle and falls so badly that they have to be taken to the A&E department, where it is discovered on investigation they have slightly torn the cruciate ligament in their left knee. + + + + This is not an exposure. There has been an incident. + + + + + + + Usage Notes: This class deals only with opportunity and not the outcome of the exposure; i.e. not all exposed parties will necessarily experience actual harm or benefit. + + Exposure differs from Substance Administration by the absence of the participation of a performer in the act. + + The following participations SHOULD be used with the following participations to distinguish the specific entities: + + + + The exposed entity participates via the "exposure target" (EXPTRGT) participation. + + + + An entity that has carried the agent transmitted in the exposure participates via the "exposure source" (EXSRC) participation. For example: + + + + a person or animal who carried an infectious disease and interacts (EXSRC) with another person or animal (EXPTRGT) transmitting the disease agent; + + + + a place or other environment (EXSRC) and a person or animal (EXPTRGT) who is exposed in the presence of this environment. + + + + + + When it is unknown whether a participating entity is the source of the agent (EXSRC) or the target of the transmission (EXPTRGT), the "exposure participant" (EXPART) is used. + + + + The physical (including energy), chemical or biological substance which is participating in the exposure uses the "exposure agent" (EXPAGNT) participation. There are at least three scenarios: + + + + the player of the Role that participates as EXPAGNT is the chemical or biological substance mixed or carried by the scoper-entity of the Role (e.g., ingredient role); or + + + + the player of the Role that participates as EXPAGNT is a mixture known to contain the chemical, radiological or biological substance of interest; or + + + + the player of the Role that participates as a EXPAGNT is known to carry the agent (i.e., the player is a fomite, vector, etc.). + + + + + + The Exposure.statusCode attribute should be interpreted as the state of the Exposure business object (e.g., active, aborted, completed) and not the clinical status of the exposure (e.g., probable, confirmed). The clinical status of the exposure should be associated with the exposure via a subject observation. + + + Design Comment: The usage notes require a clear criterion for determining whether an act is an exposure or substance administration-deleterious potential, uncertainty of actual transmission, or otherwise. SBADM states that the criterion is the presence of a performer-but there are examples above that call this criterion into question (e.g., the first one, concerning a dosing error). + */ + EXPOS, + /** + * Description: + + + An acquisition exposure act describes the proximity (location and time) through which the participating entity was potentially exposed to a physical (including energy), chemical or biological agent from another entity. The acquisition exposure act is used in conjunction with transmission exposure acts as part of an analysis technique for contact tracing. Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion. + + + Constraints: The Acquisition Exposure inherits the participation constraints that apply to Exposure with the following exception. The EXPSRC (exposure source) participation must never be associated with the Transmission Exposure either directly or via context conduction. + */ + AEXPOS, + /** + * Description: + + + A transmission exposure act describes the proximity (time and location) over which the participating source entity was capable of transmitting a physical (including energy), chemical or biological substance agent to another entity. The transmission exposure act is used in conjunction with acquisition exposure acts as part of an analysis technique for contact tracing. Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion. + + + Constraints: The Transmission Exposure inherits the participation constraints that apply to Exposure with the following exception. The EXPTRGT (exposure target) participation must never be associated with the Transmission Exposure either directly or via context conduction. + */ + TEXPOS, + /** + * An event that occurred outside of the control of one or more of the parties involved. Includes the concept of an accident. + */ + INC, + /** + * The act of transmitting information and understanding about a topic to a subject where the participation association must be SBJ. + + + Discussion: This act may be used to request that a patient or provider be informed about an Act, or to indicate that a person was informed about a particular act. + */ + INFRM, + /** + * Represents concepts related to invoice processing in health care + */ + INVE, + /** + * Working list collects a dynamic list of individual instances of Act via ActRelationship which reflects the need of an individual worker, team of workers, or an organization to manage lists of acts for many different clinical and administrative reasons. Examples of working lists include problem lists, goal lists, allergy lists, and to-do lists. + */ + LIST, + /** + * An officially or unofficially instituted program to track acts of a particular type or categorization. + */ + MPROT, + /** + * Description:An act that is intended to result in new information about a subject. The main difference between Observations and other Acts is that Observations have a value attribute. The code attribute of Observation and the value attribute of Observation must be considered in combination to determine the semantics of the observation. + + + Discussion: + + + Structurally, many observations are name-value-pairs, where the Observation.code (inherited from Act) is the name and the Observation.value is the value of the property. Such a construct is also known as a variable (a named feature that can assume a value) hence, the Observation class is always used to hold generic name-value-pairs or variables, even though the variable valuation may not be the result of an elaborate observation method. It may be a simple answer to a question or it may be an assertion or setting of a parameter. + + As with all Act statements, Observation statements describe what was done, and in the case of Observations, this includes a description of what was actually observed (results or answers); and those results or answers are part of the observation and not split off into other objects. + + The method of action is asserted by the Observation classCode or its subclasses at the least granular level, by the Observation.code attribute value at the medium level of granularity, and by the attribute value of observation.methodCode when a finer level of granularity is required. The method in whole or in part may also appear in the attribute value of Observation.value when using coded data types to express the value of the attribute. Relevant aspects of methodology may also be restated in value when the results themselves imply or state a methodology. + + An observation may consist of component observations each having their own Observation.code and Observation.value. In this case, the composite observation may not have an Observation.value for itself. For instance, a white blood cell count consists of the sub-observations for the counts of the various granulocytes, lymphocytes and other normal or abnormal blood cells (e.g., blasts). The overall white blood cell count Observation itself may therefore not have a value by itself (even though it could have one, e.g., the sum total of white blood cells). Thus, as long as an Act is essentially an Act of recognizing and noting information about a subject, it is an Observation, regardless of whether it has a simple value by itself or whether it has sub-observations. + + Even though observations are professional acts (see Act) and as such are intentional actions, this does not require that every possible outcome of an observation be pondered in advance of it being actually made. For instance, differential white blood cell counts (WBC) rarely show blasts, but if they do, this is part of the WBC observation even though blasts might not be predefined in the structure of a normal WBC. + + Clinical documents commonly have Subjective and Objective findings, both of which are kinds of Observations. In addition, clinical documents commonly contain Assessments, which are also kinds of Observations. Thus, the establishment of a diagnosis is an Observation. + + + Examples: + + + + + Recording the results of a Family History Assessment + + + + Laboratory test and associated result + + + + Physical exam test and associated result + + + + Device temperature + + + + Soil lead level + */ + OBS, + /** + * Regions of Interest (ROI) within a subject Act. Primarily used for making secondary observations on a subset of a subject observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type "subject" (SUBJ), which must always be present. + */ + _ACTCLASSROI, + /** + * A Region of Interest (ROI) specified for a multidimensional observation, such as an Observation Series (OBSSER). The ROI is specified using a set of observation criteria, each delineating the boundary of the region in one of the dimensions in the multidimensional observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type subject (SUBJ), which must always be present. Each of the boundary criteria observations is connected with the ROI using ActRelationships of type "has component" (COMP). In each boundary criterion, the Act.code names the dimension and the Observation.value specifies the range of values inside the region. Typically the bounded dimension is continuous, and so the Observation.value will be an interval (IVL) data type. The Observation.value need not be specified if the respective dimension is only named but not constrained. For example, an ROI for the QT interval of a certain beat in ECG Lead II would contain 2 boundary criteria, one naming the interval in time (constrained), and the other naming the interval in ECG Lead II (only named, but not constrained). + */ + ROIBND, + /** + * A Region of Interest (ROI) specified for an image using an overlay shape. Typically used to make reference to specific regions in images, e.g., to specify the location of a radiologic finding in an image or to specify the site of a physical finding by "circling" a region in a schematic picture of a human body. The units of the coordinate values are in pixels. The origin is in the upper left hand corner, with positive X values going to the right and positive Y values going down. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type "subject" (SUBJ), which must always be present. + */ + ROIOVL, + /** + * The spatial relationship of a subject whether human, other animal, or plant, to a frame of reference such as gravity or a collection device. + */ + _SUBJECTPHYSICALPOSITION, + /** + * Contains codes for defining the observed, physical position of a subject, such as during an observation, assessment, collection of a specimen, etc. ECG waveforms and vital signs, such as blood pressure, are two examples where a general, observed position typically needs to be noted. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + _SUBJECTBODYPOSITION, + /** + * Lying on the left side. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + LLD, + /** + * Lying with the front or ventral surface downward; lying face down. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + PRN, + /** + * Lying on the right side. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + RLD, + /** + * A semi-sitting position in bed with the head of the bed elevated approximately 45 degrees. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + SFWL, + /** + * Resting the body on the buttocks, typically with upper torso erect or semi erect. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + SIT, + /** + * To be stationary, upright, vertical, on one's legs. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + STN, + /** + * Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + SUP, + /** + * Lying on the back, on an inclined plane, typically about 30-45 degrees with head raised and feet lowered. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + RTRD, + /** + * Lying on the back, on an inclined plane, typically about 30-45 degrees, with head lowered and feet raised. + + + + Deprecation Comment: + This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system. + */ + TRD, + /** + * An observation identifying a potential adverse outcome as a result of an Act or combination of Acts. + + + Examples: Detection of a drug-drug interaction; Identification of a late-submission for an invoice; Requesting discharge for a patient who does not meet hospital-defined discharge criteria. + + + Discussion: This class is commonly used for identifying 'business rule' or 'process' problems that may result in a refusal to carry out a particular request. In some circumstances it may be possible to 'bypass' a problem by modifying the request to acknowledge the issue and/or by providing some form of mitigation. + + + Constraints: the Act or Acts that may cause the the adverse outcome are the target of a subject ActRelationship. The subbtypes of this concept indicate the type of problem being detected (e.g. drug-drug interaction) while the Observation.value is used to repesent a specific problem code (e.g. specific drug-drug interaction id). + */ + ALRT, + /** + * Definition: An observation that is composed of a set of observations. These observations typically have a logical or practical grouping for generally accepted clinical or functional purposes, such as observations that are run together because of automation. A battery can define required and optional component observations and, in some cases, will define complex rules that determine whether or not a particular observation is made. BATTERY is a constraint on the Observation class in that it is understood to always be composed of component observations. + + + UsageNotes: The focus in a BATTERY is that it is composed of individual observations. In request (RQO) mood, a battery is a request to perform the component observations. In event (EVN) mood a battery is a reporting of associated set of observation events. In definition mood a battery is the definition of the associated set of observations. + + + Examples: Vital signs, Full blood count, Chemistry panel. + */ + BATTERY, + /** + * The set of actions that define an experiment to assess the effectiveness and/or safety of a biopharmaceutical product (food, drug, device, etc.). In definition mood, this set of actions is often embodied in a clinical trial protocol; in event mood, this designates the aggregate act of applying the actions to one or more subjects. + */ + CLNTRL, + /** + * An instance of Observation of a Condition at a point in time that includes any Observations or Procedures associated with that Condition as well as links to previous instances of Condition Node for the same Condition + + + + Deprecation Comment: + This concept has been deprecated because an alternative structure for tracking the evolution of a problem has been presented and adopted by the Care Provision Work Group. + */ + CNOD, + /** + * An observable finding or state that persists over time and tends to require intervention or management, and, therefore, distinguished from an Observation made at a point in time; may exist before an Observation of the Condition is made or after interventions to manage the Condition are undertaken. Examples: equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, chronic illness + */ + COND, + /** + * A public health case is an Observation representing a condition or event that has a specific significance for public health. Typically it involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health. An outbreak involving multiple individuals may be considered as a type of public health case. A public health case definition (Act.moodCode = "definition") includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. There are also case definitions for outbreaks. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case. + */ + CASE, + /** + * An outbreak represents a series of public health cases. The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak, and its ending date is the last date of onset among the cases assigned to the outbreak. + */ + OUTB, + /** + * Class for holding attributes unique to diagnostic images. + */ + DGIMG, + /** + * Description:An observation of genomic phenomena. + */ + GEN, + /** + * Description:A determinant peptide in a polypeptide as described by polypeptide. + */ + DETPOL, + /** + * Description:An expression level of genes/proteins or other expressed genomic entities. + */ + EXP, + /** + * Description:The position of a gene (or other significant sequence) on the genome. + */ + LOC, + /** + * Description:A genomic phenomenon that is expressed externally in the organism. + */ + PHN, + /** + * Description:A polypeptide resulting from the translation of a gene. + */ + POL, + /** + * Description:A sequence of biomolecule like the DNA, RNA, protein and the like. + */ + SEQ, + /** + * Description:A variation in a sequence as described by BioSequence. + */ + SEQVAR, + /** + * An formalized inquiry into the circumstances surrounding a particular unplanned event or potential event for the purposes of identifying possible causes and contributing factors for the event. This investigation could be conducted at a local institutional level or at the level of a local or national government. + */ + INVSTG, + /** + * Container for Correlated Observation Sequences sharing a common frame of reference. All Observations of the same cd must be comparable and relative to the common frame of reference. For example, a 3-channel ECG device records a 12-lead ECG in 4 steps (3 leads at a time). Each of the separate 3-channel recordings would be in their own "OBSCOR". And, all 4 OBSCOR would be contained in one OBSSER because all the times are relative to the same origin (beginning of the recording) and all the ECG signals were from a fixed set of electrodes. + */ + OBSSER, + /** + * Container for Observation Sequences (Observations whose values are contained in LIST<>'s) having values correlated with each other. Each contained Observation Sequence LIST<> must be the same length. Values in the LIST<>'s are correlated based on index. E.g. the values in position 2 in all the LIST<>'s are correlated. This is analogous to a table where each column is an Observation Sequence with a LIST<> of values, and each row in the table is a correlation between the columns. For example, a 12-lead ECG would contain 13 sequences: one sequence for time, and a sequence for each of the 12 leads. + */ + OBSCOR, + /** + * An observation denoting the physical location of a person or thing based on a reference coordinate system. + */ + POS, + /** + * Description:An observation representing the degree to which the assignment of the spatial coordinates, based on a matching algorithm by a geocoding engine against a reference spatial database, matches true or accepted values. + */ + POSACC, + /** + * Description:An observation representing one of a set of numerical values used to determine the position of a place. The name of the coordinate value is determined by the reference coordinate system. + */ + POSCOORD, + /** + * An observation on a specimen in a laboratory environment that may affect processing, analysis or result interpretation + */ + SPCOBS, + /** + * An act which describes the process whereby a 'verifying party' validates either the existence of the Role attested to by some Credential or the actual Vetting act and its details. + */ + VERIF, + /** + * An Act that of taking on whole or partial responsibility for, or attention to, safety and well-being of a subject of care. + + + Discussion: A care provision event may exist without any other care actions taking place. For example, when a patient is assigned to the care of a particular health professional. + + In request (RQO) mood care provision communicates a referral, which is a request: + + + + from one party (linked as a participant of type author (AUT)), + + + + to another party (linked as a participant of type performer (PRF), + + + + to take responsibility for a scope specified by the code attribute, + + + + for an entity (linked as a participant of type subject (SBJ)). + + + + The scope of the care for which responsibility is taken is identified by code attribute. + + In event (EVN) mood care provision indicates the effective time interval of a specified scope of responsibility by a performer (PRF) or set of performers (PRF) for a subject (SBJ). + + + Examples: + + + + + Referral from GP to a specialist. + + + + Assignment of a patient or group of patients to the case list of a health professional. + + + + Assignment of inpatients to the care of particular nurses for a working shift. + */ + PCPR, + /** + * An interaction between a patient and healthcare participant(s) for the purpose of providing patient service(s) or assessing the health status of a patient. For example, outpatient visit to multiple departments, home health support (including physical therapy), inpatient hospital stay, emergency room visit, field visit (e.g., traffic accident), office visit, occupational therapy, telephone call. + */ + ENC, + /** + * Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by one party on: + + + + The activity of another party + + + + The behavior of another party + + + + The manner in which an act is executed + */ + POLICY, + /** + * Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by a jurisdiction on: + + + + The activity of another party + + + + The behavior of another party + + + + The manner in which an act is executed + + + + + Examples:A jurisdictional mandate regarding the prescribing and dispensing of a particular medication. A jurisdictional privacy or security regulation dictating the manner in which personal health information is disclosed. A jurisdictional requirement that certain services or health conditions are reported to a monitoring program, e.g., immunizations, methadone treatment, or cancer registries. + */ + JURISPOL, + /** + * Description:A mandate, obligation, requirement, rule, or expectation unilaterally imposed by an organization on: + + + + The activity of another party + + + + The behavior of another party + + + + The manner in which an act is executed + + + + + Examples:A clinical or research protocols imposed by a payer, a malpractice insurer, or an institution to which a provider must adhere. A mandate imposed by a denominational institution for a provider to provide or withhold certain information from the patient about treatment options. + */ + ORGPOL, + /** + * Description:An ethical or clinical obligation, requirement, rule, or expectation imposed or strongly encouraged by organizations that oversee particular clinical domains or provider certification which define the boundaries within which a provider may practice and which may have legal basis or ramifications on: + + + + The activity of another party + + + + The behavior of another party + + + + The manner in which an act is executed + + + + + Examples:An ethical obligation for a provider to fully inform a patient about all treatment options. An ethical obligation for a provider not to disclose personal health information that meets certain criteria, e.g., where disclosure might result in harm to the patient or another person. The set of health care services which a provider is credentialed or privileged to provide. + */ + SCOPOL, + /** + * Description:A requirement, rule, or expectation typically documented as guidelines, protocols, or formularies imposed or strongly encouraged by an organization that oversees or has authority over the practices within a domain, and which may have legal basis or ramifications on: + + + + The activity of another party + + + + The behavior of another party + + + + The manner in which an act is executed + + + + + Examples:A payer may require a prescribing provider to adhere to formulary guidelines. An institution may adopt clinical guidelines and protocols and implement these within its electronic health record and decision support systems. + */ + STDPOL, + /** + * An Act whose immediate and primary outcome (post-condition) is the alteration of the physical condition of the subject. + + + Examples: : Procedures may involve the disruption of some body surface (e.g. an incision in a surgical procedure), but they also include conservative procedures such as reduction of a luxated join, chiropractic treatment, massage, balneotherapy, acupuncture, shiatsu, etc. Outside of clinical medicine, procedures may be such things as alteration of environments (e.g. straightening rivers, draining swamps, building dams) or the repair or change of machinery etc. + */ + PROC, + /** + * The act of introducing or otherwise applying a substance to the subject. + + + Discussion: The effect of the substance is typically established on a biochemical basis, however, that is not a requirement. For example, radiotherapy can largely be described in the same way, especially if it is a systemic therapy such as radio-iodine. This class also includes the application of chemical treatments to an area. + + + Examples: Chemotherapy protocol; Drug prescription; Vaccination record + */ + SBADM, + /** + * Description: The act of removing a substance from the subject. + */ + SBEXT, + /** + * A procedure for obtaining a specimen from a source entity. + */ + SPECCOLLECT, + /** + * Represents the act of maintaining information about the registration of its associated registered subject. The subject can be either an Act or a Role, and includes subjects such as lab exam definitions, drug protocol definitions, prescriptions, persons, patients, practitioners, and equipment. + + The registration may have a unique identifier - separate from the unique identification of the subject - as well as a core set of related participations and act relationships that characterize the registration event and aid in the disposition of the subject information by a receiving system. + */ + REG, + /** + * The act of examining and evaluating the subject, usually another act. For example, "This prescription needs to be reviewed in 2 months." + */ + REV, + /** + * A procedure or treatment performed on a specimen to prepare it for analysis + */ + SPCTRT, + /** + * Supply orders and deliveries are simple Acts that focus on the delivered product. The product is associated with the Supply Act via Participation.typeCode="product". With general Supply Acts, the precise identification of the Material (manufacturer, serial numbers, etc.) is important. Most of the detailed information about the Supply should be represented using the Material class. If delivery needs to be scheduled, tracked, and billed separately, one can associate a Transportation Act with the Supply Act. Pharmacy dispense services are represented as Supply Acts, associated with a SubstanceAdministration Act. The SubstanceAdministration class represents the administration of medication, while dispensing is supply. + */ + SPLY, + /** + * Diet services are supply services, with some aspects resembling Medication services: the detail of the diet is given as a description of the Material associated via Participation.typeCode="product". Medically relevant diet types may be communicated in the Diet.code attribute using domain ActDietCode, however, the detail of the food supplied and the various combinations of dishes should be communicated as Material instances. + + + Deprecation Note + + + + Class: Use either the Supply class (if dealing with what should be given to the patient) or SubstanceAdministration class (if dealing with what the patient should consume) + + + energyQuantity: This quantity can be conveyed by using a Content relationship with a quantity attribute expressing the calories + + + carbohydrateQuantity:This quantity can be conveyed using a Content relationship to an Entity with a code of carbohydrate and a quantity attribute on the content relationship. + */ + DIET, + /** + * The act of putting something away for safe keeping. The "something" may be physical object such as a specimen, or information, such as observations regarding a specimen. + */ + STORE, + /** + * Definition: Indicates that the subject Act has undergone or should undergo substitution of a type indicated by Act.code. + + Rationale: Used to specify "allowed" substitution when creating orders, "actual" susbstitution when sending events, as well as the reason for the substitution and who was responsible for it. + */ + SUBST, + /** + * Definition: The act of transferring information without the intent of imparting understanding about a topic to the subject that is the recipient or holder of the transferred information where the participation association must be RCV or HLD. + */ + TRFR, + /** + * Transportation is the moving of a payload (people or material) from a location of origin to a destination location. Thus, any transport service has the three target instances of type payload, origin, and destination, besides the targets that are generally used for any service (i.e., performer, device, etc.) + */ + TRNS, + /** + * A sub-class of Act representing any transaction between two accounts whose value is measured in monetary terms. + + In the "intent" mood, communicates a request for a transaction to be initiated, or communicates a transfer of value between two accounts. + + In the "event" mood, communicates the posting of a transaction to an account. + */ + XACT, + /** + * added to help the parsers + */ + NULL; + public static V3ActClass fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ACT".equals(codeString)) + return ACT; + if ("_ActClassRecordOrganizer".equals(codeString)) + return _ACTCLASSRECORDORGANIZER; + if ("COMPOSITION".equals(codeString)) + return COMPOSITION; + if ("DOC".equals(codeString)) + return DOC; + if ("DOCCLIN".equals(codeString)) + return DOCCLIN; + if ("CDALVLONE".equals(codeString)) + return CDALVLONE; + if ("CONTAINER".equals(codeString)) + return CONTAINER; + if ("CATEGORY".equals(codeString)) + return CATEGORY; + if ("DOCBODY".equals(codeString)) + return DOCBODY; + if ("DOCSECT".equals(codeString)) + return DOCSECT; + if ("TOPIC".equals(codeString)) + return TOPIC; + if ("EXTRACT".equals(codeString)) + return EXTRACT; + if ("EHR".equals(codeString)) + return EHR; + if ("FOLDER".equals(codeString)) + return FOLDER; + if ("GROUPER".equals(codeString)) + return GROUPER; + if ("CLUSTER".equals(codeString)) + return CLUSTER; + if ("ACCM".equals(codeString)) + return ACCM; + if ("ACCT".equals(codeString)) + return ACCT; + if ("ACSN".equals(codeString)) + return ACSN; + if ("ADJUD".equals(codeString)) + return ADJUD; + if ("CACT".equals(codeString)) + return CACT; + if ("ACTN".equals(codeString)) + return ACTN; + if ("INFO".equals(codeString)) + return INFO; + if ("STC".equals(codeString)) + return STC; + if ("CNTRCT".equals(codeString)) + return CNTRCT; + if ("FCNTRCT".equals(codeString)) + return FCNTRCT; + if ("COV".equals(codeString)) + return COV; + if ("CONC".equals(codeString)) + return CONC; + if ("HCASE".equals(codeString)) + return HCASE; + if ("OUTBR".equals(codeString)) + return OUTBR; + if ("CONS".equals(codeString)) + return CONS; + if ("CONTREG".equals(codeString)) + return CONTREG; + if ("CTTEVENT".equals(codeString)) + return CTTEVENT; + if ("DISPACT".equals(codeString)) + return DISPACT; + if ("EXPOS".equals(codeString)) + return EXPOS; + if ("AEXPOS".equals(codeString)) + return AEXPOS; + if ("TEXPOS".equals(codeString)) + return TEXPOS; + if ("INC".equals(codeString)) + return INC; + if ("INFRM".equals(codeString)) + return INFRM; + if ("INVE".equals(codeString)) + return INVE; + if ("LIST".equals(codeString)) + return LIST; + if ("MPROT".equals(codeString)) + return MPROT; + if ("OBS".equals(codeString)) + return OBS; + if ("_ActClassROI".equals(codeString)) + return _ACTCLASSROI; + if ("ROIBND".equals(codeString)) + return ROIBND; + if ("ROIOVL".equals(codeString)) + return ROIOVL; + if ("_SubjectPhysicalPosition".equals(codeString)) + return _SUBJECTPHYSICALPOSITION; + if ("_SubjectBodyPosition".equals(codeString)) + return _SUBJECTBODYPOSITION; + if ("LLD".equals(codeString)) + return LLD; + if ("PRN".equals(codeString)) + return PRN; + if ("RLD".equals(codeString)) + return RLD; + if ("SFWL".equals(codeString)) + return SFWL; + if ("SIT".equals(codeString)) + return SIT; + if ("STN".equals(codeString)) + return STN; + if ("SUP".equals(codeString)) + return SUP; + if ("RTRD".equals(codeString)) + return RTRD; + if ("TRD".equals(codeString)) + return TRD; + if ("ALRT".equals(codeString)) + return ALRT; + if ("BATTERY".equals(codeString)) + return BATTERY; + if ("CLNTRL".equals(codeString)) + return CLNTRL; + if ("CNOD".equals(codeString)) + return CNOD; + if ("COND".equals(codeString)) + return COND; + if ("CASE".equals(codeString)) + return CASE; + if ("OUTB".equals(codeString)) + return OUTB; + if ("DGIMG".equals(codeString)) + return DGIMG; + if ("GEN".equals(codeString)) + return GEN; + if ("DETPOL".equals(codeString)) + return DETPOL; + if ("EXP".equals(codeString)) + return EXP; + if ("LOC".equals(codeString)) + return LOC; + if ("PHN".equals(codeString)) + return PHN; + if ("POL".equals(codeString)) + return POL; + if ("SEQ".equals(codeString)) + return SEQ; + if ("SEQVAR".equals(codeString)) + return SEQVAR; + if ("INVSTG".equals(codeString)) + return INVSTG; + if ("OBSSER".equals(codeString)) + return OBSSER; + if ("OBSCOR".equals(codeString)) + return OBSCOR; + if ("POS".equals(codeString)) + return POS; + if ("POSACC".equals(codeString)) + return POSACC; + if ("POSCOORD".equals(codeString)) + return POSCOORD; + if ("SPCOBS".equals(codeString)) + return SPCOBS; + if ("VERIF".equals(codeString)) + return VERIF; + if ("PCPR".equals(codeString)) + return PCPR; + if ("ENC".equals(codeString)) + return ENC; + if ("POLICY".equals(codeString)) + return POLICY; + if ("JURISPOL".equals(codeString)) + return JURISPOL; + if ("ORGPOL".equals(codeString)) + return ORGPOL; + if ("SCOPOL".equals(codeString)) + return SCOPOL; + if ("STDPOL".equals(codeString)) + return STDPOL; + if ("PROC".equals(codeString)) + return PROC; + if ("SBADM".equals(codeString)) + return SBADM; + if ("SBEXT".equals(codeString)) + return SBEXT; + if ("SPECCOLLECT".equals(codeString)) + return SPECCOLLECT; + if ("REG".equals(codeString)) + return REG; + if ("REV".equals(codeString)) + return REV; + if ("SPCTRT".equals(codeString)) + return SPCTRT; + if ("SPLY".equals(codeString)) + return SPLY; + if ("DIET".equals(codeString)) + return DIET; + if ("STORE".equals(codeString)) + return STORE; + if ("SUBST".equals(codeString)) + return SUBST; + if ("TRFR".equals(codeString)) + return TRFR; + if ("TRNS".equals(codeString)) + return TRNS; + if ("XACT".equals(codeString)) + return XACT; + throw new Exception("Unknown V3ActClass code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ACT: return "ACT"; + case _ACTCLASSRECORDORGANIZER: return "_ActClassRecordOrganizer"; + case COMPOSITION: return "COMPOSITION"; + case DOC: return "DOC"; + case DOCCLIN: return "DOCCLIN"; + case CDALVLONE: return "CDALVLONE"; + case CONTAINER: return "CONTAINER"; + case CATEGORY: return "CATEGORY"; + case DOCBODY: return "DOCBODY"; + case DOCSECT: return "DOCSECT"; + case TOPIC: return "TOPIC"; + case EXTRACT: return "EXTRACT"; + case EHR: return "EHR"; + case FOLDER: return "FOLDER"; + case GROUPER: return "GROUPER"; + case CLUSTER: return "CLUSTER"; + case ACCM: return "ACCM"; + case ACCT: return "ACCT"; + case ACSN: return "ACSN"; + case ADJUD: return "ADJUD"; + case CACT: return "CACT"; + case ACTN: return "ACTN"; + case INFO: return "INFO"; + case STC: return "STC"; + case CNTRCT: return "CNTRCT"; + case FCNTRCT: return "FCNTRCT"; + case COV: return "COV"; + case CONC: return "CONC"; + case HCASE: return "HCASE"; + case OUTBR: return "OUTBR"; + case CONS: return "CONS"; + case CONTREG: return "CONTREG"; + case CTTEVENT: return "CTTEVENT"; + case DISPACT: return "DISPACT"; + case EXPOS: return "EXPOS"; + case AEXPOS: return "AEXPOS"; + case TEXPOS: return "TEXPOS"; + case INC: return "INC"; + case INFRM: return "INFRM"; + case INVE: return "INVE"; + case LIST: return "LIST"; + case MPROT: return "MPROT"; + case OBS: return "OBS"; + case _ACTCLASSROI: return "_ActClassROI"; + case ROIBND: return "ROIBND"; + case ROIOVL: return "ROIOVL"; + case _SUBJECTPHYSICALPOSITION: return "_SubjectPhysicalPosition"; + case _SUBJECTBODYPOSITION: return "_SubjectBodyPosition"; + case LLD: return "LLD"; + case PRN: return "PRN"; + case RLD: return "RLD"; + case SFWL: return "SFWL"; + case SIT: return "SIT"; + case STN: return "STN"; + case SUP: return "SUP"; + case RTRD: return "RTRD"; + case TRD: return "TRD"; + case ALRT: return "ALRT"; + case BATTERY: return "BATTERY"; + case CLNTRL: return "CLNTRL"; + case CNOD: return "CNOD"; + case COND: return "COND"; + case CASE: return "CASE"; + case OUTB: return "OUTB"; + case DGIMG: return "DGIMG"; + case GEN: return "GEN"; + case DETPOL: return "DETPOL"; + case EXP: return "EXP"; + case LOC: return "LOC"; + case PHN: return "PHN"; + case POL: return "POL"; + case SEQ: return "SEQ"; + case SEQVAR: return "SEQVAR"; + case INVSTG: return "INVSTG"; + case OBSSER: return "OBSSER"; + case OBSCOR: return "OBSCOR"; + case POS: return "POS"; + case POSACC: return "POSACC"; + case POSCOORD: return "POSCOORD"; + case SPCOBS: return "SPCOBS"; + case VERIF: return "VERIF"; + case PCPR: return "PCPR"; + case ENC: return "ENC"; + case POLICY: return "POLICY"; + case JURISPOL: return "JURISPOL"; + case ORGPOL: return "ORGPOL"; + case SCOPOL: return "SCOPOL"; + case STDPOL: return "STDPOL"; + case PROC: return "PROC"; + case SBADM: return "SBADM"; + case SBEXT: return "SBEXT"; + case SPECCOLLECT: return "SPECCOLLECT"; + case REG: return "REG"; + case REV: return "REV"; + case SPCTRT: return "SPCTRT"; + case SPLY: return "SPLY"; + case DIET: return "DIET"; + case STORE: return "STORE"; + case SUBST: return "SUBST"; + case TRFR: return "TRFR"; + case TRNS: return "TRNS"; + case XACT: return "XACT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActClass"; + } + public String getDefinition() { + switch (this) { + case ACT: return "A record of something that is being done, has been done, can be done, or is intended or requested to be done.\r\n\n \n Examples:The kinds of acts that are common in health care are (1) a clinical observation, (2) an assessment of health condition (such as problems and diagnoses), (3) healthcare goals, (4) treatment services (such as medication, surgery, physical and psychological therapy), (5) assisting, monitoring or attending, (6) training and education services to patients and their next of kin, (7) and notary services (such as advanced directives or living will), (8) editing and maintaining documents, and many others.\r\n\n \n Discussion and Rationale: Acts are the pivot of the RIM; all domain information and processes are represented primarily in Acts. Any profession or business, including healthcare, is primarily constituted of intentional and occasionally non-intentional actions, performed and recorded by responsible actors. An Act-instance is a record of such an action.\r\n\n Acts connect to Entities in their Roles through Participations and connect to other Acts through ActRelationships. Participations are the authors, performers and other responsible parties as well as subjects and beneficiaries (which includes tools and material used in the performance of the act, which are also subjects). The moodCode distinguishes between Acts that are meant as factual records, vs. records of intended or ordered services, and the other modalities in which act can appear.\r\n\n One of the Participations that all acts have (at least implicitly) is a primary author, who is responsible of the Act and who 'owns' the act. Responsibility for the act means responsibility for what is being stated in the Act and as what it is stated. Ownership of the act is assumed in the sense of who may operationally modify the same act. Ownership and responsibility of the Act is not the same as ownership or responsibility of what the Act-object refers to in the real world. The same real world activity can be described by two people, each being the author of their Act, describing the same real world activity. Yet one can be a witness while the other can be a principal performer. The performer has responsibilities for the physical actions; the witness only has responsibility for making a true statement to the best of his or her ability. The two Act-instances may even disagree, but because each is properly attributed to its author, such disagreements can exist side by side and left to arbitration by a recipient of these Act-instances.\r\n\n In this sense, an Act-instance represents a 'statement' according to Rector and Nowlan (1991) [Foundations for an electronic medical record. Methods Inf Med. 30.] Rector and Nowlan have emphasized the importance of understanding the medical record not as a collection of facts, but 'a faithful record of what clinicians have heard, seen, thought, and done.' Rector and Nowlan go on saying that 'the other requirements for a medical record, e.g., that it be attributable and permanent, follow naturally from this view.' Indeed the Act class is this attributable statement, and the rules of updating acts (discussed in the state-transition model, see Act.statusCode) versus generating new Act-instances are designed according to this principle of permanent attributable statements.\r\n\n Rector and Nolan focus on the electronic medical record as a collection of statements, while attributed statements, these are still mostly factual statements. However, the Act class goes beyond this limitation to attributed factual statements, representing what is known as 'speech-acts' in linguistics and philosophy. The notion of speech-act includes that there is pragmatic meaning in language utterances, aside from just factual statements; and that these utterances interact with the real world to change the state of affairs, even directly cause physical activities to happen. For example, an order is a speech act that (provided it is issued adequately) will cause the ordered action to be physically performed. The speech act theory has culminated in the seminal work by Austin (1962) [How to do things with words. Oxford University Press].\r\n\n An activity in the real world may progress from defined, through planned and ordered to executed, which is represented as the mood of the Act. Even though one might think of a single activity as progressing from planned to executed, this progression is reflected by multiple Act-instances, each having one and only one mood that will not change along the Act-instance life cycle. This is because the attribution and content of speech acts along this progression of an activity may be different, and it is often critical that a permanent and faithful record be maintained of this progression. The specification of orders or promises or plans must not be overwritten by the specification of what was actually done, so as to allow comparing actions with their earlier specifications. Act-instances that describe this progression of the same real world activity are linked through the ActRelationships (of the relationship category 'sequel').\r\n\n Act as statements or speech-acts are the only representation of real world facts or processes in the HL7 RIM. The truth about the real world is constructed through a combination (and arbitration) of such attributed statements only, and there is no class in the RIM whose objects represent 'objective state of affairs' or 'real processes' independent from attributed statements. As such, there is no distinction between an activity and its documentation. Every Act includes both to varying degrees. For example, a factual statement made about recent (but past) activities, authored (and signed) by the performer of such activities, is commonly known as a procedure report or original documentation (e.g., surgical procedure report, clinic note etc.). Conversely, a status update on an activity that is presently in progress, authored by the performer (or a close observer) is considered to capture that activity (and is later superceded by a full procedure report). However, both status update and procedure report are acts of the same kind, only distinguished by mood and state (see statusCode) and completeness of the information."; + case _ACTCLASSRECORDORGANIZER: return "Used to group a set of acts sharing a common context. Organizer structures can nest within other context structures - such as where a document is contained within a folder, or a folder is contained within an EHR extract."; + case COMPOSITION: return "A context representing a grouped commitment of information to the EHR. It is considered the unit of modification of the record, the unit of transmission in record extracts, and the unit of attestation by authorizing clinicians.\r\n\n A composition represents part of a patient record originating from a single interaction between an authenticator and the record.\r\n\n Unless otherwise stated all statements within a composition have the same authenticator, apply to the same patient and were recorded in a single session of use of a single application.\r\n\n A composition contains organizers and entries."; + case DOC: return "The notion of a document comes particularly from the paper world, where it corresponds to the contents recorded on discrete pieces of paper. In the electronic world, a document is a kind of composition that bears resemblance to their paper world counter-parts. Documents typically are meant to be human-readable.\r\n\n HL7's notion of document differs from that described in the W3C XML Recommendation, in which a document refers specifically to the contents that fall between the root element's start-tag and end-tag. Not all XML documents are HL7 documents."; + case DOCCLIN: return "A clinical document is a documentation of clinical observations and services, with the following characteristics:\r\n\n \n \n Persistence - A clinical document continues to exist in an unaltered state, for a time period defined by local and regulatory requirements; \r\n\n \n \n Stewardship - A clinical document is maintained by a person or organization entrusted with its care; \r\n\n \n \n Potential for authentication - A clinical document is an assemblage of information that is intended to be legally authenticated; \r\n\n \n \n Wholeness - Authentication of a clinical document applies to the whole and does not apply to portions of the document without the full context of the document;\r\n\n \n \n Human readability - A clinical document is human readable."; + case CDALVLONE: return "A clinical document that conforms to Level One of the HL7 Clinical Document Architecture (CDA)"; + case CONTAINER: return "Description: Container of clinical statements. Navigational. No semantic content. Knowledge of the section code is not required to interpret contained observations. Represents a heading in a heading structure, or 'container tree'.\r\n\n The record entries relating to a single clinical session are usually grouped under headings that represent phases of the encounter, or assist with layout and navigation. Clinical headings usually reflect the clinical workflow during a care session, and might also reflect the main author's reasoning processes. Much research has demonstrated that headings are used differently by different professional groups and specialties, and that headings are not used consistently enough to support safe automatic processing of the E H R."; + case CATEGORY: return "A group of entries within a composition or topic that have a common characteristic - for example, Examination, Diagnosis, Management OR Subjective, Objective, Analysis, Plan.\r\n\n The distinction from Topic relates to value sets. For Category there is a bounded list of things like 'Examination', 'Diagnosis' or SOAP categories. For Topic the list is wide open to any clinical condition or reason for a part of an encounter.\r\n\n A CATEGORY MAY CONTAIN ENTRIES."; + case DOCBODY: return "A context that distinguishes the body of a document from the document header. This is seen, for instance, in HTML documents, which have discrete and elements."; + case DOCSECT: return "A context that subdivides the body of a document. Document sections are typically used for human navigation, to give a reader a clue as to the expected content. Document sections are used to organize and provide consistency to the contents of a document body. Document sections can contain document sections and can contain entries."; + case TOPIC: return "A group of entries within a composition that are related to a common clinical theme - such as a specific disorder or problem, prevention, screening and provision of contraceptive services.\r\n\n A topic may contain categories and entries."; + case EXTRACT: return "This context represents the part of a patient record conveyed in a single communication. It is drawn from a providing system for the purposes of communication to a requesting process (which might be another repository, a client application or a middleware service such as an electronic guideline engine), and supporting the faithful inclusion of the communicated data in the receiving system.\r\n\n An extract may be the entirety of the patient record as held by the sender or it may be a part of that record (e.g. changes since a specified date).\r\n\n An extract contains folders or compositions.\r\n\n An extract cannot contain another extract."; + case EHR: return "A context that comprises all compositions. The EHR is an extract that includes the entire chart.\r\n\n \n NOTE: In an exchange scenario, an EHR is a specialization of an extract."; + case FOLDER: return "A context representing the high-level organization of an extract e.g. to group parts of the record by episode, care team, clinical specialty, clinical condition, or source application. Internationally, this kind of organizing structure is used variably: in some centers and systems the folder is treated as an informal compartmentalization of the overall health record; in others it might represent a significant legal portion of the EHR relating to the originating enterprise or team.\r\n\n A folder contains compositions.\r\n\n Folders may be nested within folders."; + case GROUPER: return "Definition: An ACT that organizes a set of component acts into a semantic grouping that share a particular context such as timeframe, patient, etc.\r\n\n \n UsageNotes: The focus in a GROUPER act is the grouping of the contained acts. For example 'a request to group' (RQO), 'a type of grouping that is allowed to occur' (DEF), etc.\r\n\n Unlike WorkingList, which represents a dynamic, shared, continuously updated collection to provide a 'view' of a set of objects, GROUPER collections tend to be static and simply indicate a shared set of semantics. Note that sharing of semantics can be achieved using ACT as well. However, with GROUPER, the sole semantic is of grouping."; + case CLUSTER: return "Description:An ACT that organizes a set of component acts into a semantic grouping that have a shared subject. The subject may be either a subject participation (SBJ), subject act relationship (SUBJ), or child participation/act relationship types.\r\n\n \n Discussion: The focus in a CLUSTER act is the grouping of the contained acts. For example 'a request to cluster' (RQO), 'a type of cluster that is allowed to occur' (DEF), etc.\r\n\n \n Examples: \n \r\n\n \n \n Radiologic investigations that might include administration of a dye, followed by radiographic observations;\r\n\n \n \n 'Isolate cluster' which includes all testing and specimen processing performed on a specific isolate;\r\n\n \n \n a set of actions to perform at a particular stage in a clinical trial."; + case ACCM: return "An accommodation is a service provided for a Person or other LivingSubject in which a place is provided for the subject to reside for a period of time. Commonly used to track the provision of ward, private and semi-private accommodations for a patient."; + case ACCT: return "A financial account established to track the net result of financial acts."; + case ACSN: return "A unit of work, a grouper of work items as defined by the system performing that work. Typically some laboratory order fulfillers communicate references to accessions in their communications regarding laboratory orders. Often one or more specimens are related to an accession such that in some environments the accession number is taken as an identifier for a specimen (group)."; + case ADJUD: return "A transformation process where a requested invoice is transformed into an agreed invoice. Represents the adjudication processing of an invoice (claim). Adjudication results can be adjudicated as submitted, with adjustments or refused.\r\n\n Adjudication results comprise 2 components: the adjudication processing results and a restated (or adjudicated) invoice or claim"; + case CACT: return "An act representing a system action such as the change of state of another act or the initiation of a query. All control acts represent trigger events in the HL7 context. ControlActs may occur in different moods."; + case ACTN: return "Sender asks addressee to do something depending on the focal Act of the payload. An example is 'fulfill this order'. Addressee has responsibilities to either reject the message or to act on it in an appropriate way (specified by the specific receiver responsibilities for the interaction)."; + case INFO: return "Sender sends payload to addressee as information. Addressee does not have responsibilities beyond serving addressee's own interest (i.e., read and memorize if you see fit). This is equivalent to an FYI on a memo."; + case STC: return "Description: Sender transmits a status change pertaining to the focal act of the payload. This status of the focal act is the final state of the state transition. This can be either a request or an event, according to the mood of the control act."; + case CNTRCT: return "An agreement of obligation between two or more parties that is subject to contractual law and enforcement."; + case FCNTRCT: return "A contract whose value is measured in monetary terms."; + case COV: return "When used in the EVN mood, this concept means with respect to a covered party:\r\n\n \n \n A health care insurance policy or plan that is contractually binding between two or more parties; or \r\n\n \n \n A health care program, usually administered by government entities, that provides coverage to persons determined eligible under the terms of the program.\r\n\n \n \n \n \n When used in the definition (DEF) mood, COV means potential coverage for a patient who may or may not be a covered party.\r\n\n \n \n The concept's meaning is fully specified by the choice of ActCoverageTypeCode (abstract) ActProgramCode or ActInsurancePolicyCode."; + case CONC: return "Definition: A worry that tends to persist over time and has as its subject a state or process. The subject of the worry has the potential to require intervention or management.\r\n\n \n Examples: an observation result, procedure, substance administration, equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, allergy, and acute or chronic illness."; + case HCASE: return "A public health case is a Concern about an observation or event that has a specific significance for public health. The creation of a PublicHealthCase initiates the tracking of the object of concern. The decision to track is related to but somewhat independent of the underlying event or observation.\r\n\n \n UsageNotes: Typically a Public Health Case involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health.\r\n\n A public health case definition (Act.moodCode = 'definition') includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case."; + case OUTBR: return "An Outbreak is a concern resulting from a series of public health cases.\r\n\n \n UsageNotes: The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak and its ending date is the last date of onset among the cases assigned to the outbreak. The effectiveTime attribute is used to convey the relevant dates for the case. An outbreak definition (Act.moodCode = 'definition' includes the criteria for the number, types and occurrence pattern of cases necessary to declare an outbreak and to judge the severity of an outbreak."; + case CONS: return "The Consent class represents informed consents and all similar medico-legal transactions between the patient (or his legal guardian) and the provider. Examples are informed consent for surgical procedures, informed consent for clinical trials, advanced beneficiary notice, against medical advice decline from service, release of information agreement, etc.\r\n\n The details of consents vary. Often an institution has a number of different consent forms for various purposes, including reminding the physician about the topics to mention. Such forms also include patient education material. In electronic medical record communication, consents thus are information-generating acts on their own and need to be managed similar to medical activities. Thus, Consent is modeled as a special class of Act.\r\n\n The 'signatures' to the consent document are represented electronically through Participation instances to the consent object. Typically an informed consent has Participation.typeCode of 'performer', the healthcare provider informing the patient, and 'consenter', the patient or legal guardian. Some consent may associate a witness or a notary public (e.g., living wills, advanced directives). In consents where a healthcare provider is not required (e.g. living will), the performer may be the patient himself or a notary public.\r\n\n Some consent has a minimum required delay between the consent and the service, so as to allow the patient to rethink his decisions. This minimum delay can be expressed in the act definition by the ActRelationship.pauseQuantity attribute that delays the service until the pause time has elapsed after the consent has been completed."; + case CONTREG: return "An Act where a container is registered either via an automated sensor, such as a barcode reader, or by manual receipt"; + case CTTEVENT: return "An identified point during a clinical trial at which one or more actions are scheduled to be performed (definition mood), or are actually performed (event mood). The actions may or may not involve an encounter between the subject and a healthcare professional."; + case DISPACT: return "An action taken with respect to a subject Entity by a regulatory or authoritative body with supervisory capacity over that entity. The action is taken in response to behavior by the subject Entity that body finds to be undesirable.\r\n\n Suspension, license restrictions, monetary fine, letter of reprimand, mandated training, mandated supervision, etc.Examples:"; + case EXPOS: return "An interaction between entities that provides opportunity for transmission of a physical, chemical, or biological agent from an exposure source entity to an exposure target entity.\r\n\n \n Examples: The following examples are provided to indicate what interactions are considered exposures rather than other types of Acts:\r\n\n \n \n A patient accidentally receives three times the recommended dose of their medication due to a dosing error. \r\n\n \n \n This is a substance administration. Public health and/or safety authorities may also be interested in documenting this with an associated exposure.\r\n\n \n \n \n \n A patient accidentally is dispensed an incorrect medicine (e.g., clomiphene instead of clomipramine). They have taken several doses before the mistake is detected. They are therefore 'exposed' to a medicine that there was no therapeutic indication for them to receive. \r\n\n \n \n There are several substance administrations in this example. Public health and/or safety authorities may also be interested in documenting this with associated exposures.\r\n\n \n \n \n \n In a busy medical ward, a patient is receiving chemotherapy for a lymphoma. Unfortunately, the IV infusion bag containing the medicine splits, spraying cytotoxic medication over the patient being treated and the patient in the adjacent bed. \r\n\n \n \n There are three substance administrations in this example. The first is the intended one (IV infusion) with its associated (implicit) exposure. There is an incident with an associated substance administration to the same patient involving the medication sprayed over the patient as well as an associated exposure. Additionally, the incident includes a substance administration involving the spraying of medication on the adjacent patient, also with an associated exposure.\r\n\n \n \n \n \n A patient who is a refugee from a war-torn African nation arrives in a busy inner city A&E department suffering from a cough with bloody sputum. Not understanding the registration and triage process, they sit in the waiting room for several hours before it is noticed that they have not booked in. As soon as they are being processed, it is suspected that they are suffering from TB. Vulnerable (immunosuppressed) patients who were sharing the waiting room with this patient may have been exposed to the tubercule bacillus, and must be traced for investigation. \r\n\n \n \n This is an exposure (or possibly multiple exposures) in the waiting room involving the refugee and everyone else in the waiting room during the period. There might also be a number of known or presumed substance administrations (coughing) via several possible routes. The substance administrations are only hypotheses until confirmed by further testing.\r\n\n \n \n \n \n A patient who has received an elective total hip replacement procedure suffers a prolonged stay in hospital, due to contracting an MRSA infection in the surgical wound site after the surgery. \r\n\n \n \n This is an exposure to MRSA. Although there was some sort of substance administration, it's possible the exact mechanism for introduction of the MRSA into the wound will not be identified.\r\n\n \n \n \n \n Routine maintenance of the X-ray machines at a local hospital reveals a serious breach of the shielding on one of the machines. Patients who have undergone investigations using that machine in the last month are likely to have been exposed to significantly higher doses of X-rays than was intended, and must be tracked for possible adverse effects. \r\n\n \n \n There has been an exposure of each patient who used the machine in the past 30 days. Some patients may have had substance administrations.\r\n\n \n \n \n \n A new member of staff is employed in the laundry processing room of a small cottage hospital, and a misreading of the instructions for adding detergents results in fifty times the usual concentration of cleaning materials being added to a batch of hospital bedding. As a result, several patients have been exposed to very high levels of detergents still present in the 'clean' bedding, and have experienced dermatological reactions to this. \r\n\n \n \n There has been an incident with multiple exposures to several patients. Although there are substance administrations involving the application of the detergent to the skin of the patients, it is expected that the substance administrations would not be directly documented.\r\n\n \n \n \n \n Seven patients who are residents in a health care facility for the elderly mentally ill have developed respiratory problems. After several months of various tests having been performed and various medications prescribed to these patients, the problem is traced to their being 'sensitive' to a new fungicide used in the wall plaster of the ward where these patients reside.\r\n\n \n \n The patients have been continuously exposed to the fungicide. Although there have been continuous substance administrations (via breathing) this would not normally be documented as a substance administration.\r\n\n \n \n \n \n A patient with osteoarthritis of the knees is treated symptomatically using analgesia, paracetamol (acetaminophen) 1g up to four times a day for pain relief. His GP does not realize that the patient has, 20 years previously (while at college) had severe alcohol addiction problems, and now, although this is completely under control, his liver has suffered significantly, leaving him more sensitive to hepatic toxicity from paracetamol use. Later that year, the patient returns with a noticeable level of jaundice. Paracetamol is immediately withdrawn and alternative solutions for the knee pain are sought. The jaundice gradually subsides with conservative management, but referral to the gastroenterologist is required for advice and monitoring. \r\n\n \n \n There is a substance administration with an associated exposure. The exposure component is based on the relative toxic level of the substance to a patient with a compromised liver function.\r\n\n \n \n \n \n A patient goes to their GP complaining of abdominal pain, having been discharged from the local hospital ten days' previously after an emergency appendectomy. The GP can find nothing particularly amiss, and presumes it is post operative surgical pain that will resolve. The patient returns a fortnight later, when the GP prescribes further analgesia, but does decide to request an outpatient surgical follow-up appointment. At this post-surgical outpatient review, the registrar decides to order an ultrasound, which, when performed three weeks later, shows a small faint inexplicable mass. A laparoscopy is then performed, as a day case procedure, and a piece of a surgical swab is removed from the patient's abdominal cavity. Thankfully, a full recovery then takes place. \r\n\n \n \n This is a procedural sequelae. There may be an Incident recorded for this also.\r\n\n \n \n \n \n A patient is slightly late for a regular pacemaker battery check in the Cardiology department of the local hospital. They are hurrying down the second floor corridor. A sudden summer squall has recently passed over the area, and rain has come in through an open corridor window leaving a small puddle on the corridor floor. In their haste, the patient slips in the puddle and falls so badly that they have to be taken to the A&E department, where it is discovered on investigation they have slightly torn the cruciate ligament in their left knee. \r\n\n \n \n This is not an exposure. There has been an incident. \r\n\n \n \n \n \n \n Usage Notes: This class deals only with opportunity and not the outcome of the exposure; i.e. not all exposed parties will necessarily experience actual harm or benefit.\r\n\n Exposure differs from Substance Administration by the absence of the participation of a performer in the act. \r\n\n The following participations SHOULD be used with the following participations to distinguish the specific entities:\r\n\n \n \n The exposed entity participates via the 'exposure target' (EXPTRGT) participation.\r\n\n \n \n An entity that has carried the agent transmitted in the exposure participates via the 'exposure source' (EXSRC) participation. For example: \r\n\n \n \n a person or animal who carried an infectious disease and interacts (EXSRC) with another person or animal (EXPTRGT) transmitting the disease agent;\r\n\n \n \n a place or other environment (EXSRC) and a person or animal (EXPTRGT) who is exposed in the presence of this environment.\r\n\n \n \n \n \n When it is unknown whether a participating entity is the source of the agent (EXSRC) or the target of the transmission (EXPTRGT), the 'exposure participant' (EXPART) is used.\r\n\n \n \n The physical (including energy), chemical or biological substance which is participating in the exposure uses the 'exposure agent' (EXPAGNT) participation. There are at least three scenarios:\r\n\n \n \n the player of the Role that participates as EXPAGNT is the chemical or biological substance mixed or carried by the scoper-entity of the Role (e.g., ingredient role); or \r\n\n \n \n the player of the Role that participates as EXPAGNT is a mixture known to contain the chemical, radiological or biological substance of interest; or \r\n\n \n \n the player of the Role that participates as a EXPAGNT is known to carry the agent (i.e., the player is a fomite, vector, etc.).\r\n\n \n \n \n \n The Exposure.statusCode attribute should be interpreted as the state of the Exposure business object (e.g., active, aborted, completed) and not the clinical status of the exposure (e.g., probable, confirmed). The clinical status of the exposure should be associated with the exposure via a subject observation.\r\n\n \n Design Comment: The usage notes require a clear criterion for determining whether an act is an exposure or substance administration-deleterious potential, uncertainty of actual transmission, or otherwise. SBADM states that the criterion is the presence of a performer-but there are examples above that call this criterion into question (e.g., the first one, concerning a dosing error)."; + case AEXPOS: return "Description: \n \r\n\n An acquisition exposure act describes the proximity (location and time) through which the participating entity was potentially exposed to a physical (including energy), chemical or biological agent from another entity. The acquisition exposure act is used in conjunction with transmission exposure acts as part of an analysis technique for contact tracing. Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion.\r\n\n \n Constraints: The Acquisition Exposure inherits the participation constraints that apply to Exposure with the following exception. The EXPSRC (exposure source) participation must never be associated with the Transmission Exposure either directly or via context conduction."; + case TEXPOS: return "Description: \n \r\n\n A transmission exposure act describes the proximity (time and location) over which the participating source entity was capable of transmitting a physical (including energy), chemical or biological substance agent to another entity. The transmission exposure act is used in conjunction with acquisition exposure acts as part of an analysis technique for contact tracing. Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion.\r\n\n \n Constraints: The Transmission Exposure inherits the participation constraints that apply to Exposure with the following exception. The EXPTRGT (exposure target) participation must never be associated with the Transmission Exposure either directly or via context conduction."; + case INC: return "An event that occurred outside of the control of one or more of the parties involved. Includes the concept of an accident."; + case INFRM: return "The act of transmitting information and understanding about a topic to a subject where the participation association must be SBJ.\r\n\n \n Discussion: This act may be used to request that a patient or provider be informed about an Act, or to indicate that a person was informed about a particular act."; + case INVE: return "Represents concepts related to invoice processing in health care"; + case LIST: return "Working list collects a dynamic list of individual instances of Act via ActRelationship which reflects the need of an individual worker, team of workers, or an organization to manage lists of acts for many different clinical and administrative reasons. Examples of working lists include problem lists, goal lists, allergy lists, and to-do lists."; + case MPROT: return "An officially or unofficially instituted program to track acts of a particular type or categorization."; + case OBS: return "Description:An act that is intended to result in new information about a subject. The main difference between Observations and other Acts is that Observations have a value attribute. The code attribute of Observation and the value attribute of Observation must be considered in combination to determine the semantics of the observation.\r\n\n \n Discussion:\n \r\n\n Structurally, many observations are name-value-pairs, where the Observation.code (inherited from Act) is the name and the Observation.value is the value of the property. Such a construct is also known as a variable (a named feature that can assume a value) hence, the Observation class is always used to hold generic name-value-pairs or variables, even though the variable valuation may not be the result of an elaborate observation method. It may be a simple answer to a question or it may be an assertion or setting of a parameter.\r\n\n As with all Act statements, Observation statements describe what was done, and in the case of Observations, this includes a description of what was actually observed (results or answers); and those results or answers are part of the observation and not split off into other objects. \r\n\n The method of action is asserted by the Observation classCode or its subclasses at the least granular level, by the Observation.code attribute value at the medium level of granularity, and by the attribute value of observation.methodCode when a finer level of granularity is required. The method in whole or in part may also appear in the attribute value of Observation.value when using coded data types to express the value of the attribute. Relevant aspects of methodology may also be restated in value when the results themselves imply or state a methodology.\r\n\n An observation may consist of component observations each having their own Observation.code and Observation.value. In this case, the composite observation may not have an Observation.value for itself. For instance, a white blood cell count consists of the sub-observations for the counts of the various granulocytes, lymphocytes and other normal or abnormal blood cells (e.g., blasts). The overall white blood cell count Observation itself may therefore not have a value by itself (even though it could have one, e.g., the sum total of white blood cells). Thus, as long as an Act is essentially an Act of recognizing and noting information about a subject, it is an Observation, regardless of whether it has a simple value by itself or whether it has sub-observations.\r\n\n Even though observations are professional acts (see Act) and as such are intentional actions, this does not require that every possible outcome of an observation be pondered in advance of it being actually made. For instance, differential white blood cell counts (WBC) rarely show blasts, but if they do, this is part of the WBC observation even though blasts might not be predefined in the structure of a normal WBC. \r\n\n Clinical documents commonly have Subjective and Objective findings, both of which are kinds of Observations. In addition, clinical documents commonly contain Assessments, which are also kinds of Observations. Thus, the establishment of a diagnosis is an Observation. \r\n\n \n Examples:\n \r\n\n \n \n Recording the results of a Family History Assessment\r\n\n \n \n Laboratory test and associated result\r\n\n \n \n Physical exam test and associated result\r\n\n \n \n Device temperature\r\n\n \n \n Soil lead level"; + case _ACTCLASSROI: return "Regions of Interest (ROI) within a subject Act. Primarily used for making secondary observations on a subset of a subject observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type 'subject' (SUBJ), which must always be present."; + case ROIBND: return "A Region of Interest (ROI) specified for a multidimensional observation, such as an Observation Series (OBSSER). The ROI is specified using a set of observation criteria, each delineating the boundary of the region in one of the dimensions in the multidimensional observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type subject (SUBJ), which must always be present. Each of the boundary criteria observations is connected with the ROI using ActRelationships of type 'has component' (COMP). In each boundary criterion, the Act.code names the dimension and the Observation.value specifies the range of values inside the region. Typically the bounded dimension is continuous, and so the Observation.value will be an interval (IVL) data type. The Observation.value need not be specified if the respective dimension is only named but not constrained. For example, an ROI for the QT interval of a certain beat in ECG Lead II would contain 2 boundary criteria, one naming the interval in time (constrained), and the other naming the interval in ECG Lead II (only named, but not constrained)."; + case ROIOVL: return "A Region of Interest (ROI) specified for an image using an overlay shape. Typically used to make reference to specific regions in images, e.g., to specify the location of a radiologic finding in an image or to specify the site of a physical finding by 'circling' a region in a schematic picture of a human body. The units of the coordinate values are in pixels. The origin is in the upper left hand corner, with positive X values going to the right and positive Y values going down. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type 'subject' (SUBJ), which must always be present."; + case _SUBJECTPHYSICALPOSITION: return "The spatial relationship of a subject whether human, other animal, or plant, to a frame of reference such as gravity or a collection device."; + case _SUBJECTBODYPOSITION: return "Contains codes for defining the observed, physical position of a subject, such as during an observation, assessment, collection of a specimen, etc. ECG waveforms and vital signs, such as blood pressure, are two examples where a general, observed position typically needs to be noted.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case LLD: return "Lying on the left side.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case PRN: return "Lying with the front or ventral surface downward; lying face down.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case RLD: return "Lying on the right side.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case SFWL: return "A semi-sitting position in bed with the head of the bed elevated approximately 45 degrees.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case SIT: return "Resting the body on the buttocks, typically with upper torso erect or semi erect.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case STN: return "To be stationary, upright, vertical, on one's legs.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case SUP: return "Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case RTRD: return "Lying on the back, on an inclined plane, typically about 30-45 degrees with head raised and feet lowered.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case TRD: return "Lying on the back, on an inclined plane, typically about 30-45 degrees, with head lowered and feet raised.\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation. The same code has been added to the ObservationValue code system."; + case ALRT: return "An observation identifying a potential adverse outcome as a result of an Act or combination of Acts.\r\n\n \n Examples: Detection of a drug-drug interaction; Identification of a late-submission for an invoice; Requesting discharge for a patient who does not meet hospital-defined discharge criteria.\r\n\n \n Discussion: This class is commonly used for identifying 'business rule' or 'process' problems that may result in a refusal to carry out a particular request. In some circumstances it may be possible to 'bypass' a problem by modifying the request to acknowledge the issue and/or by providing some form of mitigation.\r\n\n \n Constraints: the Act or Acts that may cause the the adverse outcome are the target of a subject ActRelationship. The subbtypes of this concept indicate the type of problem being detected (e.g. drug-drug interaction) while the Observation.value is used to repesent a specific problem code (e.g. specific drug-drug interaction id)."; + case BATTERY: return "Definition: An observation that is composed of a set of observations. These observations typically have a logical or practical grouping for generally accepted clinical or functional purposes, such as observations that are run together because of automation. A battery can define required and optional component observations and, in some cases, will define complex rules that determine whether or not a particular observation is made. BATTERY is a constraint on the Observation class in that it is understood to always be composed of component observations.\r\n\n \n UsageNotes: The focus in a BATTERY is that it is composed of individual observations. In request (RQO) mood, a battery is a request to perform the component observations. In event (EVN) mood a battery is a reporting of associated set of observation events. In definition mood a battery is the definition of the associated set of observations.\r\n\n \n Examples: Vital signs, Full blood count, Chemistry panel."; + case CLNTRL: return "The set of actions that define an experiment to assess the effectiveness and/or safety of a biopharmaceutical product (food, drug, device, etc.). In definition mood, this set of actions is often embodied in a clinical trial protocol; in event mood, this designates the aggregate act of applying the actions to one or more subjects."; + case CNOD: return "An instance of Observation of a Condition at a point in time that includes any Observations or Procedures associated with that Condition as well as links to previous instances of Condition Node for the same Condition\r\n\n \n \n Deprecation Comment: \n This concept has been deprecated because an alternative structure for tracking the evolution of a problem has been presented and adopted by the Care Provision Work Group."; + case COND: return "An observable finding or state that persists over time and tends to require intervention or management, and, therefore, distinguished from an Observation made at a point in time; may exist before an Observation of the Condition is made or after interventions to manage the Condition are undertaken. Examples: equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, chronic illness"; + case CASE: return "A public health case is an Observation representing a condition or event that has a specific significance for public health. Typically it involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health. An outbreak involving multiple individuals may be considered as a type of public health case. A public health case definition (Act.moodCode = 'definition') includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. There are also case definitions for outbreaks. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case."; + case OUTB: return "An outbreak represents a series of public health cases. The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak, and its ending date is the last date of onset among the cases assigned to the outbreak."; + case DGIMG: return "Class for holding attributes unique to diagnostic images."; + case GEN: return "Description:An observation of genomic phenomena."; + case DETPOL: return "Description:A determinant peptide in a polypeptide as described by polypeptide."; + case EXP: return "Description:An expression level of genes/proteins or other expressed genomic entities."; + case LOC: return "Description:The position of a gene (or other significant sequence) on the genome."; + case PHN: return "Description:A genomic phenomenon that is expressed externally in the organism."; + case POL: return "Description:A polypeptide resulting from the translation of a gene."; + case SEQ: return "Description:A sequence of biomolecule like the DNA, RNA, protein and the like."; + case SEQVAR: return "Description:A variation in a sequence as described by BioSequence."; + case INVSTG: return "An formalized inquiry into the circumstances surrounding a particular unplanned event or potential event for the purposes of identifying possible causes and contributing factors for the event. This investigation could be conducted at a local institutional level or at the level of a local or national government."; + case OBSSER: return "Container for Correlated Observation Sequences sharing a common frame of reference. All Observations of the same cd must be comparable and relative to the common frame of reference. For example, a 3-channel ECG device records a 12-lead ECG in 4 steps (3 leads at a time). Each of the separate 3-channel recordings would be in their own 'OBSCOR'. And, all 4 OBSCOR would be contained in one OBSSER because all the times are relative to the same origin (beginning of the recording) and all the ECG signals were from a fixed set of electrodes."; + case OBSCOR: return "Container for Observation Sequences (Observations whose values are contained in LIST<>'s) having values correlated with each other. Each contained Observation Sequence LIST<> must be the same length. Values in the LIST<>'s are correlated based on index. E.g. the values in position 2 in all the LIST<>'s are correlated. This is analogous to a table where each column is an Observation Sequence with a LIST<> of values, and each row in the table is a correlation between the columns. For example, a 12-lead ECG would contain 13 sequences: one sequence for time, and a sequence for each of the 12 leads."; + case POS: return "An observation denoting the physical location of a person or thing based on a reference coordinate system."; + case POSACC: return "Description:An observation representing the degree to which the assignment of the spatial coordinates, based on a matching algorithm by a geocoding engine against a reference spatial database, matches true or accepted values."; + case POSCOORD: return "Description:An observation representing one of a set of numerical values used to determine the position of a place. The name of the coordinate value is determined by the reference coordinate system."; + case SPCOBS: return "An observation on a specimen in a laboratory environment that may affect processing, analysis or result interpretation"; + case VERIF: return "An act which describes the process whereby a 'verifying party' validates either the existence of the Role attested to by some Credential or the actual Vetting act and its details."; + case PCPR: return "An Act that of taking on whole or partial responsibility for, or attention to, safety and well-being of a subject of care. \r\n\n \n Discussion: A care provision event may exist without any other care actions taking place. For example, when a patient is assigned to the care of a particular health professional.\r\n\n In request (RQO) mood care provision communicates a referral, which is a request:\r\n\n \n \n from one party (linked as a participant of type author (AUT)),\r\n\n \n \n to another party (linked as a participant of type performer (PRF),\r\n\n \n \n to take responsibility for a scope specified by the code attribute, \r\n\n \n \n for an entity (linked as a participant of type subject (SBJ)).\r\n\n \n \n The scope of the care for which responsibility is taken is identified by code attribute.\r\n\n In event (EVN) mood care provision indicates the effective time interval of a specified scope of responsibility by a performer (PRF) or set of performers (PRF) for a subject (SBJ).\r\n\n \n Examples:\n \r\n\n \n \n Referral from GP to a specialist.\r\n\n \n \n Assignment of a patient or group of patients to the case list of a health professional.\r\n\n \n \n Assignment of inpatients to the care of particular nurses for a working shift."; + case ENC: return "An interaction between a patient and healthcare participant(s) for the purpose of providing patient service(s) or assessing the health status of a patient. For example, outpatient visit to multiple departments, home health support (including physical therapy), inpatient hospital stay, emergency room visit, field visit (e.g., traffic accident), office visit, occupational therapy, telephone call."; + case POLICY: return "Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by one party on:\r\n\n \n \n The activity of another party\r\n\n \n \n The behavior of another party\r\n\n \n \n The manner in which an act is executed"; + case JURISPOL: return "Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by a jurisdiction on:\r\n\n \n \n The activity of another party\r\n\n \n \n The behavior of another party\r\n\n \n \n The manner in which an act is executed\r\n\n \n \n \n Examples:A jurisdictional mandate regarding the prescribing and dispensing of a particular medication. A jurisdictional privacy or security regulation dictating the manner in which personal health information is disclosed. A jurisdictional requirement that certain services or health conditions are reported to a monitoring program, e.g., immunizations, methadone treatment, or cancer registries."; + case ORGPOL: return "Description:A mandate, obligation, requirement, rule, or expectation unilaterally imposed by an organization on:\r\n\n \n \n The activity of another party\r\n\n \n \n The behavior of another party\r\n\n \n \n The manner in which an act is executed\r\n\n \n \n \n Examples:A clinical or research protocols imposed by a payer, a malpractice insurer, or an institution to which a provider must adhere. A mandate imposed by a denominational institution for a provider to provide or withhold certain information from the patient about treatment options."; + case SCOPOL: return "Description:An ethical or clinical obligation, requirement, rule, or expectation imposed or strongly encouraged by organizations that oversee particular clinical domains or provider certification which define the boundaries within which a provider may practice and which may have legal basis or ramifications on:\r\n\n \n \n The activity of another party\r\n\n \n \n The behavior of another party\r\n\n \n \n The manner in which an act is executed\r\n\n \n \n \n Examples:An ethical obligation for a provider to fully inform a patient about all treatment options. An ethical obligation for a provider not to disclose personal health information that meets certain criteria, e.g., where disclosure might result in harm to the patient or another person. The set of health care services which a provider is credentialed or privileged to provide."; + case STDPOL: return "Description:A requirement, rule, or expectation typically documented as guidelines, protocols, or formularies imposed or strongly encouraged by an organization that oversees or has authority over the practices within a domain, and which may have legal basis or ramifications on:\r\n\n \n \n The activity of another party\r\n\n \n \n The behavior of another party\r\n\n \n \n The manner in which an act is executed\r\n\n \n \n \n Examples:A payer may require a prescribing provider to adhere to formulary guidelines. An institution may adopt clinical guidelines and protocols and implement these within its electronic health record and decision support systems."; + case PROC: return "An Act whose immediate and primary outcome (post-condition) is the alteration of the physical condition of the subject.\r\n\n \n Examples: : Procedures may involve the disruption of some body surface (e.g. an incision in a surgical procedure), but they also include conservative procedures such as reduction of a luxated join, chiropractic treatment, massage, balneotherapy, acupuncture, shiatsu, etc. Outside of clinical medicine, procedures may be such things as alteration of environments (e.g. straightening rivers, draining swamps, building dams) or the repair or change of machinery etc."; + case SBADM: return "The act of introducing or otherwise applying a substance to the subject.\r\n\n \n Discussion: The effect of the substance is typically established on a biochemical basis, however, that is not a requirement. For example, radiotherapy can largely be described in the same way, especially if it is a systemic therapy such as radio-iodine. This class also includes the application of chemical treatments to an area.\r\n\n \n Examples: Chemotherapy protocol; Drug prescription; Vaccination record"; + case SBEXT: return "Description: The act of removing a substance from the subject."; + case SPECCOLLECT: return "A procedure for obtaining a specimen from a source entity."; + case REG: return "Represents the act of maintaining information about the registration of its associated registered subject. The subject can be either an Act or a Role, and includes subjects such as lab exam definitions, drug protocol definitions, prescriptions, persons, patients, practitioners, and equipment.\r\n\n The registration may have a unique identifier - separate from the unique identification of the subject - as well as a core set of related participations and act relationships that characterize the registration event and aid in the disposition of the subject information by a receiving system."; + case REV: return "The act of examining and evaluating the subject, usually another act. For example, 'This prescription needs to be reviewed in 2 months.'"; + case SPCTRT: return "A procedure or treatment performed on a specimen to prepare it for analysis"; + case SPLY: return "Supply orders and deliveries are simple Acts that focus on the delivered product. The product is associated with the Supply Act via Participation.typeCode='product'. With general Supply Acts, the precise identification of the Material (manufacturer, serial numbers, etc.) is important. Most of the detailed information about the Supply should be represented using the Material class. If delivery needs to be scheduled, tracked, and billed separately, one can associate a Transportation Act with the Supply Act. Pharmacy dispense services are represented as Supply Acts, associated with a SubstanceAdministration Act. The SubstanceAdministration class represents the administration of medication, while dispensing is supply."; + case DIET: return "Diet services are supply services, with some aspects resembling Medication services: the detail of the diet is given as a description of the Material associated via Participation.typeCode='product'. Medically relevant diet types may be communicated in the Diet.code attribute using domain ActDietCode, however, the detail of the food supplied and the various combinations of dishes should be communicated as Material instances.\r\n\n \n Deprecation Note\n \r\n\n \n Class: Use either the Supply class (if dealing with what should be given to the patient) or SubstanceAdministration class (if dealing with what the patient should consume)\r\n\n \n energyQuantity: This quantity can be conveyed by using a Content relationship with a quantity attribute expressing the calories\r\n\n \n carbohydrateQuantity:This quantity can be conveyed using a Content relationship to an Entity with a code of carbohydrate and a quantity attribute on the content relationship."; + case STORE: return "The act of putting something away for safe keeping. The 'something' may be physical object such as a specimen, or information, such as observations regarding a specimen."; + case SUBST: return "Definition: Indicates that the subject Act has undergone or should undergo substitution of a type indicated by Act.code.\r\n\n Rationale: Used to specify 'allowed' substitution when creating orders, 'actual' susbstitution when sending events, as well as the reason for the substitution and who was responsible for it."; + case TRFR: return "Definition: The act of transferring information without the intent of imparting understanding about a topic to the subject that is the recipient or holder of the transferred information where the participation association must be RCV or HLD."; + case TRNS: return "Transportation is the moving of a payload (people or material) from a location of origin to a destination location. Thus, any transport service has the three target instances of type payload, origin, and destination, besides the targets that are generally used for any service (i.e., performer, device, etc.)"; + case XACT: return "A sub-class of Act representing any transaction between two accounts whose value is measured in monetary terms.\r\n\n In the 'intent' mood, communicates a request for a transaction to be initiated, or communicates a transfer of value between two accounts.\r\n\n In the 'event' mood, communicates the posting of a transaction to an account."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ACT: return "act"; + case _ACTCLASSRECORDORGANIZER: return "record organizer"; + case COMPOSITION: return "composition"; + case DOC: return "document"; + case DOCCLIN: return "clinical document"; + case CDALVLONE: return "CDA Level One clinical document"; + case CONTAINER: return "record container"; + case CATEGORY: return "category"; + case DOCBODY: return "document body"; + case DOCSECT: return "document section"; + case TOPIC: return "topic"; + case EXTRACT: return "extract"; + case EHR: return "electronic health record"; + case FOLDER: return "folder"; + case GROUPER: return "grouper"; + case CLUSTER: return "Cluster"; + case ACCM: return "accommodation"; + case ACCT: return "account"; + case ACSN: return "accession"; + case ADJUD: return "financial adjudication"; + case CACT: return "control act"; + case ACTN: return "action"; + case INFO: return "information"; + case STC: return "state transition control"; + case CNTRCT: return "contract"; + case FCNTRCT: return "financial contract"; + case COV: return "coverage"; + case CONC: return "concern"; + case HCASE: return "public health case"; + case OUTBR: return "outbreak"; + case CONS: return "consent"; + case CONTREG: return "container registration"; + case CTTEVENT: return "clinical trial timepoint event"; + case DISPACT: return "disciplinary action"; + case EXPOS: return "exposure"; + case AEXPOS: return "acquisition exposure"; + case TEXPOS: return "transmission exposure"; + case INC: return "incident"; + case INFRM: return "inform"; + case INVE: return "invoice element"; + case LIST: return "working list"; + case MPROT: return "monitoring program"; + case OBS: return "observation"; + case _ACTCLASSROI: return "ActClassROI"; + case ROIBND: return "bounded ROI"; + case ROIOVL: return "overlay ROI"; + case _SUBJECTPHYSICALPOSITION: return "subject physical position"; + case _SUBJECTBODYPOSITION: return "subject body position"; + case LLD: return "left lateral decubitus"; + case PRN: return "prone"; + case RLD: return "right lateral decubitus"; + case SFWL: return "Semi-Fowler's"; + case SIT: return "sitting"; + case STN: return "standing"; + case SUP: return "supine"; + case RTRD: return "reverse trendelenburg"; + case TRD: return "trendelenburg"; + case ALRT: return "detected issue"; + case BATTERY: return "battery"; + case CLNTRL: return "clinical trial"; + case CNOD: return "Condition Node"; + case COND: return "Condition"; + case CASE: return "public health case"; + case OUTB: return "outbreak"; + case DGIMG: return "diagnostic image"; + case GEN: return "genomic observation"; + case DETPOL: return "determinant peptide"; + case EXP: return "expression level"; + case LOC: return "locus"; + case PHN: return "phenotype"; + case POL: return "polypeptide"; + case SEQ: return "bio sequence"; + case SEQVAR: return "bio sequence variation"; + case INVSTG: return "investigation"; + case OBSSER: return "observation series"; + case OBSCOR: return "correlated observation sequences"; + case POS: return "position"; + case POSACC: return "position accuracy"; + case POSCOORD: return "position coordinate"; + case SPCOBS: return "specimen observation"; + case VERIF: return "Verification"; + case PCPR: return "care provision"; + case ENC: return "encounter"; + case POLICY: return "policy"; + case JURISPOL: return "jurisdictional policy"; + case ORGPOL: return "organizational policy"; + case SCOPOL: return "scope of practice policy"; + case STDPOL: return "standard of practice policy"; + case PROC: return "procedure"; + case SBADM: return "substance administration"; + case SBEXT: return "Substance Extraction"; + case SPECCOLLECT: return "Specimen Collection"; + case REG: return "registration"; + case REV: return "review"; + case SPCTRT: return "specimen treatment"; + case SPLY: return "supply"; + case DIET: return "diet"; + case STORE: return "storage"; + case SUBST: return "Substitution"; + case TRFR: return "transfer"; + case TRNS: return "transportation"; + case XACT: return "financial transaction"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClassEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClassEnumFactory.java new file mode 100644 index 00000000000..b49d2a9bf91 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActClassEnumFactory.java @@ -0,0 +1,459 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActClassEnumFactory implements EnumFactory { + + public V3ActClass fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ACT".equals(codeString)) + return V3ActClass.ACT; + if ("_ActClassRecordOrganizer".equals(codeString)) + return V3ActClass._ACTCLASSRECORDORGANIZER; + if ("COMPOSITION".equals(codeString)) + return V3ActClass.COMPOSITION; + if ("DOC".equals(codeString)) + return V3ActClass.DOC; + if ("DOCCLIN".equals(codeString)) + return V3ActClass.DOCCLIN; + if ("CDALVLONE".equals(codeString)) + return V3ActClass.CDALVLONE; + if ("CONTAINER".equals(codeString)) + return V3ActClass.CONTAINER; + if ("CATEGORY".equals(codeString)) + return V3ActClass.CATEGORY; + if ("DOCBODY".equals(codeString)) + return V3ActClass.DOCBODY; + if ("DOCSECT".equals(codeString)) + return V3ActClass.DOCSECT; + if ("TOPIC".equals(codeString)) + return V3ActClass.TOPIC; + if ("EXTRACT".equals(codeString)) + return V3ActClass.EXTRACT; + if ("EHR".equals(codeString)) + return V3ActClass.EHR; + if ("FOLDER".equals(codeString)) + return V3ActClass.FOLDER; + if ("GROUPER".equals(codeString)) + return V3ActClass.GROUPER; + if ("CLUSTER".equals(codeString)) + return V3ActClass.CLUSTER; + if ("ACCM".equals(codeString)) + return V3ActClass.ACCM; + if ("ACCT".equals(codeString)) + return V3ActClass.ACCT; + if ("ACSN".equals(codeString)) + return V3ActClass.ACSN; + if ("ADJUD".equals(codeString)) + return V3ActClass.ADJUD; + if ("CACT".equals(codeString)) + return V3ActClass.CACT; + if ("ACTN".equals(codeString)) + return V3ActClass.ACTN; + if ("INFO".equals(codeString)) + return V3ActClass.INFO; + if ("STC".equals(codeString)) + return V3ActClass.STC; + if ("CNTRCT".equals(codeString)) + return V3ActClass.CNTRCT; + if ("FCNTRCT".equals(codeString)) + return V3ActClass.FCNTRCT; + if ("COV".equals(codeString)) + return V3ActClass.COV; + if ("CONC".equals(codeString)) + return V3ActClass.CONC; + if ("HCASE".equals(codeString)) + return V3ActClass.HCASE; + if ("OUTBR".equals(codeString)) + return V3ActClass.OUTBR; + if ("CONS".equals(codeString)) + return V3ActClass.CONS; + if ("CONTREG".equals(codeString)) + return V3ActClass.CONTREG; + if ("CTTEVENT".equals(codeString)) + return V3ActClass.CTTEVENT; + if ("DISPACT".equals(codeString)) + return V3ActClass.DISPACT; + if ("EXPOS".equals(codeString)) + return V3ActClass.EXPOS; + if ("AEXPOS".equals(codeString)) + return V3ActClass.AEXPOS; + if ("TEXPOS".equals(codeString)) + return V3ActClass.TEXPOS; + if ("INC".equals(codeString)) + return V3ActClass.INC; + if ("INFRM".equals(codeString)) + return V3ActClass.INFRM; + if ("INVE".equals(codeString)) + return V3ActClass.INVE; + if ("LIST".equals(codeString)) + return V3ActClass.LIST; + if ("MPROT".equals(codeString)) + return V3ActClass.MPROT; + if ("OBS".equals(codeString)) + return V3ActClass.OBS; + if ("_ActClassROI".equals(codeString)) + return V3ActClass._ACTCLASSROI; + if ("ROIBND".equals(codeString)) + return V3ActClass.ROIBND; + if ("ROIOVL".equals(codeString)) + return V3ActClass.ROIOVL; + if ("_SubjectPhysicalPosition".equals(codeString)) + return V3ActClass._SUBJECTPHYSICALPOSITION; + if ("_SubjectBodyPosition".equals(codeString)) + return V3ActClass._SUBJECTBODYPOSITION; + if ("LLD".equals(codeString)) + return V3ActClass.LLD; + if ("PRN".equals(codeString)) + return V3ActClass.PRN; + if ("RLD".equals(codeString)) + return V3ActClass.RLD; + if ("SFWL".equals(codeString)) + return V3ActClass.SFWL; + if ("SIT".equals(codeString)) + return V3ActClass.SIT; + if ("STN".equals(codeString)) + return V3ActClass.STN; + if ("SUP".equals(codeString)) + return V3ActClass.SUP; + if ("RTRD".equals(codeString)) + return V3ActClass.RTRD; + if ("TRD".equals(codeString)) + return V3ActClass.TRD; + if ("ALRT".equals(codeString)) + return V3ActClass.ALRT; + if ("BATTERY".equals(codeString)) + return V3ActClass.BATTERY; + if ("CLNTRL".equals(codeString)) + return V3ActClass.CLNTRL; + if ("CNOD".equals(codeString)) + return V3ActClass.CNOD; + if ("COND".equals(codeString)) + return V3ActClass.COND; + if ("CASE".equals(codeString)) + return V3ActClass.CASE; + if ("OUTB".equals(codeString)) + return V3ActClass.OUTB; + if ("DGIMG".equals(codeString)) + return V3ActClass.DGIMG; + if ("GEN".equals(codeString)) + return V3ActClass.GEN; + if ("DETPOL".equals(codeString)) + return V3ActClass.DETPOL; + if ("EXP".equals(codeString)) + return V3ActClass.EXP; + if ("LOC".equals(codeString)) + return V3ActClass.LOC; + if ("PHN".equals(codeString)) + return V3ActClass.PHN; + if ("POL".equals(codeString)) + return V3ActClass.POL; + if ("SEQ".equals(codeString)) + return V3ActClass.SEQ; + if ("SEQVAR".equals(codeString)) + return V3ActClass.SEQVAR; + if ("INVSTG".equals(codeString)) + return V3ActClass.INVSTG; + if ("OBSSER".equals(codeString)) + return V3ActClass.OBSSER; + if ("OBSCOR".equals(codeString)) + return V3ActClass.OBSCOR; + if ("POS".equals(codeString)) + return V3ActClass.POS; + if ("POSACC".equals(codeString)) + return V3ActClass.POSACC; + if ("POSCOORD".equals(codeString)) + return V3ActClass.POSCOORD; + if ("SPCOBS".equals(codeString)) + return V3ActClass.SPCOBS; + if ("VERIF".equals(codeString)) + return V3ActClass.VERIF; + if ("PCPR".equals(codeString)) + return V3ActClass.PCPR; + if ("ENC".equals(codeString)) + return V3ActClass.ENC; + if ("POLICY".equals(codeString)) + return V3ActClass.POLICY; + if ("JURISPOL".equals(codeString)) + return V3ActClass.JURISPOL; + if ("ORGPOL".equals(codeString)) + return V3ActClass.ORGPOL; + if ("SCOPOL".equals(codeString)) + return V3ActClass.SCOPOL; + if ("STDPOL".equals(codeString)) + return V3ActClass.STDPOL; + if ("PROC".equals(codeString)) + return V3ActClass.PROC; + if ("SBADM".equals(codeString)) + return V3ActClass.SBADM; + if ("SBEXT".equals(codeString)) + return V3ActClass.SBEXT; + if ("SPECCOLLECT".equals(codeString)) + return V3ActClass.SPECCOLLECT; + if ("REG".equals(codeString)) + return V3ActClass.REG; + if ("REV".equals(codeString)) + return V3ActClass.REV; + if ("SPCTRT".equals(codeString)) + return V3ActClass.SPCTRT; + if ("SPLY".equals(codeString)) + return V3ActClass.SPLY; + if ("DIET".equals(codeString)) + return V3ActClass.DIET; + if ("STORE".equals(codeString)) + return V3ActClass.STORE; + if ("SUBST".equals(codeString)) + return V3ActClass.SUBST; + if ("TRFR".equals(codeString)) + return V3ActClass.TRFR; + if ("TRNS".equals(codeString)) + return V3ActClass.TRNS; + if ("XACT".equals(codeString)) + return V3ActClass.XACT; + throw new IllegalArgumentException("Unknown V3ActClass code '"+codeString+"'"); + } + + public String toCode(V3ActClass code) { + if (code == V3ActClass.ACT) + return "ACT"; + if (code == V3ActClass._ACTCLASSRECORDORGANIZER) + return "_ActClassRecordOrganizer"; + if (code == V3ActClass.COMPOSITION) + return "COMPOSITION"; + if (code == V3ActClass.DOC) + return "DOC"; + if (code == V3ActClass.DOCCLIN) + return "DOCCLIN"; + if (code == V3ActClass.CDALVLONE) + return "CDALVLONE"; + if (code == V3ActClass.CONTAINER) + return "CONTAINER"; + if (code == V3ActClass.CATEGORY) + return "CATEGORY"; + if (code == V3ActClass.DOCBODY) + return "DOCBODY"; + if (code == V3ActClass.DOCSECT) + return "DOCSECT"; + if (code == V3ActClass.TOPIC) + return "TOPIC"; + if (code == V3ActClass.EXTRACT) + return "EXTRACT"; + if (code == V3ActClass.EHR) + return "EHR"; + if (code == V3ActClass.FOLDER) + return "FOLDER"; + if (code == V3ActClass.GROUPER) + return "GROUPER"; + if (code == V3ActClass.CLUSTER) + return "CLUSTER"; + if (code == V3ActClass.ACCM) + return "ACCM"; + if (code == V3ActClass.ACCT) + return "ACCT"; + if (code == V3ActClass.ACSN) + return "ACSN"; + if (code == V3ActClass.ADJUD) + return "ADJUD"; + if (code == V3ActClass.CACT) + return "CACT"; + if (code == V3ActClass.ACTN) + return "ACTN"; + if (code == V3ActClass.INFO) + return "INFO"; + if (code == V3ActClass.STC) + return "STC"; + if (code == V3ActClass.CNTRCT) + return "CNTRCT"; + if (code == V3ActClass.FCNTRCT) + return "FCNTRCT"; + if (code == V3ActClass.COV) + return "COV"; + if (code == V3ActClass.CONC) + return "CONC"; + if (code == V3ActClass.HCASE) + return "HCASE"; + if (code == V3ActClass.OUTBR) + return "OUTBR"; + if (code == V3ActClass.CONS) + return "CONS"; + if (code == V3ActClass.CONTREG) + return "CONTREG"; + if (code == V3ActClass.CTTEVENT) + return "CTTEVENT"; + if (code == V3ActClass.DISPACT) + return "DISPACT"; + if (code == V3ActClass.EXPOS) + return "EXPOS"; + if (code == V3ActClass.AEXPOS) + return "AEXPOS"; + if (code == V3ActClass.TEXPOS) + return "TEXPOS"; + if (code == V3ActClass.INC) + return "INC"; + if (code == V3ActClass.INFRM) + return "INFRM"; + if (code == V3ActClass.INVE) + return "INVE"; + if (code == V3ActClass.LIST) + return "LIST"; + if (code == V3ActClass.MPROT) + return "MPROT"; + if (code == V3ActClass.OBS) + return "OBS"; + if (code == V3ActClass._ACTCLASSROI) + return "_ActClassROI"; + if (code == V3ActClass.ROIBND) + return "ROIBND"; + if (code == V3ActClass.ROIOVL) + return "ROIOVL"; + if (code == V3ActClass._SUBJECTPHYSICALPOSITION) + return "_SubjectPhysicalPosition"; + if (code == V3ActClass._SUBJECTBODYPOSITION) + return "_SubjectBodyPosition"; + if (code == V3ActClass.LLD) + return "LLD"; + if (code == V3ActClass.PRN) + return "PRN"; + if (code == V3ActClass.RLD) + return "RLD"; + if (code == V3ActClass.SFWL) + return "SFWL"; + if (code == V3ActClass.SIT) + return "SIT"; + if (code == V3ActClass.STN) + return "STN"; + if (code == V3ActClass.SUP) + return "SUP"; + if (code == V3ActClass.RTRD) + return "RTRD"; + if (code == V3ActClass.TRD) + return "TRD"; + if (code == V3ActClass.ALRT) + return "ALRT"; + if (code == V3ActClass.BATTERY) + return "BATTERY"; + if (code == V3ActClass.CLNTRL) + return "CLNTRL"; + if (code == V3ActClass.CNOD) + return "CNOD"; + if (code == V3ActClass.COND) + return "COND"; + if (code == V3ActClass.CASE) + return "CASE"; + if (code == V3ActClass.OUTB) + return "OUTB"; + if (code == V3ActClass.DGIMG) + return "DGIMG"; + if (code == V3ActClass.GEN) + return "GEN"; + if (code == V3ActClass.DETPOL) + return "DETPOL"; + if (code == V3ActClass.EXP) + return "EXP"; + if (code == V3ActClass.LOC) + return "LOC"; + if (code == V3ActClass.PHN) + return "PHN"; + if (code == V3ActClass.POL) + return "POL"; + if (code == V3ActClass.SEQ) + return "SEQ"; + if (code == V3ActClass.SEQVAR) + return "SEQVAR"; + if (code == V3ActClass.INVSTG) + return "INVSTG"; + if (code == V3ActClass.OBSSER) + return "OBSSER"; + if (code == V3ActClass.OBSCOR) + return "OBSCOR"; + if (code == V3ActClass.POS) + return "POS"; + if (code == V3ActClass.POSACC) + return "POSACC"; + if (code == V3ActClass.POSCOORD) + return "POSCOORD"; + if (code == V3ActClass.SPCOBS) + return "SPCOBS"; + if (code == V3ActClass.VERIF) + return "VERIF"; + if (code == V3ActClass.PCPR) + return "PCPR"; + if (code == V3ActClass.ENC) + return "ENC"; + if (code == V3ActClass.POLICY) + return "POLICY"; + if (code == V3ActClass.JURISPOL) + return "JURISPOL"; + if (code == V3ActClass.ORGPOL) + return "ORGPOL"; + if (code == V3ActClass.SCOPOL) + return "SCOPOL"; + if (code == V3ActClass.STDPOL) + return "STDPOL"; + if (code == V3ActClass.PROC) + return "PROC"; + if (code == V3ActClass.SBADM) + return "SBADM"; + if (code == V3ActClass.SBEXT) + return "SBEXT"; + if (code == V3ActClass.SPECCOLLECT) + return "SPECCOLLECT"; + if (code == V3ActClass.REG) + return "REG"; + if (code == V3ActClass.REV) + return "REV"; + if (code == V3ActClass.SPCTRT) + return "SPCTRT"; + if (code == V3ActClass.SPLY) + return "SPLY"; + if (code == V3ActClass.DIET) + return "DIET"; + if (code == V3ActClass.STORE) + return "STORE"; + if (code == V3ActClass.SUBST) + return "SUBST"; + if (code == V3ActClass.TRFR) + return "TRFR"; + if (code == V3ActClass.TRNS) + return "TRNS"; + if (code == V3ActClass.XACT) + return "XACT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCode.java new file mode 100644 index 00000000000..a869601ff67 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCode.java @@ -0,0 +1,10030 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActCode { + + /** + * An account represents a grouping of financial transactions that are tracked and reported together with a single balance. Examples of account codes (types) are Patient billing accounts (collection of charges), Cost centers; Cash. + */ + _ACTACCOUNTCODE, + /** + * An account for collecting charges, reversals, adjustments and payments, including deductibles, copayments, coinsurance (financial transactions) credited or debited to the account receivable account for a patient's encounter. + */ + ACCTRECEIVABLE, + /** + * Cash + */ + CASH, + /** + * Description: Types of advance payment to be made on a plastic card usually issued by a financial institution used of purchasing services and/or products. + */ + CC, + /** + * American Express + */ + AE, + /** + * Diner's Club + */ + DN, + /** + * Discover Card + */ + DV, + /** + * Master Card + */ + MC, + /** + * Visa + */ + V, + /** + * An account representing charges and credits (financial transactions) for a patient's encounter. + */ + PBILLACCT, + /** + * Includes coded responses that will occur as a result of the adjudication of an electronic invoice at a summary level and provides guidance on interpretation of the referenced adjudication results. + */ + _ACTADJUDICATIONCODE, + /** + * Catagorization of grouping criteria for the associated transactions and/or summary (totals, subtotals). + */ + _ACTADJUDICATIONGROUPCODE, + /** + * Transaction counts and value totals by Contract Identifier. + */ + CONT, + /** + * Transaction counts and value totals for each calendar day within the date range specified. + */ + DAY, + /** + * Transaction counts and value totals by service location (e.g clinic). + */ + LOC, + /** + * Transaction counts and value totals for each calendar month within the date range specified. + */ + MONTH, + /** + * Transaction counts and value totals for the date range specified. + */ + PERIOD, + /** + * Transaction counts and value totals by Provider Identifier. + */ + PROV, + /** + * Transaction counts and value totals for each calendar week within the date range specified. + */ + WEEK, + /** + * Transaction counts and value totals for each calendar year within the date range specified. + */ + YEAR, + /** + * The invoice element has been accepted for payment but one or more adjustment(s) have been made to one or more invoice element line items (component charges). + + Also includes the concept 'Adjudicate as zero' and items not covered under a particular Policy. + + Invoice element can be reversed (nullified). + + Recommend that the invoice element is saved for DUR (Drug Utilization Reporting). + */ + AA, + /** + * The invoice element has been accepted for payment but one or more adjustment(s) have been made to one or more invoice element line items (component charges) without changing the amount. + + Invoice element can be reversed (nullified). + + Recommend that the invoice element is saved for DUR (Drug Utilization Reporting). + */ + ANF, + /** + * The invoice element has passed through the adjudication process but payment is refused due to one or more reasons. + + Includes items such as patient not covered, or invoice element is not constructed according to payer rules (e.g. 'invoice submitted too late'). + + If one invoice element line item in the invoice element structure is rejected, the remaining line items may not be adjudicated and the complete group is treated as rejected. + + A refused invoice element can be forwarded to the next payer (for Coordination of Benefits) or modified and resubmitted to refusing payer. + + Invoice element cannot be reversed (nullified) as there is nothing to reverse. + + Recommend that the invoice element is not saved for DUR (Drug Utilization Reporting). + */ + AR, + /** + * The invoice element was/will be paid exactly as submitted, without financial adjustment(s). + + If the dollar amount stays the same, but the billing codes have been amended or financial adjustments have been applied through the adjudication process, the invoice element is treated as "Adjudicated with Adjustment". + + If information items are included in the adjudication results that do not affect the monetary amounts paid, then this is still Adjudicated as Submitted (e.g. 'reached Plan Maximum on this Claim'). + + Invoice element can be reversed (nullified). + + Recommend that the invoice element is saved for DUR (Drug Utilization Reporting). + */ + AS, + /** + * Actions to be carried out by the recipient of the Adjudication Result information. + */ + _ACTADJUDICATIONRESULTACTIONCODE, + /** + * The adjudication result associated is to be displayed to the receiver of the adjudication result. + */ + DISPLAY, + /** + * The adjudication result associated is to be printed on the specified form, which is then provided to the covered party. + */ + FORM, + /** + * Definition:An identifying modifier code for healthcare interventions or procedures. + */ + _ACTBILLABLEMODIFIERCODE, + /** + * Description:CPT modifier codes are found in Appendix A of CPT 2000 Standard Edition. + */ + CPTM, + /** + * Description:HCPCS Level II (HCFA-assigned) and Carrier-assigned (Level III) modifiers are reported in Appendix A of CPT 2000 Standard Edition and in the Medicare Bulletin. + */ + HCPCSA, + /** + * The type of provision(s) made for reimbursing for the deliver of healthcare services and/or goods provided by a Provider, over a specified period. + */ + _ACTBILLINGARRANGEMENTCODE, + /** + * A billing arrangement where a Provider charges a lump sum to provide a prescribed group (volume) of services to a single patient which occur over a period of time. Services included in the block may vary. + + This billing arrangement is also known as Program of Care for some specific Payors and Program Fees for other Payors. + */ + BLK, + /** + * A billing arrangement where the payment made to a Provider is determined by analyzing one or more demographic attributes about the persons/patients who are enrolled with the Provider (in their practice). + */ + CAP, + /** + * A billing arrangement where a Provider charges a lump sum to provide a particular volume of one or more interventions/procedures or groups of interventions/procedures. + */ + CONTF, + /** + * A billing arrangement where a Provider charges for non-clinical items. This includes interest in arrears, mileage, etc. Clinical content is not included in Invoices submitted with this type of billing arrangement. + */ + FINBILL, + /** + * A billing arrangement where funding is based on a list of individuals registered as patients of the Provider. + */ + ROST, + /** + * A billing arrangement where a Provider charges a sum to provide a group (volume) of interventions/procedures to one or more patients within a defined period of time, typically on the same date. Interventions/procedures included in the session may vary. + */ + SESS, + /** + * Type of bounded ROI. + */ + _ACTBOUNDEDROICODE, + /** + * A fully specified bounded Region of Interest (ROI) delineates a ROI in which only those dimensions participate that are specified by boundary criteria, whereas all other dimensions are excluded. For example a ROI to mark an episode of "ST elevation" in a subset of the EKG leads V2, V3, and V4 would include 4 boundaries, one each for time, V2, V3, and V4. + */ + ROIFS, + /** + * A partially specified bounded Region of Interest (ROI) specifies a ROI in which at least all values in the dimensions specified by the boundary criteria participate. For example, if an episode of ventricular fibrillations (VFib) is observed, it usually doesn't make sense to exclude any EKG leads from the observation and the partially specified ROI would contain only one boundary for time indicating the time interval where VFib was observed. + */ + ROIPS, + /** + * Description:The type and scope of responsibility taken-on by the performer of the Act for a specific subject of care. + */ + _ACTCAREPROVISIONCODE, + /** + * Description:The type and scope of legal and/or professional responsibility taken-on by the performer of the Act for a specific subject of care as described by a credentialing agency, i.e. government or non-government agency. Failure in executing this Act may result in loss of credential to the person or organization who participates as performer of the Act. Excludes employment agreements. + + + Example:Hospital license; physician license; clinic accreditation. + */ + _ACTCREDENTIALEDCARECODE, + /** + * Description:The type and scope of legal and/or professional responsibility taken-on by the performer of the Act for a specific subject of care as described by an agency for credentialing individuals. + */ + _ACTCREDENTIALEDCAREPROVISIONPERSONCODE, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CACC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CAIC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CAMC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CANC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CAPC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CBGC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CCCC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CCGC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CCPC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CCSC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CDEC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CDRC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CEMC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CFPC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CIMC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CMGC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board + */ + CNEC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CNMC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CNQC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CNSC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + COGC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + COMC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + COPC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + COSC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + COTC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CPEC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CPGC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CPHC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CPRC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CPSC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CPYC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CROC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CRPC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CSUC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CTSC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CURC, + /** + * Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board. + */ + CVSC, + /** + * Description:Scope of responsibility taken-on for physician care of a patient as defined by a governmental licensing agency. + */ + LGPC, + /** + * Description:The type and scope of legal and/or professional responsibility taken-on by the performer of the Act for a specific subject of care as described by an agency for credentialing programs within organizations. + */ + _ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + AALC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + AAMC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + ABHC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + ACAC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + ACHC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + AHOC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + ALTC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency. + */ + AOSC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CACS, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CAMI, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CAST, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CBAR, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CCAD, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CCAR, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CDEP, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CDGD, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CDIA, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CEPI, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CFEL, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CHFC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CHRO, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CHYP, + /** + * Description:. + */ + CMIH, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CMSC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + COJR, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CONC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + COPD, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CORT, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CPAD, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CPND, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CPST, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CSDM, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CSIC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CSLD, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CSPT, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CTBU, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CVDC, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CWMA, + /** + * Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency. + */ + CWOH, + /** + * Domain provides codes that qualify the ActEncounterClass (ENC) + */ + _ACTENCOUNTERCODE, + /** + * A comprehensive term for health care provided in a healthcare facility (e.g. a practitioneraTMs office, clinic setting, or hospital) on a nonresident basis. The term ambulatory usually implies that the patient has come to the location and is not assigned to a bed. Sometimes referred to as an outpatient encounter. + */ + AMB, + /** + * A patient encounter that takes place at a dedicated healthcare service delivery location where the patient receives immediate evaluation and treatment, provided until the patient can be discharged or responsibility for the patient's care is transferred elsewhere (for example, the patient could be admitted as an inpatient or transferred to another facility.) + */ + EMER, + /** + * A patient encounter that takes place both outside a dedicated service delivery location and outside a patient's residence. Example locations might include an accident site and at a supermarket. + */ + FLD, + /** + * Healthcare encounter that takes place in the residence of the patient or a designee + */ + HH, + /** + * A patient encounter where a patient is admitted by a hospital or equivalent facility, assigned to a location where patients generally stay at least overnight and provided with room, board, and continuous nursing service. + */ + IMP, + /** + * An acute inpatient encounter. + */ + ACUTE, + /** + * Any category of inpatient encounter except 'acute' + */ + NONAC, + /** + * A patient encounter where patient is scheduled or planned to receive service delivery in the future, and the patient is given a pre-admission account number. When the patient comes back for subsequent service, the pre-admission encounter is selected and is encapsulated into the service registration, and a new account number is generated. + + + Usage Note: This is intended to be used in advance of encounter types such as ambulatory, inpatient encounter, virtual, etc. + */ + PRENC, + /** + * An encounter where the patient is admitted to a health care facility for a predetermined length of time, usually less than 24 hours. + */ + SS, + /** + * A patient encounter where the patient and the practitioner(s) are not in the same physical location. Examples include telephone conference, email exchange, robotic surgery, and televideo conference. + */ + VR, + /** + * General category of medical service provided to the patient during their encounter. + */ + _ACTMEDICALSERVICECODE, + /** + * Provision of Alternate Level of Care to a patient in an acute bed. Patient is waiting for placement in a long-term care facility and is unable to return home. + */ + ALC, + /** + * Provision of diagnosis and treatment of diseases and disorders affecting the heart + */ + CARD, + /** + * Provision of recurring care for chronic illness. + */ + CHR, + /** + * Provision of treatment for oral health and/or dental surgery. + */ + DNTL, + /** + * Provision of treatment for drug abuse. + */ + DRGRHB, + /** + * General care performed by a general practitioner or family doctor as a responsible provider for a patient. + */ + GENRL, + /** + * Provision of diagnostic and/or therapeutic treatment. + */ + MED, + /** + * Provision of care of women during pregnancy, childbirth and immediate postpartum period. Also known as Maternity. + */ + OBS, + /** + * Provision of treatment and/or diagnosis related to tumors and/or cancer. + */ + ONC, + /** + * Provision of care for patients who are living or dying from an advanced illness. + */ + PALL, + /** + * Provision of diagnosis and treatment of diseases and disorders affecting children. + */ + PED, + /** + * Pharmaceutical care performed by a pharmacist. + */ + PHAR, + /** + * Provision of treatment for physical injury. + */ + PHYRHB, + /** + * Provision of treatment of psychiatric disorder relating to mental illness. + */ + PSYCH, + /** + * Provision of surgical treatment. + */ + SURG, + /** + * Description: Coded types of attachments included to support a healthcare claim. + */ + _ACTCLAIMATTACHMENTCATEGORYCODE, + /** + * Description: Automobile Information Attachment + */ + AUTOATTCH, + /** + * Description: Document Attachment + */ + DOCUMENT, + /** + * Description: Health Record Attachment + */ + HEALTHREC, + /** + * Description: Image Attachment + */ + IMG, + /** + * Description: Lab Results Attachment + */ + LABRESULTS, + /** + * Description: Digital Model Attachment + */ + MODEL, + /** + * Description: Work Injury related additional Information Attachment + */ + WIATTCH, + /** + * Description: Digital X-Ray Attachment + */ + XRAY, + /** + * Definition: The type of consent directive, e.g., to consent or dissent to collect, access, or use in specific ways within an EHRS or for health information exchange; or to disclose health information for purposes such as research. + */ + _ACTCONSENTTYPE, + /** + * Definition: Consent to have healthcare information collected in an electronic health record. This entails that the information may be used in analysis, modified, updated. + */ + ICOL, + /** + * Definition: Consent to have collected healthcare information disclosed. + */ + IDSCL, + /** + * Definition: Consent to access healthcare information. + */ + INFA, + /** + * Definition: Consent to access or "read" only, which entails that the information is not to be copied, screen printed, saved, emailed, stored, re-disclosed or altered in any way. This level ensures that data which is masked or to which access is restricted will not be. + + + Example: Opened and then emailed or screen printed for use outside of the consent directive purpose. + */ + INFAO, + /** + * Definition: Consent to access and save only, which entails that access to the saved copy will remain locked. + */ + INFASO, + /** + * Definition: Information re-disclosed without the patient's consent. + */ + IRDSCL, + /** + * Definition: Consent to have healthcare information in an electronic health record accessed for research purposes. + */ + RESEARCH, + /** + * Definition: Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes, but without consent to re-identify the information under any circumstance. + */ + RSDID, + /** + * Definition: Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes re-identified under specific circumstances outlined in the consent. + + + Example:: Where there is a need to inform the subject of potential health issues. + */ + RSREID, + /** + * Constrains the ActCode to the domain of Container Registration + */ + _ACTCONTAINERREGISTRATIONCODE, + /** + * Used by one system to inform another that it has received a container. + */ + ID, + /** + * Used by one system to inform another that the container is in position for specimen transfer (e.g., container removal from track, pipetting, etc.). + */ + IP, + /** + * Used by one system to inform another that the container has been released from that system. + */ + L, + /** + * Used by one system to inform another that the container did not arrive at its next expected location. + */ + M, + /** + * Used by one system to inform another that the specific container is being processed by the equipment. It is useful as a response to a query about Container Status, when the specific step of the process is not relevant. + */ + O, + /** + * Status is used by one system to inform another that the processing has been completed, but the container has not been released from that system. + */ + R, + /** + * Used by one system to inform another that the container is no longer available within the scope of the system (e.g., tube broken or discarded). + */ + X, + /** + * An observation form that determines parameters or attributes of an Act. Examples are the settings of a ventilator machine as parameters of a ventilator treatment act; the controls on dillution factors of a chemical analyzer as a parameter of a laboratory observation act; the settings of a physiologic measurement assembly (e.g., time skew) or the position of the body while measuring blood pressure. + + Control variables are forms of observations because just as with clinical observations, the Observation.code determines the parameter and the Observation.value assigns the value. While control variables sometimes can be observed (by noting the control settings or an actually measured feedback loop) they are not primary observations, in the sense that a control variable without a primary act is of no use (e.g., it makes no sense to record a blood pressure position without recording a blood pressure, whereas it does make sense to record a systolic blood pressure without a diastolic blood pressure). + */ + _ACTCONTROLVARIABLE, + /** + * Specifies whether or not automatic repeat testing is to be initiated on specimens. + */ + AUTO, + /** + * A baseline value for the measured test that is inherently contained in the diluent. In the calculation of the actual result for the measured test, this baseline value is normally considered. + */ + ENDC, + /** + * Specifies whether or not further testing may be automatically or manually initiated on specimens. + */ + REFLEX, + /** + * Response to an insurance coverage eligibility query or authorization request. + */ + _ACTCOVERAGECONFIRMATIONCODE, + /** + * Indication of authorization for healthcare service(s) and/or product(s). If authorization is approved, funds are set aside. + */ + _ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE, + /** + * Authorization approved and funds have been set aside to pay for specified healthcare service(s) and/or product(s) within defined criteria for the authorization. + */ + AUTH, + /** + * Authorization for specified healthcare service(s) and/or product(s) denied. + */ + NAUTH, + /** + * Criteria that are applicable to the authorized coverage. + */ + _ACTCOVERAGELIMITCODE, + /** + * Maximum amount paid or maximum number of services/products covered; or maximum amount or number covered during a specified time period under the policy or program. + */ + _ACTCOVERAGEQUANTITYLIMITCODE, + /** + * Codes representing the time period during which coverage is available; or financial participation requirements are in effect. + */ + COVPRD, + /** + * Definition: Maximum amount paid by payer or covered party; or maximum number of services or products covered under the policy or program during a covered party's lifetime. + */ + LFEMX, + /** + * Maximum net amount that will be covered for the product or service specified. + */ + NETAMT, + /** + * Definition: Maximum amount paid by payer or covered party; or maximum number of services/products covered under the policy or program by time period specified by the effective time on the act. + */ + PRDMX, + /** + * Maximum unit price that will be covered for the authorized product or service. + */ + UNITPRICE, + /** + * Maximum number of items that will be covered of the product or service specified. + */ + UNITQTY, + /** + * Definition: Codes representing the maximum coverate or financial participation requirements. + */ + COVMX, + /** + * Definition: Set of codes indicating the type of insurance policy or program that pays for the cost of benefits provided to covered parties. + */ + _ACTCOVERAGETYPECODE, + /** + * Set of codes indicating the type of insurance policy or other source of funds to cover healthcare costs. + */ + _ACTINSURANCEPOLICYCODE, + /** + * Private insurance policy that provides coverage in addition to other policies (e.g. in addition to a Public Healthcare insurance policy). + */ + EHCPOL, + /** + * Insurance policy that provides for an allotment of funds replenished on a periodic (e.g. annual) basis. The use of the funds under this policy is at the discretion of the covered party. + */ + HSAPOL, + /** + * Insurance policy for injuries sustained in an automobile accident. Will also typically covered non-named parties to the policy, such as pedestrians and passengers. + */ + AUTOPOL, + /** + * Definition: An automobile insurance policy under which the insurance company will cover the cost of damages to an automobile owned by the named insured that are caused by accident or intentionally by another party. + */ + COL, + /** + * Definition: An automobile insurance policy under which the insurance company will indemnify a loss for which another motorist is liable if that motorist is unable to pay because he or she is uninsured. Coverage under the policy applies to bodily injury damages only. Injuries to the covered party caused by a hit-and-run driver are also covered. + */ + UNINSMOT, + /** + * Insurance policy funded by a public health system such as a provincial or national health plan. Examples include BC MSP (British Columbia Medical Services Plan) OHIP (Ontario Health Insurance Plan), NHS (National Health Service). + */ + PUBLICPOL, + /** + * Definition: A public or government health program that administers and funds coverage for dental care to assist program eligible who meet financial and health status criteria. + */ + DENTPRG, + /** + * Definition: A public or government health program that administers and funds coverage for health and social services to assist program eligible who meet financial and health status criteria related to a particular disease. + + + Example: Reproductive health, sexually transmitted disease, and end renal disease programs. + */ + DISEASEPRG, + /** + * Definition: A program that provides low-income, uninsured, and underserved women access to timely, high-quality screening and diagnostic services, to detect breast and cervical cancer at the earliest stages. + + + Example: To improve women's access to screening for breast and cervical cancers, Congress passed the Breast and Cervical Cancer Mortality Prevention Act of 1990, which guided CDC in creating the National Breast and Cervical Cancer Early Detection Program (NBCCEDP), which provides access to critical breast and cervical cancer screening services for underserved women in the United States. An estimated 7 to 10% of U.S. women of screening age are eligible to receive NBCCEDP services. Federal guidelines establish an eligibility baseline to direct services to uninsured and underinsured women at or below 250% of federal poverty level; ages 18 to 64 for cervical screening; ages 40 to 64 for breast screening. + */ + CANPRG, + /** + * Definition: A public or government program that administers publicly funded coverage of kidney dialysis and kidney transplant services. + + Example: In the U.S., the Medicare End-stage Renal Disease program (ESRD), the National Kidney Foundation (NKF) American Kidney Fund (AKF) The Organ Transplant Fund. + */ + ENDRENAL, + /** + * Definition: Government administered and funded HIV-AIDS program for beneficiaries meeting financial and health status criteria. Administration, funding levels, eligibility criteria, covered benefits, provider types, and financial participation are typically set by a regulatory process. Payer responsibilities for administering the program may be delegated to contractors. + + + Example: In the U.S., the Ryan White program, which is administered by the Health Resources and Services Administration. + */ + HIVAIDS, + /** + * mandatory health program + */ + MANDPOL, + /** + * Definition: Government administered and funded mental health program for beneficiaries meeting financial and mental health status criteria. Administration, funding levels, eligibility criteria, covered benefits, provider types, and financial participation are typically set by a regulatory process. Payer responsibilities for administering the program may be delegated to contractors. + + + Example: In the U.S., states receive funding for substance use programs from the Substance Abuse Mental Health Administration (SAMHSA). + */ + MENTPRG, + /** + * Definition: Government administered and funded program to support provision of care to underserved populations through safety net clinics. + + + Example: In the U.S., safety net providers such as federally qualified health centers (FQHC) receive funding under PHSA Section 330 grants administered by the Health Resources and Services Administration. + */ + SAFNET, + /** + * Definition: Government administered and funded substance use program for beneficiaries meeting financial, substance use behavior, and health status criteria. Beneficiaries may be required to enroll as a result of legal proceedings. Administration, funding levels, eligibility criteria, covered benefits, provider types, and financial participation are typically set by a regulatory process. Payer responsibilities for administering the program may be delegated to contractors. + + + Example: In the U.S., states receive funding for substance use programs from the Substance Abuse Mental Health Administration (SAMHSA). + */ + SUBPRG, + /** + * Definition: A government health program that provides coverage for health services to persons meeting eligibility criteria such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds. + */ + SUBSIDIZ, + /** + * Definition: A government health program that provides coverage through managed care contracts for health services to persons meeting eligibility criteria such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds. + + + Discussion: The structure and business processes for underwriting and administering a subsidized managed care program is further specified by the Underwriter and Payer Role.class and Role.code. + */ + SUBSIDMC, + /** + * Definition: A government health program that provides coverage for health services to persons meeting eligibility criteria for a supplemental health policy or program such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds. + + + Example: Supplemental health coverage program may cover the cost of a health program or policy financial participations, such as the copays and the premiums, and may provide coverage for services in addition to those covered under the supplemented health program or policy. In the U.S., Medicaid programs may pay the premium for a covered party who is also covered under the Medicare program or a private health policy. + + + Discussion: The structure and business processes for underwriting and administering a subsidized supplemental retiree health program is further specified by the Underwriter and Payer Role.class and Role.code. + */ + SUBSUPP, + /** + * Insurance policy for injuries sustained in the work place or in the course of employment. + */ + WCBPOL, + /** + * Definition: Set of codes indicating the type of insurance policy. Insurance, in law and economics, is a form of risk management primarily used to hedge against the risk of potential financial loss. Insurance is defined as the equitable transfer of the risk of a potential loss, from one entity to another, in exchange for a premium and duty of care. A policy holder is an individual or an organization enters into a contract with an underwriter which stipulates that, in exchange for payment of a sum of money (a premium), one or more covered parties (insureds) is guaranteed compensation for losses resulting from certain perils under specified conditions. The underwriter analyzes the risk of loss, makes a decision as to whether the risk is insurable, and prices the premium accordingly. A policy provides benefits that indemnify or cover the cost of a loss incurred by a covered party, and may include coverage for services required to remediate a loss. An insurance policy contains pertinent facts about the policy holder, the insurance coverage, the covered parties, and the insurer. A policy may include exemptions and provisions specifying the extent to which the indemnification clause cannot be enforced for intentional tortious conduct of a covered party, e.g., whether the covered parties are jointly or severably insured. + + + Discussion: In contrast to programs, an insurance policy has one or more policy holders, who own the policy. The policy holder may be the covered party, a relative of the covered party, a partnership, or a corporation, e.g., an employer. A subscriber of a self-insured health insurance policy is a policy holder. A subscriber of an employer sponsored health insurance policy is holds a certificate of coverage, but is not a policy holder; the policy holder is the employer. See CoveredRoleType. + */ + _ACTINSURANCETYPECODE, + /** + * Definition: Set of codes indicating the type of health insurance policy that covers health services provided to covered parties. A health insurance policy is a written contract for insurance between the insurance company and the policyholder, and contains pertinent facts about the policy owner (the policy holder), the health insurance coverage, the insured subscribers and dependents, and the insurer. Health insurance is typically administered in accordance with a plan, which specifies (1) the type of health services and health conditions that will be covered under what circumstances (e.g., exclusion of a pre-existing condition, service must be deemed medically necessary; service must not be experimental; service must provided in accordance with a protocol; drug must be on a formulary; service must be prior authorized; or be a referral from a primary care provider); (2) the type and affiliation of providers (e.g., only allopathic physicians, only in network, only providers employed by an HMO); (3) financial participations required of covered parties (e.g., co-pays, coinsurance, deductibles, out-of-pocket); and (4) the manner in which services will be paid (e.g., under indemnity or fee-for-service health plans, the covered party typically pays out-of-pocket and then file a claim for reimbursement, while health plans that have contractual relationships with providers, i.e., network providers, typically do not allow the providers to bill the covered party for the cost of the service until after filing a claim with the payer and receiving reimbursement). + */ + _ACTHEALTHINSURANCETYPECODE, + /** + * Definition: A health insurance policy that that covers benefits for dental services. + */ + DENTAL, + /** + * Definition: A health insurance policy that covers benefits for healthcare services provided for named conditions under the policy, e.g., cancer, diabetes, or HIV-AIDS. + */ + DISEASE, + /** + * Definition: A health insurance policy that covers benefits for prescription drugs, pharmaceuticals, and supplies. + */ + DRUGPOL, + /** + * Definition: A health insurance policy that covers healthcare benefits by protecting covered parties from medical expenses arising from health conditions, sickness, or accidental injury as well as preventive care. Health insurance policies explicitly exclude coverage for losses insured under a disability policy, workers' compensation program, liability insurance (including automobile insurance); or for medical expenses, coverage for on-site medical clinics or for limited dental or vision benefits when these are provided under a separate policy. + + + Discussion: Health insurance policies are offered by health insurance plans that typically reimburse providers for covered services on a fee-for-service basis, that is, a fee that is the allowable amount that a provider may charge. This is in contrast to managed care plans, which typically prepay providers a per-member/per-month amount or capitation as reimbursement for all covered services rendered. Health insurance plans include indemnity and healthcare services plans. + */ + HIP, + /** + * Definition: An insurance policy that covers benefits for long-term care services people need when they no longer can care for themselves. This may be due to an accident, disability, prolonged illness or the simple process of aging. Long-term care services assist with activities of daily living including: + + + + Help at home with day-to-day activities, such as cooking, cleaning, bathing and dressing + + + + Care in the community, such as in an adult day care facility + + + + Supervised care provided in an assisted living facility + + + + Skilled care provided in a nursing home + */ + LTC, + /** + * Definition: Government mandated program providing coverage, disability income, and vocational rehabilitation for injuries sustained in the work place or in the course of employment. Employers may either self-fund the program, purchase commercial coverage, or pay a premium to a government entity that administers the program. Employees may be required to pay premiums toward the cost of coverage as well. + + Managed care policies specifically exclude coverage for losses insured under a disability policy, workers' compensation program, liability insurance (including automobile insurance); or for medical expenses, coverage for on-site medical clinics or for limited dental or vision benefits when these are provided under a separate policy. + + + Discussion: Managed care policies are offered by managed care plans that contract with selected providers or health care organizations to provide comprehensive health care at a discount to covered parties and coordinate the financing and delivery of health care. Managed care uses medical protocols and procedures agreed on by the medical profession to be cost effective, also known as medical practice guidelines. Providers are typically reimbursed for covered services by a capitated amount on a per member per month basis that may reflect difference in the health status and level of services anticipated to be needed by the member. + */ + MCPOL, + /** + * Definition: A policy for a health plan that has features of both an HMO and a FFS plan. Like an HMO, a POS plan encourages the use its HMO network to maintain discounted fees with participating providers, but recognizes that sometimes covered parties want to choose their own provider. The POS plan allows a covered party to use providers who are not part of the HMO network (non-participating providers). However, there is a greater cost associated with choosing these non-network providers. A covered party will usually pay deductibles and coinsurances that are substantially higher than the payments when he or she uses a plan provider. Use of non-participating providers often requires the covered party to pay the provider directly and then to file a claim for reimbursement, like in an FFS plan. + */ + POS, + /** + * Definition: A policy for a health plan that provides coverage for health care only through contracted or employed physicians and hospitals located in particular geographic or service areas. HMOs emphasize prevention and early detection of illness. Eligibility to enroll in an HMO is determined by where a covered party lives or works. + */ + HMO, + /** + * Definition: A network-based, managed care plan that allows a covered party to choose any health care provider. However, if care is received from a "preferred" (participating in-network) provider, there are generally higher benefit coverage and lower deductibles. + */ + PPO, + /** + * Definition: A health insurance policy that covers benefits for mental health services and prescriptions. + */ + MENTPOL, + /** + * Definition: A health insurance policy that covers benefits for substance use services. + */ + SUBPOL, + /** + * Definition: Set of codes for a policy that provides coverage for health care expenses arising from vision services. + + A health insurance policy that covers benefits for vision care services, prescriptions, and products. + */ + VISPOL, + /** + * Definition: An insurance policy that provides a regular payment to compensate for income lost due to the covered party's inability to work because of illness or injury. + */ + DIS, + /** + * Definition: An insurance policy under a benefit plan run by an employer or employee organization for the purpose of providing benefits other than pension-related to employees and their families. Typically provides health-related benefits, benefits for disability, disease or unemployment, or day care and scholarship benefits, among others. An employer sponsored health policy includes coverage of health care expenses arising from sickness or accidental injury, coverage for on-site medical clinics or for dental or vision benefits, which are typically provided under a separate policy. Coverage excludes health care expenses covered by accident or disability, workers' compensation, liability or automobile insurance. + */ + EWB, + /** + * Definition: An insurance policy that covers qualified benefits under a Flexible Benefit plan such as group medical insurance, long and short term disability income insurance, group term life insurance for employees only up to $50,000 face amount, specified disease coverage such as a cancer policy, dental and/or vision insurance, hospital indemnity insurance, accidental death and dismemberment insurance, a medical expense reimbursement plan and a dependent care reimbursement plan. + + + Discussion: See UnderwriterRoleTypeCode flexible benefit plan which is defined as a benefit plan that allows employees to choose from several life, health, disability, dental, and other insurance plans according to their individual needs. Also known as cafeteria plans. Authorized under Section 125 of the Revenue Act of 1978. + */ + FLEXP, + /** + * Definition: A policy under which the insurer agrees to pay a sum of money upon the occurrence of the covered partys death. In return, the policyholder agrees to pay a stipulated amount called a premium at regular intervals. Life insurance indemnifies the beneficiary for the loss of the insurable interest that a beneficiary has in the life of a covered party. For persons related by blood, a substantial interest established through love and affection, and for all other persons, a lawful and substantial economic interest in having the life of the insured continue. An insurable interest is required when purchasing life insurance on another person. Specific exclusions are often written into the contract to limit the liability of the insurer; for example claims resulting from suicide or relating to war, riot and civil commotion. + + + Discussion:A life insurance policy may be used by the covered party as a source of health care coverage in the case of a viatical settlement, which is the sale of a life insurance policy by the policy owner, before the policy matures. Such a sale, at a price discounted from the face amount of the policy but usually in excess of the premiums paid or current cash surrender value, provides the seller an immediate cash settlement. Generally, viatical settlements involve insured individuals with a life expectancy of less than two years. In countries without state-subsidized healthcare and high healthcare costs (e.g. United States), this is a practical way to pay extremely high health insurance premiums that severely ill people face. Some people are also familiar with life settlements, which are similar transactions but involve insureds with longer life expectancies (two to fifteen years). + */ + LIFE, + /** + * Definition: A policy that, after an initial premium or premiums, pays out a sum at pre-determined intervals. + + For example, a policy holder may pay $10,000, and in return receive $150 each month until he dies; or $1,000 for each of 14 years or death benefits if he dies before the full term of the annuity has elapsed. + */ + ANNU, + /** + * Definition: Life insurance under which the benefit is payable only if the insured dies during a specified period. If an insured dies during that period, the beneficiary receives the death payments. If the insured survives, the policy ends and the beneficiary receives nothing. + */ + TLIFE, + /** + * Definition: Life insurance under which the benefit is payable upon the insuredaTMs death or diagnosis of a terminal illness. If an insured dies during that period, the beneficiary receives the death payments. If the insured survives, the policy ends and the beneficiary receives nothing + */ + ULIFE, + /** + * Definition: A type of insurance that covers damage to or loss of the policyholderaTMs property by providing payments for damages to property damage or the injury or death of living subjects. The terms "casualty" and "liability" insurance are often used interchangeably. Both cover the policyholder's legal liability for damages caused to other persons and/or their property. + */ + PNC, + /** + * Definition: An agreement between two or more insurance companies by which the risk of loss is proportioned. Thus the risk of loss is spread and a disproportionately large loss under a single policy does not fall on one insurance company. Acceptance by an insurer, called a reinsurer, of all or part of the risk of loss of another insurance company. + + + Discussion: Reinsurance is a means by which an insurance company can protect itself against the risk of losses with other insurance companies. Individuals and corporations obtain insurance policies to provide protection for various risks (hurricanes, earthquakes, lawsuits, collisions, sickness and death, etc.). Reinsurers, in turn, provide insurance to insurance companies. + + For example, an HMO may purchase a reinsurance policy to protect itself from losing too much money from one insured's particularly expensive health care costs. An insurance company issuing an automobile liability policy, with a limit of $100,000 per accident may reinsure its liability in excess of $10,000. A fire insurance company which issues a large policy generally reinsures a portion of the risk with one or several other companies. Also called risk control insurance or stop-loss insurance. + */ + REI, + /** + * Definition: + + + + + A risk or part of a risk for which there is no normal insurance market available. + + + + Insurance written by unauthorized insurance companies. Surplus lines insurance is insurance placed with unauthorized insurance companies through licensed surplus lines agents or brokers. + */ + SURPL, + /** + * Definition: A form of insurance protection that provides additional liability coverage after the limits of your underlying policy are reached. An umbrella liability policy also protects you (the insured) in many situations not covered by the usual liability policies. + */ + UMBRL, + /** + * Definition: A set of codes used to indicate coverage under a program. A program is an organized structure for administering and funding coverage of a benefit package for covered parties meeting eligibility criteria, typically related to employment, health, financial, and demographic status. Programs are typically established or permitted by legislation with provisions for ongoing government oversight. Regulations may mandate the structure of the program, the manner in which it is funded and administered, covered benefits, provider types, eligibility criteria and financial participation. A government agency may be charged with implementing the program in accordance to the regulation. Risk of loss under a program in most cases would not meet what an underwriter would consider an insurable risk, i.e., the risk is not random in nature, not financially measurable, and likely requires subsidization with government funds. + + + Discussion: Programs do not have policy holders or subscribers. Program eligibles are enrolled based on health status, statutory eligibility, financial status, or age. Program eligibles who are covered parties under the program may be referred to as members, beneficiaries, eligibles, or recipients. Programs risk are underwritten by not for profit organizations such as governmental entities, and the beneficiaries typically do not pay for any or some portion of the cost of coverage. See CoveredPartyRoleType. + */ + _ACTPROGRAMTYPECODE, + /** + * Definition: A program that covers the cost of services provided directly to a beneficiary who typically has no other source of coverage without charge. + */ + CHAR, + /** + * Definition: A program that covers the cost of services provided to crime victims for injuries or losses related to the occurrence of a crime. + */ + CRIME, + /** + * Definition: An employee assistance program is run by an employer or employee organization for the purpose of providing benefits and covering all or part of the cost for employees to receive counseling, referrals, and advice in dealing with stressful issues in their lives. These may include substance abuse, bereavement, marital problems, weight issues, or general wellness issues. The services are usually provided by a third-party, rather than the company itself, and the company receives only summary statistical data from the service provider. Employee's names and services received are kept confidential. + */ + EAP, + /** + * Definition: A set of codes used to indicate a government program that is an organized structure for administering and funding coverage of a benefit package for covered parties meeting eligibility criteria, typically related to employment, health and financial status. Government programs are established or permitted by legislation with provisions for ongoing government oversight. Regulation mandates the structure of the program, the manner in which it is funded and administered, covered benefits, provider types, eligibility criteria and financial participation. A government agency is charged with implementing the program in accordance to the regulation + + + Example: Federal employee health benefit program in the U.S. + */ + GOVEMP, + /** + * Definition: A government program that provides health coverage to individuals who are considered medically uninsurable or high risk, and who have been denied health insurance due to a serious health condition. In certain cases, it also applies to those who have been quoted very high premiums a" again, due to a serious health condition. The pool charges premiums for coverage. Because the pool covers high-risk people, it incurs a higher level of claims than premiums can cover. The insurance industry pays into the pool to make up the difference and help it remain viable. + */ + HIRISK, + /** + * Definition: Services provided directly and through contracted and operated indigenous peoples health programs. + + + Example: Indian Health Service in the U.S. + */ + IND, + /** + * Definition: A government program that provides coverage for health services to military personnel, retirees, and dependents. A covered party who is a subscriber can choose from among Fee-for-Service (FFS) plans, and their Preferred Provider Organizations (PPO), or Plans offering a Point of Service (POS) Product, or Health Maintenance Organizations. + + + Example: In the U.S., TRICARE, CHAMPUS. + */ + MILITARY, + /** + * Definition: A government mandated program with specific eligibility requirements based on premium contributions made during employment, length of employment, age, and employment status, e.g., being retired, disabled, or a dependent of a covered party under this program. Benefits typically include ambulatory, inpatient, and long-term care, such as hospice care, home health care and respite care. + */ + RETIRE, + /** + * Definition: A social service program funded by a public or governmental entity. + + + Example: Programs providing habilitation, food, lodging, medicine, transportation, equipment, devices, products, education, training, counseling, alteration of living or work space, and other resources to persons meeting eligibility criteria. + */ + SOCIAL, + /** + * Definition: Services provided directly and through contracted and operated veteran health programs. + */ + VET, + /** + * Codes dealing with the management of Detected Issue observations + */ + _ACTDETECTEDISSUEMANAGEMENTCODE, + /** + * Codes dealing with the management of Detected Issue observations for the administrative and patient administrative acts domains. + */ + _ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE, + /** + * Authorization Issue Management Code + */ + _AUTHORIZATIONISSUEMANAGEMENTCODE, + /** + * Used to temporarily override normal authorization rules to gain access to data in a case of emergency. Use of this override code will typically be monitored, and a procedure to verify its proper use may be triggered when used. + */ + EMAUTH, + /** + * Description: Indicates that the permissions have been externally verified and the request should be processed. + */ + _21, + /** + * Confirmed drug therapy appropriate + */ + _1, + /** + * Consulted other supplier/pharmacy, therapy confirmed + */ + _19, + /** + * Assessed patient, therapy is appropriate + */ + _2, + /** + * Description: The patient has the appropriate indication or diagnosis for the action to be taken. + */ + _22, + /** + * Description: It has been confirmed that the appropriate pre-requisite therapy has been tried. + */ + _23, + /** + * Patient gave adequate explanation + */ + _3, + /** + * Consulted other supply source, therapy still appropriate + */ + _4, + /** + * Consulted prescriber, therapy confirmed + */ + _5, + /** + * Consulted prescriber and recommended change, prescriber declined + */ + _6, + /** + * Concurrent therapy triggering alert is no longer on-going or planned + */ + _7, + /** + * Confirmed supply action appropriate + */ + _14, + /** + * Patient's existing supply was lost/wasted + */ + _15, + /** + * Supply date is due to patient vacation + */ + _16, + /** + * Supply date is intended to carry patient over weekend + */ + _17, + /** + * Supply is intended for use during a leave of absence from an institution. + */ + _18, + /** + * Description: Supply is different than expected as an additional quantity has been supplied in a separate dispense. + */ + _20, + /** + * Order is performed as issued, but other action taken to mitigate potential adverse effects + */ + _8, + /** + * Provided education or training to the patient on appropriate therapy use + */ + _10, + /** + * Instituted an additional therapy to mitigate potential negative effects + */ + _11, + /** + * Suspended existing therapy that triggered interaction for the duration of this therapy + */ + _12, + /** + * Aborted existing therapy that triggered interaction. + */ + _13, + /** + * Arranged to monitor patient for adverse effects + */ + _9, + /** + * Concepts that identify the type or nature of exposure interaction. Examples include "household", "care giver", "intimate partner", "common space", "common substance", etc. to further describe the nature of interaction. + */ + _ACTEXPOSURECODE, + /** + * Description: Exposure participants' interaction occurred in a child care setting + */ + CHLDCARE, + /** + * Description: An interaction where the exposure participants traveled in/on the same vehicle (not necessarily concurrently, e.g. both are passengers of the same plane, but on different flights of that plane). + */ + CONVEYNC, + /** + * Description: Exposure participants' interaction occurred during the course of health care delivery or in a health care delivery setting, but did not involve the direct provision of care (e.g. a janitor cleaning a patient's hospital room). + */ + HLTHCARE, + /** + * Description: Exposure interaction occurred in context of one providing care for the other, i.e. a babysitter providing care for a child, a home-care aide providing assistance to a paraplegic. + */ + HOMECARE, + /** + * Description: Exposure participants' interaction occurred when both were patients being treated in the same (acute) health care delivery facility. + */ + HOSPPTNT, + /** + * Description: Exposure participants' interaction occurred when one visited the other who was a patient being treated in a health care delivery facility. + */ + HOSPVSTR, + /** + * Description: Exposure interaction occurred in context of domestic interaction, i.e. both participants reside in the same household. + */ + HOUSEHLD, + /** + * Description: Exposure participants' interaction occurred in the course of one or both participants being incarcerated at a correctional facility + */ + INMATE, + /** + * Description: Exposure interaction was intimate, i.e. participants are intimate companions (e.g. spouses, domestic partners). + */ + INTIMATE, + /** + * Description: Exposure participants' interaction occurred in the course of one or both participants being resident at a long term care facility (second participant may be a visitor, worker, resident or a physical place or object within the facility). + */ + LTRMCARE, + /** + * Description: An interaction where the exposure participants were both present in the same location/place/space. + */ + PLACE, + /** + * Description: Exposure participants' interaction occurred during the course of health care delivery by a provider (e.g. a physician treating a patient in her office). + */ + PTNTCARE, + /** + * Description: Exposure participants' interaction occurred in an academic setting (e.g., participants are fellow students, or student and teacher). + */ + SCHOOL2, + /** + * Description: An interaction where the exposure participants are social associates or members of the same extended family + */ + SOCIAL2, + /** + * Description: An interaction where the exposure participants shared or co-used a common substance (e.g. drugs, needles, or common food item). + */ + SUBSTNCE, + /** + * Description: An interaction where the exposure participants traveled together in/on the same vehicle/trip (e.g. concurrent co-passengers). + */ + TRAVINT, + /** + * Description: Exposure interaction occurred in a work setting, i.e. participants are co-workers. + */ + WORK2, + /** + * ActFinancialTransactionCode + */ + _ACTFINANCIALTRANSACTIONCODE, + /** + * A type of transaction that represents a charge for a service or product. Expressed in monetary terms. + */ + CHRG, + /** + * A type of transaction that represents a reversal of a previous charge for a service or product. Expressed in monetary terms. It has the opposite effect of a standard charge. + */ + REV, + /** + * Set of codes indicating the type of incident or accident. + */ + _ACTINCIDENTCODE, + /** + * Incident or accident as the result of a motor vehicle accident + */ + MVA, + /** + * Incident or accident is the result of a school place accident. + */ + SCHOOL, + /** + * Incident or accident is the result of a sporting accident. + */ + SPT, + /** + * Incident or accident is the result of a work place accident + */ + WPA, + /** + * Description: The type of health information to which the subject of the information or the subject's delegate consents or dissents. + */ + _ACTINFORMATIONACCESSCODE, + /** + * Description: Provide consent to collect, use, disclose, or access adverse drug reaction information for a patient. + */ + ACADR, + /** + * Description: Provide consent to collect, use, disclose, or access all information for a patient. + */ + ACALL, + /** + * Description: Provide consent to collect, use, disclose, or access allergy information for a patient. + */ + ACALLG, + /** + * Description: Provide consent to collect, use, disclose, or access informational consent information for a patient. + */ + ACCONS, + /** + * Description: Provide consent to collect, use, disclose, or access demographics information for a patient. + */ + ACDEMO, + /** + * Description: Provide consent to collect, use, disclose, or access diagnostic imaging information for a patient. + */ + ACDI, + /** + * Description: Provide consent to collect, use, disclose, or access immunization information for a patient. + */ + ACIMMUN, + /** + * Description: Provide consent to collect, use, disclose, or access lab test result information for a patient. + */ + ACLAB, + /** + * Description: Provide consent to collect, use, disclose, or access medical condition information for a patient. + */ + ACMED, + /** + * Definition: Provide consent to view or access medical condition information for a patient. + */ + ACMEDC, + /** + * Description:Provide consent to collect, use, disclose, or access mental health information for a patient. + */ + ACMEN, + /** + * Description: Provide consent to collect, use, disclose, or access common observation information for a patient. + */ + ACOBS, + /** + * Description: Provide consent to collect, use, disclose, or access coverage policy or program for a patient. + */ + ACPOLPRG, + /** + * Description: Provide consent to collect, use, disclose, or access provider information for a patient. + */ + ACPROV, + /** + * Description: Provide consent to collect, use, disclose, or access professional service information for a patient. + */ + ACPSERV, + /** + * Description:Provide consent to collect, use, disclose, or access substance abuse information for a patient. + */ + ACSUBSTAB, + /** + * Concepts conveying the context in which consent to transfer specified patient health information for collection, access, use or disclosure applies. + */ + _ACTINFORMATIONACCESSCONTEXTCODE, + /** + * Description: Information transfer in accordance with subjectaTMs consent directive. + */ + INFAUT, + /** + * Consent to collect, access, use, or disclose specified patient health information only after explicit consent. + */ + INFCON, + /** + * Description: Information transfer in accordance with judicial system protocol. + */ + INFCRT, + /** + * Consent to collect, access, use, or disclose specified patient health information only if necessary to avert potential danger to other persons. + */ + INFDNG, + /** + * Description: Information transfer in accordance with emergency information transfer protocol. + */ + INFEMER, + /** + * Consent to collect, access, use, or disclose specified patient health information only if necessary to avert potential public welfare risk. + */ + INFPWR, + /** + * Description: Information transfer in accordance with regulatory protocol, e.g., for public health, welfare, and safety. + */ + INFREG, + /** + * Definition:Indicates the set of information types which may be manipulated or referenced, such as for recommending access restrictions. + */ + _ACTINFORMATIONCATEGORYCODE, + /** + * Description: All patient information. + */ + ALLCAT, + /** + * Definition:All information pertaining to a patient's allergy and intolerance records. + */ + ALLGCAT, + /** + * Description: All information pertaining to a patient's adverse drug reactions. + */ + ARCAT, + /** + * Definition:All information pertaining to a patient's common observation records (height, weight, blood pressure, temperature, etc.). + */ + COBSCAT, + /** + * Definition:All information pertaining to a patient's demographics (such as name, date of birth, gender, address, etc). + */ + DEMOCAT, + /** + * Definition:All information pertaining to a patient's diagnostic image records (orders & results). + */ + DICAT, + /** + * Definition:All information pertaining to a patient's vaccination records. + */ + IMMUCAT, + /** + * Description: All information pertaining to a patient's lab test records (orders & results) + */ + LABCAT, + /** + * Definition:All information pertaining to a patient's medical condition records. + */ + MEDCCAT, + /** + * Description: All information pertaining to a patient's mental health records. + */ + MENCAT, + /** + * Definition:All information pertaining to a patient's professional service records (such as smoking cessation, counseling, medication review, mental health). + */ + PSVCCAT, + /** + * Definition:All information pertaining to a patient's medication records (orders, dispenses and other active medications). + */ + RXCAT, + /** + * Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results. + */ + _ACTINVOICEELEMENTCODE, + /** + * Codes representing a grouping of invoice elements (totals, sub-totals), reported through a Payment Advice or a Statement of Financial Activity (SOFA). The code can represent summaries by day, location, payee and other cost elements such as bonus, retroactive adjustment and transaction fees. + */ + _ACTINVOICEADJUDICATIONPAYMENTCODE, + /** + * Codes representing adjustments to a Payment Advice such as retroactive, clawback, garnishee, etc. + */ + _ACTINVOICEADJUDICATIONPAYMENTGROUPCODE, + /** + * Payment initiated by the payor as the result of adjudicating a submitted invoice that arrived to the payor from an electronic source that did not provide a conformant set of HL7 messages (e.g. web claim submission). + */ + ALEC, + /** + * Bonus payments based on performance, volume, etc. as agreed to by the payor. + */ + BONUS, + /** + * An amount still owing to the payor but the payment is 0$ and this cannot be settled until a future payment is made. + */ + CFWD, + /** + * Fees deducted on behalf of a payee for tuition and continuing education. + */ + EDU, + /** + * Fees deducted on behalf of a payee for charges based on a shorter payment frequency (i.e. next day versus biweekly payments. + */ + EPYMT, + /** + * Fees deducted on behalf of a payee for charges based on a per-transaction or time-period (e.g. monthly) fee. + */ + GARN, + /** + * Payment is based on a payment intent for a previously submitted Invoice, based on formal adjudication results.. + */ + INVOICE, + /** + * Payment initiated by the payor as the result of adjudicating a paper (original, may have been faxed) invoice. + */ + PINV, + /** + * An amount that was owed to the payor as indicated, by a carry forward adjusment, in a previous payment advice + */ + PPRD, + /** + * Professional association fee that is collected by the payor from the practitioner/provider on behalf of the association + */ + PROA, + /** + * Retroactive adjustment such as fee rate adjustment due to contract negotiations. + */ + RECOV, + /** + * Bonus payments based on performance, volume, etc. as agreed to by the payor. + */ + RETRO, + /** + * Fees deducted on behalf of a payee for charges based on a per-transaction or time-period (e.g. monthly) fee. + */ + TRAN, + /** + * Codes representing a grouping of invoice elements (totals, sub-totals), reported through a Payment Advice or a Statement of Financial Activity (SOFA). The code can represent summaries by day, location, payee, etc. + */ + _ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE, + /** + * Transaction counts and value totals by invoice type (e.g. RXDINV - Pharmacy Dispense) + */ + INVTYPE, + /** + * Transaction counts and value totals by each instance of an invoice payee. + */ + PAYEE, + /** + * Transaction counts and value totals by each instance of an invoice payor. + */ + PAYOR, + /** + * Transaction counts and value totals by each instance of a messaging application on a single processor. It is a registered identifier known to the receivers. + */ + SENDAPP, + /** + * Codes representing a service or product that is being invoiced (billed). The code can represent such concepts as "office visit", "drug X", "wheelchair" and other billable items such as taxes, service charges and discounts. + */ + _ACTINVOICEDETAILCODE, + /** + * An identifying data string for healthcare products. + */ + _ACTINVOICEDETAILCLINICALPRODUCTCODE, + /** + * Description:United Nations Standard Products and Services Classification, managed by Uniform Code Council (UCC): www.unspsc.org + */ + UNSPSC, + /** + * An identifying data string for A substance used as a medication or in the preparation of medication. + */ + _ACTINVOICEDETAILDRUGPRODUCTCODE, + /** + * Description:Global Trade Item Number is an identifier for trade items developed by GS1 (comprising the former EAN International and Uniform Code Council). + */ + GTIN, + /** + * Description:Universal Product Code is one of a wide variety of bar code languages widely used in the United States and Canada for items in stores. + */ + UPC, + /** + * The detail item codes to identify charges or changes to the total billing of a claim due to insurance rules and payments. + */ + _ACTINVOICEDETAILGENERICCODE, + /** + * The billable item codes to identify adjudicator specified components to the total billing of a claim. + */ + _ACTINVOICEDETAILGENERICADJUDICATORCODE, + /** + * That portion of the eligible charges which a covered party must pay for each service and/or product. It is a percentage of the eligible amount for the service/product that is typically charged after the covered party has met the policy deductible. This amount represents the covered party's coinsurance that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results. + */ + COIN, + /** + * That portion of the eligible charges which a covered party must pay for each service and/or product. It is a defined amount per service/product of the eligible amount for the service/product. This amount represents the covered party's copayment that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results. + */ + COPAYMENT, + /** + * That portion of the eligible charges which a covered party must pay in a particular period (e.g. annual) before the benefits are payable by the adjudicator. This amount represents the covered party's deductible that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results. + */ + DEDUCTIBLE, + /** + * The guarantor, who may be the patient, pays the entire charge for a service. Reasons for such action may include: there is no insurance coverage for the service (e.g. cosmetic surgery); the patient wishes to self-pay for the service; or the insurer denies payment for the service due to contractual provisions such as the need for prior authorization. + */ + PAY, + /** + * That total amount of the eligible charges which a covered party must periodically pay for services and/or products prior to the Medicaid program providing any coverage. This amount represents the covered party's spend down that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results + */ + SPEND, + /** + * The billable item codes to identify modifications to a billable item charge. As for example after hours increase in the office visit fee. + */ + _ACTINVOICEDETAILGENERICMODIFIERCODE, + /** + * Premium paid on service fees in compensation for practicing outside of normal working hours. + */ + AFTHRS, + /** + * Premium paid on service fees in compensation for practicing in a remote location. + */ + ISOL, + /** + * Premium paid on service fees in compensation for practicing at a location other than normal working location. + */ + OOO, + /** + * The billable item codes to identify provider supplied charges or changes to the total billing of a claim. + */ + _ACTINVOICEDETAILGENERICPROVIDERCODE, + /** + * A charge to compensate the provider when a patient cancels an appointment with insufficient time for the provider to make another appointment with another patient. + */ + CANCAPT, + /** + * A reduction in the amount charged as a percentage of the amount. For example a 5% discount for volume purchase. + */ + DSC, + /** + * A premium on a service fee is requested because, due to extenuating circumstances, the service took an extraordinary amount of time or supplies. + */ + ESA, + /** + * Under agreement between the parties (payor and provider), a guaranteed level of income is established for the provider over a specific, pre-determined period of time. The normal course of business for the provider is submission of fee-for-service claims. Should the fee-for-service income during the specified period of time be less than the agreed to amount, a top-up amount is paid to the provider equal to the difference between the fee-for-service total and the guaranteed income amount for that period of time. The details of the agreement may specify (or not) a requirement for repayment to the payor in the event that the fee-for-service income exceeds the guaranteed amount. + */ + FFSTOP, + /** + * Anticipated or actual final fee associated with treating a patient. + */ + FNLFEE, + /** + * Anticipated or actual initial fee associated with treating a patient. + */ + FRSTFEE, + /** + * An increase in the amount charged as a percentage of the amount. For example, 12% markup on product cost. + */ + MARKUP, + /** + * A charge to compensate the provider when a patient does not show for an appointment. + */ + MISSAPT, + /** + * Anticipated or actual periodic fee associated with treating a patient. For example, expected billing cycle such as monthly, quarterly. The actual period (e.g. monthly, quarterly) is specified in the unit quantity of the Invoice Element. + */ + PERFEE, + /** + * The amount for a performance bonus that is being requested from a payor for the performance of certain services (childhood immunizations, influenza immunizations, mammograms, pap smears) on a sliding scale. That is, for 90% of childhood immunizations to a maximum of $2200/yr. An invoice is created at the end of the service period (one year) and a code is submitted indicating the percentage achieved and the dollar amount claimed. + */ + PERMBNS, + /** + * A charge is requested because the patient failed to pick up the item and it took an amount of time to return it to stock for future use. + */ + RESTOCK, + /** + * A charge to cover the cost of travel time and/or cost in conjuction with providing a service or product. It may be charged per kilometer or per hour based on the effective agreement. + */ + TRAVEL, + /** + * Premium paid on service fees in compensation for providing an expedited response to an urgent situation. + */ + URGENT, + /** + * The billable item codes to identify modifications to a billable item charge by a tax factor applied to the amount. As for example 7% provincial sales tax. + */ + _ACTINVOICEDETAILTAXCODE, + /** + * Federal tax on transactions such as the Goods and Services Tax (GST) + */ + FST, + /** + * Joint Federal/Provincial Sales Tax + */ + HST, + /** + * Tax levied by the provincial or state jurisdiction such as Provincial Sales Tax + */ + PST, + /** + * An identifying data string for medical facility accommodations. + */ + _ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE, + /** + * Accommodation type. In Intent mood, represents the accommodation type requested. In Event mood, represents accommodation assigned/used. In Definition mood, represents the available accommodation type. + */ + _ACTENCOUNTERACCOMMODATIONCODE, + /** + * Description:Accommodation type. In Intent mood, represents the accommodation type requested. In Event mood, represents accommodation assigned/used. In Definition mood, represents the available accommodation type. + */ + _HL7ACCOMMODATIONCODE, + /** + * Accommodations used in the care of diseases that are transmitted through casual contact or respiratory transmission. + */ + I, + /** + * Accommodations in which there is only 1 bed. + */ + P, + /** + * Uniquely designed and elegantly decorated accommodations with many amenities available for an additional charge. + */ + S, + /** + * Accommodations in which there are 2 beds. + */ + SP, + /** + * Accommodations in which there are 3 or more beds. + */ + W, + /** + * Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results. + + Invoice elements of this type signify a grouping of one or more children (detail) invoice elements. They do not have intrinsic costing associated with them, but merely reflect the sum of all costing for it's immediate children invoice elements. + */ + _ACTINVOICEGROUPCODE, + /** + * Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results. + + Invoice elements of this type signify a grouping of one or more children (detail) invoice elements. They do not have intrinsic costing associated with them, but merely reflect the sum of all costing for it's immediate children invoice elements. + + The domain is only specified for an intermediate invoice element group (non-root or non-top level) for an Invoice. + */ + _ACTINVOICEINTERGROUPCODE, + /** + * A grouping of invoice element groups and details including the ones specifying the compound ingredients being invoiced. It may also contain generic detail items such as markup. + */ + CPNDDRGING, + /** + * A grouping of invoice element details including the one specifying an ingredient drug being invoiced. It may also contain generic detail items such as tax or markup. + */ + CPNDINDING, + /** + * A grouping of invoice element groups and details including the ones specifying the compound supplies being invoiced. It may also contain generic detail items such as markup. + */ + CPNDSUPING, + /** + * A grouping of invoice element details including the one specifying the drug being invoiced. It may also contain generic detail items such as markup. + */ + DRUGING, + /** + * A grouping of invoice element details including the ones specifying the frame fee and the frame dispensing cost that are being invoiced. + */ + FRAMEING, + /** + * A grouping of invoice element details including the ones specifying the lens fee and the lens dispensing cost that are being invoiced. + */ + LENSING, + /** + * A grouping of invoice element details including the one specifying the product (good or supply) being invoiced. It may also contain generic detail items such as tax or discount. + */ + PRDING, + /** + * Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results. + + Invoice elements of this type signify a grouping of one or more children (detail) invoice elements. They do not have intrinsic costing associated with them, but merely reflect the sum of all costing for it's immediate children invoice elements. + + Codes from this domain reflect the type of Invoice such as Pharmacy Dispense, Clinical Service and Clinical Product. The domain is only specified for the root (top level) invoice element group for an Invoice. + */ + _ACTINVOICEROOTGROUPCODE, + /** + * Clinical product invoice where the Invoice Grouping contains one or more billable item and is supported by clinical product(s). + + For example, a crutch or a wheelchair. + */ + CPINV, + /** + * Clinical Services Invoice which can be used to describe a single service, multiple services or repeated services. + + [1] Single Clinical services invoice where the Invoice Grouping contains one billable item and is supported by one clinical service. + + For example, a single service for an office visit or simple clinical procedure (e.g. knee mobilization). + + [2] Multiple Clinical services invoice where the Invoice Grouping contains more than one billable item, supported by one or more clinical services. The services can be distinct and over multiple dates, but for the same patient. This type of invoice includes a series of treatments which must be adjudicated together. + + For example, an adjustment and ultrasound for a chiropractic session where fees are associated for each of the services and adjudicated (invoiced) together. + + [3] Repeated Clinical services invoice where the Invoice Grouping contains one or more billable item, supported by the same clinical service repeated over a period of time. + + For example, the same Chiropractic adjustment (service or treatment) delivered on 3 separate occasions over a period of time at the discretion of the provider (e.g. month). + */ + CSINV, + /** + * A clinical Invoice Grouping consisting of one or more services and one or more product. Billing for these service(s) and product(s) are supported by multiple clinical billable events (acts). + + All items in the Invoice Grouping must be adjudicated together to be acceptable to the Adjudicator. + + For example , a brace (product) invoiced together with the fitting (service). + */ + CSPINV, + /** + * Invoice Grouping without clinical justification. These will not require identification of participants and associations from a clinical context such as patient and provider. + + Examples are interest charges and mileage. + */ + FININV, + /** + * A clinical Invoice Grouping consisting of one or more oral health services. Billing for these service(s) are supported by multiple clinical billable events (acts). + + All items in the Invoice Grouping must be adjudicated together to be acceptable to the Adjudicator. + */ + OHSINV, + /** + * HealthCare facility preferred accommodation invoice. + */ + PAINV, + /** + * Pharmacy dispense invoice for a compound. + */ + RXCINV, + /** + * Pharmacy dispense invoice not involving a compound + */ + RXDINV, + /** + * Clinical services invoice where the Invoice Group contains one billable item for multiple clinical services in one or more sessions. + */ + SBFINV, + /** + * Vision dispense invoice for up to 2 lens (left and right), frame and optional discount. Eye exams are invoiced as a clinical service invoice. + */ + VRXINV, + /** + * Identifies the different types of summary information that can be reported by queries dealing with Statement of Financial Activity (SOFA). The summary information is generally used to help resolve balance discrepancies between providers and payors. + */ + _ACTINVOICEELEMENTSUMMARYCODE, + /** + * Total counts and total net amounts adjudicated for all Invoice Groupings that were adjudicated within a time period based on the adjudication date of the Invoice Grouping. + */ + _INVOICEELEMENTADJUDICATED, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted electronically. + */ + ADNFPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted electronically. + */ + ADNFPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually. + */ + ADNFPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually. + */ + ADNFPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently nullified in the specified period and submitted electronically. + */ + ADNFSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently nullified in the specified period and submitted electronically. + */ + ADNFSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually. + */ + ADNFSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually. + */ + ADNFSPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + ADNPPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + ADNPPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + ADNPPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + ADNPPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + ADNPSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + ADNPSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + ADNPSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + ADNPSPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + ADPPPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + ADPPPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + ADPPPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + ADPPPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + ADPPSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + ADPPSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + ADPPSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + ADPPSPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted electronically. + */ + ADRFPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted electronically. + */ + ADRFPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted manually. + */ + ADRFPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted manually. + */ + ADRFPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted electronically. + */ + ADRFSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted electronically. + */ + ADRFSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted manually. + */ + ADRFSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted manually. + */ + ADRFSPMNCT, + /** + * Total counts and total net amounts paid for all Invoice Groupings that were paid within a time period based on the payment date. + */ + _INVOICEELEMENTPAID, + /** + * Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted electronically. + */ + PDNFPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted electronically. + */ + PDNFPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually. + */ + PDNFPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually. + */ + PDNFPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently nullified in the specified period and submitted electronically. + */ + PDNFSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently cancelled in the specified period and submitted electronically. + */ + PDNFSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually. + */ + PDNFSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually. + */ + PDNFSPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + PDNPPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + PDNPPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + PDNPPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + PDNPPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + PDNPSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically. + */ + PDNPSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + PDNPSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually. + */ + PDNPSPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + PDPPPPELAT, + /** + * Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + PDPPPPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + PDPPPPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + PDPPPPMNCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + PDPPSPELAT, + /** + * Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically. + */ + PDPPSPELCT, + /** + * Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + PDPPSPMNAT, + /** + * Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually. + */ + PDPPSPMNCT, + /** + * Total counts and total net amounts billed for all Invoice Groupings that were submitted within a time period. Adjudicated invoice elements are included. + */ + _INVOICEELEMENTSUBMITTED, + /** + * Identifies the total net amount billed for all submitted Invoice Groupings within a time period and submitted electronically. Adjudicated invoice elements are included. + */ + SBBLELAT, + /** + * Identifies the total number of submitted Invoice Groupings within a time period and submitted electronically. Adjudicated invoice elements are included. + */ + SBBLELCT, + /** + * Identifies the total net amount billed for all submitted Invoice Groupings that were nullified within a time period and submitted electronically. Adjudicated invoice elements are included. + */ + SBNFELAT, + /** + * Identifies the total number of submitted Invoice Groupings that were nullified within a time period and submitted electronically. Adjudicated invoice elements are included. + */ + SBNFELCT, + /** + * Identifies the total net amount billed for all submitted Invoice Groupings that are pended or held by the payor, within a time period and submitted electronically. Adjudicated invoice elements are not included. + */ + SBPDELAT, + /** + * Identifies the total number of submitted Invoice Groupings that are pended or held by the payor, within a time period and submitted electronically. Adjudicated invoice elements are not included. + */ + SBPDELCT, + /** + * Includes coded responses that will occur as a result of the adjudication of an electronic invoice at a summary level and provides guidance on interpretation of the referenced adjudication results. + */ + _ACTINVOICEOVERRIDECODE, + /** + * Insurance coverage problems have been encountered. Additional explanation information to be supplied. + */ + COVGE, + /** + * Electronic form with supporting or additional information to follow. + */ + EFORM, + /** + * Fax with supporting or additional information to follow. + */ + FAX, + /** + * The medical service was provided to a patient in good faith that they had medical coverage, although no evidence of coverage was available before service was rendered. + */ + GFTH, + /** + * Knowingly over the payor's published time limit for this invoice possibly due to a previous payor's delays in processing. Additional reason information will be supplied. + */ + LATE, + /** + * Manual review of the invoice is requested. Additional information to be supplied. This may be used in the case of an appeal. + */ + MANUAL, + /** + * The medical service and/or product was provided to a patient that has coverage in another jurisdiction. + */ + OOJ, + /** + * The service provided is required for orthodontic purposes. If the covered party has orthodontic coverage, then the service may be paid. + */ + ORTHO, + /** + * Paper documentation (or other physical format) with supporting or additional information to follow. + */ + PAPER, + /** + * Public Insurance has been exhausted. Invoice has not been sent to Public Insuror and therefore no Explanation Of Benefits (EOB) is provided with this Invoice submission. + */ + PIE, + /** + * Allows provider to explain lateness of invoice to a subsequent payor. + */ + PYRDELAY, + /** + * Rules of practice do not require a physician's referral for the provider to perform a billable service. + */ + REFNR, + /** + * The same service was delivered within a time period that would usually indicate a duplicate billing. However, the repeated service is a medical necessity and therefore not a duplicate. + */ + REPSERV, + /** + * The service provided is not related to another billed service. For example, 2 unrelated services provided on the same day to the same patient which may normally result in a refused payment for one of the items. + */ + UNRELAT, + /** + * The provider has received a verbal permission from an authoritative source to perform the service or supply the item being invoiced. + */ + VERBAUTH, + /** + * Provides codes associated with ActClass value of LIST (working list) + */ + _ACTLISTCODE, + /** + * ActObservationList + */ + _ACTOBSERVATIONLIST, + /** + * List of acts representing a care plan. The acts can be in a varierty of moods including event (EVN) to record acts that have been carried out as part of the care plan. + */ + CARELIST, + /** + * List of condition observations. + */ + CONDLIST, + /** + * List of intolerance observations. + */ + INTOLIST, + /** + * List of problem observations. + */ + PROBLIST, + /** + * List of risk factor observations. + */ + RISKLIST, + /** + * List of observations in goal mood. + */ + GOALLIST, + /** + * Codes used to identify different types of 'duration-based' working lists. Examples include "Continuous/Chronic", "Short-Term" and "As-Needed". + */ + _ACTTHERAPYDURATIONWORKINGLISTCODE, + /** + * Definition:A collection of concepts that identifies different types of 'duration-based' mediation working lists. + + + Examples:"Continuous/Chronic" "Short-Term" and "As Needed" + */ + _ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE, + /** + * Definition:A list of medications which the patient is only expected to consume for the duration of the current order or limited set of orders and which is not expected to be renewed. + */ + ACU, + /** + * Definition:A list of medications which are expected to be continued beyond the present order and which the patient should be assumed to be taking unless explicitly stopped. + */ + CHRON, + /** + * Definition:A list of medications which the patient is intended to be administered only once. + */ + ONET, + /** + * Definition:A list of medications which the patient will consume intermittently based on the behavior of the condition for which the medication is indicated. + */ + PRN, + /** + * List of medications. + */ + MEDLIST, + /** + * List of current medications. + */ + CURMEDLIST, + /** + * List of discharge medications. + */ + DISCMEDLIST, + /** + * Historical list of medications. + */ + HISTMEDLIST, + /** + * Identifies types of monitoring programs + */ + _ACTMONITORINGPROTOCOLCODE, + /** + * A monitoring program that focuses on narcotics and/or commonly abused substances that are subject to legal restriction. + */ + CTLSUB, + /** + * Definition:A monitoring program that focuses on a drug which is under investigation and has not received regulatory approval for the condition being investigated + */ + INV, + /** + * Description:A drug that can be prescribed (and reimbursed) only if it meets certain criteria. + */ + LU, + /** + * Medicines designated in this way may be supplied for patient use without a prescription. The exact form of categorisation will vary in different realms. + */ + OTC, + /** + * Some form of prescription is required before the related medicine can be supplied for a patient. The exact form of regulation will vary in different realms. + */ + RX, + /** + * Definition:A drug that requires prior approval (to be reimbursed) before being dispensed + */ + SA, + /** + * Description:A drug that requires special access permission to be prescribed and dispensed. + */ + SAC, + /** + * Description:Concepts representing indications (reasons for clinical action) other than diagnosis and symptoms. + */ + _ACTNONOBSERVATIONINDICATIONCODE, + /** + * Description:Contrast agent required for imaging study. + */ + IND01, + /** + * Description:Provision of prescription or direction to consume a product for purposes of bowel clearance in preparation for a colonoscopy. + */ + IND02, + /** + * Description:Provision of medication as a preventative measure during a treatment or other period of increased risk. + */ + IND03, + /** + * Description:Provision of medication during pre-operative phase; e.g., antibiotics before dental surgery or bowel prep before colon surgery. + */ + IND04, + /** + * Description:Provision of medication for pregnancy --e.g., vitamins, antibiotic treatments for vaginal tract colonization, etc. + */ + IND05, + /** + * Identifies the type of verification investigation being undertaken with respect to the subject of the verification activity. + + + Examples: + + + + + Verification of eligibility for coverage under a policy or program - aka enrolled/covered by a policy or program + + + + Verification of record - e.g., person has record in an immunization registry + + + + Verification of enumeration - e.g. NPI + + + + Verification of Board Certification - provider specific + + + + Verification of Certification - e.g. JAHCO, NCQA, URAC + + + + Verification of Conformance - e.g. entity use with HIPAA, conformant to the CCHIT EHR system criteria + + + + Verification of Provider Credentials + + + + Verification of no adverse findings - e.g. on National Provider Data Bank, Health Integrity Protection Data Base (HIPDB) + */ + _ACTOBSERVATIONVERIFICATIONTYPE, + /** + * Definition:Indicates that the paper version of the record has, should be or is being verified against the electronic version. + */ + VFPAPER, + /** + * Code identifying the method or the movement of payment instructions. + + Codes are drawn from X12 data element 591 (PaymentMethodCode) + */ + _ACTPAYMENTCODE, + /** + * Automated Clearing House (ACH). + */ + ACH, + /** + * A written order to a bank to pay the amount specified from funds on deposit. + */ + CHK, + /** + * Electronic Funds Transfer (EFT) deposit into the payee's bank account + */ + DDP, + /** + * Non-Payment Data. + */ + NON, + /** + * Identifies types of dispensing events + */ + _ACTPHARMACYSUPPLYTYPE, + /** + * A fill providing sufficient supply for one day + */ + DF, + /** + * A supply action where there is no 'valid' order for the supplied medication. E.g. Emergency vacation supply, weekend supply (when prescriber is unavailable to provide a renewal prescription) + */ + EM, + /** + * An emergency supply where the expectation is that a formal order authorizing the supply will be provided at a later date. + */ + SO, + /** + * The initial fill against an order. (This includes initial fills against refill orders.) + */ + FF, + /** + * A first fill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets). + */ + FFC, + /** + * A first fill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets) and also where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + FFCS, + /** + * A first fill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.) + */ + FFP, + /** + * A first fill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.) and also where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets) + */ + FFPS, + /** + * A first fill where the strength supplied is less than the ordered strength. (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + FFSS, + /** + * A fill where a small portion is provided to allow for determination of the therapy effectiveness and patient tolerance and also where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + TFS, + /** + * A fill where a small portion is provided to allow for determination of the therapy effectiveness and patient tolerance. + */ + TF, + /** + * A supply action to restock a smaller more local dispensary. + */ + FS, + /** + * A supply of a manufacturer sample + */ + MS, + /** + * A fill against an order that has already been filled (or partially filled) at least once. + */ + RF, + /** + * A supply action that provides sufficient material for a single dose. + */ + UD, + /** + * A refill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets.) + */ + RFC, + /** + * A refill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets.) and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + RFCS, + /** + * The first fill against an order that has already been filled at least once at another facility. + */ + RFF, + /** + * The first fill against an order that has already been filled at least once at another facility and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + RFFS, + /** + * A refill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.) + */ + RFP, + /** + * A refill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.) and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + RFPS, + /** + * A fill against an order that has already been filled (or partially filled) at least once and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + RFS, + /** + * A fill where the remainder of a 'complete' fill is provided after a trial fill has been provided. + */ + TB, + /** + * A fill where the remainder of a 'complete' fill is provided after a trial fill has been provided and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets). + */ + TBS, + /** + * A supply action that provides sufficient material for a single dose via multiple products. E.g. 2 50mg tablets for a 100mg unit dose. + */ + UDE, + /** + * Description:Types of policies that further specify the ActClassPolicy value set. + */ + _ACTPOLICYTYPE, + /** + * A policy deeming certain information to be private to an individual or organization. + + + Definition: A mandate, obligation, requirement, rule, or expectation relating to privacy. + + + Discussion: ActPrivacyPolicyType codes support the designation of the 1..* policies that are applicable to an Act such as a Consent Directive, a Role such as a VIP Patient, or an Entity such as a patient who is a minor. 1..* ActPrivacyPolicyType values may be associated with an Act or Role to indicate the policies that govern the assignment of an Act or Role confidentialityCode. Use of multiple ActPrivacyPolicyType values enables fine grain specification of applicable policies, but must be carefully assigned to ensure cogency and avoid creation of conflicting policy mandates. + + + Usage Note: Statutory title may be named in the ActClassPolicy Act Act.title to specify which privacy policy is being referenced. + */ + _ACTPRIVACYPOLICY, + /** + * Definition: Specifies the type of consent directive indicated by an ActClassPolicy e.g., a 3rd party authorization to disclose or consent for a substitute decision maker (SDM) or a notice of privacy policy. + + + Usage Note: ActConsentDirective codes are used to specify the type of Consent Directive to which a Consent Directive Act conforms. + */ + _ACTCONSENTDIRECTIVE, + /** + * This general consent directive specifically limits disclosure of health information for purpose of emergency treatment. Additional parameters may further limit the disclosure to specific users, roles, duration, types of information, and impose uses obligations. + + + Definition: Opt-in to disclosure of health information for emergency only consent directive. + */ + EMRGONLY, + /** + * Acknowledgement of custodian notice of privacy practices. + + + Usage Notes: This type of consent directive acknowledges a custodian's notice of privacy practices including its permitted collection, access, use and disclosure of health information to users and for purposes of use specified. + */ + NOPP, + /** + * This general consent directive permits disclosure of health information. Additional parameter may limit authorized users, purpose of use, user obligations, duration, or information types permitted to be disclosed, and impose uses obligations. + + + Definition: Opt-in to disclosure of health information consent directive. + */ + OPTIN, + /** + * This general consent directive prohibits disclosure of health information. Additional parameters may permit access to some information types by certain users, roles, purposes of use, durations and impose user obligations. + + + Definition: Opt-out of disclosure of health information consent directive. + */ + OPTOUT, + /** + * A mandate, obligation, requirement, rule, or expectation characterizing the value or importance of a resource and may include its vulnerability. (Based on ISO7498-2:1989. Note: The vulnerability of personally identifiable sensitive information may be based on concerns that the unauthorized disclosure may result in social stigmatization or discrimination.) Description: Types of Sensitivity policy that apply to Acts or Roles. A sensitivity policy is adopted by an enterprise or group of enterprises (a 'policy domain') through a formal data use agreement that stipulates the value, importance, and vulnerability of information. A sensitivity code representing a sensitivity policy may be associated with criteria such as categories of information or sets of information identifiers (e.g., a value set of clinical codes or branch in a code system hierarchy). These criteria may in turn be used for the Policy Decision Point in a Security Engine. A sensitivity code may be used to set the confidentiality code used on information about Acts and Roles to trigger the security mechanisms required to control how security principals (i.e., a person, a machine, a software application) may act on the information (e.g., collection, access, use, or disclosure). Sensitivity codes are never assigned to the transport or business envelope containing patient specific information being exchanged outside of a policy domain as this would disclose the information intended to be protected by the policy. When sensitive information is exchanged with others outside of a policy domain, the confidentiality code on the transport or business envelope conveys the receiver's responsibilities and indicates the how the information is to be safeguarded without unauthorized disclosure of the sensitive information. This ensures that sensitive information is treated by receivers as the sender intends, accomplishing interoperability without point to point negotiations. + + + Usage Note: Sensitivity codes are not useful for interoperability outside of a policy domain because sensitivity policies are typically localized and vary drastically across policy domains even for the same information category because of differing organizational business rules, security policies, and jurisdictional requirements. For example, an employee's sensitivity code would make little sense for use outside of a policy domain. 'Taboo' would rarely be useful outside of a policy domain unless there are jurisdictional requirements requiring that a provider disclose sensitive information to a patient directly. Sensitivity codes may be more appropriate in a legacy system's Master Files in order to notify those who access a patient's orders and observations about the sensitivity policies that apply. Newer systems may have a security engine that uses a sensitivity policy's criteria directly. The specializable InformationSensitivityPolicy Act.code may be useful in some scenarios if used in combination with a sensitivity identifier and/or Act.title. + */ + _INFORMATIONSENSITIVITYPOLICY, + /** + * Types of sensitivity policies that apply to Acts. Act.confidentialityCode is defined in the RIM as "constraints around appropriate disclosure of information about this Act, regardless of mood." + + + Usage Note: ActSensitivity codes are used to bind information to an Act.confidentialityCode according to local sensitivity policy so that those confidentiality codes can then govern its handling across enterprises. Internally to a policy domain, however, local policies guide the access control system on how end users in that policy domain are able to use information tagged with these sensitivity values. + */ + _ACTINFORMATIONSENSITIVITYPOLICY, + /** + * Policy for handling alcohol or drug-abuse information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to alcohol or drug-abuse information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + ETH, + /** + * Policy for handling genetic disease information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to genetic disease information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + GDIS, + /** + * Policy for handling HIV or AIDS information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to HIV or AIDS information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + HIV, + /** + * Policy for handling psychiatry information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to psychiatry information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + PSY, + /** + * Policy for handling sickle cell disease information, which is afforded heightened confidentiality. Information handling protocols are based on organizational policies related to sickle cell disease information, which is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then the Act valued with this ActCode should be associated with an Act valued with any applicable laws from the ActPrivacyLaw code system. + */ + SCA, + /** + * Policy for handling sexual assault, abuse, or domestic violence information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to sexual assault, abuse, or domestic violence information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + SDV, + /** + * Policy for handling sexuality and reproductive health information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to sexuality and reproductive health information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + SEX, + /** + * Policy for handling sexually transmitted disease information, which will be afforded heightened confidentiality. + Information handling protocols based on organizational policies related to sexually transmitted disease information that is deemed sensitive. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + STD, + /** + * Policy for handling information not to be initially disclosed or discussed with patient except by a physician assigned to patient in this case. Information handling protocols based on organizational policies related to sensitive patient information that must be initially discussed with the patient by an attending physician before being disclosed to the patient. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + + + Open Issue: This definition conflates a rule and a characteristic, and there may be a similar issue with ts sibling codes. + */ + TBOO, + /** + * Types of sensitivity policies that may apply to a sensitive attribute on an Entity. + + + Usage Note: EntitySensitivity codes are used to convey a policy that is applicable to sensitive information conveyed by an entity attribute. May be used to bind a Role.confidentialityCode associated with an Entity per organizational policy. Role.confidentialityCode is defined in the RIM as "an indication of the appropriate disclosure of information about this Role with respect to the playing Entity." + */ + _ENTITYSENSITIVITYPOLICYTYPE, + /** + * Policy for handling all demographic information about an information subject, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to all demographic about an information subject, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + DEMO, + /** + * Policy for handling information related to an information subject's date of birth, which will be afforded heightened confidentiality.Policies may govern sensitivity of information related to an information subject's date of birth, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + DOB, + /** + * Policy for handling information related to an information subject's gender and sexual orientation, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's gender and sexual orientation, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + GENDER, + /** + * Policy for handling information related to an information subject's living arrangement, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's living arrangement, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + LIVARG, + /** + * Policy for handling information related to an information subject's marital status, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's marital status, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + MARST, + /** + * Policy for handling information related to an information subject's race, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's race, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + RACE, + /** + * Policy for handling information related to an information subject's religious affiliation, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's religion, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + REL, + /** + * Types of sensitivity policies that apply to Roles. + + + Usage Notes: RoleSensitivity codes are used to bind information to a Role.confidentialityCode per organizational policy. Role.confidentialityCode is defined in the RIM as "an indication of the appropriate disclosure of information about this Role with respect to the playing Entity." + */ + _ROLEINFORMATIONSENSITIVITYPOLICY, + /** + * Policy for handling trade secrets such as financial information or intellectual property, which will be afforded heightened confidentiality. Description: Since the service class can represent knowledge structures that may be considered a trade or business secret, there is sometimes (though rarely) the need to flag those items as of business level confidentiality. + + + Usage Notes: No patient related information may ever be of this confidentiality level. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + B, + /** + * Policy for handling information related to an employer which is deemed classified to protect an employee who is the information subject, and which will be afforded heightened confidentiality. Description: Policies may govern sensitivity of information related to an employer, such as law enforcement or national security, the identity of which could impact the privacy, well-being, or safety of an information subject who is an employee. + + + Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + EMPL, + /** + * Policy for handling information related to the location of the information subject, which will be afforded heightened confidentiality. Description: Policies may govern sensitivity of information related to the location of the information subject, the disclosure of which could impact the privacy, well-being, or safety of that subject. + + + Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + LOCIS, + /** + * Policy for handling information related to a provider of sensitive services, which will be afforded heightened confidentiality. Description: Policies may govern sensitivity of information related to providers who deliver sensitive healthcare services in order to protect the privacy, well-being, and safety of the provider and of patients receiving sensitive services. + + + Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + SSP, + /** + * Policy for handling information related to an adolescent, which will be afforded heightened confidentiality per applicable organizational or jurisdictional policy. An enterprise may have a policy that requires that adolescent patient information be provided heightened confidentiality. Information deemed sensitive typically includes health information and patient role information including patient status, demographics, next of kin, and location. + + + Usage Note: For use within an enterprise in which an adolescent is the information subject. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + ADOL, + /** + * Policy for handling information related to a celebrity (people of public interest (VIP), which will be afforded heightened confidentiality. Celebrities are people of public interest (VIP) about whose information an enterprise may have a policy that requires heightened confidentiality. Information deemed sensitive may include health information and patient role information including patient status, demographics, next of kin, and location. + + + Usage Note: For use within an enterprise in which the information subject is deemed a celebrity or very important person. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + CEL, + /** + * Policy for handling information related to a diagnosis, health condition or health problem, which will be afforded heightened confidentiality. Diagnostic, health condition or health problem related information may be deemed sensitive by organizational policy, and require heightened confidentiality. + + + Usage Note: For use within an enterprise that provides heightened confidentiality to diagnostic, health condition or health problem related information deemed sensitive. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + DIA, + /** + * Policy for handling information related to a drug, which will be afforded heightened confidentiality. Drug information may be deemed sensitive by organizational policy, and require heightened confidentiality. + + + Usage Note: For use within an enterprise that provides heightened confidentiality to drug information deemed sensitive. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + DRGIS, + /** + * Policy for handling information related to an employee, which will be afforded heightened confidentiality. When a patient is an employee, an enterprise may have a policy that requires heightened confidentiality. Information deemed sensitive typically includes health information and patient role information including patient status, demographics, next of kin, and location. + + + Usage Note: Policy for handling information related to an employee, which will be afforded heightened confidentiality. Description: When a patient is an employee, an enterprise may have a policy that requires heightened confidentiality. Information deemed sensitive typically includes health information and patient role information including patient status, demographics, next of kin, and location. + */ + EMP, + /** + * Policy for handling information reported by the patient about another person, e.g., a family member, which will be afforded heightened confidentiality. Sensitive information reported by the patient about another person, e.g., family members may be deemed sensitive by default. The flag may be set or cleared on patient's request. + + + Usage Note: For sensitive information relayed by or about a patient, which is deemed sensitive within the enterprise (i.e., by default regardless of whether the patient requested that the information be deemed sensitive.) If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + PDS, + /** + * For sensitive information relayed by or about a patient, which is deemed sensitive within the enterprise (i.e., by default regardless of whether the patient requested that the information be deemed sensitive.) If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + + + Usage Note: For use within an enterprise that provides heightened confidentiality to certain types of information designated by a patient as sensitive. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code. + */ + PRS, + /** + * This is the healthcare analog to the US Intelligence Community's concept of a Special Access Program. Compartment codes may be used in as a field value in an initiator's clearance to indicate permission to access and use an IT Resource with a security label having the same compartment value in security category label field. + + Map: Aligns with ISO 2382-8 definition of Compartment - "A division of data into isolated blocks with separate security controls for the purpose of reducing risk." + */ + COMPT, + /** + * A security category label field value, which indicates that access and use of an IT resource is restricted to members of human resources department or workflow. + */ + HRCOMPT, + /** + * A security category label field value, which indicates that access and use of an IT resource is restricted to members of a research project. + */ + RESCOMPT, + /** + * A security category label field value, which indicates that access and use of an IT resource is restricted to members of records management department or workflow. + */ + RMGTCOMPT, + /** + * A mandate, obligation, requirement, rule, or expectation conveyed as security metadata between senders and receivers required to establish the reliability, authenticity, and trustworthiness of their transactions. + + Trust security metadata are observation made about aspects of trust applicable to an IT resource (data, information object, service, or system capability). + + Trust applicable to IT resources is established and maintained in and among security domains, and may be comprised of observations about the domain's trust authority, trust framework, trust policy, trust interaction rules, means for assessing and monitoring adherence to trust policies, mechanisms that enforce trust, and quality and reliability measures of assurance in those mechanisms. [Based on ISO IEC 10181-1 and NIST SP 800-63-2] + + For example, identity proofing , level of assurance, and Trust Framework. + */ + ACTTRUSTPOLICYTYPE, + /** + * Type of security metadata about the formal declaration by an authority or neutral third party that validates the technical, security, trust, and business practice conformance of Trust Agents to facilitate security, interoperability, and trust among participants within a security domain or trust framework. + */ + TRSTACCRD, + /** + * Type of security metadata about privacy and security requirements with which a security domain must comply. [ISO IEC 10181-1] + */ + TRSTAGRE, + /** + * Type of security metadata about the digital quality or reliability of a trust assertion, activity, capability, information exchange, mechanism, process, or protocol. + */ + TRSTASSUR, + /** + * Type of security metadata about a set of security-relevant data issued by a security authority or trusted third party, together with security information which is used to provide the integrity and data origin authentication services for an IT resource (data, information object, service, or system capability). [Based on ISO IEC 10181-1] + */ + TRSTCERT, + /** + * Type of security metadata about a complete set of contracts, regulations, or commitments that enable participating actors to rely on certain assertions by other actors to fulfill their information security requirements. [Kantara Initiative] + */ + TRSTFWK, + /** + * Type of security metadata about a security architecture system component that supports enforcement of security policies. + */ + TRSTMEC, + /** + * Description:A mandate, obligation, requirement, rule, or expectation unilaterally imposed on benefit coverage under a policy or program by a sponsor, underwriter or payor on: + + + + The activity of another party + + + + The behavior of another party + + + + The manner in which an act is executed + + + + + Examples:A clinical protocol imposed by a payer to which a provider must adhere in order to be paid for providing the service. A formulary from which a provider must select prescribed drugs in order for the patient to incur a lower copay. + */ + COVPOL, + /** + * Types of security policies that further specify the ActClassPolicy value set. + + + Examples: + + + + obligation to encrypt + refrain from redisclosure without consent + */ + SECURITYPOLICY, + /** + * Conveys the mandated workflow action that an information custodian, receiver, or user must perform. + + + Usage Notes: Per ISO 22600-2, ObligationPolicy instances 'are event-triggered and define actions to be performed by manager agent'. Per HL7 Composite Security and Privacy Domain Analysis Model: This value set refers to the action required to receive the permission specified in the privacy rule. Per OASIS XACML, an obligation is an operation specified in a policy or policy that is performed in conjunction with the enforcement of an access control decision. + */ + OBLIGATIONPOLICY, + /** + * Custodian system must remove any information that could result in identifying the information subject. + */ + ANONY, + /** + * Custodian system must make available to an information subject upon request an accounting of certain disclosures of the individual’s protected health information over a period of time. Policy may dictate that the accounting include information about the information disclosed, the date of disclosure, the identification of the receiver, the purpose of the disclosure, the time in which the disclosing entity must provide a response and the time period for which accountings of disclosure can be requested. + */ + AOD, + /** + * Custodian system must monitor systems to ensure that all users are authorized to operate on information objects. + */ + AUDIT, + /** + * Custodian system must monitor and maintain retrievable log for each user and operation on information. + */ + AUDTR, + /** + * Custodian security system must retrieve, evaluate, and comply with the information handling directions of the Confidentiality Code associated with an information target. + */ + CPLYCC, + /** + * Custodian security system must retrieve, evaluate, and comply with applicable information subject consent directives. + */ + CPLYCD, + /** + * Custodian security system must retrieve, evaluate, and comply with applicable jurisdictional privacy policies associated with the target information. + */ + CPLYJPP, + /** + * Custodian security system must retrieve, evaluate, and comply with applicable organizational privacy policies associated with the target information. + */ + CPLYOPP, + /** + * Custodian security system must retrieve, evaluate, and comply with the organizational security policies associated with the target information. + */ + CPLYOSP, + /** + * Custodian security system must retrieve, evaluate, and comply with applicable policies associated with the target information. + */ + CPLYPOL, + /** + * Custodian system must strip information of data that would allow the identification of the source of the information or the information subject. + */ + DEID, + /** + * Custodian system must remove target information from access after use. + */ + DELAU, + /** + * Custodian system must render information unreadable by algorithmically transforming plaintext into ciphertext. + + + + + Usage Notes: A mathematical transposition of a file or data stream so that it cannot be deciphered at the receiving end without the proper key. Encryption is a security feature that assures that only the parties who are supposed to be participating in a videoconference or data transfer are able to do so. It can include a password, public and private keys, or a complex combination of all. (Per Infoway.) + */ + ENCRYPT, + /** + * Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext when "at rest" or in storage. + */ + ENCRYPTR, + /** + * Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext while "in transit" or being transported by any means. + */ + ENCRYPTT, + /** + * Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext while in use such that operations permitted on the target information are limited by the license granted to the end user. + */ + ENCRYPTU, + /** + * Custodian system must require human review and approval for permission requested. + */ + HUAPRV, + /** + * Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext. User may be provided a key to decrypt per license or "shared secret". + */ + MASK, + /** + * Custodian must limit access and disclosure to the minimum information required to support an authorized user's purpose of use. + + + Usage Note: Limiting the information available for access and disclosure to that an authorized user or receiver "needs to know" in order to perform permitted workflow or purpose of use. + */ + MINEC, + /** + * Custodian must create and/or maintain human readable security label tags as required by policy. + + Map: Aligns with ISO 22600-3 Section A.3.4.3 description of privacy mark: "If present, the privacy-mark is not used for access control. The content of the privacy-mark may be defined by the security policy in force (identified by the security-policy-identifier) which may define a list of values to be used. Alternately, the value may be determined by the originator of the security-label." + */ + PRIVMARK, + /** + * Custodian system must strip information of data that would allow the identification of the source of the information or the information subject. Custodian may retain a key to relink data necessary to reidentify the information subject. + */ + PSEUD, + /** + * Custodian system must remove information, which is not authorized to be access, used, or disclosed from records made available to otherwise authorized users. + */ + REDACT, + /** + * Conveys prohibited actions which an information custodian, receiver, or user is not permitted to perform unless otherwise authorized or permitted under specified circumstances. + + + + + Usage Notes: ISO 22600-2 species that a Refrain Policy "defines actions the subjects must refrain from performing". Per HL7 Composite Security and Privacy Domain Analysis Model: May be used to indicate that a specific action is prohibited based on specific access control attributes e.g., purpose of use, information type, user role, etc. + */ + REFRAINPOLICY, + /** + * Prohibition on disclosure without information subject's authorization. + */ + NOAUTH, + /** + * Prohibition on collection or storage of the information. + */ + NOCOLLECT, + /** + * Prohibition on disclosure without organizational approved patient restriction. + */ + NODSCLCD, + /** + * Prohibition on disclosure without a consent directive from the information subject. + */ + NODSCLCDS, + /** + * Prohibition on Integration into other records. + */ + NOINTEGRATE, + /** + * Prohibition on disclosure except to entities on specific access list. + */ + NOLIST, + /** + * Prohibition on disclosure without an interagency service agreement or memorandum of understanding (MOU). + */ + NOMOU, + /** + * Prohibition on disclosure without organizational authorization. + */ + NOORGPOL, + /** + * Prohibition on disclosing information to patient, family or caregivers without attending provider's authorization. + + + Usage Note: The information may be labeled with the ActInformationSensitivity TBOO code, triggering application of this RefrainPolicy code as a handling caveat controlling access. + + Maps to FHIR NOPAT: Typically, this is used on an Alert resource, when the alert records information on patient abuse or non-compliance. + + FHIR print name is "keep information from patient". Maps to the French realm - code: INVISIBLE_PATIENT. + + + displayName: Document non visible par le patient + codingScheme: 1.2.250.1.213.1.1.4.13 + + French use case: A label for documents that the author chose to hide from the patient until the content can be disclose to the patient in a face to face meeting between a healthcare professional and the patient (in French law some results like cancer diagnosis or AIDS diagnosis must be announced to the patient by a healthcare professional and should not be find out by the patient alone). + */ + NOPAT, + /** + * Prohibition on collection of the information beyond time necessary to accomplish authorized purpose of use is prohibited. + */ + NOPERSISTP, + /** + * Prohibition on redisclosure without patient consent directive. + */ + NORDSCLCD, + /** + * Prohibition on redisclosure without a consent directive from the information subject. + */ + NORDSCLCDS, + /** + * Prohibition on disclosure without authorization under jurisdictional law. + */ + NORDSCLW, + /** + * Prohibition on associating de-identified or pseudonymized information with other information in a manner that could or does result in disclosing information intended to be masked. + */ + NORELINK, + /** + * Prohibition on use of the information beyond the purpose of use initially authorized. + */ + NOREUSE, + /** + * Prohibition on disclosure except to principals with access permission to specific VIP information. + */ + NOVIP, + /** + * Prohibition on disclosure except as permitted by the information originator. + */ + ORCON, + /** + * The method that a product is obtained for use by the subject of the supply act (e.g. patient). Product examples are consumable or durable goods. + */ + _ACTPRODUCTACQUISITIONCODE, + /** + * Temporary supply of a product without transfer of ownership for the product. + */ + LOAN, + /** + * Temporary supply of a product with financial compensation, without transfer of ownership for the product. + */ + RENT, + /** + * Transfer of ownership for a product. + */ + TRANSFER, + /** + * Transfer of ownership for a product for financial compensation. + */ + SALE, + /** + * Transportation of a specimen. + */ + _ACTSPECIMENTRANSPORTCODE, + /** + * Description:Specimen has been received by the participating organization/department. + */ + SREC, + /** + * Description:Specimen has been placed into storage at a participating location. + */ + SSTOR, + /** + * Description:Specimen has been put in transit to a participating receiver. + */ + STRAN, + /** + * Set of codes related to specimen treatments + */ + _ACTSPECIMENTREATMENTCODE, + /** + * The lowering of specimen pH through the addition of an acid + */ + ACID, + /** + * The act rendering alkaline by impregnating with an alkali; a conferring of alkaline qualities. + */ + ALK, + /** + * The removal of fibrin from whole blood or plasma through physical or chemical means + */ + DEFB, + /** + * The passage of a liquid through a filter, accomplished by gravity, pressure or vacuum (suction). + */ + FILT, + /** + * LDL Precipitation + */ + LDLP, + /** + * The act or process by which an acid and a base are combined in such proportions that the resulting compound is neutral. + */ + NEUT, + /** + * The addition of calcium back to a specimen after it was removed by chelating agents + */ + RECA, + /** + * The filtration of a colloidal substance through a semipermeable medium that allows only the passage of small molecules. + */ + UFIL, + /** + * Description: Describes the type of substance administration being performed. This should not be used to carry codes for identification of products. Use an associated role or entity to carry such information. + */ + _ACTSUBSTANCEADMINISTRATIONCODE, + /** + * The introduction of a drug into a subject with the intention of altering its biologic state with the intent of improving its health status. + */ + DRUG, + /** + * Description: The introduction of material into a subject with the intent of providing nutrition or other dietary supplements (e.g. minerals or vitamins). + */ + FD, + /** + * The introduction of an immunogen with the intent of stimulating an immune response, aimed at preventing subsequent infections by more viable agents. + */ + IMMUNIZ, + /** + * Description: A task or action that a user may perform in a clinical information system (e.g., medication order entry, laboratory test results review, problem list entry). + */ + _ACTTASKCODE, + /** + * A clinician creates a request for a service to be performed for a given patient. + */ + OE, + /** + * A clinician creates a request for a laboratory test to be done for a given patient. + */ + LABOE, + /** + * A clinician creates a request for the administration of one or more medications to a given patient. + */ + MEDOE, + /** + * A person enters documentation about a given patient. + */ + PATDOC, + /** + * Description: A person reviews a list of known allergies of a given patient. + */ + ALLERLREV, + /** + * A clinician enters a clinical note about a given patient + */ + CLINNOTEE, + /** + * A clinician enters a diagnosis for a given patient. + */ + DIAGLISTE, + /** + * A person provides a discharge instruction to a patient. + */ + DISCHINSTE, + /** + * A clinician enters a discharge summary for a given patient. + */ + DISCHSUME, + /** + * A person provides a patient-specific education handout to a patient. + */ + PATEDUE, + /** + * A pathologist enters a report for a given patient. + */ + PATREPE, + /** + * A clinician enters a problem for a given patient. + */ + PROBLISTE, + /** + * A radiologist enters a report for a given patient. + */ + RADREPE, + /** + * Description: A person reviews a list of immunizations due or received for a given patient. + */ + IMMLREV, + /** + * Description: A person reviews a list of health care reminders for a given patient. + */ + REMLREV, + /** + * Description: A person reviews a list of wellness or preventive care reminders for a given patient. + */ + WELLREMLREV, + /** + * A person (e.g., clinician, the patient herself) reviews patient information in the electronic medical record. + */ + PATINFO, + /** + * Description: A person enters a known allergy for a given patient. + */ + ALLERLE, + /** + * A person reviews a recommendation/assessment provided automatically by a clinical decision support application for a given patient. + */ + CDSREV, + /** + * A person reviews a clinical note of a given patient. + */ + CLINNOTEREV, + /** + * A person reviews a discharge summary of a given patient. + */ + DISCHSUMREV, + /** + * A person reviews a list of diagnoses of a given patient. + */ + DIAGLISTREV, + /** + * Description: A person enters an immunization due or received for a given patient. + */ + IMMLE, + /** + * A person reviews a list of laboratory results of a given patient. + */ + LABRREV, + /** + * A person reviews a list of microbiology results of a given patient. + */ + MICRORREV, + /** + * A person reviews organisms of microbiology results of a given patient. + */ + MICROORGRREV, + /** + * A person reviews the sensitivity test of microbiology results of a given patient. + */ + MICROSENSRREV, + /** + * A person reviews a list of medication orders submitted to a given patient + */ + MLREV, + /** + * A clinician reviews a work list of medications to be administered to a given patient. + */ + MARWLREV, + /** + * A person reviews a list of orders submitted to a given patient. + */ + OREV, + /** + * A person reviews a pathology report of a given patient. + */ + PATREPREV, + /** + * A person reviews a list of problems of a given patient. + */ + PROBLISTREV, + /** + * A person reviews a radiology report of a given patient. + */ + RADREPREV, + /** + * Description: A person enters a health care reminder for a given patient. + */ + REMLE, + /** + * Description: A person enters a wellness or preventive care reminder for a given patient. + */ + WELLREMLE, + /** + * A person reviews a Risk Assessment Instrument report of a given patient. + */ + RISKASSESS, + /** + * A person reviews a Falls Risk Assessment Instrument report of a given patient. + */ + FALLRISK, + /** + * Characterizes how a transportation act was or will be carried out. + + + Examples: Via private transport, via public transit, via courier. + */ + _ACTTRANSPORTATIONMODECODE, + /** + * Definition: Characterizes how a patient was or will be transported to the site of a patient encounter. + + + Examples: Via ambulance, via public transit, on foot. + */ + _ACTPATIENTTRANSPORTATIONMODECODE, + /** + * pedestrian transport + */ + AFOOT, + /** + * ambulance transport + */ + AMBT, + /** + * fixed-wing ambulance transport + */ + AMBAIR, + /** + * ground ambulance transport + */ + AMBGRND, + /** + * helicopter ambulance transport + */ + AMBHELO, + /** + * law enforcement transport + */ + LAWENF, + /** + * private transport + */ + PRVTRN, + /** + * public transport + */ + PUBTRN, + /** + * Identifies the kinds of observations that can be performed + */ + _OBSERVATIONTYPE, + /** + * Identifies the type of observation that is made about a specimen that may affect its processing, analysis or further result interpretation + */ + _ACTSPECOBSCODE, + /** + * Describes the artificial blood identifier that is associated with the specimen. + */ + ARTBLD, + /** + * An observation that reports the dilution of a sample. + */ + DILUTION, + /** + * The dilution of a sample performed by automated equipment. The value is specified by the equipment + */ + AUTOHIGH, + /** + * The dilution of a sample performed by automated equipment. The value is specified by the equipment + */ + AUTOLOW, + /** + * The dilution of the specimen made prior to being loaded onto analytical equipment + */ + PRE, + /** + * The value of the dilution of a sample after it had been analyzed at a prior dilution value + */ + RERUN, + /** + * Domain provides codes that qualify the ActLabObsEnvfctsCode domain. (Environmental Factors) + */ + EVNFCTS, + /** + * An observation that relates to factors that may potentially cause interference with the observation + */ + INTFR, + /** + * The Fibrin Index of the specimen. In the case of only differentiating between Absent and Present, recommend using 0 and 1 + */ + FIBRIN, + /** + * An observation of the hemolysis index of the specimen in g/L + */ + HEMOLYSIS, + /** + * An observation that describes the icterus index of the specimen. It is recommended to use mMol/L of bilirubin + */ + ICTERUS, + /** + * An observation used to describe the Lipemia Index of the specimen. It is recommended to use the optical turbidity at 600 nm (in absorbance units). + */ + LIPEMIA, + /** + * An observation that reports the volume of a sample. + */ + VOLUME, + /** + * The available quantity of specimen. This is the current quantity minus any planned consumption (e.g., tests that are planned) + */ + AVAILABLE, + /** + * The quantity of specimen that is used each time the equipment uses this substance + */ + CONSUMPTION, + /** + * The current quantity of the specimen, i.e., initial quantity minus what has been actually used. + */ + CURRENT, + /** + * The initial quantity of the specimen in inventory + */ + INITIAL, + /** + * AnnotationType + */ + _ANNOTATIONTYPE, + /** + * Description:Provides a categorization for annotations recorded directly against the patient . + */ + _ACTPATIENTANNOTATIONTYPE, + /** + * Description:A note that is specific to a patient's diagnostic images, either historical, current or planned. + */ + ANNDI, + /** + * Description:A general or uncategorized note. + */ + ANNGEN, + /** + * A note that is specific to a patient's immunizations, either historical, current or planned. + */ + ANNIMM, + /** + * Description:A note that is specific to a patient's laboratory results, either historical, current or planned. + */ + ANNLAB, + /** + * Description:A note that is specific to a patient's medications, either historical, current or planned. + */ + ANNMED, + /** + * Description: None provided + */ + _GENETICOBSERVATIONTYPE, + /** + * Description: A DNA segment that contributes to phenotype/function. In the absence of demonstrated function a gene may be characterized by sequence, transcription or homology + */ + GENE, + /** + * Description: Observation codes which describe characteristics of the immunization material. + */ + _IMMUNIZATIONOBSERVATIONTYPE, + /** + * Description: Indicates the valid antigen count. + */ + OBSANTC, + /** + * Description: Indicates whether an antigen is valid or invalid. + */ + OBSANTV, + /** + * A code that is used to indicate the type of case safety report received from sender. The current code example reference is from the International Conference on Harmonisation (ICH) Expert Workgroup guideline on Clinical Safety Data Management: Data Elements for Transmission of Individual Case Safety Reports. The unknown/unavailable option allows the transmission of information from a secondary sender where the initial sender did not specify the type of report. + + Example concepts include: Spontaneous, Report from study, Other. + */ + _INDIVIDUALCASESAFETYREPORTTYPE, + /** + * Indicates that the ICSR is describing problems that a patient experienced after receiving a vaccine product. + */ + PATADVEVNT, + /** + * Indicates that the ICSR is describing a problem with the actual vaccine product such as physical defects (cloudy, particulate matter) or inability to confer immunity. + */ + VACPROBLEM, + /** + * Definition:The set of LOINC codes for the act of determining the period of time that has elapsed since an entity was born or created. + */ + _LOINCOBSERVATIONACTCONTEXTAGETYPE, + /** + * Definition:Estimated age. + */ + _216119, + /** + * Definition:Reported age. + */ + _216127, + /** + * Definition:Calculated age. + */ + _295535, + /** + * Definition:General specification of age with no implied method of determination. + */ + _305250, + /** + * Definition:Age at onset of associated adverse event; no implied method of determination. + */ + _309724, + /** + * MedicationObservationType + */ + _MEDICATIONOBSERVATIONTYPE, + /** + * Description:This observation represents an 'average' or 'expected' half-life typical of the product. + */ + REPHALFLIFE, + /** + * Definition: A characteristic of an oral solid dosage form of a medicinal product, indicating whether it has one or more coatings such as sugar coating, film coating, or enteric coating. Only coatings to the external surface or the dosage form should be considered (for example, coatings to individual pellets or granules inside a capsule or tablet are excluded from consideration). + + + Constraints: The Observation.value must be a Boolean (BL) with true for the presence or false for the absence of one or more coatings on a solid dosage form. + */ + SPLCOATING, + /** + * Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the color or colors that most predominantly define the appearance of the dose form. SPLCOLOR is not an FDA specification for the actual color of solid dosage forms or the names of colors that can appear in labeling. + + + Constraints: The Observation.value must be a single coded value or a list of multiple coded values, specifying one or more distinct colors that approximate of the color(s) of distinct areas of the solid dosage form, such as the different sides of a tablet or one-part capsule, or the different halves of a two-part capsule. Bands on banded capsules, regardless of the color, are not considered when assigning an SPLCOLOR. Imprints on the dosage form, regardless of their color are not considered when assigning an SPLCOLOR. If more than one color exists on a particular side or half, then the most predominant color on that side or half is recorded. If the gelatin capsule shell is colorless and transparent, use the predominant color of the contents that appears through the colorless and transparent capsule shell. Colors can include: Black;Gray;White;Red;Pink;Purple;Green;Yellow;Orange;Brown;Blue;Turquoise. + */ + SPLCOLOR, + /** + * Description: A characteristic representing a single file reference that contains two or more views of the same dosage form of the product; in most cases this should represent front and back views of the dosage form, but occasionally additional views might be needed in order to capture all of the important physical characteristics of the dosage form. Any imprint and/or symbol should be clearly identifiable, and the viewer should not normally need to rotate the image in order to read it. Images that are submitted with SPL should be included in the same directory as the SPL file. + */ + SPLIMAGE, + /** + * Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the alphanumeric text that appears on the solid dosage form, including text that is embossed, debossed, engraved or printed with ink. The presence of other non-textual distinguishing marks or symbols is recorded by SPLSYMBOL. + + + Examples: Included in SPLIMPRINT are alphanumeric text that appears on the bands of banded capsules and logos and other symbols that can be interpreted as letters or numbers. + + + Constraints: The Observation.value must be of type Character String (ST). Excluded from SPLIMPRINT are internal and external cut-outs in the form of alphanumeric text and the letter 'R' with a circle around it (when referring to a registered trademark) and the letters 'TM' (when referring to a 'trade mark'). To record text, begin on either side or part of the dosage form. Start at the top left and progress as one would normally read a book. Enter a semicolon to show separation between words or line divisions. + */ + SPLIMPRINT, + /** + * Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the number of equal pieces that the solid dosage form can be divided into using score line(s). + + + Example: One score line creating two equal pieces is given a value of 2, two parallel score lines creating three equal pieces is given a value of 3. + + + Constraints: Whether three parallel score lines create four equal pieces or two intersecting score lines create two equal pieces using one score line and four equal pieces using both score lines, both have the scoring value of 4. Solid dosage forms that are not scored are given a value of 1. Solid dosage forms that can only be divided into unequal pieces are given a null-value with nullFlavor other (OTH). + */ + SPLSCORING, + /** + * Description: A characteristic of an oral solid dosage form of a medicinal product, specifying the two dimensional representation of the solid dose form, in terms of the outside perimeter of a solid dosage form when the dosage form, resting on a flat surface, is viewed from directly above, including slight rounding of corners. SPLSHAPE does not include embossing, scoring, debossing, or internal cut-outs. SPLSHAPE is independent of the orientation of the imprint and logo. Shapes can include: Triangle (3 sided); Square; Round; Semicircle; Pentagon (5 sided); Diamond; Double circle; Bullet; Hexagon (6 sided); Rectangle; Gear; Capsule; Heptagon (7 sided); Trapezoid; Oval; Clover; Octagon (8 sided); Tear; Freeform. + */ + SPLSHAPE, + /** + * Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the longest single dimension of the solid dosage form as a physical quantity in the dimension of length (e.g., 3 mm). The length is should be specified in millimeters and should be rounded to the nearest whole millimeter. + + + Example: SPLSIZE for a rectangular shaped tablet is the length and SPLSIZE for a round shaped tablet is the diameter. + */ + SPLSIZE, + /** + * Definition: A characteristic of an oral solid dosage form of a medicinal product, to describe whether or not the medicinal product has a mark or symbol appearing on it for easy and definite recognition. Score lines, letters, numbers, and internal and external cut-outs are not considered marks or symbols. See SPLSCORING and SPLIMPRINT for these characteristics. + + + Constraints: The Observation.value must be a Boolean (BL) with true indicating the presence and false for the absence of marks or symbols. + + + Example: + */ + SPLSYMBOL, + /** + * Distinguishes the kinds of coded observations that could be the trigger for clinical issue detection. These are observations that are not measurable, but instead can be defined with codes. Coded observation types include: Allergy, Intolerance, Medical Condition, Pregnancy status, etc. + */ + _OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE, + /** + * Code for the mechanism by which disease was acquired by the living subject involved in the public health case. Includes sexually transmitted, airborne, bloodborne, vectorborne, foodborne, zoonotic, nosocomial, mechanical, dermal, congenital, environmental exposure, indeterminate. + */ + _CASETRANSMISSIONMODE, + /** + * Communication of an agent from a living subject or environmental source to a living subject through indirect contact via oral or nasal inhalation. + */ + AIRTRNS, + /** + * Communication of an agent from one animal to another proximate animal. + */ + ANANTRNS, + /** + * Communication of an agent from an animal to a proximate person. + */ + ANHUMTRNS, + /** + * Communication of an agent from one living subject to another living subject through direct contact with any body fluid. + */ + BDYFLDTRNS, + /** + * Communication of an agent to a living subject through direct contact with blood or blood products whether the contact with blood is part of a therapeutic procedure or not. + */ + BLDTRNS, + /** + * Communication of an agent from a living subject or environmental source to a living subject via agent migration through intact skin. + */ + DERMTRNS, + /** + * Communication of an agent from an environmental surface or source to a living subject by direct contact. + */ + ENVTRNS, + /** + * Communication of an agent from a living subject or environmental source to a living subject through oral contact with material contaminated by person or animal fecal material. + */ + FECTRNS, + /** + * Communication of an agent from an non-living material to a living subject through direct contact. + */ + FOMTRNS, + /** + * Communication of an agent from a food source to a living subject via oral consumption. + */ + FOODTRNS, + /** + * Communication of an agent from a person to a proximate person. + */ + HUMHUMTRNS, + /** + * Communication of an agent to a living subject via an undetermined route. + */ + INDTRNS, + /** + * Communication of an agent from one living subject to another living subject through direct contact with mammalian milk or colostrum. + */ + LACTTRNS, + /** + * Communication of an agent from any entity to a living subject while the living subject is in the patient role in a healthcare facility. + */ + NOSTRNS, + /** + * Communication of an agent from a living subject or environmental source to a living subject where the acquisition of the agent is not via the alimentary canal. + */ + PARTRNS, + /** + * Communication of an agent from a living subject to the progeny of that living subject via agent migration across the maternal-fetal placental membranes while in utero. + */ + PLACTRNS, + /** + * Communication of an agent from one living subject to another living subject through direct contact with genital or oral tissues as part of a sexual act. + */ + SEXTRNS, + /** + * Communication of an agent from one living subject to another living subject through direct contact with blood or blood products where the contact with blood is part of a therapeutic procedure. + */ + TRNSFTRNS, + /** + * Communication of an agent from a living subject acting as a required intermediary in the agent transmission process to a recipient living subject via direct contact. + */ + VECTRNS, + /** + * Communication of an agent from a contaminated water source to a living subject whether the water is ingested as a food or not. The route of entry of the water may be through any bodily orifice. + */ + WATTRNS, + /** + * Codes used to define various metadata aspects of a health quality measure. + */ + _OBSERVATIONQUALITYMEASUREATTRIBUTE, + /** + * Indicates that the observation is carrying out an aggregation calculation, contained in the value element. + */ + AGGREGATE, + /** + * Identifies the organization(s) who own the intellectual property represented by the eMeasure. + */ + COPY, + /** + * Summary of relevant clinical guidelines or other clinical recommendations supporting this eMeasure. + */ + CRS, + /** + * Description of individual terms, provided as needed. + */ + DEF, + /** + * Disclaimer information for the eMeasure. + */ + DISC, + /** + * The timestamp when the eMeasure was last packaged in the Measure Authoring Tool. + */ + FINALDT, + /** + * Used to allow measure developers to provide additional guidance for implementers to understand greater specificity than could be provided in the logic for data criteria. + */ + GUIDE, + /** + * Information on whether an increase or decrease in score is the preferred result +(e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range). + */ + IDUR, + /** + * Describes the items counted by the measure (e.g., patients, encounters, procedures, etc.) + */ + ITMCNT, + /** + * A significant word that aids in discoverability. + */ + KEY, + /** + * The end date of the measurement period. + */ + MEDT, + /** + * The start date of the measurement period. + */ + MSD, + /** + * The method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether an eMeasure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow more useful comparisons. + */ + MSRADJ, + /** + * Describes how to combine information calculated based on logic in each of several populations into one summarized result. It can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure. (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). + + + Open Issue: The description does NOT align well with the definition used in the HQMF specfication; correct the MSGAGG definition, and the possible distinction of MSRAGG as a child of AGGREGATE. + */ + MSRAGG, + /** + * Information on whether an increase or decrease in score is the preferred result. This should reflect information on which way is better, an increase or decrease in score. + */ + MSRIMPROV, + /** + * The list of jurisdiction(s) for which the measure applies. + */ + MSRJUR, + /** + * Type of person or organization that is expected to report the issue. + */ + MSRRPTR, + /** + * The maximum time that may elapse following completion of the measure until the measure report must be sent to the receiver. + */ + MSRRPTTIME, + /** + * Indicates how the calculation is performed for the eMeasure +(e.g., proportion, continuous variable, ratio) + */ + MSRSCORE, + /** + * Location(s) in which care being measured is rendered + + Usage Note: MSRSET is used rather than RoleCode because the setting applies to what is being measured, as opposed to participating directly in the health quality measure documantion itself). + */ + MSRSET, + /** + * health quality measure topic type + */ + MSRTOPIC, + /** + * The time period for which the eMeasure applies. + */ + MSRTP, + /** + * Indicates whether the eMeasure is used to examine a process or an outcome over time +(e.g., Structure, Process, Outcome). + */ + MSRTYPE, + /** + * Succinct statement of the need for the measure. Usually includes statements pertaining to Importance criterion: impact, gap in care and evidence. + */ + RAT, + /** + * Identifies bibliographic citations or references to clinical practice guidelines, sources of evidence, or other relevant materials supporting the intent and rationale of the eMeasure. + */ + REF, + /** + * Comparison of results across strata can be used to show where disparities exist or where there is a need to expose differences in results. For example, Centers for Medicare & Medicaid Services (CMS) in the U.S. defines four required Supplemental Data Elements (payer, ethnicity, race, and gender), which are variables used to aggregate data into various subgroups. Additional supplemental data elements required for risk adjustment or other purposes of data aggregation can be included in the Supplemental Data Element section. + */ + SDE, + /** + * Describes the strata for which the measure is to be evaluated. There are three examples of reasons for stratification based on existing work. These include: (1) evaluate the measure based on different age groupings within the population described in the measure (e.g., evaluate the whole [age 14-25] and each sub-stratum [14-19] and [20-25]); (2) evaluate the eMeasure based on either a specific condition, a specific discharge location, or both; (3) evaluate the eMeasure based on different locations within a facility (e.g., evaluate the overall rate for all intensive care units and also some strata include additional findings [specific birth weights for neonatal intensive care units]). + */ + STRAT, + /** + * Can be a URL or hyperlinks that link to the transmission formats that are specified for a particular reporting program. + */ + TRANF, + /** + * Usage notes. + */ + USE, + /** + * ObservationSequenceType + */ + _OBSERVATIONSEQUENCETYPE, + /** + * A sequence of values in the "absolute" time domain. This is the same time domain that all HL7 timestamps use. It is time as measured by the Gregorian calendar + */ + TIMEABSOLUTE, + /** + * A sequence of values in a "relative" time domain. The time is measured relative to the earliest effective time in the Observation Series containing this sequence. + */ + TIMERELATIVE, + /** + * ObservationSeriesType + */ + _OBSERVATIONSERIESTYPE, + /** + * ECGObservationSeriesType + */ + _ECGOBSERVATIONSERIESTYPE, + /** + * This Observation Series type contains waveforms of a "representative beat" (a.k.a. "median beat" or "average beat"). The waveform samples are measured in relative time, relative to the beginning of the beat as defined by the Observation Series effective time. The waveforms are not directly acquired from the subject, but rather algorithmically derived from the "rhythm" waveforms. + */ + REPRESENTATIVEBEAT, + /** + * This Observation type contains ECG "rhythm" waveforms. The waveform samples are measured in absolute time (a.k.a. "subject time" or "effective time"). These waveforms are usually "raw" with some minimal amount of noise reduction and baseline filtering applied. + */ + RHYTHM, + /** + * Description: Reporting codes that are related to an immunization event. + */ + _PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE, + /** + * Description: The class room associated with the patient during the immunization event. + */ + CLSSRM, + /** + * Description: The school grade or level the patient was in when immunized. + */ + GRADE, + /** + * Description: The school the patient attended when immunized. + */ + SCHL, + /** + * Description: The school division or district associated with the patient during the immunization event. + */ + SCHLDIV, + /** + * Description: The patient's teacher when immunized. + */ + TEACHER, + /** + * Observation types for specifying criteria used to assert that a subject is included in a particular population. + */ + _POPULATIONINCLUSIONOBSERVATIONTYPE, + /** + * Criteria which specify subjects who should be removed from the eMeasure population and denominator before determining if numerator criteria are met. Denominator exclusions are used in proportion and ratio measures to help narrow the denominator. + */ + DENEX, + /** + * Criteria which specify the removal of a subject, procedure or unit of measurement from the denominator, only if the numerator criteria are not met. Denominator exceptions allow for adjustment of the calculated score for those providers with higher risk populations. Denominator exceptions are used only in proportion eMeasures. They are not appropriate for ratio or continuous variable eMeasures. Denominator exceptions allow for the exercise of clinical judgment and should be specifically defined where capturing the information in a structured manner fits the clinical workflow. Generic denominator exception reasons used in proportion eMeasures fall into three general categories: + + + Medical reasons + Patient (or subject) reasons + System reasons + */ + DENEXCEP, + /** + * Criteria for specifying the entities to be evaluated by a specific quality measure, based on a shared common set of characteristics (within a specific measurement set to which a given measure belongs). The denominator can be the same as the initial population, or it may be a subset of the initial population to further constrain it for the purpose of the eMeasure. Different measures within an eMeasure set may have different denominators. Continuous Variable eMeasures do not have a denominator, but instead define a measure population. + */ + DENOM, + /** + * Criteria for specifying the entities to be evaluated by a specific quality measure, based on a shared common set of characteristics (within a specific measurement set to which a given measure belongs). + */ + IPOP, + /** + * Criteria for specifying the patients to be evaluated by a specific quality measure, based on a shared common set of characteristics (within a specific measurement set to which a given measure belongs). Details often include information based upon specific age groups, diagnoses, diagnostic and procedure codes, and enrollment periods. + */ + IPPOP, + /** + * Criteria for specifying +the measure population as a narrative description (e.g., all patients seen in the Emergency Department during the measurement period). This is used only in continuous variable eMeasures. + */ + MSRPOPL, + /** + * Criteria for specifying subjects who should be removed from the eMeasure's Initial Population and Measure Population. Measure Population Exclusions are used in Continuous Variable measures to help narrow the Measure Population before determining the value(s) of the continuous variable(s). + */ + MSRPOPLEX, + /** + * Criteria for specifying the processes or outcomes expected for each patient, procedure, or other unit of measurement defined in the denominator for proportion measures, or related to (but not directly derived from) the denominator for ratio measures (e.g., a numerator listing the number of central line blood stream infections and a denominator indicating the days per thousand of central line usage in a specific time period). + */ + NUMER, + /** + * Criteria for specifying instances that should not be included in the numerator data. (e.g., if the number of central line blood stream infections per 1000 catheter days were to exclude infections with a specific bacterium, that bacterium would be listed as a numerator exclusion). Numerator Exclusions are used only in ratio eMeasures. + */ + NUMEX, + /** + * Types of observations that can be made about Preferences. + */ + _PREFERENCEOBSERVATIONTYPE, + /** + * An observation about how important a preference is to the target of the preference. + */ + PREFSTRENGTH, + /** + * Indicates that the observation is of an unexpected negative occurrence in the subject suspected to result from the subject's exposure to one or more agents. Observation values would be the symptom resulting from the reaction. + */ + ADVERSEREACTION, + /** + * Description:Refines classCode OBS to indicate an observation in which observation.value contains a finding or other nominalized statement, where the encoded information in Observation.value is not altered by Observation.code. For instance, observation.code="ASSERTION" and observation.value="fracture of femur present" is an assertion of a clinical finding of femur fracture. + */ + ASSERTION, + /** + * Definition:An observation that provides a characterization of the level of harm to an investigation subject as a result of a reaction or event. + */ + CASESER, + /** + * An observation that states whether the disease was likely acquired outside the jurisdiction of observation, and if so, the nature of the inter-jurisdictional relationship. + + + OpenIssue: This code could be moved to LOINC if it can be done before there are significant implemenations using it. + */ + CDIO, + /** + * An observation representing a clinical judgment as to the worst case result of a future occurrence or the evolution of a current occurrence. It would be based on the severity of past occurrences, the details of what produced the past occurrences, and the life-threatening or organ system threatening potential of the observation type. + */ + CRIT, + /** + * An observation that states the mechanism by which disease was acquired by the living subject involved in the public health case. + + + OpenIssue: This code could be moved to LOINC if it can be done before there are significant implemenations using it. + */ + CTMO, + /** + * Includes all codes defining types of indications such as diagnosis, symptom and other indications such as contrast agents for lab tests. + */ + DX, + /** + * Admitting diagnosis are the diagnoses documented for administrative purposes as the basis for a hospital admission. + */ + ADMDX, + /** + * Discharge diagnosis are the diagnoses documented for administrative purposes as the time of hospital discharge. + */ + DISDX, + /** + * Intermediate diagnoses are those diagnoses documented for administrative purposes during the course of a hospital stay. + */ + INTDX, + /** + * The type of injury that the injury coding specifies. + */ + NOI, + /** + * Description: Accuracy determined as per the GIS tier code system. + */ + GISTIER, + /** + * Indicates that the observation is of a person’s living situation in a household including the household composition and circumstances. + */ + HHOBS, + /** + * There is a clinical issue for the therapy that makes continuation of the therapy inappropriate. + + + Open Issue: The definition of this code does not correctly represent the concept space of its specializations (children) + */ + ISSUE, + /** + * Identifies types of detectyed issues for Act class "ALRT" for the administrative and patient administrative acts domains. + */ + _ACTADMINISTRATIVEDETECTEDISSUECODE, + /** + * ActAdministrativeAuthorizationDetectedIssueCode + */ + _ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE, + /** + * The requesting party has insufficient authorization to invoke the interaction. + */ + NAT, + /** + * Description: One or more records in the query response have been suppressed due to consent or privacy restrictions. + */ + SUPPRESSED, + /** + * Description:The specified element did not pass business-rule validation. + */ + VALIDAT, + /** + * The ID of the patient, order, etc., was not found. Used for transactions other than additions, e.g. transfer of a non-existent patient. + */ + KEY204, + /** + * The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.). + */ + KEY205, + /** + * There may be an issue with the patient complying with the intentions of the proposed therapy + */ + COMPLY, + /** + * The proposed therapy appears to duplicate an existing therapy + */ + DUPTHPY, + /** + * Description:The proposed therapy appears to have the same intended therapeutic benefit as an existing therapy, though the specific mechanisms of action vary. + */ + DUPTHPCLS, + /** + * Description:The proposed therapy appears to have the same intended therapeutic benefit as an existing therapy and uses the same mechanisms of action as the existing therapy. + */ + DUPTHPGEN, + /** + * Description:The proposed therapy is frequently misused or abused and therefore should be used with caution and/or monitoring. + */ + ABUSE, + /** + * Description:The request is suspected to have a fraudulent basis. + */ + FRAUD, + /** + * A similar or identical therapy was recently ordered by a different practitioner. + */ + PLYDOC, + /** + * This patient was recently supplied a similar or identical therapy from a different pharmacy or supplier. + */ + PLYPHRM, + /** + * Proposed dosage instructions for therapy differ from standard practice. + */ + DOSE, + /** + * Description:Proposed dosage is inappropriate due to patient's medical condition. + */ + DOSECOND, + /** + * Proposed length of therapy differs from standard practice. + */ + DOSEDUR, + /** + * Proposed length of therapy is longer than standard practice + */ + DOSEDURH, + /** + * Proposed length of therapy is longer than standard practice for the identified indication or diagnosis + */ + DOSEDURHIND, + /** + * Proposed length of therapy is shorter than that necessary for therapeutic effect + */ + DOSEDURL, + /** + * Proposed length of therapy is shorter than standard practice for the identified indication or diagnosis + */ + DOSEDURLIND, + /** + * Proposed dosage exceeds standard practice + */ + DOSEH, + /** + * Proposed dosage exceeds standard practice for the patient's age + */ + DOSEHINDA, + /** + * High Dose for Indication Alert + */ + DOSEHIND, + /** + * Proposed dosage exceeds standard practice for the patient's height or body surface area + */ + DOSEHINDSA, + /** + * Proposed dosage exceeds standard practice for the patient's weight + */ + DOSEHINDW, + /** + * Proposed dosage interval/timing differs from standard practice + */ + DOSEIVL, + /** + * Proposed dosage interval/timing differs from standard practice for the identified indication or diagnosis + */ + DOSEIVLIND, + /** + * Proposed dosage is below suggested therapeutic levels + */ + DOSEL, + /** + * Proposed dosage is below suggested therapeutic levels for the patient's age + */ + DOSELINDA, + /** + * Low Dose for Indication Alert + */ + DOSELIND, + /** + * Proposed dosage is below suggested therapeutic levels for the patient's height or body surface area + */ + DOSELINDSA, + /** + * Proposed dosage is below suggested therapeutic levels for the patient's weight + */ + DOSELINDW, + /** + * Description:The maximum quantity of this drug allowed to be administered within a particular time-range (month, year, lifetime) has been reached or exceeded. + */ + MDOSE, + /** + * Proposed therapy may be inappropriate or contraindicated due to conditions or characteristics of the patient + */ + OBSA, + /** + * Proposed therapy may be inappropriate or contraindicated due to patient age + */ + AGE, + /** + * Proposed therapy is outside of the standard practice for an adult patient. + */ + ADALRT, + /** + * Proposed therapy is outside of standard practice for a geriatric patient. + */ + GEALRT, + /** + * Proposed therapy is outside of the standard practice for a pediatric patient. + */ + PEALRT, + /** + * Proposed therapy may be inappropriate or contraindicated due to an existing/recent patient condition or diagnosis + */ + COND, + /** + * null + */ + HGHT, + /** + * Proposed therapy may be inappropriate or contraindicated when breast-feeding + */ + LACT, + /** + * Proposed therapy may be inappropriate or contraindicated during pregnancy + */ + PREG, + /** + * null + */ + WGHT, + /** + * Description:Proposed therapy may be inappropriate or contraindicated because of a common but non-patient specific reaction to the product. + + + Example:There is no record of a specific sensitivity for the patient, but the presence of the sensitivity is common and therefore caution is warranted. + */ + CREACT, + /** + * Proposed therapy may be inappropriate or contraindicated due to patient genetic indicators. + */ + GEN, + /** + * Proposed therapy may be inappropriate or contraindicated due to patient gender. + */ + GEND, + /** + * Proposed therapy may be inappropriate or contraindicated due to recent lab test results + */ + LAB, + /** + * Proposed therapy may be inappropriate or contraindicated based on the potential for a patient reaction to the proposed product + */ + REACT, + /** + * Proposed therapy may be inappropriate or contraindicated because of a recorded patient allergy to the proposed product. (Allergies are immune based reactions.) + */ + ALGY, + /** + * Proposed therapy may be inappropriate or contraindicated because of a recorded patient intolerance to the proposed product. (Intolerances are non-immune based sensitivities.) + */ + INT, + /** + * Proposed therapy may be inappropriate or contraindicated because of a potential patient reaction to a cross-sensitivity related product. + */ + RREACT, + /** + * Proposed therapy may be inappropriate or contraindicated because of a recorded patient allergy to a cross-sensitivity related product. (Allergies are immune based reactions.) + */ + RALG, + /** + * Proposed therapy may be inappropriate or contraindicated because of a recorded prior adverse reaction to a cross-sensitivity related product. + */ + RAR, + /** + * Proposed therapy may be inappropriate or contraindicated because of a recorded patient intolerance to a cross-sensitivity related product. (Intolerances are non-immune based sensitivities.) + */ + RINT, + /** + * Description:A local business rule relating multiple elements has been violated. + */ + BUS, + /** + * Description:The specified code is not valid against the list of codes allowed for the element. + */ + CODEINVAL, + /** + * Description:The specified code has been deprecated and should no longer be used. Select another code from the code system. + */ + CODEDEPREC, + /** + * Description:The element does not follow the formatting or type rules defined for the field. + */ + FORMAT, + /** + * Description:The request is missing elements or contains elements which cause it to not meet the legal standards for actioning. + */ + ILLEGAL, + /** + * Description:The length of the data specified falls out of the range defined for the element. + */ + LENRANGE, + /** + * Description:The length of the data specified is greater than the maximum length defined for the element. + */ + LENLONG, + /** + * Description:The length of the data specified is less than the minimum length defined for the element. + */ + LENSHORT, + /** + * Description:The specified element must be specified with a non-null value under certain conditions. In this case, the conditions are true but the element is still missing or null. + */ + MISSCOND, + /** + * Description:The specified element is mandatory and was not included in the instance. + */ + MISSMAND, + /** + * Description:More than one element with the same value exists in the set. Duplicates not permission in this set in a set. + */ + NODUPS, + /** + * Description: Element in submitted message will not persist in data storage based on detected issue. + */ + NOPERSIST, + /** + * Description:The number of repeating elements falls outside the range of the allowed number of repetitions. + */ + REPRANGE, + /** + * Description:The number of repeating elements is above the maximum number of repetitions allowed. + */ + MAXOCCURS, + /** + * Description:The number of repeating elements is below the minimum number of repetitions allowed. + */ + MINOCCURS, + /** + * ActAdministrativeRuleDetectedIssueCode + */ + _ACTADMINISTRATIVERULEDETECTEDISSUECODE, + /** + * Description: Metadata associated with the identification (e.g. name or gender) does not match the identification being verified. + */ + KEY206, + /** + * Description: One or more records in the query response have a status of 'obsolete'. + */ + OBSOLETE, + /** + * Identifies types of detected issues regarding the administration or supply of an item to a patient. + */ + _ACTSUPPLIEDITEMDETECTEDISSUECODE, + /** + * Administration of the proposed therapy may be inappropriate or contraindicated as proposed + */ + _ADMINISTRATIONDETECTEDISSUECODE, + /** + * AppropriatenessDetectedIssueCode + */ + _APPROPRIATENESSDETECTEDISSUECODE, + /** + * InteractionDetectedIssueCode + */ + _INTERACTIONDETECTEDISSUECODE, + /** + * Proposed therapy may interact with certain foods + */ + FOOD, + /** + * Proposed therapy may interact with an existing or recent therapeutic product + */ + TPROD, + /** + * Proposed therapy may interact with an existing or recent drug therapy + */ + DRG, + /** + * Proposed therapy may interact with existing or recent natural health product therapy + */ + NHP, + /** + * Proposed therapy may interact with a non-prescription drug (e.g. alcohol, tobacco, Aspirin) + */ + NONRX, + /** + * Definition:The same or similar treatment has previously been attempted with the patient without achieving a positive effect. + */ + PREVINEF, + /** + * Description:Proposed therapy may be contraindicated or ineffective based on an existing or recent drug therapy. + */ + DACT, + /** + * Description:Proposed therapy may be inappropriate or ineffective based on the proposed start or end time. + */ + TIME, + /** + * Definition:Proposed therapy may be inappropriate or ineffective because the end of administration is too close to another planned therapy. + */ + ALRTENDLATE, + /** + * Definition:Proposed therapy may be inappropriate or ineffective because the start of administration is too late after the onset of the condition. + */ + ALRTSTRTLATE, + /** + * Supplying the product at this time may be inappropriate or indicate compliance issues with the associated therapy + */ + _SUPPLYDETECTEDISSUECODE, + /** + * Definition:The requested action has already been performed and so this request has no effect + */ + ALLDONE, + /** + * Definition:The therapy being performed is in some way out of alignment with the requested therapy. + */ + FULFIL, + /** + * Definition:The status of the request being fulfilled has changed such that it is no longer actionable. This may be because the request has expired, has already been completely fulfilled or has been otherwise stopped or disabled. (Not used for 'suspended' orders.) + */ + NOTACTN, + /** + * Definition:The therapy being performed is not sufficiently equivalent to the therapy which was requested. + */ + NOTEQUIV, + /** + * Definition:The therapy being performed is not generically equivalent (having the identical biological action) to the therapy which was requested. + */ + NOTEQUIVGEN, + /** + * Definition:The therapy being performed is not therapeutically equivalent (having the same overall patient effect) to the therapy which was requested. + */ + NOTEQUIVTHER, + /** + * Definition:The therapy is being performed at a time which diverges from the time the therapy was requested + */ + TIMING, + /** + * Definition:The therapy action is being performed outside the bounds of the time period requested + */ + INTERVAL, + /** + * Definition:The therapy action is being performed too soon after the previous occurrence based on the requested frequency + */ + MINFREQ, + /** + * Definition:There should be no actions taken in fulfillment of a request that has been held or suspended. + */ + HELD, + /** + * The patient is receiving a subsequent fill significantly later than would be expected based on the amount previously supplied and the therapy dosage instructions + */ + TOOLATE, + /** + * The patient is receiving a subsequent fill significantly earlier than would be expected based on the amount previously supplied and the therapy dosage instructions + */ + TOOSOON, + /** + * Description: While the record was accepted in the repository, there is a more recent version of a record of this type. + */ + HISTORIC, + /** + * Definition:The proposed therapy goes against preferences or consent constraints recorded in the patient's record. + */ + PATPREF, + /** + * Definition:The proposed therapy goes against preferences or consent constraints recorded in the patient's record. An alternate therapy meeting those constraints is available. + */ + PATPREFALT, + /** + * Categorization of types of observation that capture the main clinical knowledge subject which may be a medication, a laboratory test, a disease. + */ + KSUBJ, + /** + * Categorization of types of observation that capture a knowledge subtopic which might be treatment, etiology, or prognosis. + */ + KSUBT, + /** + * Hypersensitivity resulting in an adverse reaction upon exposure to an agent. + */ + OINT, + /** + * Hypersensitivity to an agent caused by an immunologic response to an initial exposure + */ + ALG, + /** + * An allergy to a pharmaceutical product. + */ + DALG, + /** + * An allergy to a substance other than a drug or a food. E.g. Latex, pollen, etc. + */ + EALG, + /** + * An allergy to a substance generally consumed for nutritional purposes. + */ + FALG, + /** + * Hypersensitivity resulting in an adverse reaction upon exposure to a drug. + */ + DINT, + /** + * Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure + */ + DNAINT, + /** + * Hypersensitivity resulting in an adverse reaction upon exposure to environmental conditions. + */ + EINT, + /** + * Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure + */ + ENAINT, + /** + * Hypersensitivity resulting in an adverse reaction upon exposure to food. + */ + FINT, + /** + * Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure + */ + FNAINT, + /** + * Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure + */ + NAINT, + /** + * Indicates a subjective evaluation of the criticality associated with another observation. + */ + SEV, + /** + * Shape of the region on the object being referenced + */ + _ROIOVERLAYSHAPE, + /** + * A circle defined by two (column,row) pairs. The first point is the center of the circle and the second point is a point on the perimeter of the circle. + */ + CIRCLE, + /** + * An ellipse defined by four (column,row) pairs, the first two points specifying the endpoints of the major axis and the second two points specifying the endpoints of the minor axis. + */ + ELLIPSE, + /** + * A single point denoted by a single (column,row) pair, or multiple points each denoted by a (column,row) pair. + */ + POINT, + /** + * A series of connected line segments with ordered vertices denoted by (column,row) pairs; if the first and last vertices are the same, it is a closed polygon. + */ + POLY, + /** + * Description:Indicates that result data has been corrected. + */ + C, + /** + * Code set to define specialized/allowed diets + */ + DIET, + /** + * A diet exclusively composed of oatmeal, semolina, or rice, to be extremely easy to eat and digest. + */ + BR, + /** + * A diet that uses carbohydrates sparingly. Typically with a restriction in daily energy content (e.g. 1600-2000 kcal). + */ + DM, + /** + * No enteral intake of foot or liquids whatsoever, no smoking. Typically 6 to 8 hours before anesthesia. + */ + FAST, + /** + * A diet consisting of a formula feeding, either for an infant or an adult, to provide nutrition either orally or through the gastrointestinal tract via tube, catheter or stoma. + */ + FORMULA, + /** + * Gluten free diet for celiac disease. + */ + GF, + /** + * A diet low in fat, particularly to patients with hepatic diseases. + */ + LF, + /** + * A low protein diet for patients with renal failure. + */ + LP, + /** + * A strictly liquid diet, that can be fully absorbed in the intestine, and therefore may not contain fiber. Used before enteral surgeries. + */ + LQ, + /** + * A diet low in sodium for patients with congestive heart failure and/or renal failure. + */ + LS, + /** + * A normal diet, i.e. no special preparations or restrictions for medical reasons. This is notwithstanding any preferences the patient might have regarding special foods, such as vegetarian, kosher, etc. + */ + N, + /** + * A no fat diet for acute hepatic diseases. + */ + NF, + /** + * Phenylketonuria diet. + */ + PAF, + /** + * Patient is supplied with parenteral nutrition, typically described in terms of i.v. medications. + */ + PAR, + /** + * A diet that seeks to reduce body fat, typically low energy content (800-1600 kcal). + */ + RD, + /** + * A diet that avoids ingredients that might cause digestion problems, e.g., avoid excessive fat, avoid too much fiber (cabbage, peas, beans). + */ + SCH, + /** + * A diet that is not intended to be complete but is added to other diets. + */ + SUPPLEMENT, + /** + * This is not really a diet, since it contains little nutritional value, but is essentially just water. Used before coloscopy examinations. + */ + T, + /** + * Diet with low content of the amino-acids valin, leucin, and isoleucin, for "maple syrup disease." + */ + VLI, + /** + * Definition: A public or government health program that administers and funds coverage for prescription drugs to assist program eligible who meet financial and health status criteria. + */ + DRUGPRG, + /** + * Description:Indicates that a result is complete. No further results are to come. This maps to the 'complete' state in the observation result status code. + */ + F, + /** + * Description:Indicates that a result is incomplete. There are further results to come. This maps to the 'active' state in the observation result status code. + */ + PRLMN, + /** + * An observation identifying security metadata about an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security metadata are used to name security labels. + + + Rationale: According to ISO/TS 22600-3:2009(E) A.9.1.7 SECURITY LABEL MATCHING, Security label matching compares the initiator's clearance to the target's security label. All of the following must be true for authorization to be granted: + + + The security policy identifiers shall be identical + The classification level of the initiator shall be greater than or equal to that of the target (that is, there shall be at least one value in the classification list of the clearance greater than or equal to the classification of the target), and + For each security category in the target label, there shall be a security category of the same type in the initiator's clearance and the initiator's classification level shall dominate that of the target. + + + Examples: SecurityObservationType security label fields include: + + + Confidentiality classification + Compartment category + Sensitivity category + Security mechanisms used to ensure data integrity or to perform authorized data transformation + Indicators of an IT resource completeness, veracity, reliability, trustworthiness, or provenance. + + + Usage Note: SecurityObservationType codes designate security label field types, which are valued with an applicable SecurityObservationValue code as the "security label tag". + */ + SECOBS, + /** + * Type of security metadata observation made about the category of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security category metadata is defined by ISO/IEC 2382-8:1998(E/F)/ T-REC-X.812-1995 as: "A nonhierarchical grouping of sensitive information used to control access to data more finely than with hierarchical security classification alone." + + + Rationale: A security category observation supports requirement to specify the type of IT resource to facilitate application of appropriate levels of information security according to a range of levels of impact or consequences that might result from the unauthorized disclosure, modification, or use of the information or information system. A resource is assigned to a specific category of information (e.g., privacy, medical, proprietary, financial, investigative, contractor sensitive, security management) defined by an organization or in some instances, by a specific law, Executive Order, directive, policy, or regulation. [FIPS 199] + + + Examples: Types of security categories include: + + + Compartment: A division of data into isolated blocks with separate security controls for the purpose of reducing risk. (ISO 2382-8). A security label tag that "segments" an IT resource by indicating that access and use is restricted to members of a defined community or project. (HL7 Healthcare Classification System) + Sensitivity: The characteristic of an IT resource which implies its value or importance and may include its vulnerability. (ISO 7492-2) Privacy metadata for information perceived as undesirable to share. (HL7 Healthcare Classification System) + */ + SECCATOBS, + /** + * Type of security metadata observation made about the classification of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security classification is defined by ISO/IEC 2382-8:1998(E/F)/ T-REC-X.812-1995 as: "The determination of which specific degree of protection against access the data or information requires, together with a designation of that degree of protection." Security classification metadata is based on an analysis of applicable policies and the risk of financial, reputational, or other harm that could result from unauthorized disclosure. + + + Rationale: A security classification observation may indicate that the confidentiality level indicated by an Act or Role confidentiality attribute has been overridden by the entity responsible for ascribing the SecurityClassificationObservationValue. This supports the business requirement for increasing or decreasing the level of confidentiality (classification or declassification) based on parameters beyond the original assignment of an Act or Role confidentiality. + + + Examples: Types of security classification include: HL7 Confidentiality Codes such as very restricted, unrestricted, and normal. Intelligence community examples include top secret, secret, and confidential. + + + Usage Note: Security classification observation type codes designate security label field types, which are valued with an applicable SecurityClassificationObservationValue code as the "security label tag". + */ + SECCLASSOBS, + /** + * Type of security metadata observation made about the control of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security control metadata convey instructions to users and receivers for secure distribution, transmission, and storage; dictate obligations or mandated actions; specify any action prohibited by refrain policy such as dissemination controls; and stipulate the permissible purpose of use of an IT resource. + + + Rationale: A security control observation supports requirement to specify applicable management, operational, and technical controls (i.e., safeguards or countermeasures) prescribed for an information system to protect the confidentiality, integrity, and availability of the system and its information. [FIPS 199] + + + Examples: Types of security control metadata include: + + + handling caveats + dissemination controls + obligations + refrain policies + purpose of use constraints + */ + SECCONOBS, + /** + * Type of security metadata observation made about the integrity of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. + + + Rationale: A security integrity observation supports the requirement to guard against improper information modification or destruction, and includes ensuring information non-repudiation and authenticity. (44 U.S.C., SEC. 3542) + + + Examples: Types of security integrity metadata include: + + + Integrity status, which indicates the completeness or workflow status of an IT resource (data, information object, service, or system capability) + Integrity confidence, which indicates the reliability and trustworthiness of an IT resource + Integrity control, which indicates pertinent handling caveats, obligations, refrain policies, and purpose of use for the resource + Data integrity, which indicate the security mechanisms used to ensure that the accuracy and consistency are preserved regardless of changes made (ISO/IEC DIS 2382-8) + Alteration integrity, which indicate the security mechanisms used for authorized transformations of the resource + Integrity provenance, which indicates the entity responsible for a report or assertion relayed "second-hand" about an IT resource + */ + SECINTOBS, + /** + * Type of security metadata observation made about the alteration integrity of an IT resource (data, information object, service, or system capability), which indicates the mechanism used for authorized transformations of the resource. + + + Examples: Types of security alteration integrity observation metadata, which may value the observation with a code used to indicate the mechanism used for authorized transformation of an IT resource, including: + + + translation + syntactic transformation + semantic mapping + redaction + masking + pseudonymization + anonymization + */ + SECALTINTOBS, + /** + * Type of security metadata observation made about the data integrity of an IT resource (data, information object, service, or system capability), which indicates the security mechanism used to preserve resource accuracy and consistency. Data integrity is defined by ISO 22600-23.3.21 as: "The property that data has not been altered or destroyed in an unauthorized manner", and by ISO/IEC 2382-8: The property of data whose accuracy and consistency are preserved regardless of changes made." + + + Examples: Types of security data integrity observation metadata, which may value the observation, include cryptographic hash function and digital signature. + */ + SECDATINTOBS, + /** + * Type of security metadata observation made about the integrity confidence of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. + + + Examples: Types of security integrity confidence observation metadata, which may value the observation, include highly reliable, uncertain reliability, and not reliable. + + + Usage Note: A security integrity confidence observation on an Act may indicate that a valued Act.uncertaintycode attribute has been overridden by the entity responsible for ascribing the SecurityIntegrityConfidenceObservationValue. This supports the business requirements for increasing or decreasing the assessment of the reliability or trustworthiness of an IT resource based on parameters beyond the original assignment of an Act statement level of uncertainty. + */ + SECINTCONOBS, + /** + * Type of security metadata observation made about the provenance integrity of an IT resource (data, information object, service, or system capability), which indicates the lifecycle completeness of an IT resource in terms of workflow status such as its creation, modification, suspension, and deletion; locations in which the resource has been collected or archived, from which it may be retrieved, and the history of its distribution and disclosure. Integrity provenance metadata about an IT resource may be used to assess its veracity, reliability, and trustworthiness. + + + Examples: Types of security integrity provenance observation metadata, which may value the observation about an IT resource, include: + + + completeness or workflow status, such as authentication + the entity responsible for original authoring or informing about an IT resource + the entity responsible for a report or assertion about an IT resource relayed “second-handâ€? + the entity responsible for excerpting, transforming, or compiling an IT resource + */ + SECINTPRVOBS, + /** + * Type of security metadata observation made about the integrity provenance of an IT resource (data, information object, service, or system capability), which indicates the entity that made assertions about the resource. The asserting entity may not be the original informant about the resource. + + + Examples: Types of security integrity provenance asserted by observation metadata, which may value the observation, including: + + + assertions about an IT resource by a patient + assertions about an IT resource by a clinician + assertions about an IT resource by a device + */ + SECINTPRVABOBS, + /** + * Type of security metadata observation made about the integrity provenance of an IT resource (data, information object, service, or system capability), which indicates the entity that reported the existence of the resource. The reporting entity may not be the original author of the resource. + + + Examples: Types of security integrity provenance reported by observation metadata, which may value the observation, include: + + + reports about an IT resource by a patient + reports about an IT resource by a clinician + reports about an IT resource by a device + */ + SECINTPRVRBOBS, + /** + * Type of security metadata observation made about the integrity status of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Indicates the completeness of an IT resource in terms of workflow status, which may impact users that are authorized to access and use the resource. + + + Examples: Types of security integrity status observation metadata, which may value the observation, include codes from the HL7 DocumentCompletion code system such as legally authenticated, in progress, and incomplete. + */ + SECINTSTOBS, + /** + * An observation identifying trust metadata about an IT resource (data, information object, service, or system capability), which may be used as a trust attribute to populate a computable trust policy, trust credential, trust assertion, or trust label field in a security label or trust policy, which are principally used for authentication, authorization, and access control decisions. + */ + SECTRSTOBS, + /** + * Type of security metadata observation made about the formal declaration by an authority or neutral third party that validates the technical, security, trust, and business practice conformance of Trust Agents to facilitate security, interoperability, and trust among participants within a security domain or trust framework. + */ + TRSTACCRDOBS, + /** + * Type of security metadata observation made about privacy and security requirements with which a security domain must comply. [ISO IEC 10181-1] + */ + TRSTAGREOBS, + /** + * Type of security metadata observation made about a set of security-relevant data issued by a security authority or trusted third party, together with security information which is used to provide the integrity and data origin authentication services for an IT resource (data, information object, service, or system capability). [Based on ISO IEC 10181-1] + + + For example, + + + + A Certificate Policy (CP), which is a named set of rules that indicates the applicability of a certificate to a particular community and/or class of application with common security requirements. For example, a particular Certificate Policy might indicate the applicability of a type of certificate to the authentication of electronic data interchange transactions for the trading of goods within a given price range. [Trust Service Principles and Criteria for Certification Authorities Version 2.0 March 2011 Copyright 2011 by Canadian Institute of Chartered Accountants. + A Certificate Practice Statement (CSP), which is a statement of the practices which an Authority employs in issuing and managing certificates. [Trust Service Principles and Criteria for Certification Authorities Version 2.0 March 2011 Copyright 2011 by Canadian Institute of Chartered Accountants.] + */ + TRSTCERTOBS, + /** + * Type of security metadata observation made about a complete set of contracts, regulations or commitments that enable participating actors to rely on certain assertions by other actors to fulfill their information security requirements. [Kantara Initiative] + */ + TRSTFWKOBS, + /** + * Type of security metadata observation made about the digital quality or reliability of a trust assertion, activity, capability, information exchange, mechanism, process, or protocol. + */ + TRSTLOAOBS, + /** + * Type of security metadata observation made about a security architecture system component that supports enforcement of security policies. + */ + TRSTMECOBS, + /** + * Definition: A government health program that provides coverage on a fee for service basis for health services to persons meeting eligibility criteria such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds. + + + Discussion: The structure and business processes for underwriting and administering a subsidized fee for service program is further specified by the Underwriter and Payer Role.class and Role.code. + */ + SUBSIDFFS, + /** + * Definition: Government mandated program providing coverage, disability income, and vocational rehabilitation for injuries sustained in the work place or in the course of employment. Employers may either self-fund the program, purchase commercial coverage, or pay a premium to a government entity that administers the program. Employees may be required to pay premiums toward the cost of coverage as well. + */ + WRKCOMP, + /** + * added to help the parsers + */ + NULL; + public static V3ActCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActAccountCode".equals(codeString)) + return _ACTACCOUNTCODE; + if ("ACCTRECEIVABLE".equals(codeString)) + return ACCTRECEIVABLE; + if ("CASH".equals(codeString)) + return CASH; + if ("CC".equals(codeString)) + return CC; + if ("AE".equals(codeString)) + return AE; + if ("DN".equals(codeString)) + return DN; + if ("DV".equals(codeString)) + return DV; + if ("MC".equals(codeString)) + return MC; + if ("V".equals(codeString)) + return V; + if ("PBILLACCT".equals(codeString)) + return PBILLACCT; + if ("_ActAdjudicationCode".equals(codeString)) + return _ACTADJUDICATIONCODE; + if ("_ActAdjudicationGroupCode".equals(codeString)) + return _ACTADJUDICATIONGROUPCODE; + if ("CONT".equals(codeString)) + return CONT; + if ("DAY".equals(codeString)) + return DAY; + if ("LOC".equals(codeString)) + return LOC; + if ("MONTH".equals(codeString)) + return MONTH; + if ("PERIOD".equals(codeString)) + return PERIOD; + if ("PROV".equals(codeString)) + return PROV; + if ("WEEK".equals(codeString)) + return WEEK; + if ("YEAR".equals(codeString)) + return YEAR; + if ("AA".equals(codeString)) + return AA; + if ("ANF".equals(codeString)) + return ANF; + if ("AR".equals(codeString)) + return AR; + if ("AS".equals(codeString)) + return AS; + if ("_ActAdjudicationResultActionCode".equals(codeString)) + return _ACTADJUDICATIONRESULTACTIONCODE; + if ("DISPLAY".equals(codeString)) + return DISPLAY; + if ("FORM".equals(codeString)) + return FORM; + if ("_ActBillableModifierCode".equals(codeString)) + return _ACTBILLABLEMODIFIERCODE; + if ("CPTM".equals(codeString)) + return CPTM; + if ("HCPCSA".equals(codeString)) + return HCPCSA; + if ("_ActBillingArrangementCode".equals(codeString)) + return _ACTBILLINGARRANGEMENTCODE; + if ("BLK".equals(codeString)) + return BLK; + if ("CAP".equals(codeString)) + return CAP; + if ("CONTF".equals(codeString)) + return CONTF; + if ("FINBILL".equals(codeString)) + return FINBILL; + if ("ROST".equals(codeString)) + return ROST; + if ("SESS".equals(codeString)) + return SESS; + if ("_ActBoundedROICode".equals(codeString)) + return _ACTBOUNDEDROICODE; + if ("ROIFS".equals(codeString)) + return ROIFS; + if ("ROIPS".equals(codeString)) + return ROIPS; + if ("_ActCareProvisionCode".equals(codeString)) + return _ACTCAREPROVISIONCODE; + if ("_ActCredentialedCareCode".equals(codeString)) + return _ACTCREDENTIALEDCARECODE; + if ("_ActCredentialedCareProvisionPersonCode".equals(codeString)) + return _ACTCREDENTIALEDCAREPROVISIONPERSONCODE; + if ("CACC".equals(codeString)) + return CACC; + if ("CAIC".equals(codeString)) + return CAIC; + if ("CAMC".equals(codeString)) + return CAMC; + if ("CANC".equals(codeString)) + return CANC; + if ("CAPC".equals(codeString)) + return CAPC; + if ("CBGC".equals(codeString)) + return CBGC; + if ("CCCC".equals(codeString)) + return CCCC; + if ("CCGC".equals(codeString)) + return CCGC; + if ("CCPC".equals(codeString)) + return CCPC; + if ("CCSC".equals(codeString)) + return CCSC; + if ("CDEC".equals(codeString)) + return CDEC; + if ("CDRC".equals(codeString)) + return CDRC; + if ("CEMC".equals(codeString)) + return CEMC; + if ("CFPC".equals(codeString)) + return CFPC; + if ("CIMC".equals(codeString)) + return CIMC; + if ("CMGC".equals(codeString)) + return CMGC; + if ("CNEC".equals(codeString)) + return CNEC; + if ("CNMC".equals(codeString)) + return CNMC; + if ("CNQC".equals(codeString)) + return CNQC; + if ("CNSC".equals(codeString)) + return CNSC; + if ("COGC".equals(codeString)) + return COGC; + if ("COMC".equals(codeString)) + return COMC; + if ("COPC".equals(codeString)) + return COPC; + if ("COSC".equals(codeString)) + return COSC; + if ("COTC".equals(codeString)) + return COTC; + if ("CPEC".equals(codeString)) + return CPEC; + if ("CPGC".equals(codeString)) + return CPGC; + if ("CPHC".equals(codeString)) + return CPHC; + if ("CPRC".equals(codeString)) + return CPRC; + if ("CPSC".equals(codeString)) + return CPSC; + if ("CPYC".equals(codeString)) + return CPYC; + if ("CROC".equals(codeString)) + return CROC; + if ("CRPC".equals(codeString)) + return CRPC; + if ("CSUC".equals(codeString)) + return CSUC; + if ("CTSC".equals(codeString)) + return CTSC; + if ("CURC".equals(codeString)) + return CURC; + if ("CVSC".equals(codeString)) + return CVSC; + if ("LGPC".equals(codeString)) + return LGPC; + if ("_ActCredentialedCareProvisionProgramCode".equals(codeString)) + return _ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE; + if ("AALC".equals(codeString)) + return AALC; + if ("AAMC".equals(codeString)) + return AAMC; + if ("ABHC".equals(codeString)) + return ABHC; + if ("ACAC".equals(codeString)) + return ACAC; + if ("ACHC".equals(codeString)) + return ACHC; + if ("AHOC".equals(codeString)) + return AHOC; + if ("ALTC".equals(codeString)) + return ALTC; + if ("AOSC".equals(codeString)) + return AOSC; + if ("CACS".equals(codeString)) + return CACS; + if ("CAMI".equals(codeString)) + return CAMI; + if ("CAST".equals(codeString)) + return CAST; + if ("CBAR".equals(codeString)) + return CBAR; + if ("CCAD".equals(codeString)) + return CCAD; + if ("CCAR".equals(codeString)) + return CCAR; + if ("CDEP".equals(codeString)) + return CDEP; + if ("CDGD".equals(codeString)) + return CDGD; + if ("CDIA".equals(codeString)) + return CDIA; + if ("CEPI".equals(codeString)) + return CEPI; + if ("CFEL".equals(codeString)) + return CFEL; + if ("CHFC".equals(codeString)) + return CHFC; + if ("CHRO".equals(codeString)) + return CHRO; + if ("CHYP".equals(codeString)) + return CHYP; + if ("CMIH".equals(codeString)) + return CMIH; + if ("CMSC".equals(codeString)) + return CMSC; + if ("COJR".equals(codeString)) + return COJR; + if ("CONC".equals(codeString)) + return CONC; + if ("COPD".equals(codeString)) + return COPD; + if ("CORT".equals(codeString)) + return CORT; + if ("CPAD".equals(codeString)) + return CPAD; + if ("CPND".equals(codeString)) + return CPND; + if ("CPST".equals(codeString)) + return CPST; + if ("CSDM".equals(codeString)) + return CSDM; + if ("CSIC".equals(codeString)) + return CSIC; + if ("CSLD".equals(codeString)) + return CSLD; + if ("CSPT".equals(codeString)) + return CSPT; + if ("CTBU".equals(codeString)) + return CTBU; + if ("CVDC".equals(codeString)) + return CVDC; + if ("CWMA".equals(codeString)) + return CWMA; + if ("CWOH".equals(codeString)) + return CWOH; + if ("_ActEncounterCode".equals(codeString)) + return _ACTENCOUNTERCODE; + if ("AMB".equals(codeString)) + return AMB; + if ("EMER".equals(codeString)) + return EMER; + if ("FLD".equals(codeString)) + return FLD; + if ("HH".equals(codeString)) + return HH; + if ("IMP".equals(codeString)) + return IMP; + if ("ACUTE".equals(codeString)) + return ACUTE; + if ("NONAC".equals(codeString)) + return NONAC; + if ("PRENC".equals(codeString)) + return PRENC; + if ("SS".equals(codeString)) + return SS; + if ("VR".equals(codeString)) + return VR; + if ("_ActMedicalServiceCode".equals(codeString)) + return _ACTMEDICALSERVICECODE; + if ("ALC".equals(codeString)) + return ALC; + if ("CARD".equals(codeString)) + return CARD; + if ("CHR".equals(codeString)) + return CHR; + if ("DNTL".equals(codeString)) + return DNTL; + if ("DRGRHB".equals(codeString)) + return DRGRHB; + if ("GENRL".equals(codeString)) + return GENRL; + if ("MED".equals(codeString)) + return MED; + if ("OBS".equals(codeString)) + return OBS; + if ("ONC".equals(codeString)) + return ONC; + if ("PALL".equals(codeString)) + return PALL; + if ("PED".equals(codeString)) + return PED; + if ("PHAR".equals(codeString)) + return PHAR; + if ("PHYRHB".equals(codeString)) + return PHYRHB; + if ("PSYCH".equals(codeString)) + return PSYCH; + if ("SURG".equals(codeString)) + return SURG; + if ("_ActClaimAttachmentCategoryCode".equals(codeString)) + return _ACTCLAIMATTACHMENTCATEGORYCODE; + if ("AUTOATTCH".equals(codeString)) + return AUTOATTCH; + if ("DOCUMENT".equals(codeString)) + return DOCUMENT; + if ("HEALTHREC".equals(codeString)) + return HEALTHREC; + if ("IMG".equals(codeString)) + return IMG; + if ("LABRESULTS".equals(codeString)) + return LABRESULTS; + if ("MODEL".equals(codeString)) + return MODEL; + if ("WIATTCH".equals(codeString)) + return WIATTCH; + if ("XRAY".equals(codeString)) + return XRAY; + if ("_ActConsentType".equals(codeString)) + return _ACTCONSENTTYPE; + if ("ICOL".equals(codeString)) + return ICOL; + if ("IDSCL".equals(codeString)) + return IDSCL; + if ("INFA".equals(codeString)) + return INFA; + if ("INFAO".equals(codeString)) + return INFAO; + if ("INFASO".equals(codeString)) + return INFASO; + if ("IRDSCL".equals(codeString)) + return IRDSCL; + if ("RESEARCH".equals(codeString)) + return RESEARCH; + if ("RSDID".equals(codeString)) + return RSDID; + if ("RSREID".equals(codeString)) + return RSREID; + if ("_ActContainerRegistrationCode".equals(codeString)) + return _ACTCONTAINERREGISTRATIONCODE; + if ("ID".equals(codeString)) + return ID; + if ("IP".equals(codeString)) + return IP; + if ("L".equals(codeString)) + return L; + if ("M".equals(codeString)) + return M; + if ("O".equals(codeString)) + return O; + if ("R".equals(codeString)) + return R; + if ("X".equals(codeString)) + return X; + if ("_ActControlVariable".equals(codeString)) + return _ACTCONTROLVARIABLE; + if ("AUTO".equals(codeString)) + return AUTO; + if ("ENDC".equals(codeString)) + return ENDC; + if ("REFLEX".equals(codeString)) + return REFLEX; + if ("_ActCoverageConfirmationCode".equals(codeString)) + return _ACTCOVERAGECONFIRMATIONCODE; + if ("_ActCoverageAuthorizationConfirmationCode".equals(codeString)) + return _ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE; + if ("AUTH".equals(codeString)) + return AUTH; + if ("NAUTH".equals(codeString)) + return NAUTH; + if ("_ActCoverageLimitCode".equals(codeString)) + return _ACTCOVERAGELIMITCODE; + if ("_ActCoverageQuantityLimitCode".equals(codeString)) + return _ACTCOVERAGEQUANTITYLIMITCODE; + if ("COVPRD".equals(codeString)) + return COVPRD; + if ("LFEMX".equals(codeString)) + return LFEMX; + if ("NETAMT".equals(codeString)) + return NETAMT; + if ("PRDMX".equals(codeString)) + return PRDMX; + if ("UNITPRICE".equals(codeString)) + return UNITPRICE; + if ("UNITQTY".equals(codeString)) + return UNITQTY; + if ("COVMX".equals(codeString)) + return COVMX; + if ("_ActCoverageTypeCode".equals(codeString)) + return _ACTCOVERAGETYPECODE; + if ("_ActInsurancePolicyCode".equals(codeString)) + return _ACTINSURANCEPOLICYCODE; + if ("EHCPOL".equals(codeString)) + return EHCPOL; + if ("HSAPOL".equals(codeString)) + return HSAPOL; + if ("AUTOPOL".equals(codeString)) + return AUTOPOL; + if ("COL".equals(codeString)) + return COL; + if ("UNINSMOT".equals(codeString)) + return UNINSMOT; + if ("PUBLICPOL".equals(codeString)) + return PUBLICPOL; + if ("DENTPRG".equals(codeString)) + return DENTPRG; + if ("DISEASEPRG".equals(codeString)) + return DISEASEPRG; + if ("CANPRG".equals(codeString)) + return CANPRG; + if ("ENDRENAL".equals(codeString)) + return ENDRENAL; + if ("HIVAIDS".equals(codeString)) + return HIVAIDS; + if ("MANDPOL".equals(codeString)) + return MANDPOL; + if ("MENTPRG".equals(codeString)) + return MENTPRG; + if ("SAFNET".equals(codeString)) + return SAFNET; + if ("SUBPRG".equals(codeString)) + return SUBPRG; + if ("SUBSIDIZ".equals(codeString)) + return SUBSIDIZ; + if ("SUBSIDMC".equals(codeString)) + return SUBSIDMC; + if ("SUBSUPP".equals(codeString)) + return SUBSUPP; + if ("WCBPOL".equals(codeString)) + return WCBPOL; + if ("_ActInsuranceTypeCode".equals(codeString)) + return _ACTINSURANCETYPECODE; + if ("_ActHealthInsuranceTypeCode".equals(codeString)) + return _ACTHEALTHINSURANCETYPECODE; + if ("DENTAL".equals(codeString)) + return DENTAL; + if ("DISEASE".equals(codeString)) + return DISEASE; + if ("DRUGPOL".equals(codeString)) + return DRUGPOL; + if ("HIP".equals(codeString)) + return HIP; + if ("LTC".equals(codeString)) + return LTC; + if ("MCPOL".equals(codeString)) + return MCPOL; + if ("POS".equals(codeString)) + return POS; + if ("HMO".equals(codeString)) + return HMO; + if ("PPO".equals(codeString)) + return PPO; + if ("MENTPOL".equals(codeString)) + return MENTPOL; + if ("SUBPOL".equals(codeString)) + return SUBPOL; + if ("VISPOL".equals(codeString)) + return VISPOL; + if ("DIS".equals(codeString)) + return DIS; + if ("EWB".equals(codeString)) + return EWB; + if ("FLEXP".equals(codeString)) + return FLEXP; + if ("LIFE".equals(codeString)) + return LIFE; + if ("ANNU".equals(codeString)) + return ANNU; + if ("TLIFE".equals(codeString)) + return TLIFE; + if ("ULIFE".equals(codeString)) + return ULIFE; + if ("PNC".equals(codeString)) + return PNC; + if ("REI".equals(codeString)) + return REI; + if ("SURPL".equals(codeString)) + return SURPL; + if ("UMBRL".equals(codeString)) + return UMBRL; + if ("_ActProgramTypeCode".equals(codeString)) + return _ACTPROGRAMTYPECODE; + if ("CHAR".equals(codeString)) + return CHAR; + if ("CRIME".equals(codeString)) + return CRIME; + if ("EAP".equals(codeString)) + return EAP; + if ("GOVEMP".equals(codeString)) + return GOVEMP; + if ("HIRISK".equals(codeString)) + return HIRISK; + if ("IND".equals(codeString)) + return IND; + if ("MILITARY".equals(codeString)) + return MILITARY; + if ("RETIRE".equals(codeString)) + return RETIRE; + if ("SOCIAL".equals(codeString)) + return SOCIAL; + if ("VET".equals(codeString)) + return VET; + if ("_ActDetectedIssueManagementCode".equals(codeString)) + return _ACTDETECTEDISSUEMANAGEMENTCODE; + if ("_ActAdministrativeDetectedIssueManagementCode".equals(codeString)) + return _ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE; + if ("_AuthorizationIssueManagementCode".equals(codeString)) + return _AUTHORIZATIONISSUEMANAGEMENTCODE; + if ("EMAUTH".equals(codeString)) + return EMAUTH; + if ("21".equals(codeString)) + return _21; + if ("1".equals(codeString)) + return _1; + if ("19".equals(codeString)) + return _19; + if ("2".equals(codeString)) + return _2; + if ("22".equals(codeString)) + return _22; + if ("23".equals(codeString)) + return _23; + if ("3".equals(codeString)) + return _3; + if ("4".equals(codeString)) + return _4; + if ("5".equals(codeString)) + return _5; + if ("6".equals(codeString)) + return _6; + if ("7".equals(codeString)) + return _7; + if ("14".equals(codeString)) + return _14; + if ("15".equals(codeString)) + return _15; + if ("16".equals(codeString)) + return _16; + if ("17".equals(codeString)) + return _17; + if ("18".equals(codeString)) + return _18; + if ("20".equals(codeString)) + return _20; + if ("8".equals(codeString)) + return _8; + if ("10".equals(codeString)) + return _10; + if ("11".equals(codeString)) + return _11; + if ("12".equals(codeString)) + return _12; + if ("13".equals(codeString)) + return _13; + if ("9".equals(codeString)) + return _9; + if ("_ActExposureCode".equals(codeString)) + return _ACTEXPOSURECODE; + if ("CHLDCARE".equals(codeString)) + return CHLDCARE; + if ("CONVEYNC".equals(codeString)) + return CONVEYNC; + if ("HLTHCARE".equals(codeString)) + return HLTHCARE; + if ("HOMECARE".equals(codeString)) + return HOMECARE; + if ("HOSPPTNT".equals(codeString)) + return HOSPPTNT; + if ("HOSPVSTR".equals(codeString)) + return HOSPVSTR; + if ("HOUSEHLD".equals(codeString)) + return HOUSEHLD; + if ("INMATE".equals(codeString)) + return INMATE; + if ("INTIMATE".equals(codeString)) + return INTIMATE; + if ("LTRMCARE".equals(codeString)) + return LTRMCARE; + if ("PLACE".equals(codeString)) + return PLACE; + if ("PTNTCARE".equals(codeString)) + return PTNTCARE; + if ("SCHOOL2".equals(codeString)) + return SCHOOL2; + if ("SOCIAL2".equals(codeString)) + return SOCIAL2; + if ("SUBSTNCE".equals(codeString)) + return SUBSTNCE; + if ("TRAVINT".equals(codeString)) + return TRAVINT; + if ("WORK2".equals(codeString)) + return WORK2; + if ("_ActFinancialTransactionCode".equals(codeString)) + return _ACTFINANCIALTRANSACTIONCODE; + if ("CHRG".equals(codeString)) + return CHRG; + if ("REV".equals(codeString)) + return REV; + if ("_ActIncidentCode".equals(codeString)) + return _ACTINCIDENTCODE; + if ("MVA".equals(codeString)) + return MVA; + if ("SCHOOL".equals(codeString)) + return SCHOOL; + if ("SPT".equals(codeString)) + return SPT; + if ("WPA".equals(codeString)) + return WPA; + if ("_ActInformationAccessCode".equals(codeString)) + return _ACTINFORMATIONACCESSCODE; + if ("ACADR".equals(codeString)) + return ACADR; + if ("ACALL".equals(codeString)) + return ACALL; + if ("ACALLG".equals(codeString)) + return ACALLG; + if ("ACCONS".equals(codeString)) + return ACCONS; + if ("ACDEMO".equals(codeString)) + return ACDEMO; + if ("ACDI".equals(codeString)) + return ACDI; + if ("ACIMMUN".equals(codeString)) + return ACIMMUN; + if ("ACLAB".equals(codeString)) + return ACLAB; + if ("ACMED".equals(codeString)) + return ACMED; + if ("ACMEDC".equals(codeString)) + return ACMEDC; + if ("ACMEN".equals(codeString)) + return ACMEN; + if ("ACOBS".equals(codeString)) + return ACOBS; + if ("ACPOLPRG".equals(codeString)) + return ACPOLPRG; + if ("ACPROV".equals(codeString)) + return ACPROV; + if ("ACPSERV".equals(codeString)) + return ACPSERV; + if ("ACSUBSTAB".equals(codeString)) + return ACSUBSTAB; + if ("_ActInformationAccessContextCode".equals(codeString)) + return _ACTINFORMATIONACCESSCONTEXTCODE; + if ("INFAUT".equals(codeString)) + return INFAUT; + if ("INFCON".equals(codeString)) + return INFCON; + if ("INFCRT".equals(codeString)) + return INFCRT; + if ("INFDNG".equals(codeString)) + return INFDNG; + if ("INFEMER".equals(codeString)) + return INFEMER; + if ("INFPWR".equals(codeString)) + return INFPWR; + if ("INFREG".equals(codeString)) + return INFREG; + if ("_ActInformationCategoryCode".equals(codeString)) + return _ACTINFORMATIONCATEGORYCODE; + if ("ALLCAT".equals(codeString)) + return ALLCAT; + if ("ALLGCAT".equals(codeString)) + return ALLGCAT; + if ("ARCAT".equals(codeString)) + return ARCAT; + if ("COBSCAT".equals(codeString)) + return COBSCAT; + if ("DEMOCAT".equals(codeString)) + return DEMOCAT; + if ("DICAT".equals(codeString)) + return DICAT; + if ("IMMUCAT".equals(codeString)) + return IMMUCAT; + if ("LABCAT".equals(codeString)) + return LABCAT; + if ("MEDCCAT".equals(codeString)) + return MEDCCAT; + if ("MENCAT".equals(codeString)) + return MENCAT; + if ("PSVCCAT".equals(codeString)) + return PSVCCAT; + if ("RXCAT".equals(codeString)) + return RXCAT; + if ("_ActInvoiceElementCode".equals(codeString)) + return _ACTINVOICEELEMENTCODE; + if ("_ActInvoiceAdjudicationPaymentCode".equals(codeString)) + return _ACTINVOICEADJUDICATIONPAYMENTCODE; + if ("_ActInvoiceAdjudicationPaymentGroupCode".equals(codeString)) + return _ACTINVOICEADJUDICATIONPAYMENTGROUPCODE; + if ("ALEC".equals(codeString)) + return ALEC; + if ("BONUS".equals(codeString)) + return BONUS; + if ("CFWD".equals(codeString)) + return CFWD; + if ("EDU".equals(codeString)) + return EDU; + if ("EPYMT".equals(codeString)) + return EPYMT; + if ("GARN".equals(codeString)) + return GARN; + if ("INVOICE".equals(codeString)) + return INVOICE; + if ("PINV".equals(codeString)) + return PINV; + if ("PPRD".equals(codeString)) + return PPRD; + if ("PROA".equals(codeString)) + return PROA; + if ("RECOV".equals(codeString)) + return RECOV; + if ("RETRO".equals(codeString)) + return RETRO; + if ("TRAN".equals(codeString)) + return TRAN; + if ("_ActInvoiceAdjudicationPaymentSummaryCode".equals(codeString)) + return _ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE; + if ("INVTYPE".equals(codeString)) + return INVTYPE; + if ("PAYEE".equals(codeString)) + return PAYEE; + if ("PAYOR".equals(codeString)) + return PAYOR; + if ("SENDAPP".equals(codeString)) + return SENDAPP; + if ("_ActInvoiceDetailCode".equals(codeString)) + return _ACTINVOICEDETAILCODE; + if ("_ActInvoiceDetailClinicalProductCode".equals(codeString)) + return _ACTINVOICEDETAILCLINICALPRODUCTCODE; + if ("UNSPSC".equals(codeString)) + return UNSPSC; + if ("_ActInvoiceDetailDrugProductCode".equals(codeString)) + return _ACTINVOICEDETAILDRUGPRODUCTCODE; + if ("GTIN".equals(codeString)) + return GTIN; + if ("UPC".equals(codeString)) + return UPC; + if ("_ActInvoiceDetailGenericCode".equals(codeString)) + return _ACTINVOICEDETAILGENERICCODE; + if ("_ActInvoiceDetailGenericAdjudicatorCode".equals(codeString)) + return _ACTINVOICEDETAILGENERICADJUDICATORCODE; + if ("COIN".equals(codeString)) + return COIN; + if ("COPAYMENT".equals(codeString)) + return COPAYMENT; + if ("DEDUCTIBLE".equals(codeString)) + return DEDUCTIBLE; + if ("PAY".equals(codeString)) + return PAY; + if ("SPEND".equals(codeString)) + return SPEND; + if ("_ActInvoiceDetailGenericModifierCode".equals(codeString)) + return _ACTINVOICEDETAILGENERICMODIFIERCODE; + if ("AFTHRS".equals(codeString)) + return AFTHRS; + if ("ISOL".equals(codeString)) + return ISOL; + if ("OOO".equals(codeString)) + return OOO; + if ("_ActInvoiceDetailGenericProviderCode".equals(codeString)) + return _ACTINVOICEDETAILGENERICPROVIDERCODE; + if ("CANCAPT".equals(codeString)) + return CANCAPT; + if ("DSC".equals(codeString)) + return DSC; + if ("ESA".equals(codeString)) + return ESA; + if ("FFSTOP".equals(codeString)) + return FFSTOP; + if ("FNLFEE".equals(codeString)) + return FNLFEE; + if ("FRSTFEE".equals(codeString)) + return FRSTFEE; + if ("MARKUP".equals(codeString)) + return MARKUP; + if ("MISSAPT".equals(codeString)) + return MISSAPT; + if ("PERFEE".equals(codeString)) + return PERFEE; + if ("PERMBNS".equals(codeString)) + return PERMBNS; + if ("RESTOCK".equals(codeString)) + return RESTOCK; + if ("TRAVEL".equals(codeString)) + return TRAVEL; + if ("URGENT".equals(codeString)) + return URGENT; + if ("_ActInvoiceDetailTaxCode".equals(codeString)) + return _ACTINVOICEDETAILTAXCODE; + if ("FST".equals(codeString)) + return FST; + if ("HST".equals(codeString)) + return HST; + if ("PST".equals(codeString)) + return PST; + if ("_ActInvoiceDetailPreferredAccommodationCode".equals(codeString)) + return _ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE; + if ("_ActEncounterAccommodationCode".equals(codeString)) + return _ACTENCOUNTERACCOMMODATIONCODE; + if ("_HL7AccommodationCode".equals(codeString)) + return _HL7ACCOMMODATIONCODE; + if ("I".equals(codeString)) + return I; + if ("P".equals(codeString)) + return P; + if ("S".equals(codeString)) + return S; + if ("SP".equals(codeString)) + return SP; + if ("W".equals(codeString)) + return W; + if ("_ActInvoiceGroupCode".equals(codeString)) + return _ACTINVOICEGROUPCODE; + if ("_ActInvoiceInterGroupCode".equals(codeString)) + return _ACTINVOICEINTERGROUPCODE; + if ("CPNDDRGING".equals(codeString)) + return CPNDDRGING; + if ("CPNDINDING".equals(codeString)) + return CPNDINDING; + if ("CPNDSUPING".equals(codeString)) + return CPNDSUPING; + if ("DRUGING".equals(codeString)) + return DRUGING; + if ("FRAMEING".equals(codeString)) + return FRAMEING; + if ("LENSING".equals(codeString)) + return LENSING; + if ("PRDING".equals(codeString)) + return PRDING; + if ("_ActInvoiceRootGroupCode".equals(codeString)) + return _ACTINVOICEROOTGROUPCODE; + if ("CPINV".equals(codeString)) + return CPINV; + if ("CSINV".equals(codeString)) + return CSINV; + if ("CSPINV".equals(codeString)) + return CSPINV; + if ("FININV".equals(codeString)) + return FININV; + if ("OHSINV".equals(codeString)) + return OHSINV; + if ("PAINV".equals(codeString)) + return PAINV; + if ("RXCINV".equals(codeString)) + return RXCINV; + if ("RXDINV".equals(codeString)) + return RXDINV; + if ("SBFINV".equals(codeString)) + return SBFINV; + if ("VRXINV".equals(codeString)) + return VRXINV; + if ("_ActInvoiceElementSummaryCode".equals(codeString)) + return _ACTINVOICEELEMENTSUMMARYCODE; + if ("_InvoiceElementAdjudicated".equals(codeString)) + return _INVOICEELEMENTADJUDICATED; + if ("ADNFPPELAT".equals(codeString)) + return ADNFPPELAT; + if ("ADNFPPELCT".equals(codeString)) + return ADNFPPELCT; + if ("ADNFPPMNAT".equals(codeString)) + return ADNFPPMNAT; + if ("ADNFPPMNCT".equals(codeString)) + return ADNFPPMNCT; + if ("ADNFSPELAT".equals(codeString)) + return ADNFSPELAT; + if ("ADNFSPELCT".equals(codeString)) + return ADNFSPELCT; + if ("ADNFSPMNAT".equals(codeString)) + return ADNFSPMNAT; + if ("ADNFSPMNCT".equals(codeString)) + return ADNFSPMNCT; + if ("ADNPPPELAT".equals(codeString)) + return ADNPPPELAT; + if ("ADNPPPELCT".equals(codeString)) + return ADNPPPELCT; + if ("ADNPPPMNAT".equals(codeString)) + return ADNPPPMNAT; + if ("ADNPPPMNCT".equals(codeString)) + return ADNPPPMNCT; + if ("ADNPSPELAT".equals(codeString)) + return ADNPSPELAT; + if ("ADNPSPELCT".equals(codeString)) + return ADNPSPELCT; + if ("ADNPSPMNAT".equals(codeString)) + return ADNPSPMNAT; + if ("ADNPSPMNCT".equals(codeString)) + return ADNPSPMNCT; + if ("ADPPPPELAT".equals(codeString)) + return ADPPPPELAT; + if ("ADPPPPELCT".equals(codeString)) + return ADPPPPELCT; + if ("ADPPPPMNAT".equals(codeString)) + return ADPPPPMNAT; + if ("ADPPPPMNCT".equals(codeString)) + return ADPPPPMNCT; + if ("ADPPSPELAT".equals(codeString)) + return ADPPSPELAT; + if ("ADPPSPELCT".equals(codeString)) + return ADPPSPELCT; + if ("ADPPSPMNAT".equals(codeString)) + return ADPPSPMNAT; + if ("ADPPSPMNCT".equals(codeString)) + return ADPPSPMNCT; + if ("ADRFPPELAT".equals(codeString)) + return ADRFPPELAT; + if ("ADRFPPELCT".equals(codeString)) + return ADRFPPELCT; + if ("ADRFPPMNAT".equals(codeString)) + return ADRFPPMNAT; + if ("ADRFPPMNCT".equals(codeString)) + return ADRFPPMNCT; + if ("ADRFSPELAT".equals(codeString)) + return ADRFSPELAT; + if ("ADRFSPELCT".equals(codeString)) + return ADRFSPELCT; + if ("ADRFSPMNAT".equals(codeString)) + return ADRFSPMNAT; + if ("ADRFSPMNCT".equals(codeString)) + return ADRFSPMNCT; + if ("_InvoiceElementPaid".equals(codeString)) + return _INVOICEELEMENTPAID; + if ("PDNFPPELAT".equals(codeString)) + return PDNFPPELAT; + if ("PDNFPPELCT".equals(codeString)) + return PDNFPPELCT; + if ("PDNFPPMNAT".equals(codeString)) + return PDNFPPMNAT; + if ("PDNFPPMNCT".equals(codeString)) + return PDNFPPMNCT; + if ("PDNFSPELAT".equals(codeString)) + return PDNFSPELAT; + if ("PDNFSPELCT".equals(codeString)) + return PDNFSPELCT; + if ("PDNFSPMNAT".equals(codeString)) + return PDNFSPMNAT; + if ("PDNFSPMNCT".equals(codeString)) + return PDNFSPMNCT; + if ("PDNPPPELAT".equals(codeString)) + return PDNPPPELAT; + if ("PDNPPPELCT".equals(codeString)) + return PDNPPPELCT; + if ("PDNPPPMNAT".equals(codeString)) + return PDNPPPMNAT; + if ("PDNPPPMNCT".equals(codeString)) + return PDNPPPMNCT; + if ("PDNPSPELAT".equals(codeString)) + return PDNPSPELAT; + if ("PDNPSPELCT".equals(codeString)) + return PDNPSPELCT; + if ("PDNPSPMNAT".equals(codeString)) + return PDNPSPMNAT; + if ("PDNPSPMNCT".equals(codeString)) + return PDNPSPMNCT; + if ("PDPPPPELAT".equals(codeString)) + return PDPPPPELAT; + if ("PDPPPPELCT".equals(codeString)) + return PDPPPPELCT; + if ("PDPPPPMNAT".equals(codeString)) + return PDPPPPMNAT; + if ("PDPPPPMNCT".equals(codeString)) + return PDPPPPMNCT; + if ("PDPPSPELAT".equals(codeString)) + return PDPPSPELAT; + if ("PDPPSPELCT".equals(codeString)) + return PDPPSPELCT; + if ("PDPPSPMNAT".equals(codeString)) + return PDPPSPMNAT; + if ("PDPPSPMNCT".equals(codeString)) + return PDPPSPMNCT; + if ("_InvoiceElementSubmitted".equals(codeString)) + return _INVOICEELEMENTSUBMITTED; + if ("SBBLELAT".equals(codeString)) + return SBBLELAT; + if ("SBBLELCT".equals(codeString)) + return SBBLELCT; + if ("SBNFELAT".equals(codeString)) + return SBNFELAT; + if ("SBNFELCT".equals(codeString)) + return SBNFELCT; + if ("SBPDELAT".equals(codeString)) + return SBPDELAT; + if ("SBPDELCT".equals(codeString)) + return SBPDELCT; + if ("_ActInvoiceOverrideCode".equals(codeString)) + return _ACTINVOICEOVERRIDECODE; + if ("COVGE".equals(codeString)) + return COVGE; + if ("EFORM".equals(codeString)) + return EFORM; + if ("FAX".equals(codeString)) + return FAX; + if ("GFTH".equals(codeString)) + return GFTH; + if ("LATE".equals(codeString)) + return LATE; + if ("MANUAL".equals(codeString)) + return MANUAL; + if ("OOJ".equals(codeString)) + return OOJ; + if ("ORTHO".equals(codeString)) + return ORTHO; + if ("PAPER".equals(codeString)) + return PAPER; + if ("PIE".equals(codeString)) + return PIE; + if ("PYRDELAY".equals(codeString)) + return PYRDELAY; + if ("REFNR".equals(codeString)) + return REFNR; + if ("REPSERV".equals(codeString)) + return REPSERV; + if ("UNRELAT".equals(codeString)) + return UNRELAT; + if ("VERBAUTH".equals(codeString)) + return VERBAUTH; + if ("_ActListCode".equals(codeString)) + return _ACTLISTCODE; + if ("_ActObservationList".equals(codeString)) + return _ACTOBSERVATIONLIST; + if ("CARELIST".equals(codeString)) + return CARELIST; + if ("CONDLIST".equals(codeString)) + return CONDLIST; + if ("INTOLIST".equals(codeString)) + return INTOLIST; + if ("PROBLIST".equals(codeString)) + return PROBLIST; + if ("RISKLIST".equals(codeString)) + return RISKLIST; + if ("GOALLIST".equals(codeString)) + return GOALLIST; + if ("_ActTherapyDurationWorkingListCode".equals(codeString)) + return _ACTTHERAPYDURATIONWORKINGLISTCODE; + if ("_ActMedicationTherapyDurationWorkingListCode".equals(codeString)) + return _ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE; + if ("ACU".equals(codeString)) + return ACU; + if ("CHRON".equals(codeString)) + return CHRON; + if ("ONET".equals(codeString)) + return ONET; + if ("PRN".equals(codeString)) + return PRN; + if ("MEDLIST".equals(codeString)) + return MEDLIST; + if ("CURMEDLIST".equals(codeString)) + return CURMEDLIST; + if ("DISCMEDLIST".equals(codeString)) + return DISCMEDLIST; + if ("HISTMEDLIST".equals(codeString)) + return HISTMEDLIST; + if ("_ActMonitoringProtocolCode".equals(codeString)) + return _ACTMONITORINGPROTOCOLCODE; + if ("CTLSUB".equals(codeString)) + return CTLSUB; + if ("INV".equals(codeString)) + return INV; + if ("LU".equals(codeString)) + return LU; + if ("OTC".equals(codeString)) + return OTC; + if ("RX".equals(codeString)) + return RX; + if ("SA".equals(codeString)) + return SA; + if ("SAC".equals(codeString)) + return SAC; + if ("_ActNonObservationIndicationCode".equals(codeString)) + return _ACTNONOBSERVATIONINDICATIONCODE; + if ("IND01".equals(codeString)) + return IND01; + if ("IND02".equals(codeString)) + return IND02; + if ("IND03".equals(codeString)) + return IND03; + if ("IND04".equals(codeString)) + return IND04; + if ("IND05".equals(codeString)) + return IND05; + if ("_ActObservationVerificationType".equals(codeString)) + return _ACTOBSERVATIONVERIFICATIONTYPE; + if ("VFPAPER".equals(codeString)) + return VFPAPER; + if ("_ActPaymentCode".equals(codeString)) + return _ACTPAYMENTCODE; + if ("ACH".equals(codeString)) + return ACH; + if ("CHK".equals(codeString)) + return CHK; + if ("DDP".equals(codeString)) + return DDP; + if ("NON".equals(codeString)) + return NON; + if ("_ActPharmacySupplyType".equals(codeString)) + return _ACTPHARMACYSUPPLYTYPE; + if ("DF".equals(codeString)) + return DF; + if ("EM".equals(codeString)) + return EM; + if ("SO".equals(codeString)) + return SO; + if ("FF".equals(codeString)) + return FF; + if ("FFC".equals(codeString)) + return FFC; + if ("FFCS".equals(codeString)) + return FFCS; + if ("FFP".equals(codeString)) + return FFP; + if ("FFPS".equals(codeString)) + return FFPS; + if ("FFSS".equals(codeString)) + return FFSS; + if ("TFS".equals(codeString)) + return TFS; + if ("TF".equals(codeString)) + return TF; + if ("FS".equals(codeString)) + return FS; + if ("MS".equals(codeString)) + return MS; + if ("RF".equals(codeString)) + return RF; + if ("UD".equals(codeString)) + return UD; + if ("RFC".equals(codeString)) + return RFC; + if ("RFCS".equals(codeString)) + return RFCS; + if ("RFF".equals(codeString)) + return RFF; + if ("RFFS".equals(codeString)) + return RFFS; + if ("RFP".equals(codeString)) + return RFP; + if ("RFPS".equals(codeString)) + return RFPS; + if ("RFS".equals(codeString)) + return RFS; + if ("TB".equals(codeString)) + return TB; + if ("TBS".equals(codeString)) + return TBS; + if ("UDE".equals(codeString)) + return UDE; + if ("_ActPolicyType".equals(codeString)) + return _ACTPOLICYTYPE; + if ("_ActPrivacyPolicy".equals(codeString)) + return _ACTPRIVACYPOLICY; + if ("_ActConsentDirective".equals(codeString)) + return _ACTCONSENTDIRECTIVE; + if ("EMRGONLY".equals(codeString)) + return EMRGONLY; + if ("NOPP".equals(codeString)) + return NOPP; + if ("OPTIN".equals(codeString)) + return OPTIN; + if ("OPTOUT".equals(codeString)) + return OPTOUT; + if ("_InformationSensitivityPolicy".equals(codeString)) + return _INFORMATIONSENSITIVITYPOLICY; + if ("_ActInformationSensitivityPolicy".equals(codeString)) + return _ACTINFORMATIONSENSITIVITYPOLICY; + if ("ETH".equals(codeString)) + return ETH; + if ("GDIS".equals(codeString)) + return GDIS; + if ("HIV".equals(codeString)) + return HIV; + if ("PSY".equals(codeString)) + return PSY; + if ("SCA".equals(codeString)) + return SCA; + if ("SDV".equals(codeString)) + return SDV; + if ("SEX".equals(codeString)) + return SEX; + if ("STD".equals(codeString)) + return STD; + if ("TBOO".equals(codeString)) + return TBOO; + if ("_EntitySensitivityPolicyType".equals(codeString)) + return _ENTITYSENSITIVITYPOLICYTYPE; + if ("DEMO".equals(codeString)) + return DEMO; + if ("DOB".equals(codeString)) + return DOB; + if ("GENDER".equals(codeString)) + return GENDER; + if ("LIVARG".equals(codeString)) + return LIVARG; + if ("MARST".equals(codeString)) + return MARST; + if ("RACE".equals(codeString)) + return RACE; + if ("REL".equals(codeString)) + return REL; + if ("_RoleInformationSensitivityPolicy".equals(codeString)) + return _ROLEINFORMATIONSENSITIVITYPOLICY; + if ("B".equals(codeString)) + return B; + if ("EMPL".equals(codeString)) + return EMPL; + if ("LOCIS".equals(codeString)) + return LOCIS; + if ("SSP".equals(codeString)) + return SSP; + if ("ADOL".equals(codeString)) + return ADOL; + if ("CEL".equals(codeString)) + return CEL; + if ("DIA".equals(codeString)) + return DIA; + if ("DRGIS".equals(codeString)) + return DRGIS; + if ("EMP".equals(codeString)) + return EMP; + if ("PDS".equals(codeString)) + return PDS; + if ("PRS".equals(codeString)) + return PRS; + if ("COMPT".equals(codeString)) + return COMPT; + if ("HRCOMPT".equals(codeString)) + return HRCOMPT; + if ("RESCOMPT".equals(codeString)) + return RESCOMPT; + if ("RMGTCOMPT".equals(codeString)) + return RMGTCOMPT; + if ("ActTrustPolicyType".equals(codeString)) + return ACTTRUSTPOLICYTYPE; + if ("TRSTACCRD".equals(codeString)) + return TRSTACCRD; + if ("TRSTAGRE".equals(codeString)) + return TRSTAGRE; + if ("TRSTASSUR".equals(codeString)) + return TRSTASSUR; + if ("TRSTCERT".equals(codeString)) + return TRSTCERT; + if ("TRSTFWK".equals(codeString)) + return TRSTFWK; + if ("TRSTMEC".equals(codeString)) + return TRSTMEC; + if ("COVPOL".equals(codeString)) + return COVPOL; + if ("SecurityPolicy".equals(codeString)) + return SECURITYPOLICY; + if ("ObligationPolicy".equals(codeString)) + return OBLIGATIONPOLICY; + if ("ANONY".equals(codeString)) + return ANONY; + if ("AOD".equals(codeString)) + return AOD; + if ("AUDIT".equals(codeString)) + return AUDIT; + if ("AUDTR".equals(codeString)) + return AUDTR; + if ("CPLYCC".equals(codeString)) + return CPLYCC; + if ("CPLYCD".equals(codeString)) + return CPLYCD; + if ("CPLYJPP".equals(codeString)) + return CPLYJPP; + if ("CPLYOPP".equals(codeString)) + return CPLYOPP; + if ("CPLYOSP".equals(codeString)) + return CPLYOSP; + if ("CPLYPOL".equals(codeString)) + return CPLYPOL; + if ("DEID".equals(codeString)) + return DEID; + if ("DELAU".equals(codeString)) + return DELAU; + if ("ENCRYPT".equals(codeString)) + return ENCRYPT; + if ("ENCRYPTR".equals(codeString)) + return ENCRYPTR; + if ("ENCRYPTT".equals(codeString)) + return ENCRYPTT; + if ("ENCRYPTU".equals(codeString)) + return ENCRYPTU; + if ("HUAPRV".equals(codeString)) + return HUAPRV; + if ("MASK".equals(codeString)) + return MASK; + if ("MINEC".equals(codeString)) + return MINEC; + if ("PRIVMARK".equals(codeString)) + return PRIVMARK; + if ("PSEUD".equals(codeString)) + return PSEUD; + if ("REDACT".equals(codeString)) + return REDACT; + if ("RefrainPolicy".equals(codeString)) + return REFRAINPOLICY; + if ("NOAUTH".equals(codeString)) + return NOAUTH; + if ("NOCOLLECT".equals(codeString)) + return NOCOLLECT; + if ("NODSCLCD".equals(codeString)) + return NODSCLCD; + if ("NODSCLCDS".equals(codeString)) + return NODSCLCDS; + if ("NOINTEGRATE".equals(codeString)) + return NOINTEGRATE; + if ("NOLIST".equals(codeString)) + return NOLIST; + if ("NOMOU".equals(codeString)) + return NOMOU; + if ("NOORGPOL".equals(codeString)) + return NOORGPOL; + if ("NOPAT".equals(codeString)) + return NOPAT; + if ("NOPERSISTP".equals(codeString)) + return NOPERSISTP; + if ("NORDSCLCD".equals(codeString)) + return NORDSCLCD; + if ("NORDSCLCDS".equals(codeString)) + return NORDSCLCDS; + if ("NORDSCLW".equals(codeString)) + return NORDSCLW; + if ("NORELINK".equals(codeString)) + return NORELINK; + if ("NOREUSE".equals(codeString)) + return NOREUSE; + if ("NOVIP".equals(codeString)) + return NOVIP; + if ("ORCON".equals(codeString)) + return ORCON; + if ("_ActProductAcquisitionCode".equals(codeString)) + return _ACTPRODUCTACQUISITIONCODE; + if ("LOAN".equals(codeString)) + return LOAN; + if ("RENT".equals(codeString)) + return RENT; + if ("TRANSFER".equals(codeString)) + return TRANSFER; + if ("SALE".equals(codeString)) + return SALE; + if ("_ActSpecimenTransportCode".equals(codeString)) + return _ACTSPECIMENTRANSPORTCODE; + if ("SREC".equals(codeString)) + return SREC; + if ("SSTOR".equals(codeString)) + return SSTOR; + if ("STRAN".equals(codeString)) + return STRAN; + if ("_ActSpecimenTreatmentCode".equals(codeString)) + return _ACTSPECIMENTREATMENTCODE; + if ("ACID".equals(codeString)) + return ACID; + if ("ALK".equals(codeString)) + return ALK; + if ("DEFB".equals(codeString)) + return DEFB; + if ("FILT".equals(codeString)) + return FILT; + if ("LDLP".equals(codeString)) + return LDLP; + if ("NEUT".equals(codeString)) + return NEUT; + if ("RECA".equals(codeString)) + return RECA; + if ("UFIL".equals(codeString)) + return UFIL; + if ("_ActSubstanceAdministrationCode".equals(codeString)) + return _ACTSUBSTANCEADMINISTRATIONCODE; + if ("DRUG".equals(codeString)) + return DRUG; + if ("FD".equals(codeString)) + return FD; + if ("IMMUNIZ".equals(codeString)) + return IMMUNIZ; + if ("_ActTaskCode".equals(codeString)) + return _ACTTASKCODE; + if ("OE".equals(codeString)) + return OE; + if ("LABOE".equals(codeString)) + return LABOE; + if ("MEDOE".equals(codeString)) + return MEDOE; + if ("PATDOC".equals(codeString)) + return PATDOC; + if ("ALLERLREV".equals(codeString)) + return ALLERLREV; + if ("CLINNOTEE".equals(codeString)) + return CLINNOTEE; + if ("DIAGLISTE".equals(codeString)) + return DIAGLISTE; + if ("DISCHINSTE".equals(codeString)) + return DISCHINSTE; + if ("DISCHSUME".equals(codeString)) + return DISCHSUME; + if ("PATEDUE".equals(codeString)) + return PATEDUE; + if ("PATREPE".equals(codeString)) + return PATREPE; + if ("PROBLISTE".equals(codeString)) + return PROBLISTE; + if ("RADREPE".equals(codeString)) + return RADREPE; + if ("IMMLREV".equals(codeString)) + return IMMLREV; + if ("REMLREV".equals(codeString)) + return REMLREV; + if ("WELLREMLREV".equals(codeString)) + return WELLREMLREV; + if ("PATINFO".equals(codeString)) + return PATINFO; + if ("ALLERLE".equals(codeString)) + return ALLERLE; + if ("CDSREV".equals(codeString)) + return CDSREV; + if ("CLINNOTEREV".equals(codeString)) + return CLINNOTEREV; + if ("DISCHSUMREV".equals(codeString)) + return DISCHSUMREV; + if ("DIAGLISTREV".equals(codeString)) + return DIAGLISTREV; + if ("IMMLE".equals(codeString)) + return IMMLE; + if ("LABRREV".equals(codeString)) + return LABRREV; + if ("MICRORREV".equals(codeString)) + return MICRORREV; + if ("MICROORGRREV".equals(codeString)) + return MICROORGRREV; + if ("MICROSENSRREV".equals(codeString)) + return MICROSENSRREV; + if ("MLREV".equals(codeString)) + return MLREV; + if ("MARWLREV".equals(codeString)) + return MARWLREV; + if ("OREV".equals(codeString)) + return OREV; + if ("PATREPREV".equals(codeString)) + return PATREPREV; + if ("PROBLISTREV".equals(codeString)) + return PROBLISTREV; + if ("RADREPREV".equals(codeString)) + return RADREPREV; + if ("REMLE".equals(codeString)) + return REMLE; + if ("WELLREMLE".equals(codeString)) + return WELLREMLE; + if ("RISKASSESS".equals(codeString)) + return RISKASSESS; + if ("FALLRISK".equals(codeString)) + return FALLRISK; + if ("_ActTransportationModeCode".equals(codeString)) + return _ACTTRANSPORTATIONMODECODE; + if ("_ActPatientTransportationModeCode".equals(codeString)) + return _ACTPATIENTTRANSPORTATIONMODECODE; + if ("AFOOT".equals(codeString)) + return AFOOT; + if ("AMBT".equals(codeString)) + return AMBT; + if ("AMBAIR".equals(codeString)) + return AMBAIR; + if ("AMBGRND".equals(codeString)) + return AMBGRND; + if ("AMBHELO".equals(codeString)) + return AMBHELO; + if ("LAWENF".equals(codeString)) + return LAWENF; + if ("PRVTRN".equals(codeString)) + return PRVTRN; + if ("PUBTRN".equals(codeString)) + return PUBTRN; + if ("_ObservationType".equals(codeString)) + return _OBSERVATIONTYPE; + if ("_ActSpecObsCode".equals(codeString)) + return _ACTSPECOBSCODE; + if ("ARTBLD".equals(codeString)) + return ARTBLD; + if ("DILUTION".equals(codeString)) + return DILUTION; + if ("AUTO-HIGH".equals(codeString)) + return AUTOHIGH; + if ("AUTO-LOW".equals(codeString)) + return AUTOLOW; + if ("PRE".equals(codeString)) + return PRE; + if ("RERUN".equals(codeString)) + return RERUN; + if ("EVNFCTS".equals(codeString)) + return EVNFCTS; + if ("INTFR".equals(codeString)) + return INTFR; + if ("FIBRIN".equals(codeString)) + return FIBRIN; + if ("HEMOLYSIS".equals(codeString)) + return HEMOLYSIS; + if ("ICTERUS".equals(codeString)) + return ICTERUS; + if ("LIPEMIA".equals(codeString)) + return LIPEMIA; + if ("VOLUME".equals(codeString)) + return VOLUME; + if ("AVAILABLE".equals(codeString)) + return AVAILABLE; + if ("CONSUMPTION".equals(codeString)) + return CONSUMPTION; + if ("CURRENT".equals(codeString)) + return CURRENT; + if ("INITIAL".equals(codeString)) + return INITIAL; + if ("_AnnotationType".equals(codeString)) + return _ANNOTATIONTYPE; + if ("_ActPatientAnnotationType".equals(codeString)) + return _ACTPATIENTANNOTATIONTYPE; + if ("ANNDI".equals(codeString)) + return ANNDI; + if ("ANNGEN".equals(codeString)) + return ANNGEN; + if ("ANNIMM".equals(codeString)) + return ANNIMM; + if ("ANNLAB".equals(codeString)) + return ANNLAB; + if ("ANNMED".equals(codeString)) + return ANNMED; + if ("_GeneticObservationType".equals(codeString)) + return _GENETICOBSERVATIONTYPE; + if ("GENE".equals(codeString)) + return GENE; + if ("_ImmunizationObservationType".equals(codeString)) + return _IMMUNIZATIONOBSERVATIONTYPE; + if ("OBSANTC".equals(codeString)) + return OBSANTC; + if ("OBSANTV".equals(codeString)) + return OBSANTV; + if ("_IndividualCaseSafetyReportType".equals(codeString)) + return _INDIVIDUALCASESAFETYREPORTTYPE; + if ("PAT_ADV_EVNT".equals(codeString)) + return PATADVEVNT; + if ("VAC_PROBLEM".equals(codeString)) + return VACPROBLEM; + if ("_LOINCObservationActContextAgeType".equals(codeString)) + return _LOINCOBSERVATIONACTCONTEXTAGETYPE; + if ("21611-9".equals(codeString)) + return _216119; + if ("21612-7".equals(codeString)) + return _216127; + if ("29553-5".equals(codeString)) + return _295535; + if ("30525-0".equals(codeString)) + return _305250; + if ("30972-4".equals(codeString)) + return _309724; + if ("_MedicationObservationType".equals(codeString)) + return _MEDICATIONOBSERVATIONTYPE; + if ("REP_HALF_LIFE".equals(codeString)) + return REPHALFLIFE; + if ("SPLCOATING".equals(codeString)) + return SPLCOATING; + if ("SPLCOLOR".equals(codeString)) + return SPLCOLOR; + if ("SPLIMAGE".equals(codeString)) + return SPLIMAGE; + if ("SPLIMPRINT".equals(codeString)) + return SPLIMPRINT; + if ("SPLSCORING".equals(codeString)) + return SPLSCORING; + if ("SPLSHAPE".equals(codeString)) + return SPLSHAPE; + if ("SPLSIZE".equals(codeString)) + return SPLSIZE; + if ("SPLSYMBOL".equals(codeString)) + return SPLSYMBOL; + if ("_ObservationIssueTriggerCodedObservationType".equals(codeString)) + return _OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE; + if ("_CaseTransmissionMode".equals(codeString)) + return _CASETRANSMISSIONMODE; + if ("AIRTRNS".equals(codeString)) + return AIRTRNS; + if ("ANANTRNS".equals(codeString)) + return ANANTRNS; + if ("ANHUMTRNS".equals(codeString)) + return ANHUMTRNS; + if ("BDYFLDTRNS".equals(codeString)) + return BDYFLDTRNS; + if ("BLDTRNS".equals(codeString)) + return BLDTRNS; + if ("DERMTRNS".equals(codeString)) + return DERMTRNS; + if ("ENVTRNS".equals(codeString)) + return ENVTRNS; + if ("FECTRNS".equals(codeString)) + return FECTRNS; + if ("FOMTRNS".equals(codeString)) + return FOMTRNS; + if ("FOODTRNS".equals(codeString)) + return FOODTRNS; + if ("HUMHUMTRNS".equals(codeString)) + return HUMHUMTRNS; + if ("INDTRNS".equals(codeString)) + return INDTRNS; + if ("LACTTRNS".equals(codeString)) + return LACTTRNS; + if ("NOSTRNS".equals(codeString)) + return NOSTRNS; + if ("PARTRNS".equals(codeString)) + return PARTRNS; + if ("PLACTRNS".equals(codeString)) + return PLACTRNS; + if ("SEXTRNS".equals(codeString)) + return SEXTRNS; + if ("TRNSFTRNS".equals(codeString)) + return TRNSFTRNS; + if ("VECTRNS".equals(codeString)) + return VECTRNS; + if ("WATTRNS".equals(codeString)) + return WATTRNS; + if ("_ObservationQualityMeasureAttribute".equals(codeString)) + return _OBSERVATIONQUALITYMEASUREATTRIBUTE; + if ("AGGREGATE".equals(codeString)) + return AGGREGATE; + if ("COPY".equals(codeString)) + return COPY; + if ("CRS".equals(codeString)) + return CRS; + if ("DEF".equals(codeString)) + return DEF; + if ("DISC".equals(codeString)) + return DISC; + if ("FINALDT".equals(codeString)) + return FINALDT; + if ("GUIDE".equals(codeString)) + return GUIDE; + if ("IDUR".equals(codeString)) + return IDUR; + if ("ITMCNT".equals(codeString)) + return ITMCNT; + if ("KEY".equals(codeString)) + return KEY; + if ("MEDT".equals(codeString)) + return MEDT; + if ("MSD".equals(codeString)) + return MSD; + if ("MSRADJ".equals(codeString)) + return MSRADJ; + if ("MSRAGG".equals(codeString)) + return MSRAGG; + if ("MSRIMPROV".equals(codeString)) + return MSRIMPROV; + if ("MSRJUR".equals(codeString)) + return MSRJUR; + if ("MSRRPTR".equals(codeString)) + return MSRRPTR; + if ("MSRRPTTIME".equals(codeString)) + return MSRRPTTIME; + if ("MSRSCORE".equals(codeString)) + return MSRSCORE; + if ("MSRSET".equals(codeString)) + return MSRSET; + if ("MSRTOPIC".equals(codeString)) + return MSRTOPIC; + if ("MSRTP".equals(codeString)) + return MSRTP; + if ("MSRTYPE".equals(codeString)) + return MSRTYPE; + if ("RAT".equals(codeString)) + return RAT; + if ("REF".equals(codeString)) + return REF; + if ("SDE".equals(codeString)) + return SDE; + if ("STRAT".equals(codeString)) + return STRAT; + if ("TRANF".equals(codeString)) + return TRANF; + if ("USE".equals(codeString)) + return USE; + if ("_ObservationSequenceType".equals(codeString)) + return _OBSERVATIONSEQUENCETYPE; + if ("TIME_ABSOLUTE".equals(codeString)) + return TIMEABSOLUTE; + if ("TIME_RELATIVE".equals(codeString)) + return TIMERELATIVE; + if ("_ObservationSeriesType".equals(codeString)) + return _OBSERVATIONSERIESTYPE; + if ("_ECGObservationSeriesType".equals(codeString)) + return _ECGOBSERVATIONSERIESTYPE; + if ("REPRESENTATIVE_BEAT".equals(codeString)) + return REPRESENTATIVEBEAT; + if ("RHYTHM".equals(codeString)) + return RHYTHM; + if ("_PatientImmunizationRelatedObservationType".equals(codeString)) + return _PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE; + if ("CLSSRM".equals(codeString)) + return CLSSRM; + if ("GRADE".equals(codeString)) + return GRADE; + if ("SCHL".equals(codeString)) + return SCHL; + if ("SCHLDIV".equals(codeString)) + return SCHLDIV; + if ("TEACHER".equals(codeString)) + return TEACHER; + if ("_PopulationInclusionObservationType".equals(codeString)) + return _POPULATIONINCLUSIONOBSERVATIONTYPE; + if ("DENEX".equals(codeString)) + return DENEX; + if ("DENEXCEP".equals(codeString)) + return DENEXCEP; + if ("DENOM".equals(codeString)) + return DENOM; + if ("IPOP".equals(codeString)) + return IPOP; + if ("IPPOP".equals(codeString)) + return IPPOP; + if ("MSRPOPL".equals(codeString)) + return MSRPOPL; + if ("MSRPOPLEX".equals(codeString)) + return MSRPOPLEX; + if ("NUMER".equals(codeString)) + return NUMER; + if ("NUMEX".equals(codeString)) + return NUMEX; + if ("_PreferenceObservationType".equals(codeString)) + return _PREFERENCEOBSERVATIONTYPE; + if ("PREFSTRENGTH".equals(codeString)) + return PREFSTRENGTH; + if ("ADVERSE_REACTION".equals(codeString)) + return ADVERSEREACTION; + if ("ASSERTION".equals(codeString)) + return ASSERTION; + if ("CASESER".equals(codeString)) + return CASESER; + if ("CDIO".equals(codeString)) + return CDIO; + if ("CRIT".equals(codeString)) + return CRIT; + if ("CTMO".equals(codeString)) + return CTMO; + if ("DX".equals(codeString)) + return DX; + if ("ADMDX".equals(codeString)) + return ADMDX; + if ("DISDX".equals(codeString)) + return DISDX; + if ("INTDX".equals(codeString)) + return INTDX; + if ("NOI".equals(codeString)) + return NOI; + if ("GISTIER".equals(codeString)) + return GISTIER; + if ("HHOBS".equals(codeString)) + return HHOBS; + if ("ISSUE".equals(codeString)) + return ISSUE; + if ("_ActAdministrativeDetectedIssueCode".equals(codeString)) + return _ACTADMINISTRATIVEDETECTEDISSUECODE; + if ("_ActAdministrativeAuthorizationDetectedIssueCode".equals(codeString)) + return _ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE; + if ("NAT".equals(codeString)) + return NAT; + if ("SUPPRESSED".equals(codeString)) + return SUPPRESSED; + if ("VALIDAT".equals(codeString)) + return VALIDAT; + if ("KEY204".equals(codeString)) + return KEY204; + if ("KEY205".equals(codeString)) + return KEY205; + if ("COMPLY".equals(codeString)) + return COMPLY; + if ("DUPTHPY".equals(codeString)) + return DUPTHPY; + if ("DUPTHPCLS".equals(codeString)) + return DUPTHPCLS; + if ("DUPTHPGEN".equals(codeString)) + return DUPTHPGEN; + if ("ABUSE".equals(codeString)) + return ABUSE; + if ("FRAUD".equals(codeString)) + return FRAUD; + if ("PLYDOC".equals(codeString)) + return PLYDOC; + if ("PLYPHRM".equals(codeString)) + return PLYPHRM; + if ("DOSE".equals(codeString)) + return DOSE; + if ("DOSECOND".equals(codeString)) + return DOSECOND; + if ("DOSEDUR".equals(codeString)) + return DOSEDUR; + if ("DOSEDURH".equals(codeString)) + return DOSEDURH; + if ("DOSEDURHIND".equals(codeString)) + return DOSEDURHIND; + if ("DOSEDURL".equals(codeString)) + return DOSEDURL; + if ("DOSEDURLIND".equals(codeString)) + return DOSEDURLIND; + if ("DOSEH".equals(codeString)) + return DOSEH; + if ("DOSEHINDA".equals(codeString)) + return DOSEHINDA; + if ("DOSEHIND".equals(codeString)) + return DOSEHIND; + if ("DOSEHINDSA".equals(codeString)) + return DOSEHINDSA; + if ("DOSEHINDW".equals(codeString)) + return DOSEHINDW; + if ("DOSEIVL".equals(codeString)) + return DOSEIVL; + if ("DOSEIVLIND".equals(codeString)) + return DOSEIVLIND; + if ("DOSEL".equals(codeString)) + return DOSEL; + if ("DOSELINDA".equals(codeString)) + return DOSELINDA; + if ("DOSELIND".equals(codeString)) + return DOSELIND; + if ("DOSELINDSA".equals(codeString)) + return DOSELINDSA; + if ("DOSELINDW".equals(codeString)) + return DOSELINDW; + if ("MDOSE".equals(codeString)) + return MDOSE; + if ("OBSA".equals(codeString)) + return OBSA; + if ("AGE".equals(codeString)) + return AGE; + if ("ADALRT".equals(codeString)) + return ADALRT; + if ("GEALRT".equals(codeString)) + return GEALRT; + if ("PEALRT".equals(codeString)) + return PEALRT; + if ("COND".equals(codeString)) + return COND; + if ("HGHT".equals(codeString)) + return HGHT; + if ("LACT".equals(codeString)) + return LACT; + if ("PREG".equals(codeString)) + return PREG; + if ("WGHT".equals(codeString)) + return WGHT; + if ("CREACT".equals(codeString)) + return CREACT; + if ("GEN".equals(codeString)) + return GEN; + if ("GEND".equals(codeString)) + return GEND; + if ("LAB".equals(codeString)) + return LAB; + if ("REACT".equals(codeString)) + return REACT; + if ("ALGY".equals(codeString)) + return ALGY; + if ("INT".equals(codeString)) + return INT; + if ("RREACT".equals(codeString)) + return RREACT; + if ("RALG".equals(codeString)) + return RALG; + if ("RAR".equals(codeString)) + return RAR; + if ("RINT".equals(codeString)) + return RINT; + if ("BUS".equals(codeString)) + return BUS; + if ("CODE_INVAL".equals(codeString)) + return CODEINVAL; + if ("CODE_DEPREC".equals(codeString)) + return CODEDEPREC; + if ("FORMAT".equals(codeString)) + return FORMAT; + if ("ILLEGAL".equals(codeString)) + return ILLEGAL; + if ("LEN_RANGE".equals(codeString)) + return LENRANGE; + if ("LEN_LONG".equals(codeString)) + return LENLONG; + if ("LEN_SHORT".equals(codeString)) + return LENSHORT; + if ("MISSCOND".equals(codeString)) + return MISSCOND; + if ("MISSMAND".equals(codeString)) + return MISSMAND; + if ("NODUPS".equals(codeString)) + return NODUPS; + if ("NOPERSIST".equals(codeString)) + return NOPERSIST; + if ("REP_RANGE".equals(codeString)) + return REPRANGE; + if ("MAXOCCURS".equals(codeString)) + return MAXOCCURS; + if ("MINOCCURS".equals(codeString)) + return MINOCCURS; + if ("_ActAdministrativeRuleDetectedIssueCode".equals(codeString)) + return _ACTADMINISTRATIVERULEDETECTEDISSUECODE; + if ("KEY206".equals(codeString)) + return KEY206; + if ("OBSOLETE".equals(codeString)) + return OBSOLETE; + if ("_ActSuppliedItemDetectedIssueCode".equals(codeString)) + return _ACTSUPPLIEDITEMDETECTEDISSUECODE; + if ("_AdministrationDetectedIssueCode".equals(codeString)) + return _ADMINISTRATIONDETECTEDISSUECODE; + if ("_AppropriatenessDetectedIssueCode".equals(codeString)) + return _APPROPRIATENESSDETECTEDISSUECODE; + if ("_InteractionDetectedIssueCode".equals(codeString)) + return _INTERACTIONDETECTEDISSUECODE; + if ("FOOD".equals(codeString)) + return FOOD; + if ("TPROD".equals(codeString)) + return TPROD; + if ("DRG".equals(codeString)) + return DRG; + if ("NHP".equals(codeString)) + return NHP; + if ("NONRX".equals(codeString)) + return NONRX; + if ("PREVINEF".equals(codeString)) + return PREVINEF; + if ("DACT".equals(codeString)) + return DACT; + if ("TIME".equals(codeString)) + return TIME; + if ("ALRTENDLATE".equals(codeString)) + return ALRTENDLATE; + if ("ALRTSTRTLATE".equals(codeString)) + return ALRTSTRTLATE; + if ("_SupplyDetectedIssueCode".equals(codeString)) + return _SUPPLYDETECTEDISSUECODE; + if ("ALLDONE".equals(codeString)) + return ALLDONE; + if ("FULFIL".equals(codeString)) + return FULFIL; + if ("NOTACTN".equals(codeString)) + return NOTACTN; + if ("NOTEQUIV".equals(codeString)) + return NOTEQUIV; + if ("NOTEQUIVGEN".equals(codeString)) + return NOTEQUIVGEN; + if ("NOTEQUIVTHER".equals(codeString)) + return NOTEQUIVTHER; + if ("TIMING".equals(codeString)) + return TIMING; + if ("INTERVAL".equals(codeString)) + return INTERVAL; + if ("MINFREQ".equals(codeString)) + return MINFREQ; + if ("HELD".equals(codeString)) + return HELD; + if ("TOOLATE".equals(codeString)) + return TOOLATE; + if ("TOOSOON".equals(codeString)) + return TOOSOON; + if ("HISTORIC".equals(codeString)) + return HISTORIC; + if ("PATPREF".equals(codeString)) + return PATPREF; + if ("PATPREFALT".equals(codeString)) + return PATPREFALT; + if ("KSUBJ".equals(codeString)) + return KSUBJ; + if ("KSUBT".equals(codeString)) + return KSUBT; + if ("OINT".equals(codeString)) + return OINT; + if ("ALG".equals(codeString)) + return ALG; + if ("DALG".equals(codeString)) + return DALG; + if ("EALG".equals(codeString)) + return EALG; + if ("FALG".equals(codeString)) + return FALG; + if ("DINT".equals(codeString)) + return DINT; + if ("DNAINT".equals(codeString)) + return DNAINT; + if ("EINT".equals(codeString)) + return EINT; + if ("ENAINT".equals(codeString)) + return ENAINT; + if ("FINT".equals(codeString)) + return FINT; + if ("FNAINT".equals(codeString)) + return FNAINT; + if ("NAINT".equals(codeString)) + return NAINT; + if ("SEV".equals(codeString)) + return SEV; + if ("_ROIOverlayShape".equals(codeString)) + return _ROIOVERLAYSHAPE; + if ("CIRCLE".equals(codeString)) + return CIRCLE; + if ("ELLIPSE".equals(codeString)) + return ELLIPSE; + if ("POINT".equals(codeString)) + return POINT; + if ("POLY".equals(codeString)) + return POLY; + if ("C".equals(codeString)) + return C; + if ("DIET".equals(codeString)) + return DIET; + if ("BR".equals(codeString)) + return BR; + if ("DM".equals(codeString)) + return DM; + if ("FAST".equals(codeString)) + return FAST; + if ("FORMULA".equals(codeString)) + return FORMULA; + if ("GF".equals(codeString)) + return GF; + if ("LF".equals(codeString)) + return LF; + if ("LP".equals(codeString)) + return LP; + if ("LQ".equals(codeString)) + return LQ; + if ("LS".equals(codeString)) + return LS; + if ("N".equals(codeString)) + return N; + if ("NF".equals(codeString)) + return NF; + if ("PAF".equals(codeString)) + return PAF; + if ("PAR".equals(codeString)) + return PAR; + if ("RD".equals(codeString)) + return RD; + if ("SCH".equals(codeString)) + return SCH; + if ("SUPPLEMENT".equals(codeString)) + return SUPPLEMENT; + if ("T".equals(codeString)) + return T; + if ("VLI".equals(codeString)) + return VLI; + if ("DRUGPRG".equals(codeString)) + return DRUGPRG; + if ("F".equals(codeString)) + return F; + if ("PRLMN".equals(codeString)) + return PRLMN; + if ("SECOBS".equals(codeString)) + return SECOBS; + if ("SECCATOBS".equals(codeString)) + return SECCATOBS; + if ("SECCLASSOBS".equals(codeString)) + return SECCLASSOBS; + if ("SECCONOBS".equals(codeString)) + return SECCONOBS; + if ("SECINTOBS".equals(codeString)) + return SECINTOBS; + if ("SECALTINTOBS".equals(codeString)) + return SECALTINTOBS; + if ("SECDATINTOBS".equals(codeString)) + return SECDATINTOBS; + if ("SECINTCONOBS".equals(codeString)) + return SECINTCONOBS; + if ("SECINTPRVOBS".equals(codeString)) + return SECINTPRVOBS; + if ("SECINTPRVABOBS".equals(codeString)) + return SECINTPRVABOBS; + if ("SECINTPRVRBOBS".equals(codeString)) + return SECINTPRVRBOBS; + if ("SECINTSTOBS".equals(codeString)) + return SECINTSTOBS; + if ("SECTRSTOBS".equals(codeString)) + return SECTRSTOBS; + if ("TRSTACCRDOBS".equals(codeString)) + return TRSTACCRDOBS; + if ("TRSTAGREOBS".equals(codeString)) + return TRSTAGREOBS; + if ("TRSTCERTOBS".equals(codeString)) + return TRSTCERTOBS; + if ("TRSTFWKOBS".equals(codeString)) + return TRSTFWKOBS; + if ("TRSTLOAOBS".equals(codeString)) + return TRSTLOAOBS; + if ("TRSTMECOBS".equals(codeString)) + return TRSTMECOBS; + if ("SUBSIDFFS".equals(codeString)) + return SUBSIDFFS; + if ("WRKCOMP".equals(codeString)) + return WRKCOMP; + throw new Exception("Unknown V3ActCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACTACCOUNTCODE: return "_ActAccountCode"; + case ACCTRECEIVABLE: return "ACCTRECEIVABLE"; + case CASH: return "CASH"; + case CC: return "CC"; + case AE: return "AE"; + case DN: return "DN"; + case DV: return "DV"; + case MC: return "MC"; + case V: return "V"; + case PBILLACCT: return "PBILLACCT"; + case _ACTADJUDICATIONCODE: return "_ActAdjudicationCode"; + case _ACTADJUDICATIONGROUPCODE: return "_ActAdjudicationGroupCode"; + case CONT: return "CONT"; + case DAY: return "DAY"; + case LOC: return "LOC"; + case MONTH: return "MONTH"; + case PERIOD: return "PERIOD"; + case PROV: return "PROV"; + case WEEK: return "WEEK"; + case YEAR: return "YEAR"; + case AA: return "AA"; + case ANF: return "ANF"; + case AR: return "AR"; + case AS: return "AS"; + case _ACTADJUDICATIONRESULTACTIONCODE: return "_ActAdjudicationResultActionCode"; + case DISPLAY: return "DISPLAY"; + case FORM: return "FORM"; + case _ACTBILLABLEMODIFIERCODE: return "_ActBillableModifierCode"; + case CPTM: return "CPTM"; + case HCPCSA: return "HCPCSA"; + case _ACTBILLINGARRANGEMENTCODE: return "_ActBillingArrangementCode"; + case BLK: return "BLK"; + case CAP: return "CAP"; + case CONTF: return "CONTF"; + case FINBILL: return "FINBILL"; + case ROST: return "ROST"; + case SESS: return "SESS"; + case _ACTBOUNDEDROICODE: return "_ActBoundedROICode"; + case ROIFS: return "ROIFS"; + case ROIPS: return "ROIPS"; + case _ACTCAREPROVISIONCODE: return "_ActCareProvisionCode"; + case _ACTCREDENTIALEDCARECODE: return "_ActCredentialedCareCode"; + case _ACTCREDENTIALEDCAREPROVISIONPERSONCODE: return "_ActCredentialedCareProvisionPersonCode"; + case CACC: return "CACC"; + case CAIC: return "CAIC"; + case CAMC: return "CAMC"; + case CANC: return "CANC"; + case CAPC: return "CAPC"; + case CBGC: return "CBGC"; + case CCCC: return "CCCC"; + case CCGC: return "CCGC"; + case CCPC: return "CCPC"; + case CCSC: return "CCSC"; + case CDEC: return "CDEC"; + case CDRC: return "CDRC"; + case CEMC: return "CEMC"; + case CFPC: return "CFPC"; + case CIMC: return "CIMC"; + case CMGC: return "CMGC"; + case CNEC: return "CNEC"; + case CNMC: return "CNMC"; + case CNQC: return "CNQC"; + case CNSC: return "CNSC"; + case COGC: return "COGC"; + case COMC: return "COMC"; + case COPC: return "COPC"; + case COSC: return "COSC"; + case COTC: return "COTC"; + case CPEC: return "CPEC"; + case CPGC: return "CPGC"; + case CPHC: return "CPHC"; + case CPRC: return "CPRC"; + case CPSC: return "CPSC"; + case CPYC: return "CPYC"; + case CROC: return "CROC"; + case CRPC: return "CRPC"; + case CSUC: return "CSUC"; + case CTSC: return "CTSC"; + case CURC: return "CURC"; + case CVSC: return "CVSC"; + case LGPC: return "LGPC"; + case _ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE: return "_ActCredentialedCareProvisionProgramCode"; + case AALC: return "AALC"; + case AAMC: return "AAMC"; + case ABHC: return "ABHC"; + case ACAC: return "ACAC"; + case ACHC: return "ACHC"; + case AHOC: return "AHOC"; + case ALTC: return "ALTC"; + case AOSC: return "AOSC"; + case CACS: return "CACS"; + case CAMI: return "CAMI"; + case CAST: return "CAST"; + case CBAR: return "CBAR"; + case CCAD: return "CCAD"; + case CCAR: return "CCAR"; + case CDEP: return "CDEP"; + case CDGD: return "CDGD"; + case CDIA: return "CDIA"; + case CEPI: return "CEPI"; + case CFEL: return "CFEL"; + case CHFC: return "CHFC"; + case CHRO: return "CHRO"; + case CHYP: return "CHYP"; + case CMIH: return "CMIH"; + case CMSC: return "CMSC"; + case COJR: return "COJR"; + case CONC: return "CONC"; + case COPD: return "COPD"; + case CORT: return "CORT"; + case CPAD: return "CPAD"; + case CPND: return "CPND"; + case CPST: return "CPST"; + case CSDM: return "CSDM"; + case CSIC: return "CSIC"; + case CSLD: return "CSLD"; + case CSPT: return "CSPT"; + case CTBU: return "CTBU"; + case CVDC: return "CVDC"; + case CWMA: return "CWMA"; + case CWOH: return "CWOH"; + case _ACTENCOUNTERCODE: return "_ActEncounterCode"; + case AMB: return "AMB"; + case EMER: return "EMER"; + case FLD: return "FLD"; + case HH: return "HH"; + case IMP: return "IMP"; + case ACUTE: return "ACUTE"; + case NONAC: return "NONAC"; + case PRENC: return "PRENC"; + case SS: return "SS"; + case VR: return "VR"; + case _ACTMEDICALSERVICECODE: return "_ActMedicalServiceCode"; + case ALC: return "ALC"; + case CARD: return "CARD"; + case CHR: return "CHR"; + case DNTL: return "DNTL"; + case DRGRHB: return "DRGRHB"; + case GENRL: return "GENRL"; + case MED: return "MED"; + case OBS: return "OBS"; + case ONC: return "ONC"; + case PALL: return "PALL"; + case PED: return "PED"; + case PHAR: return "PHAR"; + case PHYRHB: return "PHYRHB"; + case PSYCH: return "PSYCH"; + case SURG: return "SURG"; + case _ACTCLAIMATTACHMENTCATEGORYCODE: return "_ActClaimAttachmentCategoryCode"; + case AUTOATTCH: return "AUTOATTCH"; + case DOCUMENT: return "DOCUMENT"; + case HEALTHREC: return "HEALTHREC"; + case IMG: return "IMG"; + case LABRESULTS: return "LABRESULTS"; + case MODEL: return "MODEL"; + case WIATTCH: return "WIATTCH"; + case XRAY: return "XRAY"; + case _ACTCONSENTTYPE: return "_ActConsentType"; + case ICOL: return "ICOL"; + case IDSCL: return "IDSCL"; + case INFA: return "INFA"; + case INFAO: return "INFAO"; + case INFASO: return "INFASO"; + case IRDSCL: return "IRDSCL"; + case RESEARCH: return "RESEARCH"; + case RSDID: return "RSDID"; + case RSREID: return "RSREID"; + case _ACTCONTAINERREGISTRATIONCODE: return "_ActContainerRegistrationCode"; + case ID: return "ID"; + case IP: return "IP"; + case L: return "L"; + case M: return "M"; + case O: return "O"; + case R: return "R"; + case X: return "X"; + case _ACTCONTROLVARIABLE: return "_ActControlVariable"; + case AUTO: return "AUTO"; + case ENDC: return "ENDC"; + case REFLEX: return "REFLEX"; + case _ACTCOVERAGECONFIRMATIONCODE: return "_ActCoverageConfirmationCode"; + case _ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE: return "_ActCoverageAuthorizationConfirmationCode"; + case AUTH: return "AUTH"; + case NAUTH: return "NAUTH"; + case _ACTCOVERAGELIMITCODE: return "_ActCoverageLimitCode"; + case _ACTCOVERAGEQUANTITYLIMITCODE: return "_ActCoverageQuantityLimitCode"; + case COVPRD: return "COVPRD"; + case LFEMX: return "LFEMX"; + case NETAMT: return "NETAMT"; + case PRDMX: return "PRDMX"; + case UNITPRICE: return "UNITPRICE"; + case UNITQTY: return "UNITQTY"; + case COVMX: return "COVMX"; + case _ACTCOVERAGETYPECODE: return "_ActCoverageTypeCode"; + case _ACTINSURANCEPOLICYCODE: return "_ActInsurancePolicyCode"; + case EHCPOL: return "EHCPOL"; + case HSAPOL: return "HSAPOL"; + case AUTOPOL: return "AUTOPOL"; + case COL: return "COL"; + case UNINSMOT: return "UNINSMOT"; + case PUBLICPOL: return "PUBLICPOL"; + case DENTPRG: return "DENTPRG"; + case DISEASEPRG: return "DISEASEPRG"; + case CANPRG: return "CANPRG"; + case ENDRENAL: return "ENDRENAL"; + case HIVAIDS: return "HIVAIDS"; + case MANDPOL: return "MANDPOL"; + case MENTPRG: return "MENTPRG"; + case SAFNET: return "SAFNET"; + case SUBPRG: return "SUBPRG"; + case SUBSIDIZ: return "SUBSIDIZ"; + case SUBSIDMC: return "SUBSIDMC"; + case SUBSUPP: return "SUBSUPP"; + case WCBPOL: return "WCBPOL"; + case _ACTINSURANCETYPECODE: return "_ActInsuranceTypeCode"; + case _ACTHEALTHINSURANCETYPECODE: return "_ActHealthInsuranceTypeCode"; + case DENTAL: return "DENTAL"; + case DISEASE: return "DISEASE"; + case DRUGPOL: return "DRUGPOL"; + case HIP: return "HIP"; + case LTC: return "LTC"; + case MCPOL: return "MCPOL"; + case POS: return "POS"; + case HMO: return "HMO"; + case PPO: return "PPO"; + case MENTPOL: return "MENTPOL"; + case SUBPOL: return "SUBPOL"; + case VISPOL: return "VISPOL"; + case DIS: return "DIS"; + case EWB: return "EWB"; + case FLEXP: return "FLEXP"; + case LIFE: return "LIFE"; + case ANNU: return "ANNU"; + case TLIFE: return "TLIFE"; + case ULIFE: return "ULIFE"; + case PNC: return "PNC"; + case REI: return "REI"; + case SURPL: return "SURPL"; + case UMBRL: return "UMBRL"; + case _ACTPROGRAMTYPECODE: return "_ActProgramTypeCode"; + case CHAR: return "CHAR"; + case CRIME: return "CRIME"; + case EAP: return "EAP"; + case GOVEMP: return "GOVEMP"; + case HIRISK: return "HIRISK"; + case IND: return "IND"; + case MILITARY: return "MILITARY"; + case RETIRE: return "RETIRE"; + case SOCIAL: return "SOCIAL"; + case VET: return "VET"; + case _ACTDETECTEDISSUEMANAGEMENTCODE: return "_ActDetectedIssueManagementCode"; + case _ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE: return "_ActAdministrativeDetectedIssueManagementCode"; + case _AUTHORIZATIONISSUEMANAGEMENTCODE: return "_AuthorizationIssueManagementCode"; + case EMAUTH: return "EMAUTH"; + case _21: return "21"; + case _1: return "1"; + case _19: return "19"; + case _2: return "2"; + case _22: return "22"; + case _23: return "23"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + case _6: return "6"; + case _7: return "7"; + case _14: return "14"; + case _15: return "15"; + case _16: return "16"; + case _17: return "17"; + case _18: return "18"; + case _20: return "20"; + case _8: return "8"; + case _10: return "10"; + case _11: return "11"; + case _12: return "12"; + case _13: return "13"; + case _9: return "9"; + case _ACTEXPOSURECODE: return "_ActExposureCode"; + case CHLDCARE: return "CHLDCARE"; + case CONVEYNC: return "CONVEYNC"; + case HLTHCARE: return "HLTHCARE"; + case HOMECARE: return "HOMECARE"; + case HOSPPTNT: return "HOSPPTNT"; + case HOSPVSTR: return "HOSPVSTR"; + case HOUSEHLD: return "HOUSEHLD"; + case INMATE: return "INMATE"; + case INTIMATE: return "INTIMATE"; + case LTRMCARE: return "LTRMCARE"; + case PLACE: return "PLACE"; + case PTNTCARE: return "PTNTCARE"; + case SCHOOL2: return "SCHOOL2"; + case SOCIAL2: return "SOCIAL2"; + case SUBSTNCE: return "SUBSTNCE"; + case TRAVINT: return "TRAVINT"; + case WORK2: return "WORK2"; + case _ACTFINANCIALTRANSACTIONCODE: return "_ActFinancialTransactionCode"; + case CHRG: return "CHRG"; + case REV: return "REV"; + case _ACTINCIDENTCODE: return "_ActIncidentCode"; + case MVA: return "MVA"; + case SCHOOL: return "SCHOOL"; + case SPT: return "SPT"; + case WPA: return "WPA"; + case _ACTINFORMATIONACCESSCODE: return "_ActInformationAccessCode"; + case ACADR: return "ACADR"; + case ACALL: return "ACALL"; + case ACALLG: return "ACALLG"; + case ACCONS: return "ACCONS"; + case ACDEMO: return "ACDEMO"; + case ACDI: return "ACDI"; + case ACIMMUN: return "ACIMMUN"; + case ACLAB: return "ACLAB"; + case ACMED: return "ACMED"; + case ACMEDC: return "ACMEDC"; + case ACMEN: return "ACMEN"; + case ACOBS: return "ACOBS"; + case ACPOLPRG: return "ACPOLPRG"; + case ACPROV: return "ACPROV"; + case ACPSERV: return "ACPSERV"; + case ACSUBSTAB: return "ACSUBSTAB"; + case _ACTINFORMATIONACCESSCONTEXTCODE: return "_ActInformationAccessContextCode"; + case INFAUT: return "INFAUT"; + case INFCON: return "INFCON"; + case INFCRT: return "INFCRT"; + case INFDNG: return "INFDNG"; + case INFEMER: return "INFEMER"; + case INFPWR: return "INFPWR"; + case INFREG: return "INFREG"; + case _ACTINFORMATIONCATEGORYCODE: return "_ActInformationCategoryCode"; + case ALLCAT: return "ALLCAT"; + case ALLGCAT: return "ALLGCAT"; + case ARCAT: return "ARCAT"; + case COBSCAT: return "COBSCAT"; + case DEMOCAT: return "DEMOCAT"; + case DICAT: return "DICAT"; + case IMMUCAT: return "IMMUCAT"; + case LABCAT: return "LABCAT"; + case MEDCCAT: return "MEDCCAT"; + case MENCAT: return "MENCAT"; + case PSVCCAT: return "PSVCCAT"; + case RXCAT: return "RXCAT"; + case _ACTINVOICEELEMENTCODE: return "_ActInvoiceElementCode"; + case _ACTINVOICEADJUDICATIONPAYMENTCODE: return "_ActInvoiceAdjudicationPaymentCode"; + case _ACTINVOICEADJUDICATIONPAYMENTGROUPCODE: return "_ActInvoiceAdjudicationPaymentGroupCode"; + case ALEC: return "ALEC"; + case BONUS: return "BONUS"; + case CFWD: return "CFWD"; + case EDU: return "EDU"; + case EPYMT: return "EPYMT"; + case GARN: return "GARN"; + case INVOICE: return "INVOICE"; + case PINV: return "PINV"; + case PPRD: return "PPRD"; + case PROA: return "PROA"; + case RECOV: return "RECOV"; + case RETRO: return "RETRO"; + case TRAN: return "TRAN"; + case _ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE: return "_ActInvoiceAdjudicationPaymentSummaryCode"; + case INVTYPE: return "INVTYPE"; + case PAYEE: return "PAYEE"; + case PAYOR: return "PAYOR"; + case SENDAPP: return "SENDAPP"; + case _ACTINVOICEDETAILCODE: return "_ActInvoiceDetailCode"; + case _ACTINVOICEDETAILCLINICALPRODUCTCODE: return "_ActInvoiceDetailClinicalProductCode"; + case UNSPSC: return "UNSPSC"; + case _ACTINVOICEDETAILDRUGPRODUCTCODE: return "_ActInvoiceDetailDrugProductCode"; + case GTIN: return "GTIN"; + case UPC: return "UPC"; + case _ACTINVOICEDETAILGENERICCODE: return "_ActInvoiceDetailGenericCode"; + case _ACTINVOICEDETAILGENERICADJUDICATORCODE: return "_ActInvoiceDetailGenericAdjudicatorCode"; + case COIN: return "COIN"; + case COPAYMENT: return "COPAYMENT"; + case DEDUCTIBLE: return "DEDUCTIBLE"; + case PAY: return "PAY"; + case SPEND: return "SPEND"; + case _ACTINVOICEDETAILGENERICMODIFIERCODE: return "_ActInvoiceDetailGenericModifierCode"; + case AFTHRS: return "AFTHRS"; + case ISOL: return "ISOL"; + case OOO: return "OOO"; + case _ACTINVOICEDETAILGENERICPROVIDERCODE: return "_ActInvoiceDetailGenericProviderCode"; + case CANCAPT: return "CANCAPT"; + case DSC: return "DSC"; + case ESA: return "ESA"; + case FFSTOP: return "FFSTOP"; + case FNLFEE: return "FNLFEE"; + case FRSTFEE: return "FRSTFEE"; + case MARKUP: return "MARKUP"; + case MISSAPT: return "MISSAPT"; + case PERFEE: return "PERFEE"; + case PERMBNS: return "PERMBNS"; + case RESTOCK: return "RESTOCK"; + case TRAVEL: return "TRAVEL"; + case URGENT: return "URGENT"; + case _ACTINVOICEDETAILTAXCODE: return "_ActInvoiceDetailTaxCode"; + case FST: return "FST"; + case HST: return "HST"; + case PST: return "PST"; + case _ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE: return "_ActInvoiceDetailPreferredAccommodationCode"; + case _ACTENCOUNTERACCOMMODATIONCODE: return "_ActEncounterAccommodationCode"; + case _HL7ACCOMMODATIONCODE: return "_HL7AccommodationCode"; + case I: return "I"; + case P: return "P"; + case S: return "S"; + case SP: return "SP"; + case W: return "W"; + case _ACTINVOICEGROUPCODE: return "_ActInvoiceGroupCode"; + case _ACTINVOICEINTERGROUPCODE: return "_ActInvoiceInterGroupCode"; + case CPNDDRGING: return "CPNDDRGING"; + case CPNDINDING: return "CPNDINDING"; + case CPNDSUPING: return "CPNDSUPING"; + case DRUGING: return "DRUGING"; + case FRAMEING: return "FRAMEING"; + case LENSING: return "LENSING"; + case PRDING: return "PRDING"; + case _ACTINVOICEROOTGROUPCODE: return "_ActInvoiceRootGroupCode"; + case CPINV: return "CPINV"; + case CSINV: return "CSINV"; + case CSPINV: return "CSPINV"; + case FININV: return "FININV"; + case OHSINV: return "OHSINV"; + case PAINV: return "PAINV"; + case RXCINV: return "RXCINV"; + case RXDINV: return "RXDINV"; + case SBFINV: return "SBFINV"; + case VRXINV: return "VRXINV"; + case _ACTINVOICEELEMENTSUMMARYCODE: return "_ActInvoiceElementSummaryCode"; + case _INVOICEELEMENTADJUDICATED: return "_InvoiceElementAdjudicated"; + case ADNFPPELAT: return "ADNFPPELAT"; + case ADNFPPELCT: return "ADNFPPELCT"; + case ADNFPPMNAT: return "ADNFPPMNAT"; + case ADNFPPMNCT: return "ADNFPPMNCT"; + case ADNFSPELAT: return "ADNFSPELAT"; + case ADNFSPELCT: return "ADNFSPELCT"; + case ADNFSPMNAT: return "ADNFSPMNAT"; + case ADNFSPMNCT: return "ADNFSPMNCT"; + case ADNPPPELAT: return "ADNPPPELAT"; + case ADNPPPELCT: return "ADNPPPELCT"; + case ADNPPPMNAT: return "ADNPPPMNAT"; + case ADNPPPMNCT: return "ADNPPPMNCT"; + case ADNPSPELAT: return "ADNPSPELAT"; + case ADNPSPELCT: return "ADNPSPELCT"; + case ADNPSPMNAT: return "ADNPSPMNAT"; + case ADNPSPMNCT: return "ADNPSPMNCT"; + case ADPPPPELAT: return "ADPPPPELAT"; + case ADPPPPELCT: return "ADPPPPELCT"; + case ADPPPPMNAT: return "ADPPPPMNAT"; + case ADPPPPMNCT: return "ADPPPPMNCT"; + case ADPPSPELAT: return "ADPPSPELAT"; + case ADPPSPELCT: return "ADPPSPELCT"; + case ADPPSPMNAT: return "ADPPSPMNAT"; + case ADPPSPMNCT: return "ADPPSPMNCT"; + case ADRFPPELAT: return "ADRFPPELAT"; + case ADRFPPELCT: return "ADRFPPELCT"; + case ADRFPPMNAT: return "ADRFPPMNAT"; + case ADRFPPMNCT: return "ADRFPPMNCT"; + case ADRFSPELAT: return "ADRFSPELAT"; + case ADRFSPELCT: return "ADRFSPELCT"; + case ADRFSPMNAT: return "ADRFSPMNAT"; + case ADRFSPMNCT: return "ADRFSPMNCT"; + case _INVOICEELEMENTPAID: return "_InvoiceElementPaid"; + case PDNFPPELAT: return "PDNFPPELAT"; + case PDNFPPELCT: return "PDNFPPELCT"; + case PDNFPPMNAT: return "PDNFPPMNAT"; + case PDNFPPMNCT: return "PDNFPPMNCT"; + case PDNFSPELAT: return "PDNFSPELAT"; + case PDNFSPELCT: return "PDNFSPELCT"; + case PDNFSPMNAT: return "PDNFSPMNAT"; + case PDNFSPMNCT: return "PDNFSPMNCT"; + case PDNPPPELAT: return "PDNPPPELAT"; + case PDNPPPELCT: return "PDNPPPELCT"; + case PDNPPPMNAT: return "PDNPPPMNAT"; + case PDNPPPMNCT: return "PDNPPPMNCT"; + case PDNPSPELAT: return "PDNPSPELAT"; + case PDNPSPELCT: return "PDNPSPELCT"; + case PDNPSPMNAT: return "PDNPSPMNAT"; + case PDNPSPMNCT: return "PDNPSPMNCT"; + case PDPPPPELAT: return "PDPPPPELAT"; + case PDPPPPELCT: return "PDPPPPELCT"; + case PDPPPPMNAT: return "PDPPPPMNAT"; + case PDPPPPMNCT: return "PDPPPPMNCT"; + case PDPPSPELAT: return "PDPPSPELAT"; + case PDPPSPELCT: return "PDPPSPELCT"; + case PDPPSPMNAT: return "PDPPSPMNAT"; + case PDPPSPMNCT: return "PDPPSPMNCT"; + case _INVOICEELEMENTSUBMITTED: return "_InvoiceElementSubmitted"; + case SBBLELAT: return "SBBLELAT"; + case SBBLELCT: return "SBBLELCT"; + case SBNFELAT: return "SBNFELAT"; + case SBNFELCT: return "SBNFELCT"; + case SBPDELAT: return "SBPDELAT"; + case SBPDELCT: return "SBPDELCT"; + case _ACTINVOICEOVERRIDECODE: return "_ActInvoiceOverrideCode"; + case COVGE: return "COVGE"; + case EFORM: return "EFORM"; + case FAX: return "FAX"; + case GFTH: return "GFTH"; + case LATE: return "LATE"; + case MANUAL: return "MANUAL"; + case OOJ: return "OOJ"; + case ORTHO: return "ORTHO"; + case PAPER: return "PAPER"; + case PIE: return "PIE"; + case PYRDELAY: return "PYRDELAY"; + case REFNR: return "REFNR"; + case REPSERV: return "REPSERV"; + case UNRELAT: return "UNRELAT"; + case VERBAUTH: return "VERBAUTH"; + case _ACTLISTCODE: return "_ActListCode"; + case _ACTOBSERVATIONLIST: return "_ActObservationList"; + case CARELIST: return "CARELIST"; + case CONDLIST: return "CONDLIST"; + case INTOLIST: return "INTOLIST"; + case PROBLIST: return "PROBLIST"; + case RISKLIST: return "RISKLIST"; + case GOALLIST: return "GOALLIST"; + case _ACTTHERAPYDURATIONWORKINGLISTCODE: return "_ActTherapyDurationWorkingListCode"; + case _ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE: return "_ActMedicationTherapyDurationWorkingListCode"; + case ACU: return "ACU"; + case CHRON: return "CHRON"; + case ONET: return "ONET"; + case PRN: return "PRN"; + case MEDLIST: return "MEDLIST"; + case CURMEDLIST: return "CURMEDLIST"; + case DISCMEDLIST: return "DISCMEDLIST"; + case HISTMEDLIST: return "HISTMEDLIST"; + case _ACTMONITORINGPROTOCOLCODE: return "_ActMonitoringProtocolCode"; + case CTLSUB: return "CTLSUB"; + case INV: return "INV"; + case LU: return "LU"; + case OTC: return "OTC"; + case RX: return "RX"; + case SA: return "SA"; + case SAC: return "SAC"; + case _ACTNONOBSERVATIONINDICATIONCODE: return "_ActNonObservationIndicationCode"; + case IND01: return "IND01"; + case IND02: return "IND02"; + case IND03: return "IND03"; + case IND04: return "IND04"; + case IND05: return "IND05"; + case _ACTOBSERVATIONVERIFICATIONTYPE: return "_ActObservationVerificationType"; + case VFPAPER: return "VFPAPER"; + case _ACTPAYMENTCODE: return "_ActPaymentCode"; + case ACH: return "ACH"; + case CHK: return "CHK"; + case DDP: return "DDP"; + case NON: return "NON"; + case _ACTPHARMACYSUPPLYTYPE: return "_ActPharmacySupplyType"; + case DF: return "DF"; + case EM: return "EM"; + case SO: return "SO"; + case FF: return "FF"; + case FFC: return "FFC"; + case FFCS: return "FFCS"; + case FFP: return "FFP"; + case FFPS: return "FFPS"; + case FFSS: return "FFSS"; + case TFS: return "TFS"; + case TF: return "TF"; + case FS: return "FS"; + case MS: return "MS"; + case RF: return "RF"; + case UD: return "UD"; + case RFC: return "RFC"; + case RFCS: return "RFCS"; + case RFF: return "RFF"; + case RFFS: return "RFFS"; + case RFP: return "RFP"; + case RFPS: return "RFPS"; + case RFS: return "RFS"; + case TB: return "TB"; + case TBS: return "TBS"; + case UDE: return "UDE"; + case _ACTPOLICYTYPE: return "_ActPolicyType"; + case _ACTPRIVACYPOLICY: return "_ActPrivacyPolicy"; + case _ACTCONSENTDIRECTIVE: return "_ActConsentDirective"; + case EMRGONLY: return "EMRGONLY"; + case NOPP: return "NOPP"; + case OPTIN: return "OPTIN"; + case OPTOUT: return "OPTOUT"; + case _INFORMATIONSENSITIVITYPOLICY: return "_InformationSensitivityPolicy"; + case _ACTINFORMATIONSENSITIVITYPOLICY: return "_ActInformationSensitivityPolicy"; + case ETH: return "ETH"; + case GDIS: return "GDIS"; + case HIV: return "HIV"; + case PSY: return "PSY"; + case SCA: return "SCA"; + case SDV: return "SDV"; + case SEX: return "SEX"; + case STD: return "STD"; + case TBOO: return "TBOO"; + case _ENTITYSENSITIVITYPOLICYTYPE: return "_EntitySensitivityPolicyType"; + case DEMO: return "DEMO"; + case DOB: return "DOB"; + case GENDER: return "GENDER"; + case LIVARG: return "LIVARG"; + case MARST: return "MARST"; + case RACE: return "RACE"; + case REL: return "REL"; + case _ROLEINFORMATIONSENSITIVITYPOLICY: return "_RoleInformationSensitivityPolicy"; + case B: return "B"; + case EMPL: return "EMPL"; + case LOCIS: return "LOCIS"; + case SSP: return "SSP"; + case ADOL: return "ADOL"; + case CEL: return "CEL"; + case DIA: return "DIA"; + case DRGIS: return "DRGIS"; + case EMP: return "EMP"; + case PDS: return "PDS"; + case PRS: return "PRS"; + case COMPT: return "COMPT"; + case HRCOMPT: return "HRCOMPT"; + case RESCOMPT: return "RESCOMPT"; + case RMGTCOMPT: return "RMGTCOMPT"; + case ACTTRUSTPOLICYTYPE: return "ActTrustPolicyType"; + case TRSTACCRD: return "TRSTACCRD"; + case TRSTAGRE: return "TRSTAGRE"; + case TRSTASSUR: return "TRSTASSUR"; + case TRSTCERT: return "TRSTCERT"; + case TRSTFWK: return "TRSTFWK"; + case TRSTMEC: return "TRSTMEC"; + case COVPOL: return "COVPOL"; + case SECURITYPOLICY: return "SecurityPolicy"; + case OBLIGATIONPOLICY: return "ObligationPolicy"; + case ANONY: return "ANONY"; + case AOD: return "AOD"; + case AUDIT: return "AUDIT"; + case AUDTR: return "AUDTR"; + case CPLYCC: return "CPLYCC"; + case CPLYCD: return "CPLYCD"; + case CPLYJPP: return "CPLYJPP"; + case CPLYOPP: return "CPLYOPP"; + case CPLYOSP: return "CPLYOSP"; + case CPLYPOL: return "CPLYPOL"; + case DEID: return "DEID"; + case DELAU: return "DELAU"; + case ENCRYPT: return "ENCRYPT"; + case ENCRYPTR: return "ENCRYPTR"; + case ENCRYPTT: return "ENCRYPTT"; + case ENCRYPTU: return "ENCRYPTU"; + case HUAPRV: return "HUAPRV"; + case MASK: return "MASK"; + case MINEC: return "MINEC"; + case PRIVMARK: return "PRIVMARK"; + case PSEUD: return "PSEUD"; + case REDACT: return "REDACT"; + case REFRAINPOLICY: return "RefrainPolicy"; + case NOAUTH: return "NOAUTH"; + case NOCOLLECT: return "NOCOLLECT"; + case NODSCLCD: return "NODSCLCD"; + case NODSCLCDS: return "NODSCLCDS"; + case NOINTEGRATE: return "NOINTEGRATE"; + case NOLIST: return "NOLIST"; + case NOMOU: return "NOMOU"; + case NOORGPOL: return "NOORGPOL"; + case NOPAT: return "NOPAT"; + case NOPERSISTP: return "NOPERSISTP"; + case NORDSCLCD: return "NORDSCLCD"; + case NORDSCLCDS: return "NORDSCLCDS"; + case NORDSCLW: return "NORDSCLW"; + case NORELINK: return "NORELINK"; + case NOREUSE: return "NOREUSE"; + case NOVIP: return "NOVIP"; + case ORCON: return "ORCON"; + case _ACTPRODUCTACQUISITIONCODE: return "_ActProductAcquisitionCode"; + case LOAN: return "LOAN"; + case RENT: return "RENT"; + case TRANSFER: return "TRANSFER"; + case SALE: return "SALE"; + case _ACTSPECIMENTRANSPORTCODE: return "_ActSpecimenTransportCode"; + case SREC: return "SREC"; + case SSTOR: return "SSTOR"; + case STRAN: return "STRAN"; + case _ACTSPECIMENTREATMENTCODE: return "_ActSpecimenTreatmentCode"; + case ACID: return "ACID"; + case ALK: return "ALK"; + case DEFB: return "DEFB"; + case FILT: return "FILT"; + case LDLP: return "LDLP"; + case NEUT: return "NEUT"; + case RECA: return "RECA"; + case UFIL: return "UFIL"; + case _ACTSUBSTANCEADMINISTRATIONCODE: return "_ActSubstanceAdministrationCode"; + case DRUG: return "DRUG"; + case FD: return "FD"; + case IMMUNIZ: return "IMMUNIZ"; + case _ACTTASKCODE: return "_ActTaskCode"; + case OE: return "OE"; + case LABOE: return "LABOE"; + case MEDOE: return "MEDOE"; + case PATDOC: return "PATDOC"; + case ALLERLREV: return "ALLERLREV"; + case CLINNOTEE: return "CLINNOTEE"; + case DIAGLISTE: return "DIAGLISTE"; + case DISCHINSTE: return "DISCHINSTE"; + case DISCHSUME: return "DISCHSUME"; + case PATEDUE: return "PATEDUE"; + case PATREPE: return "PATREPE"; + case PROBLISTE: return "PROBLISTE"; + case RADREPE: return "RADREPE"; + case IMMLREV: return "IMMLREV"; + case REMLREV: return "REMLREV"; + case WELLREMLREV: return "WELLREMLREV"; + case PATINFO: return "PATINFO"; + case ALLERLE: return "ALLERLE"; + case CDSREV: return "CDSREV"; + case CLINNOTEREV: return "CLINNOTEREV"; + case DISCHSUMREV: return "DISCHSUMREV"; + case DIAGLISTREV: return "DIAGLISTREV"; + case IMMLE: return "IMMLE"; + case LABRREV: return "LABRREV"; + case MICRORREV: return "MICRORREV"; + case MICROORGRREV: return "MICROORGRREV"; + case MICROSENSRREV: return "MICROSENSRREV"; + case MLREV: return "MLREV"; + case MARWLREV: return "MARWLREV"; + case OREV: return "OREV"; + case PATREPREV: return "PATREPREV"; + case PROBLISTREV: return "PROBLISTREV"; + case RADREPREV: return "RADREPREV"; + case REMLE: return "REMLE"; + case WELLREMLE: return "WELLREMLE"; + case RISKASSESS: return "RISKASSESS"; + case FALLRISK: return "FALLRISK"; + case _ACTTRANSPORTATIONMODECODE: return "_ActTransportationModeCode"; + case _ACTPATIENTTRANSPORTATIONMODECODE: return "_ActPatientTransportationModeCode"; + case AFOOT: return "AFOOT"; + case AMBT: return "AMBT"; + case AMBAIR: return "AMBAIR"; + case AMBGRND: return "AMBGRND"; + case AMBHELO: return "AMBHELO"; + case LAWENF: return "LAWENF"; + case PRVTRN: return "PRVTRN"; + case PUBTRN: return "PUBTRN"; + case _OBSERVATIONTYPE: return "_ObservationType"; + case _ACTSPECOBSCODE: return "_ActSpecObsCode"; + case ARTBLD: return "ARTBLD"; + case DILUTION: return "DILUTION"; + case AUTOHIGH: return "AUTO-HIGH"; + case AUTOLOW: return "AUTO-LOW"; + case PRE: return "PRE"; + case RERUN: return "RERUN"; + case EVNFCTS: return "EVNFCTS"; + case INTFR: return "INTFR"; + case FIBRIN: return "FIBRIN"; + case HEMOLYSIS: return "HEMOLYSIS"; + case ICTERUS: return "ICTERUS"; + case LIPEMIA: return "LIPEMIA"; + case VOLUME: return "VOLUME"; + case AVAILABLE: return "AVAILABLE"; + case CONSUMPTION: return "CONSUMPTION"; + case CURRENT: return "CURRENT"; + case INITIAL: return "INITIAL"; + case _ANNOTATIONTYPE: return "_AnnotationType"; + case _ACTPATIENTANNOTATIONTYPE: return "_ActPatientAnnotationType"; + case ANNDI: return "ANNDI"; + case ANNGEN: return "ANNGEN"; + case ANNIMM: return "ANNIMM"; + case ANNLAB: return "ANNLAB"; + case ANNMED: return "ANNMED"; + case _GENETICOBSERVATIONTYPE: return "_GeneticObservationType"; + case GENE: return "GENE"; + case _IMMUNIZATIONOBSERVATIONTYPE: return "_ImmunizationObservationType"; + case OBSANTC: return "OBSANTC"; + case OBSANTV: return "OBSANTV"; + case _INDIVIDUALCASESAFETYREPORTTYPE: return "_IndividualCaseSafetyReportType"; + case PATADVEVNT: return "PAT_ADV_EVNT"; + case VACPROBLEM: return "VAC_PROBLEM"; + case _LOINCOBSERVATIONACTCONTEXTAGETYPE: return "_LOINCObservationActContextAgeType"; + case _216119: return "21611-9"; + case _216127: return "21612-7"; + case _295535: return "29553-5"; + case _305250: return "30525-0"; + case _309724: return "30972-4"; + case _MEDICATIONOBSERVATIONTYPE: return "_MedicationObservationType"; + case REPHALFLIFE: return "REP_HALF_LIFE"; + case SPLCOATING: return "SPLCOATING"; + case SPLCOLOR: return "SPLCOLOR"; + case SPLIMAGE: return "SPLIMAGE"; + case SPLIMPRINT: return "SPLIMPRINT"; + case SPLSCORING: return "SPLSCORING"; + case SPLSHAPE: return "SPLSHAPE"; + case SPLSIZE: return "SPLSIZE"; + case SPLSYMBOL: return "SPLSYMBOL"; + case _OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE: return "_ObservationIssueTriggerCodedObservationType"; + case _CASETRANSMISSIONMODE: return "_CaseTransmissionMode"; + case AIRTRNS: return "AIRTRNS"; + case ANANTRNS: return "ANANTRNS"; + case ANHUMTRNS: return "ANHUMTRNS"; + case BDYFLDTRNS: return "BDYFLDTRNS"; + case BLDTRNS: return "BLDTRNS"; + case DERMTRNS: return "DERMTRNS"; + case ENVTRNS: return "ENVTRNS"; + case FECTRNS: return "FECTRNS"; + case FOMTRNS: return "FOMTRNS"; + case FOODTRNS: return "FOODTRNS"; + case HUMHUMTRNS: return "HUMHUMTRNS"; + case INDTRNS: return "INDTRNS"; + case LACTTRNS: return "LACTTRNS"; + case NOSTRNS: return "NOSTRNS"; + case PARTRNS: return "PARTRNS"; + case PLACTRNS: return "PLACTRNS"; + case SEXTRNS: return "SEXTRNS"; + case TRNSFTRNS: return "TRNSFTRNS"; + case VECTRNS: return "VECTRNS"; + case WATTRNS: return "WATTRNS"; + case _OBSERVATIONQUALITYMEASUREATTRIBUTE: return "_ObservationQualityMeasureAttribute"; + case AGGREGATE: return "AGGREGATE"; + case COPY: return "COPY"; + case CRS: return "CRS"; + case DEF: return "DEF"; + case DISC: return "DISC"; + case FINALDT: return "FINALDT"; + case GUIDE: return "GUIDE"; + case IDUR: return "IDUR"; + case ITMCNT: return "ITMCNT"; + case KEY: return "KEY"; + case MEDT: return "MEDT"; + case MSD: return "MSD"; + case MSRADJ: return "MSRADJ"; + case MSRAGG: return "MSRAGG"; + case MSRIMPROV: return "MSRIMPROV"; + case MSRJUR: return "MSRJUR"; + case MSRRPTR: return "MSRRPTR"; + case MSRRPTTIME: return "MSRRPTTIME"; + case MSRSCORE: return "MSRSCORE"; + case MSRSET: return "MSRSET"; + case MSRTOPIC: return "MSRTOPIC"; + case MSRTP: return "MSRTP"; + case MSRTYPE: return "MSRTYPE"; + case RAT: return "RAT"; + case REF: return "REF"; + case SDE: return "SDE"; + case STRAT: return "STRAT"; + case TRANF: return "TRANF"; + case USE: return "USE"; + case _OBSERVATIONSEQUENCETYPE: return "_ObservationSequenceType"; + case TIMEABSOLUTE: return "TIME_ABSOLUTE"; + case TIMERELATIVE: return "TIME_RELATIVE"; + case _OBSERVATIONSERIESTYPE: return "_ObservationSeriesType"; + case _ECGOBSERVATIONSERIESTYPE: return "_ECGObservationSeriesType"; + case REPRESENTATIVEBEAT: return "REPRESENTATIVE_BEAT"; + case RHYTHM: return "RHYTHM"; + case _PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE: return "_PatientImmunizationRelatedObservationType"; + case CLSSRM: return "CLSSRM"; + case GRADE: return "GRADE"; + case SCHL: return "SCHL"; + case SCHLDIV: return "SCHLDIV"; + case TEACHER: return "TEACHER"; + case _POPULATIONINCLUSIONOBSERVATIONTYPE: return "_PopulationInclusionObservationType"; + case DENEX: return "DENEX"; + case DENEXCEP: return "DENEXCEP"; + case DENOM: return "DENOM"; + case IPOP: return "IPOP"; + case IPPOP: return "IPPOP"; + case MSRPOPL: return "MSRPOPL"; + case MSRPOPLEX: return "MSRPOPLEX"; + case NUMER: return "NUMER"; + case NUMEX: return "NUMEX"; + case _PREFERENCEOBSERVATIONTYPE: return "_PreferenceObservationType"; + case PREFSTRENGTH: return "PREFSTRENGTH"; + case ADVERSEREACTION: return "ADVERSE_REACTION"; + case ASSERTION: return "ASSERTION"; + case CASESER: return "CASESER"; + case CDIO: return "CDIO"; + case CRIT: return "CRIT"; + case CTMO: return "CTMO"; + case DX: return "DX"; + case ADMDX: return "ADMDX"; + case DISDX: return "DISDX"; + case INTDX: return "INTDX"; + case NOI: return "NOI"; + case GISTIER: return "GISTIER"; + case HHOBS: return "HHOBS"; + case ISSUE: return "ISSUE"; + case _ACTADMINISTRATIVEDETECTEDISSUECODE: return "_ActAdministrativeDetectedIssueCode"; + case _ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE: return "_ActAdministrativeAuthorizationDetectedIssueCode"; + case NAT: return "NAT"; + case SUPPRESSED: return "SUPPRESSED"; + case VALIDAT: return "VALIDAT"; + case KEY204: return "KEY204"; + case KEY205: return "KEY205"; + case COMPLY: return "COMPLY"; + case DUPTHPY: return "DUPTHPY"; + case DUPTHPCLS: return "DUPTHPCLS"; + case DUPTHPGEN: return "DUPTHPGEN"; + case ABUSE: return "ABUSE"; + case FRAUD: return "FRAUD"; + case PLYDOC: return "PLYDOC"; + case PLYPHRM: return "PLYPHRM"; + case DOSE: return "DOSE"; + case DOSECOND: return "DOSECOND"; + case DOSEDUR: return "DOSEDUR"; + case DOSEDURH: return "DOSEDURH"; + case DOSEDURHIND: return "DOSEDURHIND"; + case DOSEDURL: return "DOSEDURL"; + case DOSEDURLIND: return "DOSEDURLIND"; + case DOSEH: return "DOSEH"; + case DOSEHINDA: return "DOSEHINDA"; + case DOSEHIND: return "DOSEHIND"; + case DOSEHINDSA: return "DOSEHINDSA"; + case DOSEHINDW: return "DOSEHINDW"; + case DOSEIVL: return "DOSEIVL"; + case DOSEIVLIND: return "DOSEIVLIND"; + case DOSEL: return "DOSEL"; + case DOSELINDA: return "DOSELINDA"; + case DOSELIND: return "DOSELIND"; + case DOSELINDSA: return "DOSELINDSA"; + case DOSELINDW: return "DOSELINDW"; + case MDOSE: return "MDOSE"; + case OBSA: return "OBSA"; + case AGE: return "AGE"; + case ADALRT: return "ADALRT"; + case GEALRT: return "GEALRT"; + case PEALRT: return "PEALRT"; + case COND: return "COND"; + case HGHT: return "HGHT"; + case LACT: return "LACT"; + case PREG: return "PREG"; + case WGHT: return "WGHT"; + case CREACT: return "CREACT"; + case GEN: return "GEN"; + case GEND: return "GEND"; + case LAB: return "LAB"; + case REACT: return "REACT"; + case ALGY: return "ALGY"; + case INT: return "INT"; + case RREACT: return "RREACT"; + case RALG: return "RALG"; + case RAR: return "RAR"; + case RINT: return "RINT"; + case BUS: return "BUS"; + case CODEINVAL: return "CODE_INVAL"; + case CODEDEPREC: return "CODE_DEPREC"; + case FORMAT: return "FORMAT"; + case ILLEGAL: return "ILLEGAL"; + case LENRANGE: return "LEN_RANGE"; + case LENLONG: return "LEN_LONG"; + case LENSHORT: return "LEN_SHORT"; + case MISSCOND: return "MISSCOND"; + case MISSMAND: return "MISSMAND"; + case NODUPS: return "NODUPS"; + case NOPERSIST: return "NOPERSIST"; + case REPRANGE: return "REP_RANGE"; + case MAXOCCURS: return "MAXOCCURS"; + case MINOCCURS: return "MINOCCURS"; + case _ACTADMINISTRATIVERULEDETECTEDISSUECODE: return "_ActAdministrativeRuleDetectedIssueCode"; + case KEY206: return "KEY206"; + case OBSOLETE: return "OBSOLETE"; + case _ACTSUPPLIEDITEMDETECTEDISSUECODE: return "_ActSuppliedItemDetectedIssueCode"; + case _ADMINISTRATIONDETECTEDISSUECODE: return "_AdministrationDetectedIssueCode"; + case _APPROPRIATENESSDETECTEDISSUECODE: return "_AppropriatenessDetectedIssueCode"; + case _INTERACTIONDETECTEDISSUECODE: return "_InteractionDetectedIssueCode"; + case FOOD: return "FOOD"; + case TPROD: return "TPROD"; + case DRG: return "DRG"; + case NHP: return "NHP"; + case NONRX: return "NONRX"; + case PREVINEF: return "PREVINEF"; + case DACT: return "DACT"; + case TIME: return "TIME"; + case ALRTENDLATE: return "ALRTENDLATE"; + case ALRTSTRTLATE: return "ALRTSTRTLATE"; + case _SUPPLYDETECTEDISSUECODE: return "_SupplyDetectedIssueCode"; + case ALLDONE: return "ALLDONE"; + case FULFIL: return "FULFIL"; + case NOTACTN: return "NOTACTN"; + case NOTEQUIV: return "NOTEQUIV"; + case NOTEQUIVGEN: return "NOTEQUIVGEN"; + case NOTEQUIVTHER: return "NOTEQUIVTHER"; + case TIMING: return "TIMING"; + case INTERVAL: return "INTERVAL"; + case MINFREQ: return "MINFREQ"; + case HELD: return "HELD"; + case TOOLATE: return "TOOLATE"; + case TOOSOON: return "TOOSOON"; + case HISTORIC: return "HISTORIC"; + case PATPREF: return "PATPREF"; + case PATPREFALT: return "PATPREFALT"; + case KSUBJ: return "KSUBJ"; + case KSUBT: return "KSUBT"; + case OINT: return "OINT"; + case ALG: return "ALG"; + case DALG: return "DALG"; + case EALG: return "EALG"; + case FALG: return "FALG"; + case DINT: return "DINT"; + case DNAINT: return "DNAINT"; + case EINT: return "EINT"; + case ENAINT: return "ENAINT"; + case FINT: return "FINT"; + case FNAINT: return "FNAINT"; + case NAINT: return "NAINT"; + case SEV: return "SEV"; + case _ROIOVERLAYSHAPE: return "_ROIOverlayShape"; + case CIRCLE: return "CIRCLE"; + case ELLIPSE: return "ELLIPSE"; + case POINT: return "POINT"; + case POLY: return "POLY"; + case C: return "C"; + case DIET: return "DIET"; + case BR: return "BR"; + case DM: return "DM"; + case FAST: return "FAST"; + case FORMULA: return "FORMULA"; + case GF: return "GF"; + case LF: return "LF"; + case LP: return "LP"; + case LQ: return "LQ"; + case LS: return "LS"; + case N: return "N"; + case NF: return "NF"; + case PAF: return "PAF"; + case PAR: return "PAR"; + case RD: return "RD"; + case SCH: return "SCH"; + case SUPPLEMENT: return "SUPPLEMENT"; + case T: return "T"; + case VLI: return "VLI"; + case DRUGPRG: return "DRUGPRG"; + case F: return "F"; + case PRLMN: return "PRLMN"; + case SECOBS: return "SECOBS"; + case SECCATOBS: return "SECCATOBS"; + case SECCLASSOBS: return "SECCLASSOBS"; + case SECCONOBS: return "SECCONOBS"; + case SECINTOBS: return "SECINTOBS"; + case SECALTINTOBS: return "SECALTINTOBS"; + case SECDATINTOBS: return "SECDATINTOBS"; + case SECINTCONOBS: return "SECINTCONOBS"; + case SECINTPRVOBS: return "SECINTPRVOBS"; + case SECINTPRVABOBS: return "SECINTPRVABOBS"; + case SECINTPRVRBOBS: return "SECINTPRVRBOBS"; + case SECINTSTOBS: return "SECINTSTOBS"; + case SECTRSTOBS: return "SECTRSTOBS"; + case TRSTACCRDOBS: return "TRSTACCRDOBS"; + case TRSTAGREOBS: return "TRSTAGREOBS"; + case TRSTCERTOBS: return "TRSTCERTOBS"; + case TRSTFWKOBS: return "TRSTFWKOBS"; + case TRSTLOAOBS: return "TRSTLOAOBS"; + case TRSTMECOBS: return "TRSTMECOBS"; + case SUBSIDFFS: return "SUBSIDFFS"; + case WRKCOMP: return "WRKCOMP"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActCode"; + } + public String getDefinition() { + switch (this) { + case _ACTACCOUNTCODE: return "An account represents a grouping of financial transactions that are tracked and reported together with a single balance. Examples of account codes (types) are Patient billing accounts (collection of charges), Cost centers; Cash."; + case ACCTRECEIVABLE: return "An account for collecting charges, reversals, adjustments and payments, including deductibles, copayments, coinsurance (financial transactions) credited or debited to the account receivable account for a patient's encounter."; + case CASH: return "Cash"; + case CC: return "Description: Types of advance payment to be made on a plastic card usually issued by a financial institution used of purchasing services and/or products."; + case AE: return "American Express"; + case DN: return "Diner's Club"; + case DV: return "Discover Card"; + case MC: return "Master Card"; + case V: return "Visa"; + case PBILLACCT: return "An account representing charges and credits (financial transactions) for a patient's encounter."; + case _ACTADJUDICATIONCODE: return "Includes coded responses that will occur as a result of the adjudication of an electronic invoice at a summary level and provides guidance on interpretation of the referenced adjudication results."; + case _ACTADJUDICATIONGROUPCODE: return "Catagorization of grouping criteria for the associated transactions and/or summary (totals, subtotals)."; + case CONT: return "Transaction counts and value totals by Contract Identifier."; + case DAY: return "Transaction counts and value totals for each calendar day within the date range specified."; + case LOC: return "Transaction counts and value totals by service location (e.g clinic)."; + case MONTH: return "Transaction counts and value totals for each calendar month within the date range specified."; + case PERIOD: return "Transaction counts and value totals for the date range specified."; + case PROV: return "Transaction counts and value totals by Provider Identifier."; + case WEEK: return "Transaction counts and value totals for each calendar week within the date range specified."; + case YEAR: return "Transaction counts and value totals for each calendar year within the date range specified."; + case AA: return "The invoice element has been accepted for payment but one or more adjustment(s) have been made to one or more invoice element line items (component charges). \r\n\n Also includes the concept 'Adjudicate as zero' and items not covered under a particular Policy. \r\n\n Invoice element can be reversed (nullified). \r\n\n Recommend that the invoice element is saved for DUR (Drug Utilization Reporting)."; + case ANF: return "The invoice element has been accepted for payment but one or more adjustment(s) have been made to one or more invoice element line items (component charges) without changing the amount. \r\n\n Invoice element can be reversed (nullified). \r\n\n Recommend that the invoice element is saved for DUR (Drug Utilization Reporting)."; + case AR: return "The invoice element has passed through the adjudication process but payment is refused due to one or more reasons.\r\n\n Includes items such as patient not covered, or invoice element is not constructed according to payer rules (e.g. 'invoice submitted too late').\r\n\n If one invoice element line item in the invoice element structure is rejected, the remaining line items may not be adjudicated and the complete group is treated as rejected.\r\n\n A refused invoice element can be forwarded to the next payer (for Coordination of Benefits) or modified and resubmitted to refusing payer.\r\n\n Invoice element cannot be reversed (nullified) as there is nothing to reverse. \r\n\n Recommend that the invoice element is not saved for DUR (Drug Utilization Reporting)."; + case AS: return "The invoice element was/will be paid exactly as submitted, without financial adjustment(s).\r\n\n If the dollar amount stays the same, but the billing codes have been amended or financial adjustments have been applied through the adjudication process, the invoice element is treated as 'Adjudicated with Adjustment'.\r\n\n If information items are included in the adjudication results that do not affect the monetary amounts paid, then this is still Adjudicated as Submitted (e.g. 'reached Plan Maximum on this Claim'). \r\n\n Invoice element can be reversed (nullified). \r\n\n Recommend that the invoice element is saved for DUR (Drug Utilization Reporting)."; + case _ACTADJUDICATIONRESULTACTIONCODE: return "Actions to be carried out by the recipient of the Adjudication Result information."; + case DISPLAY: return "The adjudication result associated is to be displayed to the receiver of the adjudication result."; + case FORM: return "The adjudication result associated is to be printed on the specified form, which is then provided to the covered party."; + case _ACTBILLABLEMODIFIERCODE: return "Definition:An identifying modifier code for healthcare interventions or procedures."; + case CPTM: return "Description:CPT modifier codes are found in Appendix A of CPT 2000 Standard Edition."; + case HCPCSA: return "Description:HCPCS Level II (HCFA-assigned) and Carrier-assigned (Level III) modifiers are reported in Appendix A of CPT 2000 Standard Edition and in the Medicare Bulletin."; + case _ACTBILLINGARRANGEMENTCODE: return "The type of provision(s) made for reimbursing for the deliver of healthcare services and/or goods provided by a Provider, over a specified period."; + case BLK: return "A billing arrangement where a Provider charges a lump sum to provide a prescribed group (volume) of services to a single patient which occur over a period of time. Services included in the block may vary. \r\n\n This billing arrangement is also known as Program of Care for some specific Payors and Program Fees for other Payors."; + case CAP: return "A billing arrangement where the payment made to a Provider is determined by analyzing one or more demographic attributes about the persons/patients who are enrolled with the Provider (in their practice)."; + case CONTF: return "A billing arrangement where a Provider charges a lump sum to provide a particular volume of one or more interventions/procedures or groups of interventions/procedures."; + case FINBILL: return "A billing arrangement where a Provider charges for non-clinical items. This includes interest in arrears, mileage, etc. Clinical content is not included in Invoices submitted with this type of billing arrangement."; + case ROST: return "A billing arrangement where funding is based on a list of individuals registered as patients of the Provider."; + case SESS: return "A billing arrangement where a Provider charges a sum to provide a group (volume) of interventions/procedures to one or more patients within a defined period of time, typically on the same date. Interventions/procedures included in the session may vary."; + case _ACTBOUNDEDROICODE: return "Type of bounded ROI."; + case ROIFS: return "A fully specified bounded Region of Interest (ROI) delineates a ROI in which only those dimensions participate that are specified by boundary criteria, whereas all other dimensions are excluded. For example a ROI to mark an episode of 'ST elevation' in a subset of the EKG leads V2, V3, and V4 would include 4 boundaries, one each for time, V2, V3, and V4."; + case ROIPS: return "A partially specified bounded Region of Interest (ROI) specifies a ROI in which at least all values in the dimensions specified by the boundary criteria participate. For example, if an episode of ventricular fibrillations (VFib) is observed, it usually doesn't make sense to exclude any EKG leads from the observation and the partially specified ROI would contain only one boundary for time indicating the time interval where VFib was observed."; + case _ACTCAREPROVISIONCODE: return "Description:The type and scope of responsibility taken-on by the performer of the Act for a specific subject of care."; + case _ACTCREDENTIALEDCARECODE: return "Description:The type and scope of legal and/or professional responsibility taken-on by the performer of the Act for a specific subject of care as described by a credentialing agency, i.e. government or non-government agency. Failure in executing this Act may result in loss of credential to the person or organization who participates as performer of the Act. Excludes employment agreements.\r\n\n \n Example:Hospital license; physician license; clinic accreditation."; + case _ACTCREDENTIALEDCAREPROVISIONPERSONCODE: return "Description:The type and scope of legal and/or professional responsibility taken-on by the performer of the Act for a specific subject of care as described by an agency for credentialing individuals."; + case CACC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CAIC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CAMC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CANC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CAPC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CBGC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CCCC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CCGC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CCPC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CCSC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CDEC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CDRC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CEMC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CFPC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CIMC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CMGC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CNEC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board"; + case CNMC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CNQC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CNSC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case COGC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case COMC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case COPC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case COSC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case COTC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CPEC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CPGC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CPHC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CPRC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CPSC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CPYC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CROC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CRPC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CSUC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CTSC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CURC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case CVSC: return "Description:Scope of responsibility taken on for specialty care as defined by the respective Specialty Board."; + case LGPC: return "Description:Scope of responsibility taken-on for physician care of a patient as defined by a governmental licensing agency."; + case _ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE: return "Description:The type and scope of legal and/or professional responsibility taken-on by the performer of the Act for a specific subject of care as described by an agency for credentialing programs within organizations."; + case AALC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case AAMC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case ABHC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case ACAC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case ACHC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case AHOC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case ALTC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case AOSC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the respective accreditation agency."; + case CACS: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CAMI: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CAST: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CBAR: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CCAD: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CCAR: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CDEP: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CDGD: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CDIA: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CEPI: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CFEL: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CHFC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CHRO: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CHYP: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CMIH: return "Description:."; + case CMSC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case COJR: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CONC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case COPD: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CORT: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CPAD: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CPND: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CPST: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CSDM: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CSIC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CSLD: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CSPT: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CTBU: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CVDC: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CWMA: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case CWOH: return "Description:Scope of responsibility taken on by an organization for care of a patient as defined by the disease management certification agency."; + case _ACTENCOUNTERCODE: return "Domain provides codes that qualify the ActEncounterClass (ENC)"; + case AMB: return "A comprehensive term for health care provided in a healthcare facility (e.g. a practitioneraTMs office, clinic setting, or hospital) on a nonresident basis. The term ambulatory usually implies that the patient has come to the location and is not assigned to a bed. Sometimes referred to as an outpatient encounter."; + case EMER: return "A patient encounter that takes place at a dedicated healthcare service delivery location where the patient receives immediate evaluation and treatment, provided until the patient can be discharged or responsibility for the patient's care is transferred elsewhere (for example, the patient could be admitted as an inpatient or transferred to another facility.)"; + case FLD: return "A patient encounter that takes place both outside a dedicated service delivery location and outside a patient's residence. Example locations might include an accident site and at a supermarket."; + case HH: return "Healthcare encounter that takes place in the residence of the patient or a designee"; + case IMP: return "A patient encounter where a patient is admitted by a hospital or equivalent facility, assigned to a location where patients generally stay at least overnight and provided with room, board, and continuous nursing service."; + case ACUTE: return "An acute inpatient encounter."; + case NONAC: return "Any category of inpatient encounter except 'acute'"; + case PRENC: return "A patient encounter where patient is scheduled or planned to receive service delivery in the future, and the patient is given a pre-admission account number. When the patient comes back for subsequent service, the pre-admission encounter is selected and is encapsulated into the service registration, and a new account number is generated.\r\n\n \n Usage Note: This is intended to be used in advance of encounter types such as ambulatory, inpatient encounter, virtual, etc."; + case SS: return "An encounter where the patient is admitted to a health care facility for a predetermined length of time, usually less than 24 hours."; + case VR: return "A patient encounter where the patient and the practitioner(s) are not in the same physical location. Examples include telephone conference, email exchange, robotic surgery, and televideo conference."; + case _ACTMEDICALSERVICECODE: return "General category of medical service provided to the patient during their encounter."; + case ALC: return "Provision of Alternate Level of Care to a patient in an acute bed. Patient is waiting for placement in a long-term care facility and is unable to return home."; + case CARD: return "Provision of diagnosis and treatment of diseases and disorders affecting the heart"; + case CHR: return "Provision of recurring care for chronic illness."; + case DNTL: return "Provision of treatment for oral health and/or dental surgery."; + case DRGRHB: return "Provision of treatment for drug abuse."; + case GENRL: return "General care performed by a general practitioner or family doctor as a responsible provider for a patient."; + case MED: return "Provision of diagnostic and/or therapeutic treatment."; + case OBS: return "Provision of care of women during pregnancy, childbirth and immediate postpartum period. Also known as Maternity."; + case ONC: return "Provision of treatment and/or diagnosis related to tumors and/or cancer."; + case PALL: return "Provision of care for patients who are living or dying from an advanced illness."; + case PED: return "Provision of diagnosis and treatment of diseases and disorders affecting children."; + case PHAR: return "Pharmaceutical care performed by a pharmacist."; + case PHYRHB: return "Provision of treatment for physical injury."; + case PSYCH: return "Provision of treatment of psychiatric disorder relating to mental illness."; + case SURG: return "Provision of surgical treatment."; + case _ACTCLAIMATTACHMENTCATEGORYCODE: return "Description: Coded types of attachments included to support a healthcare claim."; + case AUTOATTCH: return "Description: Automobile Information Attachment"; + case DOCUMENT: return "Description: Document Attachment"; + case HEALTHREC: return "Description: Health Record Attachment"; + case IMG: return "Description: Image Attachment"; + case LABRESULTS: return "Description: Lab Results Attachment"; + case MODEL: return "Description: Digital Model Attachment"; + case WIATTCH: return "Description: Work Injury related additional Information Attachment"; + case XRAY: return "Description: Digital X-Ray Attachment"; + case _ACTCONSENTTYPE: return "Definition: The type of consent directive, e.g., to consent or dissent to collect, access, or use in specific ways within an EHRS or for health information exchange; or to disclose health information for purposes such as research."; + case ICOL: return "Definition: Consent to have healthcare information collected in an electronic health record. This entails that the information may be used in analysis, modified, updated."; + case IDSCL: return "Definition: Consent to have collected healthcare information disclosed."; + case INFA: return "Definition: Consent to access healthcare information."; + case INFAO: return "Definition: Consent to access or 'read' only, which entails that the information is not to be copied, screen printed, saved, emailed, stored, re-disclosed or altered in any way. This level ensures that data which is masked or to which access is restricted will not be.\r\n\n \n Example: Opened and then emailed or screen printed for use outside of the consent directive purpose."; + case INFASO: return "Definition: Consent to access and save only, which entails that access to the saved copy will remain locked."; + case IRDSCL: return "Definition: Information re-disclosed without the patient's consent."; + case RESEARCH: return "Definition: Consent to have healthcare information in an electronic health record accessed for research purposes."; + case RSDID: return "Definition: Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes, but without consent to re-identify the information under any circumstance."; + case RSREID: return "Definition: Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes re-identified under specific circumstances outlined in the consent.\r\n\n \n Example:: Where there is a need to inform the subject of potential health issues."; + case _ACTCONTAINERREGISTRATIONCODE: return "Constrains the ActCode to the domain of Container Registration"; + case ID: return "Used by one system to inform another that it has received a container."; + case IP: return "Used by one system to inform another that the container is in position for specimen transfer (e.g., container removal from track, pipetting, etc.)."; + case L: return "Used by one system to inform another that the container has been released from that system."; + case M: return "Used by one system to inform another that the container did not arrive at its next expected location."; + case O: return "Used by one system to inform another that the specific container is being processed by the equipment. It is useful as a response to a query about Container Status, when the specific step of the process is not relevant."; + case R: return "Status is used by one system to inform another that the processing has been completed, but the container has not been released from that system."; + case X: return "Used by one system to inform another that the container is no longer available within the scope of the system (e.g., tube broken or discarded)."; + case _ACTCONTROLVARIABLE: return "An observation form that determines parameters or attributes of an Act. Examples are the settings of a ventilator machine as parameters of a ventilator treatment act; the controls on dillution factors of a chemical analyzer as a parameter of a laboratory observation act; the settings of a physiologic measurement assembly (e.g., time skew) or the position of the body while measuring blood pressure.\r\n\n Control variables are forms of observations because just as with clinical observations, the Observation.code determines the parameter and the Observation.value assigns the value. While control variables sometimes can be observed (by noting the control settings or an actually measured feedback loop) they are not primary observations, in the sense that a control variable without a primary act is of no use (e.g., it makes no sense to record a blood pressure position without recording a blood pressure, whereas it does make sense to record a systolic blood pressure without a diastolic blood pressure)."; + case AUTO: return "Specifies whether or not automatic repeat testing is to be initiated on specimens."; + case ENDC: return "A baseline value for the measured test that is inherently contained in the diluent. In the calculation of the actual result for the measured test, this baseline value is normally considered."; + case REFLEX: return "Specifies whether or not further testing may be automatically or manually initiated on specimens."; + case _ACTCOVERAGECONFIRMATIONCODE: return "Response to an insurance coverage eligibility query or authorization request."; + case _ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE: return "Indication of authorization for healthcare service(s) and/or product(s). If authorization is approved, funds are set aside."; + case AUTH: return "Authorization approved and funds have been set aside to pay for specified healthcare service(s) and/or product(s) within defined criteria for the authorization."; + case NAUTH: return "Authorization for specified healthcare service(s) and/or product(s) denied."; + case _ACTCOVERAGELIMITCODE: return "Criteria that are applicable to the authorized coverage."; + case _ACTCOVERAGEQUANTITYLIMITCODE: return "Maximum amount paid or maximum number of services/products covered; or maximum amount or number covered during a specified time period under the policy or program."; + case COVPRD: return "Codes representing the time period during which coverage is available; or financial participation requirements are in effect."; + case LFEMX: return "Definition: Maximum amount paid by payer or covered party; or maximum number of services or products covered under the policy or program during a covered party's lifetime."; + case NETAMT: return "Maximum net amount that will be covered for the product or service specified."; + case PRDMX: return "Definition: Maximum amount paid by payer or covered party; or maximum number of services/products covered under the policy or program by time period specified by the effective time on the act."; + case UNITPRICE: return "Maximum unit price that will be covered for the authorized product or service."; + case UNITQTY: return "Maximum number of items that will be covered of the product or service specified."; + case COVMX: return "Definition: Codes representing the maximum coverate or financial participation requirements."; + case _ACTCOVERAGETYPECODE: return "Definition: Set of codes indicating the type of insurance policy or program that pays for the cost of benefits provided to covered parties."; + case _ACTINSURANCEPOLICYCODE: return "Set of codes indicating the type of insurance policy or other source of funds to cover healthcare costs."; + case EHCPOL: return "Private insurance policy that provides coverage in addition to other policies (e.g. in addition to a Public Healthcare insurance policy)."; + case HSAPOL: return "Insurance policy that provides for an allotment of funds replenished on a periodic (e.g. annual) basis. The use of the funds under this policy is at the discretion of the covered party."; + case AUTOPOL: return "Insurance policy for injuries sustained in an automobile accident. Will also typically covered non-named parties to the policy, such as pedestrians and passengers."; + case COL: return "Definition: An automobile insurance policy under which the insurance company will cover the cost of damages to an automobile owned by the named insured that are caused by accident or intentionally by another party."; + case UNINSMOT: return "Definition: An automobile insurance policy under which the insurance company will indemnify a loss for which another motorist is liable if that motorist is unable to pay because he or she is uninsured. Coverage under the policy applies to bodily injury damages only. Injuries to the covered party caused by a hit-and-run driver are also covered."; + case PUBLICPOL: return "Insurance policy funded by a public health system such as a provincial or national health plan. Examples include BC MSP (British Columbia Medical Services Plan) OHIP (Ontario Health Insurance Plan), NHS (National Health Service)."; + case DENTPRG: return "Definition: A public or government health program that administers and funds coverage for dental care to assist program eligible who meet financial and health status criteria."; + case DISEASEPRG: return "Definition: A public or government health program that administers and funds coverage for health and social services to assist program eligible who meet financial and health status criteria related to a particular disease.\r\n\n \n Example: Reproductive health, sexually transmitted disease, and end renal disease programs."; + case CANPRG: return "Definition: A program that provides low-income, uninsured, and underserved women access to timely, high-quality screening and diagnostic services, to detect breast and cervical cancer at the earliest stages.\r\n\n \n Example: To improve women's access to screening for breast and cervical cancers, Congress passed the Breast and Cervical Cancer Mortality Prevention Act of 1990, which guided CDC in creating the National Breast and Cervical Cancer Early Detection Program (NBCCEDP), which provides access to critical breast and cervical cancer screening services for underserved women in the United States. An estimated 7 to 10% of U.S. women of screening age are eligible to receive NBCCEDP services. Federal guidelines establish an eligibility baseline to direct services to uninsured and underinsured women at or below 250% of federal poverty level; ages 18 to 64 for cervical screening; ages 40 to 64 for breast screening."; + case ENDRENAL: return "Definition: A public or government program that administers publicly funded coverage of kidney dialysis and kidney transplant services.\r\n\n Example: In the U.S., the Medicare End-stage Renal Disease program (ESRD), the National Kidney Foundation (NKF) American Kidney Fund (AKF) The Organ Transplant Fund."; + case HIVAIDS: return "Definition: Government administered and funded HIV-AIDS program for beneficiaries meeting financial and health status criteria. Administration, funding levels, eligibility criteria, covered benefits, provider types, and financial participation are typically set by a regulatory process. Payer responsibilities for administering the program may be delegated to contractors.\r\n\n \n Example: In the U.S., the Ryan White program, which is administered by the Health Resources and Services Administration."; + case MANDPOL: return "mandatory health program"; + case MENTPRG: return "Definition: Government administered and funded mental health program for beneficiaries meeting financial and mental health status criteria. Administration, funding levels, eligibility criteria, covered benefits, provider types, and financial participation are typically set by a regulatory process. Payer responsibilities for administering the program may be delegated to contractors.\r\n\n \n Example: In the U.S., states receive funding for substance use programs from the Substance Abuse Mental Health Administration (SAMHSA)."; + case SAFNET: return "Definition: Government administered and funded program to support provision of care to underserved populations through safety net clinics.\r\n\n \n Example: In the U.S., safety net providers such as federally qualified health centers (FQHC) receive funding under PHSA Section 330 grants administered by the Health Resources and Services Administration."; + case SUBPRG: return "Definition: Government administered and funded substance use program for beneficiaries meeting financial, substance use behavior, and health status criteria. Beneficiaries may be required to enroll as a result of legal proceedings. Administration, funding levels, eligibility criteria, covered benefits, provider types, and financial participation are typically set by a regulatory process. Payer responsibilities for administering the program may be delegated to contractors.\r\n\n \n Example: In the U.S., states receive funding for substance use programs from the Substance Abuse Mental Health Administration (SAMHSA)."; + case SUBSIDIZ: return "Definition: A government health program that provides coverage for health services to persons meeting eligibility criteria such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds."; + case SUBSIDMC: return "Definition: A government health program that provides coverage through managed care contracts for health services to persons meeting eligibility criteria such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds. \r\n\n \n Discussion: The structure and business processes for underwriting and administering a subsidized managed care program is further specified by the Underwriter and Payer Role.class and Role.code."; + case SUBSUPP: return "Definition: A government health program that provides coverage for health services to persons meeting eligibility criteria for a supplemental health policy or program such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds.\r\n\n \n Example: Supplemental health coverage program may cover the cost of a health program or policy financial participations, such as the copays and the premiums, and may provide coverage for services in addition to those covered under the supplemented health program or policy. In the U.S., Medicaid programs may pay the premium for a covered party who is also covered under the Medicare program or a private health policy.\r\n\n \n Discussion: The structure and business processes for underwriting and administering a subsidized supplemental retiree health program is further specified by the Underwriter and Payer Role.class and Role.code."; + case WCBPOL: return "Insurance policy for injuries sustained in the work place or in the course of employment."; + case _ACTINSURANCETYPECODE: return "Definition: Set of codes indicating the type of insurance policy. Insurance, in law and economics, is a form of risk management primarily used to hedge against the risk of potential financial loss. Insurance is defined as the equitable transfer of the risk of a potential loss, from one entity to another, in exchange for a premium and duty of care. A policy holder is an individual or an organization enters into a contract with an underwriter which stipulates that, in exchange for payment of a sum of money (a premium), one or more covered parties (insureds) is guaranteed compensation for losses resulting from certain perils under specified conditions. The underwriter analyzes the risk of loss, makes a decision as to whether the risk is insurable, and prices the premium accordingly. A policy provides benefits that indemnify or cover the cost of a loss incurred by a covered party, and may include coverage for services required to remediate a loss. An insurance policy contains pertinent facts about the policy holder, the insurance coverage, the covered parties, and the insurer. A policy may include exemptions and provisions specifying the extent to which the indemnification clause cannot be enforced for intentional tortious conduct of a covered party, e.g., whether the covered parties are jointly or severably insured.\r\n\n \n Discussion: In contrast to programs, an insurance policy has one or more policy holders, who own the policy. The policy holder may be the covered party, a relative of the covered party, a partnership, or a corporation, e.g., an employer. A subscriber of a self-insured health insurance policy is a policy holder. A subscriber of an employer sponsored health insurance policy is holds a certificate of coverage, but is not a policy holder; the policy holder is the employer. See CoveredRoleType."; + case _ACTHEALTHINSURANCETYPECODE: return "Definition: Set of codes indicating the type of health insurance policy that covers health services provided to covered parties. A health insurance policy is a written contract for insurance between the insurance company and the policyholder, and contains pertinent facts about the policy owner (the policy holder), the health insurance coverage, the insured subscribers and dependents, and the insurer. Health insurance is typically administered in accordance with a plan, which specifies (1) the type of health services and health conditions that will be covered under what circumstances (e.g., exclusion of a pre-existing condition, service must be deemed medically necessary; service must not be experimental; service must provided in accordance with a protocol; drug must be on a formulary; service must be prior authorized; or be a referral from a primary care provider); (2) the type and affiliation of providers (e.g., only allopathic physicians, only in network, only providers employed by an HMO); (3) financial participations required of covered parties (e.g., co-pays, coinsurance, deductibles, out-of-pocket); and (4) the manner in which services will be paid (e.g., under indemnity or fee-for-service health plans, the covered party typically pays out-of-pocket and then file a claim for reimbursement, while health plans that have contractual relationships with providers, i.e., network providers, typically do not allow the providers to bill the covered party for the cost of the service until after filing a claim with the payer and receiving reimbursement)."; + case DENTAL: return "Definition: A health insurance policy that that covers benefits for dental services."; + case DISEASE: return "Definition: A health insurance policy that covers benefits for healthcare services provided for named conditions under the policy, e.g., cancer, diabetes, or HIV-AIDS."; + case DRUGPOL: return "Definition: A health insurance policy that covers benefits for prescription drugs, pharmaceuticals, and supplies."; + case HIP: return "Definition: A health insurance policy that covers healthcare benefits by protecting covered parties from medical expenses arising from health conditions, sickness, or accidental injury as well as preventive care. Health insurance policies explicitly exclude coverage for losses insured under a disability policy, workers' compensation program, liability insurance (including automobile insurance); or for medical expenses, coverage for on-site medical clinics or for limited dental or vision benefits when these are provided under a separate policy.\r\n\n \n Discussion: Health insurance policies are offered by health insurance plans that typically reimburse providers for covered services on a fee-for-service basis, that is, a fee that is the allowable amount that a provider may charge. This is in contrast to managed care plans, which typically prepay providers a per-member/per-month amount or capitation as reimbursement for all covered services rendered. Health insurance plans include indemnity and healthcare services plans."; + case LTC: return "Definition: An insurance policy that covers benefits for long-term care services people need when they no longer can care for themselves. This may be due to an accident, disability, prolonged illness or the simple process of aging. Long-term care services assist with activities of daily living including:\r\n\n \n \n Help at home with day-to-day activities, such as cooking, cleaning, bathing and dressing\r\n\n \n \n Care in the community, such as in an adult day care facility\r\n\n \n \n Supervised care provided in an assisted living facility\r\n\n \n \n Skilled care provided in a nursing home"; + case MCPOL: return "Definition: Government mandated program providing coverage, disability income, and vocational rehabilitation for injuries sustained in the work place or in the course of employment. Employers may either self-fund the program, purchase commercial coverage, or pay a premium to a government entity that administers the program. Employees may be required to pay premiums toward the cost of coverage as well.\r\n\n Managed care policies specifically exclude coverage for losses insured under a disability policy, workers' compensation program, liability insurance (including automobile insurance); or for medical expenses, coverage for on-site medical clinics or for limited dental or vision benefits when these are provided under a separate policy.\r\n\n \n Discussion: Managed care policies are offered by managed care plans that contract with selected providers or health care organizations to provide comprehensive health care at a discount to covered parties and coordinate the financing and delivery of health care. Managed care uses medical protocols and procedures agreed on by the medical profession to be cost effective, also known as medical practice guidelines. Providers are typically reimbursed for covered services by a capitated amount on a per member per month basis that may reflect difference in the health status and level of services anticipated to be needed by the member."; + case POS: return "Definition: A policy for a health plan that has features of both an HMO and a FFS plan. Like an HMO, a POS plan encourages the use its HMO network to maintain discounted fees with participating providers, but recognizes that sometimes covered parties want to choose their own provider. The POS plan allows a covered party to use providers who are not part of the HMO network (non-participating providers). However, there is a greater cost associated with choosing these non-network providers. A covered party will usually pay deductibles and coinsurances that are substantially higher than the payments when he or she uses a plan provider. Use of non-participating providers often requires the covered party to pay the provider directly and then to file a claim for reimbursement, like in an FFS plan."; + case HMO: return "Definition: A policy for a health plan that provides coverage for health care only through contracted or employed physicians and hospitals located in particular geographic or service areas. HMOs emphasize prevention and early detection of illness. Eligibility to enroll in an HMO is determined by where a covered party lives or works."; + case PPO: return "Definition: A network-based, managed care plan that allows a covered party to choose any health care provider. However, if care is received from a 'preferred' (participating in-network) provider, there are generally higher benefit coverage and lower deductibles."; + case MENTPOL: return "Definition: A health insurance policy that covers benefits for mental health services and prescriptions."; + case SUBPOL: return "Definition: A health insurance policy that covers benefits for substance use services."; + case VISPOL: return "Definition: Set of codes for a policy that provides coverage for health care expenses arising from vision services.\r\n\n A health insurance policy that covers benefits for vision care services, prescriptions, and products."; + case DIS: return "Definition: An insurance policy that provides a regular payment to compensate for income lost due to the covered party's inability to work because of illness or injury."; + case EWB: return "Definition: An insurance policy under a benefit plan run by an employer or employee organization for the purpose of providing benefits other than pension-related to employees and their families. Typically provides health-related benefits, benefits for disability, disease or unemployment, or day care and scholarship benefits, among others. An employer sponsored health policy includes coverage of health care expenses arising from sickness or accidental injury, coverage for on-site medical clinics or for dental or vision benefits, which are typically provided under a separate policy. Coverage excludes health care expenses covered by accident or disability, workers' compensation, liability or automobile insurance."; + case FLEXP: return "Definition: An insurance policy that covers qualified benefits under a Flexible Benefit plan such as group medical insurance, long and short term disability income insurance, group term life insurance for employees only up to $50,000 face amount, specified disease coverage such as a cancer policy, dental and/or vision insurance, hospital indemnity insurance, accidental death and dismemberment insurance, a medical expense reimbursement plan and a dependent care reimbursement plan.\r\n\n \n Discussion: See UnderwriterRoleTypeCode flexible benefit plan which is defined as a benefit plan that allows employees to choose from several life, health, disability, dental, and other insurance plans according to their individual needs. Also known as cafeteria plans. Authorized under Section 125 of the Revenue Act of 1978."; + case LIFE: return "Definition: A policy under which the insurer agrees to pay a sum of money upon the occurrence of the covered partys death. In return, the policyholder agrees to pay a stipulated amount called a premium at regular intervals. Life insurance indemnifies the beneficiary for the loss of the insurable interest that a beneficiary has in the life of a covered party. For persons related by blood, a substantial interest established through love and affection, and for all other persons, a lawful and substantial economic interest in having the life of the insured continue. An insurable interest is required when purchasing life insurance on another person. Specific exclusions are often written into the contract to limit the liability of the insurer; for example claims resulting from suicide or relating to war, riot and civil commotion.\r\n\n \n Discussion:A life insurance policy may be used by the covered party as a source of health care coverage in the case of a viatical settlement, which is the sale of a life insurance policy by the policy owner, before the policy matures. Such a sale, at a price discounted from the face amount of the policy but usually in excess of the premiums paid or current cash surrender value, provides the seller an immediate cash settlement. Generally, viatical settlements involve insured individuals with a life expectancy of less than two years. In countries without state-subsidized healthcare and high healthcare costs (e.g. United States), this is a practical way to pay extremely high health insurance premiums that severely ill people face. Some people are also familiar with life settlements, which are similar transactions but involve insureds with longer life expectancies (two to fifteen years)."; + case ANNU: return "Definition: A policy that, after an initial premium or premiums, pays out a sum at pre-determined intervals.\r\n\n For example, a policy holder may pay $10,000, and in return receive $150 each month until he dies; or $1,000 for each of 14 years or death benefits if he dies before the full term of the annuity has elapsed."; + case TLIFE: return "Definition: Life insurance under which the benefit is payable only if the insured dies during a specified period. If an insured dies during that period, the beneficiary receives the death payments. If the insured survives, the policy ends and the beneficiary receives nothing."; + case ULIFE: return "Definition: Life insurance under which the benefit is payable upon the insuredaTMs death or diagnosis of a terminal illness. If an insured dies during that period, the beneficiary receives the death payments. If the insured survives, the policy ends and the beneficiary receives nothing"; + case PNC: return "Definition: A type of insurance that covers damage to or loss of the policyholderaTMs property by providing payments for damages to property damage or the injury or death of living subjects. The terms 'casualty' and 'liability' insurance are often used interchangeably. Both cover the policyholder's legal liability for damages caused to other persons and/or their property."; + case REI: return "Definition: An agreement between two or more insurance companies by which the risk of loss is proportioned. Thus the risk of loss is spread and a disproportionately large loss under a single policy does not fall on one insurance company. Acceptance by an insurer, called a reinsurer, of all or part of the risk of loss of another insurance company.\r\n\n \n Discussion: Reinsurance is a means by which an insurance company can protect itself against the risk of losses with other insurance companies. Individuals and corporations obtain insurance policies to provide protection for various risks (hurricanes, earthquakes, lawsuits, collisions, sickness and death, etc.). Reinsurers, in turn, provide insurance to insurance companies.\r\n\n For example, an HMO may purchase a reinsurance policy to protect itself from losing too much money from one insured's particularly expensive health care costs. An insurance company issuing an automobile liability policy, with a limit of $100,000 per accident may reinsure its liability in excess of $10,000. A fire insurance company which issues a large policy generally reinsures a portion of the risk with one or several other companies. Also called risk control insurance or stop-loss insurance."; + case SURPL: return "Definition: \n \r\n\n \n \n A risk or part of a risk for which there is no normal insurance market available.\r\n\n \n \n Insurance written by unauthorized insurance companies. Surplus lines insurance is insurance placed with unauthorized insurance companies through licensed surplus lines agents or brokers."; + case UMBRL: return "Definition: A form of insurance protection that provides additional liability coverage after the limits of your underlying policy are reached. An umbrella liability policy also protects you (the insured) in many situations not covered by the usual liability policies."; + case _ACTPROGRAMTYPECODE: return "Definition: A set of codes used to indicate coverage under a program. A program is an organized structure for administering and funding coverage of a benefit package for covered parties meeting eligibility criteria, typically related to employment, health, financial, and demographic status. Programs are typically established or permitted by legislation with provisions for ongoing government oversight. Regulations may mandate the structure of the program, the manner in which it is funded and administered, covered benefits, provider types, eligibility criteria and financial participation. A government agency may be charged with implementing the program in accordance to the regulation. Risk of loss under a program in most cases would not meet what an underwriter would consider an insurable risk, i.e., the risk is not random in nature, not financially measurable, and likely requires subsidization with government funds.\r\n\n \n Discussion: Programs do not have policy holders or subscribers. Program eligibles are enrolled based on health status, statutory eligibility, financial status, or age. Program eligibles who are covered parties under the program may be referred to as members, beneficiaries, eligibles, or recipients. Programs risk are underwritten by not for profit organizations such as governmental entities, and the beneficiaries typically do not pay for any or some portion of the cost of coverage. See CoveredPartyRoleType."; + case CHAR: return "Definition: A program that covers the cost of services provided directly to a beneficiary who typically has no other source of coverage without charge."; + case CRIME: return "Definition: A program that covers the cost of services provided to crime victims for injuries or losses related to the occurrence of a crime."; + case EAP: return "Definition: An employee assistance program is run by an employer or employee organization for the purpose of providing benefits and covering all or part of the cost for employees to receive counseling, referrals, and advice in dealing with stressful issues in their lives. These may include substance abuse, bereavement, marital problems, weight issues, or general wellness issues. The services are usually provided by a third-party, rather than the company itself, and the company receives only summary statistical data from the service provider. Employee's names and services received are kept confidential."; + case GOVEMP: return "Definition: A set of codes used to indicate a government program that is an organized structure for administering and funding coverage of a benefit package for covered parties meeting eligibility criteria, typically related to employment, health and financial status. Government programs are established or permitted by legislation with provisions for ongoing government oversight. Regulation mandates the structure of the program, the manner in which it is funded and administered, covered benefits, provider types, eligibility criteria and financial participation. A government agency is charged with implementing the program in accordance to the regulation\r\n\n \n Example: Federal employee health benefit program in the U.S."; + case HIRISK: return "Definition: A government program that provides health coverage to individuals who are considered medically uninsurable or high risk, and who have been denied health insurance due to a serious health condition. In certain cases, it also applies to those who have been quoted very high premiums a' again, due to a serious health condition. The pool charges premiums for coverage. Because the pool covers high-risk people, it incurs a higher level of claims than premiums can cover. The insurance industry pays into the pool to make up the difference and help it remain viable."; + case IND: return "Definition: Services provided directly and through contracted and operated indigenous peoples health programs.\r\n\n \n Example: Indian Health Service in the U.S."; + case MILITARY: return "Definition: A government program that provides coverage for health services to military personnel, retirees, and dependents. A covered party who is a subscriber can choose from among Fee-for-Service (FFS) plans, and their Preferred Provider Organizations (PPO), or Plans offering a Point of Service (POS) Product, or Health Maintenance Organizations.\r\n\n \n Example: In the U.S., TRICARE, CHAMPUS."; + case RETIRE: return "Definition: A government mandated program with specific eligibility requirements based on premium contributions made during employment, length of employment, age, and employment status, e.g., being retired, disabled, or a dependent of a covered party under this program. Benefits typically include ambulatory, inpatient, and long-term care, such as hospice care, home health care and respite care."; + case SOCIAL: return "Definition: A social service program funded by a public or governmental entity.\r\n\n \n Example: Programs providing habilitation, food, lodging, medicine, transportation, equipment, devices, products, education, training, counseling, alteration of living or work space, and other resources to persons meeting eligibility criteria."; + case VET: return "Definition: Services provided directly and through contracted and operated veteran health programs."; + case _ACTDETECTEDISSUEMANAGEMENTCODE: return "Codes dealing with the management of Detected Issue observations"; + case _ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE: return "Codes dealing with the management of Detected Issue observations for the administrative and patient administrative acts domains."; + case _AUTHORIZATIONISSUEMANAGEMENTCODE: return "Authorization Issue Management Code"; + case EMAUTH: return "Used to temporarily override normal authorization rules to gain access to data in a case of emergency. Use of this override code will typically be monitored, and a procedure to verify its proper use may be triggered when used."; + case _21: return "Description: Indicates that the permissions have been externally verified and the request should be processed."; + case _1: return "Confirmed drug therapy appropriate"; + case _19: return "Consulted other supplier/pharmacy, therapy confirmed"; + case _2: return "Assessed patient, therapy is appropriate"; + case _22: return "Description: The patient has the appropriate indication or diagnosis for the action to be taken."; + case _23: return "Description: It has been confirmed that the appropriate pre-requisite therapy has been tried."; + case _3: return "Patient gave adequate explanation"; + case _4: return "Consulted other supply source, therapy still appropriate"; + case _5: return "Consulted prescriber, therapy confirmed"; + case _6: return "Consulted prescriber and recommended change, prescriber declined"; + case _7: return "Concurrent therapy triggering alert is no longer on-going or planned"; + case _14: return "Confirmed supply action appropriate"; + case _15: return "Patient's existing supply was lost/wasted"; + case _16: return "Supply date is due to patient vacation"; + case _17: return "Supply date is intended to carry patient over weekend"; + case _18: return "Supply is intended for use during a leave of absence from an institution."; + case _20: return "Description: Supply is different than expected as an additional quantity has been supplied in a separate dispense."; + case _8: return "Order is performed as issued, but other action taken to mitigate potential adverse effects"; + case _10: return "Provided education or training to the patient on appropriate therapy use"; + case _11: return "Instituted an additional therapy to mitigate potential negative effects"; + case _12: return "Suspended existing therapy that triggered interaction for the duration of this therapy"; + case _13: return "Aborted existing therapy that triggered interaction."; + case _9: return "Arranged to monitor patient for adverse effects"; + case _ACTEXPOSURECODE: return "Concepts that identify the type or nature of exposure interaction. Examples include 'household', 'care giver', 'intimate partner', 'common space', 'common substance', etc. to further describe the nature of interaction."; + case CHLDCARE: return "Description: Exposure participants' interaction occurred in a child care setting"; + case CONVEYNC: return "Description: An interaction where the exposure participants traveled in/on the same vehicle (not necessarily concurrently, e.g. both are passengers of the same plane, but on different flights of that plane)."; + case HLTHCARE: return "Description: Exposure participants' interaction occurred during the course of health care delivery or in a health care delivery setting, but did not involve the direct provision of care (e.g. a janitor cleaning a patient's hospital room)."; + case HOMECARE: return "Description: Exposure interaction occurred in context of one providing care for the other, i.e. a babysitter providing care for a child, a home-care aide providing assistance to a paraplegic."; + case HOSPPTNT: return "Description: Exposure participants' interaction occurred when both were patients being treated in the same (acute) health care delivery facility."; + case HOSPVSTR: return "Description: Exposure participants' interaction occurred when one visited the other who was a patient being treated in a health care delivery facility."; + case HOUSEHLD: return "Description: Exposure interaction occurred in context of domestic interaction, i.e. both participants reside in the same household."; + case INMATE: return "Description: Exposure participants' interaction occurred in the course of one or both participants being incarcerated at a correctional facility"; + case INTIMATE: return "Description: Exposure interaction was intimate, i.e. participants are intimate companions (e.g. spouses, domestic partners)."; + case LTRMCARE: return "Description: Exposure participants' interaction occurred in the course of one or both participants being resident at a long term care facility (second participant may be a visitor, worker, resident or a physical place or object within the facility)."; + case PLACE: return "Description: An interaction where the exposure participants were both present in the same location/place/space."; + case PTNTCARE: return "Description: Exposure participants' interaction occurred during the course of health care delivery by a provider (e.g. a physician treating a patient in her office)."; + case SCHOOL2: return "Description: Exposure participants' interaction occurred in an academic setting (e.g., participants are fellow students, or student and teacher)."; + case SOCIAL2: return "Description: An interaction where the exposure participants are social associates or members of the same extended family"; + case SUBSTNCE: return "Description: An interaction where the exposure participants shared or co-used a common substance (e.g. drugs, needles, or common food item)."; + case TRAVINT: return "Description: An interaction where the exposure participants traveled together in/on the same vehicle/trip (e.g. concurrent co-passengers)."; + case WORK2: return "Description: Exposure interaction occurred in a work setting, i.e. participants are co-workers."; + case _ACTFINANCIALTRANSACTIONCODE: return "ActFinancialTransactionCode"; + case CHRG: return "A type of transaction that represents a charge for a service or product. Expressed in monetary terms."; + case REV: return "A type of transaction that represents a reversal of a previous charge for a service or product. Expressed in monetary terms. It has the opposite effect of a standard charge."; + case _ACTINCIDENTCODE: return "Set of codes indicating the type of incident or accident."; + case MVA: return "Incident or accident as the result of a motor vehicle accident"; + case SCHOOL: return "Incident or accident is the result of a school place accident."; + case SPT: return "Incident or accident is the result of a sporting accident."; + case WPA: return "Incident or accident is the result of a work place accident"; + case _ACTINFORMATIONACCESSCODE: return "Description: The type of health information to which the subject of the information or the subject's delegate consents or dissents."; + case ACADR: return "Description: Provide consent to collect, use, disclose, or access adverse drug reaction information for a patient."; + case ACALL: return "Description: Provide consent to collect, use, disclose, or access all information for a patient."; + case ACALLG: return "Description: Provide consent to collect, use, disclose, or access allergy information for a patient."; + case ACCONS: return "Description: Provide consent to collect, use, disclose, or access informational consent information for a patient."; + case ACDEMO: return "Description: Provide consent to collect, use, disclose, or access demographics information for a patient."; + case ACDI: return "Description: Provide consent to collect, use, disclose, or access diagnostic imaging information for a patient."; + case ACIMMUN: return "Description: Provide consent to collect, use, disclose, or access immunization information for a patient."; + case ACLAB: return "Description: Provide consent to collect, use, disclose, or access lab test result information for a patient."; + case ACMED: return "Description: Provide consent to collect, use, disclose, or access medical condition information for a patient."; + case ACMEDC: return "Definition: Provide consent to view or access medical condition information for a patient."; + case ACMEN: return "Description:Provide consent to collect, use, disclose, or access mental health information for a patient."; + case ACOBS: return "Description: Provide consent to collect, use, disclose, or access common observation information for a patient."; + case ACPOLPRG: return "Description: Provide consent to collect, use, disclose, or access coverage policy or program for a patient."; + case ACPROV: return "Description: Provide consent to collect, use, disclose, or access provider information for a patient."; + case ACPSERV: return "Description: Provide consent to collect, use, disclose, or access professional service information for a patient."; + case ACSUBSTAB: return "Description:Provide consent to collect, use, disclose, or access substance abuse information for a patient."; + case _ACTINFORMATIONACCESSCONTEXTCODE: return "Concepts conveying the context in which consent to transfer specified patient health information for collection, access, use or disclosure applies."; + case INFAUT: return "Description: Information transfer in accordance with subjectaTMs consent directive."; + case INFCON: return "Consent to collect, access, use, or disclose specified patient health information only after explicit consent."; + case INFCRT: return "Description: Information transfer in accordance with judicial system protocol."; + case INFDNG: return "Consent to collect, access, use, or disclose specified patient health information only if necessary to avert potential danger to other persons."; + case INFEMER: return "Description: Information transfer in accordance with emergency information transfer protocol."; + case INFPWR: return "Consent to collect, access, use, or disclose specified patient health information only if necessary to avert potential public welfare risk."; + case INFREG: return "Description: Information transfer in accordance with regulatory protocol, e.g., for public health, welfare, and safety."; + case _ACTINFORMATIONCATEGORYCODE: return "Definition:Indicates the set of information types which may be manipulated or referenced, such as for recommending access restrictions."; + case ALLCAT: return "Description: All patient information."; + case ALLGCAT: return "Definition:All information pertaining to a patient's allergy and intolerance records."; + case ARCAT: return "Description: All information pertaining to a patient's adverse drug reactions."; + case COBSCAT: return "Definition:All information pertaining to a patient's common observation records (height, weight, blood pressure, temperature, etc.)."; + case DEMOCAT: return "Definition:All information pertaining to a patient's demographics (such as name, date of birth, gender, address, etc)."; + case DICAT: return "Definition:All information pertaining to a patient's diagnostic image records (orders & results)."; + case IMMUCAT: return "Definition:All information pertaining to a patient's vaccination records."; + case LABCAT: return "Description: All information pertaining to a patient's lab test records (orders & results)"; + case MEDCCAT: return "Definition:All information pertaining to a patient's medical condition records."; + case MENCAT: return "Description: All information pertaining to a patient's mental health records."; + case PSVCCAT: return "Definition:All information pertaining to a patient's professional service records (such as smoking cessation, counseling, medication review, mental health)."; + case RXCAT: return "Definition:All information pertaining to a patient's medication records (orders, dispenses and other active medications)."; + case _ACTINVOICEELEMENTCODE: return "Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results."; + case _ACTINVOICEADJUDICATIONPAYMENTCODE: return "Codes representing a grouping of invoice elements (totals, sub-totals), reported through a Payment Advice or a Statement of Financial Activity (SOFA). The code can represent summaries by day, location, payee and other cost elements such as bonus, retroactive adjustment and transaction fees."; + case _ACTINVOICEADJUDICATIONPAYMENTGROUPCODE: return "Codes representing adjustments to a Payment Advice such as retroactive, clawback, garnishee, etc."; + case ALEC: return "Payment initiated by the payor as the result of adjudicating a submitted invoice that arrived to the payor from an electronic source that did not provide a conformant set of HL7 messages (e.g. web claim submission)."; + case BONUS: return "Bonus payments based on performance, volume, etc. as agreed to by the payor."; + case CFWD: return "An amount still owing to the payor but the payment is 0$ and this cannot be settled until a future payment is made."; + case EDU: return "Fees deducted on behalf of a payee for tuition and continuing education."; + case EPYMT: return "Fees deducted on behalf of a payee for charges based on a shorter payment frequency (i.e. next day versus biweekly payments."; + case GARN: return "Fees deducted on behalf of a payee for charges based on a per-transaction or time-period (e.g. monthly) fee."; + case INVOICE: return "Payment is based on a payment intent for a previously submitted Invoice, based on formal adjudication results.."; + case PINV: return "Payment initiated by the payor as the result of adjudicating a paper (original, may have been faxed) invoice."; + case PPRD: return "An amount that was owed to the payor as indicated, by a carry forward adjusment, in a previous payment advice"; + case PROA: return "Professional association fee that is collected by the payor from the practitioner/provider on behalf of the association"; + case RECOV: return "Retroactive adjustment such as fee rate adjustment due to contract negotiations."; + case RETRO: return "Bonus payments based on performance, volume, etc. as agreed to by the payor."; + case TRAN: return "Fees deducted on behalf of a payee for charges based on a per-transaction or time-period (e.g. monthly) fee."; + case _ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE: return "Codes representing a grouping of invoice elements (totals, sub-totals), reported through a Payment Advice or a Statement of Financial Activity (SOFA). The code can represent summaries by day, location, payee, etc."; + case INVTYPE: return "Transaction counts and value totals by invoice type (e.g. RXDINV - Pharmacy Dispense)"; + case PAYEE: return "Transaction counts and value totals by each instance of an invoice payee."; + case PAYOR: return "Transaction counts and value totals by each instance of an invoice payor."; + case SENDAPP: return "Transaction counts and value totals by each instance of a messaging application on a single processor. It is a registered identifier known to the receivers."; + case _ACTINVOICEDETAILCODE: return "Codes representing a service or product that is being invoiced (billed). The code can represent such concepts as 'office visit', 'drug X', 'wheelchair' and other billable items such as taxes, service charges and discounts."; + case _ACTINVOICEDETAILCLINICALPRODUCTCODE: return "An identifying data string for healthcare products."; + case UNSPSC: return "Description:United Nations Standard Products and Services Classification, managed by Uniform Code Council (UCC): www.unspsc.org"; + case _ACTINVOICEDETAILDRUGPRODUCTCODE: return "An identifying data string for A substance used as a medication or in the preparation of medication."; + case GTIN: return "Description:Global Trade Item Number is an identifier for trade items developed by GS1 (comprising the former EAN International and Uniform Code Council)."; + case UPC: return "Description:Universal Product Code is one of a wide variety of bar code languages widely used in the United States and Canada for items in stores."; + case _ACTINVOICEDETAILGENERICCODE: return "The detail item codes to identify charges or changes to the total billing of a claim due to insurance rules and payments."; + case _ACTINVOICEDETAILGENERICADJUDICATORCODE: return "The billable item codes to identify adjudicator specified components to the total billing of a claim."; + case COIN: return "That portion of the eligible charges which a covered party must pay for each service and/or product. It is a percentage of the eligible amount for the service/product that is typically charged after the covered party has met the policy deductible. This amount represents the covered party's coinsurance that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results."; + case COPAYMENT: return "That portion of the eligible charges which a covered party must pay for each service and/or product. It is a defined amount per service/product of the eligible amount for the service/product. This amount represents the covered party's copayment that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results."; + case DEDUCTIBLE: return "That portion of the eligible charges which a covered party must pay in a particular period (e.g. annual) before the benefits are payable by the adjudicator. This amount represents the covered party's deductible that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results."; + case PAY: return "The guarantor, who may be the patient, pays the entire charge for a service. Reasons for such action may include: there is no insurance coverage for the service (e.g. cosmetic surgery); the patient wishes to self-pay for the service; or the insurer denies payment for the service due to contractual provisions such as the need for prior authorization."; + case SPEND: return "That total amount of the eligible charges which a covered party must periodically pay for services and/or products prior to the Medicaid program providing any coverage. This amount represents the covered party's spend down that is applied to a particular adjudication result. It is expressed as a negative dollar amount in adjudication results"; + case _ACTINVOICEDETAILGENERICMODIFIERCODE: return "The billable item codes to identify modifications to a billable item charge. As for example after hours increase in the office visit fee."; + case AFTHRS: return "Premium paid on service fees in compensation for practicing outside of normal working hours."; + case ISOL: return "Premium paid on service fees in compensation for practicing in a remote location."; + case OOO: return "Premium paid on service fees in compensation for practicing at a location other than normal working location."; + case _ACTINVOICEDETAILGENERICPROVIDERCODE: return "The billable item codes to identify provider supplied charges or changes to the total billing of a claim."; + case CANCAPT: return "A charge to compensate the provider when a patient cancels an appointment with insufficient time for the provider to make another appointment with another patient."; + case DSC: return "A reduction in the amount charged as a percentage of the amount. For example a 5% discount for volume purchase."; + case ESA: return "A premium on a service fee is requested because, due to extenuating circumstances, the service took an extraordinary amount of time or supplies."; + case FFSTOP: return "Under agreement between the parties (payor and provider), a guaranteed level of income is established for the provider over a specific, pre-determined period of time. The normal course of business for the provider is submission of fee-for-service claims. Should the fee-for-service income during the specified period of time be less than the agreed to amount, a top-up amount is paid to the provider equal to the difference between the fee-for-service total and the guaranteed income amount for that period of time. The details of the agreement may specify (or not) a requirement for repayment to the payor in the event that the fee-for-service income exceeds the guaranteed amount."; + case FNLFEE: return "Anticipated or actual final fee associated with treating a patient."; + case FRSTFEE: return "Anticipated or actual initial fee associated with treating a patient."; + case MARKUP: return "An increase in the amount charged as a percentage of the amount. For example, 12% markup on product cost."; + case MISSAPT: return "A charge to compensate the provider when a patient does not show for an appointment."; + case PERFEE: return "Anticipated or actual periodic fee associated with treating a patient. For example, expected billing cycle such as monthly, quarterly. The actual period (e.g. monthly, quarterly) is specified in the unit quantity of the Invoice Element."; + case PERMBNS: return "The amount for a performance bonus that is being requested from a payor for the performance of certain services (childhood immunizations, influenza immunizations, mammograms, pap smears) on a sliding scale. That is, for 90% of childhood immunizations to a maximum of $2200/yr. An invoice is created at the end of the service period (one year) and a code is submitted indicating the percentage achieved and the dollar amount claimed."; + case RESTOCK: return "A charge is requested because the patient failed to pick up the item and it took an amount of time to return it to stock for future use."; + case TRAVEL: return "A charge to cover the cost of travel time and/or cost in conjuction with providing a service or product. It may be charged per kilometer or per hour based on the effective agreement."; + case URGENT: return "Premium paid on service fees in compensation for providing an expedited response to an urgent situation."; + case _ACTINVOICEDETAILTAXCODE: return "The billable item codes to identify modifications to a billable item charge by a tax factor applied to the amount. As for example 7% provincial sales tax."; + case FST: return "Federal tax on transactions such as the Goods and Services Tax (GST)"; + case HST: return "Joint Federal/Provincial Sales Tax"; + case PST: return "Tax levied by the provincial or state jurisdiction such as Provincial Sales Tax"; + case _ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE: return "An identifying data string for medical facility accommodations."; + case _ACTENCOUNTERACCOMMODATIONCODE: return "Accommodation type. In Intent mood, represents the accommodation type requested. In Event mood, represents accommodation assigned/used. In Definition mood, represents the available accommodation type."; + case _HL7ACCOMMODATIONCODE: return "Description:Accommodation type. In Intent mood, represents the accommodation type requested. In Event mood, represents accommodation assigned/used. In Definition mood, represents the available accommodation type."; + case I: return "Accommodations used in the care of diseases that are transmitted through casual contact or respiratory transmission."; + case P: return "Accommodations in which there is only 1 bed."; + case S: return "Uniquely designed and elegantly decorated accommodations with many amenities available for an additional charge."; + case SP: return "Accommodations in which there are 2 beds."; + case W: return "Accommodations in which there are 3 or more beds."; + case _ACTINVOICEGROUPCODE: return "Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results.\r\n\n Invoice elements of this type signify a grouping of one or more children (detail) invoice elements. They do not have intrinsic costing associated with them, but merely reflect the sum of all costing for it's immediate children invoice elements."; + case _ACTINVOICEINTERGROUPCODE: return "Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results.\r\n\n Invoice elements of this type signify a grouping of one or more children (detail) invoice elements. They do not have intrinsic costing associated with them, but merely reflect the sum of all costing for it's immediate children invoice elements.\r\n\n The domain is only specified for an intermediate invoice element group (non-root or non-top level) for an Invoice."; + case CPNDDRGING: return "A grouping of invoice element groups and details including the ones specifying the compound ingredients being invoiced. It may also contain generic detail items such as markup."; + case CPNDINDING: return "A grouping of invoice element details including the one specifying an ingredient drug being invoiced. It may also contain generic detail items such as tax or markup."; + case CPNDSUPING: return "A grouping of invoice element groups and details including the ones specifying the compound supplies being invoiced. It may also contain generic detail items such as markup."; + case DRUGING: return "A grouping of invoice element details including the one specifying the drug being invoiced. It may also contain generic detail items such as markup."; + case FRAMEING: return "A grouping of invoice element details including the ones specifying the frame fee and the frame dispensing cost that are being invoiced."; + case LENSING: return "A grouping of invoice element details including the ones specifying the lens fee and the lens dispensing cost that are being invoiced."; + case PRDING: return "A grouping of invoice element details including the one specifying the product (good or supply) being invoiced. It may also contain generic detail items such as tax or discount."; + case _ACTINVOICEROOTGROUPCODE: return "Type of invoice element that is used to assist in describing an Invoice that is either submitted for adjudication or for which is returned on adjudication results.\r\n\n Invoice elements of this type signify a grouping of one or more children (detail) invoice elements. They do not have intrinsic costing associated with them, but merely reflect the sum of all costing for it's immediate children invoice elements.\r\n\n Codes from this domain reflect the type of Invoice such as Pharmacy Dispense, Clinical Service and Clinical Product. The domain is only specified for the root (top level) invoice element group for an Invoice."; + case CPINV: return "Clinical product invoice where the Invoice Grouping contains one or more billable item and is supported by clinical product(s).\r\n\n For example, a crutch or a wheelchair."; + case CSINV: return "Clinical Services Invoice which can be used to describe a single service, multiple services or repeated services.\r\n\n [1] Single Clinical services invoice where the Invoice Grouping contains one billable item and is supported by one clinical service.\r\n\n For example, a single service for an office visit or simple clinical procedure (e.g. knee mobilization).\r\n\n [2] Multiple Clinical services invoice where the Invoice Grouping contains more than one billable item, supported by one or more clinical services. The services can be distinct and over multiple dates, but for the same patient. This type of invoice includes a series of treatments which must be adjudicated together.\r\n\n For example, an adjustment and ultrasound for a chiropractic session where fees are associated for each of the services and adjudicated (invoiced) together.\r\n\n [3] Repeated Clinical services invoice where the Invoice Grouping contains one or more billable item, supported by the same clinical service repeated over a period of time.\r\n\n For example, the same Chiropractic adjustment (service or treatment) delivered on 3 separate occasions over a period of time at the discretion of the provider (e.g. month)."; + case CSPINV: return "A clinical Invoice Grouping consisting of one or more services and one or more product. Billing for these service(s) and product(s) are supported by multiple clinical billable events (acts).\r\n\n All items in the Invoice Grouping must be adjudicated together to be acceptable to the Adjudicator.\r\n\n For example , a brace (product) invoiced together with the fitting (service)."; + case FININV: return "Invoice Grouping without clinical justification. These will not require identification of participants and associations from a clinical context such as patient and provider.\r\n\n Examples are interest charges and mileage."; + case OHSINV: return "A clinical Invoice Grouping consisting of one or more oral health services. Billing for these service(s) are supported by multiple clinical billable events (acts).\r\n\n All items in the Invoice Grouping must be adjudicated together to be acceptable to the Adjudicator."; + case PAINV: return "HealthCare facility preferred accommodation invoice."; + case RXCINV: return "Pharmacy dispense invoice for a compound."; + case RXDINV: return "Pharmacy dispense invoice not involving a compound"; + case SBFINV: return "Clinical services invoice where the Invoice Group contains one billable item for multiple clinical services in one or more sessions."; + case VRXINV: return "Vision dispense invoice for up to 2 lens (left and right), frame and optional discount. Eye exams are invoiced as a clinical service invoice."; + case _ACTINVOICEELEMENTSUMMARYCODE: return "Identifies the different types of summary information that can be reported by queries dealing with Statement of Financial Activity (SOFA). The summary information is generally used to help resolve balance discrepancies between providers and payors."; + case _INVOICEELEMENTADJUDICATED: return "Total counts and total net amounts adjudicated for all Invoice Groupings that were adjudicated within a time period based on the adjudication date of the Invoice Grouping."; + case ADNFPPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted electronically."; + case ADNFPPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted electronically."; + case ADNFPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually."; + case ADNFPPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually."; + case ADNFSPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently nullified in the specified period and submitted electronically."; + case ADNFSPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently nullified in the specified period and submitted electronically."; + case ADNFSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually."; + case ADNFSPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date), subsequently cancelled in the specified period and submitted manually."; + case ADNPPPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case ADNPPPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case ADNPPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case ADNPPPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case ADNPSPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case ADNPSPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case ADNPSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case ADNPSPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case ADPPPPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case ADPPPPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case ADPPPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually."; + case ADPPPPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable prior to the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually."; + case ADPPSPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case ADPPSPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case ADPPSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually."; + case ADPPSPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as payable during the specified time period (based on adjudication date) that match a specified payee (e.g. pay provider) and submitted manually."; + case ADRFPPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted electronically."; + case ADRFPPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted electronically."; + case ADRFPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted manually."; + case ADRFPPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as refused prior to the specified time period (based on adjudication date) and submitted manually."; + case ADRFSPELAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted electronically."; + case ADRFSPELCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted electronically."; + case ADRFSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted manually."; + case ADRFSPMNCT: return "Identifies the total number of all Invoice Groupings that were adjudicated as refused during the specified time period (based on adjudication date) and submitted manually."; + case _INVOICEELEMENTPAID: return "Total counts and total net amounts paid for all Invoice Groupings that were paid within a time period based on the payment date."; + case PDNFPPELAT: return "Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted electronically."; + case PDNFPPELCT: return "Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted electronically."; + case PDNFPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually."; + case PDNFPPMNCT: return "Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually."; + case PDNFSPELAT: return "Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently nullified in the specified period and submitted electronically."; + case PDNFSPELCT: return "Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently cancelled in the specified period and submitted electronically."; + case PDNFSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually."; + case PDNFSPMNCT: return "Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date), subsequently nullified in the specified period and submitted manually."; + case PDNPPPELAT: return "Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case PDNPPPELCT: return "Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case PDNPPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case PDNPPPMNCT: return "Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case PDNPSPELAT: return "Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case PDNPSPELCT: return "Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted electronically."; + case PDNPSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case PDNPSPMNCT: return "Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that do not match a specified payee (e.g. pay patient) and submitted manually."; + case PDPPPPELAT: return "Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case PDPPPPELCT: return "Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case PDPPPPMNAT: return "Identifies the total net amount of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually."; + case PDPPPPMNCT: return "Identifies the total number of all Invoice Groupings that were paid prior to the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually."; + case PDPPSPELAT: return "Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case PDPPSPELCT: return "Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted electronically."; + case PDPPSPMNAT: return "Identifies the total net amount of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually."; + case PDPPSPMNCT: return "Identifies the total number of all Invoice Groupings that were paid during the specified time period (based on payment date) that match a specified payee (e.g. pay provider) and submitted manually."; + case _INVOICEELEMENTSUBMITTED: return "Total counts and total net amounts billed for all Invoice Groupings that were submitted within a time period. Adjudicated invoice elements are included."; + case SBBLELAT: return "Identifies the total net amount billed for all submitted Invoice Groupings within a time period and submitted electronically. Adjudicated invoice elements are included."; + case SBBLELCT: return "Identifies the total number of submitted Invoice Groupings within a time period and submitted electronically. Adjudicated invoice elements are included."; + case SBNFELAT: return "Identifies the total net amount billed for all submitted Invoice Groupings that were nullified within a time period and submitted electronically. Adjudicated invoice elements are included."; + case SBNFELCT: return "Identifies the total number of submitted Invoice Groupings that were nullified within a time period and submitted electronically. Adjudicated invoice elements are included."; + case SBPDELAT: return "Identifies the total net amount billed for all submitted Invoice Groupings that are pended or held by the payor, within a time period and submitted electronically. Adjudicated invoice elements are not included."; + case SBPDELCT: return "Identifies the total number of submitted Invoice Groupings that are pended or held by the payor, within a time period and submitted electronically. Adjudicated invoice elements are not included."; + case _ACTINVOICEOVERRIDECODE: return "Includes coded responses that will occur as a result of the adjudication of an electronic invoice at a summary level and provides guidance on interpretation of the referenced adjudication results."; + case COVGE: return "Insurance coverage problems have been encountered. Additional explanation information to be supplied."; + case EFORM: return "Electronic form with supporting or additional information to follow."; + case FAX: return "Fax with supporting or additional information to follow."; + case GFTH: return "The medical service was provided to a patient in good faith that they had medical coverage, although no evidence of coverage was available before service was rendered."; + case LATE: return "Knowingly over the payor's published time limit for this invoice possibly due to a previous payor's delays in processing. Additional reason information will be supplied."; + case MANUAL: return "Manual review of the invoice is requested. Additional information to be supplied. This may be used in the case of an appeal."; + case OOJ: return "The medical service and/or product was provided to a patient that has coverage in another jurisdiction."; + case ORTHO: return "The service provided is required for orthodontic purposes. If the covered party has orthodontic coverage, then the service may be paid."; + case PAPER: return "Paper documentation (or other physical format) with supporting or additional information to follow."; + case PIE: return "Public Insurance has been exhausted. Invoice has not been sent to Public Insuror and therefore no Explanation Of Benefits (EOB) is provided with this Invoice submission."; + case PYRDELAY: return "Allows provider to explain lateness of invoice to a subsequent payor."; + case REFNR: return "Rules of practice do not require a physician's referral for the provider to perform a billable service."; + case REPSERV: return "The same service was delivered within a time period that would usually indicate a duplicate billing. However, the repeated service is a medical necessity and therefore not a duplicate."; + case UNRELAT: return "The service provided is not related to another billed service. For example, 2 unrelated services provided on the same day to the same patient which may normally result in a refused payment for one of the items."; + case VERBAUTH: return "The provider has received a verbal permission from an authoritative source to perform the service or supply the item being invoiced."; + case _ACTLISTCODE: return "Provides codes associated with ActClass value of LIST (working list)"; + case _ACTOBSERVATIONLIST: return "ActObservationList"; + case CARELIST: return "List of acts representing a care plan. The acts can be in a varierty of moods including event (EVN) to record acts that have been carried out as part of the care plan."; + case CONDLIST: return "List of condition observations."; + case INTOLIST: return "List of intolerance observations."; + case PROBLIST: return "List of problem observations."; + case RISKLIST: return "List of risk factor observations."; + case GOALLIST: return "List of observations in goal mood."; + case _ACTTHERAPYDURATIONWORKINGLISTCODE: return "Codes used to identify different types of 'duration-based' working lists. Examples include 'Continuous/Chronic', 'Short-Term' and 'As-Needed'."; + case _ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE: return "Definition:A collection of concepts that identifies different types of 'duration-based' mediation working lists.\r\n\n \n Examples:'Continuous/Chronic' 'Short-Term' and 'As Needed'"; + case ACU: return "Definition:A list of medications which the patient is only expected to consume for the duration of the current order or limited set of orders and which is not expected to be renewed."; + case CHRON: return "Definition:A list of medications which are expected to be continued beyond the present order and which the patient should be assumed to be taking unless explicitly stopped."; + case ONET: return "Definition:A list of medications which the patient is intended to be administered only once."; + case PRN: return "Definition:A list of medications which the patient will consume intermittently based on the behavior of the condition for which the medication is indicated."; + case MEDLIST: return "List of medications."; + case CURMEDLIST: return "List of current medications."; + case DISCMEDLIST: return "List of discharge medications."; + case HISTMEDLIST: return "Historical list of medications."; + case _ACTMONITORINGPROTOCOLCODE: return "Identifies types of monitoring programs"; + case CTLSUB: return "A monitoring program that focuses on narcotics and/or commonly abused substances that are subject to legal restriction."; + case INV: return "Definition:A monitoring program that focuses on a drug which is under investigation and has not received regulatory approval for the condition being investigated"; + case LU: return "Description:A drug that can be prescribed (and reimbursed) only if it meets certain criteria."; + case OTC: return "Medicines designated in this way may be supplied for patient use without a prescription. The exact form of categorisation will vary in different realms."; + case RX: return "Some form of prescription is required before the related medicine can be supplied for a patient. The exact form of regulation will vary in different realms."; + case SA: return "Definition:A drug that requires prior approval (to be reimbursed) before being dispensed"; + case SAC: return "Description:A drug that requires special access permission to be prescribed and dispensed."; + case _ACTNONOBSERVATIONINDICATIONCODE: return "Description:Concepts representing indications (reasons for clinical action) other than diagnosis and symptoms."; + case IND01: return "Description:Contrast agent required for imaging study."; + case IND02: return "Description:Provision of prescription or direction to consume a product for purposes of bowel clearance in preparation for a colonoscopy."; + case IND03: return "Description:Provision of medication as a preventative measure during a treatment or other period of increased risk."; + case IND04: return "Description:Provision of medication during pre-operative phase; e.g., antibiotics before dental surgery or bowel prep before colon surgery."; + case IND05: return "Description:Provision of medication for pregnancy --e.g., vitamins, antibiotic treatments for vaginal tract colonization, etc."; + case _ACTOBSERVATIONVERIFICATIONTYPE: return "Identifies the type of verification investigation being undertaken with respect to the subject of the verification activity.\r\n\n \n Examples:\n \r\n\n \n \n Verification of eligibility for coverage under a policy or program - aka enrolled/covered by a policy or program\r\n\n \n \n Verification of record - e.g., person has record in an immunization registry\r\n\n \n \n Verification of enumeration - e.g. NPI\r\n\n \n \n Verification of Board Certification - provider specific\r\n\n \n \n Verification of Certification - e.g. JAHCO, NCQA, URAC\r\n\n \n \n Verification of Conformance - e.g. entity use with HIPAA, conformant to the CCHIT EHR system criteria\r\n\n \n \n Verification of Provider Credentials\r\n\n \n \n Verification of no adverse findings - e.g. on National Provider Data Bank, Health Integrity Protection Data Base (HIPDB)"; + case VFPAPER: return "Definition:Indicates that the paper version of the record has, should be or is being verified against the electronic version."; + case _ACTPAYMENTCODE: return "Code identifying the method or the movement of payment instructions.\r\n\n Codes are drawn from X12 data element 591 (PaymentMethodCode)"; + case ACH: return "Automated Clearing House (ACH)."; + case CHK: return "A written order to a bank to pay the amount specified from funds on deposit."; + case DDP: return "Electronic Funds Transfer (EFT) deposit into the payee's bank account"; + case NON: return "Non-Payment Data."; + case _ACTPHARMACYSUPPLYTYPE: return "Identifies types of dispensing events"; + case DF: return "A fill providing sufficient supply for one day"; + case EM: return "A supply action where there is no 'valid' order for the supplied medication. E.g. Emergency vacation supply, weekend supply (when prescriber is unavailable to provide a renewal prescription)"; + case SO: return "An emergency supply where the expectation is that a formal order authorizing the supply will be provided at a later date."; + case FF: return "The initial fill against an order. (This includes initial fills against refill orders.)"; + case FFC: return "A first fill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets)."; + case FFCS: return "A first fill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets) and also where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case FFP: return "A first fill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.)"; + case FFPS: return "A first fill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.) and also where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)"; + case FFSS: return "A first fill where the strength supplied is less than the ordered strength. (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case TFS: return "A fill where a small portion is provided to allow for determination of the therapy effectiveness and patient tolerance and also where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case TF: return "A fill where a small portion is provided to allow for determination of the therapy effectiveness and patient tolerance."; + case FS: return "A supply action to restock a smaller more local dispensary."; + case MS: return "A supply of a manufacturer sample"; + case RF: return "A fill against an order that has already been filled (or partially filled) at least once."; + case UD: return "A supply action that provides sufficient material for a single dose."; + case RFC: return "A refill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets.)"; + case RFCS: return "A refill where the quantity supplied is equal to one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a complete fill would be for the full 90 tablets.) and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case RFF: return "The first fill against an order that has already been filled at least once at another facility."; + case RFFS: return "The first fill against an order that has already been filled at least once at another facility and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case RFP: return "A refill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.)"; + case RFPS: return "A refill where the quantity supplied is less than one full repetition of the ordered amount. (e.g. If the order was 90 tablets, 3 refills, a partial fill might be for only 30 tablets.) and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case RFS: return "A fill against an order that has already been filled (or partially filled) at least once and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case TB: return "A fill where the remainder of a 'complete' fill is provided after a trial fill has been provided."; + case TBS: return "A fill where the remainder of a 'complete' fill is provided after a trial fill has been provided and where the strength supplied is less than the ordered strength (e.g. 10mg for an order of 50mg where a subsequent fill will dispense 40mg tablets)."; + case UDE: return "A supply action that provides sufficient material for a single dose via multiple products. E.g. 2 50mg tablets for a 100mg unit dose."; + case _ACTPOLICYTYPE: return "Description:Types of policies that further specify the ActClassPolicy value set."; + case _ACTPRIVACYPOLICY: return "A policy deeming certain information to be private to an individual or organization.\r\n\n \n Definition: A mandate, obligation, requirement, rule, or expectation relating to privacy.\r\n\n \n Discussion: ActPrivacyPolicyType codes support the designation of the 1..* policies that are applicable to an Act such as a Consent Directive, a Role such as a VIP Patient, or an Entity such as a patient who is a minor. 1..* ActPrivacyPolicyType values may be associated with an Act or Role to indicate the policies that govern the assignment of an Act or Role confidentialityCode. Use of multiple ActPrivacyPolicyType values enables fine grain specification of applicable policies, but must be carefully assigned to ensure cogency and avoid creation of conflicting policy mandates.\r\n\n \n Usage Note: Statutory title may be named in the ActClassPolicy Act Act.title to specify which privacy policy is being referenced."; + case _ACTCONSENTDIRECTIVE: return "Definition: Specifies the type of consent directive indicated by an ActClassPolicy e.g., a 3rd party authorization to disclose or consent for a substitute decision maker (SDM) or a notice of privacy policy.\r\n\n \n Usage Note: ActConsentDirective codes are used to specify the type of Consent Directive to which a Consent Directive Act conforms."; + case EMRGONLY: return "This general consent directive specifically limits disclosure of health information for purpose of emergency treatment. Additional parameters may further limit the disclosure to specific users, roles, duration, types of information, and impose uses obligations.\r\n\n \n Definition: Opt-in to disclosure of health information for emergency only consent directive."; + case NOPP: return "Acknowledgement of custodian notice of privacy practices.\r\n\n \n Usage Notes: This type of consent directive acknowledges a custodian's notice of privacy practices including its permitted collection, access, use and disclosure of health information to users and for purposes of use specified."; + case OPTIN: return "This general consent directive permits disclosure of health information. Additional parameter may limit authorized users, purpose of use, user obligations, duration, or information types permitted to be disclosed, and impose uses obligations.\r\n\n \n Definition: Opt-in to disclosure of health information consent directive."; + case OPTOUT: return "This general consent directive prohibits disclosure of health information. Additional parameters may permit access to some information types by certain users, roles, purposes of use, durations and impose user obligations.\r\n\n \n Definition: Opt-out of disclosure of health information consent directive."; + case _INFORMATIONSENSITIVITYPOLICY: return "A mandate, obligation, requirement, rule, or expectation characterizing the value or importance of a resource and may include its vulnerability. (Based on ISO7498-2:1989. Note: The vulnerability of personally identifiable sensitive information may be based on concerns that the unauthorized disclosure may result in social stigmatization or discrimination.) Description: Types of Sensitivity policy that apply to Acts or Roles. A sensitivity policy is adopted by an enterprise or group of enterprises (a 'policy domain') through a formal data use agreement that stipulates the value, importance, and vulnerability of information. A sensitivity code representing a sensitivity policy may be associated with criteria such as categories of information or sets of information identifiers (e.g., a value set of clinical codes or branch in a code system hierarchy). These criteria may in turn be used for the Policy Decision Point in a Security Engine. A sensitivity code may be used to set the confidentiality code used on information about Acts and Roles to trigger the security mechanisms required to control how security principals (i.e., a person, a machine, a software application) may act on the information (e.g., collection, access, use, or disclosure). Sensitivity codes are never assigned to the transport or business envelope containing patient specific information being exchanged outside of a policy domain as this would disclose the information intended to be protected by the policy. When sensitive information is exchanged with others outside of a policy domain, the confidentiality code on the transport or business envelope conveys the receiver's responsibilities and indicates the how the information is to be safeguarded without unauthorized disclosure of the sensitive information. This ensures that sensitive information is treated by receivers as the sender intends, accomplishing interoperability without point to point negotiations.\r\n\n \n Usage Note: Sensitivity codes are not useful for interoperability outside of a policy domain because sensitivity policies are typically localized and vary drastically across policy domains even for the same information category because of differing organizational business rules, security policies, and jurisdictional requirements. For example, an employee's sensitivity code would make little sense for use outside of a policy domain. 'Taboo' would rarely be useful outside of a policy domain unless there are jurisdictional requirements requiring that a provider disclose sensitive information to a patient directly. Sensitivity codes may be more appropriate in a legacy system's Master Files in order to notify those who access a patient's orders and observations about the sensitivity policies that apply. Newer systems may have a security engine that uses a sensitivity policy's criteria directly. The specializable InformationSensitivityPolicy Act.code may be useful in some scenarios if used in combination with a sensitivity identifier and/or Act.title."; + case _ACTINFORMATIONSENSITIVITYPOLICY: return "Types of sensitivity policies that apply to Acts. Act.confidentialityCode is defined in the RIM as 'constraints around appropriate disclosure of information about this Act, regardless of mood.'\r\n\n \n Usage Note: ActSensitivity codes are used to bind information to an Act.confidentialityCode according to local sensitivity policy so that those confidentiality codes can then govern its handling across enterprises. Internally to a policy domain, however, local policies guide the access control system on how end users in that policy domain are able to use information tagged with these sensitivity values."; + case ETH: return "Policy for handling alcohol or drug-abuse information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to alcohol or drug-abuse information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case GDIS: return "Policy for handling genetic disease information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to genetic disease information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case HIV: return "Policy for handling HIV or AIDS information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to HIV or AIDS information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case PSY: return "Policy for handling psychiatry information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to psychiatry information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case SCA: return "Policy for handling sickle cell disease information, which is afforded heightened confidentiality. Information handling protocols are based on organizational policies related to sickle cell disease information, which is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then the Act valued with this ActCode should be associated with an Act valued with any applicable laws from the ActPrivacyLaw code system."; + case SDV: return "Policy for handling sexual assault, abuse, or domestic violence information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to sexual assault, abuse, or domestic violence information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case SEX: return "Policy for handling sexuality and reproductive health information, which will be afforded heightened confidentiality. Information handling protocols based on organizational policies related to sexuality and reproductive health information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case STD: return "Policy for handling sexually transmitted disease information, which will be afforded heightened confidentiality.\n Information handling protocols based on organizational policies related to sexually transmitted disease information that is deemed sensitive.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case TBOO: return "Policy for handling information not to be initially disclosed or discussed with patient except by a physician assigned to patient in this case. Information handling protocols based on organizational policies related to sensitive patient information that must be initially discussed with the patient by an attending physician before being disclosed to the patient.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code.\r\n\n \n Open Issue: This definition conflates a rule and a characteristic, and there may be a similar issue with ts sibling codes."; + case _ENTITYSENSITIVITYPOLICYTYPE: return "Types of sensitivity policies that may apply to a sensitive attribute on an Entity.\r\n\n \n Usage Note: EntitySensitivity codes are used to convey a policy that is applicable to sensitive information conveyed by an entity attribute. May be used to bind a Role.confidentialityCode associated with an Entity per organizational policy. Role.confidentialityCode is defined in the RIM as 'an indication of the appropriate disclosure of information about this Role with respect to the playing Entity.'"; + case DEMO: return "Policy for handling all demographic information about an information subject, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to all demographic about an information subject, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case DOB: return "Policy for handling information related to an information subject's date of birth, which will be afforded heightened confidentiality.Policies may govern sensitivity of information related to an information subject's date of birth, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case GENDER: return "Policy for handling information related to an information subject's gender and sexual orientation, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's gender and sexual orientation, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case LIVARG: return "Policy for handling information related to an information subject's living arrangement, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's living arrangement, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case MARST: return "Policy for handling information related to an information subject's marital status, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's marital status, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case RACE: return "Policy for handling information related to an information subject's race, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's race, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case REL: return "Policy for handling information related to an information subject's religious affiliation, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to an information subject's religion, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case _ROLEINFORMATIONSENSITIVITYPOLICY: return "Types of sensitivity policies that apply to Roles.\r\n\n \n Usage Notes: RoleSensitivity codes are used to bind information to a Role.confidentialityCode per organizational policy. Role.confidentialityCode is defined in the RIM as 'an indication of the appropriate disclosure of information about this Role with respect to the playing Entity.'"; + case B: return "Policy for handling trade secrets such as financial information or intellectual property, which will be afforded heightened confidentiality. Description: Since the service class can represent knowledge structures that may be considered a trade or business secret, there is sometimes (though rarely) the need to flag those items as of business level confidentiality.\r\n\n \n Usage Notes: No patient related information may ever be of this confidentiality level. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case EMPL: return "Policy for handling information related to an employer which is deemed classified to protect an employee who is the information subject, and which will be afforded heightened confidentiality. Description: Policies may govern sensitivity of information related to an employer, such as law enforcement or national security, the identity of which could impact the privacy, well-being, or safety of an information subject who is an employee.\r\n\n \n Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case LOCIS: return "Policy for handling information related to the location of the information subject, which will be afforded heightened confidentiality. Description: Policies may govern sensitivity of information related to the location of the information subject, the disclosure of which could impact the privacy, well-being, or safety of that subject.\r\n\n \n Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case SSP: return "Policy for handling information related to a provider of sensitive services, which will be afforded heightened confidentiality. Description: Policies may govern sensitivity of information related to providers who deliver sensitive healthcare services in order to protect the privacy, well-being, and safety of the provider and of patients receiving sensitive services.\r\n\n \n Usage Notes: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case ADOL: return "Policy for handling information related to an adolescent, which will be afforded heightened confidentiality per applicable organizational or jurisdictional policy. An enterprise may have a policy that requires that adolescent patient information be provided heightened confidentiality. Information deemed sensitive typically includes health information and patient role information including patient status, demographics, next of kin, and location.\r\n\n \n Usage Note: For use within an enterprise in which an adolescent is the information subject. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case CEL: return "Policy for handling information related to a celebrity (people of public interest (VIP), which will be afforded heightened confidentiality. Celebrities are people of public interest (VIP) about whose information an enterprise may have a policy that requires heightened confidentiality. Information deemed sensitive may include health information and patient role information including patient status, demographics, next of kin, and location.\r\n\n \n Usage Note: For use within an enterprise in which the information subject is deemed a celebrity or very important person. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case DIA: return "Policy for handling information related to a diagnosis, health condition or health problem, which will be afforded heightened confidentiality. Diagnostic, health condition or health problem related information may be deemed sensitive by organizational policy, and require heightened confidentiality.\r\n\n \n Usage Note: For use within an enterprise that provides heightened confidentiality to diagnostic, health condition or health problem related information deemed sensitive. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case DRGIS: return "Policy for handling information related to a drug, which will be afforded heightened confidentiality. Drug information may be deemed sensitive by organizational policy, and require heightened confidentiality.\r\n\n \n Usage Note: For use within an enterprise that provides heightened confidentiality to drug information deemed sensitive. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case EMP: return "Policy for handling information related to an employee, which will be afforded heightened confidentiality. When a patient is an employee, an enterprise may have a policy that requires heightened confidentiality. Information deemed sensitive typically includes health information and patient role information including patient status, demographics, next of kin, and location.\r\n\n \n Usage Note: Policy for handling information related to an employee, which will be afforded heightened confidentiality. Description: When a patient is an employee, an enterprise may have a policy that requires heightened confidentiality. Information deemed sensitive typically includes health information and patient role information including patient status, demographics, next of kin, and location."; + case PDS: return "Policy for handling information reported by the patient about another person, e.g., a family member, which will be afforded heightened confidentiality. Sensitive information reported by the patient about another person, e.g., family members may be deemed sensitive by default. The flag may be set or cleared on patient's request. \r\n\n \n Usage Note: For sensitive information relayed by or about a patient, which is deemed sensitive within the enterprise (i.e., by default regardless of whether the patient requested that the information be deemed sensitive.) If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case PRS: return "For sensitive information relayed by or about a patient, which is deemed sensitive within the enterprise (i.e., by default regardless of whether the patient requested that the information be deemed sensitive.) If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code.\r\n\n \n Usage Note: For use within an enterprise that provides heightened confidentiality to certain types of information designated by a patient as sensitive. If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code."; + case COMPT: return "This is the healthcare analog to the US Intelligence Community's concept of a Special Access Program. Compartment codes may be used in as a field value in an initiator's clearance to indicate permission to access and use an IT Resource with a security label having the same compartment value in security category label field.\r\n\n Map: Aligns with ISO 2382-8 definition of Compartment - 'A division of data into isolated blocks with separate security controls for the purpose of reducing risk.'"; + case HRCOMPT: return "A security category label field value, which indicates that access and use of an IT resource is restricted to members of human resources department or workflow."; + case RESCOMPT: return "A security category label field value, which indicates that access and use of an IT resource is restricted to members of a research project."; + case RMGTCOMPT: return "A security category label field value, which indicates that access and use of an IT resource is restricted to members of records management department or workflow."; + case ACTTRUSTPOLICYTYPE: return "A mandate, obligation, requirement, rule, or expectation conveyed as security metadata between senders and receivers required to establish the reliability, authenticity, and trustworthiness of their transactions.\r\n\n Trust security metadata are observation made about aspects of trust applicable to an IT resource (data, information object, service, or system capability).\r\n\n Trust applicable to IT resources is established and maintained in and among security domains, and may be comprised of observations about the domain's trust authority, trust framework, trust policy, trust interaction rules, means for assessing and monitoring adherence to trust policies, mechanisms that enforce trust, and quality and reliability measures of assurance in those mechanisms. [Based on ISO IEC 10181-1 and NIST SP 800-63-2]\r\n\n For example, identity proofing , level of assurance, and Trust Framework."; + case TRSTACCRD: return "Type of security metadata about the formal declaration by an authority or neutral third party that validates the technical, security, trust, and business practice conformance of Trust Agents to facilitate security, interoperability, and trust among participants within a security domain or trust framework."; + case TRSTAGRE: return "Type of security metadata about privacy and security requirements with which a security domain must comply. [ISO IEC 10181-1]"; + case TRSTASSUR: return "Type of security metadata about the digital quality or reliability of a trust assertion, activity, capability, information exchange, mechanism, process, or protocol."; + case TRSTCERT: return "Type of security metadata about a set of security-relevant data issued by a security authority or trusted third party, together with security information which is used to provide the integrity and data origin authentication services for an IT resource (data, information object, service, or system capability). [Based on ISO IEC 10181-1]"; + case TRSTFWK: return "Type of security metadata about a complete set of contracts, regulations, or commitments that enable participating actors to rely on certain assertions by other actors to fulfill their information security requirements. [Kantara Initiative]"; + case TRSTMEC: return "Type of security metadata about a security architecture system component that supports enforcement of security policies."; + case COVPOL: return "Description:A mandate, obligation, requirement, rule, or expectation unilaterally imposed on benefit coverage under a policy or program by a sponsor, underwriter or payor on:\r\n\n \n \n The activity of another party\r\n\n \n \n The behavior of another party\r\n\n \n \n The manner in which an act is executed\r\n\n \n \n \n Examples:A clinical protocol imposed by a payer to which a provider must adhere in order to be paid for providing the service. A formulary from which a provider must select prescribed drugs in order for the patient to incur a lower copay."; + case SECURITYPOLICY: return "Types of security policies that further specify the ActClassPolicy value set.\r\n\n \n Examples:\n \r\n\n \n obligation to encrypt\n refrain from redisclosure without consent"; + case OBLIGATIONPOLICY: return "Conveys the mandated workflow action that an information custodian, receiver, or user must perform. \r\n\n \n Usage Notes: Per ISO 22600-2, ObligationPolicy instances 'are event-triggered and define actions to be performed by manager agent'. Per HL7 Composite Security and Privacy Domain Analysis Model: This value set refers to the action required to receive the permission specified in the privacy rule. Per OASIS XACML, an obligation is an operation specified in a policy or policy that is performed in conjunction with the enforcement of an access control decision."; + case ANONY: return "Custodian system must remove any information that could result in identifying the information subject."; + case AOD: return "Custodian system must make available to an information subject upon request an accounting of certain disclosures of the individual’s protected health information over a period of time. Policy may dictate that the accounting include information about the information disclosed, the date of disclosure, the identification of the receiver, the purpose of the disclosure, the time in which the disclosing entity must provide a response and the time period for which accountings of disclosure can be requested."; + case AUDIT: return "Custodian system must monitor systems to ensure that all users are authorized to operate on information objects."; + case AUDTR: return "Custodian system must monitor and maintain retrievable log for each user and operation on information."; + case CPLYCC: return "Custodian security system must retrieve, evaluate, and comply with the information handling directions of the Confidentiality Code associated with an information target."; + case CPLYCD: return "Custodian security system must retrieve, evaluate, and comply with applicable information subject consent directives."; + case CPLYJPP: return "Custodian security system must retrieve, evaluate, and comply with applicable jurisdictional privacy policies associated with the target information."; + case CPLYOPP: return "Custodian security system must retrieve, evaluate, and comply with applicable organizational privacy policies associated with the target information."; + case CPLYOSP: return "Custodian security system must retrieve, evaluate, and comply with the organizational security policies associated with the target information."; + case CPLYPOL: return "Custodian security system must retrieve, evaluate, and comply with applicable policies associated with the target information."; + case DEID: return "Custodian system must strip information of data that would allow the identification of the source of the information or the information subject."; + case DELAU: return "Custodian system must remove target information from access after use."; + case ENCRYPT: return "Custodian system must render information unreadable by algorithmically transforming plaintext into ciphertext. \r\n\n \r\n\n \n Usage Notes: A mathematical transposition of a file or data stream so that it cannot be deciphered at the receiving end without the proper key. Encryption is a security feature that assures that only the parties who are supposed to be participating in a videoconference or data transfer are able to do so. It can include a password, public and private keys, or a complex combination of all. (Per Infoway.)"; + case ENCRYPTR: return "Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext when 'at rest' or in storage."; + case ENCRYPTT: return "Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext while 'in transit' or being transported by any means."; + case ENCRYPTU: return "Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext while in use such that operations permitted on the target information are limited by the license granted to the end user."; + case HUAPRV: return "Custodian system must require human review and approval for permission requested."; + case MASK: return "Custodian system must render information unreadable and unusable by algorithmically transforming plaintext into ciphertext. User may be provided a key to decrypt per license or 'shared secret'."; + case MINEC: return "Custodian must limit access and disclosure to the minimum information required to support an authorized user's purpose of use. \r\n\n \n Usage Note: Limiting the information available for access and disclosure to that an authorized user or receiver 'needs to know' in order to perform permitted workflow or purpose of use."; + case PRIVMARK: return "Custodian must create and/or maintain human readable security label tags as required by policy.\r\n\n Map: Aligns with ISO 22600-3 Section A.3.4.3 description of privacy mark: 'If present, the privacy-mark is not used for access control. The content of the privacy-mark may be defined by the security policy in force (identified by the security-policy-identifier) which may define a list of values to be used. Alternately, the value may be determined by the originator of the security-label.'"; + case PSEUD: return "Custodian system must strip information of data that would allow the identification of the source of the information or the information subject. Custodian may retain a key to relink data necessary to reidentify the information subject."; + case REDACT: return "Custodian system must remove information, which is not authorized to be access, used, or disclosed from records made available to otherwise authorized users."; + case REFRAINPOLICY: return "Conveys prohibited actions which an information custodian, receiver, or user is not permitted to perform unless otherwise authorized or permitted under specified circumstances.\r\n\n \r\n\n \n Usage Notes: ISO 22600-2 species that a Refrain Policy 'defines actions the subjects must refrain from performing'. Per HL7 Composite Security and Privacy Domain Analysis Model: May be used to indicate that a specific action is prohibited based on specific access control attributes e.g., purpose of use, information type, user role, etc."; + case NOAUTH: return "Prohibition on disclosure without information subject's authorization."; + case NOCOLLECT: return "Prohibition on collection or storage of the information."; + case NODSCLCD: return "Prohibition on disclosure without organizational approved patient restriction."; + case NODSCLCDS: return "Prohibition on disclosure without a consent directive from the information subject."; + case NOINTEGRATE: return "Prohibition on Integration into other records."; + case NOLIST: return "Prohibition on disclosure except to entities on specific access list."; + case NOMOU: return "Prohibition on disclosure without an interagency service agreement or memorandum of understanding (MOU)."; + case NOORGPOL: return "Prohibition on disclosure without organizational authorization."; + case NOPAT: return "Prohibition on disclosing information to patient, family or caregivers without attending provider's authorization.\r\n\n \n Usage Note: The information may be labeled with the ActInformationSensitivity TBOO code, triggering application of this RefrainPolicy code as a handling caveat controlling access.\r\n\n Maps to FHIR NOPAT: Typically, this is used on an Alert resource, when the alert records information on patient abuse or non-compliance.\r\n\n FHIR print name is 'keep information from patient'. Maps to the French realm - code: INVISIBLE_PATIENT.\r\n\n \n displayName: Document non visible par le patient\n codingScheme: 1.2.250.1.213.1.1.4.13\n \n French use case: A label for documents that the author chose to hide from the patient until the content can be disclose to the patient in a face to face meeting between a healthcare professional and the patient (in French law some results like cancer diagnosis or AIDS diagnosis must be announced to the patient by a healthcare professional and should not be find out by the patient alone)."; + case NOPERSISTP: return "Prohibition on collection of the information beyond time necessary to accomplish authorized purpose of use is prohibited."; + case NORDSCLCD: return "Prohibition on redisclosure without patient consent directive."; + case NORDSCLCDS: return "Prohibition on redisclosure without a consent directive from the information subject."; + case NORDSCLW: return "Prohibition on disclosure without authorization under jurisdictional law."; + case NORELINK: return "Prohibition on associating de-identified or pseudonymized information with other information in a manner that could or does result in disclosing information intended to be masked."; + case NOREUSE: return "Prohibition on use of the information beyond the purpose of use initially authorized."; + case NOVIP: return "Prohibition on disclosure except to principals with access permission to specific VIP information."; + case ORCON: return "Prohibition on disclosure except as permitted by the information originator."; + case _ACTPRODUCTACQUISITIONCODE: return "The method that a product is obtained for use by the subject of the supply act (e.g. patient). Product examples are consumable or durable goods."; + case LOAN: return "Temporary supply of a product without transfer of ownership for the product."; + case RENT: return "Temporary supply of a product with financial compensation, without transfer of ownership for the product."; + case TRANSFER: return "Transfer of ownership for a product."; + case SALE: return "Transfer of ownership for a product for financial compensation."; + case _ACTSPECIMENTRANSPORTCODE: return "Transportation of a specimen."; + case SREC: return "Description:Specimen has been received by the participating organization/department."; + case SSTOR: return "Description:Specimen has been placed into storage at a participating location."; + case STRAN: return "Description:Specimen has been put in transit to a participating receiver."; + case _ACTSPECIMENTREATMENTCODE: return "Set of codes related to specimen treatments"; + case ACID: return "The lowering of specimen pH through the addition of an acid"; + case ALK: return "The act rendering alkaline by impregnating with an alkali; a conferring of alkaline qualities."; + case DEFB: return "The removal of fibrin from whole blood or plasma through physical or chemical means"; + case FILT: return "The passage of a liquid through a filter, accomplished by gravity, pressure or vacuum (suction)."; + case LDLP: return "LDL Precipitation"; + case NEUT: return "The act or process by which an acid and a base are combined in such proportions that the resulting compound is neutral."; + case RECA: return "The addition of calcium back to a specimen after it was removed by chelating agents"; + case UFIL: return "The filtration of a colloidal substance through a semipermeable medium that allows only the passage of small molecules."; + case _ACTSUBSTANCEADMINISTRATIONCODE: return "Description: Describes the type of substance administration being performed. This should not be used to carry codes for identification of products. Use an associated role or entity to carry such information."; + case DRUG: return "The introduction of a drug into a subject with the intention of altering its biologic state with the intent of improving its health status."; + case FD: return "Description: The introduction of material into a subject with the intent of providing nutrition or other dietary supplements (e.g. minerals or vitamins)."; + case IMMUNIZ: return "The introduction of an immunogen with the intent of stimulating an immune response, aimed at preventing subsequent infections by more viable agents."; + case _ACTTASKCODE: return "Description: A task or action that a user may perform in a clinical information system (e.g., medication order entry, laboratory test results review, problem list entry)."; + case OE: return "A clinician creates a request for a service to be performed for a given patient."; + case LABOE: return "A clinician creates a request for a laboratory test to be done for a given patient."; + case MEDOE: return "A clinician creates a request for the administration of one or more medications to a given patient."; + case PATDOC: return "A person enters documentation about a given patient."; + case ALLERLREV: return "Description: A person reviews a list of known allergies of a given patient."; + case CLINNOTEE: return "A clinician enters a clinical note about a given patient"; + case DIAGLISTE: return "A clinician enters a diagnosis for a given patient."; + case DISCHINSTE: return "A person provides a discharge instruction to a patient."; + case DISCHSUME: return "A clinician enters a discharge summary for a given patient."; + case PATEDUE: return "A person provides a patient-specific education handout to a patient."; + case PATREPE: return "A pathologist enters a report for a given patient."; + case PROBLISTE: return "A clinician enters a problem for a given patient."; + case RADREPE: return "A radiologist enters a report for a given patient."; + case IMMLREV: return "Description: A person reviews a list of immunizations due or received for a given patient."; + case REMLREV: return "Description: A person reviews a list of health care reminders for a given patient."; + case WELLREMLREV: return "Description: A person reviews a list of wellness or preventive care reminders for a given patient."; + case PATINFO: return "A person (e.g., clinician, the patient herself) reviews patient information in the electronic medical record."; + case ALLERLE: return "Description: A person enters a known allergy for a given patient."; + case CDSREV: return "A person reviews a recommendation/assessment provided automatically by a clinical decision support application for a given patient."; + case CLINNOTEREV: return "A person reviews a clinical note of a given patient."; + case DISCHSUMREV: return "A person reviews a discharge summary of a given patient."; + case DIAGLISTREV: return "A person reviews a list of diagnoses of a given patient."; + case IMMLE: return "Description: A person enters an immunization due or received for a given patient."; + case LABRREV: return "A person reviews a list of laboratory results of a given patient."; + case MICRORREV: return "A person reviews a list of microbiology results of a given patient."; + case MICROORGRREV: return "A person reviews organisms of microbiology results of a given patient."; + case MICROSENSRREV: return "A person reviews the sensitivity test of microbiology results of a given patient."; + case MLREV: return "A person reviews a list of medication orders submitted to a given patient"; + case MARWLREV: return "A clinician reviews a work list of medications to be administered to a given patient."; + case OREV: return "A person reviews a list of orders submitted to a given patient."; + case PATREPREV: return "A person reviews a pathology report of a given patient."; + case PROBLISTREV: return "A person reviews a list of problems of a given patient."; + case RADREPREV: return "A person reviews a radiology report of a given patient."; + case REMLE: return "Description: A person enters a health care reminder for a given patient."; + case WELLREMLE: return "Description: A person enters a wellness or preventive care reminder for a given patient."; + case RISKASSESS: return "A person reviews a Risk Assessment Instrument report of a given patient."; + case FALLRISK: return "A person reviews a Falls Risk Assessment Instrument report of a given patient."; + case _ACTTRANSPORTATIONMODECODE: return "Characterizes how a transportation act was or will be carried out.\r\n\n \n Examples: Via private transport, via public transit, via courier."; + case _ACTPATIENTTRANSPORTATIONMODECODE: return "Definition: Characterizes how a patient was or will be transported to the site of a patient encounter.\r\n\n \n Examples: Via ambulance, via public transit, on foot."; + case AFOOT: return "pedestrian transport"; + case AMBT: return "ambulance transport"; + case AMBAIR: return "fixed-wing ambulance transport"; + case AMBGRND: return "ground ambulance transport"; + case AMBHELO: return "helicopter ambulance transport"; + case LAWENF: return "law enforcement transport"; + case PRVTRN: return "private transport"; + case PUBTRN: return "public transport"; + case _OBSERVATIONTYPE: return "Identifies the kinds of observations that can be performed"; + case _ACTSPECOBSCODE: return "Identifies the type of observation that is made about a specimen that may affect its processing, analysis or further result interpretation"; + case ARTBLD: return "Describes the artificial blood identifier that is associated with the specimen."; + case DILUTION: return "An observation that reports the dilution of a sample."; + case AUTOHIGH: return "The dilution of a sample performed by automated equipment. The value is specified by the equipment"; + case AUTOLOW: return "The dilution of a sample performed by automated equipment. The value is specified by the equipment"; + case PRE: return "The dilution of the specimen made prior to being loaded onto analytical equipment"; + case RERUN: return "The value of the dilution of a sample after it had been analyzed at a prior dilution value"; + case EVNFCTS: return "Domain provides codes that qualify the ActLabObsEnvfctsCode domain. (Environmental Factors)"; + case INTFR: return "An observation that relates to factors that may potentially cause interference with the observation"; + case FIBRIN: return "The Fibrin Index of the specimen. In the case of only differentiating between Absent and Present, recommend using 0 and 1"; + case HEMOLYSIS: return "An observation of the hemolysis index of the specimen in g/L"; + case ICTERUS: return "An observation that describes the icterus index of the specimen. It is recommended to use mMol/L of bilirubin"; + case LIPEMIA: return "An observation used to describe the Lipemia Index of the specimen. It is recommended to use the optical turbidity at 600 nm (in absorbance units)."; + case VOLUME: return "An observation that reports the volume of a sample."; + case AVAILABLE: return "The available quantity of specimen. This is the current quantity minus any planned consumption (e.g., tests that are planned)"; + case CONSUMPTION: return "The quantity of specimen that is used each time the equipment uses this substance"; + case CURRENT: return "The current quantity of the specimen, i.e., initial quantity minus what has been actually used."; + case INITIAL: return "The initial quantity of the specimen in inventory"; + case _ANNOTATIONTYPE: return "AnnotationType"; + case _ACTPATIENTANNOTATIONTYPE: return "Description:Provides a categorization for annotations recorded directly against the patient ."; + case ANNDI: return "Description:A note that is specific to a patient's diagnostic images, either historical, current or planned."; + case ANNGEN: return "Description:A general or uncategorized note."; + case ANNIMM: return "A note that is specific to a patient's immunizations, either historical, current or planned."; + case ANNLAB: return "Description:A note that is specific to a patient's laboratory results, either historical, current or planned."; + case ANNMED: return "Description:A note that is specific to a patient's medications, either historical, current or planned."; + case _GENETICOBSERVATIONTYPE: return "Description: None provided"; + case GENE: return "Description: A DNA segment that contributes to phenotype/function. In the absence of demonstrated function a gene may be characterized by sequence, transcription or homology"; + case _IMMUNIZATIONOBSERVATIONTYPE: return "Description: Observation codes which describe characteristics of the immunization material."; + case OBSANTC: return "Description: Indicates the valid antigen count."; + case OBSANTV: return "Description: Indicates whether an antigen is valid or invalid."; + case _INDIVIDUALCASESAFETYREPORTTYPE: return "A code that is used to indicate the type of case safety report received from sender. The current code example reference is from the International Conference on Harmonisation (ICH) Expert Workgroup guideline on Clinical Safety Data Management: Data Elements for Transmission of Individual Case Safety Reports. The unknown/unavailable option allows the transmission of information from a secondary sender where the initial sender did not specify the type of report.\r\n\n Example concepts include: Spontaneous, Report from study, Other."; + case PATADVEVNT: return "Indicates that the ICSR is describing problems that a patient experienced after receiving a vaccine product."; + case VACPROBLEM: return "Indicates that the ICSR is describing a problem with the actual vaccine product such as physical defects (cloudy, particulate matter) or inability to confer immunity."; + case _LOINCOBSERVATIONACTCONTEXTAGETYPE: return "Definition:The set of LOINC codes for the act of determining the period of time that has elapsed since an entity was born or created."; + case _216119: return "Definition:Estimated age."; + case _216127: return "Definition:Reported age."; + case _295535: return "Definition:Calculated age."; + case _305250: return "Definition:General specification of age with no implied method of determination."; + case _309724: return "Definition:Age at onset of associated adverse event; no implied method of determination."; + case _MEDICATIONOBSERVATIONTYPE: return "MedicationObservationType"; + case REPHALFLIFE: return "Description:This observation represents an 'average' or 'expected' half-life typical of the product."; + case SPLCOATING: return "Definition: A characteristic of an oral solid dosage form of a medicinal product, indicating whether it has one or more coatings such as sugar coating, film coating, or enteric coating. Only coatings to the external surface or the dosage form should be considered (for example, coatings to individual pellets or granules inside a capsule or tablet are excluded from consideration).\r\n\n \n Constraints: The Observation.value must be a Boolean (BL) with true for the presence or false for the absence of one or more coatings on a solid dosage form."; + case SPLCOLOR: return "Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the color or colors that most predominantly define the appearance of the dose form. SPLCOLOR is not an FDA specification for the actual color of solid dosage forms or the names of colors that can appear in labeling.\r\n\n \n Constraints: The Observation.value must be a single coded value or a list of multiple coded values, specifying one or more distinct colors that approximate of the color(s) of distinct areas of the solid dosage form, such as the different sides of a tablet or one-part capsule, or the different halves of a two-part capsule. Bands on banded capsules, regardless of the color, are not considered when assigning an SPLCOLOR. Imprints on the dosage form, regardless of their color are not considered when assigning an SPLCOLOR. If more than one color exists on a particular side or half, then the most predominant color on that side or half is recorded. If the gelatin capsule shell is colorless and transparent, use the predominant color of the contents that appears through the colorless and transparent capsule shell. Colors can include: Black;Gray;White;Red;Pink;Purple;Green;Yellow;Orange;Brown;Blue;Turquoise."; + case SPLIMAGE: return "Description: A characteristic representing a single file reference that contains two or more views of the same dosage form of the product; in most cases this should represent front and back views of the dosage form, but occasionally additional views might be needed in order to capture all of the important physical characteristics of the dosage form. Any imprint and/or symbol should be clearly identifiable, and the viewer should not normally need to rotate the image in order to read it. Images that are submitted with SPL should be included in the same directory as the SPL file."; + case SPLIMPRINT: return "Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the alphanumeric text that appears on the solid dosage form, including text that is embossed, debossed, engraved or printed with ink. The presence of other non-textual distinguishing marks or symbols is recorded by SPLSYMBOL.\r\n\n \n Examples: Included in SPLIMPRINT are alphanumeric text that appears on the bands of banded capsules and logos and other symbols that can be interpreted as letters or numbers.\r\n\n \n Constraints: The Observation.value must be of type Character String (ST). Excluded from SPLIMPRINT are internal and external cut-outs in the form of alphanumeric text and the letter 'R' with a circle around it (when referring to a registered trademark) and the letters 'TM' (when referring to a 'trade mark'). To record text, begin on either side or part of the dosage form. Start at the top left and progress as one would normally read a book. Enter a semicolon to show separation between words or line divisions."; + case SPLSCORING: return "Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the number of equal pieces that the solid dosage form can be divided into using score line(s). \r\n\n \n Example: One score line creating two equal pieces is given a value of 2, two parallel score lines creating three equal pieces is given a value of 3.\r\n\n \n Constraints: Whether three parallel score lines create four equal pieces or two intersecting score lines create two equal pieces using one score line and four equal pieces using both score lines, both have the scoring value of 4. Solid dosage forms that are not scored are given a value of 1. Solid dosage forms that can only be divided into unequal pieces are given a null-value with nullFlavor other (OTH)."; + case SPLSHAPE: return "Description: A characteristic of an oral solid dosage form of a medicinal product, specifying the two dimensional representation of the solid dose form, in terms of the outside perimeter of a solid dosage form when the dosage form, resting on a flat surface, is viewed from directly above, including slight rounding of corners. SPLSHAPE does not include embossing, scoring, debossing, or internal cut-outs. SPLSHAPE is independent of the orientation of the imprint and logo. Shapes can include: Triangle (3 sided); Square; Round; Semicircle; Pentagon (5 sided); Diamond; Double circle; Bullet; Hexagon (6 sided); Rectangle; Gear; Capsule; Heptagon (7 sided); Trapezoid; Oval; Clover; Octagon (8 sided); Tear; Freeform."; + case SPLSIZE: return "Definition: A characteristic of an oral solid dosage form of a medicinal product, specifying the longest single dimension of the solid dosage form as a physical quantity in the dimension of length (e.g., 3 mm). The length is should be specified in millimeters and should be rounded to the nearest whole millimeter.\r\n\n \n Example: SPLSIZE for a rectangular shaped tablet is the length and SPLSIZE for a round shaped tablet is the diameter."; + case SPLSYMBOL: return "Definition: A characteristic of an oral solid dosage form of a medicinal product, to describe whether or not the medicinal product has a mark or symbol appearing on it for easy and definite recognition. Score lines, letters, numbers, and internal and external cut-outs are not considered marks or symbols. See SPLSCORING and SPLIMPRINT for these characteristics.\r\n\n \n Constraints: The Observation.value must be a Boolean (BL) with true indicating the presence and false for the absence of marks or symbols.\r\n\n \n Example:"; + case _OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE: return "Distinguishes the kinds of coded observations that could be the trigger for clinical issue detection. These are observations that are not measurable, but instead can be defined with codes. Coded observation types include: Allergy, Intolerance, Medical Condition, Pregnancy status, etc."; + case _CASETRANSMISSIONMODE: return "Code for the mechanism by which disease was acquired by the living subject involved in the public health case. Includes sexually transmitted, airborne, bloodborne, vectorborne, foodborne, zoonotic, nosocomial, mechanical, dermal, congenital, environmental exposure, indeterminate."; + case AIRTRNS: return "Communication of an agent from a living subject or environmental source to a living subject through indirect contact via oral or nasal inhalation."; + case ANANTRNS: return "Communication of an agent from one animal to another proximate animal."; + case ANHUMTRNS: return "Communication of an agent from an animal to a proximate person."; + case BDYFLDTRNS: return "Communication of an agent from one living subject to another living subject through direct contact with any body fluid."; + case BLDTRNS: return "Communication of an agent to a living subject through direct contact with blood or blood products whether the contact with blood is part of a therapeutic procedure or not."; + case DERMTRNS: return "Communication of an agent from a living subject or environmental source to a living subject via agent migration through intact skin."; + case ENVTRNS: return "Communication of an agent from an environmental surface or source to a living subject by direct contact."; + case FECTRNS: return "Communication of an agent from a living subject or environmental source to a living subject through oral contact with material contaminated by person or animal fecal material."; + case FOMTRNS: return "Communication of an agent from an non-living material to a living subject through direct contact."; + case FOODTRNS: return "Communication of an agent from a food source to a living subject via oral consumption."; + case HUMHUMTRNS: return "Communication of an agent from a person to a proximate person."; + case INDTRNS: return "Communication of an agent to a living subject via an undetermined route."; + case LACTTRNS: return "Communication of an agent from one living subject to another living subject through direct contact with mammalian milk or colostrum."; + case NOSTRNS: return "Communication of an agent from any entity to a living subject while the living subject is in the patient role in a healthcare facility."; + case PARTRNS: return "Communication of an agent from a living subject or environmental source to a living subject where the acquisition of the agent is not via the alimentary canal."; + case PLACTRNS: return "Communication of an agent from a living subject to the progeny of that living subject via agent migration across the maternal-fetal placental membranes while in utero."; + case SEXTRNS: return "Communication of an agent from one living subject to another living subject through direct contact with genital or oral tissues as part of a sexual act."; + case TRNSFTRNS: return "Communication of an agent from one living subject to another living subject through direct contact with blood or blood products where the contact with blood is part of a therapeutic procedure."; + case VECTRNS: return "Communication of an agent from a living subject acting as a required intermediary in the agent transmission process to a recipient living subject via direct contact."; + case WATTRNS: return "Communication of an agent from a contaminated water source to a living subject whether the water is ingested as a food or not. The route of entry of the water may be through any bodily orifice."; + case _OBSERVATIONQUALITYMEASUREATTRIBUTE: return "Codes used to define various metadata aspects of a health quality measure."; + case AGGREGATE: return "Indicates that the observation is carrying out an aggregation calculation, contained in the value element."; + case COPY: return "Identifies the organization(s) who own the intellectual property represented by the eMeasure."; + case CRS: return "Summary of relevant clinical guidelines or other clinical recommendations supporting this eMeasure."; + case DEF: return "Description of individual terms, provided as needed."; + case DISC: return "Disclaimer information for the eMeasure."; + case FINALDT: return "The timestamp when the eMeasure was last packaged in the Measure Authoring Tool."; + case GUIDE: return "Used to allow measure developers to provide additional guidance for implementers to understand greater specificity than could be provided in the logic for data criteria."; + case IDUR: return "Information on whether an increase or decrease in score is the preferred result \n(e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)."; + case ITMCNT: return "Describes the items counted by the measure (e.g., patients, encounters, procedures, etc.)"; + case KEY: return "A significant word that aids in discoverability."; + case MEDT: return "The end date of the measurement period."; + case MSD: return "The start date of the measurement period."; + case MSRADJ: return "The method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether an eMeasure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow more useful comparisons."; + case MSRAGG: return "Describes how to combine information calculated based on logic in each of several populations into one summarized result. It can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure. (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). \r\n\n \n Open Issue: The description does NOT align well with the definition used in the HQMF specfication; correct the MSGAGG definition, and the possible distinction of MSRAGG as a child of AGGREGATE."; + case MSRIMPROV: return "Information on whether an increase or decrease in score is the preferred result. This should reflect information on which way is better, an increase or decrease in score."; + case MSRJUR: return "The list of jurisdiction(s) for which the measure applies."; + case MSRRPTR: return "Type of person or organization that is expected to report the issue."; + case MSRRPTTIME: return "The maximum time that may elapse following completion of the measure until the measure report must be sent to the receiver."; + case MSRSCORE: return "Indicates how the calculation is performed for the eMeasure \n(e.g., proportion, continuous variable, ratio)"; + case MSRSET: return "Location(s) in which care being measured is rendered\r\n\n Usage Note: MSRSET is used rather than RoleCode because the setting applies to what is being measured, as opposed to participating directly in the health quality measure documantion itself)."; + case MSRTOPIC: return "health quality measure topic type"; + case MSRTP: return "The time period for which the eMeasure applies."; + case MSRTYPE: return "Indicates whether the eMeasure is used to examine a process or an outcome over time \n(e.g., Structure, Process, Outcome)."; + case RAT: return "Succinct statement of the need for the measure. Usually includes statements pertaining to Importance criterion: impact, gap in care and evidence."; + case REF: return "Identifies bibliographic citations or references to clinical practice guidelines, sources of evidence, or other relevant materials supporting the intent and rationale of the eMeasure."; + case SDE: return "Comparison of results across strata can be used to show where disparities exist or where there is a need to expose differences in results. For example, Centers for Medicare & Medicaid Services (CMS) in the U.S. defines four required Supplemental Data Elements (payer, ethnicity, race, and gender), which are variables used to aggregate data into various subgroups. Additional supplemental data elements required for risk adjustment or other purposes of data aggregation can be included in the Supplemental Data Element section."; + case STRAT: return "Describes the strata for which the measure is to be evaluated. There are three examples of reasons for stratification based on existing work. These include: (1) evaluate the measure based on different age groupings within the population described in the measure (e.g., evaluate the whole [age 14-25] and each sub-stratum [14-19] and [20-25]); (2) evaluate the eMeasure based on either a specific condition, a specific discharge location, or both; (3) evaluate the eMeasure based on different locations within a facility (e.g., evaluate the overall rate for all intensive care units and also some strata include additional findings [specific birth weights for neonatal intensive care units])."; + case TRANF: return "Can be a URL or hyperlinks that link to the transmission formats that are specified for a particular reporting program."; + case USE: return "Usage notes."; + case _OBSERVATIONSEQUENCETYPE: return "ObservationSequenceType"; + case TIMEABSOLUTE: return "A sequence of values in the 'absolute' time domain. This is the same time domain that all HL7 timestamps use. It is time as measured by the Gregorian calendar"; + case TIMERELATIVE: return "A sequence of values in a 'relative' time domain. The time is measured relative to the earliest effective time in the Observation Series containing this sequence."; + case _OBSERVATIONSERIESTYPE: return "ObservationSeriesType"; + case _ECGOBSERVATIONSERIESTYPE: return "ECGObservationSeriesType"; + case REPRESENTATIVEBEAT: return "This Observation Series type contains waveforms of a 'representative beat' (a.k.a. 'median beat' or 'average beat'). The waveform samples are measured in relative time, relative to the beginning of the beat as defined by the Observation Series effective time. The waveforms are not directly acquired from the subject, but rather algorithmically derived from the 'rhythm' waveforms."; + case RHYTHM: return "This Observation type contains ECG 'rhythm' waveforms. The waveform samples are measured in absolute time (a.k.a. 'subject time' or 'effective time'). These waveforms are usually 'raw' with some minimal amount of noise reduction and baseline filtering applied."; + case _PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE: return "Description: Reporting codes that are related to an immunization event."; + case CLSSRM: return "Description: The class room associated with the patient during the immunization event."; + case GRADE: return "Description: The school grade or level the patient was in when immunized."; + case SCHL: return "Description: The school the patient attended when immunized."; + case SCHLDIV: return "Description: The school division or district associated with the patient during the immunization event."; + case TEACHER: return "Description: The patient's teacher when immunized."; + case _POPULATIONINCLUSIONOBSERVATIONTYPE: return "Observation types for specifying criteria used to assert that a subject is included in a particular population."; + case DENEX: return "Criteria which specify subjects who should be removed from the eMeasure population and denominator before determining if numerator criteria are met. Denominator exclusions are used in proportion and ratio measures to help narrow the denominator."; + case DENEXCEP: return "Criteria which specify the removal of a subject, procedure or unit of measurement from the denominator, only if the numerator criteria are not met. Denominator exceptions allow for adjustment of the calculated score for those providers with higher risk populations. Denominator exceptions are used only in proportion eMeasures. They are not appropriate for ratio or continuous variable eMeasures. Denominator exceptions allow for the exercise of clinical judgment and should be specifically defined where capturing the information in a structured manner fits the clinical workflow. Generic denominator exception reasons used in proportion eMeasures fall into three general categories:\r\n\n \n Medical reasons\n Patient (or subject) reasons\n System reasons"; + case DENOM: return "Criteria for specifying the entities to be evaluated by a specific quality measure, based on a shared common set of characteristics (within a specific measurement set to which a given measure belongs). The denominator can be the same as the initial population, or it may be a subset of the initial population to further constrain it for the purpose of the eMeasure. Different measures within an eMeasure set may have different denominators. Continuous Variable eMeasures do not have a denominator, but instead define a measure population."; + case IPOP: return "Criteria for specifying the entities to be evaluated by a specific quality measure, based on a shared common set of characteristics (within a specific measurement set to which a given measure belongs)."; + case IPPOP: return "Criteria for specifying the patients to be evaluated by a specific quality measure, based on a shared common set of characteristics (within a specific measurement set to which a given measure belongs). Details often include information based upon specific age groups, diagnoses, diagnostic and procedure codes, and enrollment periods."; + case MSRPOPL: return "Criteria for specifying\nthe measure population as a narrative description (e.g., all patients seen in the Emergency Department during the measurement period). This is used only in continuous variable eMeasures."; + case MSRPOPLEX: return "Criteria for specifying subjects who should be removed from the eMeasure's Initial Population and Measure Population. Measure Population Exclusions are used in Continuous Variable measures to help narrow the Measure Population before determining the value(s) of the continuous variable(s)."; + case NUMER: return "Criteria for specifying the processes or outcomes expected for each patient, procedure, or other unit of measurement defined in the denominator for proportion measures, or related to (but not directly derived from) the denominator for ratio measures (e.g., a numerator listing the number of central line blood stream infections and a denominator indicating the days per thousand of central line usage in a specific time period)."; + case NUMEX: return "Criteria for specifying instances that should not be included in the numerator data. (e.g., if the number of central line blood stream infections per 1000 catheter days were to exclude infections with a specific bacterium, that bacterium would be listed as a numerator exclusion). Numerator Exclusions are used only in ratio eMeasures."; + case _PREFERENCEOBSERVATIONTYPE: return "Types of observations that can be made about Preferences."; + case PREFSTRENGTH: return "An observation about how important a preference is to the target of the preference."; + case ADVERSEREACTION: return "Indicates that the observation is of an unexpected negative occurrence in the subject suspected to result from the subject's exposure to one or more agents. Observation values would be the symptom resulting from the reaction."; + case ASSERTION: return "Description:Refines classCode OBS to indicate an observation in which observation.value contains a finding or other nominalized statement, where the encoded information in Observation.value is not altered by Observation.code. For instance, observation.code='ASSERTION' and observation.value='fracture of femur present' is an assertion of a clinical finding of femur fracture."; + case CASESER: return "Definition:An observation that provides a characterization of the level of harm to an investigation subject as a result of a reaction or event."; + case CDIO: return "An observation that states whether the disease was likely acquired outside the jurisdiction of observation, and if so, the nature of the inter-jurisdictional relationship.\r\n\n \n OpenIssue: This code could be moved to LOINC if it can be done before there are significant implemenations using it."; + case CRIT: return "An observation representing a clinical judgment as to the worst case result of a future occurrence or the evolution of a current occurrence. It would be based on the severity of past occurrences, the details of what produced the past occurrences, and the life-threatening or organ system threatening potential of the observation type."; + case CTMO: return "An observation that states the mechanism by which disease was acquired by the living subject involved in the public health case.\r\n\n \n OpenIssue: This code could be moved to LOINC if it can be done before there are significant implemenations using it."; + case DX: return "Includes all codes defining types of indications such as diagnosis, symptom and other indications such as contrast agents for lab tests."; + case ADMDX: return "Admitting diagnosis are the diagnoses documented for administrative purposes as the basis for a hospital admission."; + case DISDX: return "Discharge diagnosis are the diagnoses documented for administrative purposes as the time of hospital discharge."; + case INTDX: return "Intermediate diagnoses are those diagnoses documented for administrative purposes during the course of a hospital stay."; + case NOI: return "The type of injury that the injury coding specifies."; + case GISTIER: return "Description: Accuracy determined as per the GIS tier code system."; + case HHOBS: return "Indicates that the observation is of a person’s living situation in a household including the household composition and circumstances."; + case ISSUE: return "There is a clinical issue for the therapy that makes continuation of the therapy inappropriate.\r\n\n \n Open Issue: The definition of this code does not correctly represent the concept space of its specializations (children)"; + case _ACTADMINISTRATIVEDETECTEDISSUECODE: return "Identifies types of detectyed issues for Act class 'ALRT' for the administrative and patient administrative acts domains."; + case _ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE: return "ActAdministrativeAuthorizationDetectedIssueCode"; + case NAT: return "The requesting party has insufficient authorization to invoke the interaction."; + case SUPPRESSED: return "Description: One or more records in the query response have been suppressed due to consent or privacy restrictions."; + case VALIDAT: return "Description:The specified element did not pass business-rule validation."; + case KEY204: return "The ID of the patient, order, etc., was not found. Used for transactions other than additions, e.g. transfer of a non-existent patient."; + case KEY205: return "The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.)."; + case COMPLY: return "There may be an issue with the patient complying with the intentions of the proposed therapy"; + case DUPTHPY: return "The proposed therapy appears to duplicate an existing therapy"; + case DUPTHPCLS: return "Description:The proposed therapy appears to have the same intended therapeutic benefit as an existing therapy, though the specific mechanisms of action vary."; + case DUPTHPGEN: return "Description:The proposed therapy appears to have the same intended therapeutic benefit as an existing therapy and uses the same mechanisms of action as the existing therapy."; + case ABUSE: return "Description:The proposed therapy is frequently misused or abused and therefore should be used with caution and/or monitoring."; + case FRAUD: return "Description:The request is suspected to have a fraudulent basis."; + case PLYDOC: return "A similar or identical therapy was recently ordered by a different practitioner."; + case PLYPHRM: return "This patient was recently supplied a similar or identical therapy from a different pharmacy or supplier."; + case DOSE: return "Proposed dosage instructions for therapy differ from standard practice."; + case DOSECOND: return "Description:Proposed dosage is inappropriate due to patient's medical condition."; + case DOSEDUR: return "Proposed length of therapy differs from standard practice."; + case DOSEDURH: return "Proposed length of therapy is longer than standard practice"; + case DOSEDURHIND: return "Proposed length of therapy is longer than standard practice for the identified indication or diagnosis"; + case DOSEDURL: return "Proposed length of therapy is shorter than that necessary for therapeutic effect"; + case DOSEDURLIND: return "Proposed length of therapy is shorter than standard practice for the identified indication or diagnosis"; + case DOSEH: return "Proposed dosage exceeds standard practice"; + case DOSEHINDA: return "Proposed dosage exceeds standard practice for the patient's age"; + case DOSEHIND: return "High Dose for Indication Alert"; + case DOSEHINDSA: return "Proposed dosage exceeds standard practice for the patient's height or body surface area"; + case DOSEHINDW: return "Proposed dosage exceeds standard practice for the patient's weight"; + case DOSEIVL: return "Proposed dosage interval/timing differs from standard practice"; + case DOSEIVLIND: return "Proposed dosage interval/timing differs from standard practice for the identified indication or diagnosis"; + case DOSEL: return "Proposed dosage is below suggested therapeutic levels"; + case DOSELINDA: return "Proposed dosage is below suggested therapeutic levels for the patient's age"; + case DOSELIND: return "Low Dose for Indication Alert"; + case DOSELINDSA: return "Proposed dosage is below suggested therapeutic levels for the patient's height or body surface area"; + case DOSELINDW: return "Proposed dosage is below suggested therapeutic levels for the patient's weight"; + case MDOSE: return "Description:The maximum quantity of this drug allowed to be administered within a particular time-range (month, year, lifetime) has been reached or exceeded."; + case OBSA: return "Proposed therapy may be inappropriate or contraindicated due to conditions or characteristics of the patient"; + case AGE: return "Proposed therapy may be inappropriate or contraindicated due to patient age"; + case ADALRT: return "Proposed therapy is outside of the standard practice for an adult patient."; + case GEALRT: return "Proposed therapy is outside of standard practice for a geriatric patient."; + case PEALRT: return "Proposed therapy is outside of the standard practice for a pediatric patient."; + case COND: return "Proposed therapy may be inappropriate or contraindicated due to an existing/recent patient condition or diagnosis"; + case HGHT: return ""; + case LACT: return "Proposed therapy may be inappropriate or contraindicated when breast-feeding"; + case PREG: return "Proposed therapy may be inappropriate or contraindicated during pregnancy"; + case WGHT: return ""; + case CREACT: return "Description:Proposed therapy may be inappropriate or contraindicated because of a common but non-patient specific reaction to the product.\r\n\n \n Example:There is no record of a specific sensitivity for the patient, but the presence of the sensitivity is common and therefore caution is warranted."; + case GEN: return "Proposed therapy may be inappropriate or contraindicated due to patient genetic indicators."; + case GEND: return "Proposed therapy may be inappropriate or contraindicated due to patient gender."; + case LAB: return "Proposed therapy may be inappropriate or contraindicated due to recent lab test results"; + case REACT: return "Proposed therapy may be inappropriate or contraindicated based on the potential for a patient reaction to the proposed product"; + case ALGY: return "Proposed therapy may be inappropriate or contraindicated because of a recorded patient allergy to the proposed product. (Allergies are immune based reactions.)"; + case INT: return "Proposed therapy may be inappropriate or contraindicated because of a recorded patient intolerance to the proposed product. (Intolerances are non-immune based sensitivities.)"; + case RREACT: return "Proposed therapy may be inappropriate or contraindicated because of a potential patient reaction to a cross-sensitivity related product."; + case RALG: return "Proposed therapy may be inappropriate or contraindicated because of a recorded patient allergy to a cross-sensitivity related product. (Allergies are immune based reactions.)"; + case RAR: return "Proposed therapy may be inappropriate or contraindicated because of a recorded prior adverse reaction to a cross-sensitivity related product."; + case RINT: return "Proposed therapy may be inappropriate or contraindicated because of a recorded patient intolerance to a cross-sensitivity related product. (Intolerances are non-immune based sensitivities.)"; + case BUS: return "Description:A local business rule relating multiple elements has been violated."; + case CODEINVAL: return "Description:The specified code is not valid against the list of codes allowed for the element."; + case CODEDEPREC: return "Description:The specified code has been deprecated and should no longer be used. Select another code from the code system."; + case FORMAT: return "Description:The element does not follow the formatting or type rules defined for the field."; + case ILLEGAL: return "Description:The request is missing elements or contains elements which cause it to not meet the legal standards for actioning."; + case LENRANGE: return "Description:The length of the data specified falls out of the range defined for the element."; + case LENLONG: return "Description:The length of the data specified is greater than the maximum length defined for the element."; + case LENSHORT: return "Description:The length of the data specified is less than the minimum length defined for the element."; + case MISSCOND: return "Description:The specified element must be specified with a non-null value under certain conditions. In this case, the conditions are true but the element is still missing or null."; + case MISSMAND: return "Description:The specified element is mandatory and was not included in the instance."; + case NODUPS: return "Description:More than one element with the same value exists in the set. Duplicates not permission in this set in a set."; + case NOPERSIST: return "Description: Element in submitted message will not persist in data storage based on detected issue."; + case REPRANGE: return "Description:The number of repeating elements falls outside the range of the allowed number of repetitions."; + case MAXOCCURS: return "Description:The number of repeating elements is above the maximum number of repetitions allowed."; + case MINOCCURS: return "Description:The number of repeating elements is below the minimum number of repetitions allowed."; + case _ACTADMINISTRATIVERULEDETECTEDISSUECODE: return "ActAdministrativeRuleDetectedIssueCode"; + case KEY206: return "Description: Metadata associated with the identification (e.g. name or gender) does not match the identification being verified."; + case OBSOLETE: return "Description: One or more records in the query response have a status of 'obsolete'."; + case _ACTSUPPLIEDITEMDETECTEDISSUECODE: return "Identifies types of detected issues regarding the administration or supply of an item to a patient."; + case _ADMINISTRATIONDETECTEDISSUECODE: return "Administration of the proposed therapy may be inappropriate or contraindicated as proposed"; + case _APPROPRIATENESSDETECTEDISSUECODE: return "AppropriatenessDetectedIssueCode"; + case _INTERACTIONDETECTEDISSUECODE: return "InteractionDetectedIssueCode"; + case FOOD: return "Proposed therapy may interact with certain foods"; + case TPROD: return "Proposed therapy may interact with an existing or recent therapeutic product"; + case DRG: return "Proposed therapy may interact with an existing or recent drug therapy"; + case NHP: return "Proposed therapy may interact with existing or recent natural health product therapy"; + case NONRX: return "Proposed therapy may interact with a non-prescription drug (e.g. alcohol, tobacco, Aspirin)"; + case PREVINEF: return "Definition:The same or similar treatment has previously been attempted with the patient without achieving a positive effect."; + case DACT: return "Description:Proposed therapy may be contraindicated or ineffective based on an existing or recent drug therapy."; + case TIME: return "Description:Proposed therapy may be inappropriate or ineffective based on the proposed start or end time."; + case ALRTENDLATE: return "Definition:Proposed therapy may be inappropriate or ineffective because the end of administration is too close to another planned therapy."; + case ALRTSTRTLATE: return "Definition:Proposed therapy may be inappropriate or ineffective because the start of administration is too late after the onset of the condition."; + case _SUPPLYDETECTEDISSUECODE: return "Supplying the product at this time may be inappropriate or indicate compliance issues with the associated therapy"; + case ALLDONE: return "Definition:The requested action has already been performed and so this request has no effect"; + case FULFIL: return "Definition:The therapy being performed is in some way out of alignment with the requested therapy."; + case NOTACTN: return "Definition:The status of the request being fulfilled has changed such that it is no longer actionable. This may be because the request has expired, has already been completely fulfilled or has been otherwise stopped or disabled. (Not used for 'suspended' orders.)"; + case NOTEQUIV: return "Definition:The therapy being performed is not sufficiently equivalent to the therapy which was requested."; + case NOTEQUIVGEN: return "Definition:The therapy being performed is not generically equivalent (having the identical biological action) to the therapy which was requested."; + case NOTEQUIVTHER: return "Definition:The therapy being performed is not therapeutically equivalent (having the same overall patient effect) to the therapy which was requested."; + case TIMING: return "Definition:The therapy is being performed at a time which diverges from the time the therapy was requested"; + case INTERVAL: return "Definition:The therapy action is being performed outside the bounds of the time period requested"; + case MINFREQ: return "Definition:The therapy action is being performed too soon after the previous occurrence based on the requested frequency"; + case HELD: return "Definition:There should be no actions taken in fulfillment of a request that has been held or suspended."; + case TOOLATE: return "The patient is receiving a subsequent fill significantly later than would be expected based on the amount previously supplied and the therapy dosage instructions"; + case TOOSOON: return "The patient is receiving a subsequent fill significantly earlier than would be expected based on the amount previously supplied and the therapy dosage instructions"; + case HISTORIC: return "Description: While the record was accepted in the repository, there is a more recent version of a record of this type."; + case PATPREF: return "Definition:The proposed therapy goes against preferences or consent constraints recorded in the patient's record."; + case PATPREFALT: return "Definition:The proposed therapy goes against preferences or consent constraints recorded in the patient's record. An alternate therapy meeting those constraints is available."; + case KSUBJ: return "Categorization of types of observation that capture the main clinical knowledge subject which may be a medication, a laboratory test, a disease."; + case KSUBT: return "Categorization of types of observation that capture a knowledge subtopic which might be treatment, etiology, or prognosis."; + case OINT: return "Hypersensitivity resulting in an adverse reaction upon exposure to an agent."; + case ALG: return "Hypersensitivity to an agent caused by an immunologic response to an initial exposure"; + case DALG: return "An allergy to a pharmaceutical product."; + case EALG: return "An allergy to a substance other than a drug or a food. E.g. Latex, pollen, etc."; + case FALG: return "An allergy to a substance generally consumed for nutritional purposes."; + case DINT: return "Hypersensitivity resulting in an adverse reaction upon exposure to a drug."; + case DNAINT: return "Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure"; + case EINT: return "Hypersensitivity resulting in an adverse reaction upon exposure to environmental conditions."; + case ENAINT: return "Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure"; + case FINT: return "Hypersensitivity resulting in an adverse reaction upon exposure to food."; + case FNAINT: return "Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure"; + case NAINT: return "Hypersensitivity to an agent caused by a mechanism other than an immunologic response to an initial exposure"; + case SEV: return "Indicates a subjective evaluation of the criticality associated with another observation."; + case _ROIOVERLAYSHAPE: return "Shape of the region on the object being referenced"; + case CIRCLE: return "A circle defined by two (column,row) pairs. The first point is the center of the circle and the second point is a point on the perimeter of the circle."; + case ELLIPSE: return "An ellipse defined by four (column,row) pairs, the first two points specifying the endpoints of the major axis and the second two points specifying the endpoints of the minor axis."; + case POINT: return "A single point denoted by a single (column,row) pair, or multiple points each denoted by a (column,row) pair."; + case POLY: return "A series of connected line segments with ordered vertices denoted by (column,row) pairs; if the first and last vertices are the same, it is a closed polygon."; + case C: return "Description:Indicates that result data has been corrected."; + case DIET: return "Code set to define specialized/allowed diets"; + case BR: return "A diet exclusively composed of oatmeal, semolina, or rice, to be extremely easy to eat and digest."; + case DM: return "A diet that uses carbohydrates sparingly. Typically with a restriction in daily energy content (e.g. 1600-2000 kcal)."; + case FAST: return "No enteral intake of foot or liquids whatsoever, no smoking. Typically 6 to 8 hours before anesthesia."; + case FORMULA: return "A diet consisting of a formula feeding, either for an infant or an adult, to provide nutrition either orally or through the gastrointestinal tract via tube, catheter or stoma."; + case GF: return "Gluten free diet for celiac disease."; + case LF: return "A diet low in fat, particularly to patients with hepatic diseases."; + case LP: return "A low protein diet for patients with renal failure."; + case LQ: return "A strictly liquid diet, that can be fully absorbed in the intestine, and therefore may not contain fiber. Used before enteral surgeries."; + case LS: return "A diet low in sodium for patients with congestive heart failure and/or renal failure."; + case N: return "A normal diet, i.e. no special preparations or restrictions for medical reasons. This is notwithstanding any preferences the patient might have regarding special foods, such as vegetarian, kosher, etc."; + case NF: return "A no fat diet for acute hepatic diseases."; + case PAF: return "Phenylketonuria diet."; + case PAR: return "Patient is supplied with parenteral nutrition, typically described in terms of i.v. medications."; + case RD: return "A diet that seeks to reduce body fat, typically low energy content (800-1600 kcal)."; + case SCH: return "A diet that avoids ingredients that might cause digestion problems, e.g., avoid excessive fat, avoid too much fiber (cabbage, peas, beans)."; + case SUPPLEMENT: return "A diet that is not intended to be complete but is added to other diets."; + case T: return "This is not really a diet, since it contains little nutritional value, but is essentially just water. Used before coloscopy examinations."; + case VLI: return "Diet with low content of the amino-acids valin, leucin, and isoleucin, for 'maple syrup disease.'"; + case DRUGPRG: return "Definition: A public or government health program that administers and funds coverage for prescription drugs to assist program eligible who meet financial and health status criteria."; + case F: return "Description:Indicates that a result is complete. No further results are to come. This maps to the 'complete' state in the observation result status code."; + case PRLMN: return "Description:Indicates that a result is incomplete. There are further results to come. This maps to the 'active' state in the observation result status code."; + case SECOBS: return "An observation identifying security metadata about an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security metadata are used to name security labels. \r\n\n \n Rationale: According to ISO/TS 22600-3:2009(E) A.9.1.7 SECURITY LABEL MATCHING, Security label matching compares the initiator's clearance to the target's security label. All of the following must be true for authorization to be granted:\r\n\n \n The security policy identifiers shall be identical\n The classification level of the initiator shall be greater than or equal to that of the target (that is, there shall be at least one value in the classification list of the clearance greater than or equal to the classification of the target), and \n For each security category in the target label, there shall be a security category of the same type in the initiator's clearance and the initiator's classification level shall dominate that of the target.\n \n \n Examples: SecurityObservationType security label fields include:\r\n\n \n Confidentiality classification\n Compartment category\n Sensitivity category\n Security mechanisms used to ensure data integrity or to perform authorized data transformation\n Indicators of an IT resource completeness, veracity, reliability, trustworthiness, or provenance.\n \n \n Usage Note: SecurityObservationType codes designate security label field types, which are valued with an applicable SecurityObservationValue code as the 'security label tag'."; + case SECCATOBS: return "Type of security metadata observation made about the category of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security category metadata is defined by ISO/IEC 2382-8:1998(E/F)/ T-REC-X.812-1995 as: 'A nonhierarchical grouping of sensitive information used to control access to data more finely than with hierarchical security classification alone.'\r\n\n \n Rationale: A security category observation supports requirement to specify the type of IT resource to facilitate application of appropriate levels of information security according to a range of levels of impact or consequences that might result from the unauthorized disclosure, modification, or use of the information or information system. A resource is assigned to a specific category of information (e.g., privacy, medical, proprietary, financial, investigative, contractor sensitive, security management) defined by an organization or in some instances, by a specific law, Executive Order, directive, policy, or regulation. [FIPS 199]\r\n\n \n Examples: Types of security categories include:\r\n\n \n Compartment: A division of data into isolated blocks with separate security controls for the purpose of reducing risk. (ISO 2382-8). A security label tag that 'segments' an IT resource by indicating that access and use is restricted to members of a defined community or project. (HL7 Healthcare Classification System) \n Sensitivity: The characteristic of an IT resource which implies its value or importance and may include its vulnerability. (ISO 7492-2) Privacy metadata for information perceived as undesirable to share. (HL7 Healthcare Classification System)"; + case SECCLASSOBS: return "Type of security metadata observation made about the classification of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security classification is defined by ISO/IEC 2382-8:1998(E/F)/ T-REC-X.812-1995 as: 'The determination of which specific degree of protection against access the data or information requires, together with a designation of that degree of protection.' Security classification metadata is based on an analysis of applicable policies and the risk of financial, reputational, or other harm that could result from unauthorized disclosure.\r\n\n \n Rationale: A security classification observation may indicate that the confidentiality level indicated by an Act or Role confidentiality attribute has been overridden by the entity responsible for ascribing the SecurityClassificationObservationValue. This supports the business requirement for increasing or decreasing the level of confidentiality (classification or declassification) based on parameters beyond the original assignment of an Act or Role confidentiality.\r\n\n \n Examples: Types of security classification include: HL7 Confidentiality Codes such as very restricted, unrestricted, and normal. Intelligence community examples include top secret, secret, and confidential.\r\n\n \n Usage Note: Security classification observation type codes designate security label field types, which are valued with an applicable SecurityClassificationObservationValue code as the 'security label tag'."; + case SECCONOBS: return "Type of security metadata observation made about the control of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security control metadata convey instructions to users and receivers for secure distribution, transmission, and storage; dictate obligations or mandated actions; specify any action prohibited by refrain policy such as dissemination controls; and stipulate the permissible purpose of use of an IT resource. \r\n\n \n Rationale: A security control observation supports requirement to specify applicable management, operational, and technical controls (i.e., safeguards or countermeasures) prescribed for an information system to protect the confidentiality, integrity, and availability of the system and its information. [FIPS 199]\r\n\n \n Examples: Types of security control metadata include: \r\n\n \n handling caveats\n dissemination controls\n obligations\n refrain policies\n purpose of use constraints"; + case SECINTOBS: return "Type of security metadata observation made about the integrity of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions.\r\n\n \n Rationale: A security integrity observation supports the requirement to guard against improper information modification or destruction, and includes ensuring information non-repudiation and authenticity. (44 U.S.C., SEC. 3542)\r\n\n \n Examples: Types of security integrity metadata include: \r\n\n \n Integrity status, which indicates the completeness or workflow status of an IT resource (data, information object, service, or system capability)\n Integrity confidence, which indicates the reliability and trustworthiness of an IT resource\n Integrity control, which indicates pertinent handling caveats, obligations, refrain policies, and purpose of use for the resource\n Data integrity, which indicate the security mechanisms used to ensure that the accuracy and consistency are preserved regardless of changes made (ISO/IEC DIS 2382-8)\n Alteration integrity, which indicate the security mechanisms used for authorized transformations of the resource\n Integrity provenance, which indicates the entity responsible for a report or assertion relayed 'second-hand' about an IT resource"; + case SECALTINTOBS: return "Type of security metadata observation made about the alteration integrity of an IT resource (data, information object, service, or system capability), which indicates the mechanism used for authorized transformations of the resource.\r\n\n \n Examples: Types of security alteration integrity observation metadata, which may value the observation with a code used to indicate the mechanism used for authorized transformation of an IT resource, including: \r\n\n \n translation\n syntactic transformation\n semantic mapping\n redaction\n masking\n pseudonymization\n anonymization"; + case SECDATINTOBS: return "Type of security metadata observation made about the data integrity of an IT resource (data, information object, service, or system capability), which indicates the security mechanism used to preserve resource accuracy and consistency. Data integrity is defined by ISO 22600-23.3.21 as: 'The property that data has not been altered or destroyed in an unauthorized manner', and by ISO/IEC 2382-8: The property of data whose accuracy and consistency are preserved regardless of changes made.'\r\n\n \n Examples: Types of security data integrity observation metadata, which may value the observation, include cryptographic hash function and digital signature."; + case SECINTCONOBS: return "Type of security metadata observation made about the integrity confidence of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions.\r\n\n \n Examples: Types of security integrity confidence observation metadata, which may value the observation, include highly reliable, uncertain reliability, and not reliable.\r\n\n \n Usage Note: A security integrity confidence observation on an Act may indicate that a valued Act.uncertaintycode attribute has been overridden by the entity responsible for ascribing the SecurityIntegrityConfidenceObservationValue. This supports the business requirements for increasing or decreasing the assessment of the reliability or trustworthiness of an IT resource based on parameters beyond the original assignment of an Act statement level of uncertainty."; + case SECINTPRVOBS: return "Type of security metadata observation made about the provenance integrity of an IT resource (data, information object, service, or system capability), which indicates the lifecycle completeness of an IT resource in terms of workflow status such as its creation, modification, suspension, and deletion; locations in which the resource has been collected or archived, from which it may be retrieved, and the history of its distribution and disclosure. Integrity provenance metadata about an IT resource may be used to assess its veracity, reliability, and trustworthiness.\r\n\n \n Examples: Types of security integrity provenance observation metadata, which may value the observation about an IT resource, include: \r\n\n \n completeness or workflow status, such as authentication\n the entity responsible for original authoring or informing about an IT resource\n the entity responsible for a report or assertion about an IT resource relayed “second-handâ€?\n the entity responsible for excerpting, transforming, or compiling an IT resource"; + case SECINTPRVABOBS: return "Type of security metadata observation made about the integrity provenance of an IT resource (data, information object, service, or system capability), which indicates the entity that made assertions about the resource. The asserting entity may not be the original informant about the resource.\r\n\n \n Examples: Types of security integrity provenance asserted by observation metadata, which may value the observation, including: \r\n\n \n assertions about an IT resource by a patient\n assertions about an IT resource by a clinician\n assertions about an IT resource by a device"; + case SECINTPRVRBOBS: return "Type of security metadata observation made about the integrity provenance of an IT resource (data, information object, service, or system capability), which indicates the entity that reported the existence of the resource. The reporting entity may not be the original author of the resource.\r\n\n \n Examples: Types of security integrity provenance reported by observation metadata, which may value the observation, include: \r\n\n \n reports about an IT resource by a patient\n reports about an IT resource by a clinician\n reports about an IT resource by a device"; + case SECINTSTOBS: return "Type of security metadata observation made about the integrity status of an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Indicates the completeness of an IT resource in terms of workflow status, which may impact users that are authorized to access and use the resource.\r\n\n \n Examples: Types of security integrity status observation metadata, which may value the observation, include codes from the HL7 DocumentCompletion code system such as legally authenticated, in progress, and incomplete."; + case SECTRSTOBS: return "An observation identifying trust metadata about an IT resource (data, information object, service, or system capability), which may be used as a trust attribute to populate a computable trust policy, trust credential, trust assertion, or trust label field in a security label or trust policy, which are principally used for authentication, authorization, and access control decisions."; + case TRSTACCRDOBS: return "Type of security metadata observation made about the formal declaration by an authority or neutral third party that validates the technical, security, trust, and business practice conformance of Trust Agents to facilitate security, interoperability, and trust among participants within a security domain or trust framework."; + case TRSTAGREOBS: return "Type of security metadata observation made about privacy and security requirements with which a security domain must comply. [ISO IEC 10181-1]"; + case TRSTCERTOBS: return "Type of security metadata observation made about a set of security-relevant data issued by a security authority or trusted third party, together with security information which is used to provide the integrity and data origin authentication services for an IT resource (data, information object, service, or system capability). [Based on ISO IEC 10181-1]\r\n\n \n For example,\n \r\n\n \n A Certificate Policy (CP), which is a named set of rules that indicates the applicability of a certificate to a particular community and/or class of application with common security requirements. For example, a particular Certificate Policy might indicate the applicability of a type of certificate to the authentication of electronic data interchange transactions for the trading of goods within a given price range. [Trust Service Principles and Criteria for Certification Authorities Version 2.0 March 2011 Copyright 2011 by Canadian Institute of Chartered Accountants.\n A Certificate Practice Statement (CSP), which is a statement of the practices which an Authority employs in issuing and managing certificates. [Trust Service Principles and Criteria for Certification Authorities Version 2.0 March 2011 Copyright 2011 by Canadian Institute of Chartered Accountants.]"; + case TRSTFWKOBS: return "Type of security metadata observation made about a complete set of contracts, regulations or commitments that enable participating actors to rely on certain assertions by other actors to fulfill their information security requirements. [Kantara Initiative]"; + case TRSTLOAOBS: return "Type of security metadata observation made about the digital quality or reliability of a trust assertion, activity, capability, information exchange, mechanism, process, or protocol."; + case TRSTMECOBS: return "Type of security metadata observation made about a security architecture system component that supports enforcement of security policies."; + case SUBSIDFFS: return "Definition: A government health program that provides coverage on a fee for service basis for health services to persons meeting eligibility criteria such as income, location of residence, access to other coverages, health condition, and age, the cost of which is to some extent subsidized by public funds.\r\n\n \n Discussion: The structure and business processes for underwriting and administering a subsidized fee for service program is further specified by the Underwriter and Payer Role.class and Role.code."; + case WRKCOMP: return "Definition: Government mandated program providing coverage, disability income, and vocational rehabilitation for injuries sustained in the work place or in the course of employment. Employers may either self-fund the program, purchase commercial coverage, or pay a premium to a government entity that administers the program. Employees may be required to pay premiums toward the cost of coverage as well."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACTACCOUNTCODE: return "ActAccountCode"; + case ACCTRECEIVABLE: return "account receivable"; + case CASH: return "Cash"; + case CC: return "credit card"; + case AE: return "American Express"; + case DN: return "Diner's Club"; + case DV: return "Discover Card"; + case MC: return "Master Card"; + case V: return "Visa"; + case PBILLACCT: return "patient billing account"; + case _ACTADJUDICATIONCODE: return "ActAdjudicationCode"; + case _ACTADJUDICATIONGROUPCODE: return "ActAdjudicationGroupCode"; + case CONT: return "contract"; + case DAY: return "day"; + case LOC: return "location"; + case MONTH: return "month"; + case PERIOD: return "period"; + case PROV: return "provider"; + case WEEK: return "week"; + case YEAR: return "year"; + case AA: return "adjudicated with adjustments"; + case ANF: return "adjudicated with adjustments and no financial impact"; + case AR: return "adjudicated as refused"; + case AS: return "adjudicated as submitted"; + case _ACTADJUDICATIONRESULTACTIONCODE: return "ActAdjudicationResultActionCode"; + case DISPLAY: return "Display"; + case FORM: return "Print on Form"; + case _ACTBILLABLEMODIFIERCODE: return "ActBillableModifierCode"; + case CPTM: return "CPT modifier codes"; + case HCPCSA: return "HCPCS Level II and Carrier-assigned"; + case _ACTBILLINGARRANGEMENTCODE: return "ActBillingArrangementCode"; + case BLK: return "block funding"; + case CAP: return "capitation funding"; + case CONTF: return "contract funding"; + case FINBILL: return "financial"; + case ROST: return "roster funding"; + case SESS: return "sessional funding"; + case _ACTBOUNDEDROICODE: return "ActBoundedROICode"; + case ROIFS: return "fully specified ROI"; + case ROIPS: return "partially specified ROI"; + case _ACTCAREPROVISIONCODE: return "act care provision"; + case _ACTCREDENTIALEDCARECODE: return "act credentialed care"; + case _ACTCREDENTIALEDCAREPROVISIONPERSONCODE: return "act credentialed care provision peron"; + case CACC: return "certified anatomic pathology and clinical pathology care"; + case CAIC: return "certified allergy and immunology care"; + case CAMC: return "certified aerospace medicine care"; + case CANC: return "certified anesthesiology care"; + case CAPC: return "certified anatomic pathology care"; + case CBGC: return "certified clinical biochemical genetics care"; + case CCCC: return "certified clinical cytogenetics care"; + case CCGC: return "certified clinical genetics (M.D.) care"; + case CCPC: return "certified clinical pathology care"; + case CCSC: return "certified colon and rectal surgery care"; + case CDEC: return "certified dermatology care"; + case CDRC: return "certified diagnostic radiology care"; + case CEMC: return "certified emergency medicine care"; + case CFPC: return "certified family practice care"; + case CIMC: return "certified internal medicine care"; + case CMGC: return "certified clinical molecular genetics care"; + case CNEC: return "certified neurology care"; + case CNMC: return "certified nuclear medicine care"; + case CNQC: return "certified neurology with special qualifications in child neurology care"; + case CNSC: return "certified neurological surgery care"; + case COGC: return "certified obstetrics and gynecology care"; + case COMC: return "certified occupational medicine care"; + case COPC: return "certified ophthalmology care"; + case COSC: return "certified orthopaedic surgery care"; + case COTC: return "certified otolaryngology care"; + case CPEC: return "certified pediatrics care"; + case CPGC: return "certified Ph.D. medical genetics care"; + case CPHC: return "certified public health and general preventive medicine care"; + case CPRC: return "certified physical medicine and rehabilitation care"; + case CPSC: return "certified plastic surgery care"; + case CPYC: return "certified psychiatry care"; + case CROC: return "certified radiation oncology care"; + case CRPC: return "certified radiological physics care"; + case CSUC: return "certified surgery care"; + case CTSC: return "certified thoracic surgery care"; + case CURC: return "certified urology care"; + case CVSC: return "certified vascular surgery care"; + case LGPC: return "licensed general physician care"; + case _ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE: return "act credentialed care provision program"; + case AALC: return "accredited assisted living care"; + case AAMC: return "accredited ambulatory care"; + case ABHC: return "accredited behavioral health care"; + case ACAC: return "accredited critical access hospital care"; + case ACHC: return "accredited hospital care"; + case AHOC: return "accredited home care"; + case ALTC: return "accredited long term care"; + case AOSC: return "accredited office-based surgery care"; + case CACS: return "certified acute coronary syndrome care"; + case CAMI: return "certified acute myocardial infarction care"; + case CAST: return "certified asthma care"; + case CBAR: return "certified bariatric surgery care"; + case CCAD: return "certified coronary artery disease care"; + case CCAR: return "certified cardiac care"; + case CDEP: return "certified depression care"; + case CDGD: return "certified digestive/gastrointestinal disorders care"; + case CDIA: return "certified diabetes care"; + case CEPI: return "certified epilepsy care"; + case CFEL: return "certified frail elderly care"; + case CHFC: return "certified heart failure care"; + case CHRO: return "certified high risk obstetrics care"; + case CHYP: return "certified hyperlipidemia care"; + case CMIH: return "certified migraine headache care"; + case CMSC: return "certified multiple sclerosis care"; + case COJR: return "certified orthopedic joint replacement care"; + case CONC: return "certified oncology care"; + case COPD: return "certified chronic obstructive pulmonary disease care"; + case CORT: return "certified organ transplant care"; + case CPAD: return "certified parkinsons disease care"; + case CPND: return "certified pneumonia disease care"; + case CPST: return "certified primary stroke center care"; + case CSDM: return "certified stroke disease management care"; + case CSIC: return "certified sickle cell care"; + case CSLD: return "certified sleep disorders care"; + case CSPT: return "certified spine treatment care"; + case CTBU: return "certified trauma/burn center care"; + case CVDC: return "certified vascular diseases care"; + case CWMA: return "certified wound management care"; + case CWOH: return "certified women's health care"; + case _ACTENCOUNTERCODE: return "ActEncounterCode"; + case AMB: return "ambulatory"; + case EMER: return "emergency"; + case FLD: return "field"; + case HH: return "home health"; + case IMP: return "inpatient encounter"; + case ACUTE: return "inpatient acute"; + case NONAC: return "inpatient non-acute"; + case PRENC: return "pre-admission"; + case SS: return "short stay"; + case VR: return "virtual"; + case _ACTMEDICALSERVICECODE: return "ActMedicalServiceCode"; + case ALC: return "Alternative Level of Care"; + case CARD: return "Cardiology"; + case CHR: return "Chronic"; + case DNTL: return "Dental"; + case DRGRHB: return "Drug Rehab"; + case GENRL: return "General"; + case MED: return "Medical"; + case OBS: return "Obstetrics"; + case ONC: return "Oncology"; + case PALL: return "Palliative"; + case PED: return "Pediatrics"; + case PHAR: return "Pharmaceutical"; + case PHYRHB: return "Physical Rehab"; + case PSYCH: return "Psychiatric"; + case SURG: return "Surgical"; + case _ACTCLAIMATTACHMENTCATEGORYCODE: return "ActClaimAttachmentCategoryCode"; + case AUTOATTCH: return "auto attachment"; + case DOCUMENT: return "document"; + case HEALTHREC: return "health record"; + case IMG: return "image attachment"; + case LABRESULTS: return "lab results"; + case MODEL: return "model"; + case WIATTCH: return "work injury report attachment"; + case XRAY: return "x-ray"; + case _ACTCONSENTTYPE: return "ActConsentType"; + case ICOL: return "information collection"; + case IDSCL: return "information disclosure"; + case INFA: return "information access"; + case INFAO: return "access only"; + case INFASO: return "access and save only"; + case IRDSCL: return "information redisclosure"; + case RESEARCH: return "research information access"; + case RSDID: return "de-identified information access"; + case RSREID: return "re-identifiable information access"; + case _ACTCONTAINERREGISTRATIONCODE: return "ActContainerRegistrationCode"; + case ID: return "Identified"; + case IP: return "In Position"; + case L: return "Left Equipment"; + case M: return "Missing"; + case O: return "In Process"; + case R: return "Process Completed"; + case X: return "Container Unavailable"; + case _ACTCONTROLVARIABLE: return "ActControlVariable"; + case AUTO: return "auto-repeat permission"; + case ENDC: return "endogenous content"; + case REFLEX: return "reflex permission"; + case _ACTCOVERAGECONFIRMATIONCODE: return "ActCoverageConfirmationCode"; + case _ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE: return "ActCoverageAuthorizationConfirmationCode"; + case AUTH: return "Authorized"; + case NAUTH: return "Not Authorized"; + case _ACTCOVERAGELIMITCODE: return "ActCoverageLimitCode"; + case _ACTCOVERAGEQUANTITYLIMITCODE: return "ActCoverageQuantityLimitCode"; + case COVPRD: return "coverage period"; + case LFEMX: return "life time maximum"; + case NETAMT: return "Net Amount"; + case PRDMX: return "period maximum"; + case UNITPRICE: return "Unit Price"; + case UNITQTY: return "Unit Quantity"; + case COVMX: return "coverage maximum"; + case _ACTCOVERAGETYPECODE: return "ActCoverageTypeCode"; + case _ACTINSURANCEPOLICYCODE: return "ActInsurancePolicyCode"; + case EHCPOL: return "extended healthcare"; + case HSAPOL: return "health spending account"; + case AUTOPOL: return "automobile"; + case COL: return "collision coverage policy"; + case UNINSMOT: return "uninsured motorist policy"; + case PUBLICPOL: return "public healthcare"; + case DENTPRG: return "dental program"; + case DISEASEPRG: return "public health program"; + case CANPRG: return "women's cancer detection program"; + case ENDRENAL: return "end renal program"; + case HIVAIDS: return "HIV-AIDS program"; + case MANDPOL: return "mandatory health program"; + case MENTPRG: return "mental health program"; + case SAFNET: return "safety net clinic program"; + case SUBPRG: return "substance use program"; + case SUBSIDIZ: return "subsidized health program"; + case SUBSIDMC: return "subsidized managed care program"; + case SUBSUPP: return "subsidized supplemental health program"; + case WCBPOL: return "worker's compensation"; + case _ACTINSURANCETYPECODE: return "ActInsuranceTypeCode"; + case _ACTHEALTHINSURANCETYPECODE: return "ActHealthInsuranceTypeCode"; + case DENTAL: return "dental care policy"; + case DISEASE: return "disease specific policy"; + case DRUGPOL: return "drug policy"; + case HIP: return "health insurance plan policy"; + case LTC: return "long term care policy"; + case MCPOL: return "managed care policy"; + case POS: return "point of service policy"; + case HMO: return "health maintenance organization policy"; + case PPO: return "preferred provider organization policy"; + case MENTPOL: return "mental health policy"; + case SUBPOL: return "substance use policy"; + case VISPOL: return "vision care policy"; + case DIS: return "disability insurance policy"; + case EWB: return "employee welfare benefit plan policy"; + case FLEXP: return "flexible benefit plan policy"; + case LIFE: return "life insurance policy"; + case ANNU: return "annuity policy"; + case TLIFE: return "term life insurance policy"; + case ULIFE: return "universal life insurance policy"; + case PNC: return "property and casualty insurance policy"; + case REI: return "reinsurance policy"; + case SURPL: return "surplus line insurance policy"; + case UMBRL: return "umbrella liability insurance policy"; + case _ACTPROGRAMTYPECODE: return "ActProgramTypeCode"; + case CHAR: return "charity program"; + case CRIME: return "crime victim program"; + case EAP: return "employee assistance program"; + case GOVEMP: return "government employee health program"; + case HIRISK: return "high risk pool program"; + case IND: return "indigenous peoples health program"; + case MILITARY: return "military health program"; + case RETIRE: return "retiree health program"; + case SOCIAL: return "social service program"; + case VET: return "veteran health program"; + case _ACTDETECTEDISSUEMANAGEMENTCODE: return "ActDetectedIssueManagementCode"; + case _ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE: return "ActAdministrativeDetectedIssueManagementCode"; + case _AUTHORIZATIONISSUEMANAGEMENTCODE: return "Authorization Issue Management Code"; + case EMAUTH: return "emergency authorization override"; + case _21: return "authorization confirmed"; + case _1: return "Therapy Appropriate"; + case _19: return "Consulted Supplier"; + case _2: return "Assessed Patient"; + case _22: return "appropriate indication or diagnosis"; + case _23: return "prior therapy documented"; + case _3: return "Patient Explanation"; + case _4: return "Consulted Other Source"; + case _5: return "Consulted Prescriber"; + case _6: return "Prescriber Declined Change"; + case _7: return "Interacting Therapy No Longer Active/Planned"; + case _14: return "Supply Appropriate"; + case _15: return "Replacement"; + case _16: return "Vacation Supply"; + case _17: return "Weekend Supply"; + case _18: return "Leave of Absence"; + case _20: return "additional quantity on separate dispense"; + case _8: return "Other Action Taken"; + case _10: return "Provided Patient Education"; + case _11: return "Added Concurrent Therapy"; + case _12: return "Temporarily Suspended Concurrent Therapy"; + case _13: return "Stopped Concurrent Therapy"; + case _9: return "Instituted Ongoing Monitoring Program"; + case _ACTEXPOSURECODE: return "ActExposureCode"; + case CHLDCARE: return "Day care - Child care Interaction"; + case CONVEYNC: return "Common Conveyance Interaction"; + case HLTHCARE: return "Health Care Interaction - Not Patient Care"; + case HOMECARE: return "Care Giver Interaction"; + case HOSPPTNT: return "Hospital Patient Interaction"; + case HOSPVSTR: return "Hospital Visitor Interaction"; + case HOUSEHLD: return "Household Interaction"; + case INMATE: return "Inmate Interaction"; + case INTIMATE: return "Intimate Interaction"; + case LTRMCARE: return "Long Term Care Facility Interaction"; + case PLACE: return "Common Space Interaction"; + case PTNTCARE: return "Health Care Interaction - Patient Care"; + case SCHOOL2: return "School Interaction"; + case SOCIAL2: return "Social/Extended Family Interaction"; + case SUBSTNCE: return "Common Substance Interaction"; + case TRAVINT: return "Common Travel Interaction"; + case WORK2: return "Work Interaction"; + case _ACTFINANCIALTRANSACTIONCODE: return "ActFinancialTransactionCode"; + case CHRG: return "Standard Charge"; + case REV: return "Standard Charge Reversal"; + case _ACTINCIDENTCODE: return "ActIncidentCode"; + case MVA: return "Motor vehicle accident"; + case SCHOOL: return "School Accident"; + case SPT: return "Sporting Accident"; + case WPA: return "Workplace accident"; + case _ACTINFORMATIONACCESSCODE: return "ActInformationAccessCode"; + case ACADR: return "adverse drug reaction access"; + case ACALL: return "all access"; + case ACALLG: return "allergy access"; + case ACCONS: return "informational consent access"; + case ACDEMO: return "demographics access"; + case ACDI: return "diagnostic imaging access"; + case ACIMMUN: return "immunization access"; + case ACLAB: return "lab test result access"; + case ACMED: return "medication access"; + case ACMEDC: return "medical condition access"; + case ACMEN: return "mental health access"; + case ACOBS: return "common observations access"; + case ACPOLPRG: return "policy or program information access"; + case ACPROV: return "provider information access"; + case ACPSERV: return "professional service access"; + case ACSUBSTAB: return "substance abuse access"; + case _ACTINFORMATIONACCESSCONTEXTCODE: return "ActInformationAccessContextCode"; + case INFAUT: return "authorized information transfer"; + case INFCON: return "after explicit consent"; + case INFCRT: return "only on court order"; + case INFDNG: return "only if danger to others"; + case INFEMER: return "only in an emergency"; + case INFPWR: return "only if public welfare risk"; + case INFREG: return "regulatory information transfer"; + case _ACTINFORMATIONCATEGORYCODE: return "ActInformationCategoryCode"; + case ALLCAT: return "all categories"; + case ALLGCAT: return "allergy category"; + case ARCAT: return "adverse drug reaction category"; + case COBSCAT: return "common observation category"; + case DEMOCAT: return "demographics category"; + case DICAT: return "diagnostic image category"; + case IMMUCAT: return "immunization category"; + case LABCAT: return "lab test category"; + case MEDCCAT: return "medical condition category"; + case MENCAT: return "mental health category"; + case PSVCCAT: return "professional service category"; + case RXCAT: return "medication category"; + case _ACTINVOICEELEMENTCODE: return "ActInvoiceElementCode"; + case _ACTINVOICEADJUDICATIONPAYMENTCODE: return "ActInvoiceAdjudicationPaymentCode"; + case _ACTINVOICEADJUDICATIONPAYMENTGROUPCODE: return "ActInvoiceAdjudicationPaymentGroupCode"; + case ALEC: return "alternate electronic"; + case BONUS: return "bonus"; + case CFWD: return "carry forward adjusment"; + case EDU: return "education fees"; + case EPYMT: return "early payment fee"; + case GARN: return "garnishee"; + case INVOICE: return "submitted invoice"; + case PINV: return "paper invoice"; + case PPRD: return "prior period adjustment"; + case PROA: return "professional association deduction"; + case RECOV: return "recovery"; + case RETRO: return "retro adjustment"; + case TRAN: return "transaction fee"; + case _ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE: return "ActInvoiceAdjudicationPaymentSummaryCode"; + case INVTYPE: return "invoice type"; + case PAYEE: return "payee"; + case PAYOR: return "payor"; + case SENDAPP: return "sending application"; + case _ACTINVOICEDETAILCODE: return "ActInvoiceDetailCode"; + case _ACTINVOICEDETAILCLINICALPRODUCTCODE: return "ActInvoiceDetailClinicalProductCode"; + case UNSPSC: return "United Nations Standard Products and Services Classification"; + case _ACTINVOICEDETAILDRUGPRODUCTCODE: return "ActInvoiceDetailDrugProductCode"; + case GTIN: return "Global Trade Item Number"; + case UPC: return "Universal Product Code"; + case _ACTINVOICEDETAILGENERICCODE: return "ActInvoiceDetailGenericCode"; + case _ACTINVOICEDETAILGENERICADJUDICATORCODE: return "ActInvoiceDetailGenericAdjudicatorCode"; + case COIN: return "coinsurance"; + case COPAYMENT: return "patient co-pay"; + case DEDUCTIBLE: return "deductible"; + case PAY: return "payment"; + case SPEND: return "spend down"; + case _ACTINVOICEDETAILGENERICMODIFIERCODE: return "ActInvoiceDetailGenericModifierCode"; + case AFTHRS: return "non-normal hours"; + case ISOL: return "isolation allowance"; + case OOO: return "out of office"; + case _ACTINVOICEDETAILGENERICPROVIDERCODE: return "ActInvoiceDetailGenericProviderCode"; + case CANCAPT: return "cancelled appointment"; + case DSC: return "discount"; + case ESA: return "extraordinary service assessment"; + case FFSTOP: return "fee for service top off"; + case FNLFEE: return "final fee"; + case FRSTFEE: return "first fee"; + case MARKUP: return "markup or up-charge"; + case MISSAPT: return "missed appointment"; + case PERFEE: return "periodic fee"; + case PERMBNS: return "performance bonus"; + case RESTOCK: return "restocking fee"; + case TRAVEL: return "travel"; + case URGENT: return "urgent"; + case _ACTINVOICEDETAILTAXCODE: return "ActInvoiceDetailTaxCode"; + case FST: return "federal sales tax"; + case HST: return "harmonized sales Tax"; + case PST: return "provincial/state sales tax"; + case _ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE: return "ActInvoiceDetailPreferredAccommodationCode"; + case _ACTENCOUNTERACCOMMODATIONCODE: return "ActEncounterAccommodationCode"; + case _HL7ACCOMMODATIONCODE: return "HL7AccommodationCode"; + case I: return "Isolation"; + case P: return "Private"; + case S: return "Suite"; + case SP: return "Semi-private"; + case W: return "Ward"; + case _ACTINVOICEGROUPCODE: return "ActInvoiceGroupCode"; + case _ACTINVOICEINTERGROUPCODE: return "ActInvoiceInterGroupCode"; + case CPNDDRGING: return "compound drug invoice group"; + case CPNDINDING: return "compound ingredient invoice group"; + case CPNDSUPING: return "compound supply invoice group"; + case DRUGING: return "drug invoice group"; + case FRAMEING: return "frame invoice group"; + case LENSING: return "lens invoice group"; + case PRDING: return "product invoice group"; + case _ACTINVOICEROOTGROUPCODE: return "ActInvoiceRootGroupCode"; + case CPINV: return "clinical product invoice"; + case CSINV: return "clinical service invoice"; + case CSPINV: return "clinical service and product"; + case FININV: return "financial invoice"; + case OHSINV: return "oral health service"; + case PAINV: return "preferred accommodation invoice"; + case RXCINV: return "Rx compound invoice"; + case RXDINV: return "Rx dispense invoice"; + case SBFINV: return "sessional or block fee invoice"; + case VRXINV: return "vision dispense invoice"; + case _ACTINVOICEELEMENTSUMMARYCODE: return "ActInvoiceElementSummaryCode"; + case _INVOICEELEMENTADJUDICATED: return "InvoiceElementAdjudicated"; + case ADNFPPELAT: return "adjud. nullified prior-period electronic amount"; + case ADNFPPELCT: return "adjud. nullified prior-period electronic count"; + case ADNFPPMNAT: return "adjud. nullified prior-period manual amount"; + case ADNFPPMNCT: return "adjud. nullified prior-period manual count"; + case ADNFSPELAT: return "adjud. nullified same-period electronic amount"; + case ADNFSPELCT: return "adjud. nullified same-period electronic count"; + case ADNFSPMNAT: return "adjud. nullified same-period manual amount"; + case ADNFSPMNCT: return "adjud. nullified same-period manual count"; + case ADNPPPELAT: return "adjud. non-payee payable prior-period electronic amount"; + case ADNPPPELCT: return "adjud. non-payee payable prior-period electronic count"; + case ADNPPPMNAT: return "adjud. non-payee payable prior-period manual amount"; + case ADNPPPMNCT: return "adjud. non-payee payable prior-period manual count"; + case ADNPSPELAT: return "adjud. non-payee payable same-period electronic amount"; + case ADNPSPELCT: return "adjud. non-payee payable same-period electronic count"; + case ADNPSPMNAT: return "adjud. non-payee payable same-period manual amount"; + case ADNPSPMNCT: return "adjud. non-payee payable same-period manual count"; + case ADPPPPELAT: return "adjud. payee payable prior-period electronic amount"; + case ADPPPPELCT: return "adjud. payee payable prior-period electronic count"; + case ADPPPPMNAT: return "adjud. payee payable prior-period manual amout"; + case ADPPPPMNCT: return "adjud. payee payable prior-period manual count"; + case ADPPSPELAT: return "adjud. payee payable same-period electronic amount"; + case ADPPSPELCT: return "adjud. payee payable same-period electronic count"; + case ADPPSPMNAT: return "adjud. payee payable same-period manual amount"; + case ADPPSPMNCT: return "adjud. payee payable same-period manual count"; + case ADRFPPELAT: return "adjud. refused prior-period electronic amount"; + case ADRFPPELCT: return "adjud. refused prior-period electronic count"; + case ADRFPPMNAT: return "adjud. refused prior-period manual amount"; + case ADRFPPMNCT: return "adjud. refused prior-period manual count"; + case ADRFSPELAT: return "adjud. refused same-period electronic amount"; + case ADRFSPELCT: return "adjud. refused same-period electronic count"; + case ADRFSPMNAT: return "adjud. refused same-period manual amount"; + case ADRFSPMNCT: return "adjud. refused same-period manual count"; + case _INVOICEELEMENTPAID: return "InvoiceElementPaid"; + case PDNFPPELAT: return "paid nullified prior-period electronic amount"; + case PDNFPPELCT: return "paid nullified prior-period electronic count"; + case PDNFPPMNAT: return "paid nullified prior-period manual amount"; + case PDNFPPMNCT: return "paid nullified prior-period manual count"; + case PDNFSPELAT: return "paid nullified same-period electronic amount"; + case PDNFSPELCT: return "paid nullified same-period electronic count"; + case PDNFSPMNAT: return "paid nullified same-period manual amount"; + case PDNFSPMNCT: return "paid nullified same-period manual count"; + case PDNPPPELAT: return "paid non-payee payable prior-period electronic amount"; + case PDNPPPELCT: return "paid non-payee payable prior-period electronic count"; + case PDNPPPMNAT: return "paid non-payee payable prior-period manual amount"; + case PDNPPPMNCT: return "paid non-payee payable prior-period manual count"; + case PDNPSPELAT: return "paid non-payee payable same-period electronic amount"; + case PDNPSPELCT: return "paid non-payee payable same-period electronic count"; + case PDNPSPMNAT: return "paid non-payee payable same-period manual amount"; + case PDNPSPMNCT: return "paid non-payee payable same-period manual count"; + case PDPPPPELAT: return "paid payee payable prior-period electronic amount"; + case PDPPPPELCT: return "paid payee payable prior-period electronic count"; + case PDPPPPMNAT: return "paid payee payable prior-period manual amount"; + case PDPPPPMNCT: return "paid payee payable prior-period manual count"; + case PDPPSPELAT: return "paid payee payable same-period electronic amount"; + case PDPPSPELCT: return "paid payee payable same-period electronic count"; + case PDPPSPMNAT: return "paid payee payable same-period manual amount"; + case PDPPSPMNCT: return "paid payee payable same-period manual count"; + case _INVOICEELEMENTSUBMITTED: return "InvoiceElementSubmitted"; + case SBBLELAT: return "submitted billed electronic amount"; + case SBBLELCT: return "submitted billed electronic count"; + case SBNFELAT: return "submitted nullified electronic amount"; + case SBNFELCT: return "submitted cancelled electronic count"; + case SBPDELAT: return "submitted pending electronic amount"; + case SBPDELCT: return "submitted pending electronic count"; + case _ACTINVOICEOVERRIDECODE: return "ActInvoiceOverrideCode"; + case COVGE: return "coverage problem"; + case EFORM: return "electronic form to follow"; + case FAX: return "fax to follow"; + case GFTH: return "good faith indicator"; + case LATE: return "late invoice"; + case MANUAL: return "manual review"; + case OOJ: return "out of jurisdiction"; + case ORTHO: return "orthodontic service"; + case PAPER: return "paper documentation to follow"; + case PIE: return "public insurance exhausted"; + case PYRDELAY: return "delayed by a previous payor"; + case REFNR: return "referral not required"; + case REPSERV: return "repeated service"; + case UNRELAT: return "unrelated service"; + case VERBAUTH: return "verbal authorization"; + case _ACTLISTCODE: return "ActListCode"; + case _ACTOBSERVATIONLIST: return "ActObservationList"; + case CARELIST: return "care plan"; + case CONDLIST: return "condition list"; + case INTOLIST: return "intolerance list"; + case PROBLIST: return "problem list"; + case RISKLIST: return "risk factors"; + case GOALLIST: return "goal list"; + case _ACTTHERAPYDURATIONWORKINGLISTCODE: return "ActTherapyDurationWorkingListCode"; + case _ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE: return "act medication therapy duration working list"; + case ACU: return "short term/acute"; + case CHRON: return "continuous/chronic"; + case ONET: return "one time"; + case PRN: return "as needed"; + case MEDLIST: return "medication list"; + case CURMEDLIST: return "current medication list"; + case DISCMEDLIST: return "discharge medication list"; + case HISTMEDLIST: return "medication history"; + case _ACTMONITORINGPROTOCOLCODE: return "ActMonitoringProtocolCode"; + case CTLSUB: return "Controlled Substance"; + case INV: return "investigational"; + case LU: return "limited use"; + case OTC: return "non prescription medicine"; + case RX: return "prescription only medicine"; + case SA: return "special authorization"; + case SAC: return "special access"; + case _ACTNONOBSERVATIONINDICATIONCODE: return "ActNonObservationIndicationCode"; + case IND01: return "imaging study requiring contrast"; + case IND02: return "colonoscopy prep"; + case IND03: return "prophylaxis"; + case IND04: return "surgical prophylaxis"; + case IND05: return "pregnancy prophylaxis"; + case _ACTOBSERVATIONVERIFICATIONTYPE: return "act observation verification"; + case VFPAPER: return "verify paper"; + case _ACTPAYMENTCODE: return "ActPaymentCode"; + case ACH: return "Automated Clearing House"; + case CHK: return "Cheque"; + case DDP: return "Direct Deposit"; + case NON: return "Non-Payment Data"; + case _ACTPHARMACYSUPPLYTYPE: return "ActPharmacySupplyType"; + case DF: return "Daily Fill"; + case EM: return "Emergency Supply"; + case SO: return "Script Owing"; + case FF: return "First Fill"; + case FFC: return "First Fill - Complete"; + case FFCS: return "first fill complete, partial strength"; + case FFP: return "First Fill - Part Fill"; + case FFPS: return "first fill, part fill, partial strength"; + case FFSS: return "first fill, partial strength"; + case TFS: return "trial fill partial strength"; + case TF: return "Trial Fill"; + case FS: return "Floor stock"; + case MS: return "Manufacturer Sample"; + case RF: return "Refill"; + case UD: return "Unit Dose"; + case RFC: return "Refill - Complete"; + case RFCS: return "refill complete partial strength"; + case RFF: return "Refill (First fill this facility)"; + case RFFS: return "refill partial strength (first fill this facility)"; + case RFP: return "Refill - Part Fill"; + case RFPS: return "refill part fill partial strength"; + case RFS: return "refill partial strength"; + case TB: return "Trial Balance"; + case TBS: return "trial balance partial strength"; + case UDE: return "unit dose equivalent"; + case _ACTPOLICYTYPE: return "ActPolicyType"; + case _ACTPRIVACYPOLICY: return "ActPrivacyPolicy"; + case _ACTCONSENTDIRECTIVE: return "ActConsentDirective"; + case EMRGONLY: return "emergency only"; + case NOPP: return "notice of privacy practices"; + case OPTIN: return "opt-in"; + case OPTOUT: return "op-out"; + case _INFORMATIONSENSITIVITYPOLICY: return "InformationSensitivityPolicy"; + case _ACTINFORMATIONSENSITIVITYPOLICY: return "ActInformationSensitivityPolicy"; + case ETH: return "substance abuse information sensitivity"; + case GDIS: return "genetic disease information sensitivity"; + case HIV: return "HIV/AIDS information sensitivity"; + case PSY: return "psychiatry information sensitivity"; + case SCA: return "sickle cell anemia"; + case SDV: return "sexual assault, abuse, or domestic violence information sensitivity"; + case SEX: return "sexuality and reproductive health information sensitivity"; + case STD: return "sexually transmitted disease information sensitivity"; + case TBOO: return "taboo"; + case _ENTITYSENSITIVITYPOLICYTYPE: return "EntityInformationSensitivityPolicy"; + case DEMO: return "all demographic information sensitivity"; + case DOB: return "date of birth information sensitivity"; + case GENDER: return "gender and sexual orientation information sensitivity"; + case LIVARG: return "living arrangement information sensitivity"; + case MARST: return "marital status information sensitivity"; + case RACE: return "race information sensitivity"; + case REL: return "religion information sensitivity"; + case _ROLEINFORMATIONSENSITIVITYPOLICY: return "RoleInformationSensitivityPolicy"; + case B: return "business information sensitivity"; + case EMPL: return "employer information sensitivity"; + case LOCIS: return "location information sensitivity"; + case SSP: return "sensitive service provider information sensitivity"; + case ADOL: return "adolescent information sensitivity"; + case CEL: return "celebrity information sensitivity"; + case DIA: return "diagnosis information sensitivity"; + case DRGIS: return "drug information sensitivity"; + case EMP: return "employee information sensitivity"; + case PDS: return "patient default sensitivity"; + case PRS: return "patient requested sensitivity"; + case COMPT: return "compartment"; + case HRCOMPT: return "human resource compartment"; + case RESCOMPT: return "research project compartment"; + case RMGTCOMPT: return "records management compartment"; + case ACTTRUSTPOLICYTYPE: return "trust policy"; + case TRSTACCRD: return "trust accreditation"; + case TRSTAGRE: return "trust agreement"; + case TRSTASSUR: return "trust assurance"; + case TRSTCERT: return "trust certificate"; + case TRSTFWK: return "trust framework"; + case TRSTMEC: return "trust mechanism"; + case COVPOL: return "benefit policy"; + case SECURITYPOLICY: return "security policy"; + case OBLIGATIONPOLICY: return "obligation policy"; + case ANONY: return "anonymize"; + case AOD: return "accounting of disclosure"; + case AUDIT: return "audit"; + case AUDTR: return "audit trail"; + case CPLYCC: return "comply with confidentiality code"; + case CPLYCD: return "comply with consent directive"; + case CPLYJPP: return "comply with jurisdictional privacy policy"; + case CPLYOPP: return "comply with organizational privacy policy"; + case CPLYOSP: return "comply with organizational security policy"; + case CPLYPOL: return "comply with policy"; + case DEID: return "deidentify"; + case DELAU: return "delete after use"; + case ENCRYPT: return "encrypt"; + case ENCRYPTR: return "encrypt at rest"; + case ENCRYPTT: return "encrypt in transit"; + case ENCRYPTU: return "encrypt in use"; + case HUAPRV: return "human approval"; + case MASK: return "mask"; + case MINEC: return "minimum necessary"; + case PRIVMARK: return "privacy mark"; + case PSEUD: return "pseudonymize"; + case REDACT: return "redact"; + case REFRAINPOLICY: return "refrain policy"; + case NOAUTH: return "no disclosure without subject authorization"; + case NOCOLLECT: return "no collection"; + case NODSCLCD: return "no disclosure without consent directive"; + case NODSCLCDS: return "no disclosure without information subject's consent directive"; + case NOINTEGRATE: return "no integration"; + case NOLIST: return "no unlisted entity disclosure"; + case NOMOU: return "no disclosure without MOU"; + case NOORGPOL: return "no disclosure without organizational authorization"; + case NOPAT: return "no disclosure to patient, family or caregivers without attending provider's authorization"; + case NOPERSISTP: return "no collection beyond purpose of use"; + case NORDSCLCD: return "no redisclosure without consent directive"; + case NORDSCLCDS: return "no redisclosure without information subject's consent directive"; + case NORDSCLW: return "no disclosure without jurisdictional authorization"; + case NORELINK: return "no relinking"; + case NOREUSE: return "no reuse beyond purpose of use"; + case NOVIP: return "no unauthorized VIP disclosure"; + case ORCON: return "no disclosure without originator authorization"; + case _ACTPRODUCTACQUISITIONCODE: return "ActProductAcquisitionCode"; + case LOAN: return "Loan"; + case RENT: return "Rent"; + case TRANSFER: return "Transfer"; + case SALE: return "Sale"; + case _ACTSPECIMENTRANSPORTCODE: return "ActSpecimenTransportCode"; + case SREC: return "specimen received"; + case SSTOR: return "specimen in storage"; + case STRAN: return "specimen in transit"; + case _ACTSPECIMENTREATMENTCODE: return "ActSpecimenTreatmentCode"; + case ACID: return "Acidification"; + case ALK: return "Alkalization"; + case DEFB: return "Defibrination"; + case FILT: return "Filtration"; + case LDLP: return "LDL Precipitation"; + case NEUT: return "Neutralization"; + case RECA: return "Recalcification"; + case UFIL: return "Ultrafiltration"; + case _ACTSUBSTANCEADMINISTRATIONCODE: return "ActSubstanceAdministrationCode"; + case DRUG: return "Drug therapy"; + case FD: return "food"; + case IMMUNIZ: return "Immunization"; + case _ACTTASKCODE: return "ActTaskCode"; + case OE: return "order entry task"; + case LABOE: return "laboratory test order entry task"; + case MEDOE: return "medication order entry task"; + case PATDOC: return "patient documentation task"; + case ALLERLREV: return "allergy list review"; + case CLINNOTEE: return "clinical note entry task"; + case DIAGLISTE: return "diagnosis list entry task"; + case DISCHINSTE: return "discharge instruction entry"; + case DISCHSUME: return "discharge summary entry task"; + case PATEDUE: return "patient education entry"; + case PATREPE: return "pathology report entry task"; + case PROBLISTE: return "problem list entry task"; + case RADREPE: return "radiology report entry task"; + case IMMLREV: return "immunization list review"; + case REMLREV: return "reminder list review"; + case WELLREMLREV: return "wellness reminder list review"; + case PATINFO: return "patient information review task"; + case ALLERLE: return "allergy list entry"; + case CDSREV: return "clinical decision support intervention review"; + case CLINNOTEREV: return "clinical note review task"; + case DISCHSUMREV: return "discharge summary review task"; + case DIAGLISTREV: return "diagnosis list review task"; + case IMMLE: return "immunization list entry"; + case LABRREV: return "laboratory results review task"; + case MICRORREV: return "microbiology results review task"; + case MICROORGRREV: return "microbiology organisms results review task"; + case MICROSENSRREV: return "microbiology sensitivity test results review task"; + case MLREV: return "medication list review task"; + case MARWLREV: return "medication administration record work list review task"; + case OREV: return "orders review task"; + case PATREPREV: return "pathology report review task"; + case PROBLISTREV: return "problem list review task"; + case RADREPREV: return "radiology report review task"; + case REMLE: return "reminder list entry"; + case WELLREMLE: return "wellness reminder list entry"; + case RISKASSESS: return "risk assessment instrument task"; + case FALLRISK: return "falls risk assessment instrument task"; + case _ACTTRANSPORTATIONMODECODE: return "ActTransportationModeCode"; + case _ACTPATIENTTRANSPORTATIONMODECODE: return "ActPatientTransportationModeCode"; + case AFOOT: return "pedestrian transport"; + case AMBT: return "ambulance transport"; + case AMBAIR: return "fixed-wing ambulance transport"; + case AMBGRND: return "ground ambulance transport"; + case AMBHELO: return "helicopter ambulance transport"; + case LAWENF: return "law enforcement transport"; + case PRVTRN: return "private transport"; + case PUBTRN: return "public transport"; + case _OBSERVATIONTYPE: return "ObservationType"; + case _ACTSPECOBSCODE: return "ActSpecObsCode"; + case ARTBLD: return "ActSpecObsArtBldCode"; + case DILUTION: return "ActSpecObsDilutionCode"; + case AUTOHIGH: return "Auto-High Dilution"; + case AUTOLOW: return "Auto-Low Dilution"; + case PRE: return "Pre-Dilution"; + case RERUN: return "Rerun Dilution"; + case EVNFCTS: return "ActSpecObsEvntfctsCode"; + case INTFR: return "ActSpecObsInterferenceCode"; + case FIBRIN: return "Fibrin"; + case HEMOLYSIS: return "Hemolysis"; + case ICTERUS: return "Icterus"; + case LIPEMIA: return "Lipemia"; + case VOLUME: return "ActSpecObsVolumeCode"; + case AVAILABLE: return "Available Volume"; + case CONSUMPTION: return "Consumption Volume"; + case CURRENT: return "Current Volume"; + case INITIAL: return "Initial Volume"; + case _ANNOTATIONTYPE: return "AnnotationType"; + case _ACTPATIENTANNOTATIONTYPE: return "ActPatientAnnotationType"; + case ANNDI: return "diagnostic image note"; + case ANNGEN: return "general note"; + case ANNIMM: return "immunization note"; + case ANNLAB: return "laboratory note"; + case ANNMED: return "medication note"; + case _GENETICOBSERVATIONTYPE: return "GeneticObservationType"; + case GENE: return "gene"; + case _IMMUNIZATIONOBSERVATIONTYPE: return "ImmunizationObservationType"; + case OBSANTC: return "antigen count"; + case OBSANTV: return "antigen validity"; + case _INDIVIDUALCASESAFETYREPORTTYPE: return "Individual Case Safety Report Type"; + case PATADVEVNT: return "patient adverse event"; + case VACPROBLEM: return "vaccine product problem"; + case _LOINCOBSERVATIONACTCONTEXTAGETYPE: return "LOINCObservationActContextAgeType"; + case _216119: return "age patient qn est"; + case _216127: return "age patient qn reported"; + case _295535: return "age patient qn calc"; + case _305250: return "age patient qn definition"; + case _309724: return "age at onset of adverse event"; + case _MEDICATIONOBSERVATIONTYPE: return "MedicationObservationType"; + case REPHALFLIFE: return "representative half-life"; + case SPLCOATING: return "coating"; + case SPLCOLOR: return "color"; + case SPLIMAGE: return "image"; + case SPLIMPRINT: return "imprint"; + case SPLSCORING: return "scoring"; + case SPLSHAPE: return "shape"; + case SPLSIZE: return "size"; + case SPLSYMBOL: return "symbol"; + case _OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE: return "ObservationIssueTriggerCodedObservationType"; + case _CASETRANSMISSIONMODE: return "case transmission mode"; + case AIRTRNS: return "airborne transmission"; + case ANANTRNS: return "animal to animal transmission"; + case ANHUMTRNS: return "animal to human transmission"; + case BDYFLDTRNS: return "body fluid contact transmission"; + case BLDTRNS: return "blood borne transmission"; + case DERMTRNS: return "transdermal transmission"; + case ENVTRNS: return "environmental exposure transmission"; + case FECTRNS: return "fecal-oral transmission"; + case FOMTRNS: return "fomite transmission"; + case FOODTRNS: return "food-borne transmission"; + case HUMHUMTRNS: return "human to human transmission"; + case INDTRNS: return "indeterminate disease transmission mode"; + case LACTTRNS: return "lactation transmission"; + case NOSTRNS: return "nosocomial transmission"; + case PARTRNS: return "parenteral transmission"; + case PLACTRNS: return "transplacental transmission"; + case SEXTRNS: return "sexual transmission"; + case TRNSFTRNS: return "transfusion transmission"; + case VECTRNS: return "vector-borne transmission"; + case WATTRNS: return "water-borne transmission"; + case _OBSERVATIONQUALITYMEASUREATTRIBUTE: return "ObservationQualityMeasureAttribute"; + case AGGREGATE: return "aggregate measure observation"; + case COPY: return "copyright"; + case CRS: return "clinical recommendation statement"; + case DEF: return "definition"; + case DISC: return "disclaimer"; + case FINALDT: return "finalized date/time"; + case GUIDE: return "guidance"; + case IDUR: return "improvement notation"; + case ITMCNT: return "items counted"; + case KEY: return "keyword"; + case MEDT: return "measurement end date"; + case MSD: return "measurement start date"; + case MSRADJ: return "risk adjustment"; + case MSRAGG: return "rate aggregation"; + case MSRIMPROV: return "health quality measure improvement notation"; + case MSRJUR: return "jurisdiction"; + case MSRRPTR: return "reporter type"; + case MSRRPTTIME: return "timeframe for reporting"; + case MSRSCORE: return "measure scoring"; + case MSRSET: return "health quality measure care setting"; + case MSRTOPIC: return "health quality measure topic type"; + case MSRTP: return "measurement period"; + case MSRTYPE: return "measure type"; + case RAT: return "rationale"; + case REF: return "reference"; + case SDE: return "supplemental data elements"; + case STRAT: return "stratification"; + case TRANF: return "transmission format"; + case USE: return "notice of use"; + case _OBSERVATIONSEQUENCETYPE: return "ObservationSequenceType"; + case TIMEABSOLUTE: return "absolute time sequence"; + case TIMERELATIVE: return "relative time sequence"; + case _OBSERVATIONSERIESTYPE: return "ObservationSeriesType"; + case _ECGOBSERVATIONSERIESTYPE: return "ECGObservationSeriesType"; + case REPRESENTATIVEBEAT: return "ECG representative beat waveforms"; + case RHYTHM: return "ECG rhythm waveforms"; + case _PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE: return "PatientImmunizationRelatedObservationType"; + case CLSSRM: return "classroom"; + case GRADE: return "grade"; + case SCHL: return "school"; + case SCHLDIV: return "school division"; + case TEACHER: return "teacher"; + case _POPULATIONINCLUSIONOBSERVATIONTYPE: return "PopulationInclusionObservationType"; + case DENEX: return "denominator exclusions"; + case DENEXCEP: return "denominator exceptions"; + case DENOM: return "denominator"; + case IPOP: return "initial population"; + case IPPOP: return "initial patient population"; + case MSRPOPL: return "measure population"; + case MSRPOPLEX: return "measure population exclusions"; + case NUMER: return "numerator"; + case NUMEX: return "numerator exclusions"; + case _PREFERENCEOBSERVATIONTYPE: return "_PreferenceObservationType"; + case PREFSTRENGTH: return "preference strength"; + case ADVERSEREACTION: return "Adverse Reaction"; + case ASSERTION: return "Assertion"; + case CASESER: return "case seriousness criteria"; + case CDIO: return "case disease imported observation"; + case CRIT: return "criticality"; + case CTMO: return "case transmission mode observation"; + case DX: return "ObservationDiagnosisTypes"; + case ADMDX: return "admitting diagnosis"; + case DISDX: return "discharge diagnosis"; + case INTDX: return "intermediate diagnosis"; + case NOI: return "nature of injury"; + case GISTIER: return "GIS tier"; + case HHOBS: return "household situation observation"; + case ISSUE: return "detected issue"; + case _ACTADMINISTRATIVEDETECTEDISSUECODE: return "ActAdministrativeDetectedIssueCode"; + case _ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE: return "ActAdministrativeAuthorizationDetectedIssueCode"; + case NAT: return "Insufficient authorization"; + case SUPPRESSED: return "record suppressed"; + case VALIDAT: return "validation issue"; + case KEY204: return "Unknown key identifier"; + case KEY205: return "Duplicate key identifier"; + case COMPLY: return "Compliance Alert"; + case DUPTHPY: return "Duplicate Therapy Alert"; + case DUPTHPCLS: return "duplicate therapeutic alass alert"; + case DUPTHPGEN: return "duplicate generic alert"; + case ABUSE: return "commonly abused/misused alert"; + case FRAUD: return "potential fraud"; + case PLYDOC: return "Poly-orderer Alert"; + case PLYPHRM: return "Poly-supplier Alert"; + case DOSE: return "Dosage problem"; + case DOSECOND: return "dosage-condition alert"; + case DOSEDUR: return "Dose-Duration Alert"; + case DOSEDURH: return "Dose-Duration High Alert"; + case DOSEDURHIND: return "Dose-Duration High for Indication Alert"; + case DOSEDURL: return "Dose-Duration Low Alert"; + case DOSEDURLIND: return "Dose-Duration Low for Indication Alert"; + case DOSEH: return "High Dose Alert"; + case DOSEHINDA: return "High Dose for Age Alert"; + case DOSEHIND: return "High Dose for Indication Alert"; + case DOSEHINDSA: return "High Dose for Height/Surface Area Alert"; + case DOSEHINDW: return "High Dose for Weight Alert"; + case DOSEIVL: return "Dose-Interval Alert"; + case DOSEIVLIND: return "Dose-Interval for Indication Alert"; + case DOSEL: return "Low Dose Alert"; + case DOSELINDA: return "Low Dose for Age Alert"; + case DOSELIND: return "Low Dose for Indication Alert"; + case DOSELINDSA: return "Low Dose for Height/Surface Area Alert"; + case DOSELINDW: return "Low Dose for Weight Alert"; + case MDOSE: return "maximum dosage reached"; + case OBSA: return "Observation Alert"; + case AGE: return "Age Alert"; + case ADALRT: return "adult alert"; + case GEALRT: return "geriatric alert"; + case PEALRT: return "pediatric alert"; + case COND: return "Condition Alert"; + case HGHT: return "HGHT"; + case LACT: return "Lactation Alert"; + case PREG: return "Pregnancy Alert"; + case WGHT: return "WGHT"; + case CREACT: return "common reaction alert"; + case GEN: return "Genetic Alert"; + case GEND: return "Gender Alert"; + case LAB: return "Lab Alert"; + case REACT: return "Reaction Alert"; + case ALGY: return "Allergy Alert"; + case INT: return "Intolerance Alert"; + case RREACT: return "Related Reaction Alert"; + case RALG: return "Related Allergy Alert"; + case RAR: return "Related Prior Reaction Alert"; + case RINT: return "Related Intolerance Alert"; + case BUS: return "business constraint violation"; + case CODEINVAL: return "code is not valid"; + case CODEDEPREC: return "code has been deprecated"; + case FORMAT: return "invalid format"; + case ILLEGAL: return "illegal"; + case LENRANGE: return "length out of range"; + case LENLONG: return "length is too long"; + case LENSHORT: return "length is too short"; + case MISSCOND: return "conditional element missing"; + case MISSMAND: return "mandatory element missing"; + case NODUPS: return "duplicate values are not permitted"; + case NOPERSIST: return "element will not be persisted"; + case REPRANGE: return "repetitions out of range"; + case MAXOCCURS: return "repetitions above maximum"; + case MINOCCURS: return "repetitions below minimum"; + case _ACTADMINISTRATIVERULEDETECTEDISSUECODE: return "ActAdministrativeRuleDetectedIssueCode"; + case KEY206: return "non-matching identification"; + case OBSOLETE: return "obsolete record returned"; + case _ACTSUPPLIEDITEMDETECTEDISSUECODE: return "ActSuppliedItemDetectedIssueCode"; + case _ADMINISTRATIONDETECTEDISSUECODE: return "AdministrationDetectedIssueCode"; + case _APPROPRIATENESSDETECTEDISSUECODE: return "AppropriatenessDetectedIssueCode"; + case _INTERACTIONDETECTEDISSUECODE: return "InteractionDetectedIssueCode"; + case FOOD: return "Food Interaction Alert"; + case TPROD: return "Therapeutic Product Alert"; + case DRG: return "Drug Interaction Alert"; + case NHP: return "Natural Health Product Alert"; + case NONRX: return "Non-Prescription Interaction Alert"; + case PREVINEF: return "previously ineffective"; + case DACT: return "drug action detected issue"; + case TIME: return "timing detected issue"; + case ALRTENDLATE: return "end too late alert"; + case ALRTSTRTLATE: return "start too late alert"; + case _SUPPLYDETECTEDISSUECODE: return "SupplyDetectedIssueCode"; + case ALLDONE: return "already performed"; + case FULFIL: return "fulfillment alert"; + case NOTACTN: return "no longer actionable"; + case NOTEQUIV: return "not equivalent alert"; + case NOTEQUIVGEN: return "not generically equivalent alert"; + case NOTEQUIVTHER: return "not therapeutically equivalent alert"; + case TIMING: return "event timing incorrect alert"; + case INTERVAL: return "outside requested time"; + case MINFREQ: return "too soon within frequency based on the usage"; + case HELD: return "held/suspended alert"; + case TOOLATE: return "Refill Too Late Alert"; + case TOOSOON: return "Refill Too Soon Alert"; + case HISTORIC: return "record recorded as historical"; + case PATPREF: return "violates stated preferences"; + case PATPREFALT: return "violates stated preferences, alternate available"; + case KSUBJ: return "knowledge subject"; + case KSUBT: return "knowledge subtopic"; + case OINT: return "intolerance"; + case ALG: return "Allergy"; + case DALG: return "Drug Allergy"; + case EALG: return "Environmental Allergy"; + case FALG: return "Food Allergy"; + case DINT: return "Drug Intolerance"; + case DNAINT: return "Drug Non-Allergy Intolerance"; + case EINT: return "Environmental Intolerance"; + case ENAINT: return "Environmental Non-Allergy Intolerance"; + case FINT: return "Food Intolerance"; + case FNAINT: return "Food Non-Allergy Intolerance"; + case NAINT: return "Non-Allergy Intolerance"; + case SEV: return "Severity Observation"; + case _ROIOVERLAYSHAPE: return "ROIOverlayShape"; + case CIRCLE: return "circle"; + case ELLIPSE: return "ellipse"; + case POINT: return "point"; + case POLY: return "polyline"; + case C: return "corrected"; + case DIET: return "Diet"; + case BR: return "breikost (GE)"; + case DM: return "diabetes mellitus diet"; + case FAST: return "fasting"; + case FORMULA: return "formula diet"; + case GF: return "gluten free"; + case LF: return "low fat"; + case LP: return "low protein"; + case LQ: return "liquid"; + case LS: return "low sodium"; + case N: return "normal diet"; + case NF: return "no fat"; + case PAF: return "phenylalanine free"; + case PAR: return "parenteral"; + case RD: return "reduction diet"; + case SCH: return "schonkost (GE)"; + case SUPPLEMENT: return "nutritional supplement"; + case T: return "tea only"; + case VLI: return "low valin, leucin, isoleucin"; + case DRUGPRG: return "drug program"; + case F: return "final"; + case PRLMN: return "preliminary"; + case SECOBS: return "SecurityObservationType"; + case SECCATOBS: return "security category observation"; + case SECCLASSOBS: return "security classification observation"; + case SECCONOBS: return "security control observation"; + case SECINTOBS: return "security integrity observation"; + case SECALTINTOBS: return "security alteration integrity observation"; + case SECDATINTOBS: return "security data integrity observation"; + case SECINTCONOBS: return "security integrity confidence observation"; + case SECINTPRVOBS: return "security integrity provenance observation"; + case SECINTPRVABOBS: return "security integrity provenance asserted by observation"; + case SECINTPRVRBOBS: return "security integrity provenance reported by observation"; + case SECINTSTOBS: return "security integrity status observation"; + case SECTRSTOBS: return "SECTRSTOBS"; + case TRSTACCRDOBS: return "trust accreditation observation"; + case TRSTAGREOBS: return "trust agreement observation"; + case TRSTCERTOBS: return "trust certificate observation"; + case TRSTFWKOBS: return "trust framework observation"; + case TRSTLOAOBS: return "trust assurance observation"; + case TRSTMECOBS: return "trust mechanism observation"; + case SUBSIDFFS: return "subsidized fee for service program"; + case WRKCOMP: return "(workers compensation program"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCodeEnumFactory.java new file mode 100644 index 00000000000..699a62e7689 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActCodeEnumFactory.java @@ -0,0 +1,4219 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActCodeEnumFactory implements EnumFactory { + + public V3ActCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActAccountCode".equals(codeString)) + return V3ActCode._ACTACCOUNTCODE; + if ("ACCTRECEIVABLE".equals(codeString)) + return V3ActCode.ACCTRECEIVABLE; + if ("CASH".equals(codeString)) + return V3ActCode.CASH; + if ("CC".equals(codeString)) + return V3ActCode.CC; + if ("AE".equals(codeString)) + return V3ActCode.AE; + if ("DN".equals(codeString)) + return V3ActCode.DN; + if ("DV".equals(codeString)) + return V3ActCode.DV; + if ("MC".equals(codeString)) + return V3ActCode.MC; + if ("V".equals(codeString)) + return V3ActCode.V; + if ("PBILLACCT".equals(codeString)) + return V3ActCode.PBILLACCT; + if ("_ActAdjudicationCode".equals(codeString)) + return V3ActCode._ACTADJUDICATIONCODE; + if ("_ActAdjudicationGroupCode".equals(codeString)) + return V3ActCode._ACTADJUDICATIONGROUPCODE; + if ("CONT".equals(codeString)) + return V3ActCode.CONT; + if ("DAY".equals(codeString)) + return V3ActCode.DAY; + if ("LOC".equals(codeString)) + return V3ActCode.LOC; + if ("MONTH".equals(codeString)) + return V3ActCode.MONTH; + if ("PERIOD".equals(codeString)) + return V3ActCode.PERIOD; + if ("PROV".equals(codeString)) + return V3ActCode.PROV; + if ("WEEK".equals(codeString)) + return V3ActCode.WEEK; + if ("YEAR".equals(codeString)) + return V3ActCode.YEAR; + if ("AA".equals(codeString)) + return V3ActCode.AA; + if ("ANF".equals(codeString)) + return V3ActCode.ANF; + if ("AR".equals(codeString)) + return V3ActCode.AR; + if ("AS".equals(codeString)) + return V3ActCode.AS; + if ("_ActAdjudicationResultActionCode".equals(codeString)) + return V3ActCode._ACTADJUDICATIONRESULTACTIONCODE; + if ("DISPLAY".equals(codeString)) + return V3ActCode.DISPLAY; + if ("FORM".equals(codeString)) + return V3ActCode.FORM; + if ("_ActBillableModifierCode".equals(codeString)) + return V3ActCode._ACTBILLABLEMODIFIERCODE; + if ("CPTM".equals(codeString)) + return V3ActCode.CPTM; + if ("HCPCSA".equals(codeString)) + return V3ActCode.HCPCSA; + if ("_ActBillingArrangementCode".equals(codeString)) + return V3ActCode._ACTBILLINGARRANGEMENTCODE; + if ("BLK".equals(codeString)) + return V3ActCode.BLK; + if ("CAP".equals(codeString)) + return V3ActCode.CAP; + if ("CONTF".equals(codeString)) + return V3ActCode.CONTF; + if ("FINBILL".equals(codeString)) + return V3ActCode.FINBILL; + if ("ROST".equals(codeString)) + return V3ActCode.ROST; + if ("SESS".equals(codeString)) + return V3ActCode.SESS; + if ("_ActBoundedROICode".equals(codeString)) + return V3ActCode._ACTBOUNDEDROICODE; + if ("ROIFS".equals(codeString)) + return V3ActCode.ROIFS; + if ("ROIPS".equals(codeString)) + return V3ActCode.ROIPS; + if ("_ActCareProvisionCode".equals(codeString)) + return V3ActCode._ACTCAREPROVISIONCODE; + if ("_ActCredentialedCareCode".equals(codeString)) + return V3ActCode._ACTCREDENTIALEDCARECODE; + if ("_ActCredentialedCareProvisionPersonCode".equals(codeString)) + return V3ActCode._ACTCREDENTIALEDCAREPROVISIONPERSONCODE; + if ("CACC".equals(codeString)) + return V3ActCode.CACC; + if ("CAIC".equals(codeString)) + return V3ActCode.CAIC; + if ("CAMC".equals(codeString)) + return V3ActCode.CAMC; + if ("CANC".equals(codeString)) + return V3ActCode.CANC; + if ("CAPC".equals(codeString)) + return V3ActCode.CAPC; + if ("CBGC".equals(codeString)) + return V3ActCode.CBGC; + if ("CCCC".equals(codeString)) + return V3ActCode.CCCC; + if ("CCGC".equals(codeString)) + return V3ActCode.CCGC; + if ("CCPC".equals(codeString)) + return V3ActCode.CCPC; + if ("CCSC".equals(codeString)) + return V3ActCode.CCSC; + if ("CDEC".equals(codeString)) + return V3ActCode.CDEC; + if ("CDRC".equals(codeString)) + return V3ActCode.CDRC; + if ("CEMC".equals(codeString)) + return V3ActCode.CEMC; + if ("CFPC".equals(codeString)) + return V3ActCode.CFPC; + if ("CIMC".equals(codeString)) + return V3ActCode.CIMC; + if ("CMGC".equals(codeString)) + return V3ActCode.CMGC; + if ("CNEC".equals(codeString)) + return V3ActCode.CNEC; + if ("CNMC".equals(codeString)) + return V3ActCode.CNMC; + if ("CNQC".equals(codeString)) + return V3ActCode.CNQC; + if ("CNSC".equals(codeString)) + return V3ActCode.CNSC; + if ("COGC".equals(codeString)) + return V3ActCode.COGC; + if ("COMC".equals(codeString)) + return V3ActCode.COMC; + if ("COPC".equals(codeString)) + return V3ActCode.COPC; + if ("COSC".equals(codeString)) + return V3ActCode.COSC; + if ("COTC".equals(codeString)) + return V3ActCode.COTC; + if ("CPEC".equals(codeString)) + return V3ActCode.CPEC; + if ("CPGC".equals(codeString)) + return V3ActCode.CPGC; + if ("CPHC".equals(codeString)) + return V3ActCode.CPHC; + if ("CPRC".equals(codeString)) + return V3ActCode.CPRC; + if ("CPSC".equals(codeString)) + return V3ActCode.CPSC; + if ("CPYC".equals(codeString)) + return V3ActCode.CPYC; + if ("CROC".equals(codeString)) + return V3ActCode.CROC; + if ("CRPC".equals(codeString)) + return V3ActCode.CRPC; + if ("CSUC".equals(codeString)) + return V3ActCode.CSUC; + if ("CTSC".equals(codeString)) + return V3ActCode.CTSC; + if ("CURC".equals(codeString)) + return V3ActCode.CURC; + if ("CVSC".equals(codeString)) + return V3ActCode.CVSC; + if ("LGPC".equals(codeString)) + return V3ActCode.LGPC; + if ("_ActCredentialedCareProvisionProgramCode".equals(codeString)) + return V3ActCode._ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE; + if ("AALC".equals(codeString)) + return V3ActCode.AALC; + if ("AAMC".equals(codeString)) + return V3ActCode.AAMC; + if ("ABHC".equals(codeString)) + return V3ActCode.ABHC; + if ("ACAC".equals(codeString)) + return V3ActCode.ACAC; + if ("ACHC".equals(codeString)) + return V3ActCode.ACHC; + if ("AHOC".equals(codeString)) + return V3ActCode.AHOC; + if ("ALTC".equals(codeString)) + return V3ActCode.ALTC; + if ("AOSC".equals(codeString)) + return V3ActCode.AOSC; + if ("CACS".equals(codeString)) + return V3ActCode.CACS; + if ("CAMI".equals(codeString)) + return V3ActCode.CAMI; + if ("CAST".equals(codeString)) + return V3ActCode.CAST; + if ("CBAR".equals(codeString)) + return V3ActCode.CBAR; + if ("CCAD".equals(codeString)) + return V3ActCode.CCAD; + if ("CCAR".equals(codeString)) + return V3ActCode.CCAR; + if ("CDEP".equals(codeString)) + return V3ActCode.CDEP; + if ("CDGD".equals(codeString)) + return V3ActCode.CDGD; + if ("CDIA".equals(codeString)) + return V3ActCode.CDIA; + if ("CEPI".equals(codeString)) + return V3ActCode.CEPI; + if ("CFEL".equals(codeString)) + return V3ActCode.CFEL; + if ("CHFC".equals(codeString)) + return V3ActCode.CHFC; + if ("CHRO".equals(codeString)) + return V3ActCode.CHRO; + if ("CHYP".equals(codeString)) + return V3ActCode.CHYP; + if ("CMIH".equals(codeString)) + return V3ActCode.CMIH; + if ("CMSC".equals(codeString)) + return V3ActCode.CMSC; + if ("COJR".equals(codeString)) + return V3ActCode.COJR; + if ("CONC".equals(codeString)) + return V3ActCode.CONC; + if ("COPD".equals(codeString)) + return V3ActCode.COPD; + if ("CORT".equals(codeString)) + return V3ActCode.CORT; + if ("CPAD".equals(codeString)) + return V3ActCode.CPAD; + if ("CPND".equals(codeString)) + return V3ActCode.CPND; + if ("CPST".equals(codeString)) + return V3ActCode.CPST; + if ("CSDM".equals(codeString)) + return V3ActCode.CSDM; + if ("CSIC".equals(codeString)) + return V3ActCode.CSIC; + if ("CSLD".equals(codeString)) + return V3ActCode.CSLD; + if ("CSPT".equals(codeString)) + return V3ActCode.CSPT; + if ("CTBU".equals(codeString)) + return V3ActCode.CTBU; + if ("CVDC".equals(codeString)) + return V3ActCode.CVDC; + if ("CWMA".equals(codeString)) + return V3ActCode.CWMA; + if ("CWOH".equals(codeString)) + return V3ActCode.CWOH; + if ("_ActEncounterCode".equals(codeString)) + return V3ActCode._ACTENCOUNTERCODE; + if ("AMB".equals(codeString)) + return V3ActCode.AMB; + if ("EMER".equals(codeString)) + return V3ActCode.EMER; + if ("FLD".equals(codeString)) + return V3ActCode.FLD; + if ("HH".equals(codeString)) + return V3ActCode.HH; + if ("IMP".equals(codeString)) + return V3ActCode.IMP; + if ("ACUTE".equals(codeString)) + return V3ActCode.ACUTE; + if ("NONAC".equals(codeString)) + return V3ActCode.NONAC; + if ("PRENC".equals(codeString)) + return V3ActCode.PRENC; + if ("SS".equals(codeString)) + return V3ActCode.SS; + if ("VR".equals(codeString)) + return V3ActCode.VR; + if ("_ActMedicalServiceCode".equals(codeString)) + return V3ActCode._ACTMEDICALSERVICECODE; + if ("ALC".equals(codeString)) + return V3ActCode.ALC; + if ("CARD".equals(codeString)) + return V3ActCode.CARD; + if ("CHR".equals(codeString)) + return V3ActCode.CHR; + if ("DNTL".equals(codeString)) + return V3ActCode.DNTL; + if ("DRGRHB".equals(codeString)) + return V3ActCode.DRGRHB; + if ("GENRL".equals(codeString)) + return V3ActCode.GENRL; + if ("MED".equals(codeString)) + return V3ActCode.MED; + if ("OBS".equals(codeString)) + return V3ActCode.OBS; + if ("ONC".equals(codeString)) + return V3ActCode.ONC; + if ("PALL".equals(codeString)) + return V3ActCode.PALL; + if ("PED".equals(codeString)) + return V3ActCode.PED; + if ("PHAR".equals(codeString)) + return V3ActCode.PHAR; + if ("PHYRHB".equals(codeString)) + return V3ActCode.PHYRHB; + if ("PSYCH".equals(codeString)) + return V3ActCode.PSYCH; + if ("SURG".equals(codeString)) + return V3ActCode.SURG; + if ("_ActClaimAttachmentCategoryCode".equals(codeString)) + return V3ActCode._ACTCLAIMATTACHMENTCATEGORYCODE; + if ("AUTOATTCH".equals(codeString)) + return V3ActCode.AUTOATTCH; + if ("DOCUMENT".equals(codeString)) + return V3ActCode.DOCUMENT; + if ("HEALTHREC".equals(codeString)) + return V3ActCode.HEALTHREC; + if ("IMG".equals(codeString)) + return V3ActCode.IMG; + if ("LABRESULTS".equals(codeString)) + return V3ActCode.LABRESULTS; + if ("MODEL".equals(codeString)) + return V3ActCode.MODEL; + if ("WIATTCH".equals(codeString)) + return V3ActCode.WIATTCH; + if ("XRAY".equals(codeString)) + return V3ActCode.XRAY; + if ("_ActConsentType".equals(codeString)) + return V3ActCode._ACTCONSENTTYPE; + if ("ICOL".equals(codeString)) + return V3ActCode.ICOL; + if ("IDSCL".equals(codeString)) + return V3ActCode.IDSCL; + if ("INFA".equals(codeString)) + return V3ActCode.INFA; + if ("INFAO".equals(codeString)) + return V3ActCode.INFAO; + if ("INFASO".equals(codeString)) + return V3ActCode.INFASO; + if ("IRDSCL".equals(codeString)) + return V3ActCode.IRDSCL; + if ("RESEARCH".equals(codeString)) + return V3ActCode.RESEARCH; + if ("RSDID".equals(codeString)) + return V3ActCode.RSDID; + if ("RSREID".equals(codeString)) + return V3ActCode.RSREID; + if ("_ActContainerRegistrationCode".equals(codeString)) + return V3ActCode._ACTCONTAINERREGISTRATIONCODE; + if ("ID".equals(codeString)) + return V3ActCode.ID; + if ("IP".equals(codeString)) + return V3ActCode.IP; + if ("L".equals(codeString)) + return V3ActCode.L; + if ("M".equals(codeString)) + return V3ActCode.M; + if ("O".equals(codeString)) + return V3ActCode.O; + if ("R".equals(codeString)) + return V3ActCode.R; + if ("X".equals(codeString)) + return V3ActCode.X; + if ("_ActControlVariable".equals(codeString)) + return V3ActCode._ACTCONTROLVARIABLE; + if ("AUTO".equals(codeString)) + return V3ActCode.AUTO; + if ("ENDC".equals(codeString)) + return V3ActCode.ENDC; + if ("REFLEX".equals(codeString)) + return V3ActCode.REFLEX; + if ("_ActCoverageConfirmationCode".equals(codeString)) + return V3ActCode._ACTCOVERAGECONFIRMATIONCODE; + if ("_ActCoverageAuthorizationConfirmationCode".equals(codeString)) + return V3ActCode._ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE; + if ("AUTH".equals(codeString)) + return V3ActCode.AUTH; + if ("NAUTH".equals(codeString)) + return V3ActCode.NAUTH; + if ("_ActCoverageLimitCode".equals(codeString)) + return V3ActCode._ACTCOVERAGELIMITCODE; + if ("_ActCoverageQuantityLimitCode".equals(codeString)) + return V3ActCode._ACTCOVERAGEQUANTITYLIMITCODE; + if ("COVPRD".equals(codeString)) + return V3ActCode.COVPRD; + if ("LFEMX".equals(codeString)) + return V3ActCode.LFEMX; + if ("NETAMT".equals(codeString)) + return V3ActCode.NETAMT; + if ("PRDMX".equals(codeString)) + return V3ActCode.PRDMX; + if ("UNITPRICE".equals(codeString)) + return V3ActCode.UNITPRICE; + if ("UNITQTY".equals(codeString)) + return V3ActCode.UNITQTY; + if ("COVMX".equals(codeString)) + return V3ActCode.COVMX; + if ("_ActCoverageTypeCode".equals(codeString)) + return V3ActCode._ACTCOVERAGETYPECODE; + if ("_ActInsurancePolicyCode".equals(codeString)) + return V3ActCode._ACTINSURANCEPOLICYCODE; + if ("EHCPOL".equals(codeString)) + return V3ActCode.EHCPOL; + if ("HSAPOL".equals(codeString)) + return V3ActCode.HSAPOL; + if ("AUTOPOL".equals(codeString)) + return V3ActCode.AUTOPOL; + if ("COL".equals(codeString)) + return V3ActCode.COL; + if ("UNINSMOT".equals(codeString)) + return V3ActCode.UNINSMOT; + if ("PUBLICPOL".equals(codeString)) + return V3ActCode.PUBLICPOL; + if ("DENTPRG".equals(codeString)) + return V3ActCode.DENTPRG; + if ("DISEASEPRG".equals(codeString)) + return V3ActCode.DISEASEPRG; + if ("CANPRG".equals(codeString)) + return V3ActCode.CANPRG; + if ("ENDRENAL".equals(codeString)) + return V3ActCode.ENDRENAL; + if ("HIVAIDS".equals(codeString)) + return V3ActCode.HIVAIDS; + if ("MANDPOL".equals(codeString)) + return V3ActCode.MANDPOL; + if ("MENTPRG".equals(codeString)) + return V3ActCode.MENTPRG; + if ("SAFNET".equals(codeString)) + return V3ActCode.SAFNET; + if ("SUBPRG".equals(codeString)) + return V3ActCode.SUBPRG; + if ("SUBSIDIZ".equals(codeString)) + return V3ActCode.SUBSIDIZ; + if ("SUBSIDMC".equals(codeString)) + return V3ActCode.SUBSIDMC; + if ("SUBSUPP".equals(codeString)) + return V3ActCode.SUBSUPP; + if ("WCBPOL".equals(codeString)) + return V3ActCode.WCBPOL; + if ("_ActInsuranceTypeCode".equals(codeString)) + return V3ActCode._ACTINSURANCETYPECODE; + if ("_ActHealthInsuranceTypeCode".equals(codeString)) + return V3ActCode._ACTHEALTHINSURANCETYPECODE; + if ("DENTAL".equals(codeString)) + return V3ActCode.DENTAL; + if ("DISEASE".equals(codeString)) + return V3ActCode.DISEASE; + if ("DRUGPOL".equals(codeString)) + return V3ActCode.DRUGPOL; + if ("HIP".equals(codeString)) + return V3ActCode.HIP; + if ("LTC".equals(codeString)) + return V3ActCode.LTC; + if ("MCPOL".equals(codeString)) + return V3ActCode.MCPOL; + if ("POS".equals(codeString)) + return V3ActCode.POS; + if ("HMO".equals(codeString)) + return V3ActCode.HMO; + if ("PPO".equals(codeString)) + return V3ActCode.PPO; + if ("MENTPOL".equals(codeString)) + return V3ActCode.MENTPOL; + if ("SUBPOL".equals(codeString)) + return V3ActCode.SUBPOL; + if ("VISPOL".equals(codeString)) + return V3ActCode.VISPOL; + if ("DIS".equals(codeString)) + return V3ActCode.DIS; + if ("EWB".equals(codeString)) + return V3ActCode.EWB; + if ("FLEXP".equals(codeString)) + return V3ActCode.FLEXP; + if ("LIFE".equals(codeString)) + return V3ActCode.LIFE; + if ("ANNU".equals(codeString)) + return V3ActCode.ANNU; + if ("TLIFE".equals(codeString)) + return V3ActCode.TLIFE; + if ("ULIFE".equals(codeString)) + return V3ActCode.ULIFE; + if ("PNC".equals(codeString)) + return V3ActCode.PNC; + if ("REI".equals(codeString)) + return V3ActCode.REI; + if ("SURPL".equals(codeString)) + return V3ActCode.SURPL; + if ("UMBRL".equals(codeString)) + return V3ActCode.UMBRL; + if ("_ActProgramTypeCode".equals(codeString)) + return V3ActCode._ACTPROGRAMTYPECODE; + if ("CHAR".equals(codeString)) + return V3ActCode.CHAR; + if ("CRIME".equals(codeString)) + return V3ActCode.CRIME; + if ("EAP".equals(codeString)) + return V3ActCode.EAP; + if ("GOVEMP".equals(codeString)) + return V3ActCode.GOVEMP; + if ("HIRISK".equals(codeString)) + return V3ActCode.HIRISK; + if ("IND".equals(codeString)) + return V3ActCode.IND; + if ("MILITARY".equals(codeString)) + return V3ActCode.MILITARY; + if ("RETIRE".equals(codeString)) + return V3ActCode.RETIRE; + if ("SOCIAL".equals(codeString)) + return V3ActCode.SOCIAL; + if ("VET".equals(codeString)) + return V3ActCode.VET; + if ("_ActDetectedIssueManagementCode".equals(codeString)) + return V3ActCode._ACTDETECTEDISSUEMANAGEMENTCODE; + if ("_ActAdministrativeDetectedIssueManagementCode".equals(codeString)) + return V3ActCode._ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE; + if ("_AuthorizationIssueManagementCode".equals(codeString)) + return V3ActCode._AUTHORIZATIONISSUEMANAGEMENTCODE; + if ("EMAUTH".equals(codeString)) + return V3ActCode.EMAUTH; + if ("21".equals(codeString)) + return V3ActCode._21; + if ("1".equals(codeString)) + return V3ActCode._1; + if ("19".equals(codeString)) + return V3ActCode._19; + if ("2".equals(codeString)) + return V3ActCode._2; + if ("22".equals(codeString)) + return V3ActCode._22; + if ("23".equals(codeString)) + return V3ActCode._23; + if ("3".equals(codeString)) + return V3ActCode._3; + if ("4".equals(codeString)) + return V3ActCode._4; + if ("5".equals(codeString)) + return V3ActCode._5; + if ("6".equals(codeString)) + return V3ActCode._6; + if ("7".equals(codeString)) + return V3ActCode._7; + if ("14".equals(codeString)) + return V3ActCode._14; + if ("15".equals(codeString)) + return V3ActCode._15; + if ("16".equals(codeString)) + return V3ActCode._16; + if ("17".equals(codeString)) + return V3ActCode._17; + if ("18".equals(codeString)) + return V3ActCode._18; + if ("20".equals(codeString)) + return V3ActCode._20; + if ("8".equals(codeString)) + return V3ActCode._8; + if ("10".equals(codeString)) + return V3ActCode._10; + if ("11".equals(codeString)) + return V3ActCode._11; + if ("12".equals(codeString)) + return V3ActCode._12; + if ("13".equals(codeString)) + return V3ActCode._13; + if ("9".equals(codeString)) + return V3ActCode._9; + if ("_ActExposureCode".equals(codeString)) + return V3ActCode._ACTEXPOSURECODE; + if ("CHLDCARE".equals(codeString)) + return V3ActCode.CHLDCARE; + if ("CONVEYNC".equals(codeString)) + return V3ActCode.CONVEYNC; + if ("HLTHCARE".equals(codeString)) + return V3ActCode.HLTHCARE; + if ("HOMECARE".equals(codeString)) + return V3ActCode.HOMECARE; + if ("HOSPPTNT".equals(codeString)) + return V3ActCode.HOSPPTNT; + if ("HOSPVSTR".equals(codeString)) + return V3ActCode.HOSPVSTR; + if ("HOUSEHLD".equals(codeString)) + return V3ActCode.HOUSEHLD; + if ("INMATE".equals(codeString)) + return V3ActCode.INMATE; + if ("INTIMATE".equals(codeString)) + return V3ActCode.INTIMATE; + if ("LTRMCARE".equals(codeString)) + return V3ActCode.LTRMCARE; + if ("PLACE".equals(codeString)) + return V3ActCode.PLACE; + if ("PTNTCARE".equals(codeString)) + return V3ActCode.PTNTCARE; + if ("SCHOOL2".equals(codeString)) + return V3ActCode.SCHOOL2; + if ("SOCIAL2".equals(codeString)) + return V3ActCode.SOCIAL2; + if ("SUBSTNCE".equals(codeString)) + return V3ActCode.SUBSTNCE; + if ("TRAVINT".equals(codeString)) + return V3ActCode.TRAVINT; + if ("WORK2".equals(codeString)) + return V3ActCode.WORK2; + if ("_ActFinancialTransactionCode".equals(codeString)) + return V3ActCode._ACTFINANCIALTRANSACTIONCODE; + if ("CHRG".equals(codeString)) + return V3ActCode.CHRG; + if ("REV".equals(codeString)) + return V3ActCode.REV; + if ("_ActIncidentCode".equals(codeString)) + return V3ActCode._ACTINCIDENTCODE; + if ("MVA".equals(codeString)) + return V3ActCode.MVA; + if ("SCHOOL".equals(codeString)) + return V3ActCode.SCHOOL; + if ("SPT".equals(codeString)) + return V3ActCode.SPT; + if ("WPA".equals(codeString)) + return V3ActCode.WPA; + if ("_ActInformationAccessCode".equals(codeString)) + return V3ActCode._ACTINFORMATIONACCESSCODE; + if ("ACADR".equals(codeString)) + return V3ActCode.ACADR; + if ("ACALL".equals(codeString)) + return V3ActCode.ACALL; + if ("ACALLG".equals(codeString)) + return V3ActCode.ACALLG; + if ("ACCONS".equals(codeString)) + return V3ActCode.ACCONS; + if ("ACDEMO".equals(codeString)) + return V3ActCode.ACDEMO; + if ("ACDI".equals(codeString)) + return V3ActCode.ACDI; + if ("ACIMMUN".equals(codeString)) + return V3ActCode.ACIMMUN; + if ("ACLAB".equals(codeString)) + return V3ActCode.ACLAB; + if ("ACMED".equals(codeString)) + return V3ActCode.ACMED; + if ("ACMEDC".equals(codeString)) + return V3ActCode.ACMEDC; + if ("ACMEN".equals(codeString)) + return V3ActCode.ACMEN; + if ("ACOBS".equals(codeString)) + return V3ActCode.ACOBS; + if ("ACPOLPRG".equals(codeString)) + return V3ActCode.ACPOLPRG; + if ("ACPROV".equals(codeString)) + return V3ActCode.ACPROV; + if ("ACPSERV".equals(codeString)) + return V3ActCode.ACPSERV; + if ("ACSUBSTAB".equals(codeString)) + return V3ActCode.ACSUBSTAB; + if ("_ActInformationAccessContextCode".equals(codeString)) + return V3ActCode._ACTINFORMATIONACCESSCONTEXTCODE; + if ("INFAUT".equals(codeString)) + return V3ActCode.INFAUT; + if ("INFCON".equals(codeString)) + return V3ActCode.INFCON; + if ("INFCRT".equals(codeString)) + return V3ActCode.INFCRT; + if ("INFDNG".equals(codeString)) + return V3ActCode.INFDNG; + if ("INFEMER".equals(codeString)) + return V3ActCode.INFEMER; + if ("INFPWR".equals(codeString)) + return V3ActCode.INFPWR; + if ("INFREG".equals(codeString)) + return V3ActCode.INFREG; + if ("_ActInformationCategoryCode".equals(codeString)) + return V3ActCode._ACTINFORMATIONCATEGORYCODE; + if ("ALLCAT".equals(codeString)) + return V3ActCode.ALLCAT; + if ("ALLGCAT".equals(codeString)) + return V3ActCode.ALLGCAT; + if ("ARCAT".equals(codeString)) + return V3ActCode.ARCAT; + if ("COBSCAT".equals(codeString)) + return V3ActCode.COBSCAT; + if ("DEMOCAT".equals(codeString)) + return V3ActCode.DEMOCAT; + if ("DICAT".equals(codeString)) + return V3ActCode.DICAT; + if ("IMMUCAT".equals(codeString)) + return V3ActCode.IMMUCAT; + if ("LABCAT".equals(codeString)) + return V3ActCode.LABCAT; + if ("MEDCCAT".equals(codeString)) + return V3ActCode.MEDCCAT; + if ("MENCAT".equals(codeString)) + return V3ActCode.MENCAT; + if ("PSVCCAT".equals(codeString)) + return V3ActCode.PSVCCAT; + if ("RXCAT".equals(codeString)) + return V3ActCode.RXCAT; + if ("_ActInvoiceElementCode".equals(codeString)) + return V3ActCode._ACTINVOICEELEMENTCODE; + if ("_ActInvoiceAdjudicationPaymentCode".equals(codeString)) + return V3ActCode._ACTINVOICEADJUDICATIONPAYMENTCODE; + if ("_ActInvoiceAdjudicationPaymentGroupCode".equals(codeString)) + return V3ActCode._ACTINVOICEADJUDICATIONPAYMENTGROUPCODE; + if ("ALEC".equals(codeString)) + return V3ActCode.ALEC; + if ("BONUS".equals(codeString)) + return V3ActCode.BONUS; + if ("CFWD".equals(codeString)) + return V3ActCode.CFWD; + if ("EDU".equals(codeString)) + return V3ActCode.EDU; + if ("EPYMT".equals(codeString)) + return V3ActCode.EPYMT; + if ("GARN".equals(codeString)) + return V3ActCode.GARN; + if ("INVOICE".equals(codeString)) + return V3ActCode.INVOICE; + if ("PINV".equals(codeString)) + return V3ActCode.PINV; + if ("PPRD".equals(codeString)) + return V3ActCode.PPRD; + if ("PROA".equals(codeString)) + return V3ActCode.PROA; + if ("RECOV".equals(codeString)) + return V3ActCode.RECOV; + if ("RETRO".equals(codeString)) + return V3ActCode.RETRO; + if ("TRAN".equals(codeString)) + return V3ActCode.TRAN; + if ("_ActInvoiceAdjudicationPaymentSummaryCode".equals(codeString)) + return V3ActCode._ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE; + if ("INVTYPE".equals(codeString)) + return V3ActCode.INVTYPE; + if ("PAYEE".equals(codeString)) + return V3ActCode.PAYEE; + if ("PAYOR".equals(codeString)) + return V3ActCode.PAYOR; + if ("SENDAPP".equals(codeString)) + return V3ActCode.SENDAPP; + if ("_ActInvoiceDetailCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILCODE; + if ("_ActInvoiceDetailClinicalProductCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILCLINICALPRODUCTCODE; + if ("UNSPSC".equals(codeString)) + return V3ActCode.UNSPSC; + if ("_ActInvoiceDetailDrugProductCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILDRUGPRODUCTCODE; + if ("GTIN".equals(codeString)) + return V3ActCode.GTIN; + if ("UPC".equals(codeString)) + return V3ActCode.UPC; + if ("_ActInvoiceDetailGenericCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILGENERICCODE; + if ("_ActInvoiceDetailGenericAdjudicatorCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILGENERICADJUDICATORCODE; + if ("COIN".equals(codeString)) + return V3ActCode.COIN; + if ("COPAYMENT".equals(codeString)) + return V3ActCode.COPAYMENT; + if ("DEDUCTIBLE".equals(codeString)) + return V3ActCode.DEDUCTIBLE; + if ("PAY".equals(codeString)) + return V3ActCode.PAY; + if ("SPEND".equals(codeString)) + return V3ActCode.SPEND; + if ("_ActInvoiceDetailGenericModifierCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILGENERICMODIFIERCODE; + if ("AFTHRS".equals(codeString)) + return V3ActCode.AFTHRS; + if ("ISOL".equals(codeString)) + return V3ActCode.ISOL; + if ("OOO".equals(codeString)) + return V3ActCode.OOO; + if ("_ActInvoiceDetailGenericProviderCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILGENERICPROVIDERCODE; + if ("CANCAPT".equals(codeString)) + return V3ActCode.CANCAPT; + if ("DSC".equals(codeString)) + return V3ActCode.DSC; + if ("ESA".equals(codeString)) + return V3ActCode.ESA; + if ("FFSTOP".equals(codeString)) + return V3ActCode.FFSTOP; + if ("FNLFEE".equals(codeString)) + return V3ActCode.FNLFEE; + if ("FRSTFEE".equals(codeString)) + return V3ActCode.FRSTFEE; + if ("MARKUP".equals(codeString)) + return V3ActCode.MARKUP; + if ("MISSAPT".equals(codeString)) + return V3ActCode.MISSAPT; + if ("PERFEE".equals(codeString)) + return V3ActCode.PERFEE; + if ("PERMBNS".equals(codeString)) + return V3ActCode.PERMBNS; + if ("RESTOCK".equals(codeString)) + return V3ActCode.RESTOCK; + if ("TRAVEL".equals(codeString)) + return V3ActCode.TRAVEL; + if ("URGENT".equals(codeString)) + return V3ActCode.URGENT; + if ("_ActInvoiceDetailTaxCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILTAXCODE; + if ("FST".equals(codeString)) + return V3ActCode.FST; + if ("HST".equals(codeString)) + return V3ActCode.HST; + if ("PST".equals(codeString)) + return V3ActCode.PST; + if ("_ActInvoiceDetailPreferredAccommodationCode".equals(codeString)) + return V3ActCode._ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE; + if ("_ActEncounterAccommodationCode".equals(codeString)) + return V3ActCode._ACTENCOUNTERACCOMMODATIONCODE; + if ("_HL7AccommodationCode".equals(codeString)) + return V3ActCode._HL7ACCOMMODATIONCODE; + if ("I".equals(codeString)) + return V3ActCode.I; + if ("P".equals(codeString)) + return V3ActCode.P; + if ("S".equals(codeString)) + return V3ActCode.S; + if ("SP".equals(codeString)) + return V3ActCode.SP; + if ("W".equals(codeString)) + return V3ActCode.W; + if ("_ActInvoiceGroupCode".equals(codeString)) + return V3ActCode._ACTINVOICEGROUPCODE; + if ("_ActInvoiceInterGroupCode".equals(codeString)) + return V3ActCode._ACTINVOICEINTERGROUPCODE; + if ("CPNDDRGING".equals(codeString)) + return V3ActCode.CPNDDRGING; + if ("CPNDINDING".equals(codeString)) + return V3ActCode.CPNDINDING; + if ("CPNDSUPING".equals(codeString)) + return V3ActCode.CPNDSUPING; + if ("DRUGING".equals(codeString)) + return V3ActCode.DRUGING; + if ("FRAMEING".equals(codeString)) + return V3ActCode.FRAMEING; + if ("LENSING".equals(codeString)) + return V3ActCode.LENSING; + if ("PRDING".equals(codeString)) + return V3ActCode.PRDING; + if ("_ActInvoiceRootGroupCode".equals(codeString)) + return V3ActCode._ACTINVOICEROOTGROUPCODE; + if ("CPINV".equals(codeString)) + return V3ActCode.CPINV; + if ("CSINV".equals(codeString)) + return V3ActCode.CSINV; + if ("CSPINV".equals(codeString)) + return V3ActCode.CSPINV; + if ("FININV".equals(codeString)) + return V3ActCode.FININV; + if ("OHSINV".equals(codeString)) + return V3ActCode.OHSINV; + if ("PAINV".equals(codeString)) + return V3ActCode.PAINV; + if ("RXCINV".equals(codeString)) + return V3ActCode.RXCINV; + if ("RXDINV".equals(codeString)) + return V3ActCode.RXDINV; + if ("SBFINV".equals(codeString)) + return V3ActCode.SBFINV; + if ("VRXINV".equals(codeString)) + return V3ActCode.VRXINV; + if ("_ActInvoiceElementSummaryCode".equals(codeString)) + return V3ActCode._ACTINVOICEELEMENTSUMMARYCODE; + if ("_InvoiceElementAdjudicated".equals(codeString)) + return V3ActCode._INVOICEELEMENTADJUDICATED; + if ("ADNFPPELAT".equals(codeString)) + return V3ActCode.ADNFPPELAT; + if ("ADNFPPELCT".equals(codeString)) + return V3ActCode.ADNFPPELCT; + if ("ADNFPPMNAT".equals(codeString)) + return V3ActCode.ADNFPPMNAT; + if ("ADNFPPMNCT".equals(codeString)) + return V3ActCode.ADNFPPMNCT; + if ("ADNFSPELAT".equals(codeString)) + return V3ActCode.ADNFSPELAT; + if ("ADNFSPELCT".equals(codeString)) + return V3ActCode.ADNFSPELCT; + if ("ADNFSPMNAT".equals(codeString)) + return V3ActCode.ADNFSPMNAT; + if ("ADNFSPMNCT".equals(codeString)) + return V3ActCode.ADNFSPMNCT; + if ("ADNPPPELAT".equals(codeString)) + return V3ActCode.ADNPPPELAT; + if ("ADNPPPELCT".equals(codeString)) + return V3ActCode.ADNPPPELCT; + if ("ADNPPPMNAT".equals(codeString)) + return V3ActCode.ADNPPPMNAT; + if ("ADNPPPMNCT".equals(codeString)) + return V3ActCode.ADNPPPMNCT; + if ("ADNPSPELAT".equals(codeString)) + return V3ActCode.ADNPSPELAT; + if ("ADNPSPELCT".equals(codeString)) + return V3ActCode.ADNPSPELCT; + if ("ADNPSPMNAT".equals(codeString)) + return V3ActCode.ADNPSPMNAT; + if ("ADNPSPMNCT".equals(codeString)) + return V3ActCode.ADNPSPMNCT; + if ("ADPPPPELAT".equals(codeString)) + return V3ActCode.ADPPPPELAT; + if ("ADPPPPELCT".equals(codeString)) + return V3ActCode.ADPPPPELCT; + if ("ADPPPPMNAT".equals(codeString)) + return V3ActCode.ADPPPPMNAT; + if ("ADPPPPMNCT".equals(codeString)) + return V3ActCode.ADPPPPMNCT; + if ("ADPPSPELAT".equals(codeString)) + return V3ActCode.ADPPSPELAT; + if ("ADPPSPELCT".equals(codeString)) + return V3ActCode.ADPPSPELCT; + if ("ADPPSPMNAT".equals(codeString)) + return V3ActCode.ADPPSPMNAT; + if ("ADPPSPMNCT".equals(codeString)) + return V3ActCode.ADPPSPMNCT; + if ("ADRFPPELAT".equals(codeString)) + return V3ActCode.ADRFPPELAT; + if ("ADRFPPELCT".equals(codeString)) + return V3ActCode.ADRFPPELCT; + if ("ADRFPPMNAT".equals(codeString)) + return V3ActCode.ADRFPPMNAT; + if ("ADRFPPMNCT".equals(codeString)) + return V3ActCode.ADRFPPMNCT; + if ("ADRFSPELAT".equals(codeString)) + return V3ActCode.ADRFSPELAT; + if ("ADRFSPELCT".equals(codeString)) + return V3ActCode.ADRFSPELCT; + if ("ADRFSPMNAT".equals(codeString)) + return V3ActCode.ADRFSPMNAT; + if ("ADRFSPMNCT".equals(codeString)) + return V3ActCode.ADRFSPMNCT; + if ("_InvoiceElementPaid".equals(codeString)) + return V3ActCode._INVOICEELEMENTPAID; + if ("PDNFPPELAT".equals(codeString)) + return V3ActCode.PDNFPPELAT; + if ("PDNFPPELCT".equals(codeString)) + return V3ActCode.PDNFPPELCT; + if ("PDNFPPMNAT".equals(codeString)) + return V3ActCode.PDNFPPMNAT; + if ("PDNFPPMNCT".equals(codeString)) + return V3ActCode.PDNFPPMNCT; + if ("PDNFSPELAT".equals(codeString)) + return V3ActCode.PDNFSPELAT; + if ("PDNFSPELCT".equals(codeString)) + return V3ActCode.PDNFSPELCT; + if ("PDNFSPMNAT".equals(codeString)) + return V3ActCode.PDNFSPMNAT; + if ("PDNFSPMNCT".equals(codeString)) + return V3ActCode.PDNFSPMNCT; + if ("PDNPPPELAT".equals(codeString)) + return V3ActCode.PDNPPPELAT; + if ("PDNPPPELCT".equals(codeString)) + return V3ActCode.PDNPPPELCT; + if ("PDNPPPMNAT".equals(codeString)) + return V3ActCode.PDNPPPMNAT; + if ("PDNPPPMNCT".equals(codeString)) + return V3ActCode.PDNPPPMNCT; + if ("PDNPSPELAT".equals(codeString)) + return V3ActCode.PDNPSPELAT; + if ("PDNPSPELCT".equals(codeString)) + return V3ActCode.PDNPSPELCT; + if ("PDNPSPMNAT".equals(codeString)) + return V3ActCode.PDNPSPMNAT; + if ("PDNPSPMNCT".equals(codeString)) + return V3ActCode.PDNPSPMNCT; + if ("PDPPPPELAT".equals(codeString)) + return V3ActCode.PDPPPPELAT; + if ("PDPPPPELCT".equals(codeString)) + return V3ActCode.PDPPPPELCT; + if ("PDPPPPMNAT".equals(codeString)) + return V3ActCode.PDPPPPMNAT; + if ("PDPPPPMNCT".equals(codeString)) + return V3ActCode.PDPPPPMNCT; + if ("PDPPSPELAT".equals(codeString)) + return V3ActCode.PDPPSPELAT; + if ("PDPPSPELCT".equals(codeString)) + return V3ActCode.PDPPSPELCT; + if ("PDPPSPMNAT".equals(codeString)) + return V3ActCode.PDPPSPMNAT; + if ("PDPPSPMNCT".equals(codeString)) + return V3ActCode.PDPPSPMNCT; + if ("_InvoiceElementSubmitted".equals(codeString)) + return V3ActCode._INVOICEELEMENTSUBMITTED; + if ("SBBLELAT".equals(codeString)) + return V3ActCode.SBBLELAT; + if ("SBBLELCT".equals(codeString)) + return V3ActCode.SBBLELCT; + if ("SBNFELAT".equals(codeString)) + return V3ActCode.SBNFELAT; + if ("SBNFELCT".equals(codeString)) + return V3ActCode.SBNFELCT; + if ("SBPDELAT".equals(codeString)) + return V3ActCode.SBPDELAT; + if ("SBPDELCT".equals(codeString)) + return V3ActCode.SBPDELCT; + if ("_ActInvoiceOverrideCode".equals(codeString)) + return V3ActCode._ACTINVOICEOVERRIDECODE; + if ("COVGE".equals(codeString)) + return V3ActCode.COVGE; + if ("EFORM".equals(codeString)) + return V3ActCode.EFORM; + if ("FAX".equals(codeString)) + return V3ActCode.FAX; + if ("GFTH".equals(codeString)) + return V3ActCode.GFTH; + if ("LATE".equals(codeString)) + return V3ActCode.LATE; + if ("MANUAL".equals(codeString)) + return V3ActCode.MANUAL; + if ("OOJ".equals(codeString)) + return V3ActCode.OOJ; + if ("ORTHO".equals(codeString)) + return V3ActCode.ORTHO; + if ("PAPER".equals(codeString)) + return V3ActCode.PAPER; + if ("PIE".equals(codeString)) + return V3ActCode.PIE; + if ("PYRDELAY".equals(codeString)) + return V3ActCode.PYRDELAY; + if ("REFNR".equals(codeString)) + return V3ActCode.REFNR; + if ("REPSERV".equals(codeString)) + return V3ActCode.REPSERV; + if ("UNRELAT".equals(codeString)) + return V3ActCode.UNRELAT; + if ("VERBAUTH".equals(codeString)) + return V3ActCode.VERBAUTH; + if ("_ActListCode".equals(codeString)) + return V3ActCode._ACTLISTCODE; + if ("_ActObservationList".equals(codeString)) + return V3ActCode._ACTOBSERVATIONLIST; + if ("CARELIST".equals(codeString)) + return V3ActCode.CARELIST; + if ("CONDLIST".equals(codeString)) + return V3ActCode.CONDLIST; + if ("INTOLIST".equals(codeString)) + return V3ActCode.INTOLIST; + if ("PROBLIST".equals(codeString)) + return V3ActCode.PROBLIST; + if ("RISKLIST".equals(codeString)) + return V3ActCode.RISKLIST; + if ("GOALLIST".equals(codeString)) + return V3ActCode.GOALLIST; + if ("_ActTherapyDurationWorkingListCode".equals(codeString)) + return V3ActCode._ACTTHERAPYDURATIONWORKINGLISTCODE; + if ("_ActMedicationTherapyDurationWorkingListCode".equals(codeString)) + return V3ActCode._ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE; + if ("ACU".equals(codeString)) + return V3ActCode.ACU; + if ("CHRON".equals(codeString)) + return V3ActCode.CHRON; + if ("ONET".equals(codeString)) + return V3ActCode.ONET; + if ("PRN".equals(codeString)) + return V3ActCode.PRN; + if ("MEDLIST".equals(codeString)) + return V3ActCode.MEDLIST; + if ("CURMEDLIST".equals(codeString)) + return V3ActCode.CURMEDLIST; + if ("DISCMEDLIST".equals(codeString)) + return V3ActCode.DISCMEDLIST; + if ("HISTMEDLIST".equals(codeString)) + return V3ActCode.HISTMEDLIST; + if ("_ActMonitoringProtocolCode".equals(codeString)) + return V3ActCode._ACTMONITORINGPROTOCOLCODE; + if ("CTLSUB".equals(codeString)) + return V3ActCode.CTLSUB; + if ("INV".equals(codeString)) + return V3ActCode.INV; + if ("LU".equals(codeString)) + return V3ActCode.LU; + if ("OTC".equals(codeString)) + return V3ActCode.OTC; + if ("RX".equals(codeString)) + return V3ActCode.RX; + if ("SA".equals(codeString)) + return V3ActCode.SA; + if ("SAC".equals(codeString)) + return V3ActCode.SAC; + if ("_ActNonObservationIndicationCode".equals(codeString)) + return V3ActCode._ACTNONOBSERVATIONINDICATIONCODE; + if ("IND01".equals(codeString)) + return V3ActCode.IND01; + if ("IND02".equals(codeString)) + return V3ActCode.IND02; + if ("IND03".equals(codeString)) + return V3ActCode.IND03; + if ("IND04".equals(codeString)) + return V3ActCode.IND04; + if ("IND05".equals(codeString)) + return V3ActCode.IND05; + if ("_ActObservationVerificationType".equals(codeString)) + return V3ActCode._ACTOBSERVATIONVERIFICATIONTYPE; + if ("VFPAPER".equals(codeString)) + return V3ActCode.VFPAPER; + if ("_ActPaymentCode".equals(codeString)) + return V3ActCode._ACTPAYMENTCODE; + if ("ACH".equals(codeString)) + return V3ActCode.ACH; + if ("CHK".equals(codeString)) + return V3ActCode.CHK; + if ("DDP".equals(codeString)) + return V3ActCode.DDP; + if ("NON".equals(codeString)) + return V3ActCode.NON; + if ("_ActPharmacySupplyType".equals(codeString)) + return V3ActCode._ACTPHARMACYSUPPLYTYPE; + if ("DF".equals(codeString)) + return V3ActCode.DF; + if ("EM".equals(codeString)) + return V3ActCode.EM; + if ("SO".equals(codeString)) + return V3ActCode.SO; + if ("FF".equals(codeString)) + return V3ActCode.FF; + if ("FFC".equals(codeString)) + return V3ActCode.FFC; + if ("FFCS".equals(codeString)) + return V3ActCode.FFCS; + if ("FFP".equals(codeString)) + return V3ActCode.FFP; + if ("FFPS".equals(codeString)) + return V3ActCode.FFPS; + if ("FFSS".equals(codeString)) + return V3ActCode.FFSS; + if ("TFS".equals(codeString)) + return V3ActCode.TFS; + if ("TF".equals(codeString)) + return V3ActCode.TF; + if ("FS".equals(codeString)) + return V3ActCode.FS; + if ("MS".equals(codeString)) + return V3ActCode.MS; + if ("RF".equals(codeString)) + return V3ActCode.RF; + if ("UD".equals(codeString)) + return V3ActCode.UD; + if ("RFC".equals(codeString)) + return V3ActCode.RFC; + if ("RFCS".equals(codeString)) + return V3ActCode.RFCS; + if ("RFF".equals(codeString)) + return V3ActCode.RFF; + if ("RFFS".equals(codeString)) + return V3ActCode.RFFS; + if ("RFP".equals(codeString)) + return V3ActCode.RFP; + if ("RFPS".equals(codeString)) + return V3ActCode.RFPS; + if ("RFS".equals(codeString)) + return V3ActCode.RFS; + if ("TB".equals(codeString)) + return V3ActCode.TB; + if ("TBS".equals(codeString)) + return V3ActCode.TBS; + if ("UDE".equals(codeString)) + return V3ActCode.UDE; + if ("_ActPolicyType".equals(codeString)) + return V3ActCode._ACTPOLICYTYPE; + if ("_ActPrivacyPolicy".equals(codeString)) + return V3ActCode._ACTPRIVACYPOLICY; + if ("_ActConsentDirective".equals(codeString)) + return V3ActCode._ACTCONSENTDIRECTIVE; + if ("EMRGONLY".equals(codeString)) + return V3ActCode.EMRGONLY; + if ("NOPP".equals(codeString)) + return V3ActCode.NOPP; + if ("OPTIN".equals(codeString)) + return V3ActCode.OPTIN; + if ("OPTOUT".equals(codeString)) + return V3ActCode.OPTOUT; + if ("_InformationSensitivityPolicy".equals(codeString)) + return V3ActCode._INFORMATIONSENSITIVITYPOLICY; + if ("_ActInformationSensitivityPolicy".equals(codeString)) + return V3ActCode._ACTINFORMATIONSENSITIVITYPOLICY; + if ("ETH".equals(codeString)) + return V3ActCode.ETH; + if ("GDIS".equals(codeString)) + return V3ActCode.GDIS; + if ("HIV".equals(codeString)) + return V3ActCode.HIV; + if ("PSY".equals(codeString)) + return V3ActCode.PSY; + if ("SCA".equals(codeString)) + return V3ActCode.SCA; + if ("SDV".equals(codeString)) + return V3ActCode.SDV; + if ("SEX".equals(codeString)) + return V3ActCode.SEX; + if ("STD".equals(codeString)) + return V3ActCode.STD; + if ("TBOO".equals(codeString)) + return V3ActCode.TBOO; + if ("_EntitySensitivityPolicyType".equals(codeString)) + return V3ActCode._ENTITYSENSITIVITYPOLICYTYPE; + if ("DEMO".equals(codeString)) + return V3ActCode.DEMO; + if ("DOB".equals(codeString)) + return V3ActCode.DOB; + if ("GENDER".equals(codeString)) + return V3ActCode.GENDER; + if ("LIVARG".equals(codeString)) + return V3ActCode.LIVARG; + if ("MARST".equals(codeString)) + return V3ActCode.MARST; + if ("RACE".equals(codeString)) + return V3ActCode.RACE; + if ("REL".equals(codeString)) + return V3ActCode.REL; + if ("_RoleInformationSensitivityPolicy".equals(codeString)) + return V3ActCode._ROLEINFORMATIONSENSITIVITYPOLICY; + if ("B".equals(codeString)) + return V3ActCode.B; + if ("EMPL".equals(codeString)) + return V3ActCode.EMPL; + if ("LOCIS".equals(codeString)) + return V3ActCode.LOCIS; + if ("SSP".equals(codeString)) + return V3ActCode.SSP; + if ("ADOL".equals(codeString)) + return V3ActCode.ADOL; + if ("CEL".equals(codeString)) + return V3ActCode.CEL; + if ("DIA".equals(codeString)) + return V3ActCode.DIA; + if ("DRGIS".equals(codeString)) + return V3ActCode.DRGIS; + if ("EMP".equals(codeString)) + return V3ActCode.EMP; + if ("PDS".equals(codeString)) + return V3ActCode.PDS; + if ("PRS".equals(codeString)) + return V3ActCode.PRS; + if ("COMPT".equals(codeString)) + return V3ActCode.COMPT; + if ("HRCOMPT".equals(codeString)) + return V3ActCode.HRCOMPT; + if ("RESCOMPT".equals(codeString)) + return V3ActCode.RESCOMPT; + if ("RMGTCOMPT".equals(codeString)) + return V3ActCode.RMGTCOMPT; + if ("ActTrustPolicyType".equals(codeString)) + return V3ActCode.ACTTRUSTPOLICYTYPE; + if ("TRSTACCRD".equals(codeString)) + return V3ActCode.TRSTACCRD; + if ("TRSTAGRE".equals(codeString)) + return V3ActCode.TRSTAGRE; + if ("TRSTASSUR".equals(codeString)) + return V3ActCode.TRSTASSUR; + if ("TRSTCERT".equals(codeString)) + return V3ActCode.TRSTCERT; + if ("TRSTFWK".equals(codeString)) + return V3ActCode.TRSTFWK; + if ("TRSTMEC".equals(codeString)) + return V3ActCode.TRSTMEC; + if ("COVPOL".equals(codeString)) + return V3ActCode.COVPOL; + if ("SecurityPolicy".equals(codeString)) + return V3ActCode.SECURITYPOLICY; + if ("ObligationPolicy".equals(codeString)) + return V3ActCode.OBLIGATIONPOLICY; + if ("ANONY".equals(codeString)) + return V3ActCode.ANONY; + if ("AOD".equals(codeString)) + return V3ActCode.AOD; + if ("AUDIT".equals(codeString)) + return V3ActCode.AUDIT; + if ("AUDTR".equals(codeString)) + return V3ActCode.AUDTR; + if ("CPLYCC".equals(codeString)) + return V3ActCode.CPLYCC; + if ("CPLYCD".equals(codeString)) + return V3ActCode.CPLYCD; + if ("CPLYJPP".equals(codeString)) + return V3ActCode.CPLYJPP; + if ("CPLYOPP".equals(codeString)) + return V3ActCode.CPLYOPP; + if ("CPLYOSP".equals(codeString)) + return V3ActCode.CPLYOSP; + if ("CPLYPOL".equals(codeString)) + return V3ActCode.CPLYPOL; + if ("DEID".equals(codeString)) + return V3ActCode.DEID; + if ("DELAU".equals(codeString)) + return V3ActCode.DELAU; + if ("ENCRYPT".equals(codeString)) + return V3ActCode.ENCRYPT; + if ("ENCRYPTR".equals(codeString)) + return V3ActCode.ENCRYPTR; + if ("ENCRYPTT".equals(codeString)) + return V3ActCode.ENCRYPTT; + if ("ENCRYPTU".equals(codeString)) + return V3ActCode.ENCRYPTU; + if ("HUAPRV".equals(codeString)) + return V3ActCode.HUAPRV; + if ("MASK".equals(codeString)) + return V3ActCode.MASK; + if ("MINEC".equals(codeString)) + return V3ActCode.MINEC; + if ("PRIVMARK".equals(codeString)) + return V3ActCode.PRIVMARK; + if ("PSEUD".equals(codeString)) + return V3ActCode.PSEUD; + if ("REDACT".equals(codeString)) + return V3ActCode.REDACT; + if ("RefrainPolicy".equals(codeString)) + return V3ActCode.REFRAINPOLICY; + if ("NOAUTH".equals(codeString)) + return V3ActCode.NOAUTH; + if ("NOCOLLECT".equals(codeString)) + return V3ActCode.NOCOLLECT; + if ("NODSCLCD".equals(codeString)) + return V3ActCode.NODSCLCD; + if ("NODSCLCDS".equals(codeString)) + return V3ActCode.NODSCLCDS; + if ("NOINTEGRATE".equals(codeString)) + return V3ActCode.NOINTEGRATE; + if ("NOLIST".equals(codeString)) + return V3ActCode.NOLIST; + if ("NOMOU".equals(codeString)) + return V3ActCode.NOMOU; + if ("NOORGPOL".equals(codeString)) + return V3ActCode.NOORGPOL; + if ("NOPAT".equals(codeString)) + return V3ActCode.NOPAT; + if ("NOPERSISTP".equals(codeString)) + return V3ActCode.NOPERSISTP; + if ("NORDSCLCD".equals(codeString)) + return V3ActCode.NORDSCLCD; + if ("NORDSCLCDS".equals(codeString)) + return V3ActCode.NORDSCLCDS; + if ("NORDSCLW".equals(codeString)) + return V3ActCode.NORDSCLW; + if ("NORELINK".equals(codeString)) + return V3ActCode.NORELINK; + if ("NOREUSE".equals(codeString)) + return V3ActCode.NOREUSE; + if ("NOVIP".equals(codeString)) + return V3ActCode.NOVIP; + if ("ORCON".equals(codeString)) + return V3ActCode.ORCON; + if ("_ActProductAcquisitionCode".equals(codeString)) + return V3ActCode._ACTPRODUCTACQUISITIONCODE; + if ("LOAN".equals(codeString)) + return V3ActCode.LOAN; + if ("RENT".equals(codeString)) + return V3ActCode.RENT; + if ("TRANSFER".equals(codeString)) + return V3ActCode.TRANSFER; + if ("SALE".equals(codeString)) + return V3ActCode.SALE; + if ("_ActSpecimenTransportCode".equals(codeString)) + return V3ActCode._ACTSPECIMENTRANSPORTCODE; + if ("SREC".equals(codeString)) + return V3ActCode.SREC; + if ("SSTOR".equals(codeString)) + return V3ActCode.SSTOR; + if ("STRAN".equals(codeString)) + return V3ActCode.STRAN; + if ("_ActSpecimenTreatmentCode".equals(codeString)) + return V3ActCode._ACTSPECIMENTREATMENTCODE; + if ("ACID".equals(codeString)) + return V3ActCode.ACID; + if ("ALK".equals(codeString)) + return V3ActCode.ALK; + if ("DEFB".equals(codeString)) + return V3ActCode.DEFB; + if ("FILT".equals(codeString)) + return V3ActCode.FILT; + if ("LDLP".equals(codeString)) + return V3ActCode.LDLP; + if ("NEUT".equals(codeString)) + return V3ActCode.NEUT; + if ("RECA".equals(codeString)) + return V3ActCode.RECA; + if ("UFIL".equals(codeString)) + return V3ActCode.UFIL; + if ("_ActSubstanceAdministrationCode".equals(codeString)) + return V3ActCode._ACTSUBSTANCEADMINISTRATIONCODE; + if ("DRUG".equals(codeString)) + return V3ActCode.DRUG; + if ("FD".equals(codeString)) + return V3ActCode.FD; + if ("IMMUNIZ".equals(codeString)) + return V3ActCode.IMMUNIZ; + if ("_ActTaskCode".equals(codeString)) + return V3ActCode._ACTTASKCODE; + if ("OE".equals(codeString)) + return V3ActCode.OE; + if ("LABOE".equals(codeString)) + return V3ActCode.LABOE; + if ("MEDOE".equals(codeString)) + return V3ActCode.MEDOE; + if ("PATDOC".equals(codeString)) + return V3ActCode.PATDOC; + if ("ALLERLREV".equals(codeString)) + return V3ActCode.ALLERLREV; + if ("CLINNOTEE".equals(codeString)) + return V3ActCode.CLINNOTEE; + if ("DIAGLISTE".equals(codeString)) + return V3ActCode.DIAGLISTE; + if ("DISCHINSTE".equals(codeString)) + return V3ActCode.DISCHINSTE; + if ("DISCHSUME".equals(codeString)) + return V3ActCode.DISCHSUME; + if ("PATEDUE".equals(codeString)) + return V3ActCode.PATEDUE; + if ("PATREPE".equals(codeString)) + return V3ActCode.PATREPE; + if ("PROBLISTE".equals(codeString)) + return V3ActCode.PROBLISTE; + if ("RADREPE".equals(codeString)) + return V3ActCode.RADREPE; + if ("IMMLREV".equals(codeString)) + return V3ActCode.IMMLREV; + if ("REMLREV".equals(codeString)) + return V3ActCode.REMLREV; + if ("WELLREMLREV".equals(codeString)) + return V3ActCode.WELLREMLREV; + if ("PATINFO".equals(codeString)) + return V3ActCode.PATINFO; + if ("ALLERLE".equals(codeString)) + return V3ActCode.ALLERLE; + if ("CDSREV".equals(codeString)) + return V3ActCode.CDSREV; + if ("CLINNOTEREV".equals(codeString)) + return V3ActCode.CLINNOTEREV; + if ("DISCHSUMREV".equals(codeString)) + return V3ActCode.DISCHSUMREV; + if ("DIAGLISTREV".equals(codeString)) + return V3ActCode.DIAGLISTREV; + if ("IMMLE".equals(codeString)) + return V3ActCode.IMMLE; + if ("LABRREV".equals(codeString)) + return V3ActCode.LABRREV; + if ("MICRORREV".equals(codeString)) + return V3ActCode.MICRORREV; + if ("MICROORGRREV".equals(codeString)) + return V3ActCode.MICROORGRREV; + if ("MICROSENSRREV".equals(codeString)) + return V3ActCode.MICROSENSRREV; + if ("MLREV".equals(codeString)) + return V3ActCode.MLREV; + if ("MARWLREV".equals(codeString)) + return V3ActCode.MARWLREV; + if ("OREV".equals(codeString)) + return V3ActCode.OREV; + if ("PATREPREV".equals(codeString)) + return V3ActCode.PATREPREV; + if ("PROBLISTREV".equals(codeString)) + return V3ActCode.PROBLISTREV; + if ("RADREPREV".equals(codeString)) + return V3ActCode.RADREPREV; + if ("REMLE".equals(codeString)) + return V3ActCode.REMLE; + if ("WELLREMLE".equals(codeString)) + return V3ActCode.WELLREMLE; + if ("RISKASSESS".equals(codeString)) + return V3ActCode.RISKASSESS; + if ("FALLRISK".equals(codeString)) + return V3ActCode.FALLRISK; + if ("_ActTransportationModeCode".equals(codeString)) + return V3ActCode._ACTTRANSPORTATIONMODECODE; + if ("_ActPatientTransportationModeCode".equals(codeString)) + return V3ActCode._ACTPATIENTTRANSPORTATIONMODECODE; + if ("AFOOT".equals(codeString)) + return V3ActCode.AFOOT; + if ("AMBT".equals(codeString)) + return V3ActCode.AMBT; + if ("AMBAIR".equals(codeString)) + return V3ActCode.AMBAIR; + if ("AMBGRND".equals(codeString)) + return V3ActCode.AMBGRND; + if ("AMBHELO".equals(codeString)) + return V3ActCode.AMBHELO; + if ("LAWENF".equals(codeString)) + return V3ActCode.LAWENF; + if ("PRVTRN".equals(codeString)) + return V3ActCode.PRVTRN; + if ("PUBTRN".equals(codeString)) + return V3ActCode.PUBTRN; + if ("_ObservationType".equals(codeString)) + return V3ActCode._OBSERVATIONTYPE; + if ("_ActSpecObsCode".equals(codeString)) + return V3ActCode._ACTSPECOBSCODE; + if ("ARTBLD".equals(codeString)) + return V3ActCode.ARTBLD; + if ("DILUTION".equals(codeString)) + return V3ActCode.DILUTION; + if ("AUTO-HIGH".equals(codeString)) + return V3ActCode.AUTOHIGH; + if ("AUTO-LOW".equals(codeString)) + return V3ActCode.AUTOLOW; + if ("PRE".equals(codeString)) + return V3ActCode.PRE; + if ("RERUN".equals(codeString)) + return V3ActCode.RERUN; + if ("EVNFCTS".equals(codeString)) + return V3ActCode.EVNFCTS; + if ("INTFR".equals(codeString)) + return V3ActCode.INTFR; + if ("FIBRIN".equals(codeString)) + return V3ActCode.FIBRIN; + if ("HEMOLYSIS".equals(codeString)) + return V3ActCode.HEMOLYSIS; + if ("ICTERUS".equals(codeString)) + return V3ActCode.ICTERUS; + if ("LIPEMIA".equals(codeString)) + return V3ActCode.LIPEMIA; + if ("VOLUME".equals(codeString)) + return V3ActCode.VOLUME; + if ("AVAILABLE".equals(codeString)) + return V3ActCode.AVAILABLE; + if ("CONSUMPTION".equals(codeString)) + return V3ActCode.CONSUMPTION; + if ("CURRENT".equals(codeString)) + return V3ActCode.CURRENT; + if ("INITIAL".equals(codeString)) + return V3ActCode.INITIAL; + if ("_AnnotationType".equals(codeString)) + return V3ActCode._ANNOTATIONTYPE; + if ("_ActPatientAnnotationType".equals(codeString)) + return V3ActCode._ACTPATIENTANNOTATIONTYPE; + if ("ANNDI".equals(codeString)) + return V3ActCode.ANNDI; + if ("ANNGEN".equals(codeString)) + return V3ActCode.ANNGEN; + if ("ANNIMM".equals(codeString)) + return V3ActCode.ANNIMM; + if ("ANNLAB".equals(codeString)) + return V3ActCode.ANNLAB; + if ("ANNMED".equals(codeString)) + return V3ActCode.ANNMED; + if ("_GeneticObservationType".equals(codeString)) + return V3ActCode._GENETICOBSERVATIONTYPE; + if ("GENE".equals(codeString)) + return V3ActCode.GENE; + if ("_ImmunizationObservationType".equals(codeString)) + return V3ActCode._IMMUNIZATIONOBSERVATIONTYPE; + if ("OBSANTC".equals(codeString)) + return V3ActCode.OBSANTC; + if ("OBSANTV".equals(codeString)) + return V3ActCode.OBSANTV; + if ("_IndividualCaseSafetyReportType".equals(codeString)) + return V3ActCode._INDIVIDUALCASESAFETYREPORTTYPE; + if ("PAT_ADV_EVNT".equals(codeString)) + return V3ActCode.PATADVEVNT; + if ("VAC_PROBLEM".equals(codeString)) + return V3ActCode.VACPROBLEM; + if ("_LOINCObservationActContextAgeType".equals(codeString)) + return V3ActCode._LOINCOBSERVATIONACTCONTEXTAGETYPE; + if ("21611-9".equals(codeString)) + return V3ActCode._216119; + if ("21612-7".equals(codeString)) + return V3ActCode._216127; + if ("29553-5".equals(codeString)) + return V3ActCode._295535; + if ("30525-0".equals(codeString)) + return V3ActCode._305250; + if ("30972-4".equals(codeString)) + return V3ActCode._309724; + if ("_MedicationObservationType".equals(codeString)) + return V3ActCode._MEDICATIONOBSERVATIONTYPE; + if ("REP_HALF_LIFE".equals(codeString)) + return V3ActCode.REPHALFLIFE; + if ("SPLCOATING".equals(codeString)) + return V3ActCode.SPLCOATING; + if ("SPLCOLOR".equals(codeString)) + return V3ActCode.SPLCOLOR; + if ("SPLIMAGE".equals(codeString)) + return V3ActCode.SPLIMAGE; + if ("SPLIMPRINT".equals(codeString)) + return V3ActCode.SPLIMPRINT; + if ("SPLSCORING".equals(codeString)) + return V3ActCode.SPLSCORING; + if ("SPLSHAPE".equals(codeString)) + return V3ActCode.SPLSHAPE; + if ("SPLSIZE".equals(codeString)) + return V3ActCode.SPLSIZE; + if ("SPLSYMBOL".equals(codeString)) + return V3ActCode.SPLSYMBOL; + if ("_ObservationIssueTriggerCodedObservationType".equals(codeString)) + return V3ActCode._OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE; + if ("_CaseTransmissionMode".equals(codeString)) + return V3ActCode._CASETRANSMISSIONMODE; + if ("AIRTRNS".equals(codeString)) + return V3ActCode.AIRTRNS; + if ("ANANTRNS".equals(codeString)) + return V3ActCode.ANANTRNS; + if ("ANHUMTRNS".equals(codeString)) + return V3ActCode.ANHUMTRNS; + if ("BDYFLDTRNS".equals(codeString)) + return V3ActCode.BDYFLDTRNS; + if ("BLDTRNS".equals(codeString)) + return V3ActCode.BLDTRNS; + if ("DERMTRNS".equals(codeString)) + return V3ActCode.DERMTRNS; + if ("ENVTRNS".equals(codeString)) + return V3ActCode.ENVTRNS; + if ("FECTRNS".equals(codeString)) + return V3ActCode.FECTRNS; + if ("FOMTRNS".equals(codeString)) + return V3ActCode.FOMTRNS; + if ("FOODTRNS".equals(codeString)) + return V3ActCode.FOODTRNS; + if ("HUMHUMTRNS".equals(codeString)) + return V3ActCode.HUMHUMTRNS; + if ("INDTRNS".equals(codeString)) + return V3ActCode.INDTRNS; + if ("LACTTRNS".equals(codeString)) + return V3ActCode.LACTTRNS; + if ("NOSTRNS".equals(codeString)) + return V3ActCode.NOSTRNS; + if ("PARTRNS".equals(codeString)) + return V3ActCode.PARTRNS; + if ("PLACTRNS".equals(codeString)) + return V3ActCode.PLACTRNS; + if ("SEXTRNS".equals(codeString)) + return V3ActCode.SEXTRNS; + if ("TRNSFTRNS".equals(codeString)) + return V3ActCode.TRNSFTRNS; + if ("VECTRNS".equals(codeString)) + return V3ActCode.VECTRNS; + if ("WATTRNS".equals(codeString)) + return V3ActCode.WATTRNS; + if ("_ObservationQualityMeasureAttribute".equals(codeString)) + return V3ActCode._OBSERVATIONQUALITYMEASUREATTRIBUTE; + if ("AGGREGATE".equals(codeString)) + return V3ActCode.AGGREGATE; + if ("COPY".equals(codeString)) + return V3ActCode.COPY; + if ("CRS".equals(codeString)) + return V3ActCode.CRS; + if ("DEF".equals(codeString)) + return V3ActCode.DEF; + if ("DISC".equals(codeString)) + return V3ActCode.DISC; + if ("FINALDT".equals(codeString)) + return V3ActCode.FINALDT; + if ("GUIDE".equals(codeString)) + return V3ActCode.GUIDE; + if ("IDUR".equals(codeString)) + return V3ActCode.IDUR; + if ("ITMCNT".equals(codeString)) + return V3ActCode.ITMCNT; + if ("KEY".equals(codeString)) + return V3ActCode.KEY; + if ("MEDT".equals(codeString)) + return V3ActCode.MEDT; + if ("MSD".equals(codeString)) + return V3ActCode.MSD; + if ("MSRADJ".equals(codeString)) + return V3ActCode.MSRADJ; + if ("MSRAGG".equals(codeString)) + return V3ActCode.MSRAGG; + if ("MSRIMPROV".equals(codeString)) + return V3ActCode.MSRIMPROV; + if ("MSRJUR".equals(codeString)) + return V3ActCode.MSRJUR; + if ("MSRRPTR".equals(codeString)) + return V3ActCode.MSRRPTR; + if ("MSRRPTTIME".equals(codeString)) + return V3ActCode.MSRRPTTIME; + if ("MSRSCORE".equals(codeString)) + return V3ActCode.MSRSCORE; + if ("MSRSET".equals(codeString)) + return V3ActCode.MSRSET; + if ("MSRTOPIC".equals(codeString)) + return V3ActCode.MSRTOPIC; + if ("MSRTP".equals(codeString)) + return V3ActCode.MSRTP; + if ("MSRTYPE".equals(codeString)) + return V3ActCode.MSRTYPE; + if ("RAT".equals(codeString)) + return V3ActCode.RAT; + if ("REF".equals(codeString)) + return V3ActCode.REF; + if ("SDE".equals(codeString)) + return V3ActCode.SDE; + if ("STRAT".equals(codeString)) + return V3ActCode.STRAT; + if ("TRANF".equals(codeString)) + return V3ActCode.TRANF; + if ("USE".equals(codeString)) + return V3ActCode.USE; + if ("_ObservationSequenceType".equals(codeString)) + return V3ActCode._OBSERVATIONSEQUENCETYPE; + if ("TIME_ABSOLUTE".equals(codeString)) + return V3ActCode.TIMEABSOLUTE; + if ("TIME_RELATIVE".equals(codeString)) + return V3ActCode.TIMERELATIVE; + if ("_ObservationSeriesType".equals(codeString)) + return V3ActCode._OBSERVATIONSERIESTYPE; + if ("_ECGObservationSeriesType".equals(codeString)) + return V3ActCode._ECGOBSERVATIONSERIESTYPE; + if ("REPRESENTATIVE_BEAT".equals(codeString)) + return V3ActCode.REPRESENTATIVEBEAT; + if ("RHYTHM".equals(codeString)) + return V3ActCode.RHYTHM; + if ("_PatientImmunizationRelatedObservationType".equals(codeString)) + return V3ActCode._PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE; + if ("CLSSRM".equals(codeString)) + return V3ActCode.CLSSRM; + if ("GRADE".equals(codeString)) + return V3ActCode.GRADE; + if ("SCHL".equals(codeString)) + return V3ActCode.SCHL; + if ("SCHLDIV".equals(codeString)) + return V3ActCode.SCHLDIV; + if ("TEACHER".equals(codeString)) + return V3ActCode.TEACHER; + if ("_PopulationInclusionObservationType".equals(codeString)) + return V3ActCode._POPULATIONINCLUSIONOBSERVATIONTYPE; + if ("DENEX".equals(codeString)) + return V3ActCode.DENEX; + if ("DENEXCEP".equals(codeString)) + return V3ActCode.DENEXCEP; + if ("DENOM".equals(codeString)) + return V3ActCode.DENOM; + if ("IPOP".equals(codeString)) + return V3ActCode.IPOP; + if ("IPPOP".equals(codeString)) + return V3ActCode.IPPOP; + if ("MSRPOPL".equals(codeString)) + return V3ActCode.MSRPOPL; + if ("MSRPOPLEX".equals(codeString)) + return V3ActCode.MSRPOPLEX; + if ("NUMER".equals(codeString)) + return V3ActCode.NUMER; + if ("NUMEX".equals(codeString)) + return V3ActCode.NUMEX; + if ("_PreferenceObservationType".equals(codeString)) + return V3ActCode._PREFERENCEOBSERVATIONTYPE; + if ("PREFSTRENGTH".equals(codeString)) + return V3ActCode.PREFSTRENGTH; + if ("ADVERSE_REACTION".equals(codeString)) + return V3ActCode.ADVERSEREACTION; + if ("ASSERTION".equals(codeString)) + return V3ActCode.ASSERTION; + if ("CASESER".equals(codeString)) + return V3ActCode.CASESER; + if ("CDIO".equals(codeString)) + return V3ActCode.CDIO; + if ("CRIT".equals(codeString)) + return V3ActCode.CRIT; + if ("CTMO".equals(codeString)) + return V3ActCode.CTMO; + if ("DX".equals(codeString)) + return V3ActCode.DX; + if ("ADMDX".equals(codeString)) + return V3ActCode.ADMDX; + if ("DISDX".equals(codeString)) + return V3ActCode.DISDX; + if ("INTDX".equals(codeString)) + return V3ActCode.INTDX; + if ("NOI".equals(codeString)) + return V3ActCode.NOI; + if ("GISTIER".equals(codeString)) + return V3ActCode.GISTIER; + if ("HHOBS".equals(codeString)) + return V3ActCode.HHOBS; + if ("ISSUE".equals(codeString)) + return V3ActCode.ISSUE; + if ("_ActAdministrativeDetectedIssueCode".equals(codeString)) + return V3ActCode._ACTADMINISTRATIVEDETECTEDISSUECODE; + if ("_ActAdministrativeAuthorizationDetectedIssueCode".equals(codeString)) + return V3ActCode._ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE; + if ("NAT".equals(codeString)) + return V3ActCode.NAT; + if ("SUPPRESSED".equals(codeString)) + return V3ActCode.SUPPRESSED; + if ("VALIDAT".equals(codeString)) + return V3ActCode.VALIDAT; + if ("KEY204".equals(codeString)) + return V3ActCode.KEY204; + if ("KEY205".equals(codeString)) + return V3ActCode.KEY205; + if ("COMPLY".equals(codeString)) + return V3ActCode.COMPLY; + if ("DUPTHPY".equals(codeString)) + return V3ActCode.DUPTHPY; + if ("DUPTHPCLS".equals(codeString)) + return V3ActCode.DUPTHPCLS; + if ("DUPTHPGEN".equals(codeString)) + return V3ActCode.DUPTHPGEN; + if ("ABUSE".equals(codeString)) + return V3ActCode.ABUSE; + if ("FRAUD".equals(codeString)) + return V3ActCode.FRAUD; + if ("PLYDOC".equals(codeString)) + return V3ActCode.PLYDOC; + if ("PLYPHRM".equals(codeString)) + return V3ActCode.PLYPHRM; + if ("DOSE".equals(codeString)) + return V3ActCode.DOSE; + if ("DOSECOND".equals(codeString)) + return V3ActCode.DOSECOND; + if ("DOSEDUR".equals(codeString)) + return V3ActCode.DOSEDUR; + if ("DOSEDURH".equals(codeString)) + return V3ActCode.DOSEDURH; + if ("DOSEDURHIND".equals(codeString)) + return V3ActCode.DOSEDURHIND; + if ("DOSEDURL".equals(codeString)) + return V3ActCode.DOSEDURL; + if ("DOSEDURLIND".equals(codeString)) + return V3ActCode.DOSEDURLIND; + if ("DOSEH".equals(codeString)) + return V3ActCode.DOSEH; + if ("DOSEHINDA".equals(codeString)) + return V3ActCode.DOSEHINDA; + if ("DOSEHIND".equals(codeString)) + return V3ActCode.DOSEHIND; + if ("DOSEHINDSA".equals(codeString)) + return V3ActCode.DOSEHINDSA; + if ("DOSEHINDW".equals(codeString)) + return V3ActCode.DOSEHINDW; + if ("DOSEIVL".equals(codeString)) + return V3ActCode.DOSEIVL; + if ("DOSEIVLIND".equals(codeString)) + return V3ActCode.DOSEIVLIND; + if ("DOSEL".equals(codeString)) + return V3ActCode.DOSEL; + if ("DOSELINDA".equals(codeString)) + return V3ActCode.DOSELINDA; + if ("DOSELIND".equals(codeString)) + return V3ActCode.DOSELIND; + if ("DOSELINDSA".equals(codeString)) + return V3ActCode.DOSELINDSA; + if ("DOSELINDW".equals(codeString)) + return V3ActCode.DOSELINDW; + if ("MDOSE".equals(codeString)) + return V3ActCode.MDOSE; + if ("OBSA".equals(codeString)) + return V3ActCode.OBSA; + if ("AGE".equals(codeString)) + return V3ActCode.AGE; + if ("ADALRT".equals(codeString)) + return V3ActCode.ADALRT; + if ("GEALRT".equals(codeString)) + return V3ActCode.GEALRT; + if ("PEALRT".equals(codeString)) + return V3ActCode.PEALRT; + if ("COND".equals(codeString)) + return V3ActCode.COND; + if ("HGHT".equals(codeString)) + return V3ActCode.HGHT; + if ("LACT".equals(codeString)) + return V3ActCode.LACT; + if ("PREG".equals(codeString)) + return V3ActCode.PREG; + if ("WGHT".equals(codeString)) + return V3ActCode.WGHT; + if ("CREACT".equals(codeString)) + return V3ActCode.CREACT; + if ("GEN".equals(codeString)) + return V3ActCode.GEN; + if ("GEND".equals(codeString)) + return V3ActCode.GEND; + if ("LAB".equals(codeString)) + return V3ActCode.LAB; + if ("REACT".equals(codeString)) + return V3ActCode.REACT; + if ("ALGY".equals(codeString)) + return V3ActCode.ALGY; + if ("INT".equals(codeString)) + return V3ActCode.INT; + if ("RREACT".equals(codeString)) + return V3ActCode.RREACT; + if ("RALG".equals(codeString)) + return V3ActCode.RALG; + if ("RAR".equals(codeString)) + return V3ActCode.RAR; + if ("RINT".equals(codeString)) + return V3ActCode.RINT; + if ("BUS".equals(codeString)) + return V3ActCode.BUS; + if ("CODE_INVAL".equals(codeString)) + return V3ActCode.CODEINVAL; + if ("CODE_DEPREC".equals(codeString)) + return V3ActCode.CODEDEPREC; + if ("FORMAT".equals(codeString)) + return V3ActCode.FORMAT; + if ("ILLEGAL".equals(codeString)) + return V3ActCode.ILLEGAL; + if ("LEN_RANGE".equals(codeString)) + return V3ActCode.LENRANGE; + if ("LEN_LONG".equals(codeString)) + return V3ActCode.LENLONG; + if ("LEN_SHORT".equals(codeString)) + return V3ActCode.LENSHORT; + if ("MISSCOND".equals(codeString)) + return V3ActCode.MISSCOND; + if ("MISSMAND".equals(codeString)) + return V3ActCode.MISSMAND; + if ("NODUPS".equals(codeString)) + return V3ActCode.NODUPS; + if ("NOPERSIST".equals(codeString)) + return V3ActCode.NOPERSIST; + if ("REP_RANGE".equals(codeString)) + return V3ActCode.REPRANGE; + if ("MAXOCCURS".equals(codeString)) + return V3ActCode.MAXOCCURS; + if ("MINOCCURS".equals(codeString)) + return V3ActCode.MINOCCURS; + if ("_ActAdministrativeRuleDetectedIssueCode".equals(codeString)) + return V3ActCode._ACTADMINISTRATIVERULEDETECTEDISSUECODE; + if ("KEY206".equals(codeString)) + return V3ActCode.KEY206; + if ("OBSOLETE".equals(codeString)) + return V3ActCode.OBSOLETE; + if ("_ActSuppliedItemDetectedIssueCode".equals(codeString)) + return V3ActCode._ACTSUPPLIEDITEMDETECTEDISSUECODE; + if ("_AdministrationDetectedIssueCode".equals(codeString)) + return V3ActCode._ADMINISTRATIONDETECTEDISSUECODE; + if ("_AppropriatenessDetectedIssueCode".equals(codeString)) + return V3ActCode._APPROPRIATENESSDETECTEDISSUECODE; + if ("_InteractionDetectedIssueCode".equals(codeString)) + return V3ActCode._INTERACTIONDETECTEDISSUECODE; + if ("FOOD".equals(codeString)) + return V3ActCode.FOOD; + if ("TPROD".equals(codeString)) + return V3ActCode.TPROD; + if ("DRG".equals(codeString)) + return V3ActCode.DRG; + if ("NHP".equals(codeString)) + return V3ActCode.NHP; + if ("NONRX".equals(codeString)) + return V3ActCode.NONRX; + if ("PREVINEF".equals(codeString)) + return V3ActCode.PREVINEF; + if ("DACT".equals(codeString)) + return V3ActCode.DACT; + if ("TIME".equals(codeString)) + return V3ActCode.TIME; + if ("ALRTENDLATE".equals(codeString)) + return V3ActCode.ALRTENDLATE; + if ("ALRTSTRTLATE".equals(codeString)) + return V3ActCode.ALRTSTRTLATE; + if ("_SupplyDetectedIssueCode".equals(codeString)) + return V3ActCode._SUPPLYDETECTEDISSUECODE; + if ("ALLDONE".equals(codeString)) + return V3ActCode.ALLDONE; + if ("FULFIL".equals(codeString)) + return V3ActCode.FULFIL; + if ("NOTACTN".equals(codeString)) + return V3ActCode.NOTACTN; + if ("NOTEQUIV".equals(codeString)) + return V3ActCode.NOTEQUIV; + if ("NOTEQUIVGEN".equals(codeString)) + return V3ActCode.NOTEQUIVGEN; + if ("NOTEQUIVTHER".equals(codeString)) + return V3ActCode.NOTEQUIVTHER; + if ("TIMING".equals(codeString)) + return V3ActCode.TIMING; + if ("INTERVAL".equals(codeString)) + return V3ActCode.INTERVAL; + if ("MINFREQ".equals(codeString)) + return V3ActCode.MINFREQ; + if ("HELD".equals(codeString)) + return V3ActCode.HELD; + if ("TOOLATE".equals(codeString)) + return V3ActCode.TOOLATE; + if ("TOOSOON".equals(codeString)) + return V3ActCode.TOOSOON; + if ("HISTORIC".equals(codeString)) + return V3ActCode.HISTORIC; + if ("PATPREF".equals(codeString)) + return V3ActCode.PATPREF; + if ("PATPREFALT".equals(codeString)) + return V3ActCode.PATPREFALT; + if ("KSUBJ".equals(codeString)) + return V3ActCode.KSUBJ; + if ("KSUBT".equals(codeString)) + return V3ActCode.KSUBT; + if ("OINT".equals(codeString)) + return V3ActCode.OINT; + if ("ALG".equals(codeString)) + return V3ActCode.ALG; + if ("DALG".equals(codeString)) + return V3ActCode.DALG; + if ("EALG".equals(codeString)) + return V3ActCode.EALG; + if ("FALG".equals(codeString)) + return V3ActCode.FALG; + if ("DINT".equals(codeString)) + return V3ActCode.DINT; + if ("DNAINT".equals(codeString)) + return V3ActCode.DNAINT; + if ("EINT".equals(codeString)) + return V3ActCode.EINT; + if ("ENAINT".equals(codeString)) + return V3ActCode.ENAINT; + if ("FINT".equals(codeString)) + return V3ActCode.FINT; + if ("FNAINT".equals(codeString)) + return V3ActCode.FNAINT; + if ("NAINT".equals(codeString)) + return V3ActCode.NAINT; + if ("SEV".equals(codeString)) + return V3ActCode.SEV; + if ("_ROIOverlayShape".equals(codeString)) + return V3ActCode._ROIOVERLAYSHAPE; + if ("CIRCLE".equals(codeString)) + return V3ActCode.CIRCLE; + if ("ELLIPSE".equals(codeString)) + return V3ActCode.ELLIPSE; + if ("POINT".equals(codeString)) + return V3ActCode.POINT; + if ("POLY".equals(codeString)) + return V3ActCode.POLY; + if ("C".equals(codeString)) + return V3ActCode.C; + if ("DIET".equals(codeString)) + return V3ActCode.DIET; + if ("BR".equals(codeString)) + return V3ActCode.BR; + if ("DM".equals(codeString)) + return V3ActCode.DM; + if ("FAST".equals(codeString)) + return V3ActCode.FAST; + if ("FORMULA".equals(codeString)) + return V3ActCode.FORMULA; + if ("GF".equals(codeString)) + return V3ActCode.GF; + if ("LF".equals(codeString)) + return V3ActCode.LF; + if ("LP".equals(codeString)) + return V3ActCode.LP; + if ("LQ".equals(codeString)) + return V3ActCode.LQ; + if ("LS".equals(codeString)) + return V3ActCode.LS; + if ("N".equals(codeString)) + return V3ActCode.N; + if ("NF".equals(codeString)) + return V3ActCode.NF; + if ("PAF".equals(codeString)) + return V3ActCode.PAF; + if ("PAR".equals(codeString)) + return V3ActCode.PAR; + if ("RD".equals(codeString)) + return V3ActCode.RD; + if ("SCH".equals(codeString)) + return V3ActCode.SCH; + if ("SUPPLEMENT".equals(codeString)) + return V3ActCode.SUPPLEMENT; + if ("T".equals(codeString)) + return V3ActCode.T; + if ("VLI".equals(codeString)) + return V3ActCode.VLI; + if ("DRUGPRG".equals(codeString)) + return V3ActCode.DRUGPRG; + if ("F".equals(codeString)) + return V3ActCode.F; + if ("PRLMN".equals(codeString)) + return V3ActCode.PRLMN; + if ("SECOBS".equals(codeString)) + return V3ActCode.SECOBS; + if ("SECCATOBS".equals(codeString)) + return V3ActCode.SECCATOBS; + if ("SECCLASSOBS".equals(codeString)) + return V3ActCode.SECCLASSOBS; + if ("SECCONOBS".equals(codeString)) + return V3ActCode.SECCONOBS; + if ("SECINTOBS".equals(codeString)) + return V3ActCode.SECINTOBS; + if ("SECALTINTOBS".equals(codeString)) + return V3ActCode.SECALTINTOBS; + if ("SECDATINTOBS".equals(codeString)) + return V3ActCode.SECDATINTOBS; + if ("SECINTCONOBS".equals(codeString)) + return V3ActCode.SECINTCONOBS; + if ("SECINTPRVOBS".equals(codeString)) + return V3ActCode.SECINTPRVOBS; + if ("SECINTPRVABOBS".equals(codeString)) + return V3ActCode.SECINTPRVABOBS; + if ("SECINTPRVRBOBS".equals(codeString)) + return V3ActCode.SECINTPRVRBOBS; + if ("SECINTSTOBS".equals(codeString)) + return V3ActCode.SECINTSTOBS; + if ("SECTRSTOBS".equals(codeString)) + return V3ActCode.SECTRSTOBS; + if ("TRSTACCRDOBS".equals(codeString)) + return V3ActCode.TRSTACCRDOBS; + if ("TRSTAGREOBS".equals(codeString)) + return V3ActCode.TRSTAGREOBS; + if ("TRSTCERTOBS".equals(codeString)) + return V3ActCode.TRSTCERTOBS; + if ("TRSTFWKOBS".equals(codeString)) + return V3ActCode.TRSTFWKOBS; + if ("TRSTLOAOBS".equals(codeString)) + return V3ActCode.TRSTLOAOBS; + if ("TRSTMECOBS".equals(codeString)) + return V3ActCode.TRSTMECOBS; + if ("SUBSIDFFS".equals(codeString)) + return V3ActCode.SUBSIDFFS; + if ("WRKCOMP".equals(codeString)) + return V3ActCode.WRKCOMP; + throw new IllegalArgumentException("Unknown V3ActCode code '"+codeString+"'"); + } + + public String toCode(V3ActCode code) { + if (code == V3ActCode._ACTACCOUNTCODE) + return "_ActAccountCode"; + if (code == V3ActCode.ACCTRECEIVABLE) + return "ACCTRECEIVABLE"; + if (code == V3ActCode.CASH) + return "CASH"; + if (code == V3ActCode.CC) + return "CC"; + if (code == V3ActCode.AE) + return "AE"; + if (code == V3ActCode.DN) + return "DN"; + if (code == V3ActCode.DV) + return "DV"; + if (code == V3ActCode.MC) + return "MC"; + if (code == V3ActCode.V) + return "V"; + if (code == V3ActCode.PBILLACCT) + return "PBILLACCT"; + if (code == V3ActCode._ACTADJUDICATIONCODE) + return "_ActAdjudicationCode"; + if (code == V3ActCode._ACTADJUDICATIONGROUPCODE) + return "_ActAdjudicationGroupCode"; + if (code == V3ActCode.CONT) + return "CONT"; + if (code == V3ActCode.DAY) + return "DAY"; + if (code == V3ActCode.LOC) + return "LOC"; + if (code == V3ActCode.MONTH) + return "MONTH"; + if (code == V3ActCode.PERIOD) + return "PERIOD"; + if (code == V3ActCode.PROV) + return "PROV"; + if (code == V3ActCode.WEEK) + return "WEEK"; + if (code == V3ActCode.YEAR) + return "YEAR"; + if (code == V3ActCode.AA) + return "AA"; + if (code == V3ActCode.ANF) + return "ANF"; + if (code == V3ActCode.AR) + return "AR"; + if (code == V3ActCode.AS) + return "AS"; + if (code == V3ActCode._ACTADJUDICATIONRESULTACTIONCODE) + return "_ActAdjudicationResultActionCode"; + if (code == V3ActCode.DISPLAY) + return "DISPLAY"; + if (code == V3ActCode.FORM) + return "FORM"; + if (code == V3ActCode._ACTBILLABLEMODIFIERCODE) + return "_ActBillableModifierCode"; + if (code == V3ActCode.CPTM) + return "CPTM"; + if (code == V3ActCode.HCPCSA) + return "HCPCSA"; + if (code == V3ActCode._ACTBILLINGARRANGEMENTCODE) + return "_ActBillingArrangementCode"; + if (code == V3ActCode.BLK) + return "BLK"; + if (code == V3ActCode.CAP) + return "CAP"; + if (code == V3ActCode.CONTF) + return "CONTF"; + if (code == V3ActCode.FINBILL) + return "FINBILL"; + if (code == V3ActCode.ROST) + return "ROST"; + if (code == V3ActCode.SESS) + return "SESS"; + if (code == V3ActCode._ACTBOUNDEDROICODE) + return "_ActBoundedROICode"; + if (code == V3ActCode.ROIFS) + return "ROIFS"; + if (code == V3ActCode.ROIPS) + return "ROIPS"; + if (code == V3ActCode._ACTCAREPROVISIONCODE) + return "_ActCareProvisionCode"; + if (code == V3ActCode._ACTCREDENTIALEDCARECODE) + return "_ActCredentialedCareCode"; + if (code == V3ActCode._ACTCREDENTIALEDCAREPROVISIONPERSONCODE) + return "_ActCredentialedCareProvisionPersonCode"; + if (code == V3ActCode.CACC) + return "CACC"; + if (code == V3ActCode.CAIC) + return "CAIC"; + if (code == V3ActCode.CAMC) + return "CAMC"; + if (code == V3ActCode.CANC) + return "CANC"; + if (code == V3ActCode.CAPC) + return "CAPC"; + if (code == V3ActCode.CBGC) + return "CBGC"; + if (code == V3ActCode.CCCC) + return "CCCC"; + if (code == V3ActCode.CCGC) + return "CCGC"; + if (code == V3ActCode.CCPC) + return "CCPC"; + if (code == V3ActCode.CCSC) + return "CCSC"; + if (code == V3ActCode.CDEC) + return "CDEC"; + if (code == V3ActCode.CDRC) + return "CDRC"; + if (code == V3ActCode.CEMC) + return "CEMC"; + if (code == V3ActCode.CFPC) + return "CFPC"; + if (code == V3ActCode.CIMC) + return "CIMC"; + if (code == V3ActCode.CMGC) + return "CMGC"; + if (code == V3ActCode.CNEC) + return "CNEC"; + if (code == V3ActCode.CNMC) + return "CNMC"; + if (code == V3ActCode.CNQC) + return "CNQC"; + if (code == V3ActCode.CNSC) + return "CNSC"; + if (code == V3ActCode.COGC) + return "COGC"; + if (code == V3ActCode.COMC) + return "COMC"; + if (code == V3ActCode.COPC) + return "COPC"; + if (code == V3ActCode.COSC) + return "COSC"; + if (code == V3ActCode.COTC) + return "COTC"; + if (code == V3ActCode.CPEC) + return "CPEC"; + if (code == V3ActCode.CPGC) + return "CPGC"; + if (code == V3ActCode.CPHC) + return "CPHC"; + if (code == V3ActCode.CPRC) + return "CPRC"; + if (code == V3ActCode.CPSC) + return "CPSC"; + if (code == V3ActCode.CPYC) + return "CPYC"; + if (code == V3ActCode.CROC) + return "CROC"; + if (code == V3ActCode.CRPC) + return "CRPC"; + if (code == V3ActCode.CSUC) + return "CSUC"; + if (code == V3ActCode.CTSC) + return "CTSC"; + if (code == V3ActCode.CURC) + return "CURC"; + if (code == V3ActCode.CVSC) + return "CVSC"; + if (code == V3ActCode.LGPC) + return "LGPC"; + if (code == V3ActCode._ACTCREDENTIALEDCAREPROVISIONPROGRAMCODE) + return "_ActCredentialedCareProvisionProgramCode"; + if (code == V3ActCode.AALC) + return "AALC"; + if (code == V3ActCode.AAMC) + return "AAMC"; + if (code == V3ActCode.ABHC) + return "ABHC"; + if (code == V3ActCode.ACAC) + return "ACAC"; + if (code == V3ActCode.ACHC) + return "ACHC"; + if (code == V3ActCode.AHOC) + return "AHOC"; + if (code == V3ActCode.ALTC) + return "ALTC"; + if (code == V3ActCode.AOSC) + return "AOSC"; + if (code == V3ActCode.CACS) + return "CACS"; + if (code == V3ActCode.CAMI) + return "CAMI"; + if (code == V3ActCode.CAST) + return "CAST"; + if (code == V3ActCode.CBAR) + return "CBAR"; + if (code == V3ActCode.CCAD) + return "CCAD"; + if (code == V3ActCode.CCAR) + return "CCAR"; + if (code == V3ActCode.CDEP) + return "CDEP"; + if (code == V3ActCode.CDGD) + return "CDGD"; + if (code == V3ActCode.CDIA) + return "CDIA"; + if (code == V3ActCode.CEPI) + return "CEPI"; + if (code == V3ActCode.CFEL) + return "CFEL"; + if (code == V3ActCode.CHFC) + return "CHFC"; + if (code == V3ActCode.CHRO) + return "CHRO"; + if (code == V3ActCode.CHYP) + return "CHYP"; + if (code == V3ActCode.CMIH) + return "CMIH"; + if (code == V3ActCode.CMSC) + return "CMSC"; + if (code == V3ActCode.COJR) + return "COJR"; + if (code == V3ActCode.CONC) + return "CONC"; + if (code == V3ActCode.COPD) + return "COPD"; + if (code == V3ActCode.CORT) + return "CORT"; + if (code == V3ActCode.CPAD) + return "CPAD"; + if (code == V3ActCode.CPND) + return "CPND"; + if (code == V3ActCode.CPST) + return "CPST"; + if (code == V3ActCode.CSDM) + return "CSDM"; + if (code == V3ActCode.CSIC) + return "CSIC"; + if (code == V3ActCode.CSLD) + return "CSLD"; + if (code == V3ActCode.CSPT) + return "CSPT"; + if (code == V3ActCode.CTBU) + return "CTBU"; + if (code == V3ActCode.CVDC) + return "CVDC"; + if (code == V3ActCode.CWMA) + return "CWMA"; + if (code == V3ActCode.CWOH) + return "CWOH"; + if (code == V3ActCode._ACTENCOUNTERCODE) + return "_ActEncounterCode"; + if (code == V3ActCode.AMB) + return "AMB"; + if (code == V3ActCode.EMER) + return "EMER"; + if (code == V3ActCode.FLD) + return "FLD"; + if (code == V3ActCode.HH) + return "HH"; + if (code == V3ActCode.IMP) + return "IMP"; + if (code == V3ActCode.ACUTE) + return "ACUTE"; + if (code == V3ActCode.NONAC) + return "NONAC"; + if (code == V3ActCode.PRENC) + return "PRENC"; + if (code == V3ActCode.SS) + return "SS"; + if (code == V3ActCode.VR) + return "VR"; + if (code == V3ActCode._ACTMEDICALSERVICECODE) + return "_ActMedicalServiceCode"; + if (code == V3ActCode.ALC) + return "ALC"; + if (code == V3ActCode.CARD) + return "CARD"; + if (code == V3ActCode.CHR) + return "CHR"; + if (code == V3ActCode.DNTL) + return "DNTL"; + if (code == V3ActCode.DRGRHB) + return "DRGRHB"; + if (code == V3ActCode.GENRL) + return "GENRL"; + if (code == V3ActCode.MED) + return "MED"; + if (code == V3ActCode.OBS) + return "OBS"; + if (code == V3ActCode.ONC) + return "ONC"; + if (code == V3ActCode.PALL) + return "PALL"; + if (code == V3ActCode.PED) + return "PED"; + if (code == V3ActCode.PHAR) + return "PHAR"; + if (code == V3ActCode.PHYRHB) + return "PHYRHB"; + if (code == V3ActCode.PSYCH) + return "PSYCH"; + if (code == V3ActCode.SURG) + return "SURG"; + if (code == V3ActCode._ACTCLAIMATTACHMENTCATEGORYCODE) + return "_ActClaimAttachmentCategoryCode"; + if (code == V3ActCode.AUTOATTCH) + return "AUTOATTCH"; + if (code == V3ActCode.DOCUMENT) + return "DOCUMENT"; + if (code == V3ActCode.HEALTHREC) + return "HEALTHREC"; + if (code == V3ActCode.IMG) + return "IMG"; + if (code == V3ActCode.LABRESULTS) + return "LABRESULTS"; + if (code == V3ActCode.MODEL) + return "MODEL"; + if (code == V3ActCode.WIATTCH) + return "WIATTCH"; + if (code == V3ActCode.XRAY) + return "XRAY"; + if (code == V3ActCode._ACTCONSENTTYPE) + return "_ActConsentType"; + if (code == V3ActCode.ICOL) + return "ICOL"; + if (code == V3ActCode.IDSCL) + return "IDSCL"; + if (code == V3ActCode.INFA) + return "INFA"; + if (code == V3ActCode.INFAO) + return "INFAO"; + if (code == V3ActCode.INFASO) + return "INFASO"; + if (code == V3ActCode.IRDSCL) + return "IRDSCL"; + if (code == V3ActCode.RESEARCH) + return "RESEARCH"; + if (code == V3ActCode.RSDID) + return "RSDID"; + if (code == V3ActCode.RSREID) + return "RSREID"; + if (code == V3ActCode._ACTCONTAINERREGISTRATIONCODE) + return "_ActContainerRegistrationCode"; + if (code == V3ActCode.ID) + return "ID"; + if (code == V3ActCode.IP) + return "IP"; + if (code == V3ActCode.L) + return "L"; + if (code == V3ActCode.M) + return "M"; + if (code == V3ActCode.O) + return "O"; + if (code == V3ActCode.R) + return "R"; + if (code == V3ActCode.X) + return "X"; + if (code == V3ActCode._ACTCONTROLVARIABLE) + return "_ActControlVariable"; + if (code == V3ActCode.AUTO) + return "AUTO"; + if (code == V3ActCode.ENDC) + return "ENDC"; + if (code == V3ActCode.REFLEX) + return "REFLEX"; + if (code == V3ActCode._ACTCOVERAGECONFIRMATIONCODE) + return "_ActCoverageConfirmationCode"; + if (code == V3ActCode._ACTCOVERAGEAUTHORIZATIONCONFIRMATIONCODE) + return "_ActCoverageAuthorizationConfirmationCode"; + if (code == V3ActCode.AUTH) + return "AUTH"; + if (code == V3ActCode.NAUTH) + return "NAUTH"; + if (code == V3ActCode._ACTCOVERAGELIMITCODE) + return "_ActCoverageLimitCode"; + if (code == V3ActCode._ACTCOVERAGEQUANTITYLIMITCODE) + return "_ActCoverageQuantityLimitCode"; + if (code == V3ActCode.COVPRD) + return "COVPRD"; + if (code == V3ActCode.LFEMX) + return "LFEMX"; + if (code == V3ActCode.NETAMT) + return "NETAMT"; + if (code == V3ActCode.PRDMX) + return "PRDMX"; + if (code == V3ActCode.UNITPRICE) + return "UNITPRICE"; + if (code == V3ActCode.UNITQTY) + return "UNITQTY"; + if (code == V3ActCode.COVMX) + return "COVMX"; + if (code == V3ActCode._ACTCOVERAGETYPECODE) + return "_ActCoverageTypeCode"; + if (code == V3ActCode._ACTINSURANCEPOLICYCODE) + return "_ActInsurancePolicyCode"; + if (code == V3ActCode.EHCPOL) + return "EHCPOL"; + if (code == V3ActCode.HSAPOL) + return "HSAPOL"; + if (code == V3ActCode.AUTOPOL) + return "AUTOPOL"; + if (code == V3ActCode.COL) + return "COL"; + if (code == V3ActCode.UNINSMOT) + return "UNINSMOT"; + if (code == V3ActCode.PUBLICPOL) + return "PUBLICPOL"; + if (code == V3ActCode.DENTPRG) + return "DENTPRG"; + if (code == V3ActCode.DISEASEPRG) + return "DISEASEPRG"; + if (code == V3ActCode.CANPRG) + return "CANPRG"; + if (code == V3ActCode.ENDRENAL) + return "ENDRENAL"; + if (code == V3ActCode.HIVAIDS) + return "HIVAIDS"; + if (code == V3ActCode.MANDPOL) + return "MANDPOL"; + if (code == V3ActCode.MENTPRG) + return "MENTPRG"; + if (code == V3ActCode.SAFNET) + return "SAFNET"; + if (code == V3ActCode.SUBPRG) + return "SUBPRG"; + if (code == V3ActCode.SUBSIDIZ) + return "SUBSIDIZ"; + if (code == V3ActCode.SUBSIDMC) + return "SUBSIDMC"; + if (code == V3ActCode.SUBSUPP) + return "SUBSUPP"; + if (code == V3ActCode.WCBPOL) + return "WCBPOL"; + if (code == V3ActCode._ACTINSURANCETYPECODE) + return "_ActInsuranceTypeCode"; + if (code == V3ActCode._ACTHEALTHINSURANCETYPECODE) + return "_ActHealthInsuranceTypeCode"; + if (code == V3ActCode.DENTAL) + return "DENTAL"; + if (code == V3ActCode.DISEASE) + return "DISEASE"; + if (code == V3ActCode.DRUGPOL) + return "DRUGPOL"; + if (code == V3ActCode.HIP) + return "HIP"; + if (code == V3ActCode.LTC) + return "LTC"; + if (code == V3ActCode.MCPOL) + return "MCPOL"; + if (code == V3ActCode.POS) + return "POS"; + if (code == V3ActCode.HMO) + return "HMO"; + if (code == V3ActCode.PPO) + return "PPO"; + if (code == V3ActCode.MENTPOL) + return "MENTPOL"; + if (code == V3ActCode.SUBPOL) + return "SUBPOL"; + if (code == V3ActCode.VISPOL) + return "VISPOL"; + if (code == V3ActCode.DIS) + return "DIS"; + if (code == V3ActCode.EWB) + return "EWB"; + if (code == V3ActCode.FLEXP) + return "FLEXP"; + if (code == V3ActCode.LIFE) + return "LIFE"; + if (code == V3ActCode.ANNU) + return "ANNU"; + if (code == V3ActCode.TLIFE) + return "TLIFE"; + if (code == V3ActCode.ULIFE) + return "ULIFE"; + if (code == V3ActCode.PNC) + return "PNC"; + if (code == V3ActCode.REI) + return "REI"; + if (code == V3ActCode.SURPL) + return "SURPL"; + if (code == V3ActCode.UMBRL) + return "UMBRL"; + if (code == V3ActCode._ACTPROGRAMTYPECODE) + return "_ActProgramTypeCode"; + if (code == V3ActCode.CHAR) + return "CHAR"; + if (code == V3ActCode.CRIME) + return "CRIME"; + if (code == V3ActCode.EAP) + return "EAP"; + if (code == V3ActCode.GOVEMP) + return "GOVEMP"; + if (code == V3ActCode.HIRISK) + return "HIRISK"; + if (code == V3ActCode.IND) + return "IND"; + if (code == V3ActCode.MILITARY) + return "MILITARY"; + if (code == V3ActCode.RETIRE) + return "RETIRE"; + if (code == V3ActCode.SOCIAL) + return "SOCIAL"; + if (code == V3ActCode.VET) + return "VET"; + if (code == V3ActCode._ACTDETECTEDISSUEMANAGEMENTCODE) + return "_ActDetectedIssueManagementCode"; + if (code == V3ActCode._ACTADMINISTRATIVEDETECTEDISSUEMANAGEMENTCODE) + return "_ActAdministrativeDetectedIssueManagementCode"; + if (code == V3ActCode._AUTHORIZATIONISSUEMANAGEMENTCODE) + return "_AuthorizationIssueManagementCode"; + if (code == V3ActCode.EMAUTH) + return "EMAUTH"; + if (code == V3ActCode._21) + return "21"; + if (code == V3ActCode._1) + return "1"; + if (code == V3ActCode._19) + return "19"; + if (code == V3ActCode._2) + return "2"; + if (code == V3ActCode._22) + return "22"; + if (code == V3ActCode._23) + return "23"; + if (code == V3ActCode._3) + return "3"; + if (code == V3ActCode._4) + return "4"; + if (code == V3ActCode._5) + return "5"; + if (code == V3ActCode._6) + return "6"; + if (code == V3ActCode._7) + return "7"; + if (code == V3ActCode._14) + return "14"; + if (code == V3ActCode._15) + return "15"; + if (code == V3ActCode._16) + return "16"; + if (code == V3ActCode._17) + return "17"; + if (code == V3ActCode._18) + return "18"; + if (code == V3ActCode._20) + return "20"; + if (code == V3ActCode._8) + return "8"; + if (code == V3ActCode._10) + return "10"; + if (code == V3ActCode._11) + return "11"; + if (code == V3ActCode._12) + return "12"; + if (code == V3ActCode._13) + return "13"; + if (code == V3ActCode._9) + return "9"; + if (code == V3ActCode._ACTEXPOSURECODE) + return "_ActExposureCode"; + if (code == V3ActCode.CHLDCARE) + return "CHLDCARE"; + if (code == V3ActCode.CONVEYNC) + return "CONVEYNC"; + if (code == V3ActCode.HLTHCARE) + return "HLTHCARE"; + if (code == V3ActCode.HOMECARE) + return "HOMECARE"; + if (code == V3ActCode.HOSPPTNT) + return "HOSPPTNT"; + if (code == V3ActCode.HOSPVSTR) + return "HOSPVSTR"; + if (code == V3ActCode.HOUSEHLD) + return "HOUSEHLD"; + if (code == V3ActCode.INMATE) + return "INMATE"; + if (code == V3ActCode.INTIMATE) + return "INTIMATE"; + if (code == V3ActCode.LTRMCARE) + return "LTRMCARE"; + if (code == V3ActCode.PLACE) + return "PLACE"; + if (code == V3ActCode.PTNTCARE) + return "PTNTCARE"; + if (code == V3ActCode.SCHOOL2) + return "SCHOOL2"; + if (code == V3ActCode.SOCIAL2) + return "SOCIAL2"; + if (code == V3ActCode.SUBSTNCE) + return "SUBSTNCE"; + if (code == V3ActCode.TRAVINT) + return "TRAVINT"; + if (code == V3ActCode.WORK2) + return "WORK2"; + if (code == V3ActCode._ACTFINANCIALTRANSACTIONCODE) + return "_ActFinancialTransactionCode"; + if (code == V3ActCode.CHRG) + return "CHRG"; + if (code == V3ActCode.REV) + return "REV"; + if (code == V3ActCode._ACTINCIDENTCODE) + return "_ActIncidentCode"; + if (code == V3ActCode.MVA) + return "MVA"; + if (code == V3ActCode.SCHOOL) + return "SCHOOL"; + if (code == V3ActCode.SPT) + return "SPT"; + if (code == V3ActCode.WPA) + return "WPA"; + if (code == V3ActCode._ACTINFORMATIONACCESSCODE) + return "_ActInformationAccessCode"; + if (code == V3ActCode.ACADR) + return "ACADR"; + if (code == V3ActCode.ACALL) + return "ACALL"; + if (code == V3ActCode.ACALLG) + return "ACALLG"; + if (code == V3ActCode.ACCONS) + return "ACCONS"; + if (code == V3ActCode.ACDEMO) + return "ACDEMO"; + if (code == V3ActCode.ACDI) + return "ACDI"; + if (code == V3ActCode.ACIMMUN) + return "ACIMMUN"; + if (code == V3ActCode.ACLAB) + return "ACLAB"; + if (code == V3ActCode.ACMED) + return "ACMED"; + if (code == V3ActCode.ACMEDC) + return "ACMEDC"; + if (code == V3ActCode.ACMEN) + return "ACMEN"; + if (code == V3ActCode.ACOBS) + return "ACOBS"; + if (code == V3ActCode.ACPOLPRG) + return "ACPOLPRG"; + if (code == V3ActCode.ACPROV) + return "ACPROV"; + if (code == V3ActCode.ACPSERV) + return "ACPSERV"; + if (code == V3ActCode.ACSUBSTAB) + return "ACSUBSTAB"; + if (code == V3ActCode._ACTINFORMATIONACCESSCONTEXTCODE) + return "_ActInformationAccessContextCode"; + if (code == V3ActCode.INFAUT) + return "INFAUT"; + if (code == V3ActCode.INFCON) + return "INFCON"; + if (code == V3ActCode.INFCRT) + return "INFCRT"; + if (code == V3ActCode.INFDNG) + return "INFDNG"; + if (code == V3ActCode.INFEMER) + return "INFEMER"; + if (code == V3ActCode.INFPWR) + return "INFPWR"; + if (code == V3ActCode.INFREG) + return "INFREG"; + if (code == V3ActCode._ACTINFORMATIONCATEGORYCODE) + return "_ActInformationCategoryCode"; + if (code == V3ActCode.ALLCAT) + return "ALLCAT"; + if (code == V3ActCode.ALLGCAT) + return "ALLGCAT"; + if (code == V3ActCode.ARCAT) + return "ARCAT"; + if (code == V3ActCode.COBSCAT) + return "COBSCAT"; + if (code == V3ActCode.DEMOCAT) + return "DEMOCAT"; + if (code == V3ActCode.DICAT) + return "DICAT"; + if (code == V3ActCode.IMMUCAT) + return "IMMUCAT"; + if (code == V3ActCode.LABCAT) + return "LABCAT"; + if (code == V3ActCode.MEDCCAT) + return "MEDCCAT"; + if (code == V3ActCode.MENCAT) + return "MENCAT"; + if (code == V3ActCode.PSVCCAT) + return "PSVCCAT"; + if (code == V3ActCode.RXCAT) + return "RXCAT"; + if (code == V3ActCode._ACTINVOICEELEMENTCODE) + return "_ActInvoiceElementCode"; + if (code == V3ActCode._ACTINVOICEADJUDICATIONPAYMENTCODE) + return "_ActInvoiceAdjudicationPaymentCode"; + if (code == V3ActCode._ACTINVOICEADJUDICATIONPAYMENTGROUPCODE) + return "_ActInvoiceAdjudicationPaymentGroupCode"; + if (code == V3ActCode.ALEC) + return "ALEC"; + if (code == V3ActCode.BONUS) + return "BONUS"; + if (code == V3ActCode.CFWD) + return "CFWD"; + if (code == V3ActCode.EDU) + return "EDU"; + if (code == V3ActCode.EPYMT) + return "EPYMT"; + if (code == V3ActCode.GARN) + return "GARN"; + if (code == V3ActCode.INVOICE) + return "INVOICE"; + if (code == V3ActCode.PINV) + return "PINV"; + if (code == V3ActCode.PPRD) + return "PPRD"; + if (code == V3ActCode.PROA) + return "PROA"; + if (code == V3ActCode.RECOV) + return "RECOV"; + if (code == V3ActCode.RETRO) + return "RETRO"; + if (code == V3ActCode.TRAN) + return "TRAN"; + if (code == V3ActCode._ACTINVOICEADJUDICATIONPAYMENTSUMMARYCODE) + return "_ActInvoiceAdjudicationPaymentSummaryCode"; + if (code == V3ActCode.INVTYPE) + return "INVTYPE"; + if (code == V3ActCode.PAYEE) + return "PAYEE"; + if (code == V3ActCode.PAYOR) + return "PAYOR"; + if (code == V3ActCode.SENDAPP) + return "SENDAPP"; + if (code == V3ActCode._ACTINVOICEDETAILCODE) + return "_ActInvoiceDetailCode"; + if (code == V3ActCode._ACTINVOICEDETAILCLINICALPRODUCTCODE) + return "_ActInvoiceDetailClinicalProductCode"; + if (code == V3ActCode.UNSPSC) + return "UNSPSC"; + if (code == V3ActCode._ACTINVOICEDETAILDRUGPRODUCTCODE) + return "_ActInvoiceDetailDrugProductCode"; + if (code == V3ActCode.GTIN) + return "GTIN"; + if (code == V3ActCode.UPC) + return "UPC"; + if (code == V3ActCode._ACTINVOICEDETAILGENERICCODE) + return "_ActInvoiceDetailGenericCode"; + if (code == V3ActCode._ACTINVOICEDETAILGENERICADJUDICATORCODE) + return "_ActInvoiceDetailGenericAdjudicatorCode"; + if (code == V3ActCode.COIN) + return "COIN"; + if (code == V3ActCode.COPAYMENT) + return "COPAYMENT"; + if (code == V3ActCode.DEDUCTIBLE) + return "DEDUCTIBLE"; + if (code == V3ActCode.PAY) + return "PAY"; + if (code == V3ActCode.SPEND) + return "SPEND"; + if (code == V3ActCode._ACTINVOICEDETAILGENERICMODIFIERCODE) + return "_ActInvoiceDetailGenericModifierCode"; + if (code == V3ActCode.AFTHRS) + return "AFTHRS"; + if (code == V3ActCode.ISOL) + return "ISOL"; + if (code == V3ActCode.OOO) + return "OOO"; + if (code == V3ActCode._ACTINVOICEDETAILGENERICPROVIDERCODE) + return "_ActInvoiceDetailGenericProviderCode"; + if (code == V3ActCode.CANCAPT) + return "CANCAPT"; + if (code == V3ActCode.DSC) + return "DSC"; + if (code == V3ActCode.ESA) + return "ESA"; + if (code == V3ActCode.FFSTOP) + return "FFSTOP"; + if (code == V3ActCode.FNLFEE) + return "FNLFEE"; + if (code == V3ActCode.FRSTFEE) + return "FRSTFEE"; + if (code == V3ActCode.MARKUP) + return "MARKUP"; + if (code == V3ActCode.MISSAPT) + return "MISSAPT"; + if (code == V3ActCode.PERFEE) + return "PERFEE"; + if (code == V3ActCode.PERMBNS) + return "PERMBNS"; + if (code == V3ActCode.RESTOCK) + return "RESTOCK"; + if (code == V3ActCode.TRAVEL) + return "TRAVEL"; + if (code == V3ActCode.URGENT) + return "URGENT"; + if (code == V3ActCode._ACTINVOICEDETAILTAXCODE) + return "_ActInvoiceDetailTaxCode"; + if (code == V3ActCode.FST) + return "FST"; + if (code == V3ActCode.HST) + return "HST"; + if (code == V3ActCode.PST) + return "PST"; + if (code == V3ActCode._ACTINVOICEDETAILPREFERREDACCOMMODATIONCODE) + return "_ActInvoiceDetailPreferredAccommodationCode"; + if (code == V3ActCode._ACTENCOUNTERACCOMMODATIONCODE) + return "_ActEncounterAccommodationCode"; + if (code == V3ActCode._HL7ACCOMMODATIONCODE) + return "_HL7AccommodationCode"; + if (code == V3ActCode.I) + return "I"; + if (code == V3ActCode.P) + return "P"; + if (code == V3ActCode.S) + return "S"; + if (code == V3ActCode.SP) + return "SP"; + if (code == V3ActCode.W) + return "W"; + if (code == V3ActCode._ACTINVOICEGROUPCODE) + return "_ActInvoiceGroupCode"; + if (code == V3ActCode._ACTINVOICEINTERGROUPCODE) + return "_ActInvoiceInterGroupCode"; + if (code == V3ActCode.CPNDDRGING) + return "CPNDDRGING"; + if (code == V3ActCode.CPNDINDING) + return "CPNDINDING"; + if (code == V3ActCode.CPNDSUPING) + return "CPNDSUPING"; + if (code == V3ActCode.DRUGING) + return "DRUGING"; + if (code == V3ActCode.FRAMEING) + return "FRAMEING"; + if (code == V3ActCode.LENSING) + return "LENSING"; + if (code == V3ActCode.PRDING) + return "PRDING"; + if (code == V3ActCode._ACTINVOICEROOTGROUPCODE) + return "_ActInvoiceRootGroupCode"; + if (code == V3ActCode.CPINV) + return "CPINV"; + if (code == V3ActCode.CSINV) + return "CSINV"; + if (code == V3ActCode.CSPINV) + return "CSPINV"; + if (code == V3ActCode.FININV) + return "FININV"; + if (code == V3ActCode.OHSINV) + return "OHSINV"; + if (code == V3ActCode.PAINV) + return "PAINV"; + if (code == V3ActCode.RXCINV) + return "RXCINV"; + if (code == V3ActCode.RXDINV) + return "RXDINV"; + if (code == V3ActCode.SBFINV) + return "SBFINV"; + if (code == V3ActCode.VRXINV) + return "VRXINV"; + if (code == V3ActCode._ACTINVOICEELEMENTSUMMARYCODE) + return "_ActInvoiceElementSummaryCode"; + if (code == V3ActCode._INVOICEELEMENTADJUDICATED) + return "_InvoiceElementAdjudicated"; + if (code == V3ActCode.ADNFPPELAT) + return "ADNFPPELAT"; + if (code == V3ActCode.ADNFPPELCT) + return "ADNFPPELCT"; + if (code == V3ActCode.ADNFPPMNAT) + return "ADNFPPMNAT"; + if (code == V3ActCode.ADNFPPMNCT) + return "ADNFPPMNCT"; + if (code == V3ActCode.ADNFSPELAT) + return "ADNFSPELAT"; + if (code == V3ActCode.ADNFSPELCT) + return "ADNFSPELCT"; + if (code == V3ActCode.ADNFSPMNAT) + return "ADNFSPMNAT"; + if (code == V3ActCode.ADNFSPMNCT) + return "ADNFSPMNCT"; + if (code == V3ActCode.ADNPPPELAT) + return "ADNPPPELAT"; + if (code == V3ActCode.ADNPPPELCT) + return "ADNPPPELCT"; + if (code == V3ActCode.ADNPPPMNAT) + return "ADNPPPMNAT"; + if (code == V3ActCode.ADNPPPMNCT) + return "ADNPPPMNCT"; + if (code == V3ActCode.ADNPSPELAT) + return "ADNPSPELAT"; + if (code == V3ActCode.ADNPSPELCT) + return "ADNPSPELCT"; + if (code == V3ActCode.ADNPSPMNAT) + return "ADNPSPMNAT"; + if (code == V3ActCode.ADNPSPMNCT) + return "ADNPSPMNCT"; + if (code == V3ActCode.ADPPPPELAT) + return "ADPPPPELAT"; + if (code == V3ActCode.ADPPPPELCT) + return "ADPPPPELCT"; + if (code == V3ActCode.ADPPPPMNAT) + return "ADPPPPMNAT"; + if (code == V3ActCode.ADPPPPMNCT) + return "ADPPPPMNCT"; + if (code == V3ActCode.ADPPSPELAT) + return "ADPPSPELAT"; + if (code == V3ActCode.ADPPSPELCT) + return "ADPPSPELCT"; + if (code == V3ActCode.ADPPSPMNAT) + return "ADPPSPMNAT"; + if (code == V3ActCode.ADPPSPMNCT) + return "ADPPSPMNCT"; + if (code == V3ActCode.ADRFPPELAT) + return "ADRFPPELAT"; + if (code == V3ActCode.ADRFPPELCT) + return "ADRFPPELCT"; + if (code == V3ActCode.ADRFPPMNAT) + return "ADRFPPMNAT"; + if (code == V3ActCode.ADRFPPMNCT) + return "ADRFPPMNCT"; + if (code == V3ActCode.ADRFSPELAT) + return "ADRFSPELAT"; + if (code == V3ActCode.ADRFSPELCT) + return "ADRFSPELCT"; + if (code == V3ActCode.ADRFSPMNAT) + return "ADRFSPMNAT"; + if (code == V3ActCode.ADRFSPMNCT) + return "ADRFSPMNCT"; + if (code == V3ActCode._INVOICEELEMENTPAID) + return "_InvoiceElementPaid"; + if (code == V3ActCode.PDNFPPELAT) + return "PDNFPPELAT"; + if (code == V3ActCode.PDNFPPELCT) + return "PDNFPPELCT"; + if (code == V3ActCode.PDNFPPMNAT) + return "PDNFPPMNAT"; + if (code == V3ActCode.PDNFPPMNCT) + return "PDNFPPMNCT"; + if (code == V3ActCode.PDNFSPELAT) + return "PDNFSPELAT"; + if (code == V3ActCode.PDNFSPELCT) + return "PDNFSPELCT"; + if (code == V3ActCode.PDNFSPMNAT) + return "PDNFSPMNAT"; + if (code == V3ActCode.PDNFSPMNCT) + return "PDNFSPMNCT"; + if (code == V3ActCode.PDNPPPELAT) + return "PDNPPPELAT"; + if (code == V3ActCode.PDNPPPELCT) + return "PDNPPPELCT"; + if (code == V3ActCode.PDNPPPMNAT) + return "PDNPPPMNAT"; + if (code == V3ActCode.PDNPPPMNCT) + return "PDNPPPMNCT"; + if (code == V3ActCode.PDNPSPELAT) + return "PDNPSPELAT"; + if (code == V3ActCode.PDNPSPELCT) + return "PDNPSPELCT"; + if (code == V3ActCode.PDNPSPMNAT) + return "PDNPSPMNAT"; + if (code == V3ActCode.PDNPSPMNCT) + return "PDNPSPMNCT"; + if (code == V3ActCode.PDPPPPELAT) + return "PDPPPPELAT"; + if (code == V3ActCode.PDPPPPELCT) + return "PDPPPPELCT"; + if (code == V3ActCode.PDPPPPMNAT) + return "PDPPPPMNAT"; + if (code == V3ActCode.PDPPPPMNCT) + return "PDPPPPMNCT"; + if (code == V3ActCode.PDPPSPELAT) + return "PDPPSPELAT"; + if (code == V3ActCode.PDPPSPELCT) + return "PDPPSPELCT"; + if (code == V3ActCode.PDPPSPMNAT) + return "PDPPSPMNAT"; + if (code == V3ActCode.PDPPSPMNCT) + return "PDPPSPMNCT"; + if (code == V3ActCode._INVOICEELEMENTSUBMITTED) + return "_InvoiceElementSubmitted"; + if (code == V3ActCode.SBBLELAT) + return "SBBLELAT"; + if (code == V3ActCode.SBBLELCT) + return "SBBLELCT"; + if (code == V3ActCode.SBNFELAT) + return "SBNFELAT"; + if (code == V3ActCode.SBNFELCT) + return "SBNFELCT"; + if (code == V3ActCode.SBPDELAT) + return "SBPDELAT"; + if (code == V3ActCode.SBPDELCT) + return "SBPDELCT"; + if (code == V3ActCode._ACTINVOICEOVERRIDECODE) + return "_ActInvoiceOverrideCode"; + if (code == V3ActCode.COVGE) + return "COVGE"; + if (code == V3ActCode.EFORM) + return "EFORM"; + if (code == V3ActCode.FAX) + return "FAX"; + if (code == V3ActCode.GFTH) + return "GFTH"; + if (code == V3ActCode.LATE) + return "LATE"; + if (code == V3ActCode.MANUAL) + return "MANUAL"; + if (code == V3ActCode.OOJ) + return "OOJ"; + if (code == V3ActCode.ORTHO) + return "ORTHO"; + if (code == V3ActCode.PAPER) + return "PAPER"; + if (code == V3ActCode.PIE) + return "PIE"; + if (code == V3ActCode.PYRDELAY) + return "PYRDELAY"; + if (code == V3ActCode.REFNR) + return "REFNR"; + if (code == V3ActCode.REPSERV) + return "REPSERV"; + if (code == V3ActCode.UNRELAT) + return "UNRELAT"; + if (code == V3ActCode.VERBAUTH) + return "VERBAUTH"; + if (code == V3ActCode._ACTLISTCODE) + return "_ActListCode"; + if (code == V3ActCode._ACTOBSERVATIONLIST) + return "_ActObservationList"; + if (code == V3ActCode.CARELIST) + return "CARELIST"; + if (code == V3ActCode.CONDLIST) + return "CONDLIST"; + if (code == V3ActCode.INTOLIST) + return "INTOLIST"; + if (code == V3ActCode.PROBLIST) + return "PROBLIST"; + if (code == V3ActCode.RISKLIST) + return "RISKLIST"; + if (code == V3ActCode.GOALLIST) + return "GOALLIST"; + if (code == V3ActCode._ACTTHERAPYDURATIONWORKINGLISTCODE) + return "_ActTherapyDurationWorkingListCode"; + if (code == V3ActCode._ACTMEDICATIONTHERAPYDURATIONWORKINGLISTCODE) + return "_ActMedicationTherapyDurationWorkingListCode"; + if (code == V3ActCode.ACU) + return "ACU"; + if (code == V3ActCode.CHRON) + return "CHRON"; + if (code == V3ActCode.ONET) + return "ONET"; + if (code == V3ActCode.PRN) + return "PRN"; + if (code == V3ActCode.MEDLIST) + return "MEDLIST"; + if (code == V3ActCode.CURMEDLIST) + return "CURMEDLIST"; + if (code == V3ActCode.DISCMEDLIST) + return "DISCMEDLIST"; + if (code == V3ActCode.HISTMEDLIST) + return "HISTMEDLIST"; + if (code == V3ActCode._ACTMONITORINGPROTOCOLCODE) + return "_ActMonitoringProtocolCode"; + if (code == V3ActCode.CTLSUB) + return "CTLSUB"; + if (code == V3ActCode.INV) + return "INV"; + if (code == V3ActCode.LU) + return "LU"; + if (code == V3ActCode.OTC) + return "OTC"; + if (code == V3ActCode.RX) + return "RX"; + if (code == V3ActCode.SA) + return "SA"; + if (code == V3ActCode.SAC) + return "SAC"; + if (code == V3ActCode._ACTNONOBSERVATIONINDICATIONCODE) + return "_ActNonObservationIndicationCode"; + if (code == V3ActCode.IND01) + return "IND01"; + if (code == V3ActCode.IND02) + return "IND02"; + if (code == V3ActCode.IND03) + return "IND03"; + if (code == V3ActCode.IND04) + return "IND04"; + if (code == V3ActCode.IND05) + return "IND05"; + if (code == V3ActCode._ACTOBSERVATIONVERIFICATIONTYPE) + return "_ActObservationVerificationType"; + if (code == V3ActCode.VFPAPER) + return "VFPAPER"; + if (code == V3ActCode._ACTPAYMENTCODE) + return "_ActPaymentCode"; + if (code == V3ActCode.ACH) + return "ACH"; + if (code == V3ActCode.CHK) + return "CHK"; + if (code == V3ActCode.DDP) + return "DDP"; + if (code == V3ActCode.NON) + return "NON"; + if (code == V3ActCode._ACTPHARMACYSUPPLYTYPE) + return "_ActPharmacySupplyType"; + if (code == V3ActCode.DF) + return "DF"; + if (code == V3ActCode.EM) + return "EM"; + if (code == V3ActCode.SO) + return "SO"; + if (code == V3ActCode.FF) + return "FF"; + if (code == V3ActCode.FFC) + return "FFC"; + if (code == V3ActCode.FFCS) + return "FFCS"; + if (code == V3ActCode.FFP) + return "FFP"; + if (code == V3ActCode.FFPS) + return "FFPS"; + if (code == V3ActCode.FFSS) + return "FFSS"; + if (code == V3ActCode.TFS) + return "TFS"; + if (code == V3ActCode.TF) + return "TF"; + if (code == V3ActCode.FS) + return "FS"; + if (code == V3ActCode.MS) + return "MS"; + if (code == V3ActCode.RF) + return "RF"; + if (code == V3ActCode.UD) + return "UD"; + if (code == V3ActCode.RFC) + return "RFC"; + if (code == V3ActCode.RFCS) + return "RFCS"; + if (code == V3ActCode.RFF) + return "RFF"; + if (code == V3ActCode.RFFS) + return "RFFS"; + if (code == V3ActCode.RFP) + return "RFP"; + if (code == V3ActCode.RFPS) + return "RFPS"; + if (code == V3ActCode.RFS) + return "RFS"; + if (code == V3ActCode.TB) + return "TB"; + if (code == V3ActCode.TBS) + return "TBS"; + if (code == V3ActCode.UDE) + return "UDE"; + if (code == V3ActCode._ACTPOLICYTYPE) + return "_ActPolicyType"; + if (code == V3ActCode._ACTPRIVACYPOLICY) + return "_ActPrivacyPolicy"; + if (code == V3ActCode._ACTCONSENTDIRECTIVE) + return "_ActConsentDirective"; + if (code == V3ActCode.EMRGONLY) + return "EMRGONLY"; + if (code == V3ActCode.NOPP) + return "NOPP"; + if (code == V3ActCode.OPTIN) + return "OPTIN"; + if (code == V3ActCode.OPTOUT) + return "OPTOUT"; + if (code == V3ActCode._INFORMATIONSENSITIVITYPOLICY) + return "_InformationSensitivityPolicy"; + if (code == V3ActCode._ACTINFORMATIONSENSITIVITYPOLICY) + return "_ActInformationSensitivityPolicy"; + if (code == V3ActCode.ETH) + return "ETH"; + if (code == V3ActCode.GDIS) + return "GDIS"; + if (code == V3ActCode.HIV) + return "HIV"; + if (code == V3ActCode.PSY) + return "PSY"; + if (code == V3ActCode.SCA) + return "SCA"; + if (code == V3ActCode.SDV) + return "SDV"; + if (code == V3ActCode.SEX) + return "SEX"; + if (code == V3ActCode.STD) + return "STD"; + if (code == V3ActCode.TBOO) + return "TBOO"; + if (code == V3ActCode._ENTITYSENSITIVITYPOLICYTYPE) + return "_EntitySensitivityPolicyType"; + if (code == V3ActCode.DEMO) + return "DEMO"; + if (code == V3ActCode.DOB) + return "DOB"; + if (code == V3ActCode.GENDER) + return "GENDER"; + if (code == V3ActCode.LIVARG) + return "LIVARG"; + if (code == V3ActCode.MARST) + return "MARST"; + if (code == V3ActCode.RACE) + return "RACE"; + if (code == V3ActCode.REL) + return "REL"; + if (code == V3ActCode._ROLEINFORMATIONSENSITIVITYPOLICY) + return "_RoleInformationSensitivityPolicy"; + if (code == V3ActCode.B) + return "B"; + if (code == V3ActCode.EMPL) + return "EMPL"; + if (code == V3ActCode.LOCIS) + return "LOCIS"; + if (code == V3ActCode.SSP) + return "SSP"; + if (code == V3ActCode.ADOL) + return "ADOL"; + if (code == V3ActCode.CEL) + return "CEL"; + if (code == V3ActCode.DIA) + return "DIA"; + if (code == V3ActCode.DRGIS) + return "DRGIS"; + if (code == V3ActCode.EMP) + return "EMP"; + if (code == V3ActCode.PDS) + return "PDS"; + if (code == V3ActCode.PRS) + return "PRS"; + if (code == V3ActCode.COMPT) + return "COMPT"; + if (code == V3ActCode.HRCOMPT) + return "HRCOMPT"; + if (code == V3ActCode.RESCOMPT) + return "RESCOMPT"; + if (code == V3ActCode.RMGTCOMPT) + return "RMGTCOMPT"; + if (code == V3ActCode.ACTTRUSTPOLICYTYPE) + return "ActTrustPolicyType"; + if (code == V3ActCode.TRSTACCRD) + return "TRSTACCRD"; + if (code == V3ActCode.TRSTAGRE) + return "TRSTAGRE"; + if (code == V3ActCode.TRSTASSUR) + return "TRSTASSUR"; + if (code == V3ActCode.TRSTCERT) + return "TRSTCERT"; + if (code == V3ActCode.TRSTFWK) + return "TRSTFWK"; + if (code == V3ActCode.TRSTMEC) + return "TRSTMEC"; + if (code == V3ActCode.COVPOL) + return "COVPOL"; + if (code == V3ActCode.SECURITYPOLICY) + return "SecurityPolicy"; + if (code == V3ActCode.OBLIGATIONPOLICY) + return "ObligationPolicy"; + if (code == V3ActCode.ANONY) + return "ANONY"; + if (code == V3ActCode.AOD) + return "AOD"; + if (code == V3ActCode.AUDIT) + return "AUDIT"; + if (code == V3ActCode.AUDTR) + return "AUDTR"; + if (code == V3ActCode.CPLYCC) + return "CPLYCC"; + if (code == V3ActCode.CPLYCD) + return "CPLYCD"; + if (code == V3ActCode.CPLYJPP) + return "CPLYJPP"; + if (code == V3ActCode.CPLYOPP) + return "CPLYOPP"; + if (code == V3ActCode.CPLYOSP) + return "CPLYOSP"; + if (code == V3ActCode.CPLYPOL) + return "CPLYPOL"; + if (code == V3ActCode.DEID) + return "DEID"; + if (code == V3ActCode.DELAU) + return "DELAU"; + if (code == V3ActCode.ENCRYPT) + return "ENCRYPT"; + if (code == V3ActCode.ENCRYPTR) + return "ENCRYPTR"; + if (code == V3ActCode.ENCRYPTT) + return "ENCRYPTT"; + if (code == V3ActCode.ENCRYPTU) + return "ENCRYPTU"; + if (code == V3ActCode.HUAPRV) + return "HUAPRV"; + if (code == V3ActCode.MASK) + return "MASK"; + if (code == V3ActCode.MINEC) + return "MINEC"; + if (code == V3ActCode.PRIVMARK) + return "PRIVMARK"; + if (code == V3ActCode.PSEUD) + return "PSEUD"; + if (code == V3ActCode.REDACT) + return "REDACT"; + if (code == V3ActCode.REFRAINPOLICY) + return "RefrainPolicy"; + if (code == V3ActCode.NOAUTH) + return "NOAUTH"; + if (code == V3ActCode.NOCOLLECT) + return "NOCOLLECT"; + if (code == V3ActCode.NODSCLCD) + return "NODSCLCD"; + if (code == V3ActCode.NODSCLCDS) + return "NODSCLCDS"; + if (code == V3ActCode.NOINTEGRATE) + return "NOINTEGRATE"; + if (code == V3ActCode.NOLIST) + return "NOLIST"; + if (code == V3ActCode.NOMOU) + return "NOMOU"; + if (code == V3ActCode.NOORGPOL) + return "NOORGPOL"; + if (code == V3ActCode.NOPAT) + return "NOPAT"; + if (code == V3ActCode.NOPERSISTP) + return "NOPERSISTP"; + if (code == V3ActCode.NORDSCLCD) + return "NORDSCLCD"; + if (code == V3ActCode.NORDSCLCDS) + return "NORDSCLCDS"; + if (code == V3ActCode.NORDSCLW) + return "NORDSCLW"; + if (code == V3ActCode.NORELINK) + return "NORELINK"; + if (code == V3ActCode.NOREUSE) + return "NOREUSE"; + if (code == V3ActCode.NOVIP) + return "NOVIP"; + if (code == V3ActCode.ORCON) + return "ORCON"; + if (code == V3ActCode._ACTPRODUCTACQUISITIONCODE) + return "_ActProductAcquisitionCode"; + if (code == V3ActCode.LOAN) + return "LOAN"; + if (code == V3ActCode.RENT) + return "RENT"; + if (code == V3ActCode.TRANSFER) + return "TRANSFER"; + if (code == V3ActCode.SALE) + return "SALE"; + if (code == V3ActCode._ACTSPECIMENTRANSPORTCODE) + return "_ActSpecimenTransportCode"; + if (code == V3ActCode.SREC) + return "SREC"; + if (code == V3ActCode.SSTOR) + return "SSTOR"; + if (code == V3ActCode.STRAN) + return "STRAN"; + if (code == V3ActCode._ACTSPECIMENTREATMENTCODE) + return "_ActSpecimenTreatmentCode"; + if (code == V3ActCode.ACID) + return "ACID"; + if (code == V3ActCode.ALK) + return "ALK"; + if (code == V3ActCode.DEFB) + return "DEFB"; + if (code == V3ActCode.FILT) + return "FILT"; + if (code == V3ActCode.LDLP) + return "LDLP"; + if (code == V3ActCode.NEUT) + return "NEUT"; + if (code == V3ActCode.RECA) + return "RECA"; + if (code == V3ActCode.UFIL) + return "UFIL"; + if (code == V3ActCode._ACTSUBSTANCEADMINISTRATIONCODE) + return "_ActSubstanceAdministrationCode"; + if (code == V3ActCode.DRUG) + return "DRUG"; + if (code == V3ActCode.FD) + return "FD"; + if (code == V3ActCode.IMMUNIZ) + return "IMMUNIZ"; + if (code == V3ActCode._ACTTASKCODE) + return "_ActTaskCode"; + if (code == V3ActCode.OE) + return "OE"; + if (code == V3ActCode.LABOE) + return "LABOE"; + if (code == V3ActCode.MEDOE) + return "MEDOE"; + if (code == V3ActCode.PATDOC) + return "PATDOC"; + if (code == V3ActCode.ALLERLREV) + return "ALLERLREV"; + if (code == V3ActCode.CLINNOTEE) + return "CLINNOTEE"; + if (code == V3ActCode.DIAGLISTE) + return "DIAGLISTE"; + if (code == V3ActCode.DISCHINSTE) + return "DISCHINSTE"; + if (code == V3ActCode.DISCHSUME) + return "DISCHSUME"; + if (code == V3ActCode.PATEDUE) + return "PATEDUE"; + if (code == V3ActCode.PATREPE) + return "PATREPE"; + if (code == V3ActCode.PROBLISTE) + return "PROBLISTE"; + if (code == V3ActCode.RADREPE) + return "RADREPE"; + if (code == V3ActCode.IMMLREV) + return "IMMLREV"; + if (code == V3ActCode.REMLREV) + return "REMLREV"; + if (code == V3ActCode.WELLREMLREV) + return "WELLREMLREV"; + if (code == V3ActCode.PATINFO) + return "PATINFO"; + if (code == V3ActCode.ALLERLE) + return "ALLERLE"; + if (code == V3ActCode.CDSREV) + return "CDSREV"; + if (code == V3ActCode.CLINNOTEREV) + return "CLINNOTEREV"; + if (code == V3ActCode.DISCHSUMREV) + return "DISCHSUMREV"; + if (code == V3ActCode.DIAGLISTREV) + return "DIAGLISTREV"; + if (code == V3ActCode.IMMLE) + return "IMMLE"; + if (code == V3ActCode.LABRREV) + return "LABRREV"; + if (code == V3ActCode.MICRORREV) + return "MICRORREV"; + if (code == V3ActCode.MICROORGRREV) + return "MICROORGRREV"; + if (code == V3ActCode.MICROSENSRREV) + return "MICROSENSRREV"; + if (code == V3ActCode.MLREV) + return "MLREV"; + if (code == V3ActCode.MARWLREV) + return "MARWLREV"; + if (code == V3ActCode.OREV) + return "OREV"; + if (code == V3ActCode.PATREPREV) + return "PATREPREV"; + if (code == V3ActCode.PROBLISTREV) + return "PROBLISTREV"; + if (code == V3ActCode.RADREPREV) + return "RADREPREV"; + if (code == V3ActCode.REMLE) + return "REMLE"; + if (code == V3ActCode.WELLREMLE) + return "WELLREMLE"; + if (code == V3ActCode.RISKASSESS) + return "RISKASSESS"; + if (code == V3ActCode.FALLRISK) + return "FALLRISK"; + if (code == V3ActCode._ACTTRANSPORTATIONMODECODE) + return "_ActTransportationModeCode"; + if (code == V3ActCode._ACTPATIENTTRANSPORTATIONMODECODE) + return "_ActPatientTransportationModeCode"; + if (code == V3ActCode.AFOOT) + return "AFOOT"; + if (code == V3ActCode.AMBT) + return "AMBT"; + if (code == V3ActCode.AMBAIR) + return "AMBAIR"; + if (code == V3ActCode.AMBGRND) + return "AMBGRND"; + if (code == V3ActCode.AMBHELO) + return "AMBHELO"; + if (code == V3ActCode.LAWENF) + return "LAWENF"; + if (code == V3ActCode.PRVTRN) + return "PRVTRN"; + if (code == V3ActCode.PUBTRN) + return "PUBTRN"; + if (code == V3ActCode._OBSERVATIONTYPE) + return "_ObservationType"; + if (code == V3ActCode._ACTSPECOBSCODE) + return "_ActSpecObsCode"; + if (code == V3ActCode.ARTBLD) + return "ARTBLD"; + if (code == V3ActCode.DILUTION) + return "DILUTION"; + if (code == V3ActCode.AUTOHIGH) + return "AUTO-HIGH"; + if (code == V3ActCode.AUTOLOW) + return "AUTO-LOW"; + if (code == V3ActCode.PRE) + return "PRE"; + if (code == V3ActCode.RERUN) + return "RERUN"; + if (code == V3ActCode.EVNFCTS) + return "EVNFCTS"; + if (code == V3ActCode.INTFR) + return "INTFR"; + if (code == V3ActCode.FIBRIN) + return "FIBRIN"; + if (code == V3ActCode.HEMOLYSIS) + return "HEMOLYSIS"; + if (code == V3ActCode.ICTERUS) + return "ICTERUS"; + if (code == V3ActCode.LIPEMIA) + return "LIPEMIA"; + if (code == V3ActCode.VOLUME) + return "VOLUME"; + if (code == V3ActCode.AVAILABLE) + return "AVAILABLE"; + if (code == V3ActCode.CONSUMPTION) + return "CONSUMPTION"; + if (code == V3ActCode.CURRENT) + return "CURRENT"; + if (code == V3ActCode.INITIAL) + return "INITIAL"; + if (code == V3ActCode._ANNOTATIONTYPE) + return "_AnnotationType"; + if (code == V3ActCode._ACTPATIENTANNOTATIONTYPE) + return "_ActPatientAnnotationType"; + if (code == V3ActCode.ANNDI) + return "ANNDI"; + if (code == V3ActCode.ANNGEN) + return "ANNGEN"; + if (code == V3ActCode.ANNIMM) + return "ANNIMM"; + if (code == V3ActCode.ANNLAB) + return "ANNLAB"; + if (code == V3ActCode.ANNMED) + return "ANNMED"; + if (code == V3ActCode._GENETICOBSERVATIONTYPE) + return "_GeneticObservationType"; + if (code == V3ActCode.GENE) + return "GENE"; + if (code == V3ActCode._IMMUNIZATIONOBSERVATIONTYPE) + return "_ImmunizationObservationType"; + if (code == V3ActCode.OBSANTC) + return "OBSANTC"; + if (code == V3ActCode.OBSANTV) + return "OBSANTV"; + if (code == V3ActCode._INDIVIDUALCASESAFETYREPORTTYPE) + return "_IndividualCaseSafetyReportType"; + if (code == V3ActCode.PATADVEVNT) + return "PAT_ADV_EVNT"; + if (code == V3ActCode.VACPROBLEM) + return "VAC_PROBLEM"; + if (code == V3ActCode._LOINCOBSERVATIONACTCONTEXTAGETYPE) + return "_LOINCObservationActContextAgeType"; + if (code == V3ActCode._216119) + return "21611-9"; + if (code == V3ActCode._216127) + return "21612-7"; + if (code == V3ActCode._295535) + return "29553-5"; + if (code == V3ActCode._305250) + return "30525-0"; + if (code == V3ActCode._309724) + return "30972-4"; + if (code == V3ActCode._MEDICATIONOBSERVATIONTYPE) + return "_MedicationObservationType"; + if (code == V3ActCode.REPHALFLIFE) + return "REP_HALF_LIFE"; + if (code == V3ActCode.SPLCOATING) + return "SPLCOATING"; + if (code == V3ActCode.SPLCOLOR) + return "SPLCOLOR"; + if (code == V3ActCode.SPLIMAGE) + return "SPLIMAGE"; + if (code == V3ActCode.SPLIMPRINT) + return "SPLIMPRINT"; + if (code == V3ActCode.SPLSCORING) + return "SPLSCORING"; + if (code == V3ActCode.SPLSHAPE) + return "SPLSHAPE"; + if (code == V3ActCode.SPLSIZE) + return "SPLSIZE"; + if (code == V3ActCode.SPLSYMBOL) + return "SPLSYMBOL"; + if (code == V3ActCode._OBSERVATIONISSUETRIGGERCODEDOBSERVATIONTYPE) + return "_ObservationIssueTriggerCodedObservationType"; + if (code == V3ActCode._CASETRANSMISSIONMODE) + return "_CaseTransmissionMode"; + if (code == V3ActCode.AIRTRNS) + return "AIRTRNS"; + if (code == V3ActCode.ANANTRNS) + return "ANANTRNS"; + if (code == V3ActCode.ANHUMTRNS) + return "ANHUMTRNS"; + if (code == V3ActCode.BDYFLDTRNS) + return "BDYFLDTRNS"; + if (code == V3ActCode.BLDTRNS) + return "BLDTRNS"; + if (code == V3ActCode.DERMTRNS) + return "DERMTRNS"; + if (code == V3ActCode.ENVTRNS) + return "ENVTRNS"; + if (code == V3ActCode.FECTRNS) + return "FECTRNS"; + if (code == V3ActCode.FOMTRNS) + return "FOMTRNS"; + if (code == V3ActCode.FOODTRNS) + return "FOODTRNS"; + if (code == V3ActCode.HUMHUMTRNS) + return "HUMHUMTRNS"; + if (code == V3ActCode.INDTRNS) + return "INDTRNS"; + if (code == V3ActCode.LACTTRNS) + return "LACTTRNS"; + if (code == V3ActCode.NOSTRNS) + return "NOSTRNS"; + if (code == V3ActCode.PARTRNS) + return "PARTRNS"; + if (code == V3ActCode.PLACTRNS) + return "PLACTRNS"; + if (code == V3ActCode.SEXTRNS) + return "SEXTRNS"; + if (code == V3ActCode.TRNSFTRNS) + return "TRNSFTRNS"; + if (code == V3ActCode.VECTRNS) + return "VECTRNS"; + if (code == V3ActCode.WATTRNS) + return "WATTRNS"; + if (code == V3ActCode._OBSERVATIONQUALITYMEASUREATTRIBUTE) + return "_ObservationQualityMeasureAttribute"; + if (code == V3ActCode.AGGREGATE) + return "AGGREGATE"; + if (code == V3ActCode.COPY) + return "COPY"; + if (code == V3ActCode.CRS) + return "CRS"; + if (code == V3ActCode.DEF) + return "DEF"; + if (code == V3ActCode.DISC) + return "DISC"; + if (code == V3ActCode.FINALDT) + return "FINALDT"; + if (code == V3ActCode.GUIDE) + return "GUIDE"; + if (code == V3ActCode.IDUR) + return "IDUR"; + if (code == V3ActCode.ITMCNT) + return "ITMCNT"; + if (code == V3ActCode.KEY) + return "KEY"; + if (code == V3ActCode.MEDT) + return "MEDT"; + if (code == V3ActCode.MSD) + return "MSD"; + if (code == V3ActCode.MSRADJ) + return "MSRADJ"; + if (code == V3ActCode.MSRAGG) + return "MSRAGG"; + if (code == V3ActCode.MSRIMPROV) + return "MSRIMPROV"; + if (code == V3ActCode.MSRJUR) + return "MSRJUR"; + if (code == V3ActCode.MSRRPTR) + return "MSRRPTR"; + if (code == V3ActCode.MSRRPTTIME) + return "MSRRPTTIME"; + if (code == V3ActCode.MSRSCORE) + return "MSRSCORE"; + if (code == V3ActCode.MSRSET) + return "MSRSET"; + if (code == V3ActCode.MSRTOPIC) + return "MSRTOPIC"; + if (code == V3ActCode.MSRTP) + return "MSRTP"; + if (code == V3ActCode.MSRTYPE) + return "MSRTYPE"; + if (code == V3ActCode.RAT) + return "RAT"; + if (code == V3ActCode.REF) + return "REF"; + if (code == V3ActCode.SDE) + return "SDE"; + if (code == V3ActCode.STRAT) + return "STRAT"; + if (code == V3ActCode.TRANF) + return "TRANF"; + if (code == V3ActCode.USE) + return "USE"; + if (code == V3ActCode._OBSERVATIONSEQUENCETYPE) + return "_ObservationSequenceType"; + if (code == V3ActCode.TIMEABSOLUTE) + return "TIME_ABSOLUTE"; + if (code == V3ActCode.TIMERELATIVE) + return "TIME_RELATIVE"; + if (code == V3ActCode._OBSERVATIONSERIESTYPE) + return "_ObservationSeriesType"; + if (code == V3ActCode._ECGOBSERVATIONSERIESTYPE) + return "_ECGObservationSeriesType"; + if (code == V3ActCode.REPRESENTATIVEBEAT) + return "REPRESENTATIVE_BEAT"; + if (code == V3ActCode.RHYTHM) + return "RHYTHM"; + if (code == V3ActCode._PATIENTIMMUNIZATIONRELATEDOBSERVATIONTYPE) + return "_PatientImmunizationRelatedObservationType"; + if (code == V3ActCode.CLSSRM) + return "CLSSRM"; + if (code == V3ActCode.GRADE) + return "GRADE"; + if (code == V3ActCode.SCHL) + return "SCHL"; + if (code == V3ActCode.SCHLDIV) + return "SCHLDIV"; + if (code == V3ActCode.TEACHER) + return "TEACHER"; + if (code == V3ActCode._POPULATIONINCLUSIONOBSERVATIONTYPE) + return "_PopulationInclusionObservationType"; + if (code == V3ActCode.DENEX) + return "DENEX"; + if (code == V3ActCode.DENEXCEP) + return "DENEXCEP"; + if (code == V3ActCode.DENOM) + return "DENOM"; + if (code == V3ActCode.IPOP) + return "IPOP"; + if (code == V3ActCode.IPPOP) + return "IPPOP"; + if (code == V3ActCode.MSRPOPL) + return "MSRPOPL"; + if (code == V3ActCode.MSRPOPLEX) + return "MSRPOPLEX"; + if (code == V3ActCode.NUMER) + return "NUMER"; + if (code == V3ActCode.NUMEX) + return "NUMEX"; + if (code == V3ActCode._PREFERENCEOBSERVATIONTYPE) + return "_PreferenceObservationType"; + if (code == V3ActCode.PREFSTRENGTH) + return "PREFSTRENGTH"; + if (code == V3ActCode.ADVERSEREACTION) + return "ADVERSE_REACTION"; + if (code == V3ActCode.ASSERTION) + return "ASSERTION"; + if (code == V3ActCode.CASESER) + return "CASESER"; + if (code == V3ActCode.CDIO) + return "CDIO"; + if (code == V3ActCode.CRIT) + return "CRIT"; + if (code == V3ActCode.CTMO) + return "CTMO"; + if (code == V3ActCode.DX) + return "DX"; + if (code == V3ActCode.ADMDX) + return "ADMDX"; + if (code == V3ActCode.DISDX) + return "DISDX"; + if (code == V3ActCode.INTDX) + return "INTDX"; + if (code == V3ActCode.NOI) + return "NOI"; + if (code == V3ActCode.GISTIER) + return "GISTIER"; + if (code == V3ActCode.HHOBS) + return "HHOBS"; + if (code == V3ActCode.ISSUE) + return "ISSUE"; + if (code == V3ActCode._ACTADMINISTRATIVEDETECTEDISSUECODE) + return "_ActAdministrativeDetectedIssueCode"; + if (code == V3ActCode._ACTADMINISTRATIVEAUTHORIZATIONDETECTEDISSUECODE) + return "_ActAdministrativeAuthorizationDetectedIssueCode"; + if (code == V3ActCode.NAT) + return "NAT"; + if (code == V3ActCode.SUPPRESSED) + return "SUPPRESSED"; + if (code == V3ActCode.VALIDAT) + return "VALIDAT"; + if (code == V3ActCode.KEY204) + return "KEY204"; + if (code == V3ActCode.KEY205) + return "KEY205"; + if (code == V3ActCode.COMPLY) + return "COMPLY"; + if (code == V3ActCode.DUPTHPY) + return "DUPTHPY"; + if (code == V3ActCode.DUPTHPCLS) + return "DUPTHPCLS"; + if (code == V3ActCode.DUPTHPGEN) + return "DUPTHPGEN"; + if (code == V3ActCode.ABUSE) + return "ABUSE"; + if (code == V3ActCode.FRAUD) + return "FRAUD"; + if (code == V3ActCode.PLYDOC) + return "PLYDOC"; + if (code == V3ActCode.PLYPHRM) + return "PLYPHRM"; + if (code == V3ActCode.DOSE) + return "DOSE"; + if (code == V3ActCode.DOSECOND) + return "DOSECOND"; + if (code == V3ActCode.DOSEDUR) + return "DOSEDUR"; + if (code == V3ActCode.DOSEDURH) + return "DOSEDURH"; + if (code == V3ActCode.DOSEDURHIND) + return "DOSEDURHIND"; + if (code == V3ActCode.DOSEDURL) + return "DOSEDURL"; + if (code == V3ActCode.DOSEDURLIND) + return "DOSEDURLIND"; + if (code == V3ActCode.DOSEH) + return "DOSEH"; + if (code == V3ActCode.DOSEHINDA) + return "DOSEHINDA"; + if (code == V3ActCode.DOSEHIND) + return "DOSEHIND"; + if (code == V3ActCode.DOSEHINDSA) + return "DOSEHINDSA"; + if (code == V3ActCode.DOSEHINDW) + return "DOSEHINDW"; + if (code == V3ActCode.DOSEIVL) + return "DOSEIVL"; + if (code == V3ActCode.DOSEIVLIND) + return "DOSEIVLIND"; + if (code == V3ActCode.DOSEL) + return "DOSEL"; + if (code == V3ActCode.DOSELINDA) + return "DOSELINDA"; + if (code == V3ActCode.DOSELIND) + return "DOSELIND"; + if (code == V3ActCode.DOSELINDSA) + return "DOSELINDSA"; + if (code == V3ActCode.DOSELINDW) + return "DOSELINDW"; + if (code == V3ActCode.MDOSE) + return "MDOSE"; + if (code == V3ActCode.OBSA) + return "OBSA"; + if (code == V3ActCode.AGE) + return "AGE"; + if (code == V3ActCode.ADALRT) + return "ADALRT"; + if (code == V3ActCode.GEALRT) + return "GEALRT"; + if (code == V3ActCode.PEALRT) + return "PEALRT"; + if (code == V3ActCode.COND) + return "COND"; + if (code == V3ActCode.HGHT) + return "HGHT"; + if (code == V3ActCode.LACT) + return "LACT"; + if (code == V3ActCode.PREG) + return "PREG"; + if (code == V3ActCode.WGHT) + return "WGHT"; + if (code == V3ActCode.CREACT) + return "CREACT"; + if (code == V3ActCode.GEN) + return "GEN"; + if (code == V3ActCode.GEND) + return "GEND"; + if (code == V3ActCode.LAB) + return "LAB"; + if (code == V3ActCode.REACT) + return "REACT"; + if (code == V3ActCode.ALGY) + return "ALGY"; + if (code == V3ActCode.INT) + return "INT"; + if (code == V3ActCode.RREACT) + return "RREACT"; + if (code == V3ActCode.RALG) + return "RALG"; + if (code == V3ActCode.RAR) + return "RAR"; + if (code == V3ActCode.RINT) + return "RINT"; + if (code == V3ActCode.BUS) + return "BUS"; + if (code == V3ActCode.CODEINVAL) + return "CODE_INVAL"; + if (code == V3ActCode.CODEDEPREC) + return "CODE_DEPREC"; + if (code == V3ActCode.FORMAT) + return "FORMAT"; + if (code == V3ActCode.ILLEGAL) + return "ILLEGAL"; + if (code == V3ActCode.LENRANGE) + return "LEN_RANGE"; + if (code == V3ActCode.LENLONG) + return "LEN_LONG"; + if (code == V3ActCode.LENSHORT) + return "LEN_SHORT"; + if (code == V3ActCode.MISSCOND) + return "MISSCOND"; + if (code == V3ActCode.MISSMAND) + return "MISSMAND"; + if (code == V3ActCode.NODUPS) + return "NODUPS"; + if (code == V3ActCode.NOPERSIST) + return "NOPERSIST"; + if (code == V3ActCode.REPRANGE) + return "REP_RANGE"; + if (code == V3ActCode.MAXOCCURS) + return "MAXOCCURS"; + if (code == V3ActCode.MINOCCURS) + return "MINOCCURS"; + if (code == V3ActCode._ACTADMINISTRATIVERULEDETECTEDISSUECODE) + return "_ActAdministrativeRuleDetectedIssueCode"; + if (code == V3ActCode.KEY206) + return "KEY206"; + if (code == V3ActCode.OBSOLETE) + return "OBSOLETE"; + if (code == V3ActCode._ACTSUPPLIEDITEMDETECTEDISSUECODE) + return "_ActSuppliedItemDetectedIssueCode"; + if (code == V3ActCode._ADMINISTRATIONDETECTEDISSUECODE) + return "_AdministrationDetectedIssueCode"; + if (code == V3ActCode._APPROPRIATENESSDETECTEDISSUECODE) + return "_AppropriatenessDetectedIssueCode"; + if (code == V3ActCode._INTERACTIONDETECTEDISSUECODE) + return "_InteractionDetectedIssueCode"; + if (code == V3ActCode.FOOD) + return "FOOD"; + if (code == V3ActCode.TPROD) + return "TPROD"; + if (code == V3ActCode.DRG) + return "DRG"; + if (code == V3ActCode.NHP) + return "NHP"; + if (code == V3ActCode.NONRX) + return "NONRX"; + if (code == V3ActCode.PREVINEF) + return "PREVINEF"; + if (code == V3ActCode.DACT) + return "DACT"; + if (code == V3ActCode.TIME) + return "TIME"; + if (code == V3ActCode.ALRTENDLATE) + return "ALRTENDLATE"; + if (code == V3ActCode.ALRTSTRTLATE) + return "ALRTSTRTLATE"; + if (code == V3ActCode._SUPPLYDETECTEDISSUECODE) + return "_SupplyDetectedIssueCode"; + if (code == V3ActCode.ALLDONE) + return "ALLDONE"; + if (code == V3ActCode.FULFIL) + return "FULFIL"; + if (code == V3ActCode.NOTACTN) + return "NOTACTN"; + if (code == V3ActCode.NOTEQUIV) + return "NOTEQUIV"; + if (code == V3ActCode.NOTEQUIVGEN) + return "NOTEQUIVGEN"; + if (code == V3ActCode.NOTEQUIVTHER) + return "NOTEQUIVTHER"; + if (code == V3ActCode.TIMING) + return "TIMING"; + if (code == V3ActCode.INTERVAL) + return "INTERVAL"; + if (code == V3ActCode.MINFREQ) + return "MINFREQ"; + if (code == V3ActCode.HELD) + return "HELD"; + if (code == V3ActCode.TOOLATE) + return "TOOLATE"; + if (code == V3ActCode.TOOSOON) + return "TOOSOON"; + if (code == V3ActCode.HISTORIC) + return "HISTORIC"; + if (code == V3ActCode.PATPREF) + return "PATPREF"; + if (code == V3ActCode.PATPREFALT) + return "PATPREFALT"; + if (code == V3ActCode.KSUBJ) + return "KSUBJ"; + if (code == V3ActCode.KSUBT) + return "KSUBT"; + if (code == V3ActCode.OINT) + return "OINT"; + if (code == V3ActCode.ALG) + return "ALG"; + if (code == V3ActCode.DALG) + return "DALG"; + if (code == V3ActCode.EALG) + return "EALG"; + if (code == V3ActCode.FALG) + return "FALG"; + if (code == V3ActCode.DINT) + return "DINT"; + if (code == V3ActCode.DNAINT) + return "DNAINT"; + if (code == V3ActCode.EINT) + return "EINT"; + if (code == V3ActCode.ENAINT) + return "ENAINT"; + if (code == V3ActCode.FINT) + return "FINT"; + if (code == V3ActCode.FNAINT) + return "FNAINT"; + if (code == V3ActCode.NAINT) + return "NAINT"; + if (code == V3ActCode.SEV) + return "SEV"; + if (code == V3ActCode._ROIOVERLAYSHAPE) + return "_ROIOverlayShape"; + if (code == V3ActCode.CIRCLE) + return "CIRCLE"; + if (code == V3ActCode.ELLIPSE) + return "ELLIPSE"; + if (code == V3ActCode.POINT) + return "POINT"; + if (code == V3ActCode.POLY) + return "POLY"; + if (code == V3ActCode.C) + return "C"; + if (code == V3ActCode.DIET) + return "DIET"; + if (code == V3ActCode.BR) + return "BR"; + if (code == V3ActCode.DM) + return "DM"; + if (code == V3ActCode.FAST) + return "FAST"; + if (code == V3ActCode.FORMULA) + return "FORMULA"; + if (code == V3ActCode.GF) + return "GF"; + if (code == V3ActCode.LF) + return "LF"; + if (code == V3ActCode.LP) + return "LP"; + if (code == V3ActCode.LQ) + return "LQ"; + if (code == V3ActCode.LS) + return "LS"; + if (code == V3ActCode.N) + return "N"; + if (code == V3ActCode.NF) + return "NF"; + if (code == V3ActCode.PAF) + return "PAF"; + if (code == V3ActCode.PAR) + return "PAR"; + if (code == V3ActCode.RD) + return "RD"; + if (code == V3ActCode.SCH) + return "SCH"; + if (code == V3ActCode.SUPPLEMENT) + return "SUPPLEMENT"; + if (code == V3ActCode.T) + return "T"; + if (code == V3ActCode.VLI) + return "VLI"; + if (code == V3ActCode.DRUGPRG) + return "DRUGPRG"; + if (code == V3ActCode.F) + return "F"; + if (code == V3ActCode.PRLMN) + return "PRLMN"; + if (code == V3ActCode.SECOBS) + return "SECOBS"; + if (code == V3ActCode.SECCATOBS) + return "SECCATOBS"; + if (code == V3ActCode.SECCLASSOBS) + return "SECCLASSOBS"; + if (code == V3ActCode.SECCONOBS) + return "SECCONOBS"; + if (code == V3ActCode.SECINTOBS) + return "SECINTOBS"; + if (code == V3ActCode.SECALTINTOBS) + return "SECALTINTOBS"; + if (code == V3ActCode.SECDATINTOBS) + return "SECDATINTOBS"; + if (code == V3ActCode.SECINTCONOBS) + return "SECINTCONOBS"; + if (code == V3ActCode.SECINTPRVOBS) + return "SECINTPRVOBS"; + if (code == V3ActCode.SECINTPRVABOBS) + return "SECINTPRVABOBS"; + if (code == V3ActCode.SECINTPRVRBOBS) + return "SECINTPRVRBOBS"; + if (code == V3ActCode.SECINTSTOBS) + return "SECINTSTOBS"; + if (code == V3ActCode.SECTRSTOBS) + return "SECTRSTOBS"; + if (code == V3ActCode.TRSTACCRDOBS) + return "TRSTACCRDOBS"; + if (code == V3ActCode.TRSTAGREOBS) + return "TRSTAGREOBS"; + if (code == V3ActCode.TRSTCERTOBS) + return "TRSTCERTOBS"; + if (code == V3ActCode.TRSTFWKOBS) + return "TRSTFWKOBS"; + if (code == V3ActCode.TRSTLOAOBS) + return "TRSTLOAOBS"; + if (code == V3ActCode.TRSTMECOBS) + return "TRSTMECOBS"; + if (code == V3ActCode.SUBSIDFFS) + return "SUBSIDFFS"; + if (code == V3ActCode.WRKCOMP) + return "WRKCOMP"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCode.java new file mode 100644 index 00000000000..57ab07235fc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCode.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActExposureLevelCode { + + /** + * A qualitative measure of the degree of exposure to the causative agent. This includes concepts such as "low", "medium" and "high". This quantifies how the quantity that was available to be administered to the target differs from typical or background levels of the substance. + */ + _ACTEXPOSURELEVELCODE, + /** + * Description: Exposure to an agent at a relatively high level above background. + */ + HIGH, + /** + * Description: Exposure to an agent at a relatively low level above background. + */ + LOW, + /** + * Description: Exposure to an agent at a relatively moderate level above background.A + */ + MEDIUM, + /** + * added to help the parsers + */ + NULL; + public static V3ActExposureLevelCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActExposureLevelCode".equals(codeString)) + return _ACTEXPOSURELEVELCODE; + if ("HIGH".equals(codeString)) + return HIGH; + if ("LOW".equals(codeString)) + return LOW; + if ("MEDIUM".equals(codeString)) + return MEDIUM; + throw new Exception("Unknown V3ActExposureLevelCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACTEXPOSURELEVELCODE: return "_ActExposureLevelCode"; + case HIGH: return "HIGH"; + case LOW: return "LOW"; + case MEDIUM: return "MEDIUM"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActExposureLevelCode"; + } + public String getDefinition() { + switch (this) { + case _ACTEXPOSURELEVELCODE: return "A qualitative measure of the degree of exposure to the causative agent. This includes concepts such as 'low', 'medium' and 'high'. This quantifies how the quantity that was available to be administered to the target differs from typical or background levels of the substance."; + case HIGH: return "Description: Exposure to an agent at a relatively high level above background."; + case LOW: return "Description: Exposure to an agent at a relatively low level above background."; + case MEDIUM: return "Description: Exposure to an agent at a relatively moderate level above background.A"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACTEXPOSURELEVELCODE: return "ActExposureLevelCode"; + case HIGH: return "high"; + case LOW: return "low"; + case MEDIUM: return "medium"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCodeEnumFactory.java new file mode 100644 index 00000000000..f4fd9a6602b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActExposureLevelCodeEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActExposureLevelCodeEnumFactory implements EnumFactory { + + public V3ActExposureLevelCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActExposureLevelCode".equals(codeString)) + return V3ActExposureLevelCode._ACTEXPOSURELEVELCODE; + if ("HIGH".equals(codeString)) + return V3ActExposureLevelCode.HIGH; + if ("LOW".equals(codeString)) + return V3ActExposureLevelCode.LOW; + if ("MEDIUM".equals(codeString)) + return V3ActExposureLevelCode.MEDIUM; + throw new IllegalArgumentException("Unknown V3ActExposureLevelCode code '"+codeString+"'"); + } + + public String toCode(V3ActExposureLevelCode code) { + if (code == V3ActExposureLevelCode._ACTEXPOSURELEVELCODE) + return "_ActExposureLevelCode"; + if (code == V3ActExposureLevelCode.HIGH) + return "HIGH"; + if (code == V3ActExposureLevelCode.LOW) + return "LOW"; + if (code == V3ActExposureLevelCode.MEDIUM) + return "MEDIUM"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifier.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifier.java new file mode 100644 index 00000000000..5b94fbb59fb --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifier.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActInvoiceElementModifier { + + /** + * Electronic form with supporting information to follow. + */ + EFORM, + /** + * Fax with supporting information to follow. + */ + FAX, + /** + * Represents the last invoice from the perspective of the provider. + */ + LINV, + /** + * Paper documentation (or other physical format) with supporting information to follow. + */ + PAPER, + /** + * added to help the parsers + */ + NULL; + public static V3ActInvoiceElementModifier fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("EFORM".equals(codeString)) + return EFORM; + if ("FAX".equals(codeString)) + return FAX; + if ("LINV".equals(codeString)) + return LINV; + if ("PAPER".equals(codeString)) + return PAPER; + throw new Exception("Unknown V3ActInvoiceElementModifier code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case EFORM: return "EFORM"; + case FAX: return "FAX"; + case LINV: return "LINV"; + case PAPER: return "PAPER"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActInvoiceElementModifier"; + } + public String getDefinition() { + switch (this) { + case EFORM: return "Electronic form with supporting information to follow."; + case FAX: return "Fax with supporting information to follow."; + case LINV: return "Represents the last invoice from the perspective of the provider."; + case PAPER: return "Paper documentation (or other physical format) with supporting information to follow."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case EFORM: return "Electronic Form To Follow"; + case FAX: return "Fax To Follow"; + case LINV: return "Last Invoice"; + case PAPER: return "Paper Documentation To Follow"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifierEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifierEnumFactory.java new file mode 100644 index 00000000000..6061a962152 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActInvoiceElementModifierEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActInvoiceElementModifierEnumFactory implements EnumFactory { + + public V3ActInvoiceElementModifier fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("EFORM".equals(codeString)) + return V3ActInvoiceElementModifier.EFORM; + if ("FAX".equals(codeString)) + return V3ActInvoiceElementModifier.FAX; + if ("LINV".equals(codeString)) + return V3ActInvoiceElementModifier.LINV; + if ("PAPER".equals(codeString)) + return V3ActInvoiceElementModifier.PAPER; + throw new IllegalArgumentException("Unknown V3ActInvoiceElementModifier code '"+codeString+"'"); + } + + public String toCode(V3ActInvoiceElementModifier code) { + if (code == V3ActInvoiceElementModifier.EFORM) + return "EFORM"; + if (code == V3ActInvoiceElementModifier.FAX) + return "FAX"; + if (code == V3ActInvoiceElementModifier.LINV) + return "LINV"; + if (code == V3ActInvoiceElementModifier.PAPER) + return "PAPER"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMood.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMood.java new file mode 100644 index 00000000000..c7b684bb6ad --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMood.java @@ -0,0 +1,325 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActMood { + + /** + * These are moods describing activities as they progress in the business cycle, from defined, through planned and ordered to completed. + */ + _ACTMOODCOMPLETIONTRACK, + /** + * Definition: A possible act. + */ + _ACTMOODPOTENTIAL, + /** + * Definition: A definition of a kind of act that can occur . + + + OpenIssue: The semantic constructs embodied in DEF and CRT moods seem indistinguishable, and their uses can readily be determined by the context in which these are used. Therefore, this OpenIssue has been created to declare that it is likely that ActMood.DEF will be "retired" in the future in favor of the more general ActMood.CRT. + */ + DEF, + /** + * Definition: A kind of act that defines a permission that has been granted. + */ + PERM, + /** + * Definition: A kind of act that may occur during the specified time period. + */ + SLOT, + /** + * Definition: An act that actually happens (may be an ongoing act or a documentation of a past act). + */ + EVN, + /** + * Definition: An intention or plan for an act. + + + >UsageNotes: The final outcome of the intent, the act that is intended to occur, is always an event. However the final outcome may be reached indirectly via steps through other intents, such as promise, permission request, or an appointment that may lead to an actual event to occur. Alternatively, the intended act may never occur. + */ + INT, + /** + * Definition: A desire to have an act occur. + */ + _ACTMOODDESIRE, + /** + * Definition: A request (or order) for an act that is part of a defined request/fulfillment cycle. + + + UsageNotes: Use of an HL7 defined request/fulfillment framework is not required to use this mood code. + */ + _ACTMOODACTREQUEST, + /** + * Definition: A request act that is specialized for the appointment scheduling request/fulfillment cycle. An appointment request is fulfilled only and completely by an appointment (APT), i.e., all that the appointment request intends is to create an appointment (the actual act may well not happen if that is the professional decision during the appointment). + */ + ARQ, + /** + * Definition: A request for a permission to perform the act. Typically a payer (or possibly a supervisor) is being requested to give permission to perform the act. As opposed to the RQO, the requestee is not asked to perform or cause to perform the act but only to give the permission. + */ + PERMRQ, + /** + * Definition: A request act that is specialized for an event request/fulfillment cycle. + + + UsageNotes: The fulfillment cycle may involve intermediary fulfilling acts in moods such as PRMS, APT, or even another RQO before being fulfilled by the final event. + + + UsageNotes: The concepts of a "request" and an "order" are viewed as different, because there is an implication of a mandate associated with order. In practice, however, this distinction has no general functional value in the inter-operation of health care computing. "Orders" are commonly refused for a variety of clinical and business reasons, and the notion of a "request" obligates the recipient (the fulfiller) to respond to the sender (the author). Indeed, in many regions, including Australia and Europe, the common term used is "request." + + Thus, the concept embodies both notions, as there is no useful distinction to be made. If a mandate is to be associated with a request, this will be embodied in the "local" business rules applied to the transactions. Should HL7 desire to provide a distinction between these in the future, the individual concepts could be added as specializations of this concept. + + The critical distinction here, is the difference between this concept and an "intent", of which it is a specialization. An intent involves decisions by a single party, the author. A request, however, involves decisions by two parties, the author and the fulfiller, with an obligation on the part of the fulfiller to respond to the request indicating that the fulfiller will indeed fulfill the request. + */ + RQO, + /** + * Definition: A suggestion that an act might be performed. Not an explicit request, and professional responsibility may or may not be present. + */ + PRP, + /** + * Definition: A suggestion that an act should be performed with an acceptance of some degree of professional responsibility for the resulting act. Not an explicit request. . + + + UsageNotes: Where there is no clear definition or applicable concept of "professional responsibilityâ€?, RMD becomes indistinguishable from PRP. . + */ + RMD, + /** + * Definition: A commitment to perform an act (may be either solicited or unsolicited). The committer becomes responsible to the other party for executing the act, and, as a consequence, the other party may rely on the first party to perform or cause to perform the act. + + + UsageNotes: Commitments may be retracted or cancelled. + */ + PRMS, + /** + * Definition: An act that has been scheduled to be performed at a specific place and time. + */ + APT, + /** + * Definition: An act that expresses condition statements for other acts. + */ + _ACTMOODPREDICATE, + /** + * Deprecation Comment: + This concept This codes should no longer be used. Instead, set attribute Act.isCriterionInd to "true" and use the desired mood for your criterion. + + + Definition: A condition that must be true for the source act to be considered. + */ + CRT, + /** + * Deprecation Comment: + This concept This codes should no longer be used. Instead, set attribute Act.isCriterionInd to "true" and use the desired mood for your criterion. + + + Definition: A criterion (CRT) that has_match = an event (EVN). + */ + EVN_CRT, + /** + * Definition: An act that is considered to have some noteworthy likelihood of occurring in the future (has_match = event). + + + Examples:Prognosis of a condition, Expected date of discharge from hospital, patient will likely need an emergency decompression of the intracranial pressure by morning. + + + UsageNotes:INT (intent) reflects a plan for the future, which is a declaration to do something. This contrasts with expectation, which is a prediction that something will happen in the future. GOL (goal) reflects a hope rather than a prediction. RSK (risk) reflects a potential negative event that may or may not be expected to happen. + */ + EXPEC, + /** + * Definition: An expectation that is considered to be desirable to occur in the future + + + Examples:Target weight below 80Kg, Stop smoking, Regain ability to walk, goal is to administer thrombolytics to candidate patients presenting with acute myocardial infarction. + + + UsageNotes: INT (intent) reflects a plan for the future, which is a declaration to do something. This contrasts with goal which doesn't represent an intention to act, merely a hope for an eventual result. A goal is distinct from the intended actions to reach that goal. "I will reduce the dose of drug x to 20mg" is an intent. "I hope to be able to get the patient to the point where I can reduce the dose of drug x to 20mg" is a goal. EXPEC (expectation) reflects a prediction rather than a hope. RSK (risk) reflects a potential negative event rather than a hope. + */ + GOL, + /** + * Definition:An act that may occur in the future and which is regarded as undesirable + + + Examples:Increased risk of DVT, at risk for sub-acute bacterial endocarditis. + + + UsageNotes:Note: An observation in RSK mood expresses the undesirable act, and not the underlying risk factor. A risk factor that is present (e.g. obesity, smoking, etc) should be expressed in event mood. INT (intent) reflects a plan for the future, which is a declaration to do something. This contrasts with RSK (risk), which is the potential that something negative will occur that may or may not ever happen. GOL (goal) reflects a hope to achieve something. EXPEC (expectation) is the prediction of a positive or negative event. This contrasts with RSK (risk), which is the potential that something negative will occur that may or may not ever happen, and may not be expected to happen. + */ + RSK, + /** + * Definition: One of a set of acts that specify an option for the property values that the parent act may have. Typically used in definitions or orders to describe alternatives. An option can only be used as a group, that is, all assigned values must be used together. The actual mood of the act is the same as the parent act, and they must be linked by an actrelationship with type = OPTN. + */ + OPT, + /** + * added to help the parsers + */ + NULL; + public static V3ActMood fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActMoodCompletionTrack".equals(codeString)) + return _ACTMOODCOMPLETIONTRACK; + if ("_ActMoodPotential".equals(codeString)) + return _ACTMOODPOTENTIAL; + if ("DEF".equals(codeString)) + return DEF; + if ("PERM".equals(codeString)) + return PERM; + if ("SLOT".equals(codeString)) + return SLOT; + if ("EVN".equals(codeString)) + return EVN; + if ("INT".equals(codeString)) + return INT; + if ("_ActMoodDesire".equals(codeString)) + return _ACTMOODDESIRE; + if ("_ActMoodActRequest".equals(codeString)) + return _ACTMOODACTREQUEST; + if ("ARQ".equals(codeString)) + return ARQ; + if ("PERMRQ".equals(codeString)) + return PERMRQ; + if ("RQO".equals(codeString)) + return RQO; + if ("PRP".equals(codeString)) + return PRP; + if ("RMD".equals(codeString)) + return RMD; + if ("PRMS".equals(codeString)) + return PRMS; + if ("APT".equals(codeString)) + return APT; + if ("_ActMoodPredicate".equals(codeString)) + return _ACTMOODPREDICATE; + if ("CRT".equals(codeString)) + return CRT; + if ("EVN.CRT".equals(codeString)) + return EVN_CRT; + if ("EXPEC".equals(codeString)) + return EXPEC; + if ("GOL".equals(codeString)) + return GOL; + if ("RSK".equals(codeString)) + return RSK; + if ("OPT".equals(codeString)) + return OPT; + throw new Exception("Unknown V3ActMood code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACTMOODCOMPLETIONTRACK: return "_ActMoodCompletionTrack"; + case _ACTMOODPOTENTIAL: return "_ActMoodPotential"; + case DEF: return "DEF"; + case PERM: return "PERM"; + case SLOT: return "SLOT"; + case EVN: return "EVN"; + case INT: return "INT"; + case _ACTMOODDESIRE: return "_ActMoodDesire"; + case _ACTMOODACTREQUEST: return "_ActMoodActRequest"; + case ARQ: return "ARQ"; + case PERMRQ: return "PERMRQ"; + case RQO: return "RQO"; + case PRP: return "PRP"; + case RMD: return "RMD"; + case PRMS: return "PRMS"; + case APT: return "APT"; + case _ACTMOODPREDICATE: return "_ActMoodPredicate"; + case CRT: return "CRT"; + case EVN_CRT: return "EVN.CRT"; + case EXPEC: return "EXPEC"; + case GOL: return "GOL"; + case RSK: return "RSK"; + case OPT: return "OPT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActMood"; + } + public String getDefinition() { + switch (this) { + case _ACTMOODCOMPLETIONTRACK: return "These are moods describing activities as they progress in the business cycle, from defined, through planned and ordered to completed."; + case _ACTMOODPOTENTIAL: return "Definition: A possible act."; + case DEF: return "Definition: A definition of a kind of act that can occur .\r\n\n \n OpenIssue: The semantic constructs embodied in DEF and CRT moods seem indistinguishable, and their uses can readily be determined by the context in which these are used. Therefore, this OpenIssue has been created to declare that it is likely that ActMood.DEF will be 'retired' in the future in favor of the more general ActMood.CRT."; + case PERM: return "Definition: A kind of act that defines a permission that has been granted."; + case SLOT: return "Definition: A kind of act that may occur during the specified time period."; + case EVN: return "Definition: An act that actually happens (may be an ongoing act or a documentation of a past act)."; + case INT: return "Definition: An intention or plan for an act. \r\n\n \n >UsageNotes: The final outcome of the intent, the act that is intended to occur, is always an event. However the final outcome may be reached indirectly via steps through other intents, such as promise, permission request, or an appointment that may lead to an actual event to occur. Alternatively, the intended act may never occur."; + case _ACTMOODDESIRE: return "Definition: A desire to have an act occur."; + case _ACTMOODACTREQUEST: return "Definition: A request (or order) for an act that is part of a defined request/fulfillment cycle.\r\n\n \n UsageNotes: Use of an HL7 defined request/fulfillment framework is not required to use this mood code."; + case ARQ: return "Definition: A request act that is specialized for the appointment scheduling request/fulfillment cycle. An appointment request is fulfilled only and completely by an appointment (APT), i.e., all that the appointment request intends is to create an appointment (the actual act may well not happen if that is the professional decision during the appointment)."; + case PERMRQ: return "Definition: A request for a permission to perform the act. Typically a payer (or possibly a supervisor) is being requested to give permission to perform the act. As opposed to the RQO, the requestee is not asked to perform or cause to perform the act but only to give the permission."; + case RQO: return "Definition: A request act that is specialized for an event request/fulfillment cycle. \r\n\n \n UsageNotes: The fulfillment cycle may involve intermediary fulfilling acts in moods such as PRMS, APT, or even another RQO before being fulfilled by the final event. \r\n\n \n UsageNotes: The concepts of a 'request' and an 'order' are viewed as different, because there is an implication of a mandate associated with order. In practice, however, this distinction has no general functional value in the inter-operation of health care computing. 'Orders' are commonly refused for a variety of clinical and business reasons, and the notion of a 'request' obligates the recipient (the fulfiller) to respond to the sender (the author). Indeed, in many regions, including Australia and Europe, the common term used is 'request.'\r\n\n Thus, the concept embodies both notions, as there is no useful distinction to be made. If a mandate is to be associated with a request, this will be embodied in the 'local' business rules applied to the transactions. Should HL7 desire to provide a distinction between these in the future, the individual concepts could be added as specializations of this concept.\r\n\n The critical distinction here, is the difference between this concept and an 'intent', of which it is a specialization. An intent involves decisions by a single party, the author. A request, however, involves decisions by two parties, the author and the fulfiller, with an obligation on the part of the fulfiller to respond to the request indicating that the fulfiller will indeed fulfill the request."; + case PRP: return "Definition: A suggestion that an act might be performed. Not an explicit request, and professional responsibility may or may not be present."; + case RMD: return "Definition: A suggestion that an act should be performed with an acceptance of some degree of professional responsibility for the resulting act. Not an explicit request. .\r\n\n \n UsageNotes: Where there is no clear definition or applicable concept of 'professional responsibilityâ€?, RMD becomes indistinguishable from PRP. ."; + case PRMS: return "Definition: A commitment to perform an act (may be either solicited or unsolicited). The committer becomes responsible to the other party for executing the act, and, as a consequence, the other party may rely on the first party to perform or cause to perform the act.\r\n\n \n UsageNotes: Commitments may be retracted or cancelled."; + case APT: return "Definition: An act that has been scheduled to be performed at a specific place and time."; + case _ACTMOODPREDICATE: return "Definition: An act that expresses condition statements for other acts."; + case CRT: return "Deprecation Comment: \n This concept This codes should no longer be used. Instead, set attribute Act.isCriterionInd to 'true' and use the desired mood for your criterion.\r\n\n \n Definition: A condition that must be true for the source act to be considered."; + case EVN_CRT: return "Deprecation Comment: \n This concept This codes should no longer be used. Instead, set attribute Act.isCriterionInd to 'true' and use the desired mood for your criterion.\r\n\n \n Definition: A criterion (CRT) that has_match = an event (EVN)."; + case EXPEC: return "Definition: An act that is considered to have some noteworthy likelihood of occurring in the future (has_match = event).\r\n\n \n Examples:Prognosis of a condition, Expected date of discharge from hospital, patient will likely need an emergency decompression of the intracranial pressure by morning.\r\n\n \n UsageNotes:INT (intent) reflects a plan for the future, which is a declaration to do something. This contrasts with expectation, which is a prediction that something will happen in the future. GOL (goal) reflects a hope rather than a prediction. RSK (risk) reflects a potential negative event that may or may not be expected to happen."; + case GOL: return "Definition: An expectation that is considered to be desirable to occur in the future \r\n\n \n Examples:Target weight below 80Kg, Stop smoking, Regain ability to walk, goal is to administer thrombolytics to candidate patients presenting with acute myocardial infarction.\r\n\n \n UsageNotes: INT (intent) reflects a plan for the future, which is a declaration to do something. This contrasts with goal which doesn't represent an intention to act, merely a hope for an eventual result. A goal is distinct from the intended actions to reach that goal. 'I will reduce the dose of drug x to 20mg' is an intent. 'I hope to be able to get the patient to the point where I can reduce the dose of drug x to 20mg' is a goal. EXPEC (expectation) reflects a prediction rather than a hope. RSK (risk) reflects a potential negative event rather than a hope."; + case RSK: return "Definition:An act that may occur in the future and which is regarded as undesirable \r\n\n \n Examples:Increased risk of DVT, at risk for sub-acute bacterial endocarditis.\r\n\n \n UsageNotes:Note: An observation in RSK mood expresses the undesirable act, and not the underlying risk factor. A risk factor that is present (e.g. obesity, smoking, etc) should be expressed in event mood. INT (intent) reflects a plan for the future, which is a declaration to do something. This contrasts with RSK (risk), which is the potential that something negative will occur that may or may not ever happen. GOL (goal) reflects a hope to achieve something. EXPEC (expectation) is the prediction of a positive or negative event. This contrasts with RSK (risk), which is the potential that something negative will occur that may or may not ever happen, and may not be expected to happen."; + case OPT: return "Definition: One of a set of acts that specify an option for the property values that the parent act may have. Typically used in definitions or orders to describe alternatives. An option can only be used as a group, that is, all assigned values must be used together. The actual mood of the act is the same as the parent act, and they must be linked by an actrelationship with type = OPTN."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACTMOODCOMPLETIONTRACK: return "ActMoodCompletionTrack"; + case _ACTMOODPOTENTIAL: return "potential"; + case DEF: return "definition"; + case PERM: return "permission"; + case SLOT: return "resource slot"; + case EVN: return "event (occurrence)"; + case INT: return "intent"; + case _ACTMOODDESIRE: return "desire"; + case _ACTMOODACTREQUEST: return "act request"; + case ARQ: return "appointment request"; + case PERMRQ: return "permission request"; + case RQO: return "request"; + case PRP: return "proposal"; + case RMD: return "recommendation"; + case PRMS: return "promise"; + case APT: return "appointment"; + case _ACTMOODPREDICATE: return "ActMoodPredicate"; + case CRT: return "criterion"; + case EVN_CRT: return "event criterion"; + case EXPEC: return "expectation"; + case GOL: return "Goal"; + case RSK: return "risk"; + case OPT: return "option"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMoodEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMoodEnumFactory.java new file mode 100644 index 00000000000..7abb9cec882 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActMoodEnumFactory.java @@ -0,0 +1,143 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActMoodEnumFactory implements EnumFactory { + + public V3ActMood fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActMoodCompletionTrack".equals(codeString)) + return V3ActMood._ACTMOODCOMPLETIONTRACK; + if ("_ActMoodPotential".equals(codeString)) + return V3ActMood._ACTMOODPOTENTIAL; + if ("DEF".equals(codeString)) + return V3ActMood.DEF; + if ("PERM".equals(codeString)) + return V3ActMood.PERM; + if ("SLOT".equals(codeString)) + return V3ActMood.SLOT; + if ("EVN".equals(codeString)) + return V3ActMood.EVN; + if ("INT".equals(codeString)) + return V3ActMood.INT; + if ("_ActMoodDesire".equals(codeString)) + return V3ActMood._ACTMOODDESIRE; + if ("_ActMoodActRequest".equals(codeString)) + return V3ActMood._ACTMOODACTREQUEST; + if ("ARQ".equals(codeString)) + return V3ActMood.ARQ; + if ("PERMRQ".equals(codeString)) + return V3ActMood.PERMRQ; + if ("RQO".equals(codeString)) + return V3ActMood.RQO; + if ("PRP".equals(codeString)) + return V3ActMood.PRP; + if ("RMD".equals(codeString)) + return V3ActMood.RMD; + if ("PRMS".equals(codeString)) + return V3ActMood.PRMS; + if ("APT".equals(codeString)) + return V3ActMood.APT; + if ("_ActMoodPredicate".equals(codeString)) + return V3ActMood._ACTMOODPREDICATE; + if ("CRT".equals(codeString)) + return V3ActMood.CRT; + if ("EVN.CRT".equals(codeString)) + return V3ActMood.EVN_CRT; + if ("EXPEC".equals(codeString)) + return V3ActMood.EXPEC; + if ("GOL".equals(codeString)) + return V3ActMood.GOL; + if ("RSK".equals(codeString)) + return V3ActMood.RSK; + if ("OPT".equals(codeString)) + return V3ActMood.OPT; + throw new IllegalArgumentException("Unknown V3ActMood code '"+codeString+"'"); + } + + public String toCode(V3ActMood code) { + if (code == V3ActMood._ACTMOODCOMPLETIONTRACK) + return "_ActMoodCompletionTrack"; + if (code == V3ActMood._ACTMOODPOTENTIAL) + return "_ActMoodPotential"; + if (code == V3ActMood.DEF) + return "DEF"; + if (code == V3ActMood.PERM) + return "PERM"; + if (code == V3ActMood.SLOT) + return "SLOT"; + if (code == V3ActMood.EVN) + return "EVN"; + if (code == V3ActMood.INT) + return "INT"; + if (code == V3ActMood._ACTMOODDESIRE) + return "_ActMoodDesire"; + if (code == V3ActMood._ACTMOODACTREQUEST) + return "_ActMoodActRequest"; + if (code == V3ActMood.ARQ) + return "ARQ"; + if (code == V3ActMood.PERMRQ) + return "PERMRQ"; + if (code == V3ActMood.RQO) + return "RQO"; + if (code == V3ActMood.PRP) + return "PRP"; + if (code == V3ActMood.RMD) + return "RMD"; + if (code == V3ActMood.PRMS) + return "PRMS"; + if (code == V3ActMood.APT) + return "APT"; + if (code == V3ActMood._ACTMOODPREDICATE) + return "_ActMoodPredicate"; + if (code == V3ActMood.CRT) + return "CRT"; + if (code == V3ActMood.EVN_CRT) + return "EVN.CRT"; + if (code == V3ActMood.EXPEC) + return "EXPEC"; + if (code == V3ActMood.GOL) + return "GOL"; + if (code == V3ActMood.RSK) + return "RSK"; + if (code == V3ActMood.OPT) + return "OPT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriority.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriority.java new file mode 100644 index 00000000000..dffdbfec67d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriority.java @@ -0,0 +1,202 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActPriority { + + /** + * As soon as possible, next highest priority after stat. + */ + A, + /** + * Filler should contact the placer as soon as results are available, even for preliminary results. (Was "C" in HL7 verion 2.3's reporting priority.) + */ + CR, + /** + * Filler should contact the placer (or target) to schedule the service. (Was "C" in HL7 version 2.3's TQ-priority component.) + */ + CS, + /** + * Filler should contact the placer to schedule the service. (Was "C" in HL7 version 2.3's TQ-priority component.) + */ + CSP, + /** + * Filler should contact the service recipient (target) to schedule the service. (Was "C" in HL7 version 2.3's TQ-priority component.) + */ + CSR, + /** + * Beneficial to the patient but not essential for survival. + */ + EL, + /** + * An unforeseen combination of circumstances or the resulting state that calls for immediate action. + */ + EM, + /** + * Used to indicate that a service is to be performed prior to a scheduled surgery. When ordering a service and using the pre-op priority, a check is done to see the amount of time that must be allowed for performance of the service. When the order is placed, a message can be generated indicating the time needed for the service so that it is not ordered in conflict with a scheduled operation. + */ + P, + /** + * An "as needed" order should be accompanied by a description of what constitutes a need. This description is represented by an observation service predicate as a precondition. + */ + PRN, + /** + * Routine service, do at usual work hours. + */ + R, + /** + * A report should be prepared and sent as quickly as possible. + */ + RR, + /** + * With highest priority (e.g., emergency). + */ + S, + /** + * It is critical to come as close as possible to the requested time (e.g., for a through antimicrobial level). + */ + T, + /** + * Drug is to be used as directed by the prescriber. + */ + UD, + /** + * Calls for prompt action. + */ + UR, + /** + * added to help the parsers + */ + NULL; + public static V3ActPriority fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return A; + if ("CR".equals(codeString)) + return CR; + if ("CS".equals(codeString)) + return CS; + if ("CSP".equals(codeString)) + return CSP; + if ("CSR".equals(codeString)) + return CSR; + if ("EL".equals(codeString)) + return EL; + if ("EM".equals(codeString)) + return EM; + if ("P".equals(codeString)) + return P; + if ("PRN".equals(codeString)) + return PRN; + if ("R".equals(codeString)) + return R; + if ("RR".equals(codeString)) + return RR; + if ("S".equals(codeString)) + return S; + if ("T".equals(codeString)) + return T; + if ("UD".equals(codeString)) + return UD; + if ("UR".equals(codeString)) + return UR; + throw new Exception("Unknown V3ActPriority code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "A"; + case CR: return "CR"; + case CS: return "CS"; + case CSP: return "CSP"; + case CSR: return "CSR"; + case EL: return "EL"; + case EM: return "EM"; + case P: return "P"; + case PRN: return "PRN"; + case R: return "R"; + case RR: return "RR"; + case S: return "S"; + case T: return "T"; + case UD: return "UD"; + case UR: return "UR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActPriority"; + } + public String getDefinition() { + switch (this) { + case A: return "As soon as possible, next highest priority after stat."; + case CR: return "Filler should contact the placer as soon as results are available, even for preliminary results. (Was 'C' in HL7 verion 2.3's reporting priority.)"; + case CS: return "Filler should contact the placer (or target) to schedule the service. (Was 'C' in HL7 version 2.3's TQ-priority component.)"; + case CSP: return "Filler should contact the placer to schedule the service. (Was 'C' in HL7 version 2.3's TQ-priority component.)"; + case CSR: return "Filler should contact the service recipient (target) to schedule the service. (Was 'C' in HL7 version 2.3's TQ-priority component.)"; + case EL: return "Beneficial to the patient but not essential for survival."; + case EM: return "An unforeseen combination of circumstances or the resulting state that calls for immediate action."; + case P: return "Used to indicate that a service is to be performed prior to a scheduled surgery. When ordering a service and using the pre-op priority, a check is done to see the amount of time that must be allowed for performance of the service. When the order is placed, a message can be generated indicating the time needed for the service so that it is not ordered in conflict with a scheduled operation."; + case PRN: return "An 'as needed' order should be accompanied by a description of what constitutes a need. This description is represented by an observation service predicate as a precondition."; + case R: return "Routine service, do at usual work hours."; + case RR: return "A report should be prepared and sent as quickly as possible."; + case S: return "With highest priority (e.g., emergency)."; + case T: return "It is critical to come as close as possible to the requested time (e.g., for a through antimicrobial level)."; + case UD: return "Drug is to be used as directed by the prescriber."; + case UR: return "Calls for prompt action."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "ASAP"; + case CR: return "callback results"; + case CS: return "callback for scheduling"; + case CSP: return "callback placer for scheduling"; + case CSR: return "contact recipient for scheduling"; + case EL: return "elective"; + case EM: return "emergency"; + case P: return "preop"; + case PRN: return "as needed"; + case R: return "routine"; + case RR: return "rush reporting"; + case S: return "stat"; + case T: return "timing critical"; + case UD: return "use as directed"; + case UR: return "urgent"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriorityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriorityEnumFactory.java new file mode 100644 index 00000000000..af992f68f6a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActPriorityEnumFactory.java @@ -0,0 +1,111 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActPriorityEnumFactory implements EnumFactory { + + public V3ActPriority fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return V3ActPriority.A; + if ("CR".equals(codeString)) + return V3ActPriority.CR; + if ("CS".equals(codeString)) + return V3ActPriority.CS; + if ("CSP".equals(codeString)) + return V3ActPriority.CSP; + if ("CSR".equals(codeString)) + return V3ActPriority.CSR; + if ("EL".equals(codeString)) + return V3ActPriority.EL; + if ("EM".equals(codeString)) + return V3ActPriority.EM; + if ("P".equals(codeString)) + return V3ActPriority.P; + if ("PRN".equals(codeString)) + return V3ActPriority.PRN; + if ("R".equals(codeString)) + return V3ActPriority.R; + if ("RR".equals(codeString)) + return V3ActPriority.RR; + if ("S".equals(codeString)) + return V3ActPriority.S; + if ("T".equals(codeString)) + return V3ActPriority.T; + if ("UD".equals(codeString)) + return V3ActPriority.UD; + if ("UR".equals(codeString)) + return V3ActPriority.UR; + throw new IllegalArgumentException("Unknown V3ActPriority code '"+codeString+"'"); + } + + public String toCode(V3ActPriority code) { + if (code == V3ActPriority.A) + return "A"; + if (code == V3ActPriority.CR) + return "CR"; + if (code == V3ActPriority.CS) + return "CS"; + if (code == V3ActPriority.CSP) + return "CSP"; + if (code == V3ActPriority.CSR) + return "CSR"; + if (code == V3ActPriority.EL) + return "EL"; + if (code == V3ActPriority.EM) + return "EM"; + if (code == V3ActPriority.P) + return "P"; + if (code == V3ActPriority.PRN) + return "PRN"; + if (code == V3ActPriority.R) + return "R"; + if (code == V3ActPriority.RR) + return "RR"; + if (code == V3ActPriority.S) + return "S"; + if (code == V3ActPriority.T) + return "T"; + if (code == V3ActPriority.UD) + return "UD"; + if (code == V3ActPriority.UR) + return "UR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActReason.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActReason.java new file mode 100644 index 00000000000..fc94d0c8510 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActReason.java @@ -0,0 +1,2350 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActReason { + + /** + * Identifies the reason the patient is assigned to this accommodation type + */ + _ACTACCOMMODATIONREASON, + /** + * Accommodation requested is not available. + */ + ACCREQNA, + /** + * Accommodation is assigned for floor convenience. + */ + FLRCNV, + /** + * Required for medical reasons(s). + */ + MEDNEC, + /** + * The Patient requested the action + */ + PAT, + /** + * Description:Codes used to specify reasons or criteria relating to coverage provided under a policy or program. May be used to convey reasons pertaining to coverage contractual provisions, including criteria for eligibility, coverage limitations, coverage maximums, or financial participation required of covered parties. + */ + _ACTCOVERAGEREASON, + /** + * Identifies the reason or rational for why a person is eligibile for benefits under an insurance policy or progam. + + + Examples: A person is a claimant under an automobile insurance policy are client deceased & adopted client has been given a new policy identifier. A new employee is eligible for health insurance as an employment benefit. A person meets a government program eligibility criteria for financial, age or health status. + */ + _ELIGIBILITYACTREASONCODE, + /** + * Identifies the reason or rational for why a person is not eligibile for benefits under an insurance policy. + + Examples are client deceased & adopted client has been given a new policy identifier. + */ + _ACTINELIGIBILITYREASON, + /** + * When a client has no contact with the health system for an extended period, coverage is suspended. Client will be reinstated to original start date upon proof of identification, residency etc. + + Example: Coverage may be suspended during a strike situation, when employer benefits for employees are not covered (i.e. not in effect). + */ + COVSUS, + /** + * Client deceased. + */ + DECSD, + /** + * Client was registered in error. + */ + REGERR, + /** + * Definition: Identifies the reason or rational for why a person is eligibile for benefits under an insurance policy or progam. + + + Examples: A person is a claimant under an automobile insurance policy are client deceased & adopted client has been given a new policy identifier. A new employee is eligible for health insurance as an employment benefit. A person meets a government program eligibility criteria for financial, age or health status. + */ + _COVERAGEELIGIBILITYREASON, + /** + * A person becomes eligible for a program based on age. + + + Example: In the U.S., a person who is 65 years of age or older is eligible for Medicare. + */ + AGE, + /** + * A person becomes eligible for insurance or a program because of crime related health condition or injury. + + + Example: A person is a claimant under the U.S. Crime Victims Compensation program. + */ + CRIME, + /** + * A person becomes a claimant under a disability income insurance policy or a disability rehabilitation program because of a health condition or injury which limits the person's ability to earn an income or function without institutionalization. + */ + DIS, + /** + * A person becomes eligible for insurance provided as an employment benefit based on employment status. + */ + EMPLOY, + /** + * A person becomes eligible for a program based on financial criteria. + + + Example: A person whose family income is below a financial threshold for eligibility for Medicaid or SCHIP. + */ + FINAN, + /** + * A person becomes eligible for a program because of a qualifying health condition or injury. + + + Examples: A person is determined to have a qualifying health conditions include pregnancy, HIV/AIDs, tuberculosis, end stage renal disease, breast or cervical cancer, or other condition requiring specialized health services, hospice, institutional or community based care provided under a program + */ + HEALTH, + /** + * A person becomes eligible for a program based on more than one criterion. + + + Examples: In the U.S., a child whose familiy income meets Medicaid financial thresholds and whose age is less than 18 is eligible for the Early and Periodic Screening, Diagnostic, and Treatment program (EPSDT). A person whose family income meets Medicaid financial thresholds and whose age is 65 years or older is eligible for Medicaid and Medicare, and are referred to as dual eligibles. + */ + MULTI, + /** + * A person becomes a claimant under a property and casualty insurance policy because of a related health condition or injury resulting from a circumstance covered under the terms of the policy. + + + Example: A person is a claimant under a homeowners insurance policy because of an injury sustained on the policyholderaTMs premises. + */ + PNC, + /** + * A person becomes eligible for a program based on statutory criteria. + + + Examples: A person is a member of an indigenous group, a veteran of military service, or in the U.S., a recipient of adoption assistance and foster care under Title IV-E of the Social Security. + */ + STATUTORY, + /** + * A person becomes a claimant under a motor vehicle accident insurance because of a motor vehicle accident related health condition or injury. + */ + VEHIC, + /** + * A person becomes eligible for insurance or a program because of a work related health condition or injury. + + + Example: A person is a claimant under the U.S. Black Lung Program. + */ + WORK, + /** + * Description:The rationale or purpose for an act relating to information management, such as archiving information for the purpose of complying with an enterprise data retention policy. + */ + _ACTINFORMATIONMANAGEMENTREASON, + /** + * Description:The rationale or purpose for an act relating to health information management, such as archiving information for the purpose of complying with an organization policy or jurisdictional law relating to data retention. + */ + _ACTHEALTHINFORMATIONMANAGEMENTREASON, + /** + * To perform one or more operations on information to which the patient has not consented as deemed necessary by authorized entities for providing care in the best interest of the patient; providing immediately needed health care for an emergent condition; or for protecting public or third party safety. + + + Usage Notes: Used to convey the reason that a provider or other entity may or has accessed personal healthcare information. Typically, this involves overriding the subject's consent directives. + */ + _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON, + /** + * To perform one or more operations on information to which the patient has not consented by authorized entities for treating a condition which poses an immediate threat to the patient's health and which requires immediate medical intervention. + + + Usage Notes: The patient is unable to provide consent, but the provider determines they have an urgent healthcare related reason to access the record. + */ + OVRER, + /** + * To perform one or more operations on information to which the patient declined to consent for providing health care. + + + Usage Notes: The patient, while able to give consent, has not. However the provider believes it is in the patient's interest to access the record without patient consent. + */ + OVRPJ, + /** + * To perform one or more operations on information to which the patient has not consented for public safety reasons. + + + Usage Notes: The patient, while able to give consent, has not. However, the provider believes that access to masked patient information is justified because of concerns related to public safety. + */ + OVRPS, + /** + * To perform one or more operations on information to which the patient has not consented for third party safety. + + + Usage Notes: The patient, while able to give consent, has not. However, the provider believes that access to masked patient information is justified because of concerns related to the health and safety of one or more third parties. + */ + OVRTPS, + /** + * Reason for performing one or more operations on information, which may be permitted by source system's security policy in accordance with one or more privacy policies and consent directives. + + + Usage Notes: The rationale or purpose for an act relating to the management of personal health information, such as collecting personal health information for research or public health purposes. + */ + PURPOSEOFUSE, + /** + * To perform one or more operations on information for marketing services and products related to health care. + */ + HMARKT, + /** + * To perform one or more operations on information used for conducting administrative and contractual activities related to the provision of health care. + */ + HOPERAT, + /** + * To perform one or more operations on information used for cadaveric organ, eye or tissue donation. + */ + DONAT, + /** + * To perform one or more operations on information used for fraud detection and prevention processes. + */ + FRAUD, + /** + * To perform one or more operations on information used within government processes. + */ + GOV, + /** + * To perform one or more operations on information for conducting activities related to meeting accreditation criteria. + */ + HACCRED, + /** + * To perform one or more operations on information used for conducting activities required to meet a mandate. + */ + HCOMPL, + /** + * To perform one or more operations on information used for handling deceased patient matters. + */ + HDECD, + /** + * To perform one or more operation operations on information used to manage a patient directory. + + + Examples: + + + + facility + enterprise + payer + health information exchange patient directory + */ + HDIRECT, + /** + * To perform one or more operations on information for conducting activities required by legal proceeding. + */ + HLEGAL, + /** + * To perform one or more operations on information used for assessing results and comparative effectiveness achieved by health care practices and interventions. + */ + HOUTCOMS, + /** + * To perform one or more operations on information used for conducting activities to meet program accounting requirements. + */ + HPRGRP, + /** + * To perform one or more operations on information used for conducting administrative activities to improve health care quality. + */ + HQUALIMP, + /** + * To perform one or more operations on information to administer the electronic systems used for the delivery of health care. + */ + HSYSADMIN, + /** + * To perform one or more operations on information to administer health care coverage to an enrollee under a policy or program. + */ + MEMADMIN, + /** + * To perform one or more operations on information used for operational activities conducted to administer the delivery of health care to a patient. + */ + PATADMIN, + /** + * To perform one or more operations on information in processes related to ensuring the safety of health care. + */ + PATSFTY, + /** + * To perform one or more operations on information used for monitoring performance of recommended health care practices and interventions. + */ + PERFMSR, + /** + * To perform one or more operations on information used within the health records management process. + */ + RECORDMGT, + /** + * To perform one or more operations on information used in training and education. + */ + TRAIN, + /** + * To perform one or more operations on information for conducting financial or contractual activities related to payment for provision of health care. + */ + HPAYMT, + /** + * To perform one or more operations on information for provision of additional clinical evidence in support of a request for coverage or payment for health services. + */ + CLMATTCH, + /** + * To perform one or more operations on information for conducting prior authorization or predetermination of coverage for services. + */ + COVAUTH, + /** + * To perform one or more operations on information for conducting activities related to coverage under a program or policy. + */ + COVERAGE, + /** + * To perform one or more operations on information used for conducting eligibility determination for coverage in a program or policy. May entail review of financial status or disability assessment. + */ + ELIGDTRM, + /** + * To perform one or more operations on information used for conducting eligibility verification of coverage in a program or policy. May entail provider contacting coverage source (e.g., government health program such as workers compensation or health plan) for confirmation of enrollment, eligibility for specific services, and any applicable copays. + */ + ELIGVER, + /** + * To perform one or more operations on information used for enrolling a covered party in a program or policy. May entail recording of covered party's and any dependent's demographic information and benefit choices. + */ + ENROLLM, + /** + * To perform one or more operations on information about the amount remitted for a health care claim. + */ + REMITADV, + /** + * To perform one or more operations on information for conducting scientific investigations to obtain health care knowledge. + */ + HRESCH, + /** + * To perform one or more operations on information for conducting scientific investigations in accordance with clinical trial protocols to obtain health care knowledge. + */ + CLINTRCH, + /** + * To perform one or more operations on information in response to a patient's request. + */ + PATRQT, + /** + * To perform one or more operations on information in response to a request by a family member authorized by the patient. + */ + FAMRQT, + /** + * To perform one or more operations on information in response to a request by a person appointed as the patient's legal representative. + */ + PWATRNY, + /** + * To perform one or more operations on information in response to a request by a person authorized by the patient. + */ + SUPNWK, + /** + * To perform one or more operations on information for conducting public health activities, such as the reporting of notifiable conditions. + */ + PUBHLTH, + /** + * To perform one or more operations on information used for provision of immediately needed health care to a population of living subjects located in a disaster zone. + */ + DISASTER, + /** + * To perform one or more operations on information used to prevent injury or disease to living subjects who may be the target of violence. + */ + THREAT, + /** + * To perform one or more operations on information for provision of health care. + */ + TREAT, + /** + * To perform one or more operations on information for provision of health care coordination. + */ + CAREMGT, + /** + * To perform health care as part of the clinical trial protocol. + */ + CLINTRL, + /** + * To perform one or more operations on information for provision of immediately needed health care for an emergent condition. + */ + ETREAT, + /** + * To perform one or more operations on information for provision of health care to a population of living subjects, e.g., needle exchange program. + */ + POPHLTH, + /** + * Description:The rationale or purpose for an act relating to the management of personal information, such as disclosing personal tax information for the purpose of complying with a court order. + */ + _ACTINFORMATIONPRIVACYREASON, + /** + * Description: + */ + MARKT, + /** + * Description:Administrative and contractual processes required to support an activity, product, or service + */ + OPERAT, + /** + * Definition:To provide information as a result of a subpoena. + */ + LEGAL, + /** + * Description:Operational activities conducted for the purposes of meeting of criteria defined by an accrediting entity for an activity, product, or service + */ + ACCRED, + /** + * Description:Operational activities required to meet a mandate related to an activity, product, or service + */ + COMPL, + /** + * Description:Operational activities conducted to administer information relating to entities involves with an activity, product, or service + */ + ENADMIN, + /** + * Description:Operational activities conducted for the purposes of assessing the results of an activity, product, or service + */ + OUTCOMS, + /** + * Description:Operational activities conducted to meet program accounting requirements related to an activity, product, or service + */ + PRGRPT, + /** + * Description:Operational activities conducted for the purposes of improving the quality of an activity, product, or service + */ + QUALIMP, + /** + * Description:Operational activities conducted to administer the electronic systems used for an activity, product, or service + */ + SYSADMN, + /** + * Description:Administrative, financial, and contractual processes related to payment for an activity, product, or service + */ + PAYMT, + /** + * Description:Investigative activities conducted for the purposes of obtaining knowledge + */ + RESCH, + /** + * Description:Provision of a service, product, or capability to an individual or organization + */ + SRVC, + /** + * Description: Types of reasons why a substance is invalid for use. + */ + _ACTINVALIDREASON, + /** + * Description: Storage conditions caused the substance to be ineffective. + */ + ADVSTORAGE, + /** + * Description: Cold chain was not maintained for the substance. + */ + COLDCHNBRK, + /** + * Description: The lot from which the substance was drawn was expired. + */ + EXPLOT, + /** + * The substance was administered outside of the recommended schedule or practice. + */ + OUTSIDESCHED, + /** + * Description: The substance was recalled by the manufacturer. + */ + PRODRECALL, + /** + * Domain specifies the codes used to describe reasons why a Provider is cancelling an Invoice or Invoice Grouping. + */ + _ACTINVOICECANCELREASON, + /** + * The covered party (patient) specified with the Invoice is not correct. + */ + INCCOVPTY, + /** + * The billing information, specified in the Invoice Elements, is not correct. This could include incorrect costing for items included in the Invoice. + */ + INCINVOICE, + /** + * The policy specified with the Invoice is not correct. For example, it may belong to another Adjudicator or Covered Party. + */ + INCPOLICY, + /** + * The provider specified with the Invoice is not correct. + */ + INCPROV, + /** + * A coded description of the reason for why a patient did not receive a scheduled immunization. + + (important for public health strategy + */ + _ACTNOIMMUNIZATIONREASON, + /** + * Definition:Testing has shown that the patient already has immunity to the agent targeted by the immunization. + */ + IMMUNE, + /** + * Definition:The patient currently has a medical condition for which the vaccine is contraindicated or for which precaution is warranted. + */ + MEDPREC, + /** + * Definition:There was no supply of the product on hand to perform the service. + */ + OSTOCK, + /** + * Definition:The patient or their guardian objects to receiving the vaccine. + */ + PATOBJ, + /** + * Definition:The patient or their guardian objects to receiving the vaccine because of philosophical beliefs. + */ + PHILISOP, + /** + * Definition:The patient or their guardian objects to receiving the vaccine on religious grounds. + */ + RELIG, + /** + * Definition:The intended vaccine has expired or is otherwise believed to no longer be effective. + + + Example:Due to temperature exposure. + */ + VACEFF, + /** + * Definition:The patient or their guardian objects to receiving the vaccine because of concerns over its safety. + */ + VACSAF, + /** + * Indicates why a fulfiller refused to fulfill a supply order, and considered it important to notify other providers of their decision. E.g. "Suspect fraud", "Possible abuse", "Contraindicated". + + (used when capturing 'refusal to fill' annotations) + */ + _ACTSUPPLYFULFILLMENTREFUSALREASON, + /** + * Definition:The order has been stopped by the prescriber but this fact has not necessarily captured electronically. + + + Example:A verbal stop, a fax, etc. + */ + FRR01, + /** + * Definition:Order has not been fulfilled within a reasonable amount of time, and may not be current. + */ + FRR02, + /** + * Definition:Data needed to safely act on the order which was expected to become available independent of the order is not yet available + + + Example:Lab results, diagnostic imaging, etc. + */ + FRR03, + /** + * Definition:Product not available or manufactured. Cannot supply. + */ + FRR04, + /** + * Definition:The dispenser has ethical, religious or moral objections to fulfilling the order/dispensing the product. + */ + FRR05, + /** + * Definition:Fulfiller not able to provide appropriate care associated with fulfilling the order. + + + Example:Therapy requires ongoing monitoring by fulfiller and fulfiller will be ending practice, leaving town, unable to schedule necessary time, etc. + */ + FRR06, + /** + * Definition:Specifies the reason that an event occurred in a clinical research study. + */ + _CLINICALRESEARCHEVENTREASON, + /** + * Definition:The event occurred so that a test or observation performed at a prior event could be performed again due to conditions set forth in the protocol. + */ + RET, + /** + * Definition:The event occurred due to it being scheduled in the research protocol. + */ + SCH, + /** + * Definition:The event occurred in order to terminate the subject's participation in the study. + */ + TRM, + /** + * Definition:The event that occurred was initiated by a study participant (e.g. the subject or the investigator), and did not occur for protocol reasons. + */ + UNS, + /** + * Definition:SSpecifies the reason that a test was performed or observation collected in a clinical research study. + + + Note:This set of codes are not strictly reasons, but are used in the currently Normative standard. Future revisions of the specification will model these as ActRelationships and thes codes may subsequently be retired. Thus, these codes should not be used for new specifications. + */ + _CLINICALRESEARCHOBSERVATIONREASON, + /** + * Definition:The observation or test was neither defined or scheduled in the study protocol. + */ + NPT, + /** + * Definition:The observation or test occurred due to it being defined in the research protocol, and during an activity or event that was scheduled in the protocol. + */ + PPT, + /** + * :The observation or test occurred as defined in the research protocol, but at a point in time not specified in the study protocol. + */ + UPT, + /** + * Description:Indicates why the prescription should be suspended. + */ + _COMBINEDPHARMACYORDERSUSPENDREASONCODE, + /** + * Description:This therapy has been ordered as a backup to a preferred therapy. This order will be released when and if the preferred therapy is unsuccessful. + */ + ALTCHOICE, + /** + * Description:Clarification is required before the order can be acted upon. + */ + CLARIF, + /** + * Description:The current level of the medication in the patient's system is too high. The medication is suspended to allow the level to subside to a safer level. + */ + DRUGHIGH, + /** + * Description:The patient has been admitted to a care facility and their community medications are suspended until hospital discharge. + */ + HOSPADM, + /** + * Description:The therapy would interfere with a planned lab test and the therapy is being withdrawn until the test is completed. + */ + LABINT, + /** + * Description:Patient not available for a period of time due to a scheduled therapy, leave of absence or other reason. + */ + NONAVAIL, + /** + * Description:The patient is pregnant or breast feeding. The therapy will be resumed when the pregnancy is complete and the patient is no longer breastfeeding. + */ + PREG, + /** + * Description:The patient is believed to be allergic to a substance that is part of the therapy and the therapy is being temporarily withdrawn to confirm. + */ + SALG, + /** + * Description:The drug interacts with a short-term treatment that is more urgently required. This order will be resumed when the short-term treatment is complete. + */ + SDDI, + /** + * Description:Another short-term co-occurring therapy fulfills the same purpose as this therapy. This therapy will be resumed when the co-occuring therapy is complete. + */ + SDUPTHER, + /** + * Description:The patient is believed to have an intolerance to a substance that is part of the therapy and the therapy is being temporarily withdrawn to confirm. + */ + SINTOL, + /** + * Description:The drug is contraindicated for patients receiving surgery and the patient is scheduled to be admitted for surgery in the near future. The drug will be resumed when the patient has sufficiently recovered from the surgery. + */ + SURG, + /** + * Description:The patient was previously receiving a medication contraindicated with the current medication. The current medication will remain on hold until the prior medication has been cleansed from their system. + */ + WASHOUT, + /** + * Description:Identifies reasons for nullifying (retracting) a particular control act. + */ + _CONTROLACTNULLIFICATIONREASONCODE, + /** + * Description:The decision on which the recorded information was based was changed before the decision had an effect. + + + Example:Aborted prescription before patient left office, released prescription before suspend took effect. + */ + ALTD, + /** + * Description:The information was recorded incorrectly or was recorded in the wrong record. + */ + EIE, + /** + * Description: There is no match for the record in the database. + */ + NORECMTCH, + /** + * Description: Reasons to refuse a transaction to be undone. + */ + _CONTROLACTNULLIFICATIONREFUSALREASONTYPE, + /** + * The record is already in the requested state. + */ + INRQSTATE, + /** + * Description: There is no match. + */ + NOMATCH, + /** + * Description: There is no match for the product in the master file repository. + */ + NOPRODMTCH, + /** + * Description: There is no match for the service in the master file repository. + */ + NOSERMTCH, + /** + * Description: There is no match for the record and version. + */ + NOVERMTCH, + /** + * Description: There is no permission. + */ + NOPERM, + /** + * Definition:The user does not have permission + */ + NOUSERPERM, + /** + * Description: The agent does not have permission. + */ + NOAGNTPERM, + /** + * Description: The record and version requested to update is not the current version. + */ + WRNGVER, + /** + * Identifies why a specific query, request, or other trigger event occurred. + */ + _CONTROLACTREASON, + /** + * Description:Indicates the reason the medication order should be aborted. + */ + _MEDICATIONORDERABORTREASONCODE, + /** + * Description:The medication is no longer being manufactured or is otherwise no longer available. + */ + DISCONT, + /** + * Description:The therapy has been found to not have the desired therapeutic benefit on the patient. + */ + INEFFECT, + /** + * Description:Monitoring the patient while taking the medication, the decision has been made that the therapy is no longer appropriate. + */ + MONIT, + /** + * Description:The underlying condition has been resolved or has evolved such that a different treatment is no longer needed. + */ + NOREQ, + /** + * Description:The product does not have (or no longer has) coverage under the patientaTMs insurance policy. + */ + NOTCOVER, + /** + * Description:The patient refused to take the product. + */ + PREFUS, + /** + * Description:The manufacturer or other agency has requested that stocks of a medication be removed from circulation. + */ + RECALL, + /** + * Description:Item in current order is no longer in use as requested and a new one has/will be created to replace it. + */ + REPLACE, + /** + * Description:The medication is being re-prescribed at a different dosage. + */ + DOSECHG, + /** + * Description:Current order was issued with incorrect data and a new order has/will be created to replace it. + */ + REPLACEFIX, + /** + * Description: { + + public V3ActReason fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActAccommodationReason".equals(codeString)) + return V3ActReason._ACTACCOMMODATIONREASON; + if ("ACCREQNA".equals(codeString)) + return V3ActReason.ACCREQNA; + if ("FLRCNV".equals(codeString)) + return V3ActReason.FLRCNV; + if ("MEDNEC".equals(codeString)) + return V3ActReason.MEDNEC; + if ("PAT".equals(codeString)) + return V3ActReason.PAT; + if ("_ActCoverageReason".equals(codeString)) + return V3ActReason._ACTCOVERAGEREASON; + if ("_EligibilityActReasonCode".equals(codeString)) + return V3ActReason._ELIGIBILITYACTREASONCODE; + if ("_ActIneligibilityReason".equals(codeString)) + return V3ActReason._ACTINELIGIBILITYREASON; + if ("COVSUS".equals(codeString)) + return V3ActReason.COVSUS; + if ("DECSD".equals(codeString)) + return V3ActReason.DECSD; + if ("REGERR".equals(codeString)) + return V3ActReason.REGERR; + if ("_CoverageEligibilityReason".equals(codeString)) + return V3ActReason._COVERAGEELIGIBILITYREASON; + if ("AGE".equals(codeString)) + return V3ActReason.AGE; + if ("CRIME".equals(codeString)) + return V3ActReason.CRIME; + if ("DIS".equals(codeString)) + return V3ActReason.DIS; + if ("EMPLOY".equals(codeString)) + return V3ActReason.EMPLOY; + if ("FINAN".equals(codeString)) + return V3ActReason.FINAN; + if ("HEALTH".equals(codeString)) + return V3ActReason.HEALTH; + if ("MULTI".equals(codeString)) + return V3ActReason.MULTI; + if ("PNC".equals(codeString)) + return V3ActReason.PNC; + if ("STATUTORY".equals(codeString)) + return V3ActReason.STATUTORY; + if ("VEHIC".equals(codeString)) + return V3ActReason.VEHIC; + if ("WORK".equals(codeString)) + return V3ActReason.WORK; + if ("_ActInformationManagementReason".equals(codeString)) + return V3ActReason._ACTINFORMATIONMANAGEMENTREASON; + if ("_ActHealthInformationManagementReason".equals(codeString)) + return V3ActReason._ACTHEALTHINFORMATIONMANAGEMENTREASON; + if ("_ActConsentInformationAccessOverrideReason".equals(codeString)) + return V3ActReason._ACTCONSENTINFORMATIONACCESSOVERRIDEREASON; + if ("OVRER".equals(codeString)) + return V3ActReason.OVRER; + if ("OVRPJ".equals(codeString)) + return V3ActReason.OVRPJ; + if ("OVRPS".equals(codeString)) + return V3ActReason.OVRPS; + if ("OVRTPS".equals(codeString)) + return V3ActReason.OVRTPS; + if ("PurposeOfUse".equals(codeString)) + return V3ActReason.PURPOSEOFUSE; + if ("HMARKT".equals(codeString)) + return V3ActReason.HMARKT; + if ("HOPERAT".equals(codeString)) + return V3ActReason.HOPERAT; + if ("DONAT".equals(codeString)) + return V3ActReason.DONAT; + if ("FRAUD".equals(codeString)) + return V3ActReason.FRAUD; + if ("GOV".equals(codeString)) + return V3ActReason.GOV; + if ("HACCRED".equals(codeString)) + return V3ActReason.HACCRED; + if ("HCOMPL".equals(codeString)) + return V3ActReason.HCOMPL; + if ("HDECD".equals(codeString)) + return V3ActReason.HDECD; + if ("HDIRECT".equals(codeString)) + return V3ActReason.HDIRECT; + if ("HLEGAL".equals(codeString)) + return V3ActReason.HLEGAL; + if ("HOUTCOMS".equals(codeString)) + return V3ActReason.HOUTCOMS; + if ("HPRGRP".equals(codeString)) + return V3ActReason.HPRGRP; + if ("HQUALIMP".equals(codeString)) + return V3ActReason.HQUALIMP; + if ("HSYSADMIN".equals(codeString)) + return V3ActReason.HSYSADMIN; + if ("MEMADMIN".equals(codeString)) + return V3ActReason.MEMADMIN; + if ("PATADMIN".equals(codeString)) + return V3ActReason.PATADMIN; + if ("PATSFTY".equals(codeString)) + return V3ActReason.PATSFTY; + if ("PERFMSR".equals(codeString)) + return V3ActReason.PERFMSR; + if ("RECORDMGT".equals(codeString)) + return V3ActReason.RECORDMGT; + if ("TRAIN".equals(codeString)) + return V3ActReason.TRAIN; + if ("HPAYMT".equals(codeString)) + return V3ActReason.HPAYMT; + if ("CLMATTCH".equals(codeString)) + return V3ActReason.CLMATTCH; + if ("COVAUTH".equals(codeString)) + return V3ActReason.COVAUTH; + if ("COVERAGE".equals(codeString)) + return V3ActReason.COVERAGE; + if ("ELIGDTRM".equals(codeString)) + return V3ActReason.ELIGDTRM; + if ("ELIGVER".equals(codeString)) + return V3ActReason.ELIGVER; + if ("ENROLLM".equals(codeString)) + return V3ActReason.ENROLLM; + if ("REMITADV".equals(codeString)) + return V3ActReason.REMITADV; + if ("HRESCH".equals(codeString)) + return V3ActReason.HRESCH; + if ("CLINTRCH".equals(codeString)) + return V3ActReason.CLINTRCH; + if ("PATRQT".equals(codeString)) + return V3ActReason.PATRQT; + if ("FAMRQT".equals(codeString)) + return V3ActReason.FAMRQT; + if ("PWATRNY".equals(codeString)) + return V3ActReason.PWATRNY; + if ("SUPNWK".equals(codeString)) + return V3ActReason.SUPNWK; + if ("PUBHLTH".equals(codeString)) + return V3ActReason.PUBHLTH; + if ("DISASTER".equals(codeString)) + return V3ActReason.DISASTER; + if ("THREAT".equals(codeString)) + return V3ActReason.THREAT; + if ("TREAT".equals(codeString)) + return V3ActReason.TREAT; + if ("CAREMGT".equals(codeString)) + return V3ActReason.CAREMGT; + if ("CLINTRL".equals(codeString)) + return V3ActReason.CLINTRL; + if ("ETREAT".equals(codeString)) + return V3ActReason.ETREAT; + if ("POPHLTH".equals(codeString)) + return V3ActReason.POPHLTH; + if ("_ActInformationPrivacyReason".equals(codeString)) + return V3ActReason._ACTINFORMATIONPRIVACYREASON; + if ("MARKT".equals(codeString)) + return V3ActReason.MARKT; + if ("OPERAT".equals(codeString)) + return V3ActReason.OPERAT; + if ("LEGAL".equals(codeString)) + return V3ActReason.LEGAL; + if ("ACCRED".equals(codeString)) + return V3ActReason.ACCRED; + if ("COMPL".equals(codeString)) + return V3ActReason.COMPL; + if ("ENADMIN".equals(codeString)) + return V3ActReason.ENADMIN; + if ("OUTCOMS".equals(codeString)) + return V3ActReason.OUTCOMS; + if ("PRGRPT".equals(codeString)) + return V3ActReason.PRGRPT; + if ("QUALIMP".equals(codeString)) + return V3ActReason.QUALIMP; + if ("SYSADMN".equals(codeString)) + return V3ActReason.SYSADMN; + if ("PAYMT".equals(codeString)) + return V3ActReason.PAYMT; + if ("RESCH".equals(codeString)) + return V3ActReason.RESCH; + if ("SRVC".equals(codeString)) + return V3ActReason.SRVC; + if ("_ActInvalidReason".equals(codeString)) + return V3ActReason._ACTINVALIDREASON; + if ("ADVSTORAGE".equals(codeString)) + return V3ActReason.ADVSTORAGE; + if ("COLDCHNBRK".equals(codeString)) + return V3ActReason.COLDCHNBRK; + if ("EXPLOT".equals(codeString)) + return V3ActReason.EXPLOT; + if ("OUTSIDESCHED".equals(codeString)) + return V3ActReason.OUTSIDESCHED; + if ("PRODRECALL".equals(codeString)) + return V3ActReason.PRODRECALL; + if ("_ActInvoiceCancelReason".equals(codeString)) + return V3ActReason._ACTINVOICECANCELREASON; + if ("INCCOVPTY".equals(codeString)) + return V3ActReason.INCCOVPTY; + if ("INCINVOICE".equals(codeString)) + return V3ActReason.INCINVOICE; + if ("INCPOLICY".equals(codeString)) + return V3ActReason.INCPOLICY; + if ("INCPROV".equals(codeString)) + return V3ActReason.INCPROV; + if ("_ActNoImmunizationReason".equals(codeString)) + return V3ActReason._ACTNOIMMUNIZATIONREASON; + if ("IMMUNE".equals(codeString)) + return V3ActReason.IMMUNE; + if ("MEDPREC".equals(codeString)) + return V3ActReason.MEDPREC; + if ("OSTOCK".equals(codeString)) + return V3ActReason.OSTOCK; + if ("PATOBJ".equals(codeString)) + return V3ActReason.PATOBJ; + if ("PHILISOP".equals(codeString)) + return V3ActReason.PHILISOP; + if ("RELIG".equals(codeString)) + return V3ActReason.RELIG; + if ("VACEFF".equals(codeString)) + return V3ActReason.VACEFF; + if ("VACSAF".equals(codeString)) + return V3ActReason.VACSAF; + if ("_ActSupplyFulfillmentRefusalReason".equals(codeString)) + return V3ActReason._ACTSUPPLYFULFILLMENTREFUSALREASON; + if ("FRR01".equals(codeString)) + return V3ActReason.FRR01; + if ("FRR02".equals(codeString)) + return V3ActReason.FRR02; + if ("FRR03".equals(codeString)) + return V3ActReason.FRR03; + if ("FRR04".equals(codeString)) + return V3ActReason.FRR04; + if ("FRR05".equals(codeString)) + return V3ActReason.FRR05; + if ("FRR06".equals(codeString)) + return V3ActReason.FRR06; + if ("_ClinicalResearchEventReason".equals(codeString)) + return V3ActReason._CLINICALRESEARCHEVENTREASON; + if ("RET".equals(codeString)) + return V3ActReason.RET; + if ("SCH".equals(codeString)) + return V3ActReason.SCH; + if ("TRM".equals(codeString)) + return V3ActReason.TRM; + if ("UNS".equals(codeString)) + return V3ActReason.UNS; + if ("_ClinicalResearchObservationReason".equals(codeString)) + return V3ActReason._CLINICALRESEARCHOBSERVATIONREASON; + if ("NPT".equals(codeString)) + return V3ActReason.NPT; + if ("PPT".equals(codeString)) + return V3ActReason.PPT; + if ("UPT".equals(codeString)) + return V3ActReason.UPT; + if ("_CombinedPharmacyOrderSuspendReasonCode".equals(codeString)) + return V3ActReason._COMBINEDPHARMACYORDERSUSPENDREASONCODE; + if ("ALTCHOICE".equals(codeString)) + return V3ActReason.ALTCHOICE; + if ("CLARIF".equals(codeString)) + return V3ActReason.CLARIF; + if ("DRUGHIGH".equals(codeString)) + return V3ActReason.DRUGHIGH; + if ("HOSPADM".equals(codeString)) + return V3ActReason.HOSPADM; + if ("LABINT".equals(codeString)) + return V3ActReason.LABINT; + if ("NON-AVAIL".equals(codeString)) + return V3ActReason.NONAVAIL; + if ("PREG".equals(codeString)) + return V3ActReason.PREG; + if ("SALG".equals(codeString)) + return V3ActReason.SALG; + if ("SDDI".equals(codeString)) + return V3ActReason.SDDI; + if ("SDUPTHER".equals(codeString)) + return V3ActReason.SDUPTHER; + if ("SINTOL".equals(codeString)) + return V3ActReason.SINTOL; + if ("SURG".equals(codeString)) + return V3ActReason.SURG; + if ("WASHOUT".equals(codeString)) + return V3ActReason.WASHOUT; + if ("_ControlActNullificationReasonCode".equals(codeString)) + return V3ActReason._CONTROLACTNULLIFICATIONREASONCODE; + if ("ALTD".equals(codeString)) + return V3ActReason.ALTD; + if ("EIE".equals(codeString)) + return V3ActReason.EIE; + if ("NORECMTCH".equals(codeString)) + return V3ActReason.NORECMTCH; + if ("_ControlActNullificationRefusalReasonType".equals(codeString)) + return V3ActReason._CONTROLACTNULLIFICATIONREFUSALREASONTYPE; + if ("INRQSTATE".equals(codeString)) + return V3ActReason.INRQSTATE; + if ("NOMATCH".equals(codeString)) + return V3ActReason.NOMATCH; + if ("NOPRODMTCH".equals(codeString)) + return V3ActReason.NOPRODMTCH; + if ("NOSERMTCH".equals(codeString)) + return V3ActReason.NOSERMTCH; + if ("NOVERMTCH".equals(codeString)) + return V3ActReason.NOVERMTCH; + if ("NOPERM".equals(codeString)) + return V3ActReason.NOPERM; + if ("NOUSERPERM".equals(codeString)) + return V3ActReason.NOUSERPERM; + if ("NOAGNTPERM".equals(codeString)) + return V3ActReason.NOAGNTPERM; + if ("WRNGVER".equals(codeString)) + return V3ActReason.WRNGVER; + if ("_ControlActReason".equals(codeString)) + return V3ActReason._CONTROLACTREASON; + if ("_MedicationOrderAbortReasonCode".equals(codeString)) + return V3ActReason._MEDICATIONORDERABORTREASONCODE; + if ("DISCONT".equals(codeString)) + return V3ActReason.DISCONT; + if ("INEFFECT".equals(codeString)) + return V3ActReason.INEFFECT; + if ("MONIT".equals(codeString)) + return V3ActReason.MONIT; + if ("NOREQ".equals(codeString)) + return V3ActReason.NOREQ; + if ("NOTCOVER".equals(codeString)) + return V3ActReason.NOTCOVER; + if ("PREFUS".equals(codeString)) + return V3ActReason.PREFUS; + if ("RECALL".equals(codeString)) + return V3ActReason.RECALL; + if ("REPLACE".equals(codeString)) + return V3ActReason.REPLACE; + if ("DOSECHG".equals(codeString)) + return V3ActReason.DOSECHG; + if ("REPLACEFIX".equals(codeString)) + return V3ActReason.REPLACEFIX; + if ("UNABLE".equals(codeString)) + return V3ActReason.UNABLE; + if ("_MedicationOrderReleaseReasonCode".equals(codeString)) + return V3ActReason._MEDICATIONORDERRELEASEREASONCODE; + if ("HOLDDONE".equals(codeString)) + return V3ActReason.HOLDDONE; + if ("HOLDINAP".equals(codeString)) + return V3ActReason.HOLDINAP; + if ("_ModifyPrescriptionReasonType".equals(codeString)) + return V3ActReason._MODIFYPRESCRIPTIONREASONTYPE; + if ("ADMINERROR".equals(codeString)) + return V3ActReason.ADMINERROR; + if ("CLINMOD".equals(codeString)) + return V3ActReason.CLINMOD; + if ("_PharmacySupplyEventAbortReason".equals(codeString)) + return V3ActReason._PHARMACYSUPPLYEVENTABORTREASON; + if ("CONTRA".equals(codeString)) + return V3ActReason.CONTRA; + if ("FOABORT".equals(codeString)) + return V3ActReason.FOABORT; + if ("FOSUSP".equals(codeString)) + return V3ActReason.FOSUSP; + if ("NOPICK".equals(codeString)) + return V3ActReason.NOPICK; + if ("PATDEC".equals(codeString)) + return V3ActReason.PATDEC; + if ("QUANTCHG".equals(codeString)) + return V3ActReason.QUANTCHG; + if ("_PharmacySupplyEventStockReasonCode".equals(codeString)) + return V3ActReason._PHARMACYSUPPLYEVENTSTOCKREASONCODE; + if ("FLRSTCK".equals(codeString)) + return V3ActReason.FLRSTCK; + if ("LTC".equals(codeString)) + return V3ActReason.LTC; + if ("OFFICE".equals(codeString)) + return V3ActReason.OFFICE; + if ("PHARM".equals(codeString)) + return V3ActReason.PHARM; + if ("PROG".equals(codeString)) + return V3ActReason.PROG; + if ("_PharmacySupplyRequestRenewalRefusalReasonCode".equals(codeString)) + return V3ActReason._PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE; + if ("ALREADYRX".equals(codeString)) + return V3ActReason.ALREADYRX; + if ("FAMPHYS".equals(codeString)) + return V3ActReason.FAMPHYS; + if ("MODIFY".equals(codeString)) + return V3ActReason.MODIFY; + if ("NEEDAPMT".equals(codeString)) + return V3ActReason.NEEDAPMT; + if ("NOTAVAIL".equals(codeString)) + return V3ActReason.NOTAVAIL; + if ("NOTPAT".equals(codeString)) + return V3ActReason.NOTPAT; + if ("ONHOLD".equals(codeString)) + return V3ActReason.ONHOLD; + if ("PRNA".equals(codeString)) + return V3ActReason.PRNA; + if ("STOPMED".equals(codeString)) + return V3ActReason.STOPMED; + if ("TOOEARLY".equals(codeString)) + return V3ActReason.TOOEARLY; + if ("_SupplyOrderAbortReasonCode".equals(codeString)) + return V3ActReason._SUPPLYORDERABORTREASONCODE; + if ("IMPROV".equals(codeString)) + return V3ActReason.IMPROV; + if ("INTOL".equals(codeString)) + return V3ActReason.INTOL; + if ("NEWSTR".equals(codeString)) + return V3ActReason.NEWSTR; + if ("NEWTHER".equals(codeString)) + return V3ActReason.NEWTHER; + if ("_GenericUpdateReasonCode".equals(codeString)) + return V3ActReason._GENERICUPDATEREASONCODE; + if ("CHGDATA".equals(codeString)) + return V3ActReason.CHGDATA; + if ("FIXDATA".equals(codeString)) + return V3ActReason.FIXDATA; + if ("MDATA".equals(codeString)) + return V3ActReason.MDATA; + if ("NEWDATA".equals(codeString)) + return V3ActReason.NEWDATA; + if ("UMDATA".equals(codeString)) + return V3ActReason.UMDATA; + if ("_PatientProfileQueryReasonCode".equals(codeString)) + return V3ActReason._PATIENTPROFILEQUERYREASONCODE; + if ("ADMREV".equals(codeString)) + return V3ActReason.ADMREV; + if ("PATCAR".equals(codeString)) + return V3ActReason.PATCAR; + if ("PATREQ".equals(codeString)) + return V3ActReason.PATREQ; + if ("PRCREV".equals(codeString)) + return V3ActReason.PRCREV; + if ("REGUL".equals(codeString)) + return V3ActReason.REGUL; + if ("RSRCH".equals(codeString)) + return V3ActReason.RSRCH; + if ("VALIDATION".equals(codeString)) + return V3ActReason.VALIDATION; + if ("_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode".equals(codeString)) + return V3ActReason._PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE; + if ("LOCKED".equals(codeString)) + return V3ActReason.LOCKED; + if ("UNKWNTARGET".equals(codeString)) + return V3ActReason.UNKWNTARGET; + if ("_RefusalReasonCode".equals(codeString)) + return V3ActReason._REFUSALREASONCODE; + if ("_SchedulingActReason".equals(codeString)) + return V3ActReason._SCHEDULINGACTREASON; + if ("BLK".equals(codeString)) + return V3ActReason.BLK; + if ("DEC".equals(codeString)) + return V3ActReason.DEC; + if ("FIN".equals(codeString)) + return V3ActReason.FIN; + if ("MED".equals(codeString)) + return V3ActReason.MED; + if ("MTG".equals(codeString)) + return V3ActReason.MTG; + if ("PHY".equals(codeString)) + return V3ActReason.PHY; + if ("_StatusRevisionRefusalReasonCode".equals(codeString)) + return V3ActReason._STATUSREVISIONREFUSALREASONCODE; + if ("FILLED".equals(codeString)) + return V3ActReason.FILLED; + if ("_SubstanceAdministrationPermissionRefusalReasonCode".equals(codeString)) + return V3ActReason._SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE; + if ("PATINELIG".equals(codeString)) + return V3ActReason.PATINELIG; + if ("PROTUNMET".equals(codeString)) + return V3ActReason.PROTUNMET; + if ("PROVUNAUTH".equals(codeString)) + return V3ActReason.PROVUNAUTH; + if ("_SubstanceAdminSubstitutionNotAllowedReason".equals(codeString)) + return V3ActReason._SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON; + if ("ALGINT".equals(codeString)) + return V3ActReason.ALGINT; + if ("COMPCON".equals(codeString)) + return V3ActReason.COMPCON; + if ("THERCHAR".equals(codeString)) + return V3ActReason.THERCHAR; + if ("TRIAL".equals(codeString)) + return V3ActReason.TRIAL; + if ("_SubstanceAdminSubstitutionReason".equals(codeString)) + return V3ActReason._SUBSTANCEADMINSUBSTITUTIONREASON; + if ("CT".equals(codeString)) + return V3ActReason.CT; + if ("FP".equals(codeString)) + return V3ActReason.FP; + if ("OS".equals(codeString)) + return V3ActReason.OS; + if ("RR".equals(codeString)) + return V3ActReason.RR; + if ("_TransferActReason".equals(codeString)) + return V3ActReason._TRANSFERACTREASON; + if ("ER".equals(codeString)) + return V3ActReason.ER; + if ("RQ".equals(codeString)) + return V3ActReason.RQ; + throw new IllegalArgumentException("Unknown V3ActReason code '"+codeString+"'"); + } + + public String toCode(V3ActReason code) { + if (code == V3ActReason._ACTACCOMMODATIONREASON) + return "_ActAccommodationReason"; + if (code == V3ActReason.ACCREQNA) + return "ACCREQNA"; + if (code == V3ActReason.FLRCNV) + return "FLRCNV"; + if (code == V3ActReason.MEDNEC) + return "MEDNEC"; + if (code == V3ActReason.PAT) + return "PAT"; + if (code == V3ActReason._ACTCOVERAGEREASON) + return "_ActCoverageReason"; + if (code == V3ActReason._ELIGIBILITYACTREASONCODE) + return "_EligibilityActReasonCode"; + if (code == V3ActReason._ACTINELIGIBILITYREASON) + return "_ActIneligibilityReason"; + if (code == V3ActReason.COVSUS) + return "COVSUS"; + if (code == V3ActReason.DECSD) + return "DECSD"; + if (code == V3ActReason.REGERR) + return "REGERR"; + if (code == V3ActReason._COVERAGEELIGIBILITYREASON) + return "_CoverageEligibilityReason"; + if (code == V3ActReason.AGE) + return "AGE"; + if (code == V3ActReason.CRIME) + return "CRIME"; + if (code == V3ActReason.DIS) + return "DIS"; + if (code == V3ActReason.EMPLOY) + return "EMPLOY"; + if (code == V3ActReason.FINAN) + return "FINAN"; + if (code == V3ActReason.HEALTH) + return "HEALTH"; + if (code == V3ActReason.MULTI) + return "MULTI"; + if (code == V3ActReason.PNC) + return "PNC"; + if (code == V3ActReason.STATUTORY) + return "STATUTORY"; + if (code == V3ActReason.VEHIC) + return "VEHIC"; + if (code == V3ActReason.WORK) + return "WORK"; + if (code == V3ActReason._ACTINFORMATIONMANAGEMENTREASON) + return "_ActInformationManagementReason"; + if (code == V3ActReason._ACTHEALTHINFORMATIONMANAGEMENTREASON) + return "_ActHealthInformationManagementReason"; + if (code == V3ActReason._ACTCONSENTINFORMATIONACCESSOVERRIDEREASON) + return "_ActConsentInformationAccessOverrideReason"; + if (code == V3ActReason.OVRER) + return "OVRER"; + if (code == V3ActReason.OVRPJ) + return "OVRPJ"; + if (code == V3ActReason.OVRPS) + return "OVRPS"; + if (code == V3ActReason.OVRTPS) + return "OVRTPS"; + if (code == V3ActReason.PURPOSEOFUSE) + return "PurposeOfUse"; + if (code == V3ActReason.HMARKT) + return "HMARKT"; + if (code == V3ActReason.HOPERAT) + return "HOPERAT"; + if (code == V3ActReason.DONAT) + return "DONAT"; + if (code == V3ActReason.FRAUD) + return "FRAUD"; + if (code == V3ActReason.GOV) + return "GOV"; + if (code == V3ActReason.HACCRED) + return "HACCRED"; + if (code == V3ActReason.HCOMPL) + return "HCOMPL"; + if (code == V3ActReason.HDECD) + return "HDECD"; + if (code == V3ActReason.HDIRECT) + return "HDIRECT"; + if (code == V3ActReason.HLEGAL) + return "HLEGAL"; + if (code == V3ActReason.HOUTCOMS) + return "HOUTCOMS"; + if (code == V3ActReason.HPRGRP) + return "HPRGRP"; + if (code == V3ActReason.HQUALIMP) + return "HQUALIMP"; + if (code == V3ActReason.HSYSADMIN) + return "HSYSADMIN"; + if (code == V3ActReason.MEMADMIN) + return "MEMADMIN"; + if (code == V3ActReason.PATADMIN) + return "PATADMIN"; + if (code == V3ActReason.PATSFTY) + return "PATSFTY"; + if (code == V3ActReason.PERFMSR) + return "PERFMSR"; + if (code == V3ActReason.RECORDMGT) + return "RECORDMGT"; + if (code == V3ActReason.TRAIN) + return "TRAIN"; + if (code == V3ActReason.HPAYMT) + return "HPAYMT"; + if (code == V3ActReason.CLMATTCH) + return "CLMATTCH"; + if (code == V3ActReason.COVAUTH) + return "COVAUTH"; + if (code == V3ActReason.COVERAGE) + return "COVERAGE"; + if (code == V3ActReason.ELIGDTRM) + return "ELIGDTRM"; + if (code == V3ActReason.ELIGVER) + return "ELIGVER"; + if (code == V3ActReason.ENROLLM) + return "ENROLLM"; + if (code == V3ActReason.REMITADV) + return "REMITADV"; + if (code == V3ActReason.HRESCH) + return "HRESCH"; + if (code == V3ActReason.CLINTRCH) + return "CLINTRCH"; + if (code == V3ActReason.PATRQT) + return "PATRQT"; + if (code == V3ActReason.FAMRQT) + return "FAMRQT"; + if (code == V3ActReason.PWATRNY) + return "PWATRNY"; + if (code == V3ActReason.SUPNWK) + return "SUPNWK"; + if (code == V3ActReason.PUBHLTH) + return "PUBHLTH"; + if (code == V3ActReason.DISASTER) + return "DISASTER"; + if (code == V3ActReason.THREAT) + return "THREAT"; + if (code == V3ActReason.TREAT) + return "TREAT"; + if (code == V3ActReason.CAREMGT) + return "CAREMGT"; + if (code == V3ActReason.CLINTRL) + return "CLINTRL"; + if (code == V3ActReason.ETREAT) + return "ETREAT"; + if (code == V3ActReason.POPHLTH) + return "POPHLTH"; + if (code == V3ActReason._ACTINFORMATIONPRIVACYREASON) + return "_ActInformationPrivacyReason"; + if (code == V3ActReason.MARKT) + return "MARKT"; + if (code == V3ActReason.OPERAT) + return "OPERAT"; + if (code == V3ActReason.LEGAL) + return "LEGAL"; + if (code == V3ActReason.ACCRED) + return "ACCRED"; + if (code == V3ActReason.COMPL) + return "COMPL"; + if (code == V3ActReason.ENADMIN) + return "ENADMIN"; + if (code == V3ActReason.OUTCOMS) + return "OUTCOMS"; + if (code == V3ActReason.PRGRPT) + return "PRGRPT"; + if (code == V3ActReason.QUALIMP) + return "QUALIMP"; + if (code == V3ActReason.SYSADMN) + return "SYSADMN"; + if (code == V3ActReason.PAYMT) + return "PAYMT"; + if (code == V3ActReason.RESCH) + return "RESCH"; + if (code == V3ActReason.SRVC) + return "SRVC"; + if (code == V3ActReason._ACTINVALIDREASON) + return "_ActInvalidReason"; + if (code == V3ActReason.ADVSTORAGE) + return "ADVSTORAGE"; + if (code == V3ActReason.COLDCHNBRK) + return "COLDCHNBRK"; + if (code == V3ActReason.EXPLOT) + return "EXPLOT"; + if (code == V3ActReason.OUTSIDESCHED) + return "OUTSIDESCHED"; + if (code == V3ActReason.PRODRECALL) + return "PRODRECALL"; + if (code == V3ActReason._ACTINVOICECANCELREASON) + return "_ActInvoiceCancelReason"; + if (code == V3ActReason.INCCOVPTY) + return "INCCOVPTY"; + if (code == V3ActReason.INCINVOICE) + return "INCINVOICE"; + if (code == V3ActReason.INCPOLICY) + return "INCPOLICY"; + if (code == V3ActReason.INCPROV) + return "INCPROV"; + if (code == V3ActReason._ACTNOIMMUNIZATIONREASON) + return "_ActNoImmunizationReason"; + if (code == V3ActReason.IMMUNE) + return "IMMUNE"; + if (code == V3ActReason.MEDPREC) + return "MEDPREC"; + if (code == V3ActReason.OSTOCK) + return "OSTOCK"; + if (code == V3ActReason.PATOBJ) + return "PATOBJ"; + if (code == V3ActReason.PHILISOP) + return "PHILISOP"; + if (code == V3ActReason.RELIG) + return "RELIG"; + if (code == V3ActReason.VACEFF) + return "VACEFF"; + if (code == V3ActReason.VACSAF) + return "VACSAF"; + if (code == V3ActReason._ACTSUPPLYFULFILLMENTREFUSALREASON) + return "_ActSupplyFulfillmentRefusalReason"; + if (code == V3ActReason.FRR01) + return "FRR01"; + if (code == V3ActReason.FRR02) + return "FRR02"; + if (code == V3ActReason.FRR03) + return "FRR03"; + if (code == V3ActReason.FRR04) + return "FRR04"; + if (code == V3ActReason.FRR05) + return "FRR05"; + if (code == V3ActReason.FRR06) + return "FRR06"; + if (code == V3ActReason._CLINICALRESEARCHEVENTREASON) + return "_ClinicalResearchEventReason"; + if (code == V3ActReason.RET) + return "RET"; + if (code == V3ActReason.SCH) + return "SCH"; + if (code == V3ActReason.TRM) + return "TRM"; + if (code == V3ActReason.UNS) + return "UNS"; + if (code == V3ActReason._CLINICALRESEARCHOBSERVATIONREASON) + return "_ClinicalResearchObservationReason"; + if (code == V3ActReason.NPT) + return "NPT"; + if (code == V3ActReason.PPT) + return "PPT"; + if (code == V3ActReason.UPT) + return "UPT"; + if (code == V3ActReason._COMBINEDPHARMACYORDERSUSPENDREASONCODE) + return "_CombinedPharmacyOrderSuspendReasonCode"; + if (code == V3ActReason.ALTCHOICE) + return "ALTCHOICE"; + if (code == V3ActReason.CLARIF) + return "CLARIF"; + if (code == V3ActReason.DRUGHIGH) + return "DRUGHIGH"; + if (code == V3ActReason.HOSPADM) + return "HOSPADM"; + if (code == V3ActReason.LABINT) + return "LABINT"; + if (code == V3ActReason.NONAVAIL) + return "NON-AVAIL"; + if (code == V3ActReason.PREG) + return "PREG"; + if (code == V3ActReason.SALG) + return "SALG"; + if (code == V3ActReason.SDDI) + return "SDDI"; + if (code == V3ActReason.SDUPTHER) + return "SDUPTHER"; + if (code == V3ActReason.SINTOL) + return "SINTOL"; + if (code == V3ActReason.SURG) + return "SURG"; + if (code == V3ActReason.WASHOUT) + return "WASHOUT"; + if (code == V3ActReason._CONTROLACTNULLIFICATIONREASONCODE) + return "_ControlActNullificationReasonCode"; + if (code == V3ActReason.ALTD) + return "ALTD"; + if (code == V3ActReason.EIE) + return "EIE"; + if (code == V3ActReason.NORECMTCH) + return "NORECMTCH"; + if (code == V3ActReason._CONTROLACTNULLIFICATIONREFUSALREASONTYPE) + return "_ControlActNullificationRefusalReasonType"; + if (code == V3ActReason.INRQSTATE) + return "INRQSTATE"; + if (code == V3ActReason.NOMATCH) + return "NOMATCH"; + if (code == V3ActReason.NOPRODMTCH) + return "NOPRODMTCH"; + if (code == V3ActReason.NOSERMTCH) + return "NOSERMTCH"; + if (code == V3ActReason.NOVERMTCH) + return "NOVERMTCH"; + if (code == V3ActReason.NOPERM) + return "NOPERM"; + if (code == V3ActReason.NOUSERPERM) + return "NOUSERPERM"; + if (code == V3ActReason.NOAGNTPERM) + return "NOAGNTPERM"; + if (code == V3ActReason.WRNGVER) + return "WRNGVER"; + if (code == V3ActReason._CONTROLACTREASON) + return "_ControlActReason"; + if (code == V3ActReason._MEDICATIONORDERABORTREASONCODE) + return "_MedicationOrderAbortReasonCode"; + if (code == V3ActReason.DISCONT) + return "DISCONT"; + if (code == V3ActReason.INEFFECT) + return "INEFFECT"; + if (code == V3ActReason.MONIT) + return "MONIT"; + if (code == V3ActReason.NOREQ) + return "NOREQ"; + if (code == V3ActReason.NOTCOVER) + return "NOTCOVER"; + if (code == V3ActReason.PREFUS) + return "PREFUS"; + if (code == V3ActReason.RECALL) + return "RECALL"; + if (code == V3ActReason.REPLACE) + return "REPLACE"; + if (code == V3ActReason.DOSECHG) + return "DOSECHG"; + if (code == V3ActReason.REPLACEFIX) + return "REPLACEFIX"; + if (code == V3ActReason.UNABLE) + return "UNABLE"; + if (code == V3ActReason._MEDICATIONORDERRELEASEREASONCODE) + return "_MedicationOrderReleaseReasonCode"; + if (code == V3ActReason.HOLDDONE) + return "HOLDDONE"; + if (code == V3ActReason.HOLDINAP) + return "HOLDINAP"; + if (code == V3ActReason._MODIFYPRESCRIPTIONREASONTYPE) + return "_ModifyPrescriptionReasonType"; + if (code == V3ActReason.ADMINERROR) + return "ADMINERROR"; + if (code == V3ActReason.CLINMOD) + return "CLINMOD"; + if (code == V3ActReason._PHARMACYSUPPLYEVENTABORTREASON) + return "_PharmacySupplyEventAbortReason"; + if (code == V3ActReason.CONTRA) + return "CONTRA"; + if (code == V3ActReason.FOABORT) + return "FOABORT"; + if (code == V3ActReason.FOSUSP) + return "FOSUSP"; + if (code == V3ActReason.NOPICK) + return "NOPICK"; + if (code == V3ActReason.PATDEC) + return "PATDEC"; + if (code == V3ActReason.QUANTCHG) + return "QUANTCHG"; + if (code == V3ActReason._PHARMACYSUPPLYEVENTSTOCKREASONCODE) + return "_PharmacySupplyEventStockReasonCode"; + if (code == V3ActReason.FLRSTCK) + return "FLRSTCK"; + if (code == V3ActReason.LTC) + return "LTC"; + if (code == V3ActReason.OFFICE) + return "OFFICE"; + if (code == V3ActReason.PHARM) + return "PHARM"; + if (code == V3ActReason.PROG) + return "PROG"; + if (code == V3ActReason._PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE) + return "_PharmacySupplyRequestRenewalRefusalReasonCode"; + if (code == V3ActReason.ALREADYRX) + return "ALREADYRX"; + if (code == V3ActReason.FAMPHYS) + return "FAMPHYS"; + if (code == V3ActReason.MODIFY) + return "MODIFY"; + if (code == V3ActReason.NEEDAPMT) + return "NEEDAPMT"; + if (code == V3ActReason.NOTAVAIL) + return "NOTAVAIL"; + if (code == V3ActReason.NOTPAT) + return "NOTPAT"; + if (code == V3ActReason.ONHOLD) + return "ONHOLD"; + if (code == V3ActReason.PRNA) + return "PRNA"; + if (code == V3ActReason.STOPMED) + return "STOPMED"; + if (code == V3ActReason.TOOEARLY) + return "TOOEARLY"; + if (code == V3ActReason._SUPPLYORDERABORTREASONCODE) + return "_SupplyOrderAbortReasonCode"; + if (code == V3ActReason.IMPROV) + return "IMPROV"; + if (code == V3ActReason.INTOL) + return "INTOL"; + if (code == V3ActReason.NEWSTR) + return "NEWSTR"; + if (code == V3ActReason.NEWTHER) + return "NEWTHER"; + if (code == V3ActReason._GENERICUPDATEREASONCODE) + return "_GenericUpdateReasonCode"; + if (code == V3ActReason.CHGDATA) + return "CHGDATA"; + if (code == V3ActReason.FIXDATA) + return "FIXDATA"; + if (code == V3ActReason.MDATA) + return "MDATA"; + if (code == V3ActReason.NEWDATA) + return "NEWDATA"; + if (code == V3ActReason.UMDATA) + return "UMDATA"; + if (code == V3ActReason._PATIENTPROFILEQUERYREASONCODE) + return "_PatientProfileQueryReasonCode"; + if (code == V3ActReason.ADMREV) + return "ADMREV"; + if (code == V3ActReason.PATCAR) + return "PATCAR"; + if (code == V3ActReason.PATREQ) + return "PATREQ"; + if (code == V3ActReason.PRCREV) + return "PRCREV"; + if (code == V3ActReason.REGUL) + return "REGUL"; + if (code == V3ActReason.RSRCH) + return "RSRCH"; + if (code == V3ActReason.VALIDATION) + return "VALIDATION"; + if (code == V3ActReason._PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE) + return "_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode"; + if (code == V3ActReason.LOCKED) + return "LOCKED"; + if (code == V3ActReason.UNKWNTARGET) + return "UNKWNTARGET"; + if (code == V3ActReason._REFUSALREASONCODE) + return "_RefusalReasonCode"; + if (code == V3ActReason._SCHEDULINGACTREASON) + return "_SchedulingActReason"; + if (code == V3ActReason.BLK) + return "BLK"; + if (code == V3ActReason.DEC) + return "DEC"; + if (code == V3ActReason.FIN) + return "FIN"; + if (code == V3ActReason.MED) + return "MED"; + if (code == V3ActReason.MTG) + return "MTG"; + if (code == V3ActReason.PHY) + return "PHY"; + if (code == V3ActReason._STATUSREVISIONREFUSALREASONCODE) + return "_StatusRevisionRefusalReasonCode"; + if (code == V3ActReason.FILLED) + return "FILLED"; + if (code == V3ActReason._SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE) + return "_SubstanceAdministrationPermissionRefusalReasonCode"; + if (code == V3ActReason.PATINELIG) + return "PATINELIG"; + if (code == V3ActReason.PROTUNMET) + return "PROTUNMET"; + if (code == V3ActReason.PROVUNAUTH) + return "PROVUNAUTH"; + if (code == V3ActReason._SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON) + return "_SubstanceAdminSubstitutionNotAllowedReason"; + if (code == V3ActReason.ALGINT) + return "ALGINT"; + if (code == V3ActReason.COMPCON) + return "COMPCON"; + if (code == V3ActReason.THERCHAR) + return "THERCHAR"; + if (code == V3ActReason.TRIAL) + return "TRIAL"; + if (code == V3ActReason._SUBSTANCEADMINSUBSTITUTIONREASON) + return "_SubstanceAdminSubstitutionReason"; + if (code == V3ActReason.CT) + return "CT"; + if (code == V3ActReason.FP) + return "FP"; + if (code == V3ActReason.OS) + return "OS"; + if (code == V3ActReason.RR) + return "RR"; + if (code == V3ActReason._TRANSFERACTREASON) + return "_TransferActReason"; + if (code == V3ActReason.ER) + return "ER"; + if (code == V3ActReason.RQ) + return "RQ"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpoint.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpoint.java new file mode 100644 index 00000000000..7a143c4e660 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpoint.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActRelationshipCheckpoint { + + /** + * Condition is tested every time before execution of the service (WHILE condition DO service). + */ + B, + /** + * Condition is tested at the end of a repeated service execution. The service is repeated only if the condition is true (DO service WHILE condition). + */ + E, + /** + * Condition is tested once before the service is executed (IF condition THEN service). + */ + S, + /** + * Condition must be true throughout the execution and the service is interrupted (asynchronously) as soon as the condition turns false (asynchronous WHILE loop). The service must be interruptible. + */ + T, + /** + * Condition is a loop checkpoint, i.e. it is a step of an activity plan and, if negative causes the containing loop to exit. + */ + X, + /** + * added to help the parsers + */ + NULL; + public static V3ActRelationshipCheckpoint fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("B".equals(codeString)) + return B; + if ("E".equals(codeString)) + return E; + if ("S".equals(codeString)) + return S; + if ("T".equals(codeString)) + return T; + if ("X".equals(codeString)) + return X; + throw new Exception("Unknown V3ActRelationshipCheckpoint code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case B: return "B"; + case E: return "E"; + case S: return "S"; + case T: return "T"; + case X: return "X"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActRelationshipCheckpoint"; + } + public String getDefinition() { + switch (this) { + case B: return "Condition is tested every time before execution of the service (WHILE condition DO service)."; + case E: return "Condition is tested at the end of a repeated service execution. The service is repeated only if the condition is true (DO service WHILE condition)."; + case S: return "Condition is tested once before the service is executed (IF condition THEN service)."; + case T: return "Condition must be true throughout the execution and the service is interrupted (asynchronously) as soon as the condition turns false (asynchronous WHILE loop). The service must be interruptible."; + case X: return "Condition is a loop checkpoint, i.e. it is a step of an activity plan and, if negative causes the containing loop to exit."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case B: return "beginning"; + case E: return "end"; + case S: return "entry"; + case T: return "through"; + case X: return "exit"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpointEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpointEnumFactory.java new file mode 100644 index 00000000000..d9da55664e5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipCheckpointEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActRelationshipCheckpointEnumFactory implements EnumFactory { + + public V3ActRelationshipCheckpoint fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("B".equals(codeString)) + return V3ActRelationshipCheckpoint.B; + if ("E".equals(codeString)) + return V3ActRelationshipCheckpoint.E; + if ("S".equals(codeString)) + return V3ActRelationshipCheckpoint.S; + if ("T".equals(codeString)) + return V3ActRelationshipCheckpoint.T; + if ("X".equals(codeString)) + return V3ActRelationshipCheckpoint.X; + throw new IllegalArgumentException("Unknown V3ActRelationshipCheckpoint code '"+codeString+"'"); + } + + public String toCode(V3ActRelationshipCheckpoint code) { + if (code == V3ActRelationshipCheckpoint.B) + return "B"; + if (code == V3ActRelationshipCheckpoint.E) + return "E"; + if (code == V3ActRelationshipCheckpoint.S) + return "S"; + if (code == V3ActRelationshipCheckpoint.T) + return "T"; + if (code == V3ActRelationshipCheckpoint.X) + return "X"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoin.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoin.java new file mode 100644 index 00000000000..e8342e54003 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoin.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActRelationshipJoin { + + /** + * Detach this branch from the other branches so it will not be resynchronized with the other branches. + */ + D, + /** + * When all other concurrent branches are terminated, interrupt and discontinue this branch. + */ + K, + /** + * Wait for this branch to terminate. + */ + W, + /** + * Wait for any one of the branches in the set of exclusive wait branches to terminate, then discontinue all the other exclusive wait branches. + */ + X, + /** + * added to help the parsers + */ + NULL; + public static V3ActRelationshipJoin fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return D; + if ("K".equals(codeString)) + return K; + if ("W".equals(codeString)) + return W; + if ("X".equals(codeString)) + return X; + throw new Exception("Unknown V3ActRelationshipJoin code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case D: return "D"; + case K: return "K"; + case W: return "W"; + case X: return "X"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActRelationshipJoin"; + } + public String getDefinition() { + switch (this) { + case D: return "Detach this branch from the other branches so it will not be resynchronized with the other branches."; + case K: return "When all other concurrent branches are terminated, interrupt and discontinue this branch."; + case W: return "Wait for this branch to terminate."; + case X: return "Wait for any one of the branches in the set of exclusive wait branches to terminate, then discontinue all the other exclusive wait branches."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case D: return "detached"; + case K: return "kill"; + case W: return "wait"; + case X: return "exclusive wait"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoinEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoinEnumFactory.java new file mode 100644 index 00000000000..ca8564b9286 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipJoinEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActRelationshipJoinEnumFactory implements EnumFactory { + + public V3ActRelationshipJoin fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return V3ActRelationshipJoin.D; + if ("K".equals(codeString)) + return V3ActRelationshipJoin.K; + if ("W".equals(codeString)) + return V3ActRelationshipJoin.W; + if ("X".equals(codeString)) + return V3ActRelationshipJoin.X; + throw new IllegalArgumentException("Unknown V3ActRelationshipJoin code '"+codeString+"'"); + } + + public String toCode(V3ActRelationshipJoin code) { + if (code == V3ActRelationshipJoin.D) + return "D"; + if (code == V3ActRelationshipJoin.K) + return "K"; + if (code == V3ActRelationshipJoin.W) + return "W"; + if (code == V3ActRelationshipJoin.X) + return "X"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplit.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplit.java new file mode 100644 index 00000000000..0384f8b5390 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplit.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActRelationshipSplit { + + /** + * The pre-condition associated with the branch is evaluated once and if true the branch may be entered. All other exclusive branches compete with each other and only one will be selected. This implements a COND, IF and CASE conditionals, or "XOR-split." The order in which the branches are considered may be specified in the priorityNumber attribute. + */ + E1, + /** + * A branch is selected as soon as the pre-condition associated with the branch evaluates to true. If the condition is false, the branch may be entered later, when the condition turns true. All other exclusive branches compete with each other and only one will be selected. Each waiting branch executes in parallel with the default join code wait (see below). The order in which the branches are considered may be specified in the Service_relationship.priority_nmb. + */ + EW, + /** + * A branch is executed if its associated preconditions permit. If associated preconditions do not permit, the branch is dropped. Inclusive branches are not suppressed and do not suppress other branches. + */ + I1, + /** + * A branch is executed as soon as its associated conditions permit. If the condition is false, the branch may be entered later, when the condition turns true. Inclusive branches are not suppressed and do not suppress other branches. Each waiting branch executes in parallel with the default join code wait (see below). + */ + IW, + /** + * added to help the parsers + */ + NULL; + public static V3ActRelationshipSplit fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("E1".equals(codeString)) + return E1; + if ("EW".equals(codeString)) + return EW; + if ("I1".equals(codeString)) + return I1; + if ("IW".equals(codeString)) + return IW; + throw new Exception("Unknown V3ActRelationshipSplit code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case E1: return "E1"; + case EW: return "EW"; + case I1: return "I1"; + case IW: return "IW"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActRelationshipSplit"; + } + public String getDefinition() { + switch (this) { + case E1: return "The pre-condition associated with the branch is evaluated once and if true the branch may be entered. All other exclusive branches compete with each other and only one will be selected. This implements a COND, IF and CASE conditionals, or 'XOR-split.' The order in which the branches are considered may be specified in the priorityNumber attribute."; + case EW: return "A branch is selected as soon as the pre-condition associated with the branch evaluates to true. If the condition is false, the branch may be entered later, when the condition turns true. All other exclusive branches compete with each other and only one will be selected. Each waiting branch executes in parallel with the default join code wait (see below). The order in which the branches are considered may be specified in the Service_relationship.priority_nmb."; + case I1: return "A branch is executed if its associated preconditions permit. If associated preconditions do not permit, the branch is dropped. Inclusive branches are not suppressed and do not suppress other branches."; + case IW: return "A branch is executed as soon as its associated conditions permit. If the condition is false, the branch may be entered later, when the condition turns true. Inclusive branches are not suppressed and do not suppress other branches. Each waiting branch executes in parallel with the default join code wait (see below)."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case E1: return "exclusive try once"; + case EW: return "exclusive wait"; + case I1: return "inclusive try once"; + case IW: return "inclusive wait"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplitEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplitEnumFactory.java new file mode 100644 index 00000000000..0b61906082c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSplitEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActRelationshipSplitEnumFactory implements EnumFactory { + + public V3ActRelationshipSplit fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("E1".equals(codeString)) + return V3ActRelationshipSplit.E1; + if ("EW".equals(codeString)) + return V3ActRelationshipSplit.EW; + if ("I1".equals(codeString)) + return V3ActRelationshipSplit.I1; + if ("IW".equals(codeString)) + return V3ActRelationshipSplit.IW; + throw new IllegalArgumentException("Unknown V3ActRelationshipSplit code '"+codeString+"'"); + } + + public String toCode(V3ActRelationshipSplit code) { + if (code == V3ActRelationshipSplit.E1) + return "E1"; + if (code == V3ActRelationshipSplit.EW) + return "EW"; + if (code == V3ActRelationshipSplit.I1) + return "I1"; + if (code == V3ActRelationshipSplit.IW) + return "IW"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubset.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubset.java new file mode 100644 index 00000000000..3efd751ac9d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubset.java @@ -0,0 +1,195 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActRelationshipSubset { + + /** + * Used to indicate that the participation is a filtered subset of the total participations of the same type owned by the Act. + + Used when there is a need to limit the participations to the first, the last, the next or some other filtered subset. + */ + _PARTICIPATIONSUBSET, + /** + * An occurrence that is scheduled to occur in the future. An Act whose effective time is greater than 'now', where 'now' is the time the instance is authored. + */ + FUTURE, + /** + * Represents a 'summary' of all acts that are scheduled to occur in the future (whose effective time is greater than 'now' where is the time the instance is authored.). The effectiveTime represents the outer boundary of all occurrences, repeatNumber represents the total number of repetitions, etc. + */ + FUTSUM, + /** + * Restricted to the latest known occurrence that is scheduled to occur. The Act with the highest known effective time. + */ + LAST, + /** + * Restricted to the nearest recent known occurrence scheduled to occur in the future. The Act with the lowest effective time, still greater than 'now'. ('now' is the time the instance is authored.) + */ + NEXT, + /** + * An occurrence that occurred or was scheduled to occur in the past. An Act whose effective time is less than 'now'. ('now' is the time the instance is authored.) + */ + PAST, + /** + * Restricted to the earliest known occurrence that occurred or was scheduled to occur in the past. The Act with the lowest effective time. ('now' is the time the instance is authored.) + */ + FIRST, + /** + * Represents a 'summary' of all acts that previously occurred or were scheduled to occur. The effectiveTime represents the outer boundary of all occurrences, repeatNumber represents the total number of repetitions, etc. ('now' is the time the instance is authored.) + */ + PREVSUM, + /** + * Restricted to the most recent known occurrence that occurred or was scheduled to occur in the past. The Act with the most recent effective time, still less than 'now'. ('now' is the time the instance is authored.) + */ + RECENT, + /** + * Represents a 'summary' of all acts that have occurred or were scheduled to occur and which are scheduled to occur in the future. The effectiveTime represents the outer boundary of all occurrences, repeatNumber represents the total number of repetitions, etc. + */ + SUM, + /** + * ActRelationshipExpectedSubset + */ + ACTRELATIONSHIPEXPECTEDSUBSET, + /** + * ActRelationshipPastSubset + */ + ACTRELATIONSHIPPASTSUBSET, + /** + * The occurrence whose value attribute is greater than all other occurrences at the time the instance is created. + */ + MAX, + /** + * The occurrence whose value attribute is less than all other occurrences at the time the instance is created. + */ + MIN, + /** + * added to help the parsers + */ + NULL; + public static V3ActRelationshipSubset fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ParticipationSubset".equals(codeString)) + return _PARTICIPATIONSUBSET; + if ("FUTURE".equals(codeString)) + return FUTURE; + if ("FUTSUM".equals(codeString)) + return FUTSUM; + if ("LAST".equals(codeString)) + return LAST; + if ("NEXT".equals(codeString)) + return NEXT; + if ("PAST".equals(codeString)) + return PAST; + if ("FIRST".equals(codeString)) + return FIRST; + if ("PREVSUM".equals(codeString)) + return PREVSUM; + if ("RECENT".equals(codeString)) + return RECENT; + if ("SUM".equals(codeString)) + return SUM; + if ("ActRelationshipExpectedSubset".equals(codeString)) + return ACTRELATIONSHIPEXPECTEDSUBSET; + if ("ActRelationshipPastSubset".equals(codeString)) + return ACTRELATIONSHIPPASTSUBSET; + if ("MAX".equals(codeString)) + return MAX; + if ("MIN".equals(codeString)) + return MIN; + throw new Exception("Unknown V3ActRelationshipSubset code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _PARTICIPATIONSUBSET: return "_ParticipationSubset"; + case FUTURE: return "FUTURE"; + case FUTSUM: return "FUTSUM"; + case LAST: return "LAST"; + case NEXT: return "NEXT"; + case PAST: return "PAST"; + case FIRST: return "FIRST"; + case PREVSUM: return "PREVSUM"; + case RECENT: return "RECENT"; + case SUM: return "SUM"; + case ACTRELATIONSHIPEXPECTEDSUBSET: return "ActRelationshipExpectedSubset"; + case ACTRELATIONSHIPPASTSUBSET: return "ActRelationshipPastSubset"; + case MAX: return "MAX"; + case MIN: return "MIN"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActRelationshipSubset"; + } + public String getDefinition() { + switch (this) { + case _PARTICIPATIONSUBSET: return "Used to indicate that the participation is a filtered subset of the total participations of the same type owned by the Act. \r\n\n Used when there is a need to limit the participations to the first, the last, the next or some other filtered subset."; + case FUTURE: return "An occurrence that is scheduled to occur in the future. An Act whose effective time is greater than 'now', where 'now' is the time the instance is authored."; + case FUTSUM: return "Represents a 'summary' of all acts that are scheduled to occur in the future (whose effective time is greater than 'now' where is the time the instance is authored.). The effectiveTime represents the outer boundary of all occurrences, repeatNumber represents the total number of repetitions, etc."; + case LAST: return "Restricted to the latest known occurrence that is scheduled to occur. The Act with the highest known effective time."; + case NEXT: return "Restricted to the nearest recent known occurrence scheduled to occur in the future. The Act with the lowest effective time, still greater than 'now'. ('now' is the time the instance is authored.)"; + case PAST: return "An occurrence that occurred or was scheduled to occur in the past. An Act whose effective time is less than 'now'. ('now' is the time the instance is authored.)"; + case FIRST: return "Restricted to the earliest known occurrence that occurred or was scheduled to occur in the past. The Act with the lowest effective time. ('now' is the time the instance is authored.)"; + case PREVSUM: return "Represents a 'summary' of all acts that previously occurred or were scheduled to occur. The effectiveTime represents the outer boundary of all occurrences, repeatNumber represents the total number of repetitions, etc. ('now' is the time the instance is authored.)"; + case RECENT: return "Restricted to the most recent known occurrence that occurred or was scheduled to occur in the past. The Act with the most recent effective time, still less than 'now'. ('now' is the time the instance is authored.)"; + case SUM: return "Represents a 'summary' of all acts that have occurred or were scheduled to occur and which are scheduled to occur in the future. The effectiveTime represents the outer boundary of all occurrences, repeatNumber represents the total number of repetitions, etc."; + case ACTRELATIONSHIPEXPECTEDSUBSET: return "ActRelationshipExpectedSubset"; + case ACTRELATIONSHIPPASTSUBSET: return "ActRelationshipPastSubset"; + case MAX: return "The occurrence whose value attribute is greater than all other occurrences at the time the instance is created."; + case MIN: return "The occurrence whose value attribute is less than all other occurrences at the time the instance is created."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _PARTICIPATIONSUBSET: return "ParticipationSubset"; + case FUTURE: return "expected future"; + case FUTSUM: return "future summary"; + case LAST: return "expected last"; + case NEXT: return "expected next"; + case PAST: return "previous"; + case FIRST: return "first known"; + case PREVSUM: return "previous summary"; + case RECENT: return "most recent"; + case SUM: return "summary"; + case ACTRELATIONSHIPEXPECTEDSUBSET: return "ActRelationshipExpectedSubset"; + case ACTRELATIONSHIPPASTSUBSET: return "ActRelationshipPastSubset"; + case MAX: return "maximum"; + case MIN: return "minimum"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubsetEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubsetEnumFactory.java new file mode 100644 index 00000000000..1df2bf3e0a6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipSubsetEnumFactory.java @@ -0,0 +1,107 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActRelationshipSubsetEnumFactory implements EnumFactory { + + public V3ActRelationshipSubset fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ParticipationSubset".equals(codeString)) + return V3ActRelationshipSubset._PARTICIPATIONSUBSET; + if ("FUTURE".equals(codeString)) + return V3ActRelationshipSubset.FUTURE; + if ("FUTSUM".equals(codeString)) + return V3ActRelationshipSubset.FUTSUM; + if ("LAST".equals(codeString)) + return V3ActRelationshipSubset.LAST; + if ("NEXT".equals(codeString)) + return V3ActRelationshipSubset.NEXT; + if ("PAST".equals(codeString)) + return V3ActRelationshipSubset.PAST; + if ("FIRST".equals(codeString)) + return V3ActRelationshipSubset.FIRST; + if ("PREVSUM".equals(codeString)) + return V3ActRelationshipSubset.PREVSUM; + if ("RECENT".equals(codeString)) + return V3ActRelationshipSubset.RECENT; + if ("SUM".equals(codeString)) + return V3ActRelationshipSubset.SUM; + if ("ActRelationshipExpectedSubset".equals(codeString)) + return V3ActRelationshipSubset.ACTRELATIONSHIPEXPECTEDSUBSET; + if ("ActRelationshipPastSubset".equals(codeString)) + return V3ActRelationshipSubset.ACTRELATIONSHIPPASTSUBSET; + if ("MAX".equals(codeString)) + return V3ActRelationshipSubset.MAX; + if ("MIN".equals(codeString)) + return V3ActRelationshipSubset.MIN; + throw new IllegalArgumentException("Unknown V3ActRelationshipSubset code '"+codeString+"'"); + } + + public String toCode(V3ActRelationshipSubset code) { + if (code == V3ActRelationshipSubset._PARTICIPATIONSUBSET) + return "_ParticipationSubset"; + if (code == V3ActRelationshipSubset.FUTURE) + return "FUTURE"; + if (code == V3ActRelationshipSubset.FUTSUM) + return "FUTSUM"; + if (code == V3ActRelationshipSubset.LAST) + return "LAST"; + if (code == V3ActRelationshipSubset.NEXT) + return "NEXT"; + if (code == V3ActRelationshipSubset.PAST) + return "PAST"; + if (code == V3ActRelationshipSubset.FIRST) + return "FIRST"; + if (code == V3ActRelationshipSubset.PREVSUM) + return "PREVSUM"; + if (code == V3ActRelationshipSubset.RECENT) + return "RECENT"; + if (code == V3ActRelationshipSubset.SUM) + return "SUM"; + if (code == V3ActRelationshipSubset.ACTRELATIONSHIPEXPECTEDSUBSET) + return "ActRelationshipExpectedSubset"; + if (code == V3ActRelationshipSubset.ACTRELATIONSHIPPASTSUBSET) + return "ActRelationshipPastSubset"; + if (code == V3ActRelationshipSubset.MAX) + return "MAX"; + if (code == V3ActRelationshipSubset.MIN) + return "MIN"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipType.java new file mode 100644 index 00000000000..a60fc409811 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipType.java @@ -0,0 +1,1491 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActRelationshipType { + + /** + * Description: A directed association between a source Act and a target Act. + + + Usage Note: This code should never be transmitted in an instance as the value of ActRelationship.typeCode (attribute) + */ + ART, + /** + * ActClassTemporallyPertains + */ + _ACTCLASSTEMPORALLYPERTAINS, + /** + * Codes that describe the relationship between an Act and a financial instrument such as a financial transaction, account or invoice element. + */ + _ACTRELATIONSHIPACCOUNTING, + /** + * Expresses values for describing the relationship relationship between an InvoiceElement or InvoiceElementGroup and a billable act. + */ + _ACTRELATIONSHIPCOSTTRACKING, + /** + * A relationship that provides an ability to associate a financial transaction (target) as a charge to a clinical act (source). A clinical act may have a charge associated with the execution or delivery of the service. + + The financial transaction will define the charge (bill) for delivery or performance of the service. + + Charges and costs are distinct terms. A charge defines what is charged or billed to another organization or entity within an organization. The cost defines what it costs an organization to perform or deliver a service or product. + */ + CHRG, + /** + * A relationship that provides an ability to associate a financial transaction (target) as a cost to a clinical act (source). A clinical act may have an inherit cost associated with the execution or delivery of the service. + + The financial transaction will define the cost of delivery or performance of the service. + + Charges and costs are distinct terms. A charge defines what is charged or billed to another organization or entity within an organization. The cost defines what it costs an organization to perform or deliver a service or product. + */ + COST, + /** + * Expresses values for describing the relationship between a FinancialTransaction and an Account. + */ + _ACTRELATIONSHIPPOSTING, + /** + * A credit relationship ties a financial transaction (target) to an account (source). A credit, once applied (posted), may have either a positive or negative effect on the account balance, depending on the type of account. An asset account credit will decrease the account balance. A non-asset account credit will decrease the account balance. + */ + CREDIT, + /** + * A debit relationship ties a financial transaction (target) to an account (source). A debit, once applied (posted), may have either a positive or negative effect on the account balance, depending on the type of account. An asset account debit will increase the account balance. A non-asset account debit will decrease the account balance. + */ + DEBIT, + /** + * Specifies under what circumstances (target Act) the source-Act may, must, must not or has occurred + */ + _ACTRELATIONSHIPCONDITIONAL, + /** + * A contraindication is just a negation of a reason, i.e. it gives a condition under which the action is not to be done. Both, source and target can be any kind of service; target service is in criterion mood. How the strength of a contraindication is expressed (e.g., relative, absolute) is left as an open issue. The priorityNumber attribute could be used. + */ + CIND, + /** + * A requirement to be true before a service is performed. The target can be any service in criterion mood. For multiple pre-conditions a conjunction attribute (AND, OR, XOR) is applicable. + */ + PRCN, + /** + * Description: The reason or rationale for a service. A reason link is weaker than a trigger, it only suggests that some service may be or might have been a reason for some action, but not that this reason requires/required the action to be taken. Also, as opposed to the trigger, there is no strong timely relation between the reason and the action. As well as providing various types of information about the rationale for a service, the RSON act relationship is routinely used between a SBADM act and an OBS act to describe the indication for use of a medication. Child concepts may be used to describe types of indication. + + + Discussion: In prior releases, the code "SUGG" (suggests) was expressed as "an inversion of the reason link." That code has been retired in favor of the inversion indicator that is an attribute of ActRelationship. + */ + RSON, + /** + * Definition: The source act is performed to block the effects of the target act. This act relationship should be used when describing near miss type incidents where potential harm could have occurred, but the action described in the source act blocked the potential harmful effects of the incident actually occurring. + */ + BLOCK, + /** + * Description: The source act is intended to help establish the presence of a (an adverse) situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature. + */ + DIAG, + /** + * Description: The source act is intented to provide immunity against the effects of the target act (the target act describes an infectious disease) + */ + IMM, + /** + * Description: The source act is intended to provide active immunity against the effects of the target act (the target act describes an infectious disease) + */ + ACTIMM, + /** + * Description: The source act is intended to provide passive immunity against the effects of the target act (the target act describes an infectious disease). + */ + PASSIMM, + /** + * The source act removes or lessens the occurrence or effect of the target act. + */ + MITGT, + /** + * Definition: The source act is performed to recover from the effects of the target act. + */ + RCVY, + /** + * Description: The source act is intended to reduce the risk of of an adverse situation to emerge as described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature. + */ + PRYLX, + /** + * Description: The source act is intended to improve a pre-existing adverse situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature. + */ + TREAT, + /** + * Description: The source act is intended to offer an additional treatment for the management or cure of a pre-existing adverse situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature. It is not a requirement that the non-adjunctive treatment is explicitly specified. + */ + ADJUNCT, + /** + * Description: The source act is intended to provide long term maintenance improvement or management of a pre-existing adverse situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature. + */ + MTREAT, + /** + * Description: The source act is intended to provide palliation for the effects of the target act. + */ + PALLTREAT, + /** + * Description: The source act is intented to provide symptomatic relief for the effects of the target act. + */ + SYMP, + /** + * A pre-condition that if true should result in the source Act being executed. The target is in typically in criterion mood. When reported after the fact (i.e. the criterion has been met) it may be in Event mood. A delay between the trigger and the triggered action can be specified. + + + Discussion: This includes the concept of a required act for a service or financial instrument such as an insurance plan or policy. In such cases, the trigger is the occurrence of a specific condition such as coverage limits being exceeded. + */ + TRIG, + /** + * Abstract collector for ActRelationhsip types that relate two acts by their timing. + */ + _ACTRELATIONSHIPTEMPORALLYPERTAINS, + /** + * Abstract collector for ActRelationship types that relate two acts by their approximate timing. + */ + _ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES, + /** + * A relationship in which the source act's effective time ends near the end of the target act's effective time. Near is defined separately as a time interval. + + + Usage Note: Inverse code is ENS + */ + ENE, + /** + * A relationship in which the source act's effective time ends with the end of the target act's effective time. + + + UsageNote: This code is reflexive. Therefore its inverse code is itself. + */ + ECW, + /** + * A relationship in which the source act's effective time is the same as the target act's effective time. + + + UsageNote: This code is reflexive. Therefore its inverse code is itself. + */ + CONCURRENT, + /** + * The source Act starts before the start of the target Act, and ends with the target Act. + + + UsageNote: Inverse code is SASECWE + */ + SBSECWE, + /** + * A relationship in which the source act's effective time ends near the start of the target act's effective time. Near is defined separately as a time interval. + + + Usage Note: Inverse code is ENE + */ + ENS, + /** + * The source Act ends when the target act starts (i.e. if we say "ActOne ECWS ActTwo", it means that ActOne ends when ActTwo starts, therefore ActOne is the source and ActTwo is the target). + + + UsageNote: Inverse code is SCWE + */ + ECWS, + /** + * A relationship in which the source act's effective time starts near the end of the target act's effective time. Near is defined separately as a time interval. + + + Usage Note: Inverse code is SNS + */ + SNE, + /** + * The source Act starts when the target act ends (i.e. if we say "ActOne SCWE ActTwo", it means that ActOne starts when ActTwo ends, therefore ActOne is the source and ActTwo is the target). + + + UsageNote: Inverse code is SBSECWS + */ + SCWE, + /** + * A relationship in which the source act's effective time starts near the start of the target act's effective time. Near is defined separately as a time interval. + + + Usage Note: Inverse code is SNE + */ + SNS, + /** + * A relationship in which the source act's effective time starts with the start of the target act's effective time. + + + UsageNote: This code is reflexive. Therefore its inverse code is itself. + */ + SCW, + /** + * The source Act starts with.the target Act and ends before the end of the target Act. + + + UsageNote: Inverse code is SCWSEAE + */ + SCWSEBE, + /** + * The source Act starts with the target Act, and ends after the end of the target Act. + */ + SCWSEAE, + /** + * A relationship in which the source act ends after the target act starts. + + + UsageNote: Inverse code is SBE + */ + EAS, + /** + * A relationship in which the source act ends after the target act ends. + + + UsageNote: Inverse code is EBE + */ + EAE, + /** + * The source Act starts after start of the target Act and ends after end of the target Act. + + + UsageNote: Inverse code is SBSEBE + */ + SASEAE, + /** + * The source Act contains the end of the target Act. + + + UsageNote: Inverse code is EDU + */ + SBEEAE, + /** + * The source Act start after the start of the target Act, and contains the end of the target Act. + + + UsageNote: Inverse code is SBSEASEBE + */ + SASSBEEAS, + /** + * The source Act contains the time of the target Act. + + + UsageNote: Inverse code is DURING + */ + SBSEAE, + /** + * The source Act starts after the start of the target Act (i.e. if we say "ActOne SAS ActTwo", it means that ActOne starts after the start of ActTwo, therefore ActOne is the source and ActTwo is the target). + + + UsageNote: Inverse code is SBS + */ + SAS, + /** + * A relationship in which the source act starts after the target act ends. + + + UsageNote: Inverse code is EBS + */ + SAE, + /** + * A relationship in which the source act's effective time is wholly within the target act's effective time (including end points, as defined in the act's effective times) + + + UsageNote: Inverse code is SBSEAE + */ + DURING, + /** + * The source Act starts after start of the target Act, and ends with the target Act. + + + UsageNote: Inverse code is SBSECWE + */ + SASECWE, + /** + * A relationship in which the source act's effective time ends after or concurrent with the start of the target act's effective time. + + + Usage Note: Inverse code is EBSORECWS + */ + EASORECWS, + /** + * A relationship in which the source act's effective time ends after or concurrent with the end of the target act's effective time. + + + Usage Note: Inverse code is EBEORECW + */ + EAEORECW, + /** + * The source Act is independent of the time of the target Act. + + + UsageNote: This code is reflexive. Therefore its inverse code is itself. + */ + INDEPENDENT, + /** + * A relationship in which the source act's effective time starts after or concurrent with the end of the target act's effective time. + + + Usage Note: Inverse code is SBEORSCWE + */ + SAEORSCWE, + /** + * A relationship in which the source act's effective time starts after or concurrent with the start of the target act's effective time. + + + Usage Note: Inverse code is SBSORSCW + */ + SASORSCW, + /** + * A relationship in which the source act's effective time starts before or concurrent with the end of the target act's effective time. + + + Usage Note: Inverse code is SAEORSCWE + */ + SBEORSCWE, + /** + * A relationship in which the source act's effective time overlaps the target act's effective time in any way. + + + UsageNote: This code is reflexive. Therefore its inverse code is itself. + */ + OVERLAP, + /** + * A relationship in which the source act ends within the target act's effective time (including end points, as defined in the act's effective times) + + + UsageNote: Inverse code is SBEEAE + */ + EDU, + /** + * The source Act contains the start of the target Act, and ends before the end of the target Act. + + + UsageNote: Inverse code is SASSBEEAS + */ + SBSEASEBE, + /** + * The source Act contains the start of the target Act. + + + UsageNote: Inverse code is SDU + */ + SBSEAS, + /** + * A relationship in which the source act starts within the target act's effective time (including end points, as defined in the act's effective times) + + + UsageNote: Inverse code is SBSEAS + */ + SDU, + /** + * The source Act starts before the end of the target Act (i.e. if we say "ActOne SBE ActTwo", it means that ActOne starts before the end of ActTwo, therefore ActOne is the source and ActTwo is the target). + + + UsageNote: Inverse code is EAS + */ + SBE, + /** + * The source Act ends before the end of the target Act (i.e. if we say "ActOne EBE ActTwo", it means that ActOne ends before the end of ActTwo, therefore ActOne is the source and ActTwo is the target). + + + UsageNote: Inverse code is EAE + */ + EBE, + /** + * The source Act starts before the start of the target Act, and ends before the end of the target Act. + + + UsageNote: Inverse code is SASEAE + */ + SBSEBE, + /** + * A relationship in which the source act's effective time ends before or concurrent with the start of the target act's effective time. + + + Usage Note: Inverse code is EASORECWS + */ + EBSORECWS, + /** + * A relationship in which the source act ends before the target act starts. + + + UsageNote: Inverse code is SAE + */ + EBS, + /** + * A relationship in which the source act's effective time ends before or concurrent with the end of the target act's effective time. + + + Usage Note: Inverse code is EAEORECW + */ + EBEORECW, + /** + * A relationship in which the source act's effective time starts before or concurrent with the start of the target act's effective time. + + + Usage Note: Inverse code is SASORSCW + */ + SBSORSCW, + /** + * A relationship in which the source act begins before the target act begins. + + + UsageNote: Inverse code is SAS + */ + SBS, + /** + * A relationship in which the target act authorizes or certifies the source act. + */ + AUTH, + /** + * Description: An assertion that an act was the cause of another act.This is stronger and more specific than the support link. The source (cause) is typically an observation, but may be any act, while the target may be any act. + + + Examples: + + + + a growth of Staphylococcus aureus may be considered the cause of an abscess + contamination of the infusion bag was deemed to be the cause of the infection that the patient experienced + lack of staff on the shift was deemed to be a supporting factor (proximal factor) causing the patient safety incident where the patient fell out of bed because the bed-sides had not been put up which caused the night patient to fall out of bed + */ + CAUS, + /** + * The target act is a component of the source act, with no semantics regarding composition or aggregation implied. + */ + COMP, + /** + * A relationship from an Act to a Control Variable. For example, if a Device makes an Observation, this relates the Observation to its Control Variables documenting the device's settings that influenced the observation. + */ + CTRLV, + /** + * The target Acts are aggregated by the source Act. Target Acts may have independent existence, participate in multiple ActRelationships, and do not contribute to the meaning of the source. + + + UsageNotes: This explicitly represents the conventional notion of aggregation. The target Act is part of a collection of Acts (no implication is made of cardinality, a source of Acts may contain zero, one, or more member target Acts). + + It is expected that this will be primarily used with _ActClassRecordOrganizer, BATTERY, and LIST + */ + MBR, + /** + * A collection of sub-services as steps or subtasks performed for the source service. Services may be performed sequentially or concurrently. + + + UsageNotes: Sequence of steps may be indicated by use of _ActRelationshipTemporallyPertains, as well as via ActRelationship.sequenceNumber, ActRelationship.pauseQuantity, Target.priorityCode. + + + OpenIssue: Need Additional guidelines on when each approach should be used. + */ + STEP, + /** + * The relationship that links to a Transportation Act (target) from another Act (source) indicating that the subject of the source Act entered into the source Act by means of the target Transportation act. + */ + ARR, + /** + * The relationship that links to a Transportation Act (target) from another Act (source) indicating that the subject of the source Act departed from the source Act by means of the target Transportation act. + */ + DEP, + /** + * The source Act is a composite of the target Acts. The target Acts do not have an existence independent of the source Act. + + + UsageNote: In UML 1.1, this is a "composition" defined as: + "A form of aggregation with strong ownership and coincident lifetime as part of the whole. Parts with non-fixed multiplicity may be created after the composite itself, but once created they live and die with it (i.e., they share lifetimes). Such parts can also be explicitly removed before the death of the composite. Composition may be recursive." + */ + PART, + /** + * A relationship in which the source act is covered by or is under the authority of a target act. A financial instrument such as an Invoice Element is covered by one or more specific instances of an Insurance Policy. + */ + COVBY, + /** + * Associates a derived Act with its input parameters. E.G., an anion-gap observation can be associated as being derived from given sodium-, (potassium-,), chloride-, and bicarbonate-observations. The narrative content (Act.text) of a source act is wholly machine-derived from the collection of target acts. + */ + DRIV, + /** + * Expresses an association that links two instances of the same act over time, indicating that the instance are part of the same episode, e.g. linking two condition nodes for episode of illness; linking two encounters for episode of encounter. + */ + ELNK, + /** + * Indicates that the target Act provides evidence in support of the action represented by the source Act. The target is not a 'reason' for the source act, but rather gives supporting information on why the source act is an appropriate course of action. Possible targets might be clinical trial results, journal articles, similar successful therapies, etc. + + + Rationale: Provides a mechanism for conveying clinical justification for non-approved or otherwise non-traditional therapies. + */ + EVID, + /** + * Description:The source act is aggravated by the target act. (Example "chest pain" EXACBY "exercise") + */ + EXACBY, + /** + * This is the inversion of support. Used to indicate that a given observation is explained by another observation or condition. + */ + EXPL, + /** + * the target act documents a set of circumstances (events, risks) which prevent successful completion, or degradation of quality of, the source Act. + + + UsageNote: This provides the semantics to document barriers to care + */ + INTF, + /** + * Items located + */ + ITEMSLOC, + /** + * A relationship that limits or restricts the source act by the elements of the target act. For example, an authorization may be limited by a financial amount (up to $500). Target Act must be in EVN.CRIT mood. + */ + LIMIT, + /** + * Definition: Indicates that the attributes and associations of the target act provide metadata (for example, identifiers, authorship, etc.) for the source act. + + + Constraint: Source act must have either a mood code that is not "EVN" (event) or its "isCriterion" attribute must set to "true". Target act must be an Act with a mood code of EVN and with isCriterionInd attribute set to "true". + */ + META, + /** + * An assertion that a new observation may be the manifestation of another existing observation or action. This assumption is attributed to the same actor who asserts the manifestation. This is stronger and more specific than an inverted support link. For example, an agitated appearance can be asserted to be the manifestation (effect) of a known hyperthyroxia. This expresses that one might not have realized a symptom if it would not be a common manifestation of a known condition. The target (cause) may be any service, while the source (manifestation) must be an observation. + */ + MFST, + /** + * Used to assign a "name" to a condition thread. Source is a condition node, target can be any service. + */ + NAME, + /** + * An observation that should follow or does actually follow as a result or consequence of a condition or action (sometimes called "post-conditional".) Target must be an observation as a goal, risk or any criterion. For complex outcomes a conjunction attribute (AND, OR, XOR) can be used. An outcome link is often inverted to describe an outcome assessment. + */ + OUTC, + /** + * The target act is a desired outcome of the source act. Source is any act (typically an intervention). Target must be an observation in criterion mood. + */ + _ACTRELATIONSIPOBJECTIVE, + /** + * A desired state that a service action aims to maintain. E.g., keep systolic blood pressure between 90 and 110 mm Hg. Source is an intervention service. Target must be an observation in criterion mood. + */ + OBJC, + /** + * A desired outcome that a service action aims to meet finally. Source is any service (typically an intervention). Target must be an observation in criterion mood. + */ + OBJF, + /** + * A goal that one defines given a patient's health condition. Subsequently planned actions aim to meet that goal. Source is an observation or condition node, target must be an observation in goal mood. + */ + GOAL, + /** + * A noteworthy undesired outcome of a patient's condition that is either likely enough to become an issue or is less likely but dangerous enough to be addressed. + */ + RISK, + /** + * This is a very unspecific relationship from one item of clinical information to another. It does not judge about the role the pertinent information plays. + */ + PERT, + /** + * A relationship in which the target act is a predecessor instance to the source act. Generally each of these instances is similar, but no identical. In healthcare coverage it is used to link a claim item to a previous claim item that might have claimed for the same set of services. + */ + PREV, + /** + * A relationship in which the target act is referred to by the source act. This permits a simple reference relationship that distinguishes between the referent and the referee. + */ + REFR, + /** + * Indicates that the source act makes use of (or will make use of) the information content of the target act. + + + UsageNotes: A usage relationship only makes sense if the target act is authored and occurs independently of the source act. Otherwise a simpler relationship such as COMP would be appropriate. + + + Rationale: There is a need when defining a clinical trial protocol to indicate that the protocol makes use of other protocol or treatment specifications. This is stronger than the assertion of "references". References may exist without usage, and in a clinical trial protocol is common to assert both: what other specifications does this trial use and what other specifications does it merely reference. + */ + USE, + /** + * Reference ranges are essentially descriptors of a class of result values assumed to be "normal", "abnormal", or "critical." Those can vary by sex, age, or any other criterion. Source and target are observations, the target is in criterion mood. This link type can act as a trigger in case of alarms being triggered by critical results. + */ + REFV, + /** + * Description:The source act is wholly or partially alleviated by the target act. (Example "chest pain" RELVBY "sublingual nitroglycerin administration") + */ + RELVBY, + /** + * An act relationship indicating that the source act follows the target act. The source act should in principle represent the same kind of act as the target. Source and target need not have the same mood code (mood will often differ). The target of a sequel is called antecedent. Examples for sequel relationships are: revision, transformation, derivation from a prototype (as a specialization is a derivation of a generalization), followup, realization, instantiation. + */ + SEQL, + /** + * An addendum (source) to an existing service object (target), containing supplemental information. The addendum is itself an original service object linked to the supplemented service object. The supplemented service object remains in place and its content and status are unaltered. + */ + APND, + /** + * Indicates that the target observation(s) provide an initial reference for the source observation or observation group. + + + UsageConstraints: Both source and target must be Observations or specializations thereof. + */ + BSLN, + /** + * Description:The source act complies with, adheres to, conforms to, or is permissible under (in whole or in part) the policy, contract, agreement, law, conformance criteria, certification guidelines or requirement conveyed by the target act. + + Examples for compliance relationships are: audits of adherence with a security policy, certificate of conformance to system certification requirements, or consent directive in compliance with or permissible under a privacy policy. + */ + COMPLY, + /** + * The source act documents the target act. + */ + DOC, + /** + * The source act fulfills (in whole or in part) the target act. Source act must be in a mood equal or more actual than the target act. + */ + FLFS, + /** + * The source act is a single occurrence of a repeatable target act. The source and target act can be in any mood on the "completion track" but the source act must be as far as or further along the track than the target act (i.e., the occurrence of an intent can be an event but not vice versa). + */ + OCCR, + /** + * Relates either an appointment request or an appointment to the order for the service being scheduled. + */ + OREF, + /** + * Associates a specific time (and associated resources) with a scheduling request or other intent. + */ + SCH, + /** + * The generalization relationship can be used to express categorical knowledge about services (e.g., amilorid, triamterene, and spironolactone have the common generalization potassium sparing diuretic). + */ + GEN, + /** + * A goal-evaluation links an observation (intent or actual) to a goal to indicate that the observation evaluates the goal. Given the goal and the observation, a "goal distance" (e.g., goal to observation) can be "calculated" and need not be sent explicitly. + */ + GEVL, + /** + * Used to capture the link between a potential service ("master" or plan) and an actual service, where the actual service instantiates the potential service. The instantiation may override the master's defaults. + */ + INST, + /** + * Definition: Used to link a newer version or 'snapshot' of a business object (source) to an older version or 'snapshot' of the same business object (target). + + + Usage:The identifier of the Act should be the same for both source and target. If the identifiers are distinct, RPLC should be used instead. + + Name from source to target = "modifiesPrior" + + Name from target to source = "modifiesByNew" + */ + MOD, + /** + * A trigger-match links an actual service (e.g., an observation or procedure that took place) with a service in criterion mood. For example if the trigger is "observation of pain" and pain is actually observed, and if that pain-observation caused the trigger to fire, that pain-observation can be linked with the trigger. + */ + MTCH, + /** + * A relationship between a source Act that provides more detailed properties to the target Act. + + The source act thus is a specialization of the target act, but instead of mentioning all the inherited properties it only mentions new property bindings or refinements. + + The typical use case is to specify certain alternative variants of one kind of Act. The priorityNumber attribute is used to weigh refinements as preferred over other alternative refinements. + + Example: several routing options for a drug are specified as one SubstanceAdministration for the general treatment with attached refinements for the various routing options. + */ + OPTN, + /** + * Description:A relationship in which the target act is carried out to determine whether an effect attributed to the source act can be recreated. + */ + RCHAL, + /** + * A relationship between a source Act that seeks to reverse or undo the action of the prior target Act. + + Example: A posted financial transaction (e.g., a debit transaction) was applied in error and must be reversed (e.g., by a credit transaction) the credit transaction is identified as an undo (or reversal) of the prior target transaction. + + Constraints: the "completion track" mood of the target Act must be equally or more "actual" than the source act. I.e., when the target act is EVN the source act can be EVN, or any INT. If the target act is INT, the source act can be INT. + */ + REV, + /** + * A replacement source act replaces an existing target act. The state of the target act being replaced becomes obselete, but the act is typically still retained in the system for historical reference. The source and target must be of the same type. + */ + RPLC, + /** + * Definition: A new act that carries forward the intention of the original act, but does not completely replace it. The status of the predecessor act must be 'completed'. The original act is the target act and the successor is the source act. + */ + SUCC, + /** + * A condition thread relationship specifically links condition nodes together to form a condition thread. The source is the new condition node and the target links to the most recent node of the existing condition thread. + */ + UPDT, + /** + * The source is an excerpt from the target. + */ + XCRPT, + /** + * The source is a direct quote from the target. + */ + VRXCRPT, + /** + * Used when the target Act is a transformation of the source Act. (For instance, used to show that a CDA document is a transformation of a DICOM SR document.) + */ + XFRM, + /** + * Used to indicate that an existing service is suggesting evidence for a new observation. The assumption of support is attributed to the same actor who asserts the observation. Source must be an observation, target may be any service (e.g., to indicate a status post). + */ + SPRT, + /** + * A specialization of "has support" (SPRT), used to relate a secondary observation to a Region of Interest on a multidimensional observation, if the ROI specifies the true boundaries of the secondary observation as opposed to only marking the approximate area. For example, if the start and end of an ST elevation episode is visible in an EKG, this relation would indicate the ROI bounds the "ST elevation" observation -- the ROI defines the true beginning and ending of the episode. Conversely, if a ROI simply contains ST elevation, but it does not define the bounds (start and end) of the episode, the more general "has support" relation is used. Likewise, if a ROI on an image defines the true bounds of a "1st degree burn", the relation "has bounded support" is used; but if the ROI only points to the approximate area of the burn, the general "has support" relation is used. + */ + SPRTBND, + /** + * Relates an Act to its subject Act that the first Act is primarily concerned with. + + Examples + + + + The first Act may be a ControlAct manipulating the subject Act + + + + The first act is a region of interest (ROI) that defines a region within the subject Act. + + + + The first act is a reporting or notification Act, that echos the subject Act for a specific new purpose. + + + + Constraints + + An Act may have multiple subject acts. + + Rationale + + The ActRelationshipType "has subject" is similar to the ParticipationType "subject", Acts that primarily operate on physical subjects use the Participation, those Acts that primarily operate on other Acts (other information) use the ActRelationship. + */ + SUBJ, + /** + * The target observation qualifies (refines) the semantics of the source observation. + + + UsageNote: This is not intended to replace concept refinement and qualification via vocabulary. It is used when there are multiple components which together provide the complete understanding of the source Act. + */ + QUALF, + /** + * An act that contains summary values for a list or set of subordinate acts. For example, a summary of transactions for a particular accounting period. + */ + SUMM, + /** + * Description:Indicates that the target Act represents the result of the source observation Act. + + + FormalConstraint: Source Act must be an Observation or specialization there-of. Source Act must not have the value attribute specified + + + UsageNote: This relationship allows the result of an observation to be fully expressed as RIM acts as opposed to being embedded in the value attribute. For example, sending a Document act as the result of an imaging observation, sending a list of Procedures and/or other acts as the result of a medical history observation. + + The valueNegationInd attribute on the source Act has the same semantics of "negated finding" when it applies to the target of a VALUE ActRelationship as it does to the value attribute. On the other hand, if the ActRelationship.negationInd is true for a VALUE ActRelationship, that means the specified observation does not have the indicated value but does not imply a negated finding. Because the semantics are extremely close, it is recommended that Observation.valueNegationInd be used, not ActRelationship.negationInd. + + + OpenIssue: The implications of negationInd on ActRelationship and the valueNegationind on Observation. + */ + VALUE, + /** + * added to help the parsers + */ + NULL; + public static V3ActRelationshipType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ART".equals(codeString)) + return ART; + if ("_ActClassTemporallyPertains".equals(codeString)) + return _ACTCLASSTEMPORALLYPERTAINS; + if ("_ActRelationshipAccounting".equals(codeString)) + return _ACTRELATIONSHIPACCOUNTING; + if ("_ActRelationshipCostTracking".equals(codeString)) + return _ACTRELATIONSHIPCOSTTRACKING; + if ("CHRG".equals(codeString)) + return CHRG; + if ("COST".equals(codeString)) + return COST; + if ("_ActRelationshipPosting".equals(codeString)) + return _ACTRELATIONSHIPPOSTING; + if ("CREDIT".equals(codeString)) + return CREDIT; + if ("DEBIT".equals(codeString)) + return DEBIT; + if ("_ActRelationshipConditional".equals(codeString)) + return _ACTRELATIONSHIPCONDITIONAL; + if ("CIND".equals(codeString)) + return CIND; + if ("PRCN".equals(codeString)) + return PRCN; + if ("RSON".equals(codeString)) + return RSON; + if ("BLOCK".equals(codeString)) + return BLOCK; + if ("DIAG".equals(codeString)) + return DIAG; + if ("IMM".equals(codeString)) + return IMM; + if ("ACTIMM".equals(codeString)) + return ACTIMM; + if ("PASSIMM".equals(codeString)) + return PASSIMM; + if ("MITGT".equals(codeString)) + return MITGT; + if ("RCVY".equals(codeString)) + return RCVY; + if ("PRYLX".equals(codeString)) + return PRYLX; + if ("TREAT".equals(codeString)) + return TREAT; + if ("ADJUNCT".equals(codeString)) + return ADJUNCT; + if ("MTREAT".equals(codeString)) + return MTREAT; + if ("PALLTREAT".equals(codeString)) + return PALLTREAT; + if ("SYMP".equals(codeString)) + return SYMP; + if ("TRIG".equals(codeString)) + return TRIG; + if ("_ActRelationshipTemporallyPertains".equals(codeString)) + return _ACTRELATIONSHIPTEMPORALLYPERTAINS; + if ("_ActRelationshipTemporallyPertainsApproximates".equals(codeString)) + return _ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES; + if ("ENE".equals(codeString)) + return ENE; + if ("ECW".equals(codeString)) + return ECW; + if ("CONCURRENT".equals(codeString)) + return CONCURRENT; + if ("SBSECWE".equals(codeString)) + return SBSECWE; + if ("ENS".equals(codeString)) + return ENS; + if ("ECWS".equals(codeString)) + return ECWS; + if ("SNE".equals(codeString)) + return SNE; + if ("SCWE".equals(codeString)) + return SCWE; + if ("SNS".equals(codeString)) + return SNS; + if ("SCW".equals(codeString)) + return SCW; + if ("SCWSEBE".equals(codeString)) + return SCWSEBE; + if ("SCWSEAE".equals(codeString)) + return SCWSEAE; + if ("EAS".equals(codeString)) + return EAS; + if ("EAE".equals(codeString)) + return EAE; + if ("SASEAE".equals(codeString)) + return SASEAE; + if ("SBEEAE".equals(codeString)) + return SBEEAE; + if ("SASSBEEAS".equals(codeString)) + return SASSBEEAS; + if ("SBSEAE".equals(codeString)) + return SBSEAE; + if ("SAS".equals(codeString)) + return SAS; + if ("SAE".equals(codeString)) + return SAE; + if ("DURING".equals(codeString)) + return DURING; + if ("SASECWE".equals(codeString)) + return SASECWE; + if ("EASORECWS".equals(codeString)) + return EASORECWS; + if ("EAEORECW".equals(codeString)) + return EAEORECW; + if ("INDEPENDENT".equals(codeString)) + return INDEPENDENT; + if ("SAEORSCWE".equals(codeString)) + return SAEORSCWE; + if ("SASORSCW".equals(codeString)) + return SASORSCW; + if ("SBEORSCWE".equals(codeString)) + return SBEORSCWE; + if ("OVERLAP".equals(codeString)) + return OVERLAP; + if ("EDU".equals(codeString)) + return EDU; + if ("SBSEASEBE".equals(codeString)) + return SBSEASEBE; + if ("SBSEAS".equals(codeString)) + return SBSEAS; + if ("SDU".equals(codeString)) + return SDU; + if ("SBE".equals(codeString)) + return SBE; + if ("EBE".equals(codeString)) + return EBE; + if ("SBSEBE".equals(codeString)) + return SBSEBE; + if ("EBSORECWS".equals(codeString)) + return EBSORECWS; + if ("EBS".equals(codeString)) + return EBS; + if ("EBEORECW".equals(codeString)) + return EBEORECW; + if ("SBSORSCW".equals(codeString)) + return SBSORSCW; + if ("SBS".equals(codeString)) + return SBS; + if ("AUTH".equals(codeString)) + return AUTH; + if ("CAUS".equals(codeString)) + return CAUS; + if ("COMP".equals(codeString)) + return COMP; + if ("CTRLV".equals(codeString)) + return CTRLV; + if ("MBR".equals(codeString)) + return MBR; + if ("STEP".equals(codeString)) + return STEP; + if ("ARR".equals(codeString)) + return ARR; + if ("DEP".equals(codeString)) + return DEP; + if ("PART".equals(codeString)) + return PART; + if ("COVBY".equals(codeString)) + return COVBY; + if ("DRIV".equals(codeString)) + return DRIV; + if ("ELNK".equals(codeString)) + return ELNK; + if ("EVID".equals(codeString)) + return EVID; + if ("EXACBY".equals(codeString)) + return EXACBY; + if ("EXPL".equals(codeString)) + return EXPL; + if ("INTF".equals(codeString)) + return INTF; + if ("ITEMSLOC".equals(codeString)) + return ITEMSLOC; + if ("LIMIT".equals(codeString)) + return LIMIT; + if ("META".equals(codeString)) + return META; + if ("MFST".equals(codeString)) + return MFST; + if ("NAME".equals(codeString)) + return NAME; + if ("OUTC".equals(codeString)) + return OUTC; + if ("_ActRelationsipObjective".equals(codeString)) + return _ACTRELATIONSIPOBJECTIVE; + if ("OBJC".equals(codeString)) + return OBJC; + if ("OBJF".equals(codeString)) + return OBJF; + if ("GOAL".equals(codeString)) + return GOAL; + if ("RISK".equals(codeString)) + return RISK; + if ("PERT".equals(codeString)) + return PERT; + if ("PREV".equals(codeString)) + return PREV; + if ("REFR".equals(codeString)) + return REFR; + if ("USE".equals(codeString)) + return USE; + if ("REFV".equals(codeString)) + return REFV; + if ("RELVBY".equals(codeString)) + return RELVBY; + if ("SEQL".equals(codeString)) + return SEQL; + if ("APND".equals(codeString)) + return APND; + if ("BSLN".equals(codeString)) + return BSLN; + if ("COMPLY".equals(codeString)) + return COMPLY; + if ("DOC".equals(codeString)) + return DOC; + if ("FLFS".equals(codeString)) + return FLFS; + if ("OCCR".equals(codeString)) + return OCCR; + if ("OREF".equals(codeString)) + return OREF; + if ("SCH".equals(codeString)) + return SCH; + if ("GEN".equals(codeString)) + return GEN; + if ("GEVL".equals(codeString)) + return GEVL; + if ("INST".equals(codeString)) + return INST; + if ("MOD".equals(codeString)) + return MOD; + if ("MTCH".equals(codeString)) + return MTCH; + if ("OPTN".equals(codeString)) + return OPTN; + if ("RCHAL".equals(codeString)) + return RCHAL; + if ("REV".equals(codeString)) + return REV; + if ("RPLC".equals(codeString)) + return RPLC; + if ("SUCC".equals(codeString)) + return SUCC; + if ("UPDT".equals(codeString)) + return UPDT; + if ("XCRPT".equals(codeString)) + return XCRPT; + if ("VRXCRPT".equals(codeString)) + return VRXCRPT; + if ("XFRM".equals(codeString)) + return XFRM; + if ("SPRT".equals(codeString)) + return SPRT; + if ("SPRTBND".equals(codeString)) + return SPRTBND; + if ("SUBJ".equals(codeString)) + return SUBJ; + if ("QUALF".equals(codeString)) + return QUALF; + if ("SUMM".equals(codeString)) + return SUMM; + if ("VALUE".equals(codeString)) + return VALUE; + throw new Exception("Unknown V3ActRelationshipType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ART: return "ART"; + case _ACTCLASSTEMPORALLYPERTAINS: return "_ActClassTemporallyPertains"; + case _ACTRELATIONSHIPACCOUNTING: return "_ActRelationshipAccounting"; + case _ACTRELATIONSHIPCOSTTRACKING: return "_ActRelationshipCostTracking"; + case CHRG: return "CHRG"; + case COST: return "COST"; + case _ACTRELATIONSHIPPOSTING: return "_ActRelationshipPosting"; + case CREDIT: return "CREDIT"; + case DEBIT: return "DEBIT"; + case _ACTRELATIONSHIPCONDITIONAL: return "_ActRelationshipConditional"; + case CIND: return "CIND"; + case PRCN: return "PRCN"; + case RSON: return "RSON"; + case BLOCK: return "BLOCK"; + case DIAG: return "DIAG"; + case IMM: return "IMM"; + case ACTIMM: return "ACTIMM"; + case PASSIMM: return "PASSIMM"; + case MITGT: return "MITGT"; + case RCVY: return "RCVY"; + case PRYLX: return "PRYLX"; + case TREAT: return "TREAT"; + case ADJUNCT: return "ADJUNCT"; + case MTREAT: return "MTREAT"; + case PALLTREAT: return "PALLTREAT"; + case SYMP: return "SYMP"; + case TRIG: return "TRIG"; + case _ACTRELATIONSHIPTEMPORALLYPERTAINS: return "_ActRelationshipTemporallyPertains"; + case _ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES: return "_ActRelationshipTemporallyPertainsApproximates"; + case ENE: return "ENE"; + case ECW: return "ECW"; + case CONCURRENT: return "CONCURRENT"; + case SBSECWE: return "SBSECWE"; + case ENS: return "ENS"; + case ECWS: return "ECWS"; + case SNE: return "SNE"; + case SCWE: return "SCWE"; + case SNS: return "SNS"; + case SCW: return "SCW"; + case SCWSEBE: return "SCWSEBE"; + case SCWSEAE: return "SCWSEAE"; + case EAS: return "EAS"; + case EAE: return "EAE"; + case SASEAE: return "SASEAE"; + case SBEEAE: return "SBEEAE"; + case SASSBEEAS: return "SASSBEEAS"; + case SBSEAE: return "SBSEAE"; + case SAS: return "SAS"; + case SAE: return "SAE"; + case DURING: return "DURING"; + case SASECWE: return "SASECWE"; + case EASORECWS: return "EASORECWS"; + case EAEORECW: return "EAEORECW"; + case INDEPENDENT: return "INDEPENDENT"; + case SAEORSCWE: return "SAEORSCWE"; + case SASORSCW: return "SASORSCW"; + case SBEORSCWE: return "SBEORSCWE"; + case OVERLAP: return "OVERLAP"; + case EDU: return "EDU"; + case SBSEASEBE: return "SBSEASEBE"; + case SBSEAS: return "SBSEAS"; + case SDU: return "SDU"; + case SBE: return "SBE"; + case EBE: return "EBE"; + case SBSEBE: return "SBSEBE"; + case EBSORECWS: return "EBSORECWS"; + case EBS: return "EBS"; + case EBEORECW: return "EBEORECW"; + case SBSORSCW: return "SBSORSCW"; + case SBS: return "SBS"; + case AUTH: return "AUTH"; + case CAUS: return "CAUS"; + case COMP: return "COMP"; + case CTRLV: return "CTRLV"; + case MBR: return "MBR"; + case STEP: return "STEP"; + case ARR: return "ARR"; + case DEP: return "DEP"; + case PART: return "PART"; + case COVBY: return "COVBY"; + case DRIV: return "DRIV"; + case ELNK: return "ELNK"; + case EVID: return "EVID"; + case EXACBY: return "EXACBY"; + case EXPL: return "EXPL"; + case INTF: return "INTF"; + case ITEMSLOC: return "ITEMSLOC"; + case LIMIT: return "LIMIT"; + case META: return "META"; + case MFST: return "MFST"; + case NAME: return "NAME"; + case OUTC: return "OUTC"; + case _ACTRELATIONSIPOBJECTIVE: return "_ActRelationsipObjective"; + case OBJC: return "OBJC"; + case OBJF: return "OBJF"; + case GOAL: return "GOAL"; + case RISK: return "RISK"; + case PERT: return "PERT"; + case PREV: return "PREV"; + case REFR: return "REFR"; + case USE: return "USE"; + case REFV: return "REFV"; + case RELVBY: return "RELVBY"; + case SEQL: return "SEQL"; + case APND: return "APND"; + case BSLN: return "BSLN"; + case COMPLY: return "COMPLY"; + case DOC: return "DOC"; + case FLFS: return "FLFS"; + case OCCR: return "OCCR"; + case OREF: return "OREF"; + case SCH: return "SCH"; + case GEN: return "GEN"; + case GEVL: return "GEVL"; + case INST: return "INST"; + case MOD: return "MOD"; + case MTCH: return "MTCH"; + case OPTN: return "OPTN"; + case RCHAL: return "RCHAL"; + case REV: return "REV"; + case RPLC: return "RPLC"; + case SUCC: return "SUCC"; + case UPDT: return "UPDT"; + case XCRPT: return "XCRPT"; + case VRXCRPT: return "VRXCRPT"; + case XFRM: return "XFRM"; + case SPRT: return "SPRT"; + case SPRTBND: return "SPRTBND"; + case SUBJ: return "SUBJ"; + case QUALF: return "QUALF"; + case SUMM: return "SUMM"; + case VALUE: return "VALUE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActRelationshipType"; + } + public String getDefinition() { + switch (this) { + case ART: return "Description: A directed association between a source Act and a target Act.\r\n\n \n Usage Note: This code should never be transmitted in an instance as the value of ActRelationship.typeCode (attribute)"; + case _ACTCLASSTEMPORALLYPERTAINS: return "ActClassTemporallyPertains"; + case _ACTRELATIONSHIPACCOUNTING: return "Codes that describe the relationship between an Act and a financial instrument such as a financial transaction, account or invoice element."; + case _ACTRELATIONSHIPCOSTTRACKING: return "Expresses values for describing the relationship relationship between an InvoiceElement or InvoiceElementGroup and a billable act."; + case CHRG: return "A relationship that provides an ability to associate a financial transaction (target) as a charge to a clinical act (source). A clinical act may have a charge associated with the execution or delivery of the service.\r\n\n The financial transaction will define the charge (bill) for delivery or performance of the service.\r\n\n Charges and costs are distinct terms. A charge defines what is charged or billed to another organization or entity within an organization. The cost defines what it costs an organization to perform or deliver a service or product."; + case COST: return "A relationship that provides an ability to associate a financial transaction (target) as a cost to a clinical act (source). A clinical act may have an inherit cost associated with the execution or delivery of the service.\r\n\n The financial transaction will define the cost of delivery or performance of the service.\r\n\n Charges and costs are distinct terms. A charge defines what is charged or billed to another organization or entity within an organization. The cost defines what it costs an organization to perform or deliver a service or product."; + case _ACTRELATIONSHIPPOSTING: return "Expresses values for describing the relationship between a FinancialTransaction and an Account."; + case CREDIT: return "A credit relationship ties a financial transaction (target) to an account (source). A credit, once applied (posted), may have either a positive or negative effect on the account balance, depending on the type of account. An asset account credit will decrease the account balance. A non-asset account credit will decrease the account balance."; + case DEBIT: return "A debit relationship ties a financial transaction (target) to an account (source). A debit, once applied (posted), may have either a positive or negative effect on the account balance, depending on the type of account. An asset account debit will increase the account balance. A non-asset account debit will decrease the account balance."; + case _ACTRELATIONSHIPCONDITIONAL: return "Specifies under what circumstances (target Act) the source-Act may, must, must not or has occurred"; + case CIND: return "A contraindication is just a negation of a reason, i.e. it gives a condition under which the action is not to be done. Both, source and target can be any kind of service; target service is in criterion mood. How the strength of a contraindication is expressed (e.g., relative, absolute) is left as an open issue. The priorityNumber attribute could be used."; + case PRCN: return "A requirement to be true before a service is performed. The target can be any service in criterion mood. For multiple pre-conditions a conjunction attribute (AND, OR, XOR) is applicable."; + case RSON: return "Description: The reason or rationale for a service. A reason link is weaker than a trigger, it only suggests that some service may be or might have been a reason for some action, but not that this reason requires/required the action to be taken. Also, as opposed to the trigger, there is no strong timely relation between the reason and the action. As well as providing various types of information about the rationale for a service, the RSON act relationship is routinely used between a SBADM act and an OBS act to describe the indication for use of a medication. Child concepts may be used to describe types of indication. \r\n\n \n Discussion: In prior releases, the code 'SUGG' (suggests) was expressed as 'an inversion of the reason link.' That code has been retired in favor of the inversion indicator that is an attribute of ActRelationship."; + case BLOCK: return "Definition: The source act is performed to block the effects of the target act. This act relationship should be used when describing near miss type incidents where potential harm could have occurred, but the action described in the source act blocked the potential harmful effects of the incident actually occurring."; + case DIAG: return "Description: The source act is intended to help establish the presence of a (an adverse) situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature."; + case IMM: return "Description: The source act is intented to provide immunity against the effects of the target act (the target act describes an infectious disease)"; + case ACTIMM: return "Description: The source act is intended to provide active immunity against the effects of the target act (the target act describes an infectious disease)"; + case PASSIMM: return "Description: The source act is intended to provide passive immunity against the effects of the target act (the target act describes an infectious disease)."; + case MITGT: return "The source act removes or lessens the occurrence or effect of the target act."; + case RCVY: return "Definition: The source act is performed to recover from the effects of the target act."; + case PRYLX: return "Description: The source act is intended to reduce the risk of of an adverse situation to emerge as described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature."; + case TREAT: return "Description: The source act is intended to improve a pre-existing adverse situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature."; + case ADJUNCT: return "Description: The source act is intended to offer an additional treatment for the management or cure of a pre-existing adverse situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature. It is not a requirement that the non-adjunctive treatment is explicitly specified."; + case MTREAT: return "Description: The source act is intended to provide long term maintenance improvement or management of a pre-existing adverse situation described by the target act. This is not limited to diseases but can apply to any adverse situation or condition of medical or technical nature."; + case PALLTREAT: return "Description: The source act is intended to provide palliation for the effects of the target act."; + case SYMP: return "Description: The source act is intented to provide symptomatic relief for the effects of the target act."; + case TRIG: return "A pre-condition that if true should result in the source Act being executed. The target is in typically in criterion mood. When reported after the fact (i.e. the criterion has been met) it may be in Event mood. A delay between the trigger and the triggered action can be specified.\r\n\n \n Discussion: This includes the concept of a required act for a service or financial instrument such as an insurance plan or policy. In such cases, the trigger is the occurrence of a specific condition such as coverage limits being exceeded."; + case _ACTRELATIONSHIPTEMPORALLYPERTAINS: return "Abstract collector for ActRelationhsip types that relate two acts by their timing."; + case _ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES: return "Abstract collector for ActRelationship types that relate two acts by their approximate timing."; + case ENE: return "A relationship in which the source act's effective time ends near the end of the target act's effective time. Near is defined separately as a time interval.\r\n\n \n Usage Note: Inverse code is ENS"; + case ECW: return "A relationship in which the source act's effective time ends with the end of the target act's effective time.\r\n\n \n UsageNote: This code is reflexive. Therefore its inverse code is itself."; + case CONCURRENT: return "A relationship in which the source act's effective time is the same as the target act's effective time.\r\n\n \n UsageNote: This code is reflexive. Therefore its inverse code is itself."; + case SBSECWE: return "The source Act starts before the start of the target Act, and ends with the target Act.\r\n\n \n UsageNote: Inverse code is SASECWE"; + case ENS: return "A relationship in which the source act's effective time ends near the start of the target act's effective time. Near is defined separately as a time interval.\r\n\n \n Usage Note: Inverse code is ENE"; + case ECWS: return "The source Act ends when the target act starts (i.e. if we say 'ActOne ECWS ActTwo', it means that ActOne ends when ActTwo starts, therefore ActOne is the source and ActTwo is the target).\r\n\n \n UsageNote: Inverse code is SCWE"; + case SNE: return "A relationship in which the source act's effective time starts near the end of the target act's effective time. Near is defined separately as a time interval.\r\n\n \n Usage Note: Inverse code is SNS"; + case SCWE: return "The source Act starts when the target act ends (i.e. if we say 'ActOne SCWE ActTwo', it means that ActOne starts when ActTwo ends, therefore ActOne is the source and ActTwo is the target).\r\n\n \n UsageNote: Inverse code is SBSECWS"; + case SNS: return "A relationship in which the source act's effective time starts near the start of the target act's effective time. Near is defined separately as a time interval.\r\n\n \n Usage Note: Inverse code is SNE"; + case SCW: return "A relationship in which the source act's effective time starts with the start of the target act's effective time.\r\n\n \n UsageNote: This code is reflexive. Therefore its inverse code is itself."; + case SCWSEBE: return "The source Act starts with.the target Act and ends before the end of the target Act.\r\n\n \n UsageNote: Inverse code is SCWSEAE"; + case SCWSEAE: return "The source Act starts with the target Act, and ends after the end of the target Act."; + case EAS: return "A relationship in which the source act ends after the target act starts.\r\n\n \n UsageNote: Inverse code is SBE"; + case EAE: return "A relationship in which the source act ends after the target act ends.\r\n\n \n UsageNote: Inverse code is EBE"; + case SASEAE: return "The source Act starts after start of the target Act and ends after end of the target Act.\r\n\n \n UsageNote: Inverse code is SBSEBE"; + case SBEEAE: return "The source Act contains the end of the target Act.\r\n\n \n UsageNote: Inverse code is EDU"; + case SASSBEEAS: return "The source Act start after the start of the target Act, and contains the end of the target Act.\r\n\n \n UsageNote: Inverse code is SBSEASEBE"; + case SBSEAE: return "The source Act contains the time of the target Act.\r\n\n \n UsageNote: Inverse code is DURING"; + case SAS: return "The source Act starts after the start of the target Act (i.e. if we say 'ActOne SAS ActTwo', it means that ActOne starts after the start of ActTwo, therefore ActOne is the source and ActTwo is the target).\r\n\n \n UsageNote: Inverse code is SBS"; + case SAE: return "A relationship in which the source act starts after the target act ends.\r\n\n \n UsageNote: Inverse code is EBS"; + case DURING: return "A relationship in which the source act's effective time is wholly within the target act's effective time (including end points, as defined in the act's effective times)\r\n\n \n UsageNote: Inverse code is SBSEAE"; + case SASECWE: return "The source Act starts after start of the target Act, and ends with the target Act.\r\n\n \n UsageNote: Inverse code is SBSECWE"; + case EASORECWS: return "A relationship in which the source act's effective time ends after or concurrent with the start of the target act's effective time.\r\n\n \n Usage Note: Inverse code is EBSORECWS"; + case EAEORECW: return "A relationship in which the source act's effective time ends after or concurrent with the end of the target act's effective time.\r\n\n \n Usage Note: Inverse code is EBEORECW"; + case INDEPENDENT: return "The source Act is independent of the time of the target Act.\r\n\n \n UsageNote: This code is reflexive. Therefore its inverse code is itself."; + case SAEORSCWE: return "A relationship in which the source act's effective time starts after or concurrent with the end of the target act's effective time.\r\n\n \n Usage Note: Inverse code is SBEORSCWE"; + case SASORSCW: return "A relationship in which the source act's effective time starts after or concurrent with the start of the target act's effective time.\r\n\n \n Usage Note: Inverse code is SBSORSCW"; + case SBEORSCWE: return "A relationship in which the source act's effective time starts before or concurrent with the end of the target act's effective time.\r\n\n \n Usage Note: Inverse code is SAEORSCWE"; + case OVERLAP: return "A relationship in which the source act's effective time overlaps the target act's effective time in any way.\r\n\n \n UsageNote: This code is reflexive. Therefore its inverse code is itself."; + case EDU: return "A relationship in which the source act ends within the target act's effective time (including end points, as defined in the act's effective times)\r\n\n \n UsageNote: Inverse code is SBEEAE"; + case SBSEASEBE: return "The source Act contains the start of the target Act, and ends before the end of the target Act.\r\n\n \n UsageNote: Inverse code is SASSBEEAS"; + case SBSEAS: return "The source Act contains the start of the target Act.\r\n\n \n UsageNote: Inverse code is SDU"; + case SDU: return "A relationship in which the source act starts within the target act's effective time (including end points, as defined in the act's effective times)\r\n\n \n UsageNote: Inverse code is SBSEAS"; + case SBE: return "The source Act starts before the end of the target Act (i.e. if we say 'ActOne SBE ActTwo', it means that ActOne starts before the end of ActTwo, therefore ActOne is the source and ActTwo is the target).\r\n\n \n UsageNote: Inverse code is EAS"; + case EBE: return "The source Act ends before the end of the target Act (i.e. if we say 'ActOne EBE ActTwo', it means that ActOne ends before the end of ActTwo, therefore ActOne is the source and ActTwo is the target).\r\n\n \n UsageNote: Inverse code is EAE"; + case SBSEBE: return "The source Act starts before the start of the target Act, and ends before the end of the target Act.\r\n\n \n UsageNote: Inverse code is SASEAE"; + case EBSORECWS: return "A relationship in which the source act's effective time ends before or concurrent with the start of the target act's effective time.\r\n\n \n Usage Note: Inverse code is EASORECWS"; + case EBS: return "A relationship in which the source act ends before the target act starts.\r\n\n \n UsageNote: Inverse code is SAE"; + case EBEORECW: return "A relationship in which the source act's effective time ends before or concurrent with the end of the target act's effective time.\r\n\n \n Usage Note: Inverse code is EAEORECW"; + case SBSORSCW: return "A relationship in which the source act's effective time starts before or concurrent with the start of the target act's effective time.\r\n\n \n Usage Note: Inverse code is SASORSCW"; + case SBS: return "A relationship in which the source act begins before the target act begins.\r\n\n \n UsageNote: Inverse code is SAS"; + case AUTH: return "A relationship in which the target act authorizes or certifies the source act."; + case CAUS: return "Description: An assertion that an act was the cause of another act.This is stronger and more specific than the support link. The source (cause) is typically an observation, but may be any act, while the target may be any act.\r\n\n \n Examples:\n \r\n\n \n a growth of Staphylococcus aureus may be considered the cause of an abscess\n contamination of the infusion bag was deemed to be the cause of the infection that the patient experienced\n lack of staff on the shift was deemed to be a supporting factor (proximal factor) causing the patient safety incident where the patient fell out of bed because the bed-sides had not been put up which caused the night patient to fall out of bed"; + case COMP: return "The target act is a component of the source act, with no semantics regarding composition or aggregation implied."; + case CTRLV: return "A relationship from an Act to a Control Variable. For example, if a Device makes an Observation, this relates the Observation to its Control Variables documenting the device's settings that influenced the observation."; + case MBR: return "The target Acts are aggregated by the source Act. Target Acts may have independent existence, participate in multiple ActRelationships, and do not contribute to the meaning of the source.\r\n\n \n UsageNotes: This explicitly represents the conventional notion of aggregation. The target Act is part of a collection of Acts (no implication is made of cardinality, a source of Acts may contain zero, one, or more member target Acts).\r\n\n It is expected that this will be primarily used with _ActClassRecordOrganizer, BATTERY, and LIST"; + case STEP: return "A collection of sub-services as steps or subtasks performed for the source service. Services may be performed sequentially or concurrently.\r\n\n \n UsageNotes: Sequence of steps may be indicated by use of _ActRelationshipTemporallyPertains, as well as via ActRelationship.sequenceNumber, ActRelationship.pauseQuantity, Target.priorityCode.\r\n\n \n OpenIssue: Need Additional guidelines on when each approach should be used."; + case ARR: return "The relationship that links to a Transportation Act (target) from another Act (source) indicating that the subject of the source Act entered into the source Act by means of the target Transportation act."; + case DEP: return "The relationship that links to a Transportation Act (target) from another Act (source) indicating that the subject of the source Act departed from the source Act by means of the target Transportation act."; + case PART: return "The source Act is a composite of the target Acts. The target Acts do not have an existence independent of the source Act.\r\n\n \n UsageNote: In UML 1.1, this is a 'composition' defined as: \n 'A form of aggregation with strong ownership and coincident lifetime as part of the whole. Parts with non-fixed multiplicity may be created after the composite itself, but once created they live and die with it (i.e., they share lifetimes). Such parts can also be explicitly removed before the death of the composite. Composition may be recursive.'"; + case COVBY: return "A relationship in which the source act is covered by or is under the authority of a target act. A financial instrument such as an Invoice Element is covered by one or more specific instances of an Insurance Policy."; + case DRIV: return "Associates a derived Act with its input parameters. E.G., an anion-gap observation can be associated as being derived from given sodium-, (potassium-,), chloride-, and bicarbonate-observations. The narrative content (Act.text) of a source act is wholly machine-derived from the collection of target acts."; + case ELNK: return "Expresses an association that links two instances of the same act over time, indicating that the instance are part of the same episode, e.g. linking two condition nodes for episode of illness; linking two encounters for episode of encounter."; + case EVID: return "Indicates that the target Act provides evidence in support of the action represented by the source Act. The target is not a 'reason' for the source act, but rather gives supporting information on why the source act is an appropriate course of action. Possible targets might be clinical trial results, journal articles, similar successful therapies, etc.\r\n\n \n Rationale: Provides a mechanism for conveying clinical justification for non-approved or otherwise non-traditional therapies."; + case EXACBY: return "Description:The source act is aggravated by the target act. (Example 'chest pain' EXACBY 'exercise')"; + case EXPL: return "This is the inversion of support. Used to indicate that a given observation is explained by another observation or condition."; + case INTF: return "the target act documents a set of circumstances (events, risks) which prevent successful completion, or degradation of quality of, the source Act.\r\n\n \n UsageNote: This provides the semantics to document barriers to care"; + case ITEMSLOC: return "Items located"; + case LIMIT: return "A relationship that limits or restricts the source act by the elements of the target act. For example, an authorization may be limited by a financial amount (up to $500). Target Act must be in EVN.CRIT mood."; + case META: return "Definition: Indicates that the attributes and associations of the target act provide metadata (for example, identifiers, authorship, etc.) for the source act.\r\n\n \n Constraint: Source act must have either a mood code that is not 'EVN' (event) or its 'isCriterion' attribute must set to 'true'. Target act must be an Act with a mood code of EVN and with isCriterionInd attribute set to 'true'."; + case MFST: return "An assertion that a new observation may be the manifestation of another existing observation or action. This assumption is attributed to the same actor who asserts the manifestation. This is stronger and more specific than an inverted support link. For example, an agitated appearance can be asserted to be the manifestation (effect) of a known hyperthyroxia. This expresses that one might not have realized a symptom if it would not be a common manifestation of a known condition. The target (cause) may be any service, while the source (manifestation) must be an observation."; + case NAME: return "Used to assign a 'name' to a condition thread. Source is a condition node, target can be any service."; + case OUTC: return "An observation that should follow or does actually follow as a result or consequence of a condition or action (sometimes called 'post-conditional'.) Target must be an observation as a goal, risk or any criterion. For complex outcomes a conjunction attribute (AND, OR, XOR) can be used. An outcome link is often inverted to describe an outcome assessment."; + case _ACTRELATIONSIPOBJECTIVE: return "The target act is a desired outcome of the source act. Source is any act (typically an intervention). Target must be an observation in criterion mood."; + case OBJC: return "A desired state that a service action aims to maintain. E.g., keep systolic blood pressure between 90 and 110 mm Hg. Source is an intervention service. Target must be an observation in criterion mood."; + case OBJF: return "A desired outcome that a service action aims to meet finally. Source is any service (typically an intervention). Target must be an observation in criterion mood."; + case GOAL: return "A goal that one defines given a patient's health condition. Subsequently planned actions aim to meet that goal. Source is an observation or condition node, target must be an observation in goal mood."; + case RISK: return "A noteworthy undesired outcome of a patient's condition that is either likely enough to become an issue or is less likely but dangerous enough to be addressed."; + case PERT: return "This is a very unspecific relationship from one item of clinical information to another. It does not judge about the role the pertinent information plays."; + case PREV: return "A relationship in which the target act is a predecessor instance to the source act. Generally each of these instances is similar, but no identical. In healthcare coverage it is used to link a claim item to a previous claim item that might have claimed for the same set of services."; + case REFR: return "A relationship in which the target act is referred to by the source act. This permits a simple reference relationship that distinguishes between the referent and the referee."; + case USE: return "Indicates that the source act makes use of (or will make use of) the information content of the target act.\r\n\n \n UsageNotes: A usage relationship only makes sense if the target act is authored and occurs independently of the source act. Otherwise a simpler relationship such as COMP would be appropriate.\r\n\n \n Rationale: There is a need when defining a clinical trial protocol to indicate that the protocol makes use of other protocol or treatment specifications. This is stronger than the assertion of 'references'. References may exist without usage, and in a clinical trial protocol is common to assert both: what other specifications does this trial use and what other specifications does it merely reference."; + case REFV: return "Reference ranges are essentially descriptors of a class of result values assumed to be 'normal', 'abnormal', or 'critical.' Those can vary by sex, age, or any other criterion. Source and target are observations, the target is in criterion mood. This link type can act as a trigger in case of alarms being triggered by critical results."; + case RELVBY: return "Description:The source act is wholly or partially alleviated by the target act. (Example 'chest pain' RELVBY 'sublingual nitroglycerin administration')"; + case SEQL: return "An act relationship indicating that the source act follows the target act. The source act should in principle represent the same kind of act as the target. Source and target need not have the same mood code (mood will often differ). The target of a sequel is called antecedent. Examples for sequel relationships are: revision, transformation, derivation from a prototype (as a specialization is a derivation of a generalization), followup, realization, instantiation."; + case APND: return "An addendum (source) to an existing service object (target), containing supplemental information. The addendum is itself an original service object linked to the supplemented service object. The supplemented service object remains in place and its content and status are unaltered."; + case BSLN: return "Indicates that the target observation(s) provide an initial reference for the source observation or observation group.\r\n\n \n UsageConstraints: Both source and target must be Observations or specializations thereof."; + case COMPLY: return "Description:The source act complies with, adheres to, conforms to, or is permissible under (in whole or in part) the policy, contract, agreement, law, conformance criteria, certification guidelines or requirement conveyed by the target act.\r\n\n Examples for compliance relationships are: audits of adherence with a security policy, certificate of conformance to system certification requirements, or consent directive in compliance with or permissible under a privacy policy."; + case DOC: return "The source act documents the target act."; + case FLFS: return "The source act fulfills (in whole or in part) the target act. Source act must be in a mood equal or more actual than the target act."; + case OCCR: return "The source act is a single occurrence of a repeatable target act. The source and target act can be in any mood on the 'completion track' but the source act must be as far as or further along the track than the target act (i.e., the occurrence of an intent can be an event but not vice versa)."; + case OREF: return "Relates either an appointment request or an appointment to the order for the service being scheduled."; + case SCH: return "Associates a specific time (and associated resources) with a scheduling request or other intent."; + case GEN: return "The generalization relationship can be used to express categorical knowledge about services (e.g., amilorid, triamterene, and spironolactone have the common generalization potassium sparing diuretic)."; + case GEVL: return "A goal-evaluation links an observation (intent or actual) to a goal to indicate that the observation evaluates the goal. Given the goal and the observation, a 'goal distance' (e.g., goal to observation) can be 'calculated' and need not be sent explicitly."; + case INST: return "Used to capture the link between a potential service ('master' or plan) and an actual service, where the actual service instantiates the potential service. The instantiation may override the master's defaults."; + case MOD: return "Definition: Used to link a newer version or 'snapshot' of a business object (source) to an older version or 'snapshot' of the same business object (target).\r\n\n \n Usage:The identifier of the Act should be the same for both source and target. If the identifiers are distinct, RPLC should be used instead.\r\n\n Name from source to target = 'modifiesPrior'\r\n\n Name from target to source = 'modifiesByNew'"; + case MTCH: return "A trigger-match links an actual service (e.g., an observation or procedure that took place) with a service in criterion mood. For example if the trigger is 'observation of pain' and pain is actually observed, and if that pain-observation caused the trigger to fire, that pain-observation can be linked with the trigger."; + case OPTN: return "A relationship between a source Act that provides more detailed properties to the target Act.\r\n\n The source act thus is a specialization of the target act, but instead of mentioning all the inherited properties it only mentions new property bindings or refinements.\r\n\n The typical use case is to specify certain alternative variants of one kind of Act. The priorityNumber attribute is used to weigh refinements as preferred over other alternative refinements.\r\n\n Example: several routing options for a drug are specified as one SubstanceAdministration for the general treatment with attached refinements for the various routing options."; + case RCHAL: return "Description:A relationship in which the target act is carried out to determine whether an effect attributed to the source act can be recreated."; + case REV: return "A relationship between a source Act that seeks to reverse or undo the action of the prior target Act.\r\n\n Example: A posted financial transaction (e.g., a debit transaction) was applied in error and must be reversed (e.g., by a credit transaction) the credit transaction is identified as an undo (or reversal) of the prior target transaction.\r\n\n Constraints: the 'completion track' mood of the target Act must be equally or more 'actual' than the source act. I.e., when the target act is EVN the source act can be EVN, or any INT. If the target act is INT, the source act can be INT."; + case RPLC: return "A replacement source act replaces an existing target act. The state of the target act being replaced becomes obselete, but the act is typically still retained in the system for historical reference. The source and target must be of the same type."; + case SUCC: return "Definition: A new act that carries forward the intention of the original act, but does not completely replace it. The status of the predecessor act must be 'completed'. The original act is the target act and the successor is the source act."; + case UPDT: return "A condition thread relationship specifically links condition nodes together to form a condition thread. The source is the new condition node and the target links to the most recent node of the existing condition thread."; + case XCRPT: return "The source is an excerpt from the target."; + case VRXCRPT: return "The source is a direct quote from the target."; + case XFRM: return "Used when the target Act is a transformation of the source Act. (For instance, used to show that a CDA document is a transformation of a DICOM SR document.)"; + case SPRT: return "Used to indicate that an existing service is suggesting evidence for a new observation. The assumption of support is attributed to the same actor who asserts the observation. Source must be an observation, target may be any service (e.g., to indicate a status post)."; + case SPRTBND: return "A specialization of 'has support' (SPRT), used to relate a secondary observation to a Region of Interest on a multidimensional observation, if the ROI specifies the true boundaries of the secondary observation as opposed to only marking the approximate area. For example, if the start and end of an ST elevation episode is visible in an EKG, this relation would indicate the ROI bounds the 'ST elevation' observation -- the ROI defines the true beginning and ending of the episode. Conversely, if a ROI simply contains ST elevation, but it does not define the bounds (start and end) of the episode, the more general 'has support' relation is used. Likewise, if a ROI on an image defines the true bounds of a '1st degree burn', the relation 'has bounded support' is used; but if the ROI only points to the approximate area of the burn, the general 'has support' relation is used."; + case SUBJ: return "Relates an Act to its subject Act that the first Act is primarily concerned with.\r\n\n Examples\r\n\n \n \n The first Act may be a ControlAct manipulating the subject Act \r\n\n \n \n The first act is a region of interest (ROI) that defines a region within the subject Act.\r\n\n \n \n The first act is a reporting or notification Act, that echos the subject Act for a specific new purpose.\r\n\n \n \n Constraints\r\n\n An Act may have multiple subject acts.\r\n\n Rationale\r\n\n The ActRelationshipType 'has subject' is similar to the ParticipationType 'subject', Acts that primarily operate on physical subjects use the Participation, those Acts that primarily operate on other Acts (other information) use the ActRelationship."; + case QUALF: return "The target observation qualifies (refines) the semantics of the source observation.\r\n\n \n UsageNote: This is not intended to replace concept refinement and qualification via vocabulary. It is used when there are multiple components which together provide the complete understanding of the source Act."; + case SUMM: return "An act that contains summary values for a list or set of subordinate acts. For example, a summary of transactions for a particular accounting period."; + case VALUE: return "Description:Indicates that the target Act represents the result of the source observation Act.\r\n\n \n FormalConstraint: Source Act must be an Observation or specialization there-of. Source Act must not have the value attribute specified\r\n\n \n UsageNote: This relationship allows the result of an observation to be fully expressed as RIM acts as opposed to being embedded in the value attribute. For example, sending a Document act as the result of an imaging observation, sending a list of Procedures and/or other acts as the result of a medical history observation.\r\n\n The valueNegationInd attribute on the source Act has the same semantics of 'negated finding' when it applies to the target of a VALUE ActRelationship as it does to the value attribute. On the other hand, if the ActRelationship.negationInd is true for a VALUE ActRelationship, that means the specified observation does not have the indicated value but does not imply a negated finding. Because the semantics are extremely close, it is recommended that Observation.valueNegationInd be used, not ActRelationship.negationInd.\r\n\n \n OpenIssue: The implications of negationInd on ActRelationship and the valueNegationind on Observation."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ART: return "act relationship type"; + case _ACTCLASSTEMPORALLYPERTAINS: return "ActClassTemporallyPertains"; + case _ACTRELATIONSHIPACCOUNTING: return "ActRelationshipAccounting"; + case _ACTRELATIONSHIPCOSTTRACKING: return "ActRelationshipCostTracking"; + case CHRG: return "has charge"; + case COST: return "has cost"; + case _ACTRELATIONSHIPPOSTING: return "ActRelationshipPosting"; + case CREDIT: return "has credit"; + case DEBIT: return "has debit"; + case _ACTRELATIONSHIPCONDITIONAL: return "ActRelationshipConditional"; + case CIND: return "has contra-indication"; + case PRCN: return "has pre-condition"; + case RSON: return "has reason"; + case BLOCK: return "blocks"; + case DIAG: return "diagnoses"; + case IMM: return "immunization against"; + case ACTIMM: return "active immunization against"; + case PASSIMM: return "passive immunization against"; + case MITGT: return "mitigates"; + case RCVY: return "recovers"; + case PRYLX: return "prophylaxis of"; + case TREAT: return "treats"; + case ADJUNCT: return "adjunctive treatment"; + case MTREAT: return "maintenance treatment"; + case PALLTREAT: return "palliates"; + case SYMP: return "symptomatic relief"; + case TRIG: return "has trigger"; + case _ACTRELATIONSHIPTEMPORALLYPERTAINS: return "ActRelationshipTemporallyPertains"; + case _ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES: return "ActRelationshipTemporallyPertainsApproximates"; + case ENE: return "ends near end"; + case ECW: return "ends concurrent with"; + case CONCURRENT: return "concurrent with"; + case SBSECWE: return "starts before start of, ends with"; + case ENS: return "ends near start"; + case ECWS: return "ends concurrent with start of"; + case SNE: return "starts near end"; + case SCWE: return "starts concurrent with end of"; + case SNS: return "starts near start"; + case SCW: return "starts concurrent with"; + case SCWSEBE: return "starts with. ends before end of"; + case SCWSEAE: return "starts with, ends after end of"; + case EAS: return "ends after start of"; + case EAE: return "ends after end of"; + case SASEAE: return "starts after start of, ends after end of"; + case SBEEAE: return "contains end of"; + case SASSBEEAS: return "start after start of, contains end of"; + case SBSEAE: return "contains time of"; + case SAS: return "starts after start of"; + case SAE: return "starts after end of"; + case DURING: return "occurs during"; + case SASECWE: return "starts after start of, ends with"; + case EASORECWS: return "ends after or concurrent with start of"; + case EAEORECW: return "ends after or concurrent with end of"; + case INDEPENDENT: return "independent of time of"; + case SAEORSCWE: return "starts after or concurrent with end of"; + case SASORSCW: return "starts after or concurrent with start of"; + case SBEORSCWE: return "starts before or concurrent with end of"; + case OVERLAP: return "overlaps with"; + case EDU: return "ends during"; + case SBSEASEBE: return "contains start of, ends before end of"; + case SBSEAS: return "contains start of"; + case SDU: return "starts during"; + case SBE: return "starts before end of"; + case EBE: return "ends before end of"; + case SBSEBE: return "starts before start of, ends before end of"; + case EBSORECWS: return "ends before or concurrent with start of"; + case EBS: return "ends before start of"; + case EBEORECW: return "ends before or concurrent with end of"; + case SBSORSCW: return "starts before or concurrent with start of"; + case SBS: return "starts before start of"; + case AUTH: return "authorized by"; + case CAUS: return "is etiology for"; + case COMP: return "has component"; + case CTRLV: return "has control variable"; + case MBR: return "has member"; + case STEP: return "has step"; + case ARR: return "arrival"; + case DEP: return "departure"; + case PART: return "has part"; + case COVBY: return "covered by"; + case DRIV: return "is derived from"; + case ELNK: return "episodeLink"; + case EVID: return "provides evidence for"; + case EXACBY: return "exacerbated by"; + case EXPL: return "has explanation"; + case INTF: return "interfered by"; + case ITEMSLOC: return "items located"; + case LIMIT: return "limited by"; + case META: return "has metadata"; + case MFST: return "is manifestation of"; + case NAME: return "assigns name"; + case OUTC: return "has outcome"; + case _ACTRELATIONSIPOBJECTIVE: return "Act Relationsip Objective"; + case OBJC: return "has continuing objective"; + case OBJF: return "has final objective"; + case GOAL: return "has goal"; + case RISK: return "has risk"; + case PERT: return "has pertinent information"; + case PREV: return "has previous instance"; + case REFR: return "refers to"; + case USE: return "uses"; + case REFV: return "has reference values"; + case RELVBY: return "relieved by"; + case SEQL: return "is sequel"; + case APND: return "is appendage"; + case BSLN: return "has baseline"; + case COMPLY: return "complies with"; + case DOC: return "documents"; + case FLFS: return "fulfills"; + case OCCR: return "occurrence"; + case OREF: return "references order"; + case SCH: return "schedules request"; + case GEN: return "has generalization"; + case GEVL: return "evaluates (goal)"; + case INST: return "instantiates (master)"; + case MOD: return "modifies"; + case MTCH: return "matches (trigger)"; + case OPTN: return "has option"; + case RCHAL: return "re-challenge"; + case REV: return "reverses"; + case RPLC: return "replaces"; + case SUCC: return "succeeds"; + case UPDT: return "updates (condition)"; + case XCRPT: return "Excerpts"; + case VRXCRPT: return "Excerpt verbatim"; + case XFRM: return "transformation"; + case SPRT: return "has support"; + case SPRTBND: return "has bounded support"; + case SUBJ: return "has subject"; + case QUALF: return "has qualifier"; + case SUMM: return "summarized by"; + case VALUE: return "has value"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipTypeEnumFactory.java new file mode 100644 index 00000000000..0203ac3c97a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipTypeEnumFactory.java @@ -0,0 +1,579 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActRelationshipTypeEnumFactory implements EnumFactory { + + public V3ActRelationshipType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ART".equals(codeString)) + return V3ActRelationshipType.ART; + if ("_ActClassTemporallyPertains".equals(codeString)) + return V3ActRelationshipType._ACTCLASSTEMPORALLYPERTAINS; + if ("_ActRelationshipAccounting".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSHIPACCOUNTING; + if ("_ActRelationshipCostTracking".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSHIPCOSTTRACKING; + if ("CHRG".equals(codeString)) + return V3ActRelationshipType.CHRG; + if ("COST".equals(codeString)) + return V3ActRelationshipType.COST; + if ("_ActRelationshipPosting".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSHIPPOSTING; + if ("CREDIT".equals(codeString)) + return V3ActRelationshipType.CREDIT; + if ("DEBIT".equals(codeString)) + return V3ActRelationshipType.DEBIT; + if ("_ActRelationshipConditional".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSHIPCONDITIONAL; + if ("CIND".equals(codeString)) + return V3ActRelationshipType.CIND; + if ("PRCN".equals(codeString)) + return V3ActRelationshipType.PRCN; + if ("RSON".equals(codeString)) + return V3ActRelationshipType.RSON; + if ("BLOCK".equals(codeString)) + return V3ActRelationshipType.BLOCK; + if ("DIAG".equals(codeString)) + return V3ActRelationshipType.DIAG; + if ("IMM".equals(codeString)) + return V3ActRelationshipType.IMM; + if ("ACTIMM".equals(codeString)) + return V3ActRelationshipType.ACTIMM; + if ("PASSIMM".equals(codeString)) + return V3ActRelationshipType.PASSIMM; + if ("MITGT".equals(codeString)) + return V3ActRelationshipType.MITGT; + if ("RCVY".equals(codeString)) + return V3ActRelationshipType.RCVY; + if ("PRYLX".equals(codeString)) + return V3ActRelationshipType.PRYLX; + if ("TREAT".equals(codeString)) + return V3ActRelationshipType.TREAT; + if ("ADJUNCT".equals(codeString)) + return V3ActRelationshipType.ADJUNCT; + if ("MTREAT".equals(codeString)) + return V3ActRelationshipType.MTREAT; + if ("PALLTREAT".equals(codeString)) + return V3ActRelationshipType.PALLTREAT; + if ("SYMP".equals(codeString)) + return V3ActRelationshipType.SYMP; + if ("TRIG".equals(codeString)) + return V3ActRelationshipType.TRIG; + if ("_ActRelationshipTemporallyPertains".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSHIPTEMPORALLYPERTAINS; + if ("_ActRelationshipTemporallyPertainsApproximates".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES; + if ("ENE".equals(codeString)) + return V3ActRelationshipType.ENE; + if ("ECW".equals(codeString)) + return V3ActRelationshipType.ECW; + if ("CONCURRENT".equals(codeString)) + return V3ActRelationshipType.CONCURRENT; + if ("SBSECWE".equals(codeString)) + return V3ActRelationshipType.SBSECWE; + if ("ENS".equals(codeString)) + return V3ActRelationshipType.ENS; + if ("ECWS".equals(codeString)) + return V3ActRelationshipType.ECWS; + if ("SNE".equals(codeString)) + return V3ActRelationshipType.SNE; + if ("SCWE".equals(codeString)) + return V3ActRelationshipType.SCWE; + if ("SNS".equals(codeString)) + return V3ActRelationshipType.SNS; + if ("SCW".equals(codeString)) + return V3ActRelationshipType.SCW; + if ("SCWSEBE".equals(codeString)) + return V3ActRelationshipType.SCWSEBE; + if ("SCWSEAE".equals(codeString)) + return V3ActRelationshipType.SCWSEAE; + if ("EAS".equals(codeString)) + return V3ActRelationshipType.EAS; + if ("EAE".equals(codeString)) + return V3ActRelationshipType.EAE; + if ("SASEAE".equals(codeString)) + return V3ActRelationshipType.SASEAE; + if ("SBEEAE".equals(codeString)) + return V3ActRelationshipType.SBEEAE; + if ("SASSBEEAS".equals(codeString)) + return V3ActRelationshipType.SASSBEEAS; + if ("SBSEAE".equals(codeString)) + return V3ActRelationshipType.SBSEAE; + if ("SAS".equals(codeString)) + return V3ActRelationshipType.SAS; + if ("SAE".equals(codeString)) + return V3ActRelationshipType.SAE; + if ("DURING".equals(codeString)) + return V3ActRelationshipType.DURING; + if ("SASECWE".equals(codeString)) + return V3ActRelationshipType.SASECWE; + if ("EASORECWS".equals(codeString)) + return V3ActRelationshipType.EASORECWS; + if ("EAEORECW".equals(codeString)) + return V3ActRelationshipType.EAEORECW; + if ("INDEPENDENT".equals(codeString)) + return V3ActRelationshipType.INDEPENDENT; + if ("SAEORSCWE".equals(codeString)) + return V3ActRelationshipType.SAEORSCWE; + if ("SASORSCW".equals(codeString)) + return V3ActRelationshipType.SASORSCW; + if ("SBEORSCWE".equals(codeString)) + return V3ActRelationshipType.SBEORSCWE; + if ("OVERLAP".equals(codeString)) + return V3ActRelationshipType.OVERLAP; + if ("EDU".equals(codeString)) + return V3ActRelationshipType.EDU; + if ("SBSEASEBE".equals(codeString)) + return V3ActRelationshipType.SBSEASEBE; + if ("SBSEAS".equals(codeString)) + return V3ActRelationshipType.SBSEAS; + if ("SDU".equals(codeString)) + return V3ActRelationshipType.SDU; + if ("SBE".equals(codeString)) + return V3ActRelationshipType.SBE; + if ("EBE".equals(codeString)) + return V3ActRelationshipType.EBE; + if ("SBSEBE".equals(codeString)) + return V3ActRelationshipType.SBSEBE; + if ("EBSORECWS".equals(codeString)) + return V3ActRelationshipType.EBSORECWS; + if ("EBS".equals(codeString)) + return V3ActRelationshipType.EBS; + if ("EBEORECW".equals(codeString)) + return V3ActRelationshipType.EBEORECW; + if ("SBSORSCW".equals(codeString)) + return V3ActRelationshipType.SBSORSCW; + if ("SBS".equals(codeString)) + return V3ActRelationshipType.SBS; + if ("AUTH".equals(codeString)) + return V3ActRelationshipType.AUTH; + if ("CAUS".equals(codeString)) + return V3ActRelationshipType.CAUS; + if ("COMP".equals(codeString)) + return V3ActRelationshipType.COMP; + if ("CTRLV".equals(codeString)) + return V3ActRelationshipType.CTRLV; + if ("MBR".equals(codeString)) + return V3ActRelationshipType.MBR; + if ("STEP".equals(codeString)) + return V3ActRelationshipType.STEP; + if ("ARR".equals(codeString)) + return V3ActRelationshipType.ARR; + if ("DEP".equals(codeString)) + return V3ActRelationshipType.DEP; + if ("PART".equals(codeString)) + return V3ActRelationshipType.PART; + if ("COVBY".equals(codeString)) + return V3ActRelationshipType.COVBY; + if ("DRIV".equals(codeString)) + return V3ActRelationshipType.DRIV; + if ("ELNK".equals(codeString)) + return V3ActRelationshipType.ELNK; + if ("EVID".equals(codeString)) + return V3ActRelationshipType.EVID; + if ("EXACBY".equals(codeString)) + return V3ActRelationshipType.EXACBY; + if ("EXPL".equals(codeString)) + return V3ActRelationshipType.EXPL; + if ("INTF".equals(codeString)) + return V3ActRelationshipType.INTF; + if ("ITEMSLOC".equals(codeString)) + return V3ActRelationshipType.ITEMSLOC; + if ("LIMIT".equals(codeString)) + return V3ActRelationshipType.LIMIT; + if ("META".equals(codeString)) + return V3ActRelationshipType.META; + if ("MFST".equals(codeString)) + return V3ActRelationshipType.MFST; + if ("NAME".equals(codeString)) + return V3ActRelationshipType.NAME; + if ("OUTC".equals(codeString)) + return V3ActRelationshipType.OUTC; + if ("_ActRelationsipObjective".equals(codeString)) + return V3ActRelationshipType._ACTRELATIONSIPOBJECTIVE; + if ("OBJC".equals(codeString)) + return V3ActRelationshipType.OBJC; + if ("OBJF".equals(codeString)) + return V3ActRelationshipType.OBJF; + if ("GOAL".equals(codeString)) + return V3ActRelationshipType.GOAL; + if ("RISK".equals(codeString)) + return V3ActRelationshipType.RISK; + if ("PERT".equals(codeString)) + return V3ActRelationshipType.PERT; + if ("PREV".equals(codeString)) + return V3ActRelationshipType.PREV; + if ("REFR".equals(codeString)) + return V3ActRelationshipType.REFR; + if ("USE".equals(codeString)) + return V3ActRelationshipType.USE; + if ("REFV".equals(codeString)) + return V3ActRelationshipType.REFV; + if ("RELVBY".equals(codeString)) + return V3ActRelationshipType.RELVBY; + if ("SEQL".equals(codeString)) + return V3ActRelationshipType.SEQL; + if ("APND".equals(codeString)) + return V3ActRelationshipType.APND; + if ("BSLN".equals(codeString)) + return V3ActRelationshipType.BSLN; + if ("COMPLY".equals(codeString)) + return V3ActRelationshipType.COMPLY; + if ("DOC".equals(codeString)) + return V3ActRelationshipType.DOC; + if ("FLFS".equals(codeString)) + return V3ActRelationshipType.FLFS; + if ("OCCR".equals(codeString)) + return V3ActRelationshipType.OCCR; + if ("OREF".equals(codeString)) + return V3ActRelationshipType.OREF; + if ("SCH".equals(codeString)) + return V3ActRelationshipType.SCH; + if ("GEN".equals(codeString)) + return V3ActRelationshipType.GEN; + if ("GEVL".equals(codeString)) + return V3ActRelationshipType.GEVL; + if ("INST".equals(codeString)) + return V3ActRelationshipType.INST; + if ("MOD".equals(codeString)) + return V3ActRelationshipType.MOD; + if ("MTCH".equals(codeString)) + return V3ActRelationshipType.MTCH; + if ("OPTN".equals(codeString)) + return V3ActRelationshipType.OPTN; + if ("RCHAL".equals(codeString)) + return V3ActRelationshipType.RCHAL; + if ("REV".equals(codeString)) + return V3ActRelationshipType.REV; + if ("RPLC".equals(codeString)) + return V3ActRelationshipType.RPLC; + if ("SUCC".equals(codeString)) + return V3ActRelationshipType.SUCC; + if ("UPDT".equals(codeString)) + return V3ActRelationshipType.UPDT; + if ("XCRPT".equals(codeString)) + return V3ActRelationshipType.XCRPT; + if ("VRXCRPT".equals(codeString)) + return V3ActRelationshipType.VRXCRPT; + if ("XFRM".equals(codeString)) + return V3ActRelationshipType.XFRM; + if ("SPRT".equals(codeString)) + return V3ActRelationshipType.SPRT; + if ("SPRTBND".equals(codeString)) + return V3ActRelationshipType.SPRTBND; + if ("SUBJ".equals(codeString)) + return V3ActRelationshipType.SUBJ; + if ("QUALF".equals(codeString)) + return V3ActRelationshipType.QUALF; + if ("SUMM".equals(codeString)) + return V3ActRelationshipType.SUMM; + if ("VALUE".equals(codeString)) + return V3ActRelationshipType.VALUE; + throw new IllegalArgumentException("Unknown V3ActRelationshipType code '"+codeString+"'"); + } + + public String toCode(V3ActRelationshipType code) { + if (code == V3ActRelationshipType.ART) + return "ART"; + if (code == V3ActRelationshipType._ACTCLASSTEMPORALLYPERTAINS) + return "_ActClassTemporallyPertains"; + if (code == V3ActRelationshipType._ACTRELATIONSHIPACCOUNTING) + return "_ActRelationshipAccounting"; + if (code == V3ActRelationshipType._ACTRELATIONSHIPCOSTTRACKING) + return "_ActRelationshipCostTracking"; + if (code == V3ActRelationshipType.CHRG) + return "CHRG"; + if (code == V3ActRelationshipType.COST) + return "COST"; + if (code == V3ActRelationshipType._ACTRELATIONSHIPPOSTING) + return "_ActRelationshipPosting"; + if (code == V3ActRelationshipType.CREDIT) + return "CREDIT"; + if (code == V3ActRelationshipType.DEBIT) + return "DEBIT"; + if (code == V3ActRelationshipType._ACTRELATIONSHIPCONDITIONAL) + return "_ActRelationshipConditional"; + if (code == V3ActRelationshipType.CIND) + return "CIND"; + if (code == V3ActRelationshipType.PRCN) + return "PRCN"; + if (code == V3ActRelationshipType.RSON) + return "RSON"; + if (code == V3ActRelationshipType.BLOCK) + return "BLOCK"; + if (code == V3ActRelationshipType.DIAG) + return "DIAG"; + if (code == V3ActRelationshipType.IMM) + return "IMM"; + if (code == V3ActRelationshipType.ACTIMM) + return "ACTIMM"; + if (code == V3ActRelationshipType.PASSIMM) + return "PASSIMM"; + if (code == V3ActRelationshipType.MITGT) + return "MITGT"; + if (code == V3ActRelationshipType.RCVY) + return "RCVY"; + if (code == V3ActRelationshipType.PRYLX) + return "PRYLX"; + if (code == V3ActRelationshipType.TREAT) + return "TREAT"; + if (code == V3ActRelationshipType.ADJUNCT) + return "ADJUNCT"; + if (code == V3ActRelationshipType.MTREAT) + return "MTREAT"; + if (code == V3ActRelationshipType.PALLTREAT) + return "PALLTREAT"; + if (code == V3ActRelationshipType.SYMP) + return "SYMP"; + if (code == V3ActRelationshipType.TRIG) + return "TRIG"; + if (code == V3ActRelationshipType._ACTRELATIONSHIPTEMPORALLYPERTAINS) + return "_ActRelationshipTemporallyPertains"; + if (code == V3ActRelationshipType._ACTRELATIONSHIPTEMPORALLYPERTAINSAPPROXIMATES) + return "_ActRelationshipTemporallyPertainsApproximates"; + if (code == V3ActRelationshipType.ENE) + return "ENE"; + if (code == V3ActRelationshipType.ECW) + return "ECW"; + if (code == V3ActRelationshipType.CONCURRENT) + return "CONCURRENT"; + if (code == V3ActRelationshipType.SBSECWE) + return "SBSECWE"; + if (code == V3ActRelationshipType.ENS) + return "ENS"; + if (code == V3ActRelationshipType.ECWS) + return "ECWS"; + if (code == V3ActRelationshipType.SNE) + return "SNE"; + if (code == V3ActRelationshipType.SCWE) + return "SCWE"; + if (code == V3ActRelationshipType.SNS) + return "SNS"; + if (code == V3ActRelationshipType.SCW) + return "SCW"; + if (code == V3ActRelationshipType.SCWSEBE) + return "SCWSEBE"; + if (code == V3ActRelationshipType.SCWSEAE) + return "SCWSEAE"; + if (code == V3ActRelationshipType.EAS) + return "EAS"; + if (code == V3ActRelationshipType.EAE) + return "EAE"; + if (code == V3ActRelationshipType.SASEAE) + return "SASEAE"; + if (code == V3ActRelationshipType.SBEEAE) + return "SBEEAE"; + if (code == V3ActRelationshipType.SASSBEEAS) + return "SASSBEEAS"; + if (code == V3ActRelationshipType.SBSEAE) + return "SBSEAE"; + if (code == V3ActRelationshipType.SAS) + return "SAS"; + if (code == V3ActRelationshipType.SAE) + return "SAE"; + if (code == V3ActRelationshipType.DURING) + return "DURING"; + if (code == V3ActRelationshipType.SASECWE) + return "SASECWE"; + if (code == V3ActRelationshipType.EASORECWS) + return "EASORECWS"; + if (code == V3ActRelationshipType.EAEORECW) + return "EAEORECW"; + if (code == V3ActRelationshipType.INDEPENDENT) + return "INDEPENDENT"; + if (code == V3ActRelationshipType.SAEORSCWE) + return "SAEORSCWE"; + if (code == V3ActRelationshipType.SASORSCW) + return "SASORSCW"; + if (code == V3ActRelationshipType.SBEORSCWE) + return "SBEORSCWE"; + if (code == V3ActRelationshipType.OVERLAP) + return "OVERLAP"; + if (code == V3ActRelationshipType.EDU) + return "EDU"; + if (code == V3ActRelationshipType.SBSEASEBE) + return "SBSEASEBE"; + if (code == V3ActRelationshipType.SBSEAS) + return "SBSEAS"; + if (code == V3ActRelationshipType.SDU) + return "SDU"; + if (code == V3ActRelationshipType.SBE) + return "SBE"; + if (code == V3ActRelationshipType.EBE) + return "EBE"; + if (code == V3ActRelationshipType.SBSEBE) + return "SBSEBE"; + if (code == V3ActRelationshipType.EBSORECWS) + return "EBSORECWS"; + if (code == V3ActRelationshipType.EBS) + return "EBS"; + if (code == V3ActRelationshipType.EBEORECW) + return "EBEORECW"; + if (code == V3ActRelationshipType.SBSORSCW) + return "SBSORSCW"; + if (code == V3ActRelationshipType.SBS) + return "SBS"; + if (code == V3ActRelationshipType.AUTH) + return "AUTH"; + if (code == V3ActRelationshipType.CAUS) + return "CAUS"; + if (code == V3ActRelationshipType.COMP) + return "COMP"; + if (code == V3ActRelationshipType.CTRLV) + return "CTRLV"; + if (code == V3ActRelationshipType.MBR) + return "MBR"; + if (code == V3ActRelationshipType.STEP) + return "STEP"; + if (code == V3ActRelationshipType.ARR) + return "ARR"; + if (code == V3ActRelationshipType.DEP) + return "DEP"; + if (code == V3ActRelationshipType.PART) + return "PART"; + if (code == V3ActRelationshipType.COVBY) + return "COVBY"; + if (code == V3ActRelationshipType.DRIV) + return "DRIV"; + if (code == V3ActRelationshipType.ELNK) + return "ELNK"; + if (code == V3ActRelationshipType.EVID) + return "EVID"; + if (code == V3ActRelationshipType.EXACBY) + return "EXACBY"; + if (code == V3ActRelationshipType.EXPL) + return "EXPL"; + if (code == V3ActRelationshipType.INTF) + return "INTF"; + if (code == V3ActRelationshipType.ITEMSLOC) + return "ITEMSLOC"; + if (code == V3ActRelationshipType.LIMIT) + return "LIMIT"; + if (code == V3ActRelationshipType.META) + return "META"; + if (code == V3ActRelationshipType.MFST) + return "MFST"; + if (code == V3ActRelationshipType.NAME) + return "NAME"; + if (code == V3ActRelationshipType.OUTC) + return "OUTC"; + if (code == V3ActRelationshipType._ACTRELATIONSIPOBJECTIVE) + return "_ActRelationsipObjective"; + if (code == V3ActRelationshipType.OBJC) + return "OBJC"; + if (code == V3ActRelationshipType.OBJF) + return "OBJF"; + if (code == V3ActRelationshipType.GOAL) + return "GOAL"; + if (code == V3ActRelationshipType.RISK) + return "RISK"; + if (code == V3ActRelationshipType.PERT) + return "PERT"; + if (code == V3ActRelationshipType.PREV) + return "PREV"; + if (code == V3ActRelationshipType.REFR) + return "REFR"; + if (code == V3ActRelationshipType.USE) + return "USE"; + if (code == V3ActRelationshipType.REFV) + return "REFV"; + if (code == V3ActRelationshipType.RELVBY) + return "RELVBY"; + if (code == V3ActRelationshipType.SEQL) + return "SEQL"; + if (code == V3ActRelationshipType.APND) + return "APND"; + if (code == V3ActRelationshipType.BSLN) + return "BSLN"; + if (code == V3ActRelationshipType.COMPLY) + return "COMPLY"; + if (code == V3ActRelationshipType.DOC) + return "DOC"; + if (code == V3ActRelationshipType.FLFS) + return "FLFS"; + if (code == V3ActRelationshipType.OCCR) + return "OCCR"; + if (code == V3ActRelationshipType.OREF) + return "OREF"; + if (code == V3ActRelationshipType.SCH) + return "SCH"; + if (code == V3ActRelationshipType.GEN) + return "GEN"; + if (code == V3ActRelationshipType.GEVL) + return "GEVL"; + if (code == V3ActRelationshipType.INST) + return "INST"; + if (code == V3ActRelationshipType.MOD) + return "MOD"; + if (code == V3ActRelationshipType.MTCH) + return "MTCH"; + if (code == V3ActRelationshipType.OPTN) + return "OPTN"; + if (code == V3ActRelationshipType.RCHAL) + return "RCHAL"; + if (code == V3ActRelationshipType.REV) + return "REV"; + if (code == V3ActRelationshipType.RPLC) + return "RPLC"; + if (code == V3ActRelationshipType.SUCC) + return "SUCC"; + if (code == V3ActRelationshipType.UPDT) + return "UPDT"; + if (code == V3ActRelationshipType.XCRPT) + return "XCRPT"; + if (code == V3ActRelationshipType.VRXCRPT) + return "VRXCRPT"; + if (code == V3ActRelationshipType.XFRM) + return "XFRM"; + if (code == V3ActRelationshipType.SPRT) + return "SPRT"; + if (code == V3ActRelationshipType.SPRTBND) + return "SPRTBND"; + if (code == V3ActRelationshipType.SUBJ) + return "SUBJ"; + if (code == V3ActRelationshipType.QUALF) + return "QUALF"; + if (code == V3ActRelationshipType.SUMM) + return "SUMM"; + if (code == V3ActRelationshipType.VALUE) + return "VALUE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSite.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSite.java new file mode 100644 index 00000000000..832f57c0029 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSite.java @@ -0,0 +1,553 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActSite { + + /** + * An anatomical location on a human which can be the focus of an act. + */ + _HUMANACTSITE, + /** + * The set of body locations to or through which a drug product may be administered. + */ + _HUMANSUBSTANCEADMINISTRATIONSITE, + /** + * bilateral ears + */ + BE, + /** + * bilateral nares + */ + BN, + /** + * buttock + */ + BU, + /** + * left arm + */ + LA, + /** + * left anterior chest + */ + LAC, + /** + * left antecubital fossa + */ + LACF, + /** + * left deltoid + */ + LD, + /** + * left ear + */ + LE, + /** + * left external jugular + */ + LEJ, + /** + * left foot + */ + LF, + /** + * left gluteus medius + */ + LG, + /** + * left hand + */ + LH, + /** + * left internal jugular + */ + LIJ, + /** + * left lower abd quadrant + */ + LLAQ, + /** + * left lower forearm + */ + LLFA, + /** + * left mid forearm + */ + LMFA, + /** + * left naris + */ + LN, + /** + * left posterior chest + */ + LPC, + /** + * left subclavian + */ + LSC, + /** + * left thigh + */ + LT, + /** + * left upper arm + */ + LUA, + /** + * left upper abd quadrant + */ + LUAQ, + /** + * left upper forearm + */ + LUFA, + /** + * left ventragluteal + */ + LVG, + /** + * left vastus lateralis + */ + LVL, + /** + * right eye + */ + OD, + /** + * left eye + */ + OS, + /** + * bilateral eyes + */ + OU, + /** + * perianal + */ + PA, + /** + * perineal + */ + PERIN, + /** + * right arm + */ + RA, + /** + * right anterior chest + */ + RAC, + /** + * right antecubital fossa + */ + RACF, + /** + * right deltoid + */ + RD, + /** + * right ear + */ + RE, + /** + * right external jugular + */ + REJ, + /** + * right foot + */ + RF, + /** + * right gluteus medius + */ + RG, + /** + * right hand + */ + RH, + /** + * right internal jugular + */ + RIJ, + /** + * right lower abd quadrant + */ + RLAQ, + /** + * right lower forearm + */ + RLFA, + /** + * right mid forearm + */ + RMFA, + /** + * right naris + */ + RN, + /** + * right posterior chest + */ + RPC, + /** + * right subclavian + */ + RSC, + /** + * right thigh + */ + RT, + /** + * right upper arm + */ + RUA, + /** + * right upper abd quadrant + */ + RUAQ, + /** + * right upper forearm + */ + RUFA, + /** + * right ventragluteal + */ + RVG, + /** + * right vastus lateralis + */ + RVL, + /** + * added to help the parsers + */ + NULL; + public static V3ActSite fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_HumanActSite".equals(codeString)) + return _HUMANACTSITE; + if ("_HumanSubstanceAdministrationSite".equals(codeString)) + return _HUMANSUBSTANCEADMINISTRATIONSITE; + if ("BE".equals(codeString)) + return BE; + if ("BN".equals(codeString)) + return BN; + if ("BU".equals(codeString)) + return BU; + if ("LA".equals(codeString)) + return LA; + if ("LAC".equals(codeString)) + return LAC; + if ("LACF".equals(codeString)) + return LACF; + if ("LD".equals(codeString)) + return LD; + if ("LE".equals(codeString)) + return LE; + if ("LEJ".equals(codeString)) + return LEJ; + if ("LF".equals(codeString)) + return LF; + if ("LG".equals(codeString)) + return LG; + if ("LH".equals(codeString)) + return LH; + if ("LIJ".equals(codeString)) + return LIJ; + if ("LLAQ".equals(codeString)) + return LLAQ; + if ("LLFA".equals(codeString)) + return LLFA; + if ("LMFA".equals(codeString)) + return LMFA; + if ("LN".equals(codeString)) + return LN; + if ("LPC".equals(codeString)) + return LPC; + if ("LSC".equals(codeString)) + return LSC; + if ("LT".equals(codeString)) + return LT; + if ("LUA".equals(codeString)) + return LUA; + if ("LUAQ".equals(codeString)) + return LUAQ; + if ("LUFA".equals(codeString)) + return LUFA; + if ("LVG".equals(codeString)) + return LVG; + if ("LVL".equals(codeString)) + return LVL; + if ("OD".equals(codeString)) + return OD; + if ("OS".equals(codeString)) + return OS; + if ("OU".equals(codeString)) + return OU; + if ("PA".equals(codeString)) + return PA; + if ("PERIN".equals(codeString)) + return PERIN; + if ("RA".equals(codeString)) + return RA; + if ("RAC".equals(codeString)) + return RAC; + if ("RACF".equals(codeString)) + return RACF; + if ("RD".equals(codeString)) + return RD; + if ("RE".equals(codeString)) + return RE; + if ("REJ".equals(codeString)) + return REJ; + if ("RF".equals(codeString)) + return RF; + if ("RG".equals(codeString)) + return RG; + if ("RH".equals(codeString)) + return RH; + if ("RIJ".equals(codeString)) + return RIJ; + if ("RLAQ".equals(codeString)) + return RLAQ; + if ("RLFA".equals(codeString)) + return RLFA; + if ("RMFA".equals(codeString)) + return RMFA; + if ("RN".equals(codeString)) + return RN; + if ("RPC".equals(codeString)) + return RPC; + if ("RSC".equals(codeString)) + return RSC; + if ("RT".equals(codeString)) + return RT; + if ("RUA".equals(codeString)) + return RUA; + if ("RUAQ".equals(codeString)) + return RUAQ; + if ("RUFA".equals(codeString)) + return RUFA; + if ("RVG".equals(codeString)) + return RVG; + if ("RVL".equals(codeString)) + return RVL; + throw new Exception("Unknown V3ActSite code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _HUMANACTSITE: return "_HumanActSite"; + case _HUMANSUBSTANCEADMINISTRATIONSITE: return "_HumanSubstanceAdministrationSite"; + case BE: return "BE"; + case BN: return "BN"; + case BU: return "BU"; + case LA: return "LA"; + case LAC: return "LAC"; + case LACF: return "LACF"; + case LD: return "LD"; + case LE: return "LE"; + case LEJ: return "LEJ"; + case LF: return "LF"; + case LG: return "LG"; + case LH: return "LH"; + case LIJ: return "LIJ"; + case LLAQ: return "LLAQ"; + case LLFA: return "LLFA"; + case LMFA: return "LMFA"; + case LN: return "LN"; + case LPC: return "LPC"; + case LSC: return "LSC"; + case LT: return "LT"; + case LUA: return "LUA"; + case LUAQ: return "LUAQ"; + case LUFA: return "LUFA"; + case LVG: return "LVG"; + case LVL: return "LVL"; + case OD: return "OD"; + case OS: return "OS"; + case OU: return "OU"; + case PA: return "PA"; + case PERIN: return "PERIN"; + case RA: return "RA"; + case RAC: return "RAC"; + case RACF: return "RACF"; + case RD: return "RD"; + case RE: return "RE"; + case REJ: return "REJ"; + case RF: return "RF"; + case RG: return "RG"; + case RH: return "RH"; + case RIJ: return "RIJ"; + case RLAQ: return "RLAQ"; + case RLFA: return "RLFA"; + case RMFA: return "RMFA"; + case RN: return "RN"; + case RPC: return "RPC"; + case RSC: return "RSC"; + case RT: return "RT"; + case RUA: return "RUA"; + case RUAQ: return "RUAQ"; + case RUFA: return "RUFA"; + case RVG: return "RVG"; + case RVL: return "RVL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActSite"; + } + public String getDefinition() { + switch (this) { + case _HUMANACTSITE: return "An anatomical location on a human which can be the focus of an act."; + case _HUMANSUBSTANCEADMINISTRATIONSITE: return "The set of body locations to or through which a drug product may be administered."; + case BE: return "bilateral ears"; + case BN: return "bilateral nares"; + case BU: return "buttock"; + case LA: return "left arm"; + case LAC: return "left anterior chest"; + case LACF: return "left antecubital fossa"; + case LD: return "left deltoid"; + case LE: return "left ear"; + case LEJ: return "left external jugular"; + case LF: return "left foot"; + case LG: return "left gluteus medius"; + case LH: return "left hand"; + case LIJ: return "left internal jugular"; + case LLAQ: return "left lower abd quadrant"; + case LLFA: return "left lower forearm"; + case LMFA: return "left mid forearm"; + case LN: return "left naris"; + case LPC: return "left posterior chest"; + case LSC: return "left subclavian"; + case LT: return "left thigh"; + case LUA: return "left upper arm"; + case LUAQ: return "left upper abd quadrant"; + case LUFA: return "left upper forearm"; + case LVG: return "left ventragluteal"; + case LVL: return "left vastus lateralis"; + case OD: return "right eye"; + case OS: return "left eye"; + case OU: return "bilateral eyes"; + case PA: return "perianal"; + case PERIN: return "perineal"; + case RA: return "right arm"; + case RAC: return "right anterior chest"; + case RACF: return "right antecubital fossa"; + case RD: return "right deltoid"; + case RE: return "right ear"; + case REJ: return "right external jugular"; + case RF: return "right foot"; + case RG: return "right gluteus medius"; + case RH: return "right hand"; + case RIJ: return "right internal jugular"; + case RLAQ: return "right lower abd quadrant"; + case RLFA: return "right lower forearm"; + case RMFA: return "right mid forearm"; + case RN: return "right naris"; + case RPC: return "right posterior chest"; + case RSC: return "right subclavian"; + case RT: return "right thigh"; + case RUA: return "right upper arm"; + case RUAQ: return "right upper abd quadrant"; + case RUFA: return "right upper forearm"; + case RVG: return "right ventragluteal"; + case RVL: return "right vastus lateralis"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _HUMANACTSITE: return "HumanActSite"; + case _HUMANSUBSTANCEADMINISTRATIONSITE: return "HumanSubstanceAdministrationSite"; + case BE: return "bilateral ears"; + case BN: return "bilateral nares"; + case BU: return "buttock"; + case LA: return "left arm"; + case LAC: return "left anterior chest"; + case LACF: return "left antecubital fossa"; + case LD: return "left deltoid"; + case LE: return "left ear"; + case LEJ: return "left external jugular"; + case LF: return "left foot"; + case LG: return "left gluteus medius"; + case LH: return "left hand"; + case LIJ: return "left internal jugular"; + case LLAQ: return "left lower abd quadrant"; + case LLFA: return "left lower forearm"; + case LMFA: return "left mid forearm"; + case LN: return "left naris"; + case LPC: return "left posterior chest"; + case LSC: return "left subclavian"; + case LT: return "left thigh"; + case LUA: return "left upper arm"; + case LUAQ: return "left upper abd quadrant"; + case LUFA: return "left upper forearm"; + case LVG: return "left ventragluteal"; + case LVL: return "left vastus lateralis"; + case OD: return "right eye"; + case OS: return "left eye"; + case OU: return "bilateral eyes"; + case PA: return "perianal"; + case PERIN: return "perineal"; + case RA: return "right arm"; + case RAC: return "right anterior chest"; + case RACF: return "right antecubital fossa"; + case RD: return "right deltoid"; + case RE: return "right ear"; + case REJ: return "right external jugular"; + case RF: return "right foot"; + case RG: return "right gluteus medius"; + case RH: return "right hand"; + case RIJ: return "right internal jugular"; + case RLAQ: return "right lower abd quadrant"; + case RLFA: return "right lower forearm"; + case RMFA: return "right mid forearm"; + case RN: return "right naris"; + case RPC: return "right posterior chest"; + case RSC: return "right subclavian"; + case RT: return "right thigh"; + case RUA: return "right upper arm"; + case RUAQ: return "right upper abd quadrant"; + case RUFA: return "right upper forearm"; + case RVG: return "right ventragluteal"; + case RVL: return "right vastus lateralis"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSiteEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSiteEnumFactory.java new file mode 100644 index 00000000000..062e223e396 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActSiteEnumFactory.java @@ -0,0 +1,267 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActSiteEnumFactory implements EnumFactory { + + public V3ActSite fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_HumanActSite".equals(codeString)) + return V3ActSite._HUMANACTSITE; + if ("_HumanSubstanceAdministrationSite".equals(codeString)) + return V3ActSite._HUMANSUBSTANCEADMINISTRATIONSITE; + if ("BE".equals(codeString)) + return V3ActSite.BE; + if ("BN".equals(codeString)) + return V3ActSite.BN; + if ("BU".equals(codeString)) + return V3ActSite.BU; + if ("LA".equals(codeString)) + return V3ActSite.LA; + if ("LAC".equals(codeString)) + return V3ActSite.LAC; + if ("LACF".equals(codeString)) + return V3ActSite.LACF; + if ("LD".equals(codeString)) + return V3ActSite.LD; + if ("LE".equals(codeString)) + return V3ActSite.LE; + if ("LEJ".equals(codeString)) + return V3ActSite.LEJ; + if ("LF".equals(codeString)) + return V3ActSite.LF; + if ("LG".equals(codeString)) + return V3ActSite.LG; + if ("LH".equals(codeString)) + return V3ActSite.LH; + if ("LIJ".equals(codeString)) + return V3ActSite.LIJ; + if ("LLAQ".equals(codeString)) + return V3ActSite.LLAQ; + if ("LLFA".equals(codeString)) + return V3ActSite.LLFA; + if ("LMFA".equals(codeString)) + return V3ActSite.LMFA; + if ("LN".equals(codeString)) + return V3ActSite.LN; + if ("LPC".equals(codeString)) + return V3ActSite.LPC; + if ("LSC".equals(codeString)) + return V3ActSite.LSC; + if ("LT".equals(codeString)) + return V3ActSite.LT; + if ("LUA".equals(codeString)) + return V3ActSite.LUA; + if ("LUAQ".equals(codeString)) + return V3ActSite.LUAQ; + if ("LUFA".equals(codeString)) + return V3ActSite.LUFA; + if ("LVG".equals(codeString)) + return V3ActSite.LVG; + if ("LVL".equals(codeString)) + return V3ActSite.LVL; + if ("OD".equals(codeString)) + return V3ActSite.OD; + if ("OS".equals(codeString)) + return V3ActSite.OS; + if ("OU".equals(codeString)) + return V3ActSite.OU; + if ("PA".equals(codeString)) + return V3ActSite.PA; + if ("PERIN".equals(codeString)) + return V3ActSite.PERIN; + if ("RA".equals(codeString)) + return V3ActSite.RA; + if ("RAC".equals(codeString)) + return V3ActSite.RAC; + if ("RACF".equals(codeString)) + return V3ActSite.RACF; + if ("RD".equals(codeString)) + return V3ActSite.RD; + if ("RE".equals(codeString)) + return V3ActSite.RE; + if ("REJ".equals(codeString)) + return V3ActSite.REJ; + if ("RF".equals(codeString)) + return V3ActSite.RF; + if ("RG".equals(codeString)) + return V3ActSite.RG; + if ("RH".equals(codeString)) + return V3ActSite.RH; + if ("RIJ".equals(codeString)) + return V3ActSite.RIJ; + if ("RLAQ".equals(codeString)) + return V3ActSite.RLAQ; + if ("RLFA".equals(codeString)) + return V3ActSite.RLFA; + if ("RMFA".equals(codeString)) + return V3ActSite.RMFA; + if ("RN".equals(codeString)) + return V3ActSite.RN; + if ("RPC".equals(codeString)) + return V3ActSite.RPC; + if ("RSC".equals(codeString)) + return V3ActSite.RSC; + if ("RT".equals(codeString)) + return V3ActSite.RT; + if ("RUA".equals(codeString)) + return V3ActSite.RUA; + if ("RUAQ".equals(codeString)) + return V3ActSite.RUAQ; + if ("RUFA".equals(codeString)) + return V3ActSite.RUFA; + if ("RVG".equals(codeString)) + return V3ActSite.RVG; + if ("RVL".equals(codeString)) + return V3ActSite.RVL; + throw new IllegalArgumentException("Unknown V3ActSite code '"+codeString+"'"); + } + + public String toCode(V3ActSite code) { + if (code == V3ActSite._HUMANACTSITE) + return "_HumanActSite"; + if (code == V3ActSite._HUMANSUBSTANCEADMINISTRATIONSITE) + return "_HumanSubstanceAdministrationSite"; + if (code == V3ActSite.BE) + return "BE"; + if (code == V3ActSite.BN) + return "BN"; + if (code == V3ActSite.BU) + return "BU"; + if (code == V3ActSite.LA) + return "LA"; + if (code == V3ActSite.LAC) + return "LAC"; + if (code == V3ActSite.LACF) + return "LACF"; + if (code == V3ActSite.LD) + return "LD"; + if (code == V3ActSite.LE) + return "LE"; + if (code == V3ActSite.LEJ) + return "LEJ"; + if (code == V3ActSite.LF) + return "LF"; + if (code == V3ActSite.LG) + return "LG"; + if (code == V3ActSite.LH) + return "LH"; + if (code == V3ActSite.LIJ) + return "LIJ"; + if (code == V3ActSite.LLAQ) + return "LLAQ"; + if (code == V3ActSite.LLFA) + return "LLFA"; + if (code == V3ActSite.LMFA) + return "LMFA"; + if (code == V3ActSite.LN) + return "LN"; + if (code == V3ActSite.LPC) + return "LPC"; + if (code == V3ActSite.LSC) + return "LSC"; + if (code == V3ActSite.LT) + return "LT"; + if (code == V3ActSite.LUA) + return "LUA"; + if (code == V3ActSite.LUAQ) + return "LUAQ"; + if (code == V3ActSite.LUFA) + return "LUFA"; + if (code == V3ActSite.LVG) + return "LVG"; + if (code == V3ActSite.LVL) + return "LVL"; + if (code == V3ActSite.OD) + return "OD"; + if (code == V3ActSite.OS) + return "OS"; + if (code == V3ActSite.OU) + return "OU"; + if (code == V3ActSite.PA) + return "PA"; + if (code == V3ActSite.PERIN) + return "PERIN"; + if (code == V3ActSite.RA) + return "RA"; + if (code == V3ActSite.RAC) + return "RAC"; + if (code == V3ActSite.RACF) + return "RACF"; + if (code == V3ActSite.RD) + return "RD"; + if (code == V3ActSite.RE) + return "RE"; + if (code == V3ActSite.REJ) + return "REJ"; + if (code == V3ActSite.RF) + return "RF"; + if (code == V3ActSite.RG) + return "RG"; + if (code == V3ActSite.RH) + return "RH"; + if (code == V3ActSite.RIJ) + return "RIJ"; + if (code == V3ActSite.RLAQ) + return "RLAQ"; + if (code == V3ActSite.RLFA) + return "RLFA"; + if (code == V3ActSite.RMFA) + return "RMFA"; + if (code == V3ActSite.RN) + return "RN"; + if (code == V3ActSite.RPC) + return "RPC"; + if (code == V3ActSite.RSC) + return "RSC"; + if (code == V3ActSite.RT) + return "RT"; + if (code == V3ActSite.RUA) + return "RUA"; + if (code == V3ActSite.RUAQ) + return "RUAQ"; + if (code == V3ActSite.RUFA) + return "RUFA"; + if (code == V3ActSite.RVG) + return "RVG"; + if (code == V3ActSite.RVL) + return "RVL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatus.java new file mode 100644 index 00000000000..40698b7ddec --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatus.java @@ -0,0 +1,157 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActStatus { + + /** + * Encompasses the expected states of an Act, but excludes "nullified" and "obsolete" which represent unusual terminal states for the life-cycle. + */ + NORMAL, + /** + * The Act has been terminated prior to the originally intended completion. + */ + ABORTED, + /** + * The Act can be performed or is being performed + */ + ACTIVE, + /** + * The Act has been abandoned before activation. + */ + CANCELLED, + /** + * An Act that has terminated normally after all of its constituents have been performed. + */ + COMPLETED, + /** + * An Act that is still in the preparatory stages has been put aside. No action can occur until the Act is released. + */ + HELD, + /** + * An Act that is in the preparatory stages and may not yet be acted upon + */ + NEW, + /** + * An Act that has been activated (actions could or have been performed against it), but has been temporarily disabled. No further action should be taken against it until it is released + */ + SUSPENDED, + /** + * This Act instance was created in error and has been 'removed' and is treated as though it never existed. A record is retained for audit purposes only. + */ + NULLIFIED, + /** + * This Act instance has been replaced by a new instance. + */ + OBSOLETE, + /** + * added to help the parsers + */ + NULL; + public static V3ActStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return NORMAL; + if ("aborted".equals(codeString)) + return ABORTED; + if ("active".equals(codeString)) + return ACTIVE; + if ("cancelled".equals(codeString)) + return CANCELLED; + if ("completed".equals(codeString)) + return COMPLETED; + if ("held".equals(codeString)) + return HELD; + if ("new".equals(codeString)) + return NEW; + if ("suspended".equals(codeString)) + return SUSPENDED; + if ("nullified".equals(codeString)) + return NULLIFIED; + if ("obsolete".equals(codeString)) + return OBSOLETE; + throw new Exception("Unknown V3ActStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NORMAL: return "normal"; + case ABORTED: return "aborted"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case COMPLETED: return "completed"; + case HELD: return "held"; + case NEW: return "new"; + case SUSPENDED: return "suspended"; + case NULLIFIED: return "nullified"; + case OBSOLETE: return "obsolete"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActStatus"; + } + public String getDefinition() { + switch (this) { + case NORMAL: return "Encompasses the expected states of an Act, but excludes 'nullified' and 'obsolete' which represent unusual terminal states for the life-cycle."; + case ABORTED: return "The Act has been terminated prior to the originally intended completion."; + case ACTIVE: return "The Act can be performed or is being performed"; + case CANCELLED: return "The Act has been abandoned before activation."; + case COMPLETED: return "An Act that has terminated normally after all of its constituents have been performed."; + case HELD: return "An Act that is still in the preparatory stages has been put aside. No action can occur until the Act is released."; + case NEW: return "An Act that is in the preparatory stages and may not yet be acted upon"; + case SUSPENDED: return "An Act that has been activated (actions could or have been performed against it), but has been temporarily disabled. No further action should be taken against it until it is released"; + case NULLIFIED: return "This Act instance was created in error and has been 'removed' and is treated as though it never existed. A record is retained for audit purposes only."; + case OBSOLETE: return "This Act instance has been replaced by a new instance."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NORMAL: return "normal"; + case ABORTED: return "aborted"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case COMPLETED: return "completed"; + case HELD: return "held"; + case NEW: return "new"; + case SUSPENDED: return "suspended"; + case NULLIFIED: return "nullified"; + case OBSOLETE: return "obsolete"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatusEnumFactory.java new file mode 100644 index 00000000000..a0244ad5fa0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActStatusEnumFactory.java @@ -0,0 +1,91 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActStatusEnumFactory implements EnumFactory { + + public V3ActStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return V3ActStatus.NORMAL; + if ("aborted".equals(codeString)) + return V3ActStatus.ABORTED; + if ("active".equals(codeString)) + return V3ActStatus.ACTIVE; + if ("cancelled".equals(codeString)) + return V3ActStatus.CANCELLED; + if ("completed".equals(codeString)) + return V3ActStatus.COMPLETED; + if ("held".equals(codeString)) + return V3ActStatus.HELD; + if ("new".equals(codeString)) + return V3ActStatus.NEW; + if ("suspended".equals(codeString)) + return V3ActStatus.SUSPENDED; + if ("nullified".equals(codeString)) + return V3ActStatus.NULLIFIED; + if ("obsolete".equals(codeString)) + return V3ActStatus.OBSOLETE; + throw new IllegalArgumentException("Unknown V3ActStatus code '"+codeString+"'"); + } + + public String toCode(V3ActStatus code) { + if (code == V3ActStatus.NORMAL) + return "normal"; + if (code == V3ActStatus.ABORTED) + return "aborted"; + if (code == V3ActStatus.ACTIVE) + return "active"; + if (code == V3ActStatus.CANCELLED) + return "cancelled"; + if (code == V3ActStatus.COMPLETED) + return "completed"; + if (code == V3ActStatus.HELD) + return "held"; + if (code == V3ActStatus.NEW) + return "new"; + if (code == V3ActStatus.SUSPENDED) + return "suspended"; + if (code == V3ActStatus.NULLIFIED) + return "nullified"; + if (code == V3ActStatus.OBSOLETE) + return "obsolete"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLaw.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLaw.java new file mode 100644 index 00000000000..a7172c90cec --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLaw.java @@ -0,0 +1,172 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActUSPrivacyLaw { + + /** + * Definition: A jurisdictional mandate in the U.S. relating to privacy. + + + Usage Note: ActPrivacyLaw codes may be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialtyCode complies. May be used to further specify rationale for assignment of other ActPrivacyPolicy codes in the US realm, e.g., ETH and 42CFRPart2 can be differentiated from ETH and Title38Part1. + */ + _ACTUSPRIVACYLAW, + /** + * 42 CFR Part 2 stipulates the right of an individual who has applied for or been given diagnosis or treatment for alcohol or drug abuse at a federally assisted program. + + + Definition: Non-disclosure of health information relating to health care paid for by a federally assisted substance abuse program without patient consent. + + + Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies. + */ + _42CFRPART2, + /** + * U.S. Federal regulations governing the protection of human subjects in research (codified at Subpart A of 45 CFR part 46) that has been adopted by 15 U.S. Federal departments and agencies in an effort to promote uniformity, understanding, and compliance with human subject protections. Existing regulations governing the protection of human subjects in Food and Drug Administration (FDA)-regulated research (21 CFR parts 50, 56, 312, and 812) are separate from the Common Rule but include similar requirements. + + + Definition: U.S. federal laws governing research-related privacy policies. + + + Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialtyCode complies. + */ + COMMONRULE, + /** + * The U.S. Public Law 104-191 Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule (45 CFR Part 164 Subpart E) permits access, use and disclosure of certain personal health information (PHI as defined under the law) for purposes of Treatment, Payment, and Operations, and requires that the provider ask that patients acknowledge the Provider's Notice of Privacy Practices as permitted conduct under the law. + + + Definition: Notification of HIPAA Privacy Practices. + + + Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialtyCode complies. + */ + HIPAANOPP, + /** + * The U.S. Public Law 104-191 Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule (45 CFR Part 164 Section 164.508) requires authorization for certain uses and disclosure of psychotherapy notes. + + + Definition: Authorization that must be obtained for disclosure of psychotherapy notes. + + + Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies. + */ + HIPAAPSYNOTES, + /** + * Section 13405(a) of the Health Information Technology for Economic and Clinical Health Act (HITECH) stipulates the right of an individual to have disclosures regarding certain health care items or services for which the individual pays out of pocket in full restricted from a health plan. + + + Definition: Non-disclosure of health information to a health plan relating to health care items or services for which an individual pays out of pocket in full. + + + Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies. + */ + HIPAASELFPAY, + /** + * Title 38 Part 1-protected information may only be disclosed to a third party with the special written consent of the patient except where expressly authorized by 38 USC 7332. VA may disclose this information for specific purposes to: VA employees on a need to know basis - more restrictive than Privacy Act need to know; contractors who need the information in order to perform or fulfill the duties of the contract; and researchers who provide assurances that the information will not be identified in any report. This information may also be disclosed without consent where patient lacks decision-making capacity; in a medical emergency for the purpose of treating a condition which poses an immediate threat to the health of any individual and which requires immediate medical intervention; for eye, tissue, or organ donation purposes; and disclosure of HIV information for public health purposes. + + + Definition: Title 38 Part 1 - §1.462 Confidentiality restrictions. + + +(a) General. The patient records to which §§1.460 through 1.499 of this part apply may be disclosed or used only as permitted by these regulations and may not otherwise be disclosed or used in any civil, criminal, administrative, or legislative proceedings conducted by any Federal, State, or local authority. Any disclosure made under these regulations must be limited to that information which is necessary to carry out the purpose of the disclosure. SUBCHAPTER III--PROTECTION OF PATIENT RIGHTS Sec. 7332. Confidentiality of certain medical records (a)(1) Records of the identity, diagnosis, prognosis, or treatment of any patient or subject which are maintained in connection with the performance of any program or activity (including education, training, treatment, rehabilitation, or research) relating to drug abuse, alcoholism or alcohol abuse, infection with the human immunodeficiency virus, or sickle cell anemia which is carried out by or for the Department under this title shall, except as provided in subsections (e) and (f), be confidential, and (section 5701 of this title to the contrary notwithstanding) such records may be disclosed only for the purposes and under the circumstances expressly authorized under subsection (b). + + + Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies. + */ + TITLE38SECTION7332, + /** + * added to help the parsers + */ + NULL; + public static V3ActUSPrivacyLaw fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActUSPrivacyLaw".equals(codeString)) + return _ACTUSPRIVACYLAW; + if ("42CFRPart2".equals(codeString)) + return _42CFRPART2; + if ("CommonRule".equals(codeString)) + return COMMONRULE; + if ("HIPAANOPP".equals(codeString)) + return HIPAANOPP; + if ("HIPAAPsyNotes".equals(codeString)) + return HIPAAPSYNOTES; + if ("HIPAASelfPay".equals(codeString)) + return HIPAASELFPAY; + if ("Title38Section7332".equals(codeString)) + return TITLE38SECTION7332; + throw new Exception("Unknown V3ActUSPrivacyLaw code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACTUSPRIVACYLAW: return "_ActUSPrivacyLaw"; + case _42CFRPART2: return "42CFRPart2"; + case COMMONRULE: return "CommonRule"; + case HIPAANOPP: return "HIPAANOPP"; + case HIPAAPSYNOTES: return "HIPAAPsyNotes"; + case HIPAASELFPAY: return "HIPAASelfPay"; + case TITLE38SECTION7332: return "Title38Section7332"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActUSPrivacyLaw"; + } + public String getDefinition() { + switch (this) { + case _ACTUSPRIVACYLAW: return "Definition: A jurisdictional mandate in the U.S. relating to privacy.\r\n\n \n Usage Note: ActPrivacyLaw codes may be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialtyCode complies. May be used to further specify rationale for assignment of other ActPrivacyPolicy codes in the US realm, e.g., ETH and 42CFRPart2 can be differentiated from ETH and Title38Part1."; + case _42CFRPART2: return "42 CFR Part 2 stipulates the right of an individual who has applied for or been given diagnosis or treatment for alcohol or drug abuse at a federally assisted program.\r\n\n \n Definition: Non-disclosure of health information relating to health care paid for by a federally assisted substance abuse program without patient consent.\r\n\n \n Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies."; + case COMMONRULE: return "U.S. Federal regulations governing the protection of human subjects in research (codified at Subpart A of 45 CFR part 46) that has been adopted by 15 U.S. Federal departments and agencies in an effort to promote uniformity, understanding, and compliance with human subject protections. Existing regulations governing the protection of human subjects in Food and Drug Administration (FDA)-regulated research (21 CFR parts 50, 56, 312, and 812) are separate from the Common Rule but include similar requirements.\r\n\n \n Definition: U.S. federal laws governing research-related privacy policies.\r\n\n \n Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialtyCode complies."; + case HIPAANOPP: return "The U.S. Public Law 104-191 Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule (45 CFR Part 164 Subpart E) permits access, use and disclosure of certain personal health information (PHI as defined under the law) for purposes of Treatment, Payment, and Operations, and requires that the provider ask that patients acknowledge the Provider's Notice of Privacy Practices as permitted conduct under the law.\r\n\n \n Definition: Notification of HIPAA Privacy Practices.\r\n\n \n Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialtyCode complies."; + case HIPAAPSYNOTES: return "The U.S. Public Law 104-191 Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule (45 CFR Part 164 Section 164.508) requires authorization for certain uses and disclosure of psychotherapy notes.\r\n\n \n Definition: Authorization that must be obtained for disclosure of psychotherapy notes.\r\n\n \n Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies."; + case HIPAASELFPAY: return "Section 13405(a) of the Health Information Technology for Economic and Clinical Health Act (HITECH) stipulates the right of an individual to have disclosures regarding certain health care items or services for which the individual pays out of pocket in full restricted from a health plan.\r\n\n \n Definition: Non-disclosure of health information to a health plan relating to health care items or services for which an individual pays out of pocket in full.\r\n\n \n Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies."; + case TITLE38SECTION7332: return "Title 38 Part 1-protected information may only be disclosed to a third party with the special written consent of the patient except where expressly authorized by 38 USC 7332. VA may disclose this information for specific purposes to: VA employees on a need to know basis - more restrictive than Privacy Act need to know; contractors who need the information in order to perform or fulfill the duties of the contract; and researchers who provide assurances that the information will not be identified in any report. This information may also be disclosed without consent where patient lacks decision-making capacity; in a medical emergency for the purpose of treating a condition which poses an immediate threat to the health of any individual and which requires immediate medical intervention; for eye, tissue, or organ donation purposes; and disclosure of HIV information for public health purposes.\r\n\n \n Definition: Title 38 Part 1 - §1.462 Confidentiality restrictions.\r\n\n \n(a) General. The patient records to which §§1.460 through 1.499 of this part apply may be disclosed or used only as permitted by these regulations and may not otherwise be disclosed or used in any civil, criminal, administrative, or legislative proceedings conducted by any Federal, State, or local authority. Any disclosure made under these regulations must be limited to that information which is necessary to carry out the purpose of the disclosure. SUBCHAPTER III--PROTECTION OF PATIENT RIGHTS Sec. 7332. Confidentiality of certain medical records (a)(1) Records of the identity, diagnosis, prognosis, or treatment of any patient or subject which are maintained in connection with the performance of any program or activity (including education, training, treatment, rehabilitation, or research) relating to drug abuse, alcoholism or alcohol abuse, infection with the human immunodeficiency virus, or sickle cell anemia which is carried out by or for the Department under this title shall, except as provided in subsections (e) and (f), be confidential, and (section 5701 of this title to the contrary notwithstanding) such records may be disclosed only for the purposes and under the circumstances expressly authorized under subsection (b).\r\n\n \n Usage Note: May be associated with an Act or a Role to indicate the legal provision to which the assignment of an Act.confidentialityCode or Role.confidentialityCode complies."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACTUSPRIVACYLAW: return "ActUSPrivacyLaw"; + case _42CFRPART2: return "42 CFR Part2"; + case COMMONRULE: return "Common Rule"; + case HIPAANOPP: return "HIPAA notice of privacy practices"; + case HIPAAPSYNOTES: return "HIPAA psychotherapy notes"; + case HIPAASELFPAY: return "HIPAA self-pay"; + case TITLE38SECTION7332: return "Title 38 Section 7332"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLawEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLawEnumFactory.java new file mode 100644 index 00000000000..c3e390d5517 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUSPrivacyLawEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActUSPrivacyLawEnumFactory implements EnumFactory { + + public V3ActUSPrivacyLaw fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActUSPrivacyLaw".equals(codeString)) + return V3ActUSPrivacyLaw._ACTUSPRIVACYLAW; + if ("42CFRPart2".equals(codeString)) + return V3ActUSPrivacyLaw._42CFRPART2; + if ("CommonRule".equals(codeString)) + return V3ActUSPrivacyLaw.COMMONRULE; + if ("HIPAANOPP".equals(codeString)) + return V3ActUSPrivacyLaw.HIPAANOPP; + if ("HIPAAPsyNotes".equals(codeString)) + return V3ActUSPrivacyLaw.HIPAAPSYNOTES; + if ("HIPAASelfPay".equals(codeString)) + return V3ActUSPrivacyLaw.HIPAASELFPAY; + if ("Title38Section7332".equals(codeString)) + return V3ActUSPrivacyLaw.TITLE38SECTION7332; + throw new IllegalArgumentException("Unknown V3ActUSPrivacyLaw code '"+codeString+"'"); + } + + public String toCode(V3ActUSPrivacyLaw code) { + if (code == V3ActUSPrivacyLaw._ACTUSPRIVACYLAW) + return "_ActUSPrivacyLaw"; + if (code == V3ActUSPrivacyLaw._42CFRPART2) + return "42CFRPart2"; + if (code == V3ActUSPrivacyLaw.COMMONRULE) + return "CommonRule"; + if (code == V3ActUSPrivacyLaw.HIPAANOPP) + return "HIPAANOPP"; + if (code == V3ActUSPrivacyLaw.HIPAAPSYNOTES) + return "HIPAAPsyNotes"; + if (code == V3ActUSPrivacyLaw.HIPAASELFPAY) + return "HIPAASelfPay"; + if (code == V3ActUSPrivacyLaw.TITLE38SECTION7332) + return "Title38Section7332"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertainty.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertainty.java new file mode 100644 index 00000000000..f9a7a2598fc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertainty.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ActUncertainty { + + /** + * Specifies that the act statement is made without explicit tagging of uncertainty. This is the normal statement, meaning that it is not free of errors and uncertainty may still exist. + */ + N, + /** + * Specifies that the originator of the Act statement does not have full confidence in the applicability (i.e., in event mood: factual truth) of the statement. + */ + U, + /** + * added to help the parsers + */ + NULL; + public static V3ActUncertainty fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("N".equals(codeString)) + return N; + if ("U".equals(codeString)) + return U; + throw new Exception("Unknown V3ActUncertainty code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case N: return "N"; + case U: return "U"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ActUncertainty"; + } + public String getDefinition() { + switch (this) { + case N: return "Specifies that the act statement is made without explicit tagging of uncertainty. This is the normal statement, meaning that it is not free of errors and uncertainty may still exist."; + case U: return "Specifies that the originator of the Act statement does not have full confidence in the applicability (i.e., in event mood: factual truth) of the statement."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case N: return "stated with no assertion of uncertainty"; + case U: return "stated with uncertainty"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertaintyEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertaintyEnumFactory.java new file mode 100644 index 00000000000..d77409cedd1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActUncertaintyEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ActUncertaintyEnumFactory implements EnumFactory { + + public V3ActUncertainty fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("N".equals(codeString)) + return V3ActUncertainty.N; + if ("U".equals(codeString)) + return V3ActUncertainty.U; + throw new IllegalArgumentException("Unknown V3ActUncertainty code '"+codeString+"'"); + } + + public String toCode(V3ActUncertainty code) { + if (code == V3ActUncertainty.N) + return "N"; + if (code == V3ActUncertainty.U) + return "U"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartType.java new file mode 100644 index 00000000000..1f83643ed55 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartType.java @@ -0,0 +1,337 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AddressPartType { + + /** + * This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., "3rd floor, Appt. 342"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch "t.o." means "opposite to" for house boats located across the street facing houses). + */ + ADL, + /** + * Description: An address line is for either an additional locator, a delivery address or a street address. + */ + AL, + /** + * A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both. + */ + DAL, + /** + * Description: A street address line is frequently used instead of breaking out build number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both. + */ + SAL, + /** + * The numeric portion of a building number + */ + BNN, + /** + * The number of a building, house or lot alongside the street. Also known as "primary street number". This does not number the street but rather the building. + */ + BNR, + /** + * Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number + */ + BNS, + /** + * The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient + */ + CAR, + /** + * A geographic sub-unit delineated for demographic purposes. + */ + CEN, + /** + * Country + */ + CNT, + /** + * A sub-unit of a state or province. (49 of the United States of America use the term "county;" Louisiana uses the term "parish".) + */ + CPA, + /** + * The name of the city, town, village, or other community or delivery center + */ + CTY, + /** + * Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break. + */ + DEL, + /** + * Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc. + */ + DINST, + /** + * The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route. + */ + DINSTA, + /** + * A number, letter or name identifying a delivery installation. E.g., for Station A, the delivery installation qualifier would be 'A'. + */ + DINSTQ, + /** + * Direction (e.g., N, S, W, E) + */ + DIR, + /** + * Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc. + */ + DMOD, + /** + * Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number). + */ + DMODID, + /** + * A value that uniquely identifies the postal address. + */ + DPID, + /** + * Description:An intersection denotes that the actual address is located AT or CLOSE TO the intersection OF two or more streets. + */ + INT, + /** + * A numbered box located in a post station. + */ + POB, + /** + * A subsection of a municipality + */ + PRE, + /** + * A sub-unit of a country with limited sovereignty in a federally organized country. + */ + STA, + /** + * The base name of a roadway or artery recognized by a municipality (excluding street type and direction) + */ + STB, + /** + * street name + */ + STR, + /** + * The designation given to the street. (e.g. Street, Avenue, Crescent, etc.) + */ + STTYP, + /** + * The number or name of a specific unit contained within a building or complex, as assigned by that building or complex. + */ + UNID, + /** + * Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor + */ + UNIT, + /** + * A postal code designating a region defined by the postal service. + */ + ZIP, + /** + * added to help the parsers + */ + NULL; + public static V3AddressPartType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ADL".equals(codeString)) + return ADL; + if ("AL".equals(codeString)) + return AL; + if ("DAL".equals(codeString)) + return DAL; + if ("SAL".equals(codeString)) + return SAL; + if ("BNN".equals(codeString)) + return BNN; + if ("BNR".equals(codeString)) + return BNR; + if ("BNS".equals(codeString)) + return BNS; + if ("CAR".equals(codeString)) + return CAR; + if ("CEN".equals(codeString)) + return CEN; + if ("CNT".equals(codeString)) + return CNT; + if ("CPA".equals(codeString)) + return CPA; + if ("CTY".equals(codeString)) + return CTY; + if ("DEL".equals(codeString)) + return DEL; + if ("DINST".equals(codeString)) + return DINST; + if ("DINSTA".equals(codeString)) + return DINSTA; + if ("DINSTQ".equals(codeString)) + return DINSTQ; + if ("DIR".equals(codeString)) + return DIR; + if ("DMOD".equals(codeString)) + return DMOD; + if ("DMODID".equals(codeString)) + return DMODID; + if ("DPID".equals(codeString)) + return DPID; + if ("INT".equals(codeString)) + return INT; + if ("POB".equals(codeString)) + return POB; + if ("PRE".equals(codeString)) + return PRE; + if ("STA".equals(codeString)) + return STA; + if ("STB".equals(codeString)) + return STB; + if ("STR".equals(codeString)) + return STR; + if ("STTYP".equals(codeString)) + return STTYP; + if ("UNID".equals(codeString)) + return UNID; + if ("UNIT".equals(codeString)) + return UNIT; + if ("ZIP".equals(codeString)) + return ZIP; + throw new Exception("Unknown V3AddressPartType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ADL: return "ADL"; + case AL: return "AL"; + case DAL: return "DAL"; + case SAL: return "SAL"; + case BNN: return "BNN"; + case BNR: return "BNR"; + case BNS: return "BNS"; + case CAR: return "CAR"; + case CEN: return "CEN"; + case CNT: return "CNT"; + case CPA: return "CPA"; + case CTY: return "CTY"; + case DEL: return "DEL"; + case DINST: return "DINST"; + case DINSTA: return "DINSTA"; + case DINSTQ: return "DINSTQ"; + case DIR: return "DIR"; + case DMOD: return "DMOD"; + case DMODID: return "DMODID"; + case DPID: return "DPID"; + case INT: return "INT"; + case POB: return "POB"; + case PRE: return "PRE"; + case STA: return "STA"; + case STB: return "STB"; + case STR: return "STR"; + case STTYP: return "STTYP"; + case UNID: return "UNID"; + case UNIT: return "UNIT"; + case ZIP: return "ZIP"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AddressPartType"; + } + public String getDefinition() { + switch (this) { + case ADL: return "This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., '3rd floor, Appt. 342'). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch 't.o.' means 'opposite to' for house boats located across the street facing houses)."; + case AL: return "Description: An address line is for either an additional locator, a delivery address or a street address."; + case DAL: return "A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both."; + case SAL: return "Description: A street address line is frequently used instead of breaking out build number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both."; + case BNN: return "The numeric portion of a building number"; + case BNR: return "The number of a building, house or lot alongside the street. Also known as 'primary street number'. This does not number the street but rather the building."; + case BNS: return "Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number"; + case CAR: return "The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient"; + case CEN: return "A geographic sub-unit delineated for demographic purposes."; + case CNT: return "Country"; + case CPA: return "A sub-unit of a state or province. (49 of the United States of America use the term 'county;' Louisiana uses the term 'parish'.)"; + case CTY: return "The name of the city, town, village, or other community or delivery center"; + case DEL: return "Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break."; + case DINST: return "Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc."; + case DINSTA: return "The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route."; + case DINSTQ: return "A number, letter or name identifying a delivery installation. E.g., for Station A, the delivery installation qualifier would be 'A'."; + case DIR: return "Direction (e.g., N, S, W, E)"; + case DMOD: return "Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc."; + case DMODID: return "Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number)."; + case DPID: return "A value that uniquely identifies the postal address."; + case INT: return "Description:An intersection denotes that the actual address is located AT or CLOSE TO the intersection OF two or more streets."; + case POB: return "A numbered box located in a post station."; + case PRE: return "A subsection of a municipality"; + case STA: return "A sub-unit of a country with limited sovereignty in a federally organized country."; + case STB: return "The base name of a roadway or artery recognized by a municipality (excluding street type and direction)"; + case STR: return "street name"; + case STTYP: return "The designation given to the street. (e.g. Street, Avenue, Crescent, etc.)"; + case UNID: return "The number or name of a specific unit contained within a building or complex, as assigned by that building or complex."; + case UNIT: return "Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor"; + case ZIP: return "A postal code designating a region defined by the postal service."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ADL: return "additional locator"; + case AL: return "address line"; + case DAL: return "delivery address line"; + case SAL: return "street address line"; + case BNN: return "building number numeric"; + case BNR: return "building number"; + case BNS: return "building number suffix"; + case CAR: return "care of"; + case CEN: return "census tract"; + case CNT: return "country"; + case CPA: return "county or parish"; + case CTY: return "municipality"; + case DEL: return "delimiter"; + case DINST: return "delivery installation type"; + case DINSTA: return "delivery installation area"; + case DINSTQ: return "delivery installation qualifier"; + case DIR: return "direction"; + case DMOD: return "delivery mode"; + case DMODID: return "delivery mode identifier"; + case DPID: return "delivery point identifier"; + case INT: return "intersection"; + case POB: return "post box"; + case PRE: return "precinct"; + case STA: return "state or province"; + case STB: return "street name base"; + case STR: return "street name"; + case STTYP: return "street type"; + case UNID: return "unit identifier"; + case UNIT: return "unit designator"; + case ZIP: return "postal code"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartTypeEnumFactory.java new file mode 100644 index 00000000000..efceedd6993 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressPartTypeEnumFactory.java @@ -0,0 +1,171 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AddressPartTypeEnumFactory implements EnumFactory { + + public V3AddressPartType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ADL".equals(codeString)) + return V3AddressPartType.ADL; + if ("AL".equals(codeString)) + return V3AddressPartType.AL; + if ("DAL".equals(codeString)) + return V3AddressPartType.DAL; + if ("SAL".equals(codeString)) + return V3AddressPartType.SAL; + if ("BNN".equals(codeString)) + return V3AddressPartType.BNN; + if ("BNR".equals(codeString)) + return V3AddressPartType.BNR; + if ("BNS".equals(codeString)) + return V3AddressPartType.BNS; + if ("CAR".equals(codeString)) + return V3AddressPartType.CAR; + if ("CEN".equals(codeString)) + return V3AddressPartType.CEN; + if ("CNT".equals(codeString)) + return V3AddressPartType.CNT; + if ("CPA".equals(codeString)) + return V3AddressPartType.CPA; + if ("CTY".equals(codeString)) + return V3AddressPartType.CTY; + if ("DEL".equals(codeString)) + return V3AddressPartType.DEL; + if ("DINST".equals(codeString)) + return V3AddressPartType.DINST; + if ("DINSTA".equals(codeString)) + return V3AddressPartType.DINSTA; + if ("DINSTQ".equals(codeString)) + return V3AddressPartType.DINSTQ; + if ("DIR".equals(codeString)) + return V3AddressPartType.DIR; + if ("DMOD".equals(codeString)) + return V3AddressPartType.DMOD; + if ("DMODID".equals(codeString)) + return V3AddressPartType.DMODID; + if ("DPID".equals(codeString)) + return V3AddressPartType.DPID; + if ("INT".equals(codeString)) + return V3AddressPartType.INT; + if ("POB".equals(codeString)) + return V3AddressPartType.POB; + if ("PRE".equals(codeString)) + return V3AddressPartType.PRE; + if ("STA".equals(codeString)) + return V3AddressPartType.STA; + if ("STB".equals(codeString)) + return V3AddressPartType.STB; + if ("STR".equals(codeString)) + return V3AddressPartType.STR; + if ("STTYP".equals(codeString)) + return V3AddressPartType.STTYP; + if ("UNID".equals(codeString)) + return V3AddressPartType.UNID; + if ("UNIT".equals(codeString)) + return V3AddressPartType.UNIT; + if ("ZIP".equals(codeString)) + return V3AddressPartType.ZIP; + throw new IllegalArgumentException("Unknown V3AddressPartType code '"+codeString+"'"); + } + + public String toCode(V3AddressPartType code) { + if (code == V3AddressPartType.ADL) + return "ADL"; + if (code == V3AddressPartType.AL) + return "AL"; + if (code == V3AddressPartType.DAL) + return "DAL"; + if (code == V3AddressPartType.SAL) + return "SAL"; + if (code == V3AddressPartType.BNN) + return "BNN"; + if (code == V3AddressPartType.BNR) + return "BNR"; + if (code == V3AddressPartType.BNS) + return "BNS"; + if (code == V3AddressPartType.CAR) + return "CAR"; + if (code == V3AddressPartType.CEN) + return "CEN"; + if (code == V3AddressPartType.CNT) + return "CNT"; + if (code == V3AddressPartType.CPA) + return "CPA"; + if (code == V3AddressPartType.CTY) + return "CTY"; + if (code == V3AddressPartType.DEL) + return "DEL"; + if (code == V3AddressPartType.DINST) + return "DINST"; + if (code == V3AddressPartType.DINSTA) + return "DINSTA"; + if (code == V3AddressPartType.DINSTQ) + return "DINSTQ"; + if (code == V3AddressPartType.DIR) + return "DIR"; + if (code == V3AddressPartType.DMOD) + return "DMOD"; + if (code == V3AddressPartType.DMODID) + return "DMODID"; + if (code == V3AddressPartType.DPID) + return "DPID"; + if (code == V3AddressPartType.INT) + return "INT"; + if (code == V3AddressPartType.POB) + return "POB"; + if (code == V3AddressPartType.PRE) + return "PRE"; + if (code == V3AddressPartType.STA) + return "STA"; + if (code == V3AddressPartType.STB) + return "STB"; + if (code == V3AddressPartType.STR) + return "STR"; + if (code == V3AddressPartType.STTYP) + return "STTYP"; + if (code == V3AddressPartType.UNID) + return "UNID"; + if (code == V3AddressPartType.UNIT) + return "UNIT"; + if (code == V3AddressPartType.ZIP) + return "ZIP"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUse.java new file mode 100644 index 00000000000..957d4910799 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUse.java @@ -0,0 +1,241 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AddressUse { + + /** + * Description: Address uses that can apply to both postal and telecommunication addresses. + */ + _GENERALADDRESSUSE, + /** + * Description: A flag indicating that the address is bad, in fact, useless. + */ + BAD, + /** + * Description: Indicates that the address is considered sensitive and should only be shared or published in accordance with organizational controls governing patient demographic information with increased sensitivity. Uses of Addresses. Lloyd to supply more complete description. + */ + CONF, + /** + * Description: A communication address at a home, attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available. + */ + H, + /** + * Description: The primary home, to reach a person after business hours. + */ + HP, + /** + * Description: A vacation home, to reach a person while on vacation. + */ + HV, + /** + * This address is no longer in use. + + + Usage Note: Address may also carry valid time ranges. This code is used to cover the situations where it is known that the address is no longer valid, but no particular time range for its use is known. + */ + OLD, + /** + * Description: A temporary address, may be good for visit or mailing. Note that an address history can provide more detailed information. + */ + TMP, + /** + * Description: An office address. First choice for business related contacts during business hours. + */ + WP, + /** + * Description: Indicates a work place address or telecommunication address that reaches the individual or organization directly without intermediaries. For phones, often referred to as a 'private line'. + */ + DIR, + /** + * Description: Indicates a work place address or telecommunication address that is a 'standard' address which may reach a reception service, mail-room, or other intermediary prior to the target entity. + */ + PUB, + /** + * Description: Address uses that only apply to postal addresses, not telecommunication addresses. + */ + _POSTALADDRESSUSE, + /** + * Description: Used primarily to visit an address. + */ + PHYS, + /** + * Description: Used to send mail. + */ + PST, + /** + * Description: Address uses that only apply to telecommunication addresses, not postal addresses. + */ + _TELECOMMUNICATIONADDRESSUSE, + /** + * Description: An automated answering machine used for less urgent cases and if the main purpose of contact is to leave a message or access an automated announcement. + */ + AS, + /** + * Description: A contact specifically designated to be used for emergencies. This is the first choice in emergencies, independent of any other use codes. + */ + EC, + /** + * Description: A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business. + */ + MC, + /** + * Description: A paging device suitable to solicit a callback or to leave a very short message. + */ + PG, + /** + * added to help the parsers + */ + NULL; + public static V3AddressUse fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_GeneralAddressUse".equals(codeString)) + return _GENERALADDRESSUSE; + if ("BAD".equals(codeString)) + return BAD; + if ("CONF".equals(codeString)) + return CONF; + if ("H".equals(codeString)) + return H; + if ("HP".equals(codeString)) + return HP; + if ("HV".equals(codeString)) + return HV; + if ("OLD".equals(codeString)) + return OLD; + if ("TMP".equals(codeString)) + return TMP; + if ("WP".equals(codeString)) + return WP; + if ("DIR".equals(codeString)) + return DIR; + if ("PUB".equals(codeString)) + return PUB; + if ("_PostalAddressUse".equals(codeString)) + return _POSTALADDRESSUSE; + if ("PHYS".equals(codeString)) + return PHYS; + if ("PST".equals(codeString)) + return PST; + if ("_TelecommunicationAddressUse".equals(codeString)) + return _TELECOMMUNICATIONADDRESSUSE; + if ("AS".equals(codeString)) + return AS; + if ("EC".equals(codeString)) + return EC; + if ("MC".equals(codeString)) + return MC; + if ("PG".equals(codeString)) + return PG; + throw new Exception("Unknown V3AddressUse code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _GENERALADDRESSUSE: return "_GeneralAddressUse"; + case BAD: return "BAD"; + case CONF: return "CONF"; + case H: return "H"; + case HP: return "HP"; + case HV: return "HV"; + case OLD: return "OLD"; + case TMP: return "TMP"; + case WP: return "WP"; + case DIR: return "DIR"; + case PUB: return "PUB"; + case _POSTALADDRESSUSE: return "_PostalAddressUse"; + case PHYS: return "PHYS"; + case PST: return "PST"; + case _TELECOMMUNICATIONADDRESSUSE: return "_TelecommunicationAddressUse"; + case AS: return "AS"; + case EC: return "EC"; + case MC: return "MC"; + case PG: return "PG"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AddressUse"; + } + public String getDefinition() { + switch (this) { + case _GENERALADDRESSUSE: return "Description: Address uses that can apply to both postal and telecommunication addresses."; + case BAD: return "Description: A flag indicating that the address is bad, in fact, useless."; + case CONF: return "Description: Indicates that the address is considered sensitive and should only be shared or published in accordance with organizational controls governing patient demographic information with increased sensitivity. Uses of Addresses. Lloyd to supply more complete description."; + case H: return "Description: A communication address at a home, attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available."; + case HP: return "Description: The primary home, to reach a person after business hours."; + case HV: return "Description: A vacation home, to reach a person while on vacation."; + case OLD: return "This address is no longer in use.\r\n\n \n Usage Note: Address may also carry valid time ranges. This code is used to cover the situations where it is known that the address is no longer valid, but no particular time range for its use is known."; + case TMP: return "Description: A temporary address, may be good for visit or mailing. Note that an address history can provide more detailed information."; + case WP: return "Description: An office address. First choice for business related contacts during business hours."; + case DIR: return "Description: Indicates a work place address or telecommunication address that reaches the individual or organization directly without intermediaries. For phones, often referred to as a 'private line'."; + case PUB: return "Description: Indicates a work place address or telecommunication address that is a 'standard' address which may reach a reception service, mail-room, or other intermediary prior to the target entity."; + case _POSTALADDRESSUSE: return "Description: Address uses that only apply to postal addresses, not telecommunication addresses."; + case PHYS: return "Description: Used primarily to visit an address."; + case PST: return "Description: Used to send mail."; + case _TELECOMMUNICATIONADDRESSUSE: return "Description: Address uses that only apply to telecommunication addresses, not postal addresses."; + case AS: return "Description: An automated answering machine used for less urgent cases and if the main purpose of contact is to leave a message or access an automated announcement."; + case EC: return "Description: A contact specifically designated to be used for emergencies. This is the first choice in emergencies, independent of any other use codes."; + case MC: return "Description: A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business."; + case PG: return "Description: A paging device suitable to solicit a callback or to leave a very short message."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _GENERALADDRESSUSE: return "_GeneralAddressUse"; + case BAD: return "bad address"; + case CONF: return "confidential address"; + case H: return "home address"; + case HP: return "primary home"; + case HV: return "vacation home"; + case OLD: return "no longer in use"; + case TMP: return "temporary address"; + case WP: return "work place"; + case DIR: return "direct"; + case PUB: return "public"; + case _POSTALADDRESSUSE: return "_PostalAddressUse"; + case PHYS: return "physical visit address"; + case PST: return "postal address"; + case _TELECOMMUNICATIONADDRESSUSE: return "_TelecommunicationAddressUse"; + case AS: return "answering service"; + case EC: return "emergency contact"; + case MC: return "mobile contact)"; + case PG: return "pager"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUseEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUseEnumFactory.java new file mode 100644 index 00000000000..e3da6028eeb --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AddressUseEnumFactory.java @@ -0,0 +1,127 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AddressUseEnumFactory implements EnumFactory { + + public V3AddressUse fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_GeneralAddressUse".equals(codeString)) + return V3AddressUse._GENERALADDRESSUSE; + if ("BAD".equals(codeString)) + return V3AddressUse.BAD; + if ("CONF".equals(codeString)) + return V3AddressUse.CONF; + if ("H".equals(codeString)) + return V3AddressUse.H; + if ("HP".equals(codeString)) + return V3AddressUse.HP; + if ("HV".equals(codeString)) + return V3AddressUse.HV; + if ("OLD".equals(codeString)) + return V3AddressUse.OLD; + if ("TMP".equals(codeString)) + return V3AddressUse.TMP; + if ("WP".equals(codeString)) + return V3AddressUse.WP; + if ("DIR".equals(codeString)) + return V3AddressUse.DIR; + if ("PUB".equals(codeString)) + return V3AddressUse.PUB; + if ("_PostalAddressUse".equals(codeString)) + return V3AddressUse._POSTALADDRESSUSE; + if ("PHYS".equals(codeString)) + return V3AddressUse.PHYS; + if ("PST".equals(codeString)) + return V3AddressUse.PST; + if ("_TelecommunicationAddressUse".equals(codeString)) + return V3AddressUse._TELECOMMUNICATIONADDRESSUSE; + if ("AS".equals(codeString)) + return V3AddressUse.AS; + if ("EC".equals(codeString)) + return V3AddressUse.EC; + if ("MC".equals(codeString)) + return V3AddressUse.MC; + if ("PG".equals(codeString)) + return V3AddressUse.PG; + throw new IllegalArgumentException("Unknown V3AddressUse code '"+codeString+"'"); + } + + public String toCode(V3AddressUse code) { + if (code == V3AddressUse._GENERALADDRESSUSE) + return "_GeneralAddressUse"; + if (code == V3AddressUse.BAD) + return "BAD"; + if (code == V3AddressUse.CONF) + return "CONF"; + if (code == V3AddressUse.H) + return "H"; + if (code == V3AddressUse.HP) + return "HP"; + if (code == V3AddressUse.HV) + return "HV"; + if (code == V3AddressUse.OLD) + return "OLD"; + if (code == V3AddressUse.TMP) + return "TMP"; + if (code == V3AddressUse.WP) + return "WP"; + if (code == V3AddressUse.DIR) + return "DIR"; + if (code == V3AddressUse.PUB) + return "PUB"; + if (code == V3AddressUse._POSTALADDRESSUSE) + return "_PostalAddressUse"; + if (code == V3AddressUse.PHYS) + return "PHYS"; + if (code == V3AddressUse.PST) + return "PST"; + if (code == V3AddressUse._TELECOMMUNICATIONADDRESSUSE) + return "_TelecommunicationAddressUse"; + if (code == V3AddressUse.AS) + return "AS"; + if (code == V3AddressUse.EC) + return "EC"; + if (code == V3AddressUse.MC) + return "MC"; + if (code == V3AddressUse.PG) + return "PG"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGender.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGender.java new file mode 100644 index 00000000000..410931b4420 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGender.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AdministrativeGender { + + /** + * Female + */ + F, + /** + * Male + */ + M, + /** + * The gender of a person could not be uniquely defined as male or female, such as hermaphrodite. + */ + UN, + /** + * added to help the parsers + */ + NULL; + public static V3AdministrativeGender fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("F".equals(codeString)) + return F; + if ("M".equals(codeString)) + return M; + if ("UN".equals(codeString)) + return UN; + throw new Exception("Unknown V3AdministrativeGender code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case F: return "F"; + case M: return "M"; + case UN: return "UN"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AdministrativeGender"; + } + public String getDefinition() { + switch (this) { + case F: return "Female"; + case M: return "Male"; + case UN: return "The gender of a person could not be uniquely defined as male or female, such as hermaphrodite."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case F: return "Female"; + case M: return "Male"; + case UN: return "Undifferentiated"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGenderEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGenderEnumFactory.java new file mode 100644 index 00000000000..f8adeebb379 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AdministrativeGenderEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AdministrativeGenderEnumFactory implements EnumFactory { + + public V3AdministrativeGender fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("F".equals(codeString)) + return V3AdministrativeGender.F; + if ("M".equals(codeString)) + return V3AdministrativeGender.M; + if ("UN".equals(codeString)) + return V3AdministrativeGender.UN; + throw new IllegalArgumentException("Unknown V3AdministrativeGender code '"+codeString+"'"); + } + + public String toCode(V3AdministrativeGender code) { + if (code == V3AdministrativeGender.F) + return "F"; + if (code == V3AdministrativeGender.M) + return "M"; + if (code == V3AdministrativeGender.UN) + return "UN"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguages.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguages.java new file mode 100644 index 00000000000..778baafa35d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguages.java @@ -0,0 +1,2362 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3AmericanIndianAlaskaNativeLanguages { + + /** + * Algic + */ + _ALGIC, + /** + * Algonquian + */ + _ALGONQUIAN, + /** + * Arapahoan + */ + _ARAPAHOAN, + /** + * ArapahoGrosVentre + */ + _ARAPAHOGROSVENTRE, + /** + * Arapaho + */ + XARP, + /** + * Gros Ventre + */ + XATS, + /** + * CreeMontagnais + */ + _CREEMONTAGNAIS, + /** + * Cree + */ + _CREE, + /** + * Western Cree + */ + XCRP, + /** + * EasternAlgonquin + */ + _EASTERNALGONQUIN, + /** + * Abenakian + */ + _ABENAKIAN, + /** + * Eastern Abenaki + */ + XAAQ, + /** + * Western Abenaki + */ + XABE, + /** + * Maliseet-Passamaquoddy + */ + XMAC, + /** + * Delawaran + */ + _DELAWARAN, + /** + * Unami Delaware + */ + XDEL, + /** + * Micmac + */ + XMIC, + /** + * Ojibwayan + */ + _OJIBWAYAN, + /** + * Southern Ojibwa + */ + XOJB, + /** + * Potawatami + */ + XPOT, + /** + * SaukFoxKickapoo + */ + _SAUKFOXKICKAPOO, + /** + * Kickapoo + */ + XKIC, + /** + * Mesquakie + */ + XSAC, + /** + * Shawnee + */ + XSJW, + /** + * Blackfoot + */ + XBLC, + /** + * Cheyenne + */ + XCHY, + /** + * Menominee + */ + XMEZ, + /** + * Ritwan + */ + _RITWAN, + /** + * Yurok + */ + XYUR, + /** + * Caddoan + */ + _CADDOAN, + /** + * NorthernCaddoan + */ + _NORTHERNCADDOAN, + /** + * Arikara + */ + XARI, + /** + * Pawnee + */ + XPAW, + /** + * Wichita + */ + XWIC, + /** + * SouthernCaddoan + */ + _SOUTHERNCADDOAN, + /** + * Caddo + */ + XCAD, + /** + * Chimakuan + */ + _CHIMAKUAN, + /** + * Quileute + */ + XQUI, + /** + * EskimoAleut + */ + _ESKIMOALEUT, + /** + * Aleut + */ + _ALEUT, + /** + * Aleut + */ + XALW, + /** + * Eskimoan + */ + _ESKIMOAN, + /** + * InuitInupiaq + */ + _INUITINUPIAQ, + /** + * North Alaskan Inuktitut + */ + XESI, + /** + * Northwest Alaska Inuktitut + */ + XESK, + /** + * SirenikskiYupik + */ + _SIRENIKSKIYUPIK, + /** + * Pacific Yupik Gulf + */ + XEMS, + /** + * Central Siberian Yupik + */ + XESS, + /** + * Central Alaskan Yupik + */ + XESU, + /** + * Hokan + */ + _HOKAN, + /** + * CochimiYuman + */ + _COCHIMIYUMAN, + /** + * Yuman + */ + _YUMAN, + /** + * DeltaCalifornia + */ + _DELTACALIFORNIA, + /** + * Diegueno + */ + _DIEGUENO, + /** + * Kumeyaay + */ + XDIH, + /** + * Cocopa + */ + XCOC, + /** + * Pai + */ + _PAI, + /** + * Havasupai + */ + XYUF, + /** + * River + */ + _RIVER, + /** + * Mohave + */ + XMOV, + /** + * Maricopa + */ + XMRC, + /** + * Quechan + */ + XYUM, + /** + * Palaihnihan + */ + _PALAIHNIHAN, + /** + * Achumawi + */ + XACH, + /** + * Atsugewi + */ + XATW, + /** + * Pomoan + */ + _POMOAN, + /** + * Kashaya + */ + XKJU, + /** + * Northeastern Pomo + */ + XPEF, + /** + * Southeastern Pomo + */ + XPEO, + /** + * Southern Pomo + */ + XPEQ, + /** + * Central Pomo + */ + XPOO, + /** + * Shasta + */ + _SHASTA, + /** + * Shasta + */ + XSHT, + /** + * Karok + */ + XKYH, + /** + * Washoe + */ + XWAS, + /** + * Iroquoian + */ + _IROQUOIAN, + /** + * NorthernIroquoian + */ + _NORTHERNIROQUOIAN, + /** + * Cayuga + */ + XCAY, + /** + * Mohawk + */ + XMOH, + /** + * Oneida + */ + XONE, + /** + * Onondaga + */ + XONO, + /** + * Seneca + */ + XSEE, + /** + * Tuscarora + */ + XTUS, + /** + * Cherokee + */ + XCER, + /** + * Keresan + */ + _KERESAN, + /** + * Rio Grande Keresan + */ + XKEE, + /** + * Acoma-Laguna + */ + XKJQ, + /** + * KiowaTanoan + */ + _KIOWATANOAN, + /** + * Tiwa + */ + _TIWA, + /** + * Northern Tiwa + */ + XTAO, + /** + * Southern Tiwa + */ + XTIX, + /** + * Kiowa + */ + XKIO, + /** + * Tewa + */ + XTEW, + /** + * Jemez + */ + XTOW, + /** + * Muskogean + */ + _MUSKOGEAN, + /** + * CentralMuskogean + */ + _CENTRALMUSKOGEAN, + /** + * Alabama + */ + XAKZ, + /** + * Koasati + */ + XCKU, + /** + * Mikasuki + */ + XMIK, + /** + * WesternMuskogean + */ + _WESTERNMUSKOGEAN, + /** + * Choctaw + */ + XCCT, + /** + * Chickasaw + */ + XCIC, + /** + * Creek + */ + XCRK, + /** + * Nadene + */ + _NADENE, + /** + * AthapaskanEyak + */ + _ATHAPASKANEYAK, + /** + * Athapaskan + */ + _ATHAPASKAN, + /** + * Apachean + */ + _APACHEAN, + /** + * EasternApachean + */ + _EASTERNAPACHEAN, + /** + * Jicarilla + */ + XAPJ, + /** + * Lipan + */ + XAPL, + /** + * WesternApachean + */ + _WESTERNAPACHEAN, + /** + * Mescalero-Chiricahua + */ + XAPM, + /** + * Western Apache + */ + XAPW, + /** + * Dine + */ + XNAV, + /** + * Kiowa Apache + */ + XAPK, + /** + * CentralAlaskaYukon + */ + _CENTRALALASKAYUKON, + /** + * KoyukonIngalik + */ + _KOYUKONINGALIK, + /** + * Holikachuk + */ + XHOI, + /** + * Degexit'an + */ + XING, + /** + * Koyukon + */ + XKOY, + /** + * KutchinHan + */ + _KUTCHINHAN, + /** + * Han + */ + XHAA, + /** + * Kutchin + */ + XKUC, + /** + * TananaTutchone + */ + _TANANATUTCHONE, + /** + * Tanana + */ + _TANANA, + /** + * Lower Tanana + */ + XTAA, + /** + * Upper Tanana + */ + XTAU, + /** + * Tanacross + */ + XTCB, + /** + * Upper Kuskokwim + */ + XKUU, + /** + * PacificCoastAthapaskan + */ + _PACIFICCOASTATHAPASKAN, + /** + * CaliforniaAthapaskan + */ + _CALIFORNIAATHAPASKAN, + /** + * Hupa + */ + XHUP, + /** + * Cahto + */ + XKTW, + /** + * OregonAthapaskan + */ + _OREGONATHAPASKAN, + /** + * Tolowa + */ + XTOL, + /** + * Tututni + */ + XTUU, + /** + * SouthernAlaska + */ + _SOUTHERNALASKA, + /** + * Ahtna + */ + XAHT, + /** + * Tanaina + */ + XTFN, + /** + * Eyak + */ + XEYA, + /** + * Tlingit + */ + XTLI, + /** + * Penutian + */ + _PENUTIAN, + /** + * Chinookan + */ + _CHINOOKAN, + /** + * UpperChinook + */ + _UPPERCHINOOK, + /** + * Kiksht + */ + XWAC, + /** + * Coosan + */ + _COOSAN, + /** + * Hanis + */ + XCOS, + /** + * Maiduan + */ + _MAIDUAN, + /** + * Northwest Maidu + */ + XMAI, + /** + * Northeast Maidu + */ + XNMU, + /** + * Nisenan + */ + XNSZ, + /** + * PlateauPenutian + */ + _PLATEAUPENUTIAN, + /** + * Sahaptian + */ + _SAHAPTIAN, + /** + * Umatilla + */ + XUMA, + /** + * Walla Walla + */ + XWAA, + /** + * Tenino + */ + XWAR, + /** + * Yakima + */ + XYAK, + /** + * Klamath-Modoc + */ + XKLA, + /** + * Nez Perce + */ + XNEZ, + /** + * Takelman + */ + _TAKELMAN, + /** + * Kalapuyan + */ + _KALAPUYAN, + /** + * Central Kalapuyan + */ + XKAL, + /** + * Tsimshianic + */ + _TSIMSHIANIC, + /** + * Coast Tsimshain + */ + XTSI, + /** + * Utian + */ + _UTIAN, + /** + * Miwokan + */ + _MIWOKAN, + /** + * EasternMiwok + */ + _EASTERNMIWOK, + /** + * Central Sierra Miwok + */ + XCSM, + /** + * Northern Sierra Miwok + */ + XNSQ, + /** + * Plains Miwok + */ + XPMW, + /** + * Southern Sierra Miwok + */ + XSKD, + /** + * WesternMiwok + */ + _WESTERNMIWOK, + /** + * Coast Miwok + */ + XCSI, + /** + * Lake Miwok + */ + XLMW, + /** + * Wintuan + */ + _WINTUAN, + /** + * Wintu-Nomlaki + */ + XWIT, + /** + * Yokutsan + */ + _YOKUTSAN, + /** + * Kings River + */ + XENH, + /** + * Gashowu + */ + XGSH, + /** + * Poso Creek + */ + XPYL, + /** + * Tule-Kaweah + */ + XTKH, + /** + * Pidgin + */ + _PIDGIN, + /** + * Chinook Wawa + */ + XCHH, + /** + * Salishan + */ + _SALISHAN, + /** + * CentralSalish + */ + _CENTRALSALISH, + /** + * Clallam + */ + XCLM, + /** + * Lushootseed + */ + XLUT, + /** + * Northern Straits + */ + XSTR, + /** + * InteriorSalish + */ + _INTERIORSALISH, + /** + * Columbian + */ + XCOL, + /** + * Coeur D'alene + */ + XCRD, + /** + * Kalispel + */ + XFLA, + /** + * Okanagan + */ + XOKA, + /** + * Tsamosan + */ + _TSAMOSAN, + /** + * Lower Chehalis + */ + XCEA, + /** + * Upper Chehalis + */ + XCJH, + /** + * Cowlitz + */ + XCOW, + /** + * Quinault + */ + XQUN, + /** + * SiouanCatawba + */ + _SIOUANCATAWBA, + /** + * Siouan + */ + _SIOUAN, + /** + * MississippiValley + */ + _MISSISSIPPIVALLEY, + /** + * ChiwereWinnebago + */ + _CHIWEREWINNEBAGO, + /** + * Chiwere + */ + XIOW, + /** + * Hocak + */ + XWIN, + /** + * Dakotan + */ + _DAKOTAN, + /** + * Assiniboine + */ + XASB, + /** + * Dakota + */ + XDHG, + /** + * Lakota + */ + XLKT, + /** + * Nakota + */ + XNKT, + /** + * Dhegiha + */ + _DHEGIHA, + /** + * Kansa + */ + XKAA, + /** + * Omaha-Ponca + */ + XOMA, + /** + * Osage + */ + XOSA, + /** + * Quapaw + */ + XQUA, + /** + * MissouriRiver + */ + _MISSOURIRIVER, + /** + * Crow + */ + XCRO, + /** + * Hidatsa + */ + XHID, + /** + * Mandan + */ + XMHQ, + /** + * UtoAztecan + */ + _UTOAZTECAN, + /** + * Numic + */ + _NUMIC, + /** + * CentralNumic + */ + _CENTRALNUMIC, + /** + * Comanche + */ + XCOM, + /** + * Panamint + */ + XPAR, + /** + * Shoshone + */ + XSHH, + /** + * SouthernNumic + */ + _SOUTHERNNUMIC, + /** + * Kawaiisu + */ + XKAW, + /** + * Ute-Southern Paiute + */ + XUTE, + /** + * WesternNumic + */ + _WESTERNNUMIC, + /** + * Mono + */ + XMON, + /** + * Northern Paiute-Bannock + */ + XPAO, + /** + * Takic + */ + _TAKIC, + /** + * Cupan + */ + _CUPAN, + /** + * Cahuilla + */ + XCHL, + /** + * Cupeno + */ + XCUP, + /** + * Luiseno + */ + XLUI, + /** + * SerranoGabrielino + */ + _SERRANOGABRIELINO, + /** + * Serrano + */ + XSER, + /** + * Taracahitan + */ + _TARACAHITAN, + /** + * Cahitan + */ + _CAHITAN, + /** + * Yaqui + */ + XYAQ, + /** + * Tepiman + */ + _TEPIMAN, + /** + * Papago-Pima + */ + XPAP, + /** + * Hopi + */ + XHOP, + /** + * Tubatululabal + */ + XTUB, + /** + * Wakashan + */ + _WAKASHAN, + /** + * Nootkan + */ + _NOOTKAN, + /** + * Makah + */ + XMYH, + /** + * Yukian + */ + _YUKIAN, + /** + * Wappo + */ + XWAO, + /** + * Yuki + */ + XYUK, + /** + * Haida + */ + XHAI, + /** + * Kootenai + */ + XKUN, + /** + * Plains Indian Sign Language + */ + XPSD, + /** + * Yuchi + */ + XYUC, + /** + * Zuni + */ + XZUN, + /** + * added to help the parsers + */ + NULL; + public static V3AmericanIndianAlaskaNativeLanguages fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_Algic".equals(codeString)) + return _ALGIC; + if ("_Algonquian".equals(codeString)) + return _ALGONQUIAN; + if ("_Arapahoan".equals(codeString)) + return _ARAPAHOAN; + if ("_ArapahoGrosVentre".equals(codeString)) + return _ARAPAHOGROSVENTRE; + if ("x-ARP".equals(codeString)) + return XARP; + if ("x-ATS".equals(codeString)) + return XATS; + if ("_CreeMontagnais".equals(codeString)) + return _CREEMONTAGNAIS; + if ("_Cree".equals(codeString)) + return _CREE; + if ("x-CRP".equals(codeString)) + return XCRP; + if ("_EasternAlgonquin".equals(codeString)) + return _EASTERNALGONQUIN; + if ("_Abenakian".equals(codeString)) + return _ABENAKIAN; + if ("x-AAQ".equals(codeString)) + return XAAQ; + if ("x-ABE".equals(codeString)) + return XABE; + if ("x-MAC".equals(codeString)) + return XMAC; + if ("_Delawaran".equals(codeString)) + return _DELAWARAN; + if ("x-DEL".equals(codeString)) + return XDEL; + if ("x-MIC".equals(codeString)) + return XMIC; + if ("_Ojibwayan".equals(codeString)) + return _OJIBWAYAN; + if ("x-OJB".equals(codeString)) + return XOJB; + if ("x-POT".equals(codeString)) + return XPOT; + if ("_SaukFoxKickapoo".equals(codeString)) + return _SAUKFOXKICKAPOO; + if ("x-KIC".equals(codeString)) + return XKIC; + if ("x-SAC".equals(codeString)) + return XSAC; + if ("x-SJW".equals(codeString)) + return XSJW; + if ("x-BLC".equals(codeString)) + return XBLC; + if ("x-CHY".equals(codeString)) + return XCHY; + if ("x-MEZ".equals(codeString)) + return XMEZ; + if ("_Ritwan".equals(codeString)) + return _RITWAN; + if ("x-YUR".equals(codeString)) + return XYUR; + if ("_Caddoan".equals(codeString)) + return _CADDOAN; + if ("_NorthernCaddoan".equals(codeString)) + return _NORTHERNCADDOAN; + if ("x-ARI".equals(codeString)) + return XARI; + if ("x-PAW".equals(codeString)) + return XPAW; + if ("x-WIC".equals(codeString)) + return XWIC; + if ("_SouthernCaddoan".equals(codeString)) + return _SOUTHERNCADDOAN; + if ("x-CAD".equals(codeString)) + return XCAD; + if ("_Chimakuan".equals(codeString)) + return _CHIMAKUAN; + if ("x-QUI".equals(codeString)) + return XQUI; + if ("_EskimoAleut".equals(codeString)) + return _ESKIMOALEUT; + if ("_Aleut".equals(codeString)) + return _ALEUT; + if ("x-ALW".equals(codeString)) + return XALW; + if ("_Eskimoan".equals(codeString)) + return _ESKIMOAN; + if ("_InuitInupiaq".equals(codeString)) + return _INUITINUPIAQ; + if ("x-ESI".equals(codeString)) + return XESI; + if ("x-ESK".equals(codeString)) + return XESK; + if ("_SirenikskiYupik".equals(codeString)) + return _SIRENIKSKIYUPIK; + if ("x-EMS".equals(codeString)) + return XEMS; + if ("x-ESS".equals(codeString)) + return XESS; + if ("x-ESU".equals(codeString)) + return XESU; + if ("_Hokan".equals(codeString)) + return _HOKAN; + if ("_CochimiYuman".equals(codeString)) + return _COCHIMIYUMAN; + if ("_Yuman".equals(codeString)) + return _YUMAN; + if ("_DeltaCalifornia".equals(codeString)) + return _DELTACALIFORNIA; + if ("_Diegueno".equals(codeString)) + return _DIEGUENO; + if ("x-DIH".equals(codeString)) + return XDIH; + if ("x-COC".equals(codeString)) + return XCOC; + if ("_Pai".equals(codeString)) + return _PAI; + if ("x-YUF".equals(codeString)) + return XYUF; + if ("_River".equals(codeString)) + return _RIVER; + if ("x-MOV".equals(codeString)) + return XMOV; + if ("x-MRC".equals(codeString)) + return XMRC; + if ("x-YUM".equals(codeString)) + return XYUM; + if ("_Palaihnihan".equals(codeString)) + return _PALAIHNIHAN; + if ("x-ACH".equals(codeString)) + return XACH; + if ("x-ATW".equals(codeString)) + return XATW; + if ("_Pomoan".equals(codeString)) + return _POMOAN; + if ("x-KJU".equals(codeString)) + return XKJU; + if ("x-PEF".equals(codeString)) + return XPEF; + if ("x-PEO".equals(codeString)) + return XPEO; + if ("x-PEQ".equals(codeString)) + return XPEQ; + if ("x-POO".equals(codeString)) + return XPOO; + if ("_Shasta".equals(codeString)) + return _SHASTA; + if ("x-SHT".equals(codeString)) + return XSHT; + if ("x-KYH".equals(codeString)) + return XKYH; + if ("x-WAS".equals(codeString)) + return XWAS; + if ("_Iroquoian".equals(codeString)) + return _IROQUOIAN; + if ("_NorthernIroquoian".equals(codeString)) + return _NORTHERNIROQUOIAN; + if ("x-CAY".equals(codeString)) + return XCAY; + if ("x-MOH".equals(codeString)) + return XMOH; + if ("x-ONE".equals(codeString)) + return XONE; + if ("x-ONO".equals(codeString)) + return XONO; + if ("x-SEE".equals(codeString)) + return XSEE; + if ("x-TUS".equals(codeString)) + return XTUS; + if ("x-CER".equals(codeString)) + return XCER; + if ("_Keresan".equals(codeString)) + return _KERESAN; + if ("x-KEE".equals(codeString)) + return XKEE; + if ("x-KJQ".equals(codeString)) + return XKJQ; + if ("_KiowaTanoan".equals(codeString)) + return _KIOWATANOAN; + if ("_Tiwa".equals(codeString)) + return _TIWA; + if ("x-TAO".equals(codeString)) + return XTAO; + if ("x-TIX".equals(codeString)) + return XTIX; + if ("x-KIO".equals(codeString)) + return XKIO; + if ("x-TEW".equals(codeString)) + return XTEW; + if ("x-TOW".equals(codeString)) + return XTOW; + if ("_Muskogean".equals(codeString)) + return _MUSKOGEAN; + if ("_CentralMuskogean".equals(codeString)) + return _CENTRALMUSKOGEAN; + if ("x-AKZ".equals(codeString)) + return XAKZ; + if ("x-CKU".equals(codeString)) + return XCKU; + if ("x-MIK".equals(codeString)) + return XMIK; + if ("_WesternMuskogean".equals(codeString)) + return _WESTERNMUSKOGEAN; + if ("x-CCT".equals(codeString)) + return XCCT; + if ("x-CIC".equals(codeString)) + return XCIC; + if ("x-CRK".equals(codeString)) + return XCRK; + if ("_Nadene".equals(codeString)) + return _NADENE; + if ("_AthapaskanEyak".equals(codeString)) + return _ATHAPASKANEYAK; + if ("_Athapaskan".equals(codeString)) + return _ATHAPASKAN; + if ("_Apachean".equals(codeString)) + return _APACHEAN; + if ("_EasternApachean".equals(codeString)) + return _EASTERNAPACHEAN; + if ("x-APJ".equals(codeString)) + return XAPJ; + if ("x-APL".equals(codeString)) + return XAPL; + if ("_WesternApachean".equals(codeString)) + return _WESTERNAPACHEAN; + if ("x-APM".equals(codeString)) + return XAPM; + if ("x-APW".equals(codeString)) + return XAPW; + if ("x-NAV".equals(codeString)) + return XNAV; + if ("x-APK".equals(codeString)) + return XAPK; + if ("_CentralAlaskaYukon".equals(codeString)) + return _CENTRALALASKAYUKON; + if ("_KoyukonIngalik".equals(codeString)) + return _KOYUKONINGALIK; + if ("x-HOI".equals(codeString)) + return XHOI; + if ("x-ING".equals(codeString)) + return XING; + if ("x-KOY".equals(codeString)) + return XKOY; + if ("_KutchinHan".equals(codeString)) + return _KUTCHINHAN; + if ("x-HAA".equals(codeString)) + return XHAA; + if ("x-KUC".equals(codeString)) + return XKUC; + if ("_TananaTutchone".equals(codeString)) + return _TANANATUTCHONE; + if ("_Tanana".equals(codeString)) + return _TANANA; + if ("x-TAA".equals(codeString)) + return XTAA; + if ("x-TAU".equals(codeString)) + return XTAU; + if ("x-TCB".equals(codeString)) + return XTCB; + if ("x-KUU".equals(codeString)) + return XKUU; + if ("_PacificCoastAthapaskan".equals(codeString)) + return _PACIFICCOASTATHAPASKAN; + if ("_CaliforniaAthapaskan".equals(codeString)) + return _CALIFORNIAATHAPASKAN; + if ("x-HUP".equals(codeString)) + return XHUP; + if ("x-KTW".equals(codeString)) + return XKTW; + if ("_OregonAthapaskan".equals(codeString)) + return _OREGONATHAPASKAN; + if ("x-TOL".equals(codeString)) + return XTOL; + if ("x-TUU".equals(codeString)) + return XTUU; + if ("_SouthernAlaska".equals(codeString)) + return _SOUTHERNALASKA; + if ("x-AHT".equals(codeString)) + return XAHT; + if ("x-TFN".equals(codeString)) + return XTFN; + if ("x-EYA".equals(codeString)) + return XEYA; + if ("x-TLI".equals(codeString)) + return XTLI; + if ("_Penutian".equals(codeString)) + return _PENUTIAN; + if ("_Chinookan".equals(codeString)) + return _CHINOOKAN; + if ("_UpperChinook".equals(codeString)) + return _UPPERCHINOOK; + if ("x-WAC".equals(codeString)) + return XWAC; + if ("_Coosan".equals(codeString)) + return _COOSAN; + if ("x-COS".equals(codeString)) + return XCOS; + if ("_Maiduan".equals(codeString)) + return _MAIDUAN; + if ("x-MAI".equals(codeString)) + return XMAI; + if ("x-NMU".equals(codeString)) + return XNMU; + if ("x-NSZ".equals(codeString)) + return XNSZ; + if ("_PlateauPenutian".equals(codeString)) + return _PLATEAUPENUTIAN; + if ("_Sahaptian".equals(codeString)) + return _SAHAPTIAN; + if ("x-UMA".equals(codeString)) + return XUMA; + if ("x-WAA".equals(codeString)) + return XWAA; + if ("x-WAR".equals(codeString)) + return XWAR; + if ("x-YAK".equals(codeString)) + return XYAK; + if ("x-KLA".equals(codeString)) + return XKLA; + if ("x-NEZ".equals(codeString)) + return XNEZ; + if ("_Takelman".equals(codeString)) + return _TAKELMAN; + if ("_Kalapuyan".equals(codeString)) + return _KALAPUYAN; + if ("x-KAL".equals(codeString)) + return XKAL; + if ("_Tsimshianic".equals(codeString)) + return _TSIMSHIANIC; + if ("x-TSI".equals(codeString)) + return XTSI; + if ("_Utian".equals(codeString)) + return _UTIAN; + if ("_Miwokan".equals(codeString)) + return _MIWOKAN; + if ("_EasternMiwok".equals(codeString)) + return _EASTERNMIWOK; + if ("x-CSM".equals(codeString)) + return XCSM; + if ("x-NSQ".equals(codeString)) + return XNSQ; + if ("x-PMW".equals(codeString)) + return XPMW; + if ("x-SKD".equals(codeString)) + return XSKD; + if ("_WesternMiwok".equals(codeString)) + return _WESTERNMIWOK; + if ("x-CSI".equals(codeString)) + return XCSI; + if ("x-LMW".equals(codeString)) + return XLMW; + if ("_Wintuan".equals(codeString)) + return _WINTUAN; + if ("x-WIT".equals(codeString)) + return XWIT; + if ("_Yokutsan".equals(codeString)) + return _YOKUTSAN; + if ("x-ENH".equals(codeString)) + return XENH; + if ("x-GSH".equals(codeString)) + return XGSH; + if ("x-PYL".equals(codeString)) + return XPYL; + if ("x-TKH".equals(codeString)) + return XTKH; + if ("_Pidgin".equals(codeString)) + return _PIDGIN; + if ("x-CHH".equals(codeString)) + return XCHH; + if ("_Salishan".equals(codeString)) + return _SALISHAN; + if ("_CentralSalish".equals(codeString)) + return _CENTRALSALISH; + if ("x-CLM".equals(codeString)) + return XCLM; + if ("x-LUT".equals(codeString)) + return XLUT; + if ("x-STR".equals(codeString)) + return XSTR; + if ("_InteriorSalish".equals(codeString)) + return _INTERIORSALISH; + if ("x-COL".equals(codeString)) + return XCOL; + if ("x-CRD".equals(codeString)) + return XCRD; + if ("x-FLA".equals(codeString)) + return XFLA; + if ("x-OKA".equals(codeString)) + return XOKA; + if ("_Tsamosan".equals(codeString)) + return _TSAMOSAN; + if ("x-CEA".equals(codeString)) + return XCEA; + if ("x-CJH".equals(codeString)) + return XCJH; + if ("x-COW".equals(codeString)) + return XCOW; + if ("x-QUN".equals(codeString)) + return XQUN; + if ("_SiouanCatawba".equals(codeString)) + return _SIOUANCATAWBA; + if ("_Siouan".equals(codeString)) + return _SIOUAN; + if ("_MississippiValley".equals(codeString)) + return _MISSISSIPPIVALLEY; + if ("_ChiwereWinnebago".equals(codeString)) + return _CHIWEREWINNEBAGO; + if ("x-IOW".equals(codeString)) + return XIOW; + if ("x-WIN".equals(codeString)) + return XWIN; + if ("_Dakotan".equals(codeString)) + return _DAKOTAN; + if ("x-ASB".equals(codeString)) + return XASB; + if ("x-DHG".equals(codeString)) + return XDHG; + if ("x-LKT".equals(codeString)) + return XLKT; + if ("x-NKT".equals(codeString)) + return XNKT; + if ("_Dhegiha".equals(codeString)) + return _DHEGIHA; + if ("x-KAA".equals(codeString)) + return XKAA; + if ("x-OMA".equals(codeString)) + return XOMA; + if ("x-OSA".equals(codeString)) + return XOSA; + if ("x-QUA".equals(codeString)) + return XQUA; + if ("_MissouriRiver".equals(codeString)) + return _MISSOURIRIVER; + if ("x-CRO".equals(codeString)) + return XCRO; + if ("x-HID".equals(codeString)) + return XHID; + if ("x-MHQ".equals(codeString)) + return XMHQ; + if ("_UtoAztecan".equals(codeString)) + return _UTOAZTECAN; + if ("_Numic".equals(codeString)) + return _NUMIC; + if ("_CentralNumic".equals(codeString)) + return _CENTRALNUMIC; + if ("x-COM".equals(codeString)) + return XCOM; + if ("x-PAR".equals(codeString)) + return XPAR; + if ("x-SHH".equals(codeString)) + return XSHH; + if ("_SouthernNumic".equals(codeString)) + return _SOUTHERNNUMIC; + if ("x-KAW".equals(codeString)) + return XKAW; + if ("x-UTE".equals(codeString)) + return XUTE; + if ("_WesternNumic".equals(codeString)) + return _WESTERNNUMIC; + if ("x-MON".equals(codeString)) + return XMON; + if ("x-PAO".equals(codeString)) + return XPAO; + if ("_Takic".equals(codeString)) + return _TAKIC; + if ("_Cupan".equals(codeString)) + return _CUPAN; + if ("x-CHL".equals(codeString)) + return XCHL; + if ("x-CUP".equals(codeString)) + return XCUP; + if ("x-LUI".equals(codeString)) + return XLUI; + if ("_SerranoGabrielino".equals(codeString)) + return _SERRANOGABRIELINO; + if ("x-SER".equals(codeString)) + return XSER; + if ("_Taracahitan".equals(codeString)) + return _TARACAHITAN; + if ("_Cahitan".equals(codeString)) + return _CAHITAN; + if ("x-YAQ".equals(codeString)) + return XYAQ; + if ("_Tepiman".equals(codeString)) + return _TEPIMAN; + if ("x-PAP".equals(codeString)) + return XPAP; + if ("x-HOP".equals(codeString)) + return XHOP; + if ("x-TUB".equals(codeString)) + return XTUB; + if ("_Wakashan".equals(codeString)) + return _WAKASHAN; + if ("_Nootkan".equals(codeString)) + return _NOOTKAN; + if ("x-MYH".equals(codeString)) + return XMYH; + if ("_Yukian".equals(codeString)) + return _YUKIAN; + if ("x-WAO".equals(codeString)) + return XWAO; + if ("x-YUK".equals(codeString)) + return XYUK; + if ("x-HAI".equals(codeString)) + return XHAI; + if ("x-KUN".equals(codeString)) + return XKUN; + if ("x-PSD".equals(codeString)) + return XPSD; + if ("x-YUC".equals(codeString)) + return XYUC; + if ("x-ZUN".equals(codeString)) + return XZUN; + throw new Exception("Unknown V3AmericanIndianAlaskaNativeLanguages code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ALGIC: return "_Algic"; + case _ALGONQUIAN: return "_Algonquian"; + case _ARAPAHOAN: return "_Arapahoan"; + case _ARAPAHOGROSVENTRE: return "_ArapahoGrosVentre"; + case XARP: return "x-ARP"; + case XATS: return "x-ATS"; + case _CREEMONTAGNAIS: return "_CreeMontagnais"; + case _CREE: return "_Cree"; + case XCRP: return "x-CRP"; + case _EASTERNALGONQUIN: return "_EasternAlgonquin"; + case _ABENAKIAN: return "_Abenakian"; + case XAAQ: return "x-AAQ"; + case XABE: return "x-ABE"; + case XMAC: return "x-MAC"; + case _DELAWARAN: return "_Delawaran"; + case XDEL: return "x-DEL"; + case XMIC: return "x-MIC"; + case _OJIBWAYAN: return "_Ojibwayan"; + case XOJB: return "x-OJB"; + case XPOT: return "x-POT"; + case _SAUKFOXKICKAPOO: return "_SaukFoxKickapoo"; + case XKIC: return "x-KIC"; + case XSAC: return "x-SAC"; + case XSJW: return "x-SJW"; + case XBLC: return "x-BLC"; + case XCHY: return "x-CHY"; + case XMEZ: return "x-MEZ"; + case _RITWAN: return "_Ritwan"; + case XYUR: return "x-YUR"; + case _CADDOAN: return "_Caddoan"; + case _NORTHERNCADDOAN: return "_NorthernCaddoan"; + case XARI: return "x-ARI"; + case XPAW: return "x-PAW"; + case XWIC: return "x-WIC"; + case _SOUTHERNCADDOAN: return "_SouthernCaddoan"; + case XCAD: return "x-CAD"; + case _CHIMAKUAN: return "_Chimakuan"; + case XQUI: return "x-QUI"; + case _ESKIMOALEUT: return "_EskimoAleut"; + case _ALEUT: return "_Aleut"; + case XALW: return "x-ALW"; + case _ESKIMOAN: return "_Eskimoan"; + case _INUITINUPIAQ: return "_InuitInupiaq"; + case XESI: return "x-ESI"; + case XESK: return "x-ESK"; + case _SIRENIKSKIYUPIK: return "_SirenikskiYupik"; + case XEMS: return "x-EMS"; + case XESS: return "x-ESS"; + case XESU: return "x-ESU"; + case _HOKAN: return "_Hokan"; + case _COCHIMIYUMAN: return "_CochimiYuman"; + case _YUMAN: return "_Yuman"; + case _DELTACALIFORNIA: return "_DeltaCalifornia"; + case _DIEGUENO: return "_Diegueno"; + case XDIH: return "x-DIH"; + case XCOC: return "x-COC"; + case _PAI: return "_Pai"; + case XYUF: return "x-YUF"; + case _RIVER: return "_River"; + case XMOV: return "x-MOV"; + case XMRC: return "x-MRC"; + case XYUM: return "x-YUM"; + case _PALAIHNIHAN: return "_Palaihnihan"; + case XACH: return "x-ACH"; + case XATW: return "x-ATW"; + case _POMOAN: return "_Pomoan"; + case XKJU: return "x-KJU"; + case XPEF: return "x-PEF"; + case XPEO: return "x-PEO"; + case XPEQ: return "x-PEQ"; + case XPOO: return "x-POO"; + case _SHASTA: return "_Shasta"; + case XSHT: return "x-SHT"; + case XKYH: return "x-KYH"; + case XWAS: return "x-WAS"; + case _IROQUOIAN: return "_Iroquoian"; + case _NORTHERNIROQUOIAN: return "_NorthernIroquoian"; + case XCAY: return "x-CAY"; + case XMOH: return "x-MOH"; + case XONE: return "x-ONE"; + case XONO: return "x-ONO"; + case XSEE: return "x-SEE"; + case XTUS: return "x-TUS"; + case XCER: return "x-CER"; + case _KERESAN: return "_Keresan"; + case XKEE: return "x-KEE"; + case XKJQ: return "x-KJQ"; + case _KIOWATANOAN: return "_KiowaTanoan"; + case _TIWA: return "_Tiwa"; + case XTAO: return "x-TAO"; + case XTIX: return "x-TIX"; + case XKIO: return "x-KIO"; + case XTEW: return "x-TEW"; + case XTOW: return "x-TOW"; + case _MUSKOGEAN: return "_Muskogean"; + case _CENTRALMUSKOGEAN: return "_CentralMuskogean"; + case XAKZ: return "x-AKZ"; + case XCKU: return "x-CKU"; + case XMIK: return "x-MIK"; + case _WESTERNMUSKOGEAN: return "_WesternMuskogean"; + case XCCT: return "x-CCT"; + case XCIC: return "x-CIC"; + case XCRK: return "x-CRK"; + case _NADENE: return "_Nadene"; + case _ATHAPASKANEYAK: return "_AthapaskanEyak"; + case _ATHAPASKAN: return "_Athapaskan"; + case _APACHEAN: return "_Apachean"; + case _EASTERNAPACHEAN: return "_EasternApachean"; + case XAPJ: return "x-APJ"; + case XAPL: return "x-APL"; + case _WESTERNAPACHEAN: return "_WesternApachean"; + case XAPM: return "x-APM"; + case XAPW: return "x-APW"; + case XNAV: return "x-NAV"; + case XAPK: return "x-APK"; + case _CENTRALALASKAYUKON: return "_CentralAlaskaYukon"; + case _KOYUKONINGALIK: return "_KoyukonIngalik"; + case XHOI: return "x-HOI"; + case XING: return "x-ING"; + case XKOY: return "x-KOY"; + case _KUTCHINHAN: return "_KutchinHan"; + case XHAA: return "x-HAA"; + case XKUC: return "x-KUC"; + case _TANANATUTCHONE: return "_TananaTutchone"; + case _TANANA: return "_Tanana"; + case XTAA: return "x-TAA"; + case XTAU: return "x-TAU"; + case XTCB: return "x-TCB"; + case XKUU: return "x-KUU"; + case _PACIFICCOASTATHAPASKAN: return "_PacificCoastAthapaskan"; + case _CALIFORNIAATHAPASKAN: return "_CaliforniaAthapaskan"; + case XHUP: return "x-HUP"; + case XKTW: return "x-KTW"; + case _OREGONATHAPASKAN: return "_OregonAthapaskan"; + case XTOL: return "x-TOL"; + case XTUU: return "x-TUU"; + case _SOUTHERNALASKA: return "_SouthernAlaska"; + case XAHT: return "x-AHT"; + case XTFN: return "x-TFN"; + case XEYA: return "x-EYA"; + case XTLI: return "x-TLI"; + case _PENUTIAN: return "_Penutian"; + case _CHINOOKAN: return "_Chinookan"; + case _UPPERCHINOOK: return "_UpperChinook"; + case XWAC: return "x-WAC"; + case _COOSAN: return "_Coosan"; + case XCOS: return "x-COS"; + case _MAIDUAN: return "_Maiduan"; + case XMAI: return "x-MAI"; + case XNMU: return "x-NMU"; + case XNSZ: return "x-NSZ"; + case _PLATEAUPENUTIAN: return "_PlateauPenutian"; + case _SAHAPTIAN: return "_Sahaptian"; + case XUMA: return "x-UMA"; + case XWAA: return "x-WAA"; + case XWAR: return "x-WAR"; + case XYAK: return "x-YAK"; + case XKLA: return "x-KLA"; + case XNEZ: return "x-NEZ"; + case _TAKELMAN: return "_Takelman"; + case _KALAPUYAN: return "_Kalapuyan"; + case XKAL: return "x-KAL"; + case _TSIMSHIANIC: return "_Tsimshianic"; + case XTSI: return "x-TSI"; + case _UTIAN: return "_Utian"; + case _MIWOKAN: return "_Miwokan"; + case _EASTERNMIWOK: return "_EasternMiwok"; + case XCSM: return "x-CSM"; + case XNSQ: return "x-NSQ"; + case XPMW: return "x-PMW"; + case XSKD: return "x-SKD"; + case _WESTERNMIWOK: return "_WesternMiwok"; + case XCSI: return "x-CSI"; + case XLMW: return "x-LMW"; + case _WINTUAN: return "_Wintuan"; + case XWIT: return "x-WIT"; + case _YOKUTSAN: return "_Yokutsan"; + case XENH: return "x-ENH"; + case XGSH: return "x-GSH"; + case XPYL: return "x-PYL"; + case XTKH: return "x-TKH"; + case _PIDGIN: return "_Pidgin"; + case XCHH: return "x-CHH"; + case _SALISHAN: return "_Salishan"; + case _CENTRALSALISH: return "_CentralSalish"; + case XCLM: return "x-CLM"; + case XLUT: return "x-LUT"; + case XSTR: return "x-STR"; + case _INTERIORSALISH: return "_InteriorSalish"; + case XCOL: return "x-COL"; + case XCRD: return "x-CRD"; + case XFLA: return "x-FLA"; + case XOKA: return "x-OKA"; + case _TSAMOSAN: return "_Tsamosan"; + case XCEA: return "x-CEA"; + case XCJH: return "x-CJH"; + case XCOW: return "x-COW"; + case XQUN: return "x-QUN"; + case _SIOUANCATAWBA: return "_SiouanCatawba"; + case _SIOUAN: return "_Siouan"; + case _MISSISSIPPIVALLEY: return "_MississippiValley"; + case _CHIWEREWINNEBAGO: return "_ChiwereWinnebago"; + case XIOW: return "x-IOW"; + case XWIN: return "x-WIN"; + case _DAKOTAN: return "_Dakotan"; + case XASB: return "x-ASB"; + case XDHG: return "x-DHG"; + case XLKT: return "x-LKT"; + case XNKT: return "x-NKT"; + case _DHEGIHA: return "_Dhegiha"; + case XKAA: return "x-KAA"; + case XOMA: return "x-OMA"; + case XOSA: return "x-OSA"; + case XQUA: return "x-QUA"; + case _MISSOURIRIVER: return "_MissouriRiver"; + case XCRO: return "x-CRO"; + case XHID: return "x-HID"; + case XMHQ: return "x-MHQ"; + case _UTOAZTECAN: return "_UtoAztecan"; + case _NUMIC: return "_Numic"; + case _CENTRALNUMIC: return "_CentralNumic"; + case XCOM: return "x-COM"; + case XPAR: return "x-PAR"; + case XSHH: return "x-SHH"; + case _SOUTHERNNUMIC: return "_SouthernNumic"; + case XKAW: return "x-KAW"; + case XUTE: return "x-UTE"; + case _WESTERNNUMIC: return "_WesternNumic"; + case XMON: return "x-MON"; + case XPAO: return "x-PAO"; + case _TAKIC: return "_Takic"; + case _CUPAN: return "_Cupan"; + case XCHL: return "x-CHL"; + case XCUP: return "x-CUP"; + case XLUI: return "x-LUI"; + case _SERRANOGABRIELINO: return "_SerranoGabrielino"; + case XSER: return "x-SER"; + case _TARACAHITAN: return "_Taracahitan"; + case _CAHITAN: return "_Cahitan"; + case XYAQ: return "x-YAQ"; + case _TEPIMAN: return "_Tepiman"; + case XPAP: return "x-PAP"; + case XHOP: return "x-HOP"; + case XTUB: return "x-TUB"; + case _WAKASHAN: return "_Wakashan"; + case _NOOTKAN: return "_Nootkan"; + case XMYH: return "x-MYH"; + case _YUKIAN: return "_Yukian"; + case XWAO: return "x-WAO"; + case XYUK: return "x-YUK"; + case XHAI: return "x-HAI"; + case XKUN: return "x-KUN"; + case XPSD: return "x-PSD"; + case XYUC: return "x-YUC"; + case XZUN: return "x-ZUN"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/AmericanIndianAlaskaNativeLanguages"; + } + public String getDefinition() { + switch (this) { + case _ALGIC: return "Algic"; + case _ALGONQUIAN: return "Algonquian"; + case _ARAPAHOAN: return "Arapahoan"; + case _ARAPAHOGROSVENTRE: return "ArapahoGrosVentre"; + case XARP: return "Arapaho"; + case XATS: return "Gros Ventre"; + case _CREEMONTAGNAIS: return "CreeMontagnais"; + case _CREE: return "Cree"; + case XCRP: return "Western Cree"; + case _EASTERNALGONQUIN: return "EasternAlgonquin"; + case _ABENAKIAN: return "Abenakian"; + case XAAQ: return "Eastern Abenaki"; + case XABE: return "Western Abenaki"; + case XMAC: return "Maliseet-Passamaquoddy"; + case _DELAWARAN: return "Delawaran"; + case XDEL: return "Unami Delaware"; + case XMIC: return "Micmac"; + case _OJIBWAYAN: return "Ojibwayan"; + case XOJB: return "Southern Ojibwa"; + case XPOT: return "Potawatami"; + case _SAUKFOXKICKAPOO: return "SaukFoxKickapoo"; + case XKIC: return "Kickapoo"; + case XSAC: return "Mesquakie"; + case XSJW: return "Shawnee"; + case XBLC: return "Blackfoot"; + case XCHY: return "Cheyenne"; + case XMEZ: return "Menominee"; + case _RITWAN: return "Ritwan"; + case XYUR: return "Yurok"; + case _CADDOAN: return "Caddoan"; + case _NORTHERNCADDOAN: return "NorthernCaddoan"; + case XARI: return "Arikara"; + case XPAW: return "Pawnee"; + case XWIC: return "Wichita"; + case _SOUTHERNCADDOAN: return "SouthernCaddoan"; + case XCAD: return "Caddo"; + case _CHIMAKUAN: return "Chimakuan"; + case XQUI: return "Quileute"; + case _ESKIMOALEUT: return "EskimoAleut"; + case _ALEUT: return "Aleut"; + case XALW: return "Aleut"; + case _ESKIMOAN: return "Eskimoan"; + case _INUITINUPIAQ: return "InuitInupiaq"; + case XESI: return "North Alaskan Inuktitut"; + case XESK: return "Northwest Alaska Inuktitut"; + case _SIRENIKSKIYUPIK: return "SirenikskiYupik"; + case XEMS: return "Pacific Yupik Gulf"; + case XESS: return "Central Siberian Yupik"; + case XESU: return "Central Alaskan Yupik"; + case _HOKAN: return "Hokan"; + case _COCHIMIYUMAN: return "CochimiYuman"; + case _YUMAN: return "Yuman"; + case _DELTACALIFORNIA: return "DeltaCalifornia"; + case _DIEGUENO: return "Diegueno"; + case XDIH: return "Kumeyaay"; + case XCOC: return "Cocopa"; + case _PAI: return "Pai"; + case XYUF: return "Havasupai"; + case _RIVER: return "River"; + case XMOV: return "Mohave"; + case XMRC: return "Maricopa"; + case XYUM: return "Quechan"; + case _PALAIHNIHAN: return "Palaihnihan"; + case XACH: return "Achumawi"; + case XATW: return "Atsugewi"; + case _POMOAN: return "Pomoan"; + case XKJU: return "Kashaya"; + case XPEF: return "Northeastern Pomo"; + case XPEO: return "Southeastern Pomo"; + case XPEQ: return "Southern Pomo"; + case XPOO: return "Central Pomo"; + case _SHASTA: return "Shasta"; + case XSHT: return "Shasta"; + case XKYH: return "Karok"; + case XWAS: return "Washoe"; + case _IROQUOIAN: return "Iroquoian"; + case _NORTHERNIROQUOIAN: return "NorthernIroquoian"; + case XCAY: return "Cayuga"; + case XMOH: return "Mohawk"; + case XONE: return "Oneida"; + case XONO: return "Onondaga"; + case XSEE: return "Seneca"; + case XTUS: return "Tuscarora"; + case XCER: return "Cherokee"; + case _KERESAN: return "Keresan"; + case XKEE: return "Rio Grande Keresan"; + case XKJQ: return "Acoma-Laguna"; + case _KIOWATANOAN: return "KiowaTanoan"; + case _TIWA: return "Tiwa"; + case XTAO: return "Northern Tiwa"; + case XTIX: return "Southern Tiwa"; + case XKIO: return "Kiowa"; + case XTEW: return "Tewa"; + case XTOW: return "Jemez"; + case _MUSKOGEAN: return "Muskogean"; + case _CENTRALMUSKOGEAN: return "CentralMuskogean"; + case XAKZ: return "Alabama"; + case XCKU: return "Koasati"; + case XMIK: return "Mikasuki"; + case _WESTERNMUSKOGEAN: return "WesternMuskogean"; + case XCCT: return "Choctaw"; + case XCIC: return "Chickasaw"; + case XCRK: return "Creek"; + case _NADENE: return "Nadene"; + case _ATHAPASKANEYAK: return "AthapaskanEyak"; + case _ATHAPASKAN: return "Athapaskan"; + case _APACHEAN: return "Apachean"; + case _EASTERNAPACHEAN: return "EasternApachean"; + case XAPJ: return "Jicarilla"; + case XAPL: return "Lipan"; + case _WESTERNAPACHEAN: return "WesternApachean"; + case XAPM: return "Mescalero-Chiricahua"; + case XAPW: return "Western Apache"; + case XNAV: return "Dine"; + case XAPK: return "Kiowa Apache"; + case _CENTRALALASKAYUKON: return "CentralAlaskaYukon"; + case _KOYUKONINGALIK: return "KoyukonIngalik"; + case XHOI: return "Holikachuk"; + case XING: return "Degexit'an"; + case XKOY: return "Koyukon"; + case _KUTCHINHAN: return "KutchinHan"; + case XHAA: return "Han"; + case XKUC: return "Kutchin"; + case _TANANATUTCHONE: return "TananaTutchone"; + case _TANANA: return "Tanana"; + case XTAA: return "Lower Tanana"; + case XTAU: return "Upper Tanana"; + case XTCB: return "Tanacross"; + case XKUU: return "Upper Kuskokwim"; + case _PACIFICCOASTATHAPASKAN: return "PacificCoastAthapaskan"; + case _CALIFORNIAATHAPASKAN: return "CaliforniaAthapaskan"; + case XHUP: return "Hupa"; + case XKTW: return "Cahto"; + case _OREGONATHAPASKAN: return "OregonAthapaskan"; + case XTOL: return "Tolowa"; + case XTUU: return "Tututni"; + case _SOUTHERNALASKA: return "SouthernAlaska"; + case XAHT: return "Ahtna"; + case XTFN: return "Tanaina"; + case XEYA: return "Eyak"; + case XTLI: return "Tlingit"; + case _PENUTIAN: return "Penutian"; + case _CHINOOKAN: return "Chinookan"; + case _UPPERCHINOOK: return "UpperChinook"; + case XWAC: return "Kiksht"; + case _COOSAN: return "Coosan"; + case XCOS: return "Hanis"; + case _MAIDUAN: return "Maiduan"; + case XMAI: return "Northwest Maidu"; + case XNMU: return "Northeast Maidu"; + case XNSZ: return "Nisenan"; + case _PLATEAUPENUTIAN: return "PlateauPenutian"; + case _SAHAPTIAN: return "Sahaptian"; + case XUMA: return "Umatilla"; + case XWAA: return "Walla Walla"; + case XWAR: return "Tenino"; + case XYAK: return "Yakima"; + case XKLA: return "Klamath-Modoc"; + case XNEZ: return "Nez Perce"; + case _TAKELMAN: return "Takelman"; + case _KALAPUYAN: return "Kalapuyan"; + case XKAL: return "Central Kalapuyan"; + case _TSIMSHIANIC: return "Tsimshianic"; + case XTSI: return "Coast Tsimshain"; + case _UTIAN: return "Utian"; + case _MIWOKAN: return "Miwokan"; + case _EASTERNMIWOK: return "EasternMiwok"; + case XCSM: return "Central Sierra Miwok"; + case XNSQ: return "Northern Sierra Miwok"; + case XPMW: return "Plains Miwok"; + case XSKD: return "Southern Sierra Miwok"; + case _WESTERNMIWOK: return "WesternMiwok"; + case XCSI: return "Coast Miwok"; + case XLMW: return "Lake Miwok"; + case _WINTUAN: return "Wintuan"; + case XWIT: return "Wintu-Nomlaki"; + case _YOKUTSAN: return "Yokutsan"; + case XENH: return "Kings River"; + case XGSH: return "Gashowu"; + case XPYL: return "Poso Creek"; + case XTKH: return "Tule-Kaweah"; + case _PIDGIN: return "Pidgin"; + case XCHH: return "Chinook Wawa"; + case _SALISHAN: return "Salishan"; + case _CENTRALSALISH: return "CentralSalish"; + case XCLM: return "Clallam"; + case XLUT: return "Lushootseed"; + case XSTR: return "Northern Straits"; + case _INTERIORSALISH: return "InteriorSalish"; + case XCOL: return "Columbian"; + case XCRD: return "Coeur D'alene"; + case XFLA: return "Kalispel"; + case XOKA: return "Okanagan"; + case _TSAMOSAN: return "Tsamosan"; + case XCEA: return "Lower Chehalis"; + case XCJH: return "Upper Chehalis"; + case XCOW: return "Cowlitz"; + case XQUN: return "Quinault"; + case _SIOUANCATAWBA: return "SiouanCatawba"; + case _SIOUAN: return "Siouan"; + case _MISSISSIPPIVALLEY: return "MississippiValley"; + case _CHIWEREWINNEBAGO: return "ChiwereWinnebago"; + case XIOW: return "Chiwere"; + case XWIN: return "Hocak"; + case _DAKOTAN: return "Dakotan"; + case XASB: return "Assiniboine"; + case XDHG: return "Dakota"; + case XLKT: return "Lakota"; + case XNKT: return "Nakota"; + case _DHEGIHA: return "Dhegiha"; + case XKAA: return "Kansa"; + case XOMA: return "Omaha-Ponca"; + case XOSA: return "Osage"; + case XQUA: return "Quapaw"; + case _MISSOURIRIVER: return "MissouriRiver"; + case XCRO: return "Crow"; + case XHID: return "Hidatsa"; + case XMHQ: return "Mandan"; + case _UTOAZTECAN: return "UtoAztecan"; + case _NUMIC: return "Numic"; + case _CENTRALNUMIC: return "CentralNumic"; + case XCOM: return "Comanche"; + case XPAR: return "Panamint"; + case XSHH: return "Shoshone"; + case _SOUTHERNNUMIC: return "SouthernNumic"; + case XKAW: return "Kawaiisu"; + case XUTE: return "Ute-Southern Paiute"; + case _WESTERNNUMIC: return "WesternNumic"; + case XMON: return "Mono"; + case XPAO: return "Northern Paiute-Bannock"; + case _TAKIC: return "Takic"; + case _CUPAN: return "Cupan"; + case XCHL: return "Cahuilla"; + case XCUP: return "Cupeno"; + case XLUI: return "Luiseno"; + case _SERRANOGABRIELINO: return "SerranoGabrielino"; + case XSER: return "Serrano"; + case _TARACAHITAN: return "Taracahitan"; + case _CAHITAN: return "Cahitan"; + case XYAQ: return "Yaqui"; + case _TEPIMAN: return "Tepiman"; + case XPAP: return "Papago-Pima"; + case XHOP: return "Hopi"; + case XTUB: return "Tubatululabal"; + case _WAKASHAN: return "Wakashan"; + case _NOOTKAN: return "Nootkan"; + case XMYH: return "Makah"; + case _YUKIAN: return "Yukian"; + case XWAO: return "Wappo"; + case XYUK: return "Yuki"; + case XHAI: return "Haida"; + case XKUN: return "Kootenai"; + case XPSD: return "Plains Indian Sign Language"; + case XYUC: return "Yuchi"; + case XZUN: return "Zuni"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ALGIC: return "Algic"; + case _ALGONQUIAN: return "Algonquian"; + case _ARAPAHOAN: return "Arapahoan"; + case _ARAPAHOGROSVENTRE: return "ArapahoGrosVentre"; + case XARP: return "Arapaho"; + case XATS: return "Gros Ventre"; + case _CREEMONTAGNAIS: return "CreeMontagnais"; + case _CREE: return "Cree"; + case XCRP: return "Western Cree"; + case _EASTERNALGONQUIN: return "EasternAlgonquin"; + case _ABENAKIAN: return "Abenakian"; + case XAAQ: return "Eastern Abenaki"; + case XABE: return "Western Abenaki"; + case XMAC: return "Maliseet-Passamaquoddy"; + case _DELAWARAN: return "Delawaran"; + case XDEL: return "Unami Delaware"; + case XMIC: return "Micmac"; + case _OJIBWAYAN: return "Ojibwayan"; + case XOJB: return "Southern Ojibwa"; + case XPOT: return "Potawatami"; + case _SAUKFOXKICKAPOO: return "SaukFoxKickapoo"; + case XKIC: return "Kickapoo"; + case XSAC: return "Mesquakie"; + case XSJW: return "Shawnee"; + case XBLC: return "Blackfoot"; + case XCHY: return "Cheyenne"; + case XMEZ: return "Menominee"; + case _RITWAN: return "Ritwan"; + case XYUR: return "Yurok"; + case _CADDOAN: return "Caddoan"; + case _NORTHERNCADDOAN: return "NorthernCaddoan"; + case XARI: return "Arikara"; + case XPAW: return "Pawnee"; + case XWIC: return "Wichita"; + case _SOUTHERNCADDOAN: return "SouthernCaddoan"; + case XCAD: return "Caddo"; + case _CHIMAKUAN: return "Chimakuan"; + case XQUI: return "Quileute"; + case _ESKIMOALEUT: return "EskimoAleut"; + case _ALEUT: return "Aleut"; + case XALW: return "Aleut"; + case _ESKIMOAN: return "Eskimoan"; + case _INUITINUPIAQ: return "InuitInupiaq"; + case XESI: return "North Alaskan Inuktitut"; + case XESK: return "Northwest Alaska Inuktitut"; + case _SIRENIKSKIYUPIK: return "SirenikskiYupik"; + case XEMS: return "Pacific Yupik Gulf"; + case XESS: return "Central Siberian Yupik"; + case XESU: return "Central Alaskan Yupik"; + case _HOKAN: return "Hokan"; + case _COCHIMIYUMAN: return "CochimiYuman"; + case _YUMAN: return "Yuman"; + case _DELTACALIFORNIA: return "DeltaCalifornia"; + case _DIEGUENO: return "Diegueno"; + case XDIH: return "Kumeyaay"; + case XCOC: return "Cocopa"; + case _PAI: return "Pai"; + case XYUF: return "Havasupai"; + case _RIVER: return "River"; + case XMOV: return "Mohave"; + case XMRC: return "Maricopa"; + case XYUM: return "Quechan"; + case _PALAIHNIHAN: return "Palaihnihan"; + case XACH: return "Achumawi"; + case XATW: return "Atsugewi"; + case _POMOAN: return "Pomoan"; + case XKJU: return "Kashaya"; + case XPEF: return "Northeastern Pomo"; + case XPEO: return "Southeastern Pomo"; + case XPEQ: return "Southern Pomo"; + case XPOO: return "Central Pomo"; + case _SHASTA: return "Shasta"; + case XSHT: return "Shasta"; + case XKYH: return "Karok"; + case XWAS: return "Washoe"; + case _IROQUOIAN: return "Iroquoian"; + case _NORTHERNIROQUOIAN: return "NorthernIroquoian"; + case XCAY: return "Cayuga"; + case XMOH: return "Mohawk"; + case XONE: return "Oneida"; + case XONO: return "Onondaga"; + case XSEE: return "Seneca"; + case XTUS: return "Tuscarora"; + case XCER: return "Cherokee"; + case _KERESAN: return "Keresan"; + case XKEE: return "Rio Grande Keresan"; + case XKJQ: return "Acoma-Laguna"; + case _KIOWATANOAN: return "KiowaTanoan"; + case _TIWA: return "Tiwa"; + case XTAO: return "Northern Tiwa"; + case XTIX: return "Southern Tiwa"; + case XKIO: return "Kiowa"; + case XTEW: return "Tewa"; + case XTOW: return "Jemez"; + case _MUSKOGEAN: return "Muskogean"; + case _CENTRALMUSKOGEAN: return "CentralMuskogean"; + case XAKZ: return "Alabama"; + case XCKU: return "Koasati"; + case XMIK: return "Mikasuki"; + case _WESTERNMUSKOGEAN: return "WesternMuskogean"; + case XCCT: return "Choctaw"; + case XCIC: return "Chickasaw"; + case XCRK: return "Creek"; + case _NADENE: return "Nadene"; + case _ATHAPASKANEYAK: return "AthapaskanEyak"; + case _ATHAPASKAN: return "Athapaskan"; + case _APACHEAN: return "Apachean"; + case _EASTERNAPACHEAN: return "EasternApachean"; + case XAPJ: return "Jicarilla"; + case XAPL: return "Lipan"; + case _WESTERNAPACHEAN: return "WesternApachean"; + case XAPM: return "Mescalero-Chiricahua"; + case XAPW: return "Western Apache"; + case XNAV: return "Dine"; + case XAPK: return "Kiowa Apache"; + case _CENTRALALASKAYUKON: return "CentralAlaskaYukon"; + case _KOYUKONINGALIK: return "KoyukonIngalik"; + case XHOI: return "Holikachuk"; + case XING: return "Degexit'an"; + case XKOY: return "Koyukon"; + case _KUTCHINHAN: return "KutchinHan"; + case XHAA: return "Han"; + case XKUC: return "Kutchin"; + case _TANANATUTCHONE: return "TananaTutchone"; + case _TANANA: return "Tanana"; + case XTAA: return "Lower Tanana"; + case XTAU: return "Upper Tanana"; + case XTCB: return "Tanacross"; + case XKUU: return "Upper Kuskokwim"; + case _PACIFICCOASTATHAPASKAN: return "PacificCoastAthapaskan"; + case _CALIFORNIAATHAPASKAN: return "CaliforniaAthapaskan"; + case XHUP: return "Hupa"; + case XKTW: return "Cahto"; + case _OREGONATHAPASKAN: return "OregonAthapaskan"; + case XTOL: return "Tolowa"; + case XTUU: return "Tututni"; + case _SOUTHERNALASKA: return "SouthernAlaska"; + case XAHT: return "Ahtna"; + case XTFN: return "Tanaina"; + case XEYA: return "Eyak"; + case XTLI: return "Tlingit"; + case _PENUTIAN: return "Penutian"; + case _CHINOOKAN: return "Chinookan"; + case _UPPERCHINOOK: return "UpperChinook"; + case XWAC: return "Kiksht"; + case _COOSAN: return "Coosan"; + case XCOS: return "Hanis"; + case _MAIDUAN: return "Maiduan"; + case XMAI: return "Northwest Maidu"; + case XNMU: return "Northeast Maidu"; + case XNSZ: return "Nisenan"; + case _PLATEAUPENUTIAN: return "PlateauPenutian"; + case _SAHAPTIAN: return "Sahaptian"; + case XUMA: return "Umatilla"; + case XWAA: return "Walla Walla"; + case XWAR: return "Tenino"; + case XYAK: return "Yakima"; + case XKLA: return "Klamath-Modoc"; + case XNEZ: return "Nez Perce"; + case _TAKELMAN: return "Takelman"; + case _KALAPUYAN: return "Kalapuyan"; + case XKAL: return "Central Kalapuyan"; + case _TSIMSHIANIC: return "Tsimshianic"; + case XTSI: return "Coast Tsimshain"; + case _UTIAN: return "Utian"; + case _MIWOKAN: return "Miwokan"; + case _EASTERNMIWOK: return "EasternMiwok"; + case XCSM: return "Central Sierra Miwok"; + case XNSQ: return "Northern Sierra Miwok"; + case XPMW: return "Plains Miwok"; + case XSKD: return "Southern Sierra Miwok"; + case _WESTERNMIWOK: return "WesternMiwok"; + case XCSI: return "Coast Miwok"; + case XLMW: return "Lake Miwok"; + case _WINTUAN: return "Wintuan"; + case XWIT: return "Wintu-Nomlaki"; + case _YOKUTSAN: return "Yokutsan"; + case XENH: return "Kings River"; + case XGSH: return "Gashowu"; + case XPYL: return "Poso Creek"; + case XTKH: return "Tule-Kaweah"; + case _PIDGIN: return "Pidgin"; + case XCHH: return "Chinook Wawa"; + case _SALISHAN: return "Salishan"; + case _CENTRALSALISH: return "CentralSalish"; + case XCLM: return "Clallam"; + case XLUT: return "Lushootseed"; + case XSTR: return "Northern Straits"; + case _INTERIORSALISH: return "InteriorSalish"; + case XCOL: return "Columbian"; + case XCRD: return "Coeur D'alene"; + case XFLA: return "Kalispel"; + case XOKA: return "Okanagan"; + case _TSAMOSAN: return "Tsamosan"; + case XCEA: return "Lower Chehalis"; + case XCJH: return "Upper Chehalis"; + case XCOW: return "Cowlitz"; + case XQUN: return "Quinault"; + case _SIOUANCATAWBA: return "SiouanCatawba"; + case _SIOUAN: return "Siouan"; + case _MISSISSIPPIVALLEY: return "MississippiValley"; + case _CHIWEREWINNEBAGO: return "ChiwereWinnebago"; + case XIOW: return "Chiwere"; + case XWIN: return "Hocak"; + case _DAKOTAN: return "Dakotan"; + case XASB: return "Assiniboine"; + case XDHG: return "Dakota"; + case XLKT: return "Lakota"; + case XNKT: return "Nakota"; + case _DHEGIHA: return "Dhegiha"; + case XKAA: return "Kansa"; + case XOMA: return "Omaha-Ponca"; + case XOSA: return "Osage"; + case XQUA: return "Quapaw"; + case _MISSOURIRIVER: return "MissouriRiver"; + case XCRO: return "Crow"; + case XHID: return "Hidatsa"; + case XMHQ: return "Mandan"; + case _UTOAZTECAN: return "UtoAztecan"; + case _NUMIC: return "Numic"; + case _CENTRALNUMIC: return "CentralNumic"; + case XCOM: return "Comanche"; + case XPAR: return "Panamint"; + case XSHH: return "Shoshone"; + case _SOUTHERNNUMIC: return "SouthernNumic"; + case XKAW: return "Kawaiisu"; + case XUTE: return "Ute-Southern Paiute"; + case _WESTERNNUMIC: return "WesternNumic"; + case XMON: return "Mono"; + case XPAO: return "Northern Paiute-Bannock"; + case _TAKIC: return "Takic"; + case _CUPAN: return "Cupan"; + case XCHL: return "Cahuilla"; + case XCUP: return "Cupeno"; + case XLUI: return "Luiseno"; + case _SERRANOGABRIELINO: return "SerranoGabrielino"; + case XSER: return "Serrano"; + case _TARACAHITAN: return "Taracahitan"; + case _CAHITAN: return "Cahitan"; + case XYAQ: return "Yaqui"; + case _TEPIMAN: return "Tepiman"; + case XPAP: return "Papago-Pima"; + case XHOP: return "Hopi"; + case XTUB: return "Tubatululabal"; + case _WAKASHAN: return "Wakashan"; + case _NOOTKAN: return "Nootkan"; + case XMYH: return "Makah"; + case _YUKIAN: return "Yukian"; + case XWAO: return "Wappo"; + case XYUK: return "Yuki"; + case XHAI: return "Haida"; + case XKUN: return "Kootenai"; + case XPSD: return "Plains Indian Sign Language"; + case XYUC: return "Yuchi"; + case XZUN: return "Zuni"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguagesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguagesEnumFactory.java new file mode 100644 index 00000000000..11b3590a56a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3AmericanIndianAlaskaNativeLanguagesEnumFactory.java @@ -0,0 +1,1071 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3AmericanIndianAlaskaNativeLanguagesEnumFactory implements EnumFactory { + + public V3AmericanIndianAlaskaNativeLanguages fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_Algic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ALGIC; + if ("_Algonquian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ALGONQUIAN; + if ("_Arapahoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ARAPAHOAN; + if ("_ArapahoGrosVentre".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ARAPAHOGROSVENTRE; + if ("x-ARP".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XARP; + if ("x-ATS".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XATS; + if ("_CreeMontagnais".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CREEMONTAGNAIS; + if ("_Cree".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CREE; + if ("x-CRP".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCRP; + if ("_EasternAlgonquin".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._EASTERNALGONQUIN; + if ("_Abenakian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ABENAKIAN; + if ("x-AAQ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAAQ; + if ("x-ABE".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XABE; + if ("x-MAC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMAC; + if ("_Delawaran".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._DELAWARAN; + if ("x-DEL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XDEL; + if ("x-MIC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMIC; + if ("_Ojibwayan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._OJIBWAYAN; + if ("x-OJB".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XOJB; + if ("x-POT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPOT; + if ("_SaukFoxKickapoo".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SAUKFOXKICKAPOO; + if ("x-KIC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKIC; + if ("x-SAC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSAC; + if ("x-SJW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSJW; + if ("x-BLC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XBLC; + if ("x-CHY".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCHY; + if ("x-MEZ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMEZ; + if ("_Ritwan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._RITWAN; + if ("x-YUR".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYUR; + if ("_Caddoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CADDOAN; + if ("_NorthernCaddoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._NORTHERNCADDOAN; + if ("x-ARI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XARI; + if ("x-PAW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPAW; + if ("x-WIC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWIC; + if ("_SouthernCaddoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SOUTHERNCADDOAN; + if ("x-CAD".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCAD; + if ("_Chimakuan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CHIMAKUAN; + if ("x-QUI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XQUI; + if ("_EskimoAleut".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ESKIMOALEUT; + if ("_Aleut".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ALEUT; + if ("x-ALW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XALW; + if ("_Eskimoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ESKIMOAN; + if ("_InuitInupiaq".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._INUITINUPIAQ; + if ("x-ESI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XESI; + if ("x-ESK".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XESK; + if ("_SirenikskiYupik".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SIRENIKSKIYUPIK; + if ("x-EMS".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XEMS; + if ("x-ESS".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XESS; + if ("x-ESU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XESU; + if ("_Hokan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._HOKAN; + if ("_CochimiYuman".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._COCHIMIYUMAN; + if ("_Yuman".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._YUMAN; + if ("_DeltaCalifornia".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._DELTACALIFORNIA; + if ("_Diegueno".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._DIEGUENO; + if ("x-DIH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XDIH; + if ("x-COC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCOC; + if ("_Pai".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._PAI; + if ("x-YUF".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYUF; + if ("_River".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._RIVER; + if ("x-MOV".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMOV; + if ("x-MRC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMRC; + if ("x-YUM".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYUM; + if ("_Palaihnihan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._PALAIHNIHAN; + if ("x-ACH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XACH; + if ("x-ATW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XATW; + if ("_Pomoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._POMOAN; + if ("x-KJU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKJU; + if ("x-PEF".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPEF; + if ("x-PEO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPEO; + if ("x-PEQ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPEQ; + if ("x-POO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPOO; + if ("_Shasta".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SHASTA; + if ("x-SHT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSHT; + if ("x-KYH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKYH; + if ("x-WAS".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWAS; + if ("_Iroquoian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._IROQUOIAN; + if ("_NorthernIroquoian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._NORTHERNIROQUOIAN; + if ("x-CAY".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCAY; + if ("x-MOH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMOH; + if ("x-ONE".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XONE; + if ("x-ONO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XONO; + if ("x-SEE".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSEE; + if ("x-TUS".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTUS; + if ("x-CER".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCER; + if ("_Keresan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._KERESAN; + if ("x-KEE".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKEE; + if ("x-KJQ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKJQ; + if ("_KiowaTanoan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._KIOWATANOAN; + if ("_Tiwa".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TIWA; + if ("x-TAO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTAO; + if ("x-TIX".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTIX; + if ("x-KIO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKIO; + if ("x-TEW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTEW; + if ("x-TOW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTOW; + if ("_Muskogean".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._MUSKOGEAN; + if ("_CentralMuskogean".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CENTRALMUSKOGEAN; + if ("x-AKZ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAKZ; + if ("x-CKU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCKU; + if ("x-MIK".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMIK; + if ("_WesternMuskogean".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._WESTERNMUSKOGEAN; + if ("x-CCT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCCT; + if ("x-CIC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCIC; + if ("x-CRK".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCRK; + if ("_Nadene".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._NADENE; + if ("_AthapaskanEyak".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ATHAPASKANEYAK; + if ("_Athapaskan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._ATHAPASKAN; + if ("_Apachean".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._APACHEAN; + if ("_EasternApachean".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._EASTERNAPACHEAN; + if ("x-APJ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAPJ; + if ("x-APL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAPL; + if ("_WesternApachean".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._WESTERNAPACHEAN; + if ("x-APM".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAPM; + if ("x-APW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAPW; + if ("x-NAV".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XNAV; + if ("x-APK".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAPK; + if ("_CentralAlaskaYukon".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CENTRALALASKAYUKON; + if ("_KoyukonIngalik".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._KOYUKONINGALIK; + if ("x-HOI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XHOI; + if ("x-ING".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XING; + if ("x-KOY".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKOY; + if ("_KutchinHan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._KUTCHINHAN; + if ("x-HAA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XHAA; + if ("x-KUC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKUC; + if ("_TananaTutchone".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TANANATUTCHONE; + if ("_Tanana".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TANANA; + if ("x-TAA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTAA; + if ("x-TAU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTAU; + if ("x-TCB".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTCB; + if ("x-KUU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKUU; + if ("_PacificCoastAthapaskan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._PACIFICCOASTATHAPASKAN; + if ("_CaliforniaAthapaskan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CALIFORNIAATHAPASKAN; + if ("x-HUP".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XHUP; + if ("x-KTW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKTW; + if ("_OregonAthapaskan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._OREGONATHAPASKAN; + if ("x-TOL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTOL; + if ("x-TUU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTUU; + if ("_SouthernAlaska".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SOUTHERNALASKA; + if ("x-AHT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XAHT; + if ("x-TFN".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTFN; + if ("x-EYA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XEYA; + if ("x-TLI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTLI; + if ("_Penutian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._PENUTIAN; + if ("_Chinookan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CHINOOKAN; + if ("_UpperChinook".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._UPPERCHINOOK; + if ("x-WAC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWAC; + if ("_Coosan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._COOSAN; + if ("x-COS".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCOS; + if ("_Maiduan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._MAIDUAN; + if ("x-MAI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMAI; + if ("x-NMU".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XNMU; + if ("x-NSZ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XNSZ; + if ("_PlateauPenutian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._PLATEAUPENUTIAN; + if ("_Sahaptian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SAHAPTIAN; + if ("x-UMA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XUMA; + if ("x-WAA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWAA; + if ("x-WAR".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWAR; + if ("x-YAK".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYAK; + if ("x-KLA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKLA; + if ("x-NEZ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XNEZ; + if ("_Takelman".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TAKELMAN; + if ("_Kalapuyan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._KALAPUYAN; + if ("x-KAL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKAL; + if ("_Tsimshianic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TSIMSHIANIC; + if ("x-TSI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTSI; + if ("_Utian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._UTIAN; + if ("_Miwokan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._MIWOKAN; + if ("_EasternMiwok".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._EASTERNMIWOK; + if ("x-CSM".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCSM; + if ("x-NSQ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XNSQ; + if ("x-PMW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPMW; + if ("x-SKD".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSKD; + if ("_WesternMiwok".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._WESTERNMIWOK; + if ("x-CSI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCSI; + if ("x-LMW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XLMW; + if ("_Wintuan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._WINTUAN; + if ("x-WIT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWIT; + if ("_Yokutsan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._YOKUTSAN; + if ("x-ENH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XENH; + if ("x-GSH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XGSH; + if ("x-PYL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPYL; + if ("x-TKH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTKH; + if ("_Pidgin".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._PIDGIN; + if ("x-CHH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCHH; + if ("_Salishan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SALISHAN; + if ("_CentralSalish".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CENTRALSALISH; + if ("x-CLM".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCLM; + if ("x-LUT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XLUT; + if ("x-STR".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSTR; + if ("_InteriorSalish".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._INTERIORSALISH; + if ("x-COL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCOL; + if ("x-CRD".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCRD; + if ("x-FLA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XFLA; + if ("x-OKA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XOKA; + if ("_Tsamosan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TSAMOSAN; + if ("x-CEA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCEA; + if ("x-CJH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCJH; + if ("x-COW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCOW; + if ("x-QUN".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XQUN; + if ("_SiouanCatawba".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SIOUANCATAWBA; + if ("_Siouan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SIOUAN; + if ("_MississippiValley".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._MISSISSIPPIVALLEY; + if ("_ChiwereWinnebago".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CHIWEREWINNEBAGO; + if ("x-IOW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XIOW; + if ("x-WIN".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWIN; + if ("_Dakotan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._DAKOTAN; + if ("x-ASB".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XASB; + if ("x-DHG".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XDHG; + if ("x-LKT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XLKT; + if ("x-NKT".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XNKT; + if ("_Dhegiha".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._DHEGIHA; + if ("x-KAA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKAA; + if ("x-OMA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XOMA; + if ("x-OSA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XOSA; + if ("x-QUA".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XQUA; + if ("_MissouriRiver".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._MISSOURIRIVER; + if ("x-CRO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCRO; + if ("x-HID".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XHID; + if ("x-MHQ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMHQ; + if ("_UtoAztecan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._UTOAZTECAN; + if ("_Numic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._NUMIC; + if ("_CentralNumic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CENTRALNUMIC; + if ("x-COM".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCOM; + if ("x-PAR".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPAR; + if ("x-SHH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSHH; + if ("_SouthernNumic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SOUTHERNNUMIC; + if ("x-KAW".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKAW; + if ("x-UTE".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XUTE; + if ("_WesternNumic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._WESTERNNUMIC; + if ("x-MON".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMON; + if ("x-PAO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPAO; + if ("_Takic".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TAKIC; + if ("_Cupan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CUPAN; + if ("x-CHL".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCHL; + if ("x-CUP".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XCUP; + if ("x-LUI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XLUI; + if ("_SerranoGabrielino".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._SERRANOGABRIELINO; + if ("x-SER".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XSER; + if ("_Taracahitan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TARACAHITAN; + if ("_Cahitan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._CAHITAN; + if ("x-YAQ".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYAQ; + if ("_Tepiman".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._TEPIMAN; + if ("x-PAP".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPAP; + if ("x-HOP".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XHOP; + if ("x-TUB".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XTUB; + if ("_Wakashan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._WAKASHAN; + if ("_Nootkan".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._NOOTKAN; + if ("x-MYH".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XMYH; + if ("_Yukian".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages._YUKIAN; + if ("x-WAO".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XWAO; + if ("x-YUK".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYUK; + if ("x-HAI".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XHAI; + if ("x-KUN".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XKUN; + if ("x-PSD".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XPSD; + if ("x-YUC".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XYUC; + if ("x-ZUN".equals(codeString)) + return V3AmericanIndianAlaskaNativeLanguages.XZUN; + throw new IllegalArgumentException("Unknown V3AmericanIndianAlaskaNativeLanguages code '"+codeString+"'"); + } + + public String toCode(V3AmericanIndianAlaskaNativeLanguages code) { + if (code == V3AmericanIndianAlaskaNativeLanguages._ALGIC) + return "_Algic"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ALGONQUIAN) + return "_Algonquian"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ARAPAHOAN) + return "_Arapahoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ARAPAHOGROSVENTRE) + return "_ArapahoGrosVentre"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XARP) + return "x-ARP"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XATS) + return "x-ATS"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CREEMONTAGNAIS) + return "_CreeMontagnais"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CREE) + return "_Cree"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCRP) + return "x-CRP"; + if (code == V3AmericanIndianAlaskaNativeLanguages._EASTERNALGONQUIN) + return "_EasternAlgonquin"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ABENAKIAN) + return "_Abenakian"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAAQ) + return "x-AAQ"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XABE) + return "x-ABE"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMAC) + return "x-MAC"; + if (code == V3AmericanIndianAlaskaNativeLanguages._DELAWARAN) + return "_Delawaran"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XDEL) + return "x-DEL"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMIC) + return "x-MIC"; + if (code == V3AmericanIndianAlaskaNativeLanguages._OJIBWAYAN) + return "_Ojibwayan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XOJB) + return "x-OJB"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPOT) + return "x-POT"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SAUKFOXKICKAPOO) + return "_SaukFoxKickapoo"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKIC) + return "x-KIC"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSAC) + return "x-SAC"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSJW) + return "x-SJW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XBLC) + return "x-BLC"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCHY) + return "x-CHY"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMEZ) + return "x-MEZ"; + if (code == V3AmericanIndianAlaskaNativeLanguages._RITWAN) + return "_Ritwan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYUR) + return "x-YUR"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CADDOAN) + return "_Caddoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._NORTHERNCADDOAN) + return "_NorthernCaddoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XARI) + return "x-ARI"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPAW) + return "x-PAW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWIC) + return "x-WIC"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SOUTHERNCADDOAN) + return "_SouthernCaddoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCAD) + return "x-CAD"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CHIMAKUAN) + return "_Chimakuan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XQUI) + return "x-QUI"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ESKIMOALEUT) + return "_EskimoAleut"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ALEUT) + return "_Aleut"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XALW) + return "x-ALW"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ESKIMOAN) + return "_Eskimoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._INUITINUPIAQ) + return "_InuitInupiaq"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XESI) + return "x-ESI"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XESK) + return "x-ESK"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SIRENIKSKIYUPIK) + return "_SirenikskiYupik"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XEMS) + return "x-EMS"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XESS) + return "x-ESS"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XESU) + return "x-ESU"; + if (code == V3AmericanIndianAlaskaNativeLanguages._HOKAN) + return "_Hokan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._COCHIMIYUMAN) + return "_CochimiYuman"; + if (code == V3AmericanIndianAlaskaNativeLanguages._YUMAN) + return "_Yuman"; + if (code == V3AmericanIndianAlaskaNativeLanguages._DELTACALIFORNIA) + return "_DeltaCalifornia"; + if (code == V3AmericanIndianAlaskaNativeLanguages._DIEGUENO) + return "_Diegueno"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XDIH) + return "x-DIH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCOC) + return "x-COC"; + if (code == V3AmericanIndianAlaskaNativeLanguages._PAI) + return "_Pai"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYUF) + return "x-YUF"; + if (code == V3AmericanIndianAlaskaNativeLanguages._RIVER) + return "_River"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMOV) + return "x-MOV"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMRC) + return "x-MRC"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYUM) + return "x-YUM"; + if (code == V3AmericanIndianAlaskaNativeLanguages._PALAIHNIHAN) + return "_Palaihnihan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XACH) + return "x-ACH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XATW) + return "x-ATW"; + if (code == V3AmericanIndianAlaskaNativeLanguages._POMOAN) + return "_Pomoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKJU) + return "x-KJU"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPEF) + return "x-PEF"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPEO) + return "x-PEO"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPEQ) + return "x-PEQ"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPOO) + return "x-POO"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SHASTA) + return "_Shasta"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSHT) + return "x-SHT"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKYH) + return "x-KYH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWAS) + return "x-WAS"; + if (code == V3AmericanIndianAlaskaNativeLanguages._IROQUOIAN) + return "_Iroquoian"; + if (code == V3AmericanIndianAlaskaNativeLanguages._NORTHERNIROQUOIAN) + return "_NorthernIroquoian"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCAY) + return "x-CAY"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMOH) + return "x-MOH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XONE) + return "x-ONE"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XONO) + return "x-ONO"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSEE) + return "x-SEE"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTUS) + return "x-TUS"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCER) + return "x-CER"; + if (code == V3AmericanIndianAlaskaNativeLanguages._KERESAN) + return "_Keresan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKEE) + return "x-KEE"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKJQ) + return "x-KJQ"; + if (code == V3AmericanIndianAlaskaNativeLanguages._KIOWATANOAN) + return "_KiowaTanoan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TIWA) + return "_Tiwa"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTAO) + return "x-TAO"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTIX) + return "x-TIX"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKIO) + return "x-KIO"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTEW) + return "x-TEW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTOW) + return "x-TOW"; + if (code == V3AmericanIndianAlaskaNativeLanguages._MUSKOGEAN) + return "_Muskogean"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CENTRALMUSKOGEAN) + return "_CentralMuskogean"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAKZ) + return "x-AKZ"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCKU) + return "x-CKU"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMIK) + return "x-MIK"; + if (code == V3AmericanIndianAlaskaNativeLanguages._WESTERNMUSKOGEAN) + return "_WesternMuskogean"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCCT) + return "x-CCT"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCIC) + return "x-CIC"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCRK) + return "x-CRK"; + if (code == V3AmericanIndianAlaskaNativeLanguages._NADENE) + return "_Nadene"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ATHAPASKANEYAK) + return "_AthapaskanEyak"; + if (code == V3AmericanIndianAlaskaNativeLanguages._ATHAPASKAN) + return "_Athapaskan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._APACHEAN) + return "_Apachean"; + if (code == V3AmericanIndianAlaskaNativeLanguages._EASTERNAPACHEAN) + return "_EasternApachean"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAPJ) + return "x-APJ"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAPL) + return "x-APL"; + if (code == V3AmericanIndianAlaskaNativeLanguages._WESTERNAPACHEAN) + return "_WesternApachean"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAPM) + return "x-APM"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAPW) + return "x-APW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XNAV) + return "x-NAV"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAPK) + return "x-APK"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CENTRALALASKAYUKON) + return "_CentralAlaskaYukon"; + if (code == V3AmericanIndianAlaskaNativeLanguages._KOYUKONINGALIK) + return "_KoyukonIngalik"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XHOI) + return "x-HOI"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XING) + return "x-ING"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKOY) + return "x-KOY"; + if (code == V3AmericanIndianAlaskaNativeLanguages._KUTCHINHAN) + return "_KutchinHan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XHAA) + return "x-HAA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKUC) + return "x-KUC"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TANANATUTCHONE) + return "_TananaTutchone"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TANANA) + return "_Tanana"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTAA) + return "x-TAA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTAU) + return "x-TAU"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTCB) + return "x-TCB"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKUU) + return "x-KUU"; + if (code == V3AmericanIndianAlaskaNativeLanguages._PACIFICCOASTATHAPASKAN) + return "_PacificCoastAthapaskan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CALIFORNIAATHAPASKAN) + return "_CaliforniaAthapaskan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XHUP) + return "x-HUP"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKTW) + return "x-KTW"; + if (code == V3AmericanIndianAlaskaNativeLanguages._OREGONATHAPASKAN) + return "_OregonAthapaskan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTOL) + return "x-TOL"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTUU) + return "x-TUU"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SOUTHERNALASKA) + return "_SouthernAlaska"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XAHT) + return "x-AHT"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTFN) + return "x-TFN"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XEYA) + return "x-EYA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTLI) + return "x-TLI"; + if (code == V3AmericanIndianAlaskaNativeLanguages._PENUTIAN) + return "_Penutian"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CHINOOKAN) + return "_Chinookan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._UPPERCHINOOK) + return "_UpperChinook"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWAC) + return "x-WAC"; + if (code == V3AmericanIndianAlaskaNativeLanguages._COOSAN) + return "_Coosan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCOS) + return "x-COS"; + if (code == V3AmericanIndianAlaskaNativeLanguages._MAIDUAN) + return "_Maiduan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMAI) + return "x-MAI"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XNMU) + return "x-NMU"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XNSZ) + return "x-NSZ"; + if (code == V3AmericanIndianAlaskaNativeLanguages._PLATEAUPENUTIAN) + return "_PlateauPenutian"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SAHAPTIAN) + return "_Sahaptian"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XUMA) + return "x-UMA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWAA) + return "x-WAA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWAR) + return "x-WAR"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYAK) + return "x-YAK"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKLA) + return "x-KLA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XNEZ) + return "x-NEZ"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TAKELMAN) + return "_Takelman"; + if (code == V3AmericanIndianAlaskaNativeLanguages._KALAPUYAN) + return "_Kalapuyan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKAL) + return "x-KAL"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TSIMSHIANIC) + return "_Tsimshianic"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTSI) + return "x-TSI"; + if (code == V3AmericanIndianAlaskaNativeLanguages._UTIAN) + return "_Utian"; + if (code == V3AmericanIndianAlaskaNativeLanguages._MIWOKAN) + return "_Miwokan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._EASTERNMIWOK) + return "_EasternMiwok"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCSM) + return "x-CSM"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XNSQ) + return "x-NSQ"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPMW) + return "x-PMW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSKD) + return "x-SKD"; + if (code == V3AmericanIndianAlaskaNativeLanguages._WESTERNMIWOK) + return "_WesternMiwok"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCSI) + return "x-CSI"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XLMW) + return "x-LMW"; + if (code == V3AmericanIndianAlaskaNativeLanguages._WINTUAN) + return "_Wintuan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWIT) + return "x-WIT"; + if (code == V3AmericanIndianAlaskaNativeLanguages._YOKUTSAN) + return "_Yokutsan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XENH) + return "x-ENH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XGSH) + return "x-GSH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPYL) + return "x-PYL"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTKH) + return "x-TKH"; + if (code == V3AmericanIndianAlaskaNativeLanguages._PIDGIN) + return "_Pidgin"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCHH) + return "x-CHH"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SALISHAN) + return "_Salishan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CENTRALSALISH) + return "_CentralSalish"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCLM) + return "x-CLM"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XLUT) + return "x-LUT"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSTR) + return "x-STR"; + if (code == V3AmericanIndianAlaskaNativeLanguages._INTERIORSALISH) + return "_InteriorSalish"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCOL) + return "x-COL"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCRD) + return "x-CRD"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XFLA) + return "x-FLA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XOKA) + return "x-OKA"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TSAMOSAN) + return "_Tsamosan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCEA) + return "x-CEA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCJH) + return "x-CJH"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCOW) + return "x-COW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XQUN) + return "x-QUN"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SIOUANCATAWBA) + return "_SiouanCatawba"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SIOUAN) + return "_Siouan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._MISSISSIPPIVALLEY) + return "_MississippiValley"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CHIWEREWINNEBAGO) + return "_ChiwereWinnebago"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XIOW) + return "x-IOW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWIN) + return "x-WIN"; + if (code == V3AmericanIndianAlaskaNativeLanguages._DAKOTAN) + return "_Dakotan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XASB) + return "x-ASB"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XDHG) + return "x-DHG"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XLKT) + return "x-LKT"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XNKT) + return "x-NKT"; + if (code == V3AmericanIndianAlaskaNativeLanguages._DHEGIHA) + return "_Dhegiha"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKAA) + return "x-KAA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XOMA) + return "x-OMA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XOSA) + return "x-OSA"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XQUA) + return "x-QUA"; + if (code == V3AmericanIndianAlaskaNativeLanguages._MISSOURIRIVER) + return "_MissouriRiver"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCRO) + return "x-CRO"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XHID) + return "x-HID"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMHQ) + return "x-MHQ"; + if (code == V3AmericanIndianAlaskaNativeLanguages._UTOAZTECAN) + return "_UtoAztecan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._NUMIC) + return "_Numic"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CENTRALNUMIC) + return "_CentralNumic"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCOM) + return "x-COM"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPAR) + return "x-PAR"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSHH) + return "x-SHH"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SOUTHERNNUMIC) + return "_SouthernNumic"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKAW) + return "x-KAW"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XUTE) + return "x-UTE"; + if (code == V3AmericanIndianAlaskaNativeLanguages._WESTERNNUMIC) + return "_WesternNumic"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMON) + return "x-MON"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPAO) + return "x-PAO"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TAKIC) + return "_Takic"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CUPAN) + return "_Cupan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCHL) + return "x-CHL"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XCUP) + return "x-CUP"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XLUI) + return "x-LUI"; + if (code == V3AmericanIndianAlaskaNativeLanguages._SERRANOGABRIELINO) + return "_SerranoGabrielino"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XSER) + return "x-SER"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TARACAHITAN) + return "_Taracahitan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._CAHITAN) + return "_Cahitan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYAQ) + return "x-YAQ"; + if (code == V3AmericanIndianAlaskaNativeLanguages._TEPIMAN) + return "_Tepiman"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPAP) + return "x-PAP"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XHOP) + return "x-HOP"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XTUB) + return "x-TUB"; + if (code == V3AmericanIndianAlaskaNativeLanguages._WAKASHAN) + return "_Wakashan"; + if (code == V3AmericanIndianAlaskaNativeLanguages._NOOTKAN) + return "_Nootkan"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XMYH) + return "x-MYH"; + if (code == V3AmericanIndianAlaskaNativeLanguages._YUKIAN) + return "_Yukian"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XWAO) + return "x-WAO"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYUK) + return "x-YUK"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XHAI) + return "x-HAI"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XKUN) + return "x-KUN"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XPSD) + return "x-PSD"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XYUC) + return "x-YUC"; + if (code == V3AmericanIndianAlaskaNativeLanguages.XZUN) + return "x-ZUN"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Calendar.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Calendar.java new file mode 100644 index 00000000000..78d4b74ea9e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Calendar.java @@ -0,0 +1,76 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Calendar { + + /** + * The Gregorian calendar is the calendar in effect in most countries of Christian influence since approximately 1582. This calendar superceded the Julian calendar. + */ + GREG, + /** + * added to help the parsers + */ + NULL; + public static V3Calendar fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("GREG".equals(codeString)) + return GREG; + throw new Exception("Unknown V3Calendar code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case GREG: return "GREG"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/Calendar"; + } + public String getDefinition() { + switch (this) { + case GREG: return "The Gregorian calendar is the calendar in effect in most countries of Christian influence since approximately 1582. This calendar superceded the Julian calendar."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case GREG: return "Gregorian"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycle.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycle.java new file mode 100644 index 00000000000..5433fd107cf --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycle.java @@ -0,0 +1,229 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3CalendarCycle { + + /** + * CalendarCycleOneLetter + */ + _CALENDARCYCLEONELETTER, + /** + * week (continuous) + */ + CW, + /** + * year + */ + CY, + /** + * day of the month + */ + D, + /** + * day of the week (begins with Monday) + */ + DW, + /** + * hour of the day + */ + H, + /** + * month of the year + */ + M, + /** + * minute of the hour + */ + N, + /** + * second of the minute + */ + S, + /** + * CalendarCycleTwoLetter + */ + _CALENDARCYCLETWOLETTER, + /** + * day (continuous) + */ + CD, + /** + * hour (continuous) + */ + CH, + /** + * month (continuous) + */ + CM, + /** + * minute (continuous) + */ + CN, + /** + * second (continuous) + */ + CS, + /** + * day of the year + */ + DY, + /** + * week of the year + */ + WY, + /** + * The week with the month's first Thursday in it (analagous to the ISO 8601 definition for week of the year). + */ + WM, + /** + * added to help the parsers + */ + NULL; + public static V3CalendarCycle fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_CalendarCycleOneLetter".equals(codeString)) + return _CALENDARCYCLEONELETTER; + if ("CW".equals(codeString)) + return CW; + if ("CY".equals(codeString)) + return CY; + if ("D".equals(codeString)) + return D; + if ("DW".equals(codeString)) + return DW; + if ("H".equals(codeString)) + return H; + if ("M".equals(codeString)) + return M; + if ("N".equals(codeString)) + return N; + if ("S".equals(codeString)) + return S; + if ("_CalendarCycleTwoLetter".equals(codeString)) + return _CALENDARCYCLETWOLETTER; + if ("CD".equals(codeString)) + return CD; + if ("CH".equals(codeString)) + return CH; + if ("CM".equals(codeString)) + return CM; + if ("CN".equals(codeString)) + return CN; + if ("CS".equals(codeString)) + return CS; + if ("DY".equals(codeString)) + return DY; + if ("WY".equals(codeString)) + return WY; + if ("WM".equals(codeString)) + return WM; + throw new Exception("Unknown V3CalendarCycle code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _CALENDARCYCLEONELETTER: return "_CalendarCycleOneLetter"; + case CW: return "CW"; + case CY: return "CY"; + case D: return "D"; + case DW: return "DW"; + case H: return "H"; + case M: return "M"; + case N: return "N"; + case S: return "S"; + case _CALENDARCYCLETWOLETTER: return "_CalendarCycleTwoLetter"; + case CD: return "CD"; + case CH: return "CH"; + case CM: return "CM"; + case CN: return "CN"; + case CS: return "CS"; + case DY: return "DY"; + case WY: return "WY"; + case WM: return "WM"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/CalendarCycle"; + } + public String getDefinition() { + switch (this) { + case _CALENDARCYCLEONELETTER: return "CalendarCycleOneLetter"; + case CW: return "week (continuous)"; + case CY: return "year"; + case D: return "day of the month"; + case DW: return "day of the week (begins with Monday)"; + case H: return "hour of the day"; + case M: return "month of the year"; + case N: return "minute of the hour"; + case S: return "second of the minute"; + case _CALENDARCYCLETWOLETTER: return "CalendarCycleTwoLetter"; + case CD: return "day (continuous)"; + case CH: return "hour (continuous)"; + case CM: return "month (continuous)"; + case CN: return "minute (continuous)"; + case CS: return "second (continuous)"; + case DY: return "day of the year"; + case WY: return "week of the year"; + case WM: return "The week with the month's first Thursday in it (analagous to the ISO 8601 definition for week of the year)."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _CALENDARCYCLEONELETTER: return "CalendarCycleOneLetter"; + case CW: return "week (continuous)"; + case CY: return "year"; + case D: return "day of the month"; + case DW: return "day of the week (begins with Monday)"; + case H: return "hour of the day"; + case M: return "month of the year"; + case N: return "minute of the hour"; + case S: return "second of the minute"; + case _CALENDARCYCLETWOLETTER: return "CalendarCycleTwoLetter"; + case CD: return "day (continuous)"; + case CH: return "hour (continuous)"; + case CM: return "month (continuous)"; + case CN: return "minute (continuous)"; + case CS: return "second (continuous)"; + case DY: return "day of the year"; + case WY: return "week of the year"; + case WM: return "week of the month"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycleEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycleEnumFactory.java new file mode 100644 index 00000000000..b6c76eda2a5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarCycleEnumFactory.java @@ -0,0 +1,123 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CalendarCycleEnumFactory implements EnumFactory { + + public V3CalendarCycle fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_CalendarCycleOneLetter".equals(codeString)) + return V3CalendarCycle._CALENDARCYCLEONELETTER; + if ("CW".equals(codeString)) + return V3CalendarCycle.CW; + if ("CY".equals(codeString)) + return V3CalendarCycle.CY; + if ("D".equals(codeString)) + return V3CalendarCycle.D; + if ("DW".equals(codeString)) + return V3CalendarCycle.DW; + if ("H".equals(codeString)) + return V3CalendarCycle.H; + if ("M".equals(codeString)) + return V3CalendarCycle.M; + if ("N".equals(codeString)) + return V3CalendarCycle.N; + if ("S".equals(codeString)) + return V3CalendarCycle.S; + if ("_CalendarCycleTwoLetter".equals(codeString)) + return V3CalendarCycle._CALENDARCYCLETWOLETTER; + if ("CD".equals(codeString)) + return V3CalendarCycle.CD; + if ("CH".equals(codeString)) + return V3CalendarCycle.CH; + if ("CM".equals(codeString)) + return V3CalendarCycle.CM; + if ("CN".equals(codeString)) + return V3CalendarCycle.CN; + if ("CS".equals(codeString)) + return V3CalendarCycle.CS; + if ("DY".equals(codeString)) + return V3CalendarCycle.DY; + if ("WY".equals(codeString)) + return V3CalendarCycle.WY; + if ("WM".equals(codeString)) + return V3CalendarCycle.WM; + throw new IllegalArgumentException("Unknown V3CalendarCycle code '"+codeString+"'"); + } + + public String toCode(V3CalendarCycle code) { + if (code == V3CalendarCycle._CALENDARCYCLEONELETTER) + return "_CalendarCycleOneLetter"; + if (code == V3CalendarCycle.CW) + return "CW"; + if (code == V3CalendarCycle.CY) + return "CY"; + if (code == V3CalendarCycle.D) + return "D"; + if (code == V3CalendarCycle.DW) + return "DW"; + if (code == V3CalendarCycle.H) + return "H"; + if (code == V3CalendarCycle.M) + return "M"; + if (code == V3CalendarCycle.N) + return "N"; + if (code == V3CalendarCycle.S) + return "S"; + if (code == V3CalendarCycle._CALENDARCYCLETWOLETTER) + return "_CalendarCycleTwoLetter"; + if (code == V3CalendarCycle.CD) + return "CD"; + if (code == V3CalendarCycle.CH) + return "CH"; + if (code == V3CalendarCycle.CM) + return "CM"; + if (code == V3CalendarCycle.CN) + return "CN"; + if (code == V3CalendarCycle.CS) + return "CS"; + if (code == V3CalendarCycle.DY) + return "DY"; + if (code == V3CalendarCycle.WY) + return "WY"; + if (code == V3CalendarCycle.WM) + return "WM"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarEnumFactory.java new file mode 100644 index 00000000000..5eea3062645 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarEnumFactory.java @@ -0,0 +1,55 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CalendarEnumFactory implements EnumFactory { + + public V3Calendar fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("GREG".equals(codeString)) + return V3Calendar.GREG; + throw new IllegalArgumentException("Unknown V3Calendar code '"+codeString+"'"); + } + + public String toCode(V3Calendar code) { + if (code == V3Calendar.GREG) + return "GREG"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarType.java new file mode 100644 index 00000000000..ad5084cba25 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarType.java @@ -0,0 +1,76 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3CalendarType { + + /** + * The Gregorian calendar is in effect in the most countries of Christian influence since approximately 1582. This calendar superceded the Julian calendar. + */ + GREG, + /** + * added to help the parsers + */ + NULL; + public static V3CalendarType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("GREG".equals(codeString)) + return GREG; + throw new Exception("Unknown V3CalendarType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case GREG: return "GREG"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/CalendarType"; + } + public String getDefinition() { + switch (this) { + case GREG: return "The Gregorian calendar is in effect in the most countries of Christian influence since approximately 1582. This calendar superceded the Julian calendar."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case GREG: return "Gregorian"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarTypeEnumFactory.java new file mode 100644 index 00000000000..444136dc6f6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarTypeEnumFactory.java @@ -0,0 +1,55 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CalendarTypeEnumFactory implements EnumFactory { + + public V3CalendarType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("GREG".equals(codeString)) + return V3CalendarType.GREG; + throw new IllegalArgumentException("Unknown V3CalendarType code '"+codeString+"'"); + } + + public String toCode(V3CalendarType code) { + if (code == V3CalendarType.GREG) + return "GREG"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Charset.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Charset.java new file mode 100644 index 00000000000..607a11ed459 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Charset.java @@ -0,0 +1,157 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Charset { + + /** + * HL7 is indifferent to the use of this Charset. + */ + EBCDIC, + /** + * Deprecated for HL7 use. + */ + ISO10646UCS2, + /** + * Deprecated for HL7 use. + */ + ISO10646UCS4, + /** + * HL7 is indifferent to the use of this Charset. + */ + ISO88591, + /** + * HL7 is indifferent to the use of this Charset. + */ + ISO88592, + /** + * HL7 is indifferent to the use of this Charset. + */ + ISO88595, + /** + * HL7 is indifferent to the use of this Charset. + */ + JIS2022JP, + /** + * Required for HL7 use. + */ + USASCII, + /** + * HL7 is indifferent to the use of this Charset. + */ + UTF7, + /** + * Required for Unicode support. + */ + UTF8, + /** + * added to help the parsers + */ + NULL; + public static V3Charset fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("EBCDIC".equals(codeString)) + return EBCDIC; + if ("ISO-10646-UCS-2".equals(codeString)) + return ISO10646UCS2; + if ("ISO-10646-UCS-4".equals(codeString)) + return ISO10646UCS4; + if ("ISO-8859-1".equals(codeString)) + return ISO88591; + if ("ISO-8859-2".equals(codeString)) + return ISO88592; + if ("ISO-8859-5".equals(codeString)) + return ISO88595; + if ("JIS-2022-JP".equals(codeString)) + return JIS2022JP; + if ("US-ASCII".equals(codeString)) + return USASCII; + if ("UTF-7".equals(codeString)) + return UTF7; + if ("UTF-8".equals(codeString)) + return UTF8; + throw new Exception("Unknown V3Charset code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case EBCDIC: return "EBCDIC"; + case ISO10646UCS2: return "ISO-10646-UCS-2"; + case ISO10646UCS4: return "ISO-10646-UCS-4"; + case ISO88591: return "ISO-8859-1"; + case ISO88592: return "ISO-8859-2"; + case ISO88595: return "ISO-8859-5"; + case JIS2022JP: return "JIS-2022-JP"; + case USASCII: return "US-ASCII"; + case UTF7: return "UTF-7"; + case UTF8: return "UTF-8"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/Charset"; + } + public String getDefinition() { + switch (this) { + case EBCDIC: return "HL7 is indifferent to the use of this Charset."; + case ISO10646UCS2: return "Deprecated for HL7 use."; + case ISO10646UCS4: return "Deprecated for HL7 use."; + case ISO88591: return "HL7 is indifferent to the use of this Charset."; + case ISO88592: return "HL7 is indifferent to the use of this Charset."; + case ISO88595: return "HL7 is indifferent to the use of this Charset."; + case JIS2022JP: return "HL7 is indifferent to the use of this Charset."; + case USASCII: return "Required for HL7 use."; + case UTF7: return "HL7 is indifferent to the use of this Charset."; + case UTF8: return "Required for Unicode support."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case EBCDIC: return "EBCDIC"; + case ISO10646UCS2: return "ISO-10646-UCS-2"; + case ISO10646UCS4: return "ISO-10646-UCS-4"; + case ISO88591: return "ISO-8859-1"; + case ISO88592: return "ISO-8859-2"; + case ISO88595: return "ISO-8859-5"; + case JIS2022JP: return "JIS-2022-JP"; + case USASCII: return "US-ASCII"; + case UTF7: return "UTF-7"; + case UTF8: return "UTF-8"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CharsetEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CharsetEnumFactory.java new file mode 100644 index 00000000000..b75142dee5d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CharsetEnumFactory.java @@ -0,0 +1,91 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CharsetEnumFactory implements EnumFactory { + + public V3Charset fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("EBCDIC".equals(codeString)) + return V3Charset.EBCDIC; + if ("ISO-10646-UCS-2".equals(codeString)) + return V3Charset.ISO10646UCS2; + if ("ISO-10646-UCS-4".equals(codeString)) + return V3Charset.ISO10646UCS4; + if ("ISO-8859-1".equals(codeString)) + return V3Charset.ISO88591; + if ("ISO-8859-2".equals(codeString)) + return V3Charset.ISO88592; + if ("ISO-8859-5".equals(codeString)) + return V3Charset.ISO88595; + if ("JIS-2022-JP".equals(codeString)) + return V3Charset.JIS2022JP; + if ("US-ASCII".equals(codeString)) + return V3Charset.USASCII; + if ("UTF-7".equals(codeString)) + return V3Charset.UTF7; + if ("UTF-8".equals(codeString)) + return V3Charset.UTF8; + throw new IllegalArgumentException("Unknown V3Charset code '"+codeString+"'"); + } + + public String toCode(V3Charset code) { + if (code == V3Charset.EBCDIC) + return "EBCDIC"; + if (code == V3Charset.ISO10646UCS2) + return "ISO-10646-UCS-2"; + if (code == V3Charset.ISO10646UCS4) + return "ISO-10646-UCS-4"; + if (code == V3Charset.ISO88591) + return "ISO-8859-1"; + if (code == V3Charset.ISO88592) + return "ISO-8859-2"; + if (code == V3Charset.ISO88595) + return "ISO-8859-5"; + if (code == V3Charset.JIS2022JP) + return "JIS-2022-JP"; + if (code == V3Charset.USASCII) + return "US-ASCII"; + if (code == V3Charset.UTF7) + return "UTF-7"; + if (code == V3Charset.UTF8) + return "UTF-8"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationale.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationale.java new file mode 100644 index 00000000000..7f27a7ade19 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationale.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3CodingRationale { + + /** + * Description: Originally produced code. + */ + O, + /** + * Originally produced code, required by the specification describing the use of the coded concept. + */ + OR, + /** + * Description: Post-coded from free text source + */ + P, + /** + * Post-coded from free text source, required by the specification describing the use of the coded concept. + */ + PR, + /** + * Description: Required standard code for HL7. + */ + R, + /** + * added to help the parsers + */ + NULL; + public static V3CodingRationale fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("O".equals(codeString)) + return O; + if ("OR".equals(codeString)) + return OR; + if ("P".equals(codeString)) + return P; + if ("PR".equals(codeString)) + return PR; + if ("R".equals(codeString)) + return R; + throw new Exception("Unknown V3CodingRationale code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case O: return "O"; + case OR: return "OR"; + case P: return "P"; + case PR: return "PR"; + case R: return "R"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/CodingRationale"; + } + public String getDefinition() { + switch (this) { + case O: return "Description: Originally produced code."; + case OR: return "Originally produced code, required by the specification describing the use of the coded concept."; + case P: return "Description: Post-coded from free text source"; + case PR: return "Post-coded from free text source, required by the specification describing the use of the coded concept."; + case R: return "Description: Required standard code for HL7."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case O: return "originally produced code"; + case OR: return "original and required"; + case P: return "post-coded"; + case PR: return "post-coded and required"; + case R: return "required"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationaleEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationaleEnumFactory.java new file mode 100644 index 00000000000..16ef716742e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CodingRationaleEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CodingRationaleEnumFactory implements EnumFactory { + + public V3CodingRationale fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("O".equals(codeString)) + return V3CodingRationale.O; + if ("OR".equals(codeString)) + return V3CodingRationale.OR; + if ("P".equals(codeString)) + return V3CodingRationale.P; + if ("PR".equals(codeString)) + return V3CodingRationale.PR; + if ("R".equals(codeString)) + return V3CodingRationale.R; + throw new IllegalArgumentException("Unknown V3CodingRationale code '"+codeString+"'"); + } + + public String toCode(V3CodingRationale code) { + if (code == V3CodingRationale.O) + return "O"; + if (code == V3CodingRationale.OR) + return "OR"; + if (code == V3CodingRationale.P) + return "P"; + if (code == V3CodingRationale.PR) + return "PR"; + if (code == V3CodingRationale.R) + return "R"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionType.java new file mode 100644 index 00000000000..100071a7b23 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionType.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3CommunicationFunctionType { + + /** + * The entity is the receiver of the transmission. + */ + RCV, + /** + * The entity is the one to which the response or reply to the transmission should be sent. + */ + RSP, + /** + * The entity is the sender of the transmission. + */ + SND, + /** + * added to help the parsers + */ + NULL; + public static V3CommunicationFunctionType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("RCV".equals(codeString)) + return RCV; + if ("RSP".equals(codeString)) + return RSP; + if ("SND".equals(codeString)) + return SND; + throw new Exception("Unknown V3CommunicationFunctionType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case RCV: return "RCV"; + case RSP: return "RSP"; + case SND: return "SND"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/CommunicationFunctionType"; + } + public String getDefinition() { + switch (this) { + case RCV: return "The entity is the receiver of the transmission."; + case RSP: return "The entity is the one to which the response or reply to the transmission should be sent."; + case SND: return "The entity is the sender of the transmission."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case RCV: return "receiver"; + case RSP: return "respond to"; + case SND: return "sender"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionTypeEnumFactory.java new file mode 100644 index 00000000000..e56ab289c6a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CommunicationFunctionTypeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CommunicationFunctionTypeEnumFactory implements EnumFactory { + + public V3CommunicationFunctionType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("RCV".equals(codeString)) + return V3CommunicationFunctionType.RCV; + if ("RSP".equals(codeString)) + return V3CommunicationFunctionType.RSP; + if ("SND".equals(codeString)) + return V3CommunicationFunctionType.SND; + throw new IllegalArgumentException("Unknown V3CommunicationFunctionType code '"+codeString+"'"); + } + + public String toCode(V3CommunicationFunctionType code) { + if (code == V3CommunicationFunctionType.RCV) + return "RCV"; + if (code == V3CommunicationFunctionType.RSP) + return "RSP"; + if (code == V3CommunicationFunctionType.SND) + return "SND"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithm.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithm.java new file mode 100644 index 00000000000..c6b2e124d84 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithm.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3CompressionAlgorithm { + + /** + * bzip-2 compression format. See [http://www.bzip.org/] for more information. + */ + BZ, + /** + * The deflate compressed data format as specified in RFC 1951 [http://www.ietf.org/rfc/rfc1951.txt]. + */ + DF, + /** + * A compressed data format that is compatible with the widely used GZIP utility as specified in RFC 1952 [http://www.ietf.org/rfc/rfc1952.txt] (uses the deflate algorithm). + */ + GZ, + /** + * Original UNIX compress algorithm and file format using the LZC algorithm (a variant of LZW). Patent encumbered and less efficient than deflate. + */ + Z, + /** + * 7z compression file format. See [http://www.7-zip.org/7z.html] for more information. + */ + Z7, + /** + * A compressed data format that also uses the deflate algorithm. Specified as RFC 1950 [http://www.ietf.org/rfc/rfc1952.txt] + */ + ZL, + /** + * added to help the parsers + */ + NULL; + public static V3CompressionAlgorithm fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("BZ".equals(codeString)) + return BZ; + if ("DF".equals(codeString)) + return DF; + if ("GZ".equals(codeString)) + return GZ; + if ("Z".equals(codeString)) + return Z; + if ("Z7".equals(codeString)) + return Z7; + if ("ZL".equals(codeString)) + return ZL; + throw new Exception("Unknown V3CompressionAlgorithm code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BZ: return "BZ"; + case DF: return "DF"; + case GZ: return "GZ"; + case Z: return "Z"; + case Z7: return "Z7"; + case ZL: return "ZL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/CompressionAlgorithm"; + } + public String getDefinition() { + switch (this) { + case BZ: return "bzip-2 compression format. See [http://www.bzip.org/] for more information."; + case DF: return "The deflate compressed data format as specified in RFC 1951 [http://www.ietf.org/rfc/rfc1951.txt]."; + case GZ: return "A compressed data format that is compatible with the widely used GZIP utility as specified in RFC 1952 [http://www.ietf.org/rfc/rfc1952.txt] (uses the deflate algorithm)."; + case Z: return "Original UNIX compress algorithm and file format using the LZC algorithm (a variant of LZW). Patent encumbered and less efficient than deflate."; + case Z7: return "7z compression file format. See [http://www.7-zip.org/7z.html] for more information."; + case ZL: return "A compressed data format that also uses the deflate algorithm. Specified as RFC 1950 [http://www.ietf.org/rfc/rfc1952.txt]"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BZ: return "bzip"; + case DF: return "deflate"; + case GZ: return "gzip"; + case Z: return "compress"; + case Z7: return "Z7"; + case ZL: return "zlib"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithmEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithmEnumFactory.java new file mode 100644 index 00000000000..f96ddba234c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CompressionAlgorithmEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3CompressionAlgorithmEnumFactory implements EnumFactory { + + public V3CompressionAlgorithm fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("BZ".equals(codeString)) + return V3CompressionAlgorithm.BZ; + if ("DF".equals(codeString)) + return V3CompressionAlgorithm.DF; + if ("GZ".equals(codeString)) + return V3CompressionAlgorithm.GZ; + if ("Z".equals(codeString)) + return V3CompressionAlgorithm.Z; + if ("Z7".equals(codeString)) + return V3CompressionAlgorithm.Z7; + if ("ZL".equals(codeString)) + return V3CompressionAlgorithm.ZL; + throw new IllegalArgumentException("Unknown V3CompressionAlgorithm code '"+codeString+"'"); + } + + public String toCode(V3CompressionAlgorithm code) { + if (code == V3CompressionAlgorithm.BZ) + return "BZ"; + if (code == V3CompressionAlgorithm.DF) + return "DF"; + if (code == V3CompressionAlgorithm.GZ) + return "GZ"; + if (code == V3CompressionAlgorithm.Z) + return "Z"; + if (code == V3CompressionAlgorithm.Z7) + return "Z7"; + if (code == V3CompressionAlgorithm.ZL) + return "ZL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Confidentiality.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Confidentiality.java new file mode 100644 index 00000000000..852f95e2640 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Confidentiality.java @@ -0,0 +1,180 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Confidentiality { + + /** + * A specializable code and its leaf codes used in Confidentiality value sets to value the Act.Confidentiality and Role.Confidentiality attribute in accordance with the definition for concept domain "Confidentiality". + */ + _CONFIDENTIALITY, + /** + * Definition: Privacy metadata indicating that the information has been de-identified, and there are mitigating circumstances that prevent re-identification, which minimize risk of harm from unauthorized disclosure. The information requires protection to maintain low sensitivity. + + + Examples: Includes anonymized, pseudonymized, or non-personally identifiable information such as HIPAA limited data sets. + + + Map: No clear map to ISO 13606-4 Sensitivity Level (1) Care Management: RECORD_COMPONENTs that might need to be accessed by a wide range of administrative staff to manage the subject of care's access to health services. + + + Usage Note: This metadata indicates the receiver may have an obligation to comply with a data use agreement. + */ + L, + /** + * Definition: Privacy metadata indicating moderately sensitive information, which presents moderate risk of harm if disclosed without authorization. + + + Examples: Includes allergies of non-sensitive nature used inform food service; health information a patient authorizes to be used for marketing, released to a bank for a health credit card or savings account; or information in personal health record systems that are not governed under health privacy laws. + + + Map: Partial Map to ISO 13606-4 Sensitivity Level (2) Clinical Management: Less sensitive RECORD_COMPONENTs that might need to be accessed by a wider range of personnel not all of whom are actively caring for the patient (e.g. radiology staff). + + + Usage Note: This metadata indicates that the receiver may be obligated to comply with the receiver's terms of use or privacy policies. + */ + M, + /** + * Definition: Privacy metadata indicating that the information is typical, non-stigmatizing health information, which presents typical risk of harm if disclosed without authorization. + + + Examples: In the US, this includes what HIPAA identifies as the minimum necessary protected health information (PHI) given a covered purpose of use (treatment, payment, or operations). Includes typical, non-stigmatizing health information disclosed in an application for health, workers compensation, disability, or life insurance. + + + Map: Partial Map to ISO 13606-4 Sensitivity Level (3) Clinical Care: Default for normal clinical care access (i.e. most clinical staff directly caring for the patient should be able to access nearly all of the EHR). Maps to normal confidentiality for treatment information but not to ancillary care, payment and operations. + + + Usage Note: This metadata indicates that the receiver may be obligated to comply with applicable jurisdictional privacy law or disclosure authorization. + */ + N, + /** + * Privacy metadata indicating highly sensitive, potentially stigmatizing information, which presents a high risk to the information subject if disclosed without authorization. May be preempted by jurisdictional law, e.g., for public health reporting or emergency treatment. +> + Examples: In the US, this includes what HIPAA identifies as the minimum necessary protected health information (PHI) given a covered purpose of use (treatment, payment, or operations). Includes typical, non-stigmatizing health information disclosed in an application for health, workers compensation, disability, or life insurance. + + + Map: Partial Map to ISO 13606-4 Sensitivity Level (3) Clinical Care: Default for normal clinical care access (i.e. most clinical staff directly caring for the patient should be able to access nearly all of the EHR). Maps to normal confidentiality for treatment information but not to ancillary care, payment and operations. + + + Usage Note: This metadata indicates that the receiver may be obligated to comply with applicable, prevailing (default) jurisdictional privacy law or disclosure authorization. + */ + R, + /** + * Definition: Privacy metadata indicating that the information is not classified as sensitive. + + + Examples: Includes publicly available information, e.g., business name, phone, email or physical address. + + + Usage Note: This metadata indicates that the receiver has no obligation to consider additional policies when making access control decisions. Note that in some jurisdictions, personally identifiable information must be protected as confidential, so it would not be appropriate to assign a confidentiality code of "unrestricted" to that information even if it is publicly available. + */ + U, + /** + * . Privacy metadata indicating that the information is extremely sensitive and likely stigmatizing health information that presents a very high risk if disclosed without authorization. This information must be kept in the highest confidence. + + + Examples: Includes information about a victim of abuse, patient requested information sensitivity, and taboo subjects relating to health status that must be discussed with the patient by an attending provider before sharing with the patient. May also include information held under “legal lock� or attorney-client privilege + + + Map: This metadata indicates that the receiver may not disclose this information except as directed by the information custodian, who may be the information subject. + + + Usage Note: This metadata indicates that the receiver may not disclose this information except as directed by the information custodian, who may be the information subject. + */ + V, + /** + * added to help the parsers + */ + NULL; + public static V3Confidentiality fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_Confidentiality".equals(codeString)) + return _CONFIDENTIALITY; + if ("L".equals(codeString)) + return L; + if ("M".equals(codeString)) + return M; + if ("N".equals(codeString)) + return N; + if ("R".equals(codeString)) + return R; + if ("U".equals(codeString)) + return U; + if ("V".equals(codeString)) + return V; + throw new Exception("Unknown V3Confidentiality code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _CONFIDENTIALITY: return "_Confidentiality"; + case L: return "L"; + case M: return "M"; + case N: return "N"; + case R: return "R"; + case U: return "U"; + case V: return "V"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/Confidentiality"; + } + public String getDefinition() { + switch (this) { + case _CONFIDENTIALITY: return "A specializable code and its leaf codes used in Confidentiality value sets to value the Act.Confidentiality and Role.Confidentiality attribute in accordance with the definition for concept domain 'Confidentiality'."; + case L: return "Definition: Privacy metadata indicating that the information has been de-identified, and there are mitigating circumstances that prevent re-identification, which minimize risk of harm from unauthorized disclosure. The information requires protection to maintain low sensitivity.\r\n\n \n Examples: Includes anonymized, pseudonymized, or non-personally identifiable information such as HIPAA limited data sets.\r\n\n \n Map: No clear map to ISO 13606-4 Sensitivity Level (1) Care Management: RECORD_COMPONENTs that might need to be accessed by a wide range of administrative staff to manage the subject of care's access to health services.\r\n\n \n Usage Note: This metadata indicates the receiver may have an obligation to comply with a data use agreement."; + case M: return "Definition: Privacy metadata indicating moderately sensitive information, which presents moderate risk of harm if disclosed without authorization.\r\n\n \n Examples: Includes allergies of non-sensitive nature used inform food service; health information a patient authorizes to be used for marketing, released to a bank for a health credit card or savings account; or information in personal health record systems that are not governed under health privacy laws.\r\n\n \n Map: Partial Map to ISO 13606-4 Sensitivity Level (2) Clinical Management: Less sensitive RECORD_COMPONENTs that might need to be accessed by a wider range of personnel not all of whom are actively caring for the patient (e.g. radiology staff).\r\n\n \n Usage Note: This metadata indicates that the receiver may be obligated to comply with the receiver's terms of use or privacy policies."; + case N: return "Definition: Privacy metadata indicating that the information is typical, non-stigmatizing health information, which presents typical risk of harm if disclosed without authorization.\r\n\n \n Examples: In the US, this includes what HIPAA identifies as the minimum necessary protected health information (PHI) given a covered purpose of use (treatment, payment, or operations). Includes typical, non-stigmatizing health information disclosed in an application for health, workers compensation, disability, or life insurance.\r\n\n \n Map: Partial Map to ISO 13606-4 Sensitivity Level (3) Clinical Care: Default for normal clinical care access (i.e. most clinical staff directly caring for the patient should be able to access nearly all of the EHR). Maps to normal confidentiality for treatment information but not to ancillary care, payment and operations.\r\n\n \n Usage Note: This metadata indicates that the receiver may be obligated to comply with applicable jurisdictional privacy law or disclosure authorization."; + case R: return "Privacy metadata indicating highly sensitive, potentially stigmatizing information, which presents a high risk to the information subject if disclosed without authorization. May be preempted by jurisdictional law, e.g., for public health reporting or emergency treatment.\r\n>\n Examples: In the US, this includes what HIPAA identifies as the minimum necessary protected health information (PHI) given a covered purpose of use (treatment, payment, or operations). Includes typical, non-stigmatizing health information disclosed in an application for health, workers compensation, disability, or life insurance.\r\n\n \n Map: Partial Map to ISO 13606-4 Sensitivity Level (3) Clinical Care: Default for normal clinical care access (i.e. most clinical staff directly caring for the patient should be able to access nearly all of the EHR). Maps to normal confidentiality for treatment information but not to ancillary care, payment and operations.\r\n\n \n Usage Note: This metadata indicates that the receiver may be obligated to comply with applicable, prevailing (default) jurisdictional privacy law or disclosure authorization."; + case U: return "Definition: Privacy metadata indicating that the information is not classified as sensitive.\r\n\n \n Examples: Includes publicly available information, e.g., business name, phone, email or physical address.\r\n\n \n Usage Note: This metadata indicates that the receiver has no obligation to consider additional policies when making access control decisions. Note that in some jurisdictions, personally identifiable information must be protected as confidential, so it would not be appropriate to assign a confidentiality code of 'unrestricted' to that information even if it is publicly available."; + case V: return ". Privacy metadata indicating that the information is extremely sensitive and likely stigmatizing health information that presents a very high risk if disclosed without authorization. This information must be kept in the highest confidence. \r\n\n \n Examples: Includes information about a victim of abuse, patient requested information sensitivity, and taboo subjects relating to health status that must be discussed with the patient by an attending provider before sharing with the patient. May also include information held under “legal lock� or attorney-client privilege\r\n\n \n Map: This metadata indicates that the receiver may not disclose this information except as directed by the information custodian, who may be the information subject.\r\n\n \n Usage Note: This metadata indicates that the receiver may not disclose this information except as directed by the information custodian, who may be the information subject."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _CONFIDENTIALITY: return "Confidentiality"; + case L: return "low"; + case M: return "moderate"; + case N: return "normal"; + case R: return "restricted"; + case U: return "unrestricted"; + case V: return "very restricted"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ConfidentialityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ConfidentialityEnumFactory.java new file mode 100644 index 00000000000..d30da7e289d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ConfidentialityEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ConfidentialityEnumFactory implements EnumFactory { + + public V3Confidentiality fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_Confidentiality".equals(codeString)) + return V3Confidentiality._CONFIDENTIALITY; + if ("L".equals(codeString)) + return V3Confidentiality.L; + if ("M".equals(codeString)) + return V3Confidentiality.M; + if ("N".equals(codeString)) + return V3Confidentiality.N; + if ("R".equals(codeString)) + return V3Confidentiality.R; + if ("U".equals(codeString)) + return V3Confidentiality.U; + if ("V".equals(codeString)) + return V3Confidentiality.V; + throw new IllegalArgumentException("Unknown V3Confidentiality code '"+codeString+"'"); + } + + public String toCode(V3Confidentiality code) { + if (code == V3Confidentiality._CONFIDENTIALITY) + return "_Confidentiality"; + if (code == V3Confidentiality.L) + return "L"; + if (code == V3Confidentiality.M) + return "M"; + if (code == V3Confidentiality.N) + return "N"; + if (code == V3Confidentiality.R) + return "R"; + if (code == V3Confidentiality.U) + return "U"; + if (code == V3Confidentiality.V) + return "V"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCap.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCap.java new file mode 100644 index 00000000000..ba9f0967ce1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCap.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ContainerCap { + + /** + * Cap types for medication containers + */ + _MEDICATIONCAP, + /** + * A cap designed to be difficult to open for children. Generally requires multiple simultaneous actions (e.g. squeeze and twist) to open. Used for products that may be dangerous if ingested or overdosed by children. + */ + CHILD, + /** + * A cap designed to be easily removed. For products intended to be opened by persons with limited strength or dexterity. + */ + EASY, + /** + * A non-reactive plastic film covering over the opening of a container. + */ + FILM, + /** + * A foil covering (type of foil not specified) over the opening of a container + */ + FOIL, + /** + * A non-threaded cap that forms a tight-fitting closure on a container by pushing the fitted end into the conatiner opening + */ + PUSH, + /** + * A threaded cap that is screwed onto the opening of a container + */ + SCR, + /** + * added to help the parsers + */ + NULL; + public static V3ContainerCap fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_MedicationCap".equals(codeString)) + return _MEDICATIONCAP; + if ("CHILD".equals(codeString)) + return CHILD; + if ("EASY".equals(codeString)) + return EASY; + if ("FILM".equals(codeString)) + return FILM; + if ("FOIL".equals(codeString)) + return FOIL; + if ("PUSH".equals(codeString)) + return PUSH; + if ("SCR".equals(codeString)) + return SCR; + throw new Exception("Unknown V3ContainerCap code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _MEDICATIONCAP: return "_MedicationCap"; + case CHILD: return "CHILD"; + case EASY: return "EASY"; + case FILM: return "FILM"; + case FOIL: return "FOIL"; + case PUSH: return "PUSH"; + case SCR: return "SCR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ContainerCap"; + } + public String getDefinition() { + switch (this) { + case _MEDICATIONCAP: return "Cap types for medication containers"; + case CHILD: return "A cap designed to be difficult to open for children. Generally requires multiple simultaneous actions (e.g. squeeze and twist) to open. Used for products that may be dangerous if ingested or overdosed by children."; + case EASY: return "A cap designed to be easily removed. For products intended to be opened by persons with limited strength or dexterity."; + case FILM: return "A non-reactive plastic film covering over the opening of a container."; + case FOIL: return "A foil covering (type of foil not specified) over the opening of a container"; + case PUSH: return "A non-threaded cap that forms a tight-fitting closure on a container by pushing the fitted end into the conatiner opening"; + case SCR: return "A threaded cap that is screwed onto the opening of a container"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _MEDICATIONCAP: return "MedicationCap"; + case CHILD: return "ChildProof"; + case EASY: return "EasyOpen"; + case FILM: return "Film"; + case FOIL: return "Foil"; + case PUSH: return "Push Cap"; + case SCR: return "Screw Cap"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCapEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCapEnumFactory.java new file mode 100644 index 00000000000..18986a6f909 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerCapEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ContainerCapEnumFactory implements EnumFactory { + + public V3ContainerCap fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_MedicationCap".equals(codeString)) + return V3ContainerCap._MEDICATIONCAP; + if ("CHILD".equals(codeString)) + return V3ContainerCap.CHILD; + if ("EASY".equals(codeString)) + return V3ContainerCap.EASY; + if ("FILM".equals(codeString)) + return V3ContainerCap.FILM; + if ("FOIL".equals(codeString)) + return V3ContainerCap.FOIL; + if ("PUSH".equals(codeString)) + return V3ContainerCap.PUSH; + if ("SCR".equals(codeString)) + return V3ContainerCap.SCR; + throw new IllegalArgumentException("Unknown V3ContainerCap code '"+codeString+"'"); + } + + public String toCode(V3ContainerCap code) { + if (code == V3ContainerCap._MEDICATIONCAP) + return "_MedicationCap"; + if (code == V3ContainerCap.CHILD) + return "CHILD"; + if (code == V3ContainerCap.EASY) + return "EASY"; + if (code == V3ContainerCap.FILM) + return "FILM"; + if (code == V3ContainerCap.FOIL) + return "FOIL"; + if (code == V3ContainerCap.PUSH) + return "PUSH"; + if (code == V3ContainerCap.SCR) + return "SCR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparator.java new file mode 100644 index 00000000000..7eaef74c78e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparator.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ContainerSeparator { + + /** + * A gelatinous type of separator material. + */ + GEL, + /** + * No separator material is present in the container. + */ + NONE, + /** + * added to help the parsers + */ + NULL; + public static V3ContainerSeparator fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("GEL".equals(codeString)) + return GEL; + if ("NONE".equals(codeString)) + return NONE; + throw new Exception("Unknown V3ContainerSeparator code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case GEL: return "GEL"; + case NONE: return "NONE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ContainerSeparator"; + } + public String getDefinition() { + switch (this) { + case GEL: return "A gelatinous type of separator material."; + case NONE: return "No separator material is present in the container."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case GEL: return "Gel"; + case NONE: return "None"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparatorEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparatorEnumFactory.java new file mode 100644 index 00000000000..8af8925e86b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContainerSeparatorEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ContainerSeparatorEnumFactory implements EnumFactory { + + public V3ContainerSeparator fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("GEL".equals(codeString)) + return V3ContainerSeparator.GEL; + if ("NONE".equals(codeString)) + return V3ContainerSeparator.NONE; + throw new IllegalArgumentException("Unknown V3ContainerSeparator code '"+codeString+"'"); + } + + public String toCode(V3ContainerSeparator code) { + if (code == V3ContainerSeparator.GEL) + return "GEL"; + if (code == V3ContainerSeparator.NONE) + return "NONE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingMode.java new file mode 100644 index 00000000000..221b4ff675d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingMode.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ContentProcessingMode { + + /** + * Description:The content should be processed in a sequential fashion. + */ + SEQL, + /** + * Description:The content may be processed in any order. + */ + UNOR, + /** + * added to help the parsers + */ + NULL; + public static V3ContentProcessingMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("SEQL".equals(codeString)) + return SEQL; + if ("UNOR".equals(codeString)) + return UNOR; + throw new Exception("Unknown V3ContentProcessingMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case SEQL: return "SEQL"; + case UNOR: return "UNOR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ContentProcessingMode"; + } + public String getDefinition() { + switch (this) { + case SEQL: return "Description:The content should be processed in a sequential fashion."; + case UNOR: return "Description:The content may be processed in any order."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case SEQL: return "Sequential"; + case UNOR: return "Unordered"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingModeEnumFactory.java new file mode 100644 index 00000000000..036ac4577bf --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContentProcessingModeEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ContentProcessingModeEnumFactory implements EnumFactory { + + public V3ContentProcessingMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("SEQL".equals(codeString)) + return V3ContentProcessingMode.SEQL; + if ("UNOR".equals(codeString)) + return V3ContentProcessingMode.UNOR; + throw new IllegalArgumentException("Unknown V3ContentProcessingMode code '"+codeString+"'"); + } + + public String toCode(V3ContentProcessingMode code) { + if (code == V3ContentProcessingMode.SEQL) + return "SEQL"; + if (code == V3ContentProcessingMode.UNOR) + return "UNOR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControl.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControl.java new file mode 100644 index 00000000000..4ea68f67c62 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControl.java @@ -0,0 +1,139 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ContextControl { + + /** + * The association adds to the existing context associated with the Act. Both this association and any associations propagated from ancestor Acts are interpreted as being related to this Act. + */ + _CONTEXTCONTROLADDITIVE, + /** + * The association adds to the existing context associated with the Act, but will not propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as "Additive, Non-Propagating" it means that the author will be added to the set of author participations that have propagated from ancestor Acts for the purpose of this Act. However only the previously propagated authors will propagate to any child Acts that allow context to be propagated. + */ + AN, + /** + * The association adds to the existing context associated with the Act, and will propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as "Additive, Propagating" it means that the author will be added to the set of author participations that have propagated from ancestor Acts, and will itself propagate with the other authors to any child Acts that allow context to be propagated. + */ + AP, + /** + * The association applies only to the current Act and will not propagate to any child Acts that are related via a conducting ActRelationship (refer to contextConductionInd). + */ + _CONTEXTCONTROLNONPROPAGATING, + /** + * The association is added to the existing context associated with the Act, but overrides an association with the same typeCode. However, this overriding association will not propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as "Overriding, Non-Propagating" it means that the author will replace the set of author participations that have propagated from ancestor Acts. Furthermore, no author participations whatsoever will propagate to any child Acts that allow context to be propagated. + */ + ON, + /** + * The association adds to the existing context associated with the Act, but replaces associations propagated from ancestor Acts whose typeCodes are the same or more specific. + */ + _CONTEXTCONTROLOVERRIDING, + /** + * The association is added to the existing context associated with the Act, but overrides an association with the same typeCode. This overriding association will propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as "Overriding, Propagating" it means that the author will replace the set of author participations that have propagated from ancestor Acts, and will itself be the only author to propagate to any child Acts that allow context to be propagated. + */ + OP, + /** + * The association propagates to any child Acts that are related via a conducting ActRelationship (refer to contextConductionInd). + */ + _CONTEXTCONTROLPROPAGATING, + /** + * added to help the parsers + */ + NULL; + public static V3ContextControl fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ContextControlAdditive".equals(codeString)) + return _CONTEXTCONTROLADDITIVE; + if ("AN".equals(codeString)) + return AN; + if ("AP".equals(codeString)) + return AP; + if ("_ContextControlNonPropagating".equals(codeString)) + return _CONTEXTCONTROLNONPROPAGATING; + if ("ON".equals(codeString)) + return ON; + if ("_ContextControlOverriding".equals(codeString)) + return _CONTEXTCONTROLOVERRIDING; + if ("OP".equals(codeString)) + return OP; + if ("_ContextControlPropagating".equals(codeString)) + return _CONTEXTCONTROLPROPAGATING; + throw new Exception("Unknown V3ContextControl code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _CONTEXTCONTROLADDITIVE: return "_ContextControlAdditive"; + case AN: return "AN"; + case AP: return "AP"; + case _CONTEXTCONTROLNONPROPAGATING: return "_ContextControlNonPropagating"; + case ON: return "ON"; + case _CONTEXTCONTROLOVERRIDING: return "_ContextControlOverriding"; + case OP: return "OP"; + case _CONTEXTCONTROLPROPAGATING: return "_ContextControlPropagating"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ContextControl"; + } + public String getDefinition() { + switch (this) { + case _CONTEXTCONTROLADDITIVE: return "The association adds to the existing context associated with the Act. Both this association and any associations propagated from ancestor Acts are interpreted as being related to this Act."; + case AN: return "The association adds to the existing context associated with the Act, but will not propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as 'Additive, Non-Propagating' it means that the author will be added to the set of author participations that have propagated from ancestor Acts for the purpose of this Act. However only the previously propagated authors will propagate to any child Acts that allow context to be propagated."; + case AP: return "The association adds to the existing context associated with the Act, and will propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as 'Additive, Propagating' it means that the author will be added to the set of author participations that have propagated from ancestor Acts, and will itself propagate with the other authors to any child Acts that allow context to be propagated."; + case _CONTEXTCONTROLNONPROPAGATING: return "The association applies only to the current Act and will not propagate to any child Acts that are related via a conducting ActRelationship (refer to contextConductionInd)."; + case ON: return "The association is added to the existing context associated with the Act, but overrides an association with the same typeCode. However, this overriding association will not propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as 'Overriding, Non-Propagating' it means that the author will replace the set of author participations that have propagated from ancestor Acts. Furthermore, no author participations whatsoever will propagate to any child Acts that allow context to be propagated."; + case _CONTEXTCONTROLOVERRIDING: return "The association adds to the existing context associated with the Act, but replaces associations propagated from ancestor Acts whose typeCodes are the same or more specific."; + case OP: return "The association is added to the existing context associated with the Act, but overrides an association with the same typeCode. This overriding association will propagate to any descendant Acts reached by conducting ActRelationships (see contextControlCode). Examples: If an 'Author' Participation were marked as 'Overriding, Propagating' it means that the author will replace the set of author participations that have propagated from ancestor Acts, and will itself be the only author to propagate to any child Acts that allow context to be propagated."; + case _CONTEXTCONTROLPROPAGATING: return "The association propagates to any child Acts that are related via a conducting ActRelationship (refer to contextConductionInd)."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _CONTEXTCONTROLADDITIVE: return "ContextControlAdditive"; + case AN: return "additive, non-propagating"; + case AP: return "additive, propagating"; + case _CONTEXTCONTROLNONPROPAGATING: return "ContextControlNonPropagating"; + case ON: return "overriding, non-propagating"; + case _CONTEXTCONTROLOVERRIDING: return "ContextControlOverriding"; + case OP: return "overriding, propagating"; + case _CONTEXTCONTROLPROPAGATING: return "ContextControlPropagating"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControlEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControlEnumFactory.java new file mode 100644 index 00000000000..dd453ebfca5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControlEnumFactory.java @@ -0,0 +1,83 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ContextControlEnumFactory implements EnumFactory { + + public V3ContextControl fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ContextControlAdditive".equals(codeString)) + return V3ContextControl._CONTEXTCONTROLADDITIVE; + if ("AN".equals(codeString)) + return V3ContextControl.AN; + if ("AP".equals(codeString)) + return V3ContextControl.AP; + if ("_ContextControlNonPropagating".equals(codeString)) + return V3ContextControl._CONTEXTCONTROLNONPROPAGATING; + if ("ON".equals(codeString)) + return V3ContextControl.ON; + if ("_ContextControlOverriding".equals(codeString)) + return V3ContextControl._CONTEXTCONTROLOVERRIDING; + if ("OP".equals(codeString)) + return V3ContextControl.OP; + if ("_ContextControlPropagating".equals(codeString)) + return V3ContextControl._CONTEXTCONTROLPROPAGATING; + throw new IllegalArgumentException("Unknown V3ContextControl code '"+codeString+"'"); + } + + public String toCode(V3ContextControl code) { + if (code == V3ContextControl._CONTEXTCONTROLADDITIVE) + return "_ContextControlAdditive"; + if (code == V3ContextControl.AN) + return "AN"; + if (code == V3ContextControl.AP) + return "AP"; + if (code == V3ContextControl._CONTEXTCONTROLNONPROPAGATING) + return "_ContextControlNonPropagating"; + if (code == V3ContextControl.ON) + return "ON"; + if (code == V3ContextControl._CONTEXTCONTROLOVERRIDING) + return "_ContextControlOverriding"; + if (code == V3ContextControl.OP) + return "OP"; + if (code == V3ContextControl._CONTEXTCONTROLPROPAGATING) + return "_ContextControlPropagating"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperation.java new file mode 100644 index 00000000000..341e8ae9300 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperation.java @@ -0,0 +1,247 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3DataOperation { + + /** + * Description:Act on an object or objects. + */ + OPERATE, + /** + * Description:Fundamental operation in an Information System (IS) that results only in the act of bringing an object into existence. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + CREATE, + /** + * Description:Fundamental operation in an Information System (IS) that results only in the removal of information about an object from memory or storage. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. + */ + DELETE, + /** + * Description:Fundamental operation in an IS that results only in initiating performance of a single or set of programs (i.e., software objects). Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. + */ + EXECUTE, + /** + * Description:Fundamental operation in an Information System (IS) that results only in the flow of information about an object to a subject. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. + */ + READ, + /** + * Definition:Fundamental operation in an Information System (IS) that results only in the revision or alteration of an object. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. + */ + UPDATE, + /** + * Description:Fundamental operation in an Information System (IS) that results only in the addition of information to an object already in existence. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. + */ + APPEND, + /** + * Description:Change the status of an object representing an Act. + */ + MODIFYSTATUS, + /** + * Description:Change the status of an object representing an Act to "aborted", i.e., terminated prior to the originally intended completion. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + ABORT, + /** + * Description:Change the status of an object representing an Act to "active", i.e., so it can be performed or is being performed, for the first time. (Contrast with REACTIVATE.) For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + ACTIVATE, + /** + * Description:Change the status of an object representing an Act to "cancelled", i.e., abandoned before activation. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + CANCEL, + /** + * Description:Change the status of an object representing an Act to "completed", i.e., terminated normally after all of its constituents have been performed. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + COMPLETE, + /** + * Description:Change the status of an object representing an Act to "held", i.e., put aside an Act that is still in preparatory stages. No action can occur until the Act is released. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + HOLD, + /** + * Description:Change the status of an object representing an Act to a normal state. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + JUMP, + /** + * Description:Change the status of an object representing an Act to "nullified", i.e., treat as though it never existed. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + NULLIFY, + /** + * Description:Change the status of an object representing an Act to "obsolete" when it has been replaced by a new instance. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + OBSOLETE, + /** + * Description:Change the status of a formerly active object representing an Act to "active", i.e., so it can again be performed or is being performed. (Contrast with ACTIVATE.) For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + REACTIVATE, + /** + * Description:Change the status of an object representing an Act so it is no longer "held", i.e., allow action to occur. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + RELEASE, + /** + * Description:Change the status of a suspended object representing an Act to "active", i.e., so it can be performed or is being performed. For an HL7 Act, the state transitions per the HL7 Reference Information Model. + */ + RESUME, + /** + * Definition:Change the status of an object representing an Act to suspended, i.e., so it is temporarily not in service. + */ + SUSPEND, + /** + * added to help the parsers + */ + NULL; + public static V3DataOperation fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("OPERATE".equals(codeString)) + return OPERATE; + if ("CREATE".equals(codeString)) + return CREATE; + if ("DELETE".equals(codeString)) + return DELETE; + if ("EXECUTE".equals(codeString)) + return EXECUTE; + if ("READ".equals(codeString)) + return READ; + if ("UPDATE".equals(codeString)) + return UPDATE; + if ("APPEND".equals(codeString)) + return APPEND; + if ("MODIFYSTATUS".equals(codeString)) + return MODIFYSTATUS; + if ("ABORT".equals(codeString)) + return ABORT; + if ("ACTIVATE".equals(codeString)) + return ACTIVATE; + if ("CANCEL".equals(codeString)) + return CANCEL; + if ("COMPLETE".equals(codeString)) + return COMPLETE; + if ("HOLD".equals(codeString)) + return HOLD; + if ("JUMP".equals(codeString)) + return JUMP; + if ("NULLIFY".equals(codeString)) + return NULLIFY; + if ("OBSOLETE".equals(codeString)) + return OBSOLETE; + if ("REACTIVATE".equals(codeString)) + return REACTIVATE; + if ("RELEASE".equals(codeString)) + return RELEASE; + if ("RESUME".equals(codeString)) + return RESUME; + if ("SUSPEND".equals(codeString)) + return SUSPEND; + throw new Exception("Unknown V3DataOperation code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case OPERATE: return "OPERATE"; + case CREATE: return "CREATE"; + case DELETE: return "DELETE"; + case EXECUTE: return "EXECUTE"; + case READ: return "READ"; + case UPDATE: return "UPDATE"; + case APPEND: return "APPEND"; + case MODIFYSTATUS: return "MODIFYSTATUS"; + case ABORT: return "ABORT"; + case ACTIVATE: return "ACTIVATE"; + case CANCEL: return "CANCEL"; + case COMPLETE: return "COMPLETE"; + case HOLD: return "HOLD"; + case JUMP: return "JUMP"; + case NULLIFY: return "NULLIFY"; + case OBSOLETE: return "OBSOLETE"; + case REACTIVATE: return "REACTIVATE"; + case RELEASE: return "RELEASE"; + case RESUME: return "RESUME"; + case SUSPEND: return "SUSPEND"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/DataOperation"; + } + public String getDefinition() { + switch (this) { + case OPERATE: return "Description:Act on an object or objects."; + case CREATE: return "Description:Fundamental operation in an Information System (IS) that results only in the act of bringing an object into existence. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case DELETE: return "Description:Fundamental operation in an Information System (IS) that results only in the removal of information about an object from memory or storage. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface."; + case EXECUTE: return "Description:Fundamental operation in an IS that results only in initiating performance of a single or set of programs (i.e., software objects). Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface."; + case READ: return "Description:Fundamental operation in an Information System (IS) that results only in the flow of information about an object to a subject. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface."; + case UPDATE: return "Definition:Fundamental operation in an Information System (IS) that results only in the revision or alteration of an object. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface."; + case APPEND: return "Description:Fundamental operation in an Information System (IS) that results only in the addition of information to an object already in existence. Note: The preceding definition is taken from the HL7 RBAC specification. There is no restriction on how the operation is invoked, e.g., via a user interface."; + case MODIFYSTATUS: return "Description:Change the status of an object representing an Act."; + case ABORT: return "Description:Change the status of an object representing an Act to 'aborted', i.e., terminated prior to the originally intended completion. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case ACTIVATE: return "Description:Change the status of an object representing an Act to 'active', i.e., so it can be performed or is being performed, for the first time. (Contrast with REACTIVATE.) For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case CANCEL: return "Description:Change the status of an object representing an Act to 'cancelled', i.e., abandoned before activation. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case COMPLETE: return "Description:Change the status of an object representing an Act to 'completed', i.e., terminated normally after all of its constituents have been performed. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case HOLD: return "Description:Change the status of an object representing an Act to 'held', i.e., put aside an Act that is still in preparatory stages. No action can occur until the Act is released. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case JUMP: return "Description:Change the status of an object representing an Act to a normal state. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case NULLIFY: return "Description:Change the status of an object representing an Act to 'nullified', i.e., treat as though it never existed. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case OBSOLETE: return "Description:Change the status of an object representing an Act to 'obsolete' when it has been replaced by a new instance. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case REACTIVATE: return "Description:Change the status of a formerly active object representing an Act to 'active', i.e., so it can again be performed or is being performed. (Contrast with ACTIVATE.) For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case RELEASE: return "Description:Change the status of an object representing an Act so it is no longer 'held', i.e., allow action to occur. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case RESUME: return "Description:Change the status of a suspended object representing an Act to 'active', i.e., so it can be performed or is being performed. For an HL7 Act, the state transitions per the HL7 Reference Information Model."; + case SUSPEND: return "Definition:Change the status of an object representing an Act to suspended, i.e., so it is temporarily not in service."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case OPERATE: return "operate"; + case CREATE: return "create"; + case DELETE: return "delete"; + case EXECUTE: return "execute"; + case READ: return "read"; + case UPDATE: return "revise"; + case APPEND: return "append"; + case MODIFYSTATUS: return "modify status"; + case ABORT: return "abort"; + case ACTIVATE: return "activate"; + case CANCEL: return "cancel"; + case COMPLETE: return "complete"; + case HOLD: return "hold"; + case JUMP: return "jump"; + case NULLIFY: return "nullify"; + case OBSOLETE: return "obsolete"; + case REACTIVATE: return "reactivate"; + case RELEASE: return "release"; + case RESUME: return "resume"; + case SUSPEND: return "suspend"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperationEnumFactory.java new file mode 100644 index 00000000000..3e747e4ea4c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DataOperationEnumFactory.java @@ -0,0 +1,131 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3DataOperationEnumFactory implements EnumFactory { + + public V3DataOperation fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("OPERATE".equals(codeString)) + return V3DataOperation.OPERATE; + if ("CREATE".equals(codeString)) + return V3DataOperation.CREATE; + if ("DELETE".equals(codeString)) + return V3DataOperation.DELETE; + if ("EXECUTE".equals(codeString)) + return V3DataOperation.EXECUTE; + if ("READ".equals(codeString)) + return V3DataOperation.READ; + if ("UPDATE".equals(codeString)) + return V3DataOperation.UPDATE; + if ("APPEND".equals(codeString)) + return V3DataOperation.APPEND; + if ("MODIFYSTATUS".equals(codeString)) + return V3DataOperation.MODIFYSTATUS; + if ("ABORT".equals(codeString)) + return V3DataOperation.ABORT; + if ("ACTIVATE".equals(codeString)) + return V3DataOperation.ACTIVATE; + if ("CANCEL".equals(codeString)) + return V3DataOperation.CANCEL; + if ("COMPLETE".equals(codeString)) + return V3DataOperation.COMPLETE; + if ("HOLD".equals(codeString)) + return V3DataOperation.HOLD; + if ("JUMP".equals(codeString)) + return V3DataOperation.JUMP; + if ("NULLIFY".equals(codeString)) + return V3DataOperation.NULLIFY; + if ("OBSOLETE".equals(codeString)) + return V3DataOperation.OBSOLETE; + if ("REACTIVATE".equals(codeString)) + return V3DataOperation.REACTIVATE; + if ("RELEASE".equals(codeString)) + return V3DataOperation.RELEASE; + if ("RESUME".equals(codeString)) + return V3DataOperation.RESUME; + if ("SUSPEND".equals(codeString)) + return V3DataOperation.SUSPEND; + throw new IllegalArgumentException("Unknown V3DataOperation code '"+codeString+"'"); + } + + public String toCode(V3DataOperation code) { + if (code == V3DataOperation.OPERATE) + return "OPERATE"; + if (code == V3DataOperation.CREATE) + return "CREATE"; + if (code == V3DataOperation.DELETE) + return "DELETE"; + if (code == V3DataOperation.EXECUTE) + return "EXECUTE"; + if (code == V3DataOperation.READ) + return "READ"; + if (code == V3DataOperation.UPDATE) + return "UPDATE"; + if (code == V3DataOperation.APPEND) + return "APPEND"; + if (code == V3DataOperation.MODIFYSTATUS) + return "MODIFYSTATUS"; + if (code == V3DataOperation.ABORT) + return "ABORT"; + if (code == V3DataOperation.ACTIVATE) + return "ACTIVATE"; + if (code == V3DataOperation.CANCEL) + return "CANCEL"; + if (code == V3DataOperation.COMPLETE) + return "COMPLETE"; + if (code == V3DataOperation.HOLD) + return "HOLD"; + if (code == V3DataOperation.JUMP) + return "JUMP"; + if (code == V3DataOperation.NULLIFY) + return "NULLIFY"; + if (code == V3DataOperation.OBSOLETE) + return "OBSOLETE"; + if (code == V3DataOperation.REACTIVATE) + return "REACTIVATE"; + if (code == V3DataOperation.RELEASE) + return "RELEASE"; + if (code == V3DataOperation.RESUME) + return "RESUME"; + if (code == V3DataOperation.SUSPEND) + return "SUSPEND"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevel.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevel.java new file mode 100644 index 00000000000..17e16472704 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevel.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3DeviceAlertLevel { + + /** + * Shut Down, Fix Problem and Re-initialize + */ + C, + /** + * No Corrective Action Needed + */ + N, + /** + * Corrective Action Required + */ + S, + /** + * Corrective Action Anticipated + */ + W, + /** + * added to help the parsers + */ + NULL; + public static V3DeviceAlertLevel fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("C".equals(codeString)) + return C; + if ("N".equals(codeString)) + return N; + if ("S".equals(codeString)) + return S; + if ("W".equals(codeString)) + return W; + throw new Exception("Unknown V3DeviceAlertLevel code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case C: return "C"; + case N: return "N"; + case S: return "S"; + case W: return "W"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/DeviceAlertLevel"; + } + public String getDefinition() { + switch (this) { + case C: return "Shut Down, Fix Problem and Re-initialize"; + case N: return "No Corrective Action Needed"; + case S: return "Corrective Action Required"; + case W: return "Corrective Action Anticipated"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case C: return "Critical"; + case N: return "Normal"; + case S: return "Serious"; + case W: return "Warning"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevelEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevelEnumFactory.java new file mode 100644 index 00000000000..052a3fcc72f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DeviceAlertLevelEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3DeviceAlertLevelEnumFactory implements EnumFactory { + + public V3DeviceAlertLevel fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("C".equals(codeString)) + return V3DeviceAlertLevel.C; + if ("N".equals(codeString)) + return V3DeviceAlertLevel.N; + if ("S".equals(codeString)) + return V3DeviceAlertLevel.S; + if ("W".equals(codeString)) + return V3DeviceAlertLevel.W; + throw new IllegalArgumentException("Unknown V3DeviceAlertLevel code '"+codeString+"'"); + } + + public String toCode(V3DeviceAlertLevel code) { + if (code == V3DeviceAlertLevel.C) + return "C"; + if (code == V3DeviceAlertLevel.N) + return "N"; + if (code == V3DeviceAlertLevel.S) + return "S"; + if (code == V3DeviceAlertLevel.W) + return "W"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletion.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletion.java new file mode 100644 index 00000000000..add6a5857c1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletion.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3DocumentCompletion { + + /** + * A completion status in which a document has been signed manually or electronically by one or more individuals who attest to its accuracy. No explicit determination is made that the assigned individual has performed the authentication. While the standard allows multiple instances of authentication, it would be typical to have a single instance of authentication, usually by the assigned individual. + */ + AU, + /** + * A completion status in which information has been orally recorded but not yet transcribed. + */ + DI, + /** + * A completion status in which document content, other than dictation, has been received but has not been translated into the final electronic format. Examples include paper documents, whether hand-written or typewritten, and intermediate electronic forms, such as voice to text. + */ + DO, + /** + * A completion status in which information is known to be missing from a transcribed document. + */ + IN, + /** + * A workflow status where the material has been assigned to personnel to perform the task of transcription. The document remains in this state until the document is transcribed. + */ + IP, + /** + * A completion status in which a document has been signed manually or electronically by the individual who is legally responsible for that document. This is the most mature state in the workflow progression. + */ + LA, + /** + * A completion status in which a document was created in error or was placed in the wrong chart. The document is no longer available. + */ + NU, + /** + * A completion status in which a document is transcribed but not authenticated. + */ + PA, + /** + * A completion status where the document is complete and there is no expectation that the document will be signed. + */ + UC, + /** + * added to help the parsers + */ + NULL; + public static V3DocumentCompletion fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AU".equals(codeString)) + return AU; + if ("DI".equals(codeString)) + return DI; + if ("DO".equals(codeString)) + return DO; + if ("IN".equals(codeString)) + return IN; + if ("IP".equals(codeString)) + return IP; + if ("LA".equals(codeString)) + return LA; + if ("NU".equals(codeString)) + return NU; + if ("PA".equals(codeString)) + return PA; + if ("UC".equals(codeString)) + return UC; + throw new Exception("Unknown V3DocumentCompletion code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AU: return "AU"; + case DI: return "DI"; + case DO: return "DO"; + case IN: return "IN"; + case IP: return "IP"; + case LA: return "LA"; + case NU: return "NU"; + case PA: return "PA"; + case UC: return "UC"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/DocumentCompletion"; + } + public String getDefinition() { + switch (this) { + case AU: return "A completion status in which a document has been signed manually or electronically by one or more individuals who attest to its accuracy. No explicit determination is made that the assigned individual has performed the authentication. While the standard allows multiple instances of authentication, it would be typical to have a single instance of authentication, usually by the assigned individual."; + case DI: return "A completion status in which information has been orally recorded but not yet transcribed."; + case DO: return "A completion status in which document content, other than dictation, has been received but has not been translated into the final electronic format. Examples include paper documents, whether hand-written or typewritten, and intermediate electronic forms, such as voice to text."; + case IN: return "A completion status in which information is known to be missing from a transcribed document."; + case IP: return "A workflow status where the material has been assigned to personnel to perform the task of transcription. The document remains in this state until the document is transcribed."; + case LA: return "A completion status in which a document has been signed manually or electronically by the individual who is legally responsible for that document. This is the most mature state in the workflow progression."; + case NU: return "A completion status in which a document was created in error or was placed in the wrong chart. The document is no longer available."; + case PA: return "A completion status in which a document is transcribed but not authenticated."; + case UC: return "A completion status where the document is complete and there is no expectation that the document will be signed."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AU: return "authenticated"; + case DI: return "dictated"; + case DO: return "documented"; + case IN: return "incomplete"; + case IP: return "in progress"; + case LA: return "legally authenticated"; + case NU: return "nullified document"; + case PA: return "pre-authenticated"; + case UC: return "unsigned completed document"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletionEnumFactory.java new file mode 100644 index 00000000000..9b2b168ecb4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentCompletionEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3DocumentCompletionEnumFactory implements EnumFactory { + + public V3DocumentCompletion fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AU".equals(codeString)) + return V3DocumentCompletion.AU; + if ("DI".equals(codeString)) + return V3DocumentCompletion.DI; + if ("DO".equals(codeString)) + return V3DocumentCompletion.DO; + if ("IN".equals(codeString)) + return V3DocumentCompletion.IN; + if ("IP".equals(codeString)) + return V3DocumentCompletion.IP; + if ("LA".equals(codeString)) + return V3DocumentCompletion.LA; + if ("NU".equals(codeString)) + return V3DocumentCompletion.NU; + if ("PA".equals(codeString)) + return V3DocumentCompletion.PA; + if ("UC".equals(codeString)) + return V3DocumentCompletion.UC; + throw new IllegalArgumentException("Unknown V3DocumentCompletion code '"+codeString+"'"); + } + + public String toCode(V3DocumentCompletion code) { + if (code == V3DocumentCompletion.AU) + return "AU"; + if (code == V3DocumentCompletion.DI) + return "DI"; + if (code == V3DocumentCompletion.DO) + return "DO"; + if (code == V3DocumentCompletion.IN) + return "IN"; + if (code == V3DocumentCompletion.IP) + return "IP"; + if (code == V3DocumentCompletion.LA) + return "LA"; + if (code == V3DocumentCompletion.NU) + return "NU"; + if (code == V3DocumentCompletion.PA) + return "PA"; + if (code == V3DocumentCompletion.UC) + return "UC"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorage.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorage.java new file mode 100644 index 00000000000..d66e1134bfd --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorage.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3DocumentStorage { + + /** + * A storage status in which a document is available on-line. + */ + AC, + /** + * A storage status in which a document is available on-line and is also stored off-line for long-term access. + */ + AA, + /** + * A storage status in which a document has been stored off-line for long-term access. + */ + AR, + /** + * A storage status in which a document is no longer available in this system. + */ + PU, + /** + * added to help the parsers + */ + NULL; + public static V3DocumentStorage fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AC".equals(codeString)) + return AC; + if ("AA".equals(codeString)) + return AA; + if ("AR".equals(codeString)) + return AR; + if ("PU".equals(codeString)) + return PU; + throw new Exception("Unknown V3DocumentStorage code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AC: return "AC"; + case AA: return "AA"; + case AR: return "AR"; + case PU: return "PU"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/DocumentStorage"; + } + public String getDefinition() { + switch (this) { + case AC: return "A storage status in which a document is available on-line."; + case AA: return "A storage status in which a document is available on-line and is also stored off-line for long-term access."; + case AR: return "A storage status in which a document has been stored off-line for long-term access."; + case PU: return "A storage status in which a document is no longer available in this system."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AC: return "active"; + case AA: return "active and archived"; + case AR: return "archived (not active)"; + case PU: return "purged"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorageEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorageEnumFactory.java new file mode 100644 index 00000000000..d5c06e54691 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3DocumentStorageEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3DocumentStorageEnumFactory implements EnumFactory { + + public V3DocumentStorage fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AC".equals(codeString)) + return V3DocumentStorage.AC; + if ("AA".equals(codeString)) + return V3DocumentStorage.AA; + if ("AR".equals(codeString)) + return V3DocumentStorage.AR; + if ("PU".equals(codeString)) + return V3DocumentStorage.PU; + throw new IllegalArgumentException("Unknown V3DocumentStorage code '"+codeString+"'"); + } + + public String toCode(V3DocumentStorage code) { + if (code == V3DocumentStorage.AC) + return "AC"; + if (code == V3DocumentStorage.AA) + return "AA"; + if (code == V3DocumentStorage.AR) + return "AR"; + if (code == V3DocumentStorage.PU) + return "PU"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevel.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevel.java new file mode 100644 index 00000000000..00f75435e71 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevel.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EducationLevel { + + /** + * Associate's or technical degree complete + */ + ASSOC, + /** + * College or baccalaureate degree complete + */ + BD, + /** + * Elementary School + */ + ELEM, + /** + * Graduate or professional Degree complete + */ + GD, + /** + * High School or secondary school degree complete + */ + HS, + /** + * Some post-baccalaureate education + */ + PB, + /** + * Doctoral or post graduate education + */ + POSTG, + /** + * Some College education + */ + SCOL, + /** + * Some secondary or high school education + */ + SEC, + /** + * added to help the parsers + */ + NULL; + public static V3EducationLevel fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ASSOC".equals(codeString)) + return ASSOC; + if ("BD".equals(codeString)) + return BD; + if ("ELEM".equals(codeString)) + return ELEM; + if ("GD".equals(codeString)) + return GD; + if ("HS".equals(codeString)) + return HS; + if ("PB".equals(codeString)) + return PB; + if ("POSTG".equals(codeString)) + return POSTG; + if ("SCOL".equals(codeString)) + return SCOL; + if ("SEC".equals(codeString)) + return SEC; + throw new Exception("Unknown V3EducationLevel code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ASSOC: return "ASSOC"; + case BD: return "BD"; + case ELEM: return "ELEM"; + case GD: return "GD"; + case HS: return "HS"; + case PB: return "PB"; + case POSTG: return "POSTG"; + case SCOL: return "SCOL"; + case SEC: return "SEC"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EducationLevel"; + } + public String getDefinition() { + switch (this) { + case ASSOC: return "Associate's or technical degree complete"; + case BD: return "College or baccalaureate degree complete"; + case ELEM: return "Elementary School"; + case GD: return "Graduate or professional Degree complete"; + case HS: return "High School or secondary school degree complete"; + case PB: return "Some post-baccalaureate education"; + case POSTG: return "Doctoral or post graduate education"; + case SCOL: return "Some College education"; + case SEC: return "Some secondary or high school education"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ASSOC: return "Associate's or technical degree complete"; + case BD: return "College or baccalaureate degree complete"; + case ELEM: return "Elementary School"; + case GD: return "Graduate or professional Degree complete"; + case HS: return "High School or secondary school degree complete"; + case PB: return "Some post-baccalaureate education"; + case POSTG: return "Doctoral or post graduate education"; + case SCOL: return "Some College education"; + case SEC: return "Some secondary or high school education"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevelEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevelEnumFactory.java new file mode 100644 index 00000000000..92eb2fb48e9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EducationLevelEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EducationLevelEnumFactory implements EnumFactory { + + public V3EducationLevel fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ASSOC".equals(codeString)) + return V3EducationLevel.ASSOC; + if ("BD".equals(codeString)) + return V3EducationLevel.BD; + if ("ELEM".equals(codeString)) + return V3EducationLevel.ELEM; + if ("GD".equals(codeString)) + return V3EducationLevel.GD; + if ("HS".equals(codeString)) + return V3EducationLevel.HS; + if ("PB".equals(codeString)) + return V3EducationLevel.PB; + if ("POSTG".equals(codeString)) + return V3EducationLevel.POSTG; + if ("SCOL".equals(codeString)) + return V3EducationLevel.SCOL; + if ("SEC".equals(codeString)) + return V3EducationLevel.SEC; + throw new IllegalArgumentException("Unknown V3EducationLevel code '"+codeString+"'"); + } + + public String toCode(V3EducationLevel code) { + if (code == V3EducationLevel.ASSOC) + return "ASSOC"; + if (code == V3EducationLevel.BD) + return "BD"; + if (code == V3EducationLevel.ELEM) + return "ELEM"; + if (code == V3EducationLevel.GD) + return "GD"; + if (code == V3EducationLevel.HS) + return "HS"; + if (code == V3EducationLevel.PB) + return "PB"; + if (code == V3EducationLevel.POSTG) + return "POSTG"; + if (code == V3EducationLevel.SCOL) + return "SCOL"; + if (code == V3EducationLevel.SEC) + return "SEC"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClass.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClass.java new file mode 100644 index 00000000000..53d7f43d070 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClass.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EmployeeJobClass { + + /** + * Employment in which the employee is expected to work at least a standard work week (defined by the US Bureau of Labor Statistics as 35-44 hours per week) + */ + FT, + /** + * Employment in which the employee is expected to work less than a standard work week (defined by the US Bureau of Labor Statistics as 35-44 hours per week) + */ + PT, + /** + * added to help the parsers + */ + NULL; + public static V3EmployeeJobClass fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("FT".equals(codeString)) + return FT; + if ("PT".equals(codeString)) + return PT; + throw new Exception("Unknown V3EmployeeJobClass code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case FT: return "FT"; + case PT: return "PT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EmployeeJobClass"; + } + public String getDefinition() { + switch (this) { + case FT: return "Employment in which the employee is expected to work at least a standard work week (defined by the US Bureau of Labor Statistics as 35-44 hours per week)"; + case PT: return "Employment in which the employee is expected to work less than a standard work week (defined by the US Bureau of Labor Statistics as 35-44 hours per week)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case FT: return "full-time"; + case PT: return "part-time"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClassEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClassEnumFactory.java new file mode 100644 index 00000000000..ad22f377847 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EmployeeJobClassEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EmployeeJobClassEnumFactory implements EnumFactory { + + public V3EmployeeJobClass fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("FT".equals(codeString)) + return V3EmployeeJobClass.FT; + if ("PT".equals(codeString)) + return V3EmployeeJobClass.PT; + throw new IllegalArgumentException("Unknown V3EmployeeJobClass code '"+codeString+"'"); + } + + public String toCode(V3EmployeeJobClass code) { + if (code == V3EmployeeJobClass.FT) + return "FT"; + if (code == V3EmployeeJobClass.PT) + return "PT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSource.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSource.java new file mode 100644 index 00000000000..ec11e011961 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSource.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EncounterAdmissionSource { + + /** + * emergency + */ + E, + /** + * labor and delivery + */ + LD, + /** + * newborn + */ + NB, + /** + * added to help the parsers + */ + NULL; + public static V3EncounterAdmissionSource fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return E; + if ("LD".equals(codeString)) + return LD; + if ("NB".equals(codeString)) + return NB; + throw new Exception("Unknown V3EncounterAdmissionSource code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case E: return "E"; + case LD: return "LD"; + case NB: return "NB"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EncounterAdmissionSource"; + } + public String getDefinition() { + switch (this) { + case E: return "emergency"; + case LD: return "labor and delivery"; + case NB: return "newborn"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case E: return "emergency"; + case LD: return "labor and delivery"; + case NB: return "newborn"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSourceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSourceEnumFactory.java new file mode 100644 index 00000000000..7790fb5c1cd --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterAdmissionSourceEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EncounterAdmissionSourceEnumFactory implements EnumFactory { + + public V3EncounterAdmissionSource fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return V3EncounterAdmissionSource.E; + if ("LD".equals(codeString)) + return V3EncounterAdmissionSource.LD; + if ("NB".equals(codeString)) + return V3EncounterAdmissionSource.NB; + throw new IllegalArgumentException("Unknown V3EncounterAdmissionSource code '"+codeString+"'"); + } + + public String toCode(V3EncounterAdmissionSource code) { + if (code == V3EncounterAdmissionSource.E) + return "E"; + if (code == V3EncounterAdmissionSource.LD) + return "LD"; + if (code == V3EncounterAdmissionSource.NB) + return "NB"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesy.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesy.java new file mode 100644 index 00000000000..60e1fa8ff2c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesy.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EncounterSpecialCourtesy { + + /** + * extended courtesy + */ + EXT, + /** + * normal courtesy + */ + NRM, + /** + * professional courtesy + */ + PRF, + /** + * Courtesies extended to the staff of the entity providing service. + */ + STF, + /** + * very important person + */ + VIP, + /** + * added to help the parsers + */ + NULL; + public static V3EncounterSpecialCourtesy fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("EXT".equals(codeString)) + return EXT; + if ("NRM".equals(codeString)) + return NRM; + if ("PRF".equals(codeString)) + return PRF; + if ("STF".equals(codeString)) + return STF; + if ("VIP".equals(codeString)) + return VIP; + throw new Exception("Unknown V3EncounterSpecialCourtesy code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case EXT: return "EXT"; + case NRM: return "NRM"; + case PRF: return "PRF"; + case STF: return "STF"; + case VIP: return "VIP"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EncounterSpecialCourtesy"; + } + public String getDefinition() { + switch (this) { + case EXT: return "extended courtesy"; + case NRM: return "normal courtesy"; + case PRF: return "professional courtesy"; + case STF: return "Courtesies extended to the staff of the entity providing service."; + case VIP: return "very important person"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case EXT: return "extended courtesy"; + case NRM: return "normal courtesy"; + case PRF: return "professional courtesy"; + case STF: return "staff"; + case VIP: return "very important person"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesyEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesyEnumFactory.java new file mode 100644 index 00000000000..b27901fac12 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EncounterSpecialCourtesyEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EncounterSpecialCourtesyEnumFactory implements EnumFactory { + + public V3EncounterSpecialCourtesy fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("EXT".equals(codeString)) + return V3EncounterSpecialCourtesy.EXT; + if ("NRM".equals(codeString)) + return V3EncounterSpecialCourtesy.NRM; + if ("PRF".equals(codeString)) + return V3EncounterSpecialCourtesy.PRF; + if ("STF".equals(codeString)) + return V3EncounterSpecialCourtesy.STF; + if ("VIP".equals(codeString)) + return V3EncounterSpecialCourtesy.VIP; + throw new IllegalArgumentException("Unknown V3EncounterSpecialCourtesy code '"+codeString+"'"); + } + + public String toCode(V3EncounterSpecialCourtesy code) { + if (code == V3EncounterSpecialCourtesy.EXT) + return "EXT"; + if (code == V3EncounterSpecialCourtesy.NRM) + return "NRM"; + if (code == V3EncounterSpecialCourtesy.PRF) + return "PRF"; + if (code == V3EncounterSpecialCourtesy.STF) + return "STF"; + if (code == V3EncounterSpecialCourtesy.VIP) + return "VIP"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClass.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClass.java new file mode 100644 index 00000000000..4119613020c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClass.java @@ -0,0 +1,313 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityClass { + + /** + * Corresponds to the Entity class + */ + ENT, + /** + * A health chart included to serve as a document receiving entity in the management of medical records. + */ + HCE, + /** + * Anything that essentially has the property of life, independent of current state (a dead human corpse is still essentially a living subject). + */ + LIV, + /** + * A subtype of living subject that includes all living things except the species Homo Sapiens. + */ + NLIV, + /** + * A living subject from the animal kingdom. + */ + ANM, + /** + * All single celled living organisms including protozoa, bacteria, yeast, viruses, etc. + */ + MIC, + /** + * A living subject from the order of plants. + */ + PLNT, + /** + * A living subject of the species homo sapiens. + */ + PSN, + /** + * Any thing that has extension in space and mass, may be of living or non-living origin. + */ + MAT, + /** + * A substance that is fully defined by an organic or inorganic chemical formula, includes mixtures of other chemical substances. Refine using, e.g., IUPAC codes. + */ + CHEM, + /** + * Naturally occurring, processed or manufactured entities that are primarily used as food for humans and animals. + */ + FOOD, + /** + * Corresponds to the ManufacturedMaterial class + */ + MMAT, + /** + * A container of other entities. + */ + CONT, + /** + * A type of container that can hold other containers or other holders. + */ + HOLD, + /** + * A subtype of ManufacturedMaterial used in an activity, without being substantially changed through that activity. The kind of device is identified by the code attribute inherited from Entity. + + + Usage: This includes durable (reusable) medical equipment as well as disposable equipment. + */ + DEV, + /** + * A physical artifact that stores information about the granting of authorization. + */ + CER, + /** + * Class to contain unique attributes of diagnostic imaging equipment. + */ + MODDV, + /** + * A social or legal structure formed by human beings. + */ + ORG, + /** + * An agency of the people of a state often assuming some authority over a certain matter. Includes government, governmental agencies, associations. + */ + PUB, + /** + * A politically organized body of people bonded by territory, culture, or ethnicity, having sovereignty (to a certain extent) granted by other states (enclosing or neighboring states). This includes countries (nations), provinces (e.g., one of the United States of America or a French departement), counties or municipalities. Refine using, e.g., ISO country codes, FIPS-PUB state codes, etc. + */ + STATE, + /** + * A politically organized body of people bonded by territory and known as a nation. + */ + NAT, + /** + * A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place may or may not be constant. + */ + PLC, + /** + * The territory of a city, town or other municipality. + */ + CITY, + /** + * The territory of a sovereign nation. + */ + COUNTRY, + /** + * The territory of a county, parish or other division of a state or province. + */ + COUNTY, + /** + * The territory of a state, province, department or other division of a sovereign country. + */ + PROVINCE, + /** + * A grouping of resources (personnel, material, or places) to be used for scheduling purposes. May be a pool of like-type resources, a team, or combination of personnel, material and places. + */ + RGRP, + /** + * added to help the parsers + */ + NULL; + public static V3EntityClass fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ENT".equals(codeString)) + return ENT; + if ("HCE".equals(codeString)) + return HCE; + if ("LIV".equals(codeString)) + return LIV; + if ("NLIV".equals(codeString)) + return NLIV; + if ("ANM".equals(codeString)) + return ANM; + if ("MIC".equals(codeString)) + return MIC; + if ("PLNT".equals(codeString)) + return PLNT; + if ("PSN".equals(codeString)) + return PSN; + if ("MAT".equals(codeString)) + return MAT; + if ("CHEM".equals(codeString)) + return CHEM; + if ("FOOD".equals(codeString)) + return FOOD; + if ("MMAT".equals(codeString)) + return MMAT; + if ("CONT".equals(codeString)) + return CONT; + if ("HOLD".equals(codeString)) + return HOLD; + if ("DEV".equals(codeString)) + return DEV; + if ("CER".equals(codeString)) + return CER; + if ("MODDV".equals(codeString)) + return MODDV; + if ("ORG".equals(codeString)) + return ORG; + if ("PUB".equals(codeString)) + return PUB; + if ("STATE".equals(codeString)) + return STATE; + if ("NAT".equals(codeString)) + return NAT; + if ("PLC".equals(codeString)) + return PLC; + if ("CITY".equals(codeString)) + return CITY; + if ("COUNTRY".equals(codeString)) + return COUNTRY; + if ("COUNTY".equals(codeString)) + return COUNTY; + if ("PROVINCE".equals(codeString)) + return PROVINCE; + if ("RGRP".equals(codeString)) + return RGRP; + throw new Exception("Unknown V3EntityClass code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ENT: return "ENT"; + case HCE: return "HCE"; + case LIV: return "LIV"; + case NLIV: return "NLIV"; + case ANM: return "ANM"; + case MIC: return "MIC"; + case PLNT: return "PLNT"; + case PSN: return "PSN"; + case MAT: return "MAT"; + case CHEM: return "CHEM"; + case FOOD: return "FOOD"; + case MMAT: return "MMAT"; + case CONT: return "CONT"; + case HOLD: return "HOLD"; + case DEV: return "DEV"; + case CER: return "CER"; + case MODDV: return "MODDV"; + case ORG: return "ORG"; + case PUB: return "PUB"; + case STATE: return "STATE"; + case NAT: return "NAT"; + case PLC: return "PLC"; + case CITY: return "CITY"; + case COUNTRY: return "COUNTRY"; + case COUNTY: return "COUNTY"; + case PROVINCE: return "PROVINCE"; + case RGRP: return "RGRP"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityClass"; + } + public String getDefinition() { + switch (this) { + case ENT: return "Corresponds to the Entity class"; + case HCE: return "A health chart included to serve as a document receiving entity in the management of medical records."; + case LIV: return "Anything that essentially has the property of life, independent of current state (a dead human corpse is still essentially a living subject)."; + case NLIV: return "A subtype of living subject that includes all living things except the species Homo Sapiens."; + case ANM: return "A living subject from the animal kingdom."; + case MIC: return "All single celled living organisms including protozoa, bacteria, yeast, viruses, etc."; + case PLNT: return "A living subject from the order of plants."; + case PSN: return "A living subject of the species homo sapiens."; + case MAT: return "Any thing that has extension in space and mass, may be of living or non-living origin."; + case CHEM: return "A substance that is fully defined by an organic or inorganic chemical formula, includes mixtures of other chemical substances. Refine using, e.g., IUPAC codes."; + case FOOD: return "Naturally occurring, processed or manufactured entities that are primarily used as food for humans and animals."; + case MMAT: return "Corresponds to the ManufacturedMaterial class"; + case CONT: return "A container of other entities."; + case HOLD: return "A type of container that can hold other containers or other holders."; + case DEV: return "A subtype of ManufacturedMaterial used in an activity, without being substantially changed through that activity. The kind of device is identified by the code attribute inherited from Entity.\r\n\n \n Usage: This includes durable (reusable) medical equipment as well as disposable equipment."; + case CER: return "A physical artifact that stores information about the granting of authorization."; + case MODDV: return "Class to contain unique attributes of diagnostic imaging equipment."; + case ORG: return "A social or legal structure formed by human beings."; + case PUB: return "An agency of the people of a state often assuming some authority over a certain matter. Includes government, governmental agencies, associations."; + case STATE: return "A politically organized body of people bonded by territory, culture, or ethnicity, having sovereignty (to a certain extent) granted by other states (enclosing or neighboring states). This includes countries (nations), provinces (e.g., one of the United States of America or a French departement), counties or municipalities. Refine using, e.g., ISO country codes, FIPS-PUB state codes, etc."; + case NAT: return "A politically organized body of people bonded by territory and known as a nation."; + case PLC: return "A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place may or may not be constant."; + case CITY: return "The territory of a city, town or other municipality."; + case COUNTRY: return "The territory of a sovereign nation."; + case COUNTY: return "The territory of a county, parish or other division of a state or province."; + case PROVINCE: return "The territory of a state, province, department or other division of a sovereign country."; + case RGRP: return "A grouping of resources (personnel, material, or places) to be used for scheduling purposes. May be a pool of like-type resources, a team, or combination of personnel, material and places."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ENT: return "entity"; + case HCE: return "health chart entity"; + case LIV: return "living subject"; + case NLIV: return "non-person living subject"; + case ANM: return "animal"; + case MIC: return "microorganism"; + case PLNT: return "plant"; + case PSN: return "person"; + case MAT: return "material"; + case CHEM: return "chemical substance"; + case FOOD: return "food"; + case MMAT: return "manufactured material"; + case CONT: return "container"; + case HOLD: return "holder"; + case DEV: return "device"; + case CER: return "certificate representation"; + case MODDV: return "imaging modality"; + case ORG: return "organization"; + case PUB: return "public institution"; + case STATE: return "state"; + case NAT: return "Nation"; + case PLC: return "place"; + case CITY: return "city or town"; + case COUNTRY: return "country"; + case COUNTY: return "county or parish"; + case PROVINCE: return "state or province"; + case RGRP: return "group"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClassEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClassEnumFactory.java new file mode 100644 index 00000000000..fab19cf944e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityClassEnumFactory.java @@ -0,0 +1,159 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityClassEnumFactory implements EnumFactory { + + public V3EntityClass fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ENT".equals(codeString)) + return V3EntityClass.ENT; + if ("HCE".equals(codeString)) + return V3EntityClass.HCE; + if ("LIV".equals(codeString)) + return V3EntityClass.LIV; + if ("NLIV".equals(codeString)) + return V3EntityClass.NLIV; + if ("ANM".equals(codeString)) + return V3EntityClass.ANM; + if ("MIC".equals(codeString)) + return V3EntityClass.MIC; + if ("PLNT".equals(codeString)) + return V3EntityClass.PLNT; + if ("PSN".equals(codeString)) + return V3EntityClass.PSN; + if ("MAT".equals(codeString)) + return V3EntityClass.MAT; + if ("CHEM".equals(codeString)) + return V3EntityClass.CHEM; + if ("FOOD".equals(codeString)) + return V3EntityClass.FOOD; + if ("MMAT".equals(codeString)) + return V3EntityClass.MMAT; + if ("CONT".equals(codeString)) + return V3EntityClass.CONT; + if ("HOLD".equals(codeString)) + return V3EntityClass.HOLD; + if ("DEV".equals(codeString)) + return V3EntityClass.DEV; + if ("CER".equals(codeString)) + return V3EntityClass.CER; + if ("MODDV".equals(codeString)) + return V3EntityClass.MODDV; + if ("ORG".equals(codeString)) + return V3EntityClass.ORG; + if ("PUB".equals(codeString)) + return V3EntityClass.PUB; + if ("STATE".equals(codeString)) + return V3EntityClass.STATE; + if ("NAT".equals(codeString)) + return V3EntityClass.NAT; + if ("PLC".equals(codeString)) + return V3EntityClass.PLC; + if ("CITY".equals(codeString)) + return V3EntityClass.CITY; + if ("COUNTRY".equals(codeString)) + return V3EntityClass.COUNTRY; + if ("COUNTY".equals(codeString)) + return V3EntityClass.COUNTY; + if ("PROVINCE".equals(codeString)) + return V3EntityClass.PROVINCE; + if ("RGRP".equals(codeString)) + return V3EntityClass.RGRP; + throw new IllegalArgumentException("Unknown V3EntityClass code '"+codeString+"'"); + } + + public String toCode(V3EntityClass code) { + if (code == V3EntityClass.ENT) + return "ENT"; + if (code == V3EntityClass.HCE) + return "HCE"; + if (code == V3EntityClass.LIV) + return "LIV"; + if (code == V3EntityClass.NLIV) + return "NLIV"; + if (code == V3EntityClass.ANM) + return "ANM"; + if (code == V3EntityClass.MIC) + return "MIC"; + if (code == V3EntityClass.PLNT) + return "PLNT"; + if (code == V3EntityClass.PSN) + return "PSN"; + if (code == V3EntityClass.MAT) + return "MAT"; + if (code == V3EntityClass.CHEM) + return "CHEM"; + if (code == V3EntityClass.FOOD) + return "FOOD"; + if (code == V3EntityClass.MMAT) + return "MMAT"; + if (code == V3EntityClass.CONT) + return "CONT"; + if (code == V3EntityClass.HOLD) + return "HOLD"; + if (code == V3EntityClass.DEV) + return "DEV"; + if (code == V3EntityClass.CER) + return "CER"; + if (code == V3EntityClass.MODDV) + return "MODDV"; + if (code == V3EntityClass.ORG) + return "ORG"; + if (code == V3EntityClass.PUB) + return "PUB"; + if (code == V3EntityClass.STATE) + return "STATE"; + if (code == V3EntityClass.NAT) + return "NAT"; + if (code == V3EntityClass.PLC) + return "PLC"; + if (code == V3EntityClass.CITY) + return "CITY"; + if (code == V3EntityClass.COUNTRY) + return "COUNTRY"; + if (code == V3EntityClass.COUNTY) + return "COUNTY"; + if (code == V3EntityClass.PROVINCE) + return "PROVINCE"; + if (code == V3EntityClass.RGRP) + return "RGRP"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCode.java new file mode 100644 index 00000000000..25e2c09a85b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCode.java @@ -0,0 +1,1362 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityCode { + + /** + * Types of Material for EntityClass "MAT" + */ + _MATERIALENTITYCLASSTYPE, + /** + * Material intended to hold another material for purpose of storage or transport. + */ + _CONTAINERENTITYTYPE, + /** + * A material intended to hold other materials for purposes of storage or transportation + */ + PKG, + /** + * A container having dimensions that adjust somewhat based on the amount and shape of the material placed within it. + */ + _NONRIGIDCONTAINERENTITYTYPE, + /** + * A pouched or pendulous container. + */ + BAG, + /** + * A paper + */ + PACKT, + /** + * A small bag or container made of a soft material. + */ + PCH, + /** + * A small bag or packet containing a small portion of a substance. + */ + SACH, + /** + * A container having a fixed and inflexible dimensions and volume + */ + _RIGIDCONTAINERENTITYTYPE, + /** + * Container intended to contain sufficient material for only one use. + */ + _INDIVIDUALPACKAGEENTITYTYPE, + /** + * A small sealed glass container that holds a measured amount of a medicinal substance. + */ + AMP, + /** + * Individually dosed ophthalmic solution. One time eye dropper dispenser. + */ + MINIM, + /** + * Individually dosed inhalation solution. + */ + NEBAMP, + /** + * A container either glass or plastic and a narrow neck, for storing liquid. + */ + OVUL, + /** + * A container intended to contain sufficient material for more than one use. (I.e. Material is intended to be removed from the container at more than one discrete time period.) + */ + _MULTIUSECONTAINERENTITYTYPE, + /** + * A container, typically rounded, either glass or plastic with a narrow neck and capable of storing liquid. + */ + BOT, + /** + * A bottle of yellow to brown color. Used to store light-sensitive materials + */ + BOTA, + /** + * A bottle with a cap designed to release the contained liquid in droplets of a specific size. + */ + BOTD, + /** + * A bottle made of glass + */ + BOTG, + /** + * A bottle made of plastic + */ + BOTP, + /** + * A bottle made of polyethylene + */ + BOTPLY, + /** + * A 6-sided container commonly made from paper or cardboard used for solid forms. + */ + BOX, + /** + * A metal container in which a material is hermetically sealed to enable storage over long periods. + */ + CAN, + /** + * A sealed container of liquid or powder intended to be loaded into a device. + */ + CART, + /** + * A pressurized metal container holding a substance released as a spray or aerosol. + */ + CNSTR, + /** + * A container of glass, earthenware, plastic, etc. Top of the container has a diameter of similar size to the diameter of the container as a whole + */ + JAR, + /** + * A deep vessel for holding liquids, with a handle and often with a spout or lip shape for pouring. + */ + JUG, + /** + * A lidded container made of thin sheet metal. + */ + TIN, + /** + * An open flat bottomed round container. + */ + TUB, + /** + * A long hollow rigid or flexible cylinder. Material is extruded by squeezing the container. + */ + TUBE, + /** + * A small cylindrical glass for holding liquid medicines. + */ + VIAL, + /** + * A bubblepack. Medications sealed individually, separated into doses. + */ + BLSTRPK, + /** + * A bubble pack card. Multiple individual/separated doses. + */ + CARD, + /** + * A container intended to contain sufficient material for more than one use, but grouped or organized to provide individual access to sufficient material for a single use. Often used to ensure that the proper type and amount of material is consumed/expended for each use. + */ + COMPPKG, + /** + * Rotatable dispenser. Eg. Birth control package. + */ + DIALPK, + /** + * Object that is thin, flat, and circular. Doses of medication often contained in bubbles on the disk. + */ + DISK, + /** + * Special packaging that will help patients take their medications on a regular basis. + */ + DOSET, + /** + * A continuous strip of plastic sectioned into individual pouches, each one containing the quantity of 1 or more medications intended to be administered at a specific time + */ + STRIP, + /** + * A container for a diverse collection of products intended to be used together for some purpose (e.g. Medicinal kits often contain a syringe, a needle and the injectable medication). + */ + KIT, + /** + * A kit in which the components are interconnected. + */ + SYSTM, + /** + * A device with direct or indirect therapeutic purpose. Values for EntityCode when EntityClass = "DEV" + */ + _MEDICALDEVICE, + /** + * A device used to allow access to a part of a body + */ + _ACCESSMEDICALDEVICE, + /** + * A hollow tube used to administer a substance into a vein, artery or body cavity + */ + LINE, + /** + * A line used to administer a substance into an artery + */ + IALINE, + /** + * A line used to administer a substance into a vein + */ + IVLINE, + /** + * A device intended to administer a substance to a subject + */ + _ADMINISTRATIONMEDICALDEVICE, + /** + * A device intended to administer liquid into a subject via a + */ + _INJECTIONMEDICALDEVICE, + /** + * Automatically injects medication. + */ + AINJ, + /** + * A device which can contain a cartridge for injection purposes. Eg. Insulin pen. + */ + PEN, + /** + * A barrel with a plunger. + */ + SYR, + /** + * A device used to apply a liquid or powder to a surface. + */ + APLCTR, + /** + * A small device used for inhaling medicine in the form of a vapour or gas in order to ease a respiratory condition such as asthma or to relieve nasal congestion. + */ + INH, + /** + * The device used to inhale the doses of medication contained in the disk form. + */ + DSKS, + /** + * The device used to inhale the doses of medication contained in the disk form. + */ + DSKUNH, + /** + * Asthma medication delivery device. + */ + TRBINH, + /** + * A device that is used to raise, compress, or transfer liquids or gases and is operated by a piston or similar mechanism. + */ + PMP, + /** + * Set of codes related to specimen additives + */ + _SPECIMENADDITIVEENTITY, + /** + * ACD Solution A of trisodium citrate, 22.0g/L; citric acid, 8.0 g/L; and dextrose 24.5 g/L. Used in Blood banking and histocompatibilty testing + */ + ACDA, + /** + * ACD Solution B of trisodium citrate, 13.2g/L; citric acid, 4.8 g/L; and dextrose 14.7 g/L. Used in Blood banking and histocompatibilty testing. + */ + ACDB, + /** + * 50% V/V acetic acid in water. Used as a urine preservative + */ + ACET, + /** + * Sodium Chloride 3.0g, Potassium Chloride 0.2g, Calcium Chloride 0.1g, Magnesium Chloride 0.1g, Monopotassium Phosphate 0.2g, Disodium Phosphate 1.15g, Sodium Thiogly collate 1.0g, Distilled Water 1 liter + */ + AMIES, + /** + * Any medium used to maintain bacterial viability (e.g. Stuart's, Cary-Blair, Amies) + */ + BACTM, + /** + * Formaldehyde 4% w/v; methyl alcohol 1% w/v; phosphate buffering salts. Tissue preservative + */ + BF10, + /** + * Powdered boric acid (usually 10 g) added to 24-hour urine collections as a preservative. + */ + BOR, + /** + * Picric acid, saturated aqueous solution (750.0 ml), 37-40% formalin (250.0 ml), glacial acetic acid (50.0 ml). Tissue preservative. + */ + BOUIN, + /** + * 50% skim milk in 0.01 M phosphate-buffered saline. Maintain virus viability + */ + BSKM, + /** + * A 3.2% solution of Sodium Citrate in water. Used as a blood preservative + */ + C32, + /** + * A 3.8% solution of Sodium Citrate in water. Used as a blood preservative + */ + C38, + /** + * A modification of buffered 10% formalin used as a general tissue preservative. + */ + CARS, + /** + * Sodium Thioglycollate 1.5 g, Disodium Hydrogen Phosphate 1.1 g, Sodium Chloride 5.0 g, Calcium Chloride 0.09 g, Agar 5.0 g, per Liter of Water + */ + CARY, + /** + * Any of a number of non-nutritive buffered media used to maintain Chlamydia viability during transportation to the laboratory + */ + CHLTM, + /** + * Buffered tri-sodium citrate solution with theophylline, adenosine and dipyridamole + */ + CTAD, + /** + * Potassium EDTA 15% solution in water + */ + EDTK15, + /** + * Potassium EDTA 7.5% solution in water + */ + EDTK75, + /** + * Sodium fluoride and Disodium EDTA + */ + EDTN, + /** + * Any of a number of non-nutritive buffered media used to maintain enteric bacterial viability during transportation to the laboratory + */ + ENT, + /** + * A 10% v/v solution in water of formalin( a 37% solution of formaldehyde and water). Used for tissue preservation. + */ + F10, + /** + * Thrombin plus soybean trypsin inhibitor. For use in identifying fibrn degredation products. + */ + FDP, + /** + * Sodium fluoride, 10mg added as a urine preservative. + */ + FL10, + /** + * Sodium fluoride, 100mg added as a urine preservative. + */ + FL100, + /** + * A solution of HCl containing 6moles of hydrogen ion/L. Used as a Urine Preservative. + */ + HCL6, + /** + * Ammonium heparin + */ + HEPA, + /** + * Lithium heparin salt + */ + HEPL, + /** + * Sodium heparin salt + */ + HEPN, + /** + * 6N Nitric acid used to preserve urine for heavy metal analysis. + */ + HNO3, + /** + * A transport medium formulated to maintain Bordetella pertussis viability. + */ + JKM, + /** + * 5% Glutaraldehyde, 4% Formaldehyde in 0.08M buffer. Tissue preservation + */ + KARN, + /** + * Potassium oxalate and sodium fluoride in a 1.25:1 ratio + */ + KOX, + /** + * Iodoacetate lithium salt + */ + LIA, + /** + * Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with HEPES buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to + */ + M4, + /** + * Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Gentamicin and amphotericin B are used to inhibit c + */ + M4RT, + /** + * Modified Hank's balanced salt solution supplemented with protein stabilizers, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to inhibit c + */ + M5, + /** + * 1M potassium citrate, pH 7.0 2.5 ml, 0.1M magnesium sulfate 5.0 ml, 0.1M N-ethyl malemide 5.0 ml, dH2O 87.5 ml, ammonium sulfate 55gm. Preserve antigens for Immunofluorescence procedures + */ + MICHTM, + /** + * A buffered medium with ammonium sulfate added to preserve antigens for Immunofluorescence procedures + */ + MMDTM, + /** + * Sodium fluoride + */ + NAF, + /** + * No additive. Specifically identifes the specimen as having no additives. + */ + NONE, + /** + * 0.12 g NaCl, 0.004 g MgSO, 0.004 g, CaCl, 0.142 g Na2HPO4 and 0.136 g KH2PO4 per liter of distilled water. Maintain Acanthaoemba viability. + */ + PAGE, + /** + * Phenol. Urine preservative + */ + PHENOL, + /** + * Polyvinyl alcohol + */ + PVA, + /** + * A transport medium formulated to maintain Bordetella pertussis viability. + */ + RLM, + /** + * Diatomaceous earth. For glucose determination blood samples + */ + SILICA, + /** + * Sodium polyanethol sulfonate in saline. Anticomplementary and antiphagocytic properties. Used in blood culture collection. + */ + SPS, + /** + * Polymer separator gel with clot activator + */ + SST, + /** + * Sodium Glycerophosphate 10.0g, Calcium Chloride 0.1g, Mercaptoacetic Acid 1.0ml, Distilled Water 1 liter + */ + STUTM, + /** + * Thrombin. Accelerates clotting. + */ + THROM, + /** + * 2-Isopropyl-5-methyl phenol. A preservative for 24 Hr Urine samples + */ + THYMOL, + /** + * A nutritive medium with a reducing agent (sodium thioglycolate) which, due to a chemical reaction, removes oxygen from the broth. + */ + THYO, + /** + * Also known as Methylbenzene; Toluol; Phenylmethane. A preservative for 24 Hr Urine samples + */ + TOLU, + /** + * A buffered salt solution with antifungal agents added for the collection and transport of Ureaplasma specimens. + */ + URETM, + /** + * Sucrose 74.6g, Potassium hydrogenphosphate 0.52g, L-glutamic acid 0.72g, Bovine serum albumin 5.0g, Gentamicin 50mg, Potassium dihydrogenphosphate 1.25g, L-15 medium 9.9L, Water to 10L. Maintain Virus viability. + */ + VIRTM, + /** + * 3.8% Citrate buffered to a pH of 5.5 for Westergren Sedimentation Rate + */ + WEST, + /** + * A manufactured product that is produced from the raw blood oi a donor with the intention of using it in a recipient transfusion. + */ + BLDPRD, + /** + * A Type of medicine that creates an immune protection without the recipient experiencing the disease. + */ + VCCNE, + /** + * Indicates types of allergy and intolerance agents which are non-drugs. (E.g. foods, latex, etc.) + */ + _NONDRUGAGENTENTITY, + /** + * egg + */ + NDA01, + /** + * fish + */ + NDA02, + /** + * lactose + */ + NDA03, + /** + * peanut + */ + NDA04, + /** + * soy + */ + NDA05, + /** + * sulfites + */ + NDA06, + /** + * wheat or gluten + */ + NDA07, + /** + * isocyanates + */ + NDA08, + /** + * solvents + */ + NDA09, + /** + * oils + */ + NDA10, + /** + * venoms + */ + NDA11, + /** + * latex + */ + NDA12, + /** + * shellfish + */ + NDA13, + /** + * strawberries + */ + NDA14, + /** + * tomatoes + */ + NDA15, + /** + * dust + */ + NDA16, + /** + * dust mites + */ + NDA17, + /** + * Further classifies entities of classCode ORG. + */ + _ORGANIZATIONENTITYTYPE, + /** + * The group of persons who occupy a single housing unit. + */ + HHOLD, + /** + * Codes identifying nation states. Allows for finer grained specification of Entity with classcode <= NAT + + + Example:ISO3166 country codes. + */ + NAT, + /** + * An organization that provides religious rites of worship. + */ + RELIG, + /** + * Types of places for EntityClass "PLC" + */ + _PLACEENTITYTYPE, + /** + * The location of a bed + */ + BED, + /** + * The location of a building + */ + BLDG, + /** + * The location of a floor of a building + */ + FLOOR, + /** + * The location of a room + */ + ROOM, + /** + * The location of a wing of a building (e.g. East Wing). The same room number for the same floor number can be distinguished by wing number in some situations + */ + WING, + /** + * Codes to characterize a Resource Group using categories that typify its membership and/or function + + . + + + Example: PractitionerGroup + */ + _RESOURCEGROUPENTITYTYPE, + /** + * PractitionerGroup + */ + PRAC, + /** + * added to help the parsers + */ + NULL; + public static V3EntityCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_MaterialEntityClassType".equals(codeString)) + return _MATERIALENTITYCLASSTYPE; + if ("_ContainerEntityType".equals(codeString)) + return _CONTAINERENTITYTYPE; + if ("PKG".equals(codeString)) + return PKG; + if ("_NonRigidContainerEntityType".equals(codeString)) + return _NONRIGIDCONTAINERENTITYTYPE; + if ("BAG".equals(codeString)) + return BAG; + if ("PACKT".equals(codeString)) + return PACKT; + if ("PCH".equals(codeString)) + return PCH; + if ("SACH".equals(codeString)) + return SACH; + if ("_RigidContainerEntityType".equals(codeString)) + return _RIGIDCONTAINERENTITYTYPE; + if ("_IndividualPackageEntityType".equals(codeString)) + return _INDIVIDUALPACKAGEENTITYTYPE; + if ("AMP".equals(codeString)) + return AMP; + if ("MINIM".equals(codeString)) + return MINIM; + if ("NEBAMP".equals(codeString)) + return NEBAMP; + if ("OVUL".equals(codeString)) + return OVUL; + if ("_MultiUseContainerEntityType".equals(codeString)) + return _MULTIUSECONTAINERENTITYTYPE; + if ("BOT".equals(codeString)) + return BOT; + if ("BOTA".equals(codeString)) + return BOTA; + if ("BOTD".equals(codeString)) + return BOTD; + if ("BOTG".equals(codeString)) + return BOTG; + if ("BOTP".equals(codeString)) + return BOTP; + if ("BOTPLY".equals(codeString)) + return BOTPLY; + if ("BOX".equals(codeString)) + return BOX; + if ("CAN".equals(codeString)) + return CAN; + if ("CART".equals(codeString)) + return CART; + if ("CNSTR".equals(codeString)) + return CNSTR; + if ("JAR".equals(codeString)) + return JAR; + if ("JUG".equals(codeString)) + return JUG; + if ("TIN".equals(codeString)) + return TIN; + if ("TUB".equals(codeString)) + return TUB; + if ("TUBE".equals(codeString)) + return TUBE; + if ("VIAL".equals(codeString)) + return VIAL; + if ("BLSTRPK".equals(codeString)) + return BLSTRPK; + if ("CARD".equals(codeString)) + return CARD; + if ("COMPPKG".equals(codeString)) + return COMPPKG; + if ("DIALPK".equals(codeString)) + return DIALPK; + if ("DISK".equals(codeString)) + return DISK; + if ("DOSET".equals(codeString)) + return DOSET; + if ("STRIP".equals(codeString)) + return STRIP; + if ("KIT".equals(codeString)) + return KIT; + if ("SYSTM".equals(codeString)) + return SYSTM; + if ("_MedicalDevice".equals(codeString)) + return _MEDICALDEVICE; + if ("_AccessMedicalDevice".equals(codeString)) + return _ACCESSMEDICALDEVICE; + if ("LINE".equals(codeString)) + return LINE; + if ("IALINE".equals(codeString)) + return IALINE; + if ("IVLINE".equals(codeString)) + return IVLINE; + if ("_AdministrationMedicalDevice".equals(codeString)) + return _ADMINISTRATIONMEDICALDEVICE; + if ("_InjectionMedicalDevice".equals(codeString)) + return _INJECTIONMEDICALDEVICE; + if ("AINJ".equals(codeString)) + return AINJ; + if ("PEN".equals(codeString)) + return PEN; + if ("SYR".equals(codeString)) + return SYR; + if ("APLCTR".equals(codeString)) + return APLCTR; + if ("INH".equals(codeString)) + return INH; + if ("DSKS".equals(codeString)) + return DSKS; + if ("DSKUNH".equals(codeString)) + return DSKUNH; + if ("TRBINH".equals(codeString)) + return TRBINH; + if ("PMP".equals(codeString)) + return PMP; + if ("_SpecimenAdditiveEntity".equals(codeString)) + return _SPECIMENADDITIVEENTITY; + if ("ACDA".equals(codeString)) + return ACDA; + if ("ACDB".equals(codeString)) + return ACDB; + if ("ACET".equals(codeString)) + return ACET; + if ("AMIES".equals(codeString)) + return AMIES; + if ("BACTM".equals(codeString)) + return BACTM; + if ("BF10".equals(codeString)) + return BF10; + if ("BOR".equals(codeString)) + return BOR; + if ("BOUIN".equals(codeString)) + return BOUIN; + if ("BSKM".equals(codeString)) + return BSKM; + if ("C32".equals(codeString)) + return C32; + if ("C38".equals(codeString)) + return C38; + if ("CARS".equals(codeString)) + return CARS; + if ("CARY".equals(codeString)) + return CARY; + if ("CHLTM".equals(codeString)) + return CHLTM; + if ("CTAD".equals(codeString)) + return CTAD; + if ("EDTK15".equals(codeString)) + return EDTK15; + if ("EDTK75".equals(codeString)) + return EDTK75; + if ("EDTN".equals(codeString)) + return EDTN; + if ("ENT".equals(codeString)) + return ENT; + if ("F10".equals(codeString)) + return F10; + if ("FDP".equals(codeString)) + return FDP; + if ("FL10".equals(codeString)) + return FL10; + if ("FL100".equals(codeString)) + return FL100; + if ("HCL6".equals(codeString)) + return HCL6; + if ("HEPA".equals(codeString)) + return HEPA; + if ("HEPL".equals(codeString)) + return HEPL; + if ("HEPN".equals(codeString)) + return HEPN; + if ("HNO3".equals(codeString)) + return HNO3; + if ("JKM".equals(codeString)) + return JKM; + if ("KARN".equals(codeString)) + return KARN; + if ("KOX".equals(codeString)) + return KOX; + if ("LIA".equals(codeString)) + return LIA; + if ("M4".equals(codeString)) + return M4; + if ("M4RT".equals(codeString)) + return M4RT; + if ("M5".equals(codeString)) + return M5; + if ("MICHTM".equals(codeString)) + return MICHTM; + if ("MMDTM".equals(codeString)) + return MMDTM; + if ("NAF".equals(codeString)) + return NAF; + if ("NONE".equals(codeString)) + return NONE; + if ("PAGE".equals(codeString)) + return PAGE; + if ("PHENOL".equals(codeString)) + return PHENOL; + if ("PVA".equals(codeString)) + return PVA; + if ("RLM".equals(codeString)) + return RLM; + if ("SILICA".equals(codeString)) + return SILICA; + if ("SPS".equals(codeString)) + return SPS; + if ("SST".equals(codeString)) + return SST; + if ("STUTM".equals(codeString)) + return STUTM; + if ("THROM".equals(codeString)) + return THROM; + if ("THYMOL".equals(codeString)) + return THYMOL; + if ("THYO".equals(codeString)) + return THYO; + if ("TOLU".equals(codeString)) + return TOLU; + if ("URETM".equals(codeString)) + return URETM; + if ("VIRTM".equals(codeString)) + return VIRTM; + if ("WEST".equals(codeString)) + return WEST; + if ("BLDPRD".equals(codeString)) + return BLDPRD; + if ("VCCNE".equals(codeString)) + return VCCNE; + if ("_NonDrugAgentEntity".equals(codeString)) + return _NONDRUGAGENTENTITY; + if ("NDA01".equals(codeString)) + return NDA01; + if ("NDA02".equals(codeString)) + return NDA02; + if ("NDA03".equals(codeString)) + return NDA03; + if ("NDA04".equals(codeString)) + return NDA04; + if ("NDA05".equals(codeString)) + return NDA05; + if ("NDA06".equals(codeString)) + return NDA06; + if ("NDA07".equals(codeString)) + return NDA07; + if ("NDA08".equals(codeString)) + return NDA08; + if ("NDA09".equals(codeString)) + return NDA09; + if ("NDA10".equals(codeString)) + return NDA10; + if ("NDA11".equals(codeString)) + return NDA11; + if ("NDA12".equals(codeString)) + return NDA12; + if ("NDA13".equals(codeString)) + return NDA13; + if ("NDA14".equals(codeString)) + return NDA14; + if ("NDA15".equals(codeString)) + return NDA15; + if ("NDA16".equals(codeString)) + return NDA16; + if ("NDA17".equals(codeString)) + return NDA17; + if ("_OrganizationEntityType".equals(codeString)) + return _ORGANIZATIONENTITYTYPE; + if ("HHOLD".equals(codeString)) + return HHOLD; + if ("NAT".equals(codeString)) + return NAT; + if ("RELIG".equals(codeString)) + return RELIG; + if ("_PlaceEntityType".equals(codeString)) + return _PLACEENTITYTYPE; + if ("BED".equals(codeString)) + return BED; + if ("BLDG".equals(codeString)) + return BLDG; + if ("FLOOR".equals(codeString)) + return FLOOR; + if ("ROOM".equals(codeString)) + return ROOM; + if ("WING".equals(codeString)) + return WING; + if ("_ResourceGroupEntityType".equals(codeString)) + return _RESOURCEGROUPENTITYTYPE; + if ("PRAC".equals(codeString)) + return PRAC; + throw new Exception("Unknown V3EntityCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _MATERIALENTITYCLASSTYPE: return "_MaterialEntityClassType"; + case _CONTAINERENTITYTYPE: return "_ContainerEntityType"; + case PKG: return "PKG"; + case _NONRIGIDCONTAINERENTITYTYPE: return "_NonRigidContainerEntityType"; + case BAG: return "BAG"; + case PACKT: return "PACKT"; + case PCH: return "PCH"; + case SACH: return "SACH"; + case _RIGIDCONTAINERENTITYTYPE: return "_RigidContainerEntityType"; + case _INDIVIDUALPACKAGEENTITYTYPE: return "_IndividualPackageEntityType"; + case AMP: return "AMP"; + case MINIM: return "MINIM"; + case NEBAMP: return "NEBAMP"; + case OVUL: return "OVUL"; + case _MULTIUSECONTAINERENTITYTYPE: return "_MultiUseContainerEntityType"; + case BOT: return "BOT"; + case BOTA: return "BOTA"; + case BOTD: return "BOTD"; + case BOTG: return "BOTG"; + case BOTP: return "BOTP"; + case BOTPLY: return "BOTPLY"; + case BOX: return "BOX"; + case CAN: return "CAN"; + case CART: return "CART"; + case CNSTR: return "CNSTR"; + case JAR: return "JAR"; + case JUG: return "JUG"; + case TIN: return "TIN"; + case TUB: return "TUB"; + case TUBE: return "TUBE"; + case VIAL: return "VIAL"; + case BLSTRPK: return "BLSTRPK"; + case CARD: return "CARD"; + case COMPPKG: return "COMPPKG"; + case DIALPK: return "DIALPK"; + case DISK: return "DISK"; + case DOSET: return "DOSET"; + case STRIP: return "STRIP"; + case KIT: return "KIT"; + case SYSTM: return "SYSTM"; + case _MEDICALDEVICE: return "_MedicalDevice"; + case _ACCESSMEDICALDEVICE: return "_AccessMedicalDevice"; + case LINE: return "LINE"; + case IALINE: return "IALINE"; + case IVLINE: return "IVLINE"; + case _ADMINISTRATIONMEDICALDEVICE: return "_AdministrationMedicalDevice"; + case _INJECTIONMEDICALDEVICE: return "_InjectionMedicalDevice"; + case AINJ: return "AINJ"; + case PEN: return "PEN"; + case SYR: return "SYR"; + case APLCTR: return "APLCTR"; + case INH: return "INH"; + case DSKS: return "DSKS"; + case DSKUNH: return "DSKUNH"; + case TRBINH: return "TRBINH"; + case PMP: return "PMP"; + case _SPECIMENADDITIVEENTITY: return "_SpecimenAdditiveEntity"; + case ACDA: return "ACDA"; + case ACDB: return "ACDB"; + case ACET: return "ACET"; + case AMIES: return "AMIES"; + case BACTM: return "BACTM"; + case BF10: return "BF10"; + case BOR: return "BOR"; + case BOUIN: return "BOUIN"; + case BSKM: return "BSKM"; + case C32: return "C32"; + case C38: return "C38"; + case CARS: return "CARS"; + case CARY: return "CARY"; + case CHLTM: return "CHLTM"; + case CTAD: return "CTAD"; + case EDTK15: return "EDTK15"; + case EDTK75: return "EDTK75"; + case EDTN: return "EDTN"; + case ENT: return "ENT"; + case F10: return "F10"; + case FDP: return "FDP"; + case FL10: return "FL10"; + case FL100: return "FL100"; + case HCL6: return "HCL6"; + case HEPA: return "HEPA"; + case HEPL: return "HEPL"; + case HEPN: return "HEPN"; + case HNO3: return "HNO3"; + case JKM: return "JKM"; + case KARN: return "KARN"; + case KOX: return "KOX"; + case LIA: return "LIA"; + case M4: return "M4"; + case M4RT: return "M4RT"; + case M5: return "M5"; + case MICHTM: return "MICHTM"; + case MMDTM: return "MMDTM"; + case NAF: return "NAF"; + case NONE: return "NONE"; + case PAGE: return "PAGE"; + case PHENOL: return "PHENOL"; + case PVA: return "PVA"; + case RLM: return "RLM"; + case SILICA: return "SILICA"; + case SPS: return "SPS"; + case SST: return "SST"; + case STUTM: return "STUTM"; + case THROM: return "THROM"; + case THYMOL: return "THYMOL"; + case THYO: return "THYO"; + case TOLU: return "TOLU"; + case URETM: return "URETM"; + case VIRTM: return "VIRTM"; + case WEST: return "WEST"; + case BLDPRD: return "BLDPRD"; + case VCCNE: return "VCCNE"; + case _NONDRUGAGENTENTITY: return "_NonDrugAgentEntity"; + case NDA01: return "NDA01"; + case NDA02: return "NDA02"; + case NDA03: return "NDA03"; + case NDA04: return "NDA04"; + case NDA05: return "NDA05"; + case NDA06: return "NDA06"; + case NDA07: return "NDA07"; + case NDA08: return "NDA08"; + case NDA09: return "NDA09"; + case NDA10: return "NDA10"; + case NDA11: return "NDA11"; + case NDA12: return "NDA12"; + case NDA13: return "NDA13"; + case NDA14: return "NDA14"; + case NDA15: return "NDA15"; + case NDA16: return "NDA16"; + case NDA17: return "NDA17"; + case _ORGANIZATIONENTITYTYPE: return "_OrganizationEntityType"; + case HHOLD: return "HHOLD"; + case NAT: return "NAT"; + case RELIG: return "RELIG"; + case _PLACEENTITYTYPE: return "_PlaceEntityType"; + case BED: return "BED"; + case BLDG: return "BLDG"; + case FLOOR: return "FLOOR"; + case ROOM: return "ROOM"; + case WING: return "WING"; + case _RESOURCEGROUPENTITYTYPE: return "_ResourceGroupEntityType"; + case PRAC: return "PRAC"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityCode"; + } + public String getDefinition() { + switch (this) { + case _MATERIALENTITYCLASSTYPE: return "Types of Material for EntityClass 'MAT'"; + case _CONTAINERENTITYTYPE: return "Material intended to hold another material for purpose of storage or transport."; + case PKG: return "A material intended to hold other materials for purposes of storage or transportation"; + case _NONRIGIDCONTAINERENTITYTYPE: return "A container having dimensions that adjust somewhat based on the amount and shape of the material placed within it."; + case BAG: return "A pouched or pendulous container."; + case PACKT: return "A paper"; + case PCH: return "A small bag or container made of a soft material."; + case SACH: return "A small bag or packet containing a small portion of a substance."; + case _RIGIDCONTAINERENTITYTYPE: return "A container having a fixed and inflexible dimensions and volume"; + case _INDIVIDUALPACKAGEENTITYTYPE: return "Container intended to contain sufficient material for only one use."; + case AMP: return "A small sealed glass container that holds a measured amount of a medicinal substance."; + case MINIM: return "Individually dosed ophthalmic solution. One time eye dropper dispenser."; + case NEBAMP: return "Individually dosed inhalation solution."; + case OVUL: return "A container either glass or plastic and a narrow neck, for storing liquid."; + case _MULTIUSECONTAINERENTITYTYPE: return "A container intended to contain sufficient material for more than one use. (I.e. Material is intended to be removed from the container at more than one discrete time period.)"; + case BOT: return "A container, typically rounded, either glass or plastic with a narrow neck and capable of storing liquid."; + case BOTA: return "A bottle of yellow to brown color. Used to store light-sensitive materials"; + case BOTD: return "A bottle with a cap designed to release the contained liquid in droplets of a specific size."; + case BOTG: return "A bottle made of glass"; + case BOTP: return "A bottle made of plastic"; + case BOTPLY: return "A bottle made of polyethylene"; + case BOX: return "A 6-sided container commonly made from paper or cardboard used for solid forms."; + case CAN: return "A metal container in which a material is hermetically sealed to enable storage over long periods."; + case CART: return "A sealed container of liquid or powder intended to be loaded into a device."; + case CNSTR: return "A pressurized metal container holding a substance released as a spray or aerosol."; + case JAR: return "A container of glass, earthenware, plastic, etc. Top of the container has a diameter of similar size to the diameter of the container as a whole"; + case JUG: return "A deep vessel for holding liquids, with a handle and often with a spout or lip shape for pouring."; + case TIN: return "A lidded container made of thin sheet metal."; + case TUB: return "An open flat bottomed round container."; + case TUBE: return "A long hollow rigid or flexible cylinder. Material is extruded by squeezing the container."; + case VIAL: return "A small cylindrical glass for holding liquid medicines."; + case BLSTRPK: return "A bubblepack. Medications sealed individually, separated into doses."; + case CARD: return "A bubble pack card. Multiple individual/separated doses."; + case COMPPKG: return "A container intended to contain sufficient material for more than one use, but grouped or organized to provide individual access to sufficient material for a single use. Often used to ensure that the proper type and amount of material is consumed/expended for each use."; + case DIALPK: return "Rotatable dispenser. Eg. Birth control package."; + case DISK: return "Object that is thin, flat, and circular. Doses of medication often contained in bubbles on the disk."; + case DOSET: return "Special packaging that will help patients take their medications on a regular basis."; + case STRIP: return "A continuous strip of plastic sectioned into individual pouches, each one containing the quantity of 1 or more medications intended to be administered at a specific time"; + case KIT: return "A container for a diverse collection of products intended to be used together for some purpose (e.g. Medicinal kits often contain a syringe, a needle and the injectable medication)."; + case SYSTM: return "A kit in which the components are interconnected."; + case _MEDICALDEVICE: return "A device with direct or indirect therapeutic purpose. Values for EntityCode when EntityClass = 'DEV'"; + case _ACCESSMEDICALDEVICE: return "A device used to allow access to a part of a body"; + case LINE: return "A hollow tube used to administer a substance into a vein, artery or body cavity"; + case IALINE: return "A line used to administer a substance into an artery"; + case IVLINE: return "A line used to administer a substance into a vein"; + case _ADMINISTRATIONMEDICALDEVICE: return "A device intended to administer a substance to a subject"; + case _INJECTIONMEDICALDEVICE: return "A device intended to administer liquid into a subject via a"; + case AINJ: return "Automatically injects medication."; + case PEN: return "A device which can contain a cartridge for injection purposes. Eg. Insulin pen."; + case SYR: return "A barrel with a plunger."; + case APLCTR: return "A device used to apply a liquid or powder to a surface."; + case INH: return "A small device used for inhaling medicine in the form of a vapour or gas in order to ease a respiratory condition such as asthma or to relieve nasal congestion."; + case DSKS: return "The device used to inhale the doses of medication contained in the disk form."; + case DSKUNH: return "The device used to inhale the doses of medication contained in the disk form."; + case TRBINH: return "Asthma medication delivery device."; + case PMP: return "A device that is used to raise, compress, or transfer liquids or gases and is operated by a piston or similar mechanism."; + case _SPECIMENADDITIVEENTITY: return "Set of codes related to specimen additives"; + case ACDA: return "ACD Solution A of trisodium citrate, 22.0g/L; citric acid, 8.0 g/L; and dextrose 24.5 g/L. Used in Blood banking and histocompatibilty testing"; + case ACDB: return "ACD Solution B of trisodium citrate, 13.2g/L; citric acid, 4.8 g/L; and dextrose 14.7 g/L. Used in Blood banking and histocompatibilty testing."; + case ACET: return "50% V/V acetic acid in water. Used as a urine preservative"; + case AMIES: return "Sodium Chloride 3.0g, Potassium Chloride 0.2g, Calcium Chloride 0.1g, Magnesium Chloride 0.1g, Monopotassium Phosphate 0.2g, Disodium Phosphate 1.15g, Sodium Thiogly collate 1.0g, Distilled Water 1 liter"; + case BACTM: return "Any medium used to maintain bacterial viability (e.g. Stuart's, Cary-Blair, Amies)"; + case BF10: return "Formaldehyde 4% w/v; methyl alcohol 1% w/v; phosphate buffering salts. Tissue preservative"; + case BOR: return "Powdered boric acid (usually 10 g) added to 24-hour urine collections as a preservative."; + case BOUIN: return "Picric acid, saturated aqueous solution (750.0 ml), 37-40% formalin (250.0 ml), glacial acetic acid (50.0 ml). Tissue preservative."; + case BSKM: return "50% skim milk in 0.01 M phosphate-buffered saline. Maintain virus viability"; + case C32: return "A 3.2% solution of Sodium Citrate in water. Used as a blood preservative"; + case C38: return "A 3.8% solution of Sodium Citrate in water. Used as a blood preservative"; + case CARS: return "A modification of buffered 10% formalin used as a general tissue preservative."; + case CARY: return "Sodium Thioglycollate 1.5 g, Disodium Hydrogen Phosphate 1.1 g, Sodium Chloride 5.0 g, Calcium Chloride 0.09 g, Agar 5.0 g, per Liter of Water"; + case CHLTM: return "Any of a number of non-nutritive buffered media used to maintain Chlamydia viability during transportation to the laboratory"; + case CTAD: return "Buffered tri-sodium citrate solution with theophylline, adenosine and dipyridamole"; + case EDTK15: return "Potassium EDTA 15% solution in water"; + case EDTK75: return "Potassium EDTA 7.5% solution in water"; + case EDTN: return "Sodium fluoride and Disodium EDTA"; + case ENT: return "Any of a number of non-nutritive buffered media used to maintain enteric bacterial viability during transportation to the laboratory"; + case F10: return "A 10% v/v solution in water of formalin( a 37% solution of formaldehyde and water). Used for tissue preservation."; + case FDP: return "Thrombin plus soybean trypsin inhibitor. For use in identifying fibrn degredation products."; + case FL10: return "Sodium fluoride, 10mg added as a urine preservative."; + case FL100: return "Sodium fluoride, 100mg added as a urine preservative."; + case HCL6: return "A solution of HCl containing 6moles of hydrogen ion/L. Used as a Urine Preservative."; + case HEPA: return "Ammonium heparin"; + case HEPL: return "Lithium heparin salt"; + case HEPN: return "Sodium heparin salt"; + case HNO3: return "6N Nitric acid used to preserve urine for heavy metal analysis."; + case JKM: return "A transport medium formulated to maintain Bordetella pertussis viability."; + case KARN: return "5% Glutaraldehyde, 4% Formaldehyde in 0.08M buffer. Tissue preservation"; + case KOX: return "Potassium oxalate and sodium fluoride in a 1.25:1 ratio"; + case LIA: return "Iodoacetate lithium salt"; + case M4: return "Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with HEPES buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to"; + case M4RT: return "Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Gentamicin and amphotericin B are used to inhibit c"; + case M5: return "Modified Hank's balanced salt solution supplemented with protein stabilizers, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to inhibit c"; + case MICHTM: return "1M potassium citrate, pH 7.0 2.5 ml, 0.1M magnesium sulfate 5.0 ml, 0.1M N-ethyl malemide 5.0 ml, dH2O 87.5 ml, ammonium sulfate 55gm. Preserve antigens for Immunofluorescence procedures"; + case MMDTM: return "A buffered medium with ammonium sulfate added to preserve antigens for Immunofluorescence procedures"; + case NAF: return "Sodium fluoride"; + case NONE: return "No additive. Specifically identifes the specimen as having no additives."; + case PAGE: return "0.12 g NaCl, 0.004 g MgSO, 0.004 g, CaCl, 0.142 g Na2HPO4 and 0.136 g KH2PO4 per liter of distilled water. Maintain Acanthaoemba viability."; + case PHENOL: return "Phenol. Urine preservative"; + case PVA: return "Polyvinyl alcohol"; + case RLM: return "A transport medium formulated to maintain Bordetella pertussis viability."; + case SILICA: return "Diatomaceous earth. For glucose determination blood samples"; + case SPS: return "Sodium polyanethol sulfonate in saline. Anticomplementary and antiphagocytic properties. Used in blood culture collection."; + case SST: return "Polymer separator gel with clot activator"; + case STUTM: return "Sodium Glycerophosphate 10.0g, Calcium Chloride 0.1g, Mercaptoacetic Acid 1.0ml, Distilled Water 1 liter"; + case THROM: return "Thrombin. Accelerates clotting."; + case THYMOL: return "2-Isopropyl-5-methyl phenol. A preservative for 24 Hr Urine samples"; + case THYO: return "A nutritive medium with a reducing agent (sodium thioglycolate) which, due to a chemical reaction, removes oxygen from the broth."; + case TOLU: return "Also known as Methylbenzene; Toluol; Phenylmethane. A preservative for 24 Hr Urine samples"; + case URETM: return "A buffered salt solution with antifungal agents added for the collection and transport of Ureaplasma specimens."; + case VIRTM: return "Sucrose 74.6g, Potassium hydrogenphosphate 0.52g, L-glutamic acid 0.72g, Bovine serum albumin 5.0g, Gentamicin 50mg, Potassium dihydrogenphosphate 1.25g, L-15 medium 9.9L, Water to 10L. Maintain Virus viability."; + case WEST: return "3.8% Citrate buffered to a pH of 5.5 for Westergren Sedimentation Rate"; + case BLDPRD: return "A manufactured product that is produced from the raw blood oi a donor with the intention of using it in a recipient transfusion."; + case VCCNE: return "A Type of medicine that creates an immune protection without the recipient experiencing the disease."; + case _NONDRUGAGENTENTITY: return "Indicates types of allergy and intolerance agents which are non-drugs. (E.g. foods, latex, etc.)"; + case NDA01: return "egg"; + case NDA02: return "fish"; + case NDA03: return "lactose"; + case NDA04: return "peanut"; + case NDA05: return "soy"; + case NDA06: return "sulfites"; + case NDA07: return "wheat or gluten"; + case NDA08: return "isocyanates"; + case NDA09: return "solvents"; + case NDA10: return "oils"; + case NDA11: return "venoms"; + case NDA12: return "latex"; + case NDA13: return "shellfish"; + case NDA14: return "strawberries"; + case NDA15: return "tomatoes"; + case NDA16: return "dust"; + case NDA17: return "dust mites"; + case _ORGANIZATIONENTITYTYPE: return "Further classifies entities of classCode ORG."; + case HHOLD: return "The group of persons who occupy a single housing unit."; + case NAT: return "Codes identifying nation states. Allows for finer grained specification of Entity with classcode <= NAT\r\n\n \n Example:ISO3166 country codes."; + case RELIG: return "An organization that provides religious rites of worship."; + case _PLACEENTITYTYPE: return "Types of places for EntityClass 'PLC'"; + case BED: return "The location of a bed"; + case BLDG: return "The location of a building"; + case FLOOR: return "The location of a floor of a building"; + case ROOM: return "The location of a room"; + case WING: return "The location of a wing of a building (e.g. East Wing). The same room number for the same floor number can be distinguished by wing number in some situations"; + case _RESOURCEGROUPENTITYTYPE: return "Codes to characterize a Resource Group using categories that typify its membership and/or function\r\n\n .\r\n\n \n Example: PractitionerGroup"; + case PRAC: return "PractitionerGroup"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _MATERIALENTITYCLASSTYPE: return "MaterialEntityClassType"; + case _CONTAINERENTITYTYPE: return "ContainerEntityType"; + case PKG: return "Package"; + case _NONRIGIDCONTAINERENTITYTYPE: return "NonRigidContainerEntityType"; + case BAG: return "Bag"; + case PACKT: return "Packet"; + case PCH: return "Pouch"; + case SACH: return "Sachet"; + case _RIGIDCONTAINERENTITYTYPE: return "RigidContainerEntityType"; + case _INDIVIDUALPACKAGEENTITYTYPE: return "IndividualPackageEntityType"; + case AMP: return "Ampule"; + case MINIM: return "Minim"; + case NEBAMP: return "Nebuamp"; + case OVUL: return "Ovule"; + case _MULTIUSECONTAINERENTITYTYPE: return "MultiUseContainerEntityType"; + case BOT: return "Bottle"; + case BOTA: return "Amber Bottle"; + case BOTD: return "Dropper Bottle"; + case BOTG: return "Glass Bottle"; + case BOTP: return "Plastic Bottle"; + case BOTPLY: return "Polyethylene Bottle"; + case BOX: return "Box"; + case CAN: return "Can"; + case CART: return "Cartridge"; + case CNSTR: return "Canister"; + case JAR: return "Jar"; + case JUG: return "Jug"; + case TIN: return "Tin"; + case TUB: return "Tub"; + case TUBE: return "Tube"; + case VIAL: return "Vial"; + case BLSTRPK: return "Blister Pack"; + case CARD: return "Card"; + case COMPPKG: return "Compliance Package"; + case DIALPK: return "Dial Pack"; + case DISK: return "Disk"; + case DOSET: return "Dosette"; + case STRIP: return "Strip"; + case KIT: return "Kit"; + case SYSTM: return "System"; + case _MEDICALDEVICE: return "MedicalDevice"; + case _ACCESSMEDICALDEVICE: return "AccessMedicalDevice"; + case LINE: return "Line"; + case IALINE: return "Intra-arterial Line"; + case IVLINE: return "Intraveneous Line"; + case _ADMINISTRATIONMEDICALDEVICE: return "AdministrationMedicalDevice"; + case _INJECTIONMEDICALDEVICE: return "InjectionMedicalDevice"; + case AINJ: return "AutoInjector"; + case PEN: return "Pen"; + case SYR: return "Syringe"; + case APLCTR: return "Applicator"; + case INH: return "Inhaler"; + case DSKS: return "Diskus"; + case DSKUNH: return "Diskhaler"; + case TRBINH: return "Turbuhaler"; + case PMP: return "Pump"; + case _SPECIMENADDITIVEENTITY: return "SpecimenAdditiveEntity"; + case ACDA: return "ACD Solution A"; + case ACDB: return "ACD Solution B"; + case ACET: return "Acetic Acid"; + case AMIES: return "Amies transport medium"; + case BACTM: return "Bacterial Transport medium"; + case BF10: return "Buffered 10% formalin"; + case BOR: return "Boric Acid"; + case BOUIN: return "Bouin's solution"; + case BSKM: return "Buffered skim milk"; + case C32: return "3.2% Citrate"; + case C38: return "3.8% Citrate"; + case CARS: return "Carson's Modified 10% formalin"; + case CARY: return "Cary Blair Medium"; + case CHLTM: return "Chlamydia transport medium"; + case CTAD: return "CTAD"; + case EDTK15: return "Potassium/K EDTA 15%"; + case EDTK75: return "Potassium/K EDTA 7.5%"; + case EDTN: return "Sodium/Na EDTA"; + case ENT: return "Enteric bacteria transport medium"; + case F10: return "10% Formalin"; + case FDP: return "Thrombin NIH; soybean trypsin inhibitor"; + case FL10: return "Sodium Fluoride, 10mg"; + case FL100: return "Sodium Fluoride, 100mg"; + case HCL6: return "6N HCL"; + case HEPA: return "Ammonium heparin"; + case HEPL: return "Lithium/Li Heparin"; + case HEPN: return "Sodium/Na Heparin"; + case HNO3: return "Nitric Acid"; + case JKM: return "Jones Kendrick Medium"; + case KARN: return "Karnovsky's fixative"; + case KOX: return "Potassium Oxalate"; + case LIA: return "Lithium iodoacetate"; + case M4: return "M4"; + case M4RT: return "M4-RT"; + case M5: return "M5"; + case MICHTM: return "Michel's transport medium"; + case MMDTM: return "MMD transport medium"; + case NAF: return "Sodium Fluoride"; + case NONE: return "None"; + case PAGE: return "Page's Saline"; + case PHENOL: return "Phenol"; + case PVA: return "Polyvinylalcohol"; + case RLM: return "Reagan Lowe Medium"; + case SILICA: return "Siliceous earth"; + case SPS: return "Sodium polyanethol sulfonate 0.35% in 0.85% sodium chloride"; + case SST: return "Serum Separator Tube"; + case STUTM: return "Stuart transport medium"; + case THROM: return "Thrombin"; + case THYMOL: return "Thymol"; + case THYO: return "Thyoglycolate broth"; + case TOLU: return "Toluene"; + case URETM: return "Ureaplasma transport medium"; + case VIRTM: return "Viral Transport medium"; + case WEST: return "Buffered Citrate"; + case BLDPRD: return "Blood Product"; + case VCCNE: return "Vaccine"; + case _NONDRUGAGENTENTITY: return "NonDrugAgentEntity"; + case NDA01: return "egg"; + case NDA02: return "fish"; + case NDA03: return "lactose"; + case NDA04: return "peanut"; + case NDA05: return "soy"; + case NDA06: return "sulfites"; + case NDA07: return "wheat or gluten"; + case NDA08: return "isocyanates"; + case NDA09: return "solvents"; + case NDA10: return "oils"; + case NDA11: return "venoms"; + case NDA12: return "latex"; + case NDA13: return "shellfish"; + case NDA14: return "strawberries"; + case NDA15: return "tomatoes"; + case NDA16: return "dust"; + case NDA17: return "dust mites"; + case _ORGANIZATIONENTITYTYPE: return "OrganizationEntityType"; + case HHOLD: return "household"; + case NAT: return "NationEntityType"; + case RELIG: return "religious institution"; + case _PLACEENTITYTYPE: return "PlaceEntityType"; + case BED: return "Bed Location"; + case BLDG: return "Building Location"; + case FLOOR: return "Floor Location"; + case ROOM: return "Room Location"; + case WING: return "Wing Location"; + case _RESOURCEGROUPENTITYTYPE: return "ResourceGroupEntityType"; + case PRAC: return "PractitionerGroup"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCodeEnumFactory.java new file mode 100644 index 00000000000..06bec3bae58 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityCodeEnumFactory.java @@ -0,0 +1,623 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityCodeEnumFactory implements EnumFactory { + + public V3EntityCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_MaterialEntityClassType".equals(codeString)) + return V3EntityCode._MATERIALENTITYCLASSTYPE; + if ("_ContainerEntityType".equals(codeString)) + return V3EntityCode._CONTAINERENTITYTYPE; + if ("PKG".equals(codeString)) + return V3EntityCode.PKG; + if ("_NonRigidContainerEntityType".equals(codeString)) + return V3EntityCode._NONRIGIDCONTAINERENTITYTYPE; + if ("BAG".equals(codeString)) + return V3EntityCode.BAG; + if ("PACKT".equals(codeString)) + return V3EntityCode.PACKT; + if ("PCH".equals(codeString)) + return V3EntityCode.PCH; + if ("SACH".equals(codeString)) + return V3EntityCode.SACH; + if ("_RigidContainerEntityType".equals(codeString)) + return V3EntityCode._RIGIDCONTAINERENTITYTYPE; + if ("_IndividualPackageEntityType".equals(codeString)) + return V3EntityCode._INDIVIDUALPACKAGEENTITYTYPE; + if ("AMP".equals(codeString)) + return V3EntityCode.AMP; + if ("MINIM".equals(codeString)) + return V3EntityCode.MINIM; + if ("NEBAMP".equals(codeString)) + return V3EntityCode.NEBAMP; + if ("OVUL".equals(codeString)) + return V3EntityCode.OVUL; + if ("_MultiUseContainerEntityType".equals(codeString)) + return V3EntityCode._MULTIUSECONTAINERENTITYTYPE; + if ("BOT".equals(codeString)) + return V3EntityCode.BOT; + if ("BOTA".equals(codeString)) + return V3EntityCode.BOTA; + if ("BOTD".equals(codeString)) + return V3EntityCode.BOTD; + if ("BOTG".equals(codeString)) + return V3EntityCode.BOTG; + if ("BOTP".equals(codeString)) + return V3EntityCode.BOTP; + if ("BOTPLY".equals(codeString)) + return V3EntityCode.BOTPLY; + if ("BOX".equals(codeString)) + return V3EntityCode.BOX; + if ("CAN".equals(codeString)) + return V3EntityCode.CAN; + if ("CART".equals(codeString)) + return V3EntityCode.CART; + if ("CNSTR".equals(codeString)) + return V3EntityCode.CNSTR; + if ("JAR".equals(codeString)) + return V3EntityCode.JAR; + if ("JUG".equals(codeString)) + return V3EntityCode.JUG; + if ("TIN".equals(codeString)) + return V3EntityCode.TIN; + if ("TUB".equals(codeString)) + return V3EntityCode.TUB; + if ("TUBE".equals(codeString)) + return V3EntityCode.TUBE; + if ("VIAL".equals(codeString)) + return V3EntityCode.VIAL; + if ("BLSTRPK".equals(codeString)) + return V3EntityCode.BLSTRPK; + if ("CARD".equals(codeString)) + return V3EntityCode.CARD; + if ("COMPPKG".equals(codeString)) + return V3EntityCode.COMPPKG; + if ("DIALPK".equals(codeString)) + return V3EntityCode.DIALPK; + if ("DISK".equals(codeString)) + return V3EntityCode.DISK; + if ("DOSET".equals(codeString)) + return V3EntityCode.DOSET; + if ("STRIP".equals(codeString)) + return V3EntityCode.STRIP; + if ("KIT".equals(codeString)) + return V3EntityCode.KIT; + if ("SYSTM".equals(codeString)) + return V3EntityCode.SYSTM; + if ("_MedicalDevice".equals(codeString)) + return V3EntityCode._MEDICALDEVICE; + if ("_AccessMedicalDevice".equals(codeString)) + return V3EntityCode._ACCESSMEDICALDEVICE; + if ("LINE".equals(codeString)) + return V3EntityCode.LINE; + if ("IALINE".equals(codeString)) + return V3EntityCode.IALINE; + if ("IVLINE".equals(codeString)) + return V3EntityCode.IVLINE; + if ("_AdministrationMedicalDevice".equals(codeString)) + return V3EntityCode._ADMINISTRATIONMEDICALDEVICE; + if ("_InjectionMedicalDevice".equals(codeString)) + return V3EntityCode._INJECTIONMEDICALDEVICE; + if ("AINJ".equals(codeString)) + return V3EntityCode.AINJ; + if ("PEN".equals(codeString)) + return V3EntityCode.PEN; + if ("SYR".equals(codeString)) + return V3EntityCode.SYR; + if ("APLCTR".equals(codeString)) + return V3EntityCode.APLCTR; + if ("INH".equals(codeString)) + return V3EntityCode.INH; + if ("DSKS".equals(codeString)) + return V3EntityCode.DSKS; + if ("DSKUNH".equals(codeString)) + return V3EntityCode.DSKUNH; + if ("TRBINH".equals(codeString)) + return V3EntityCode.TRBINH; + if ("PMP".equals(codeString)) + return V3EntityCode.PMP; + if ("_SpecimenAdditiveEntity".equals(codeString)) + return V3EntityCode._SPECIMENADDITIVEENTITY; + if ("ACDA".equals(codeString)) + return V3EntityCode.ACDA; + if ("ACDB".equals(codeString)) + return V3EntityCode.ACDB; + if ("ACET".equals(codeString)) + return V3EntityCode.ACET; + if ("AMIES".equals(codeString)) + return V3EntityCode.AMIES; + if ("BACTM".equals(codeString)) + return V3EntityCode.BACTM; + if ("BF10".equals(codeString)) + return V3EntityCode.BF10; + if ("BOR".equals(codeString)) + return V3EntityCode.BOR; + if ("BOUIN".equals(codeString)) + return V3EntityCode.BOUIN; + if ("BSKM".equals(codeString)) + return V3EntityCode.BSKM; + if ("C32".equals(codeString)) + return V3EntityCode.C32; + if ("C38".equals(codeString)) + return V3EntityCode.C38; + if ("CARS".equals(codeString)) + return V3EntityCode.CARS; + if ("CARY".equals(codeString)) + return V3EntityCode.CARY; + if ("CHLTM".equals(codeString)) + return V3EntityCode.CHLTM; + if ("CTAD".equals(codeString)) + return V3EntityCode.CTAD; + if ("EDTK15".equals(codeString)) + return V3EntityCode.EDTK15; + if ("EDTK75".equals(codeString)) + return V3EntityCode.EDTK75; + if ("EDTN".equals(codeString)) + return V3EntityCode.EDTN; + if ("ENT".equals(codeString)) + return V3EntityCode.ENT; + if ("F10".equals(codeString)) + return V3EntityCode.F10; + if ("FDP".equals(codeString)) + return V3EntityCode.FDP; + if ("FL10".equals(codeString)) + return V3EntityCode.FL10; + if ("FL100".equals(codeString)) + return V3EntityCode.FL100; + if ("HCL6".equals(codeString)) + return V3EntityCode.HCL6; + if ("HEPA".equals(codeString)) + return V3EntityCode.HEPA; + if ("HEPL".equals(codeString)) + return V3EntityCode.HEPL; + if ("HEPN".equals(codeString)) + return V3EntityCode.HEPN; + if ("HNO3".equals(codeString)) + return V3EntityCode.HNO3; + if ("JKM".equals(codeString)) + return V3EntityCode.JKM; + if ("KARN".equals(codeString)) + return V3EntityCode.KARN; + if ("KOX".equals(codeString)) + return V3EntityCode.KOX; + if ("LIA".equals(codeString)) + return V3EntityCode.LIA; + if ("M4".equals(codeString)) + return V3EntityCode.M4; + if ("M4RT".equals(codeString)) + return V3EntityCode.M4RT; + if ("M5".equals(codeString)) + return V3EntityCode.M5; + if ("MICHTM".equals(codeString)) + return V3EntityCode.MICHTM; + if ("MMDTM".equals(codeString)) + return V3EntityCode.MMDTM; + if ("NAF".equals(codeString)) + return V3EntityCode.NAF; + if ("NONE".equals(codeString)) + return V3EntityCode.NONE; + if ("PAGE".equals(codeString)) + return V3EntityCode.PAGE; + if ("PHENOL".equals(codeString)) + return V3EntityCode.PHENOL; + if ("PVA".equals(codeString)) + return V3EntityCode.PVA; + if ("RLM".equals(codeString)) + return V3EntityCode.RLM; + if ("SILICA".equals(codeString)) + return V3EntityCode.SILICA; + if ("SPS".equals(codeString)) + return V3EntityCode.SPS; + if ("SST".equals(codeString)) + return V3EntityCode.SST; + if ("STUTM".equals(codeString)) + return V3EntityCode.STUTM; + if ("THROM".equals(codeString)) + return V3EntityCode.THROM; + if ("THYMOL".equals(codeString)) + return V3EntityCode.THYMOL; + if ("THYO".equals(codeString)) + return V3EntityCode.THYO; + if ("TOLU".equals(codeString)) + return V3EntityCode.TOLU; + if ("URETM".equals(codeString)) + return V3EntityCode.URETM; + if ("VIRTM".equals(codeString)) + return V3EntityCode.VIRTM; + if ("WEST".equals(codeString)) + return V3EntityCode.WEST; + if ("BLDPRD".equals(codeString)) + return V3EntityCode.BLDPRD; + if ("VCCNE".equals(codeString)) + return V3EntityCode.VCCNE; + if ("_NonDrugAgentEntity".equals(codeString)) + return V3EntityCode._NONDRUGAGENTENTITY; + if ("NDA01".equals(codeString)) + return V3EntityCode.NDA01; + if ("NDA02".equals(codeString)) + return V3EntityCode.NDA02; + if ("NDA03".equals(codeString)) + return V3EntityCode.NDA03; + if ("NDA04".equals(codeString)) + return V3EntityCode.NDA04; + if ("NDA05".equals(codeString)) + return V3EntityCode.NDA05; + if ("NDA06".equals(codeString)) + return V3EntityCode.NDA06; + if ("NDA07".equals(codeString)) + return V3EntityCode.NDA07; + if ("NDA08".equals(codeString)) + return V3EntityCode.NDA08; + if ("NDA09".equals(codeString)) + return V3EntityCode.NDA09; + if ("NDA10".equals(codeString)) + return V3EntityCode.NDA10; + if ("NDA11".equals(codeString)) + return V3EntityCode.NDA11; + if ("NDA12".equals(codeString)) + return V3EntityCode.NDA12; + if ("NDA13".equals(codeString)) + return V3EntityCode.NDA13; + if ("NDA14".equals(codeString)) + return V3EntityCode.NDA14; + if ("NDA15".equals(codeString)) + return V3EntityCode.NDA15; + if ("NDA16".equals(codeString)) + return V3EntityCode.NDA16; + if ("NDA17".equals(codeString)) + return V3EntityCode.NDA17; + if ("_OrganizationEntityType".equals(codeString)) + return V3EntityCode._ORGANIZATIONENTITYTYPE; + if ("HHOLD".equals(codeString)) + return V3EntityCode.HHOLD; + if ("NAT".equals(codeString)) + return V3EntityCode.NAT; + if ("RELIG".equals(codeString)) + return V3EntityCode.RELIG; + if ("_PlaceEntityType".equals(codeString)) + return V3EntityCode._PLACEENTITYTYPE; + if ("BED".equals(codeString)) + return V3EntityCode.BED; + if ("BLDG".equals(codeString)) + return V3EntityCode.BLDG; + if ("FLOOR".equals(codeString)) + return V3EntityCode.FLOOR; + if ("ROOM".equals(codeString)) + return V3EntityCode.ROOM; + if ("WING".equals(codeString)) + return V3EntityCode.WING; + if ("_ResourceGroupEntityType".equals(codeString)) + return V3EntityCode._RESOURCEGROUPENTITYTYPE; + if ("PRAC".equals(codeString)) + return V3EntityCode.PRAC; + throw new IllegalArgumentException("Unknown V3EntityCode code '"+codeString+"'"); + } + + public String toCode(V3EntityCode code) { + if (code == V3EntityCode._MATERIALENTITYCLASSTYPE) + return "_MaterialEntityClassType"; + if (code == V3EntityCode._CONTAINERENTITYTYPE) + return "_ContainerEntityType"; + if (code == V3EntityCode.PKG) + return "PKG"; + if (code == V3EntityCode._NONRIGIDCONTAINERENTITYTYPE) + return "_NonRigidContainerEntityType"; + if (code == V3EntityCode.BAG) + return "BAG"; + if (code == V3EntityCode.PACKT) + return "PACKT"; + if (code == V3EntityCode.PCH) + return "PCH"; + if (code == V3EntityCode.SACH) + return "SACH"; + if (code == V3EntityCode._RIGIDCONTAINERENTITYTYPE) + return "_RigidContainerEntityType"; + if (code == V3EntityCode._INDIVIDUALPACKAGEENTITYTYPE) + return "_IndividualPackageEntityType"; + if (code == V3EntityCode.AMP) + return "AMP"; + if (code == V3EntityCode.MINIM) + return "MINIM"; + if (code == V3EntityCode.NEBAMP) + return "NEBAMP"; + if (code == V3EntityCode.OVUL) + return "OVUL"; + if (code == V3EntityCode._MULTIUSECONTAINERENTITYTYPE) + return "_MultiUseContainerEntityType"; + if (code == V3EntityCode.BOT) + return "BOT"; + if (code == V3EntityCode.BOTA) + return "BOTA"; + if (code == V3EntityCode.BOTD) + return "BOTD"; + if (code == V3EntityCode.BOTG) + return "BOTG"; + if (code == V3EntityCode.BOTP) + return "BOTP"; + if (code == V3EntityCode.BOTPLY) + return "BOTPLY"; + if (code == V3EntityCode.BOX) + return "BOX"; + if (code == V3EntityCode.CAN) + return "CAN"; + if (code == V3EntityCode.CART) + return "CART"; + if (code == V3EntityCode.CNSTR) + return "CNSTR"; + if (code == V3EntityCode.JAR) + return "JAR"; + if (code == V3EntityCode.JUG) + return "JUG"; + if (code == V3EntityCode.TIN) + return "TIN"; + if (code == V3EntityCode.TUB) + return "TUB"; + if (code == V3EntityCode.TUBE) + return "TUBE"; + if (code == V3EntityCode.VIAL) + return "VIAL"; + if (code == V3EntityCode.BLSTRPK) + return "BLSTRPK"; + if (code == V3EntityCode.CARD) + return "CARD"; + if (code == V3EntityCode.COMPPKG) + return "COMPPKG"; + if (code == V3EntityCode.DIALPK) + return "DIALPK"; + if (code == V3EntityCode.DISK) + return "DISK"; + if (code == V3EntityCode.DOSET) + return "DOSET"; + if (code == V3EntityCode.STRIP) + return "STRIP"; + if (code == V3EntityCode.KIT) + return "KIT"; + if (code == V3EntityCode.SYSTM) + return "SYSTM"; + if (code == V3EntityCode._MEDICALDEVICE) + return "_MedicalDevice"; + if (code == V3EntityCode._ACCESSMEDICALDEVICE) + return "_AccessMedicalDevice"; + if (code == V3EntityCode.LINE) + return "LINE"; + if (code == V3EntityCode.IALINE) + return "IALINE"; + if (code == V3EntityCode.IVLINE) + return "IVLINE"; + if (code == V3EntityCode._ADMINISTRATIONMEDICALDEVICE) + return "_AdministrationMedicalDevice"; + if (code == V3EntityCode._INJECTIONMEDICALDEVICE) + return "_InjectionMedicalDevice"; + if (code == V3EntityCode.AINJ) + return "AINJ"; + if (code == V3EntityCode.PEN) + return "PEN"; + if (code == V3EntityCode.SYR) + return "SYR"; + if (code == V3EntityCode.APLCTR) + return "APLCTR"; + if (code == V3EntityCode.INH) + return "INH"; + if (code == V3EntityCode.DSKS) + return "DSKS"; + if (code == V3EntityCode.DSKUNH) + return "DSKUNH"; + if (code == V3EntityCode.TRBINH) + return "TRBINH"; + if (code == V3EntityCode.PMP) + return "PMP"; + if (code == V3EntityCode._SPECIMENADDITIVEENTITY) + return "_SpecimenAdditiveEntity"; + if (code == V3EntityCode.ACDA) + return "ACDA"; + if (code == V3EntityCode.ACDB) + return "ACDB"; + if (code == V3EntityCode.ACET) + return "ACET"; + if (code == V3EntityCode.AMIES) + return "AMIES"; + if (code == V3EntityCode.BACTM) + return "BACTM"; + if (code == V3EntityCode.BF10) + return "BF10"; + if (code == V3EntityCode.BOR) + return "BOR"; + if (code == V3EntityCode.BOUIN) + return "BOUIN"; + if (code == V3EntityCode.BSKM) + return "BSKM"; + if (code == V3EntityCode.C32) + return "C32"; + if (code == V3EntityCode.C38) + return "C38"; + if (code == V3EntityCode.CARS) + return "CARS"; + if (code == V3EntityCode.CARY) + return "CARY"; + if (code == V3EntityCode.CHLTM) + return "CHLTM"; + if (code == V3EntityCode.CTAD) + return "CTAD"; + if (code == V3EntityCode.EDTK15) + return "EDTK15"; + if (code == V3EntityCode.EDTK75) + return "EDTK75"; + if (code == V3EntityCode.EDTN) + return "EDTN"; + if (code == V3EntityCode.ENT) + return "ENT"; + if (code == V3EntityCode.F10) + return "F10"; + if (code == V3EntityCode.FDP) + return "FDP"; + if (code == V3EntityCode.FL10) + return "FL10"; + if (code == V3EntityCode.FL100) + return "FL100"; + if (code == V3EntityCode.HCL6) + return "HCL6"; + if (code == V3EntityCode.HEPA) + return "HEPA"; + if (code == V3EntityCode.HEPL) + return "HEPL"; + if (code == V3EntityCode.HEPN) + return "HEPN"; + if (code == V3EntityCode.HNO3) + return "HNO3"; + if (code == V3EntityCode.JKM) + return "JKM"; + if (code == V3EntityCode.KARN) + return "KARN"; + if (code == V3EntityCode.KOX) + return "KOX"; + if (code == V3EntityCode.LIA) + return "LIA"; + if (code == V3EntityCode.M4) + return "M4"; + if (code == V3EntityCode.M4RT) + return "M4RT"; + if (code == V3EntityCode.M5) + return "M5"; + if (code == V3EntityCode.MICHTM) + return "MICHTM"; + if (code == V3EntityCode.MMDTM) + return "MMDTM"; + if (code == V3EntityCode.NAF) + return "NAF"; + if (code == V3EntityCode.NONE) + return "NONE"; + if (code == V3EntityCode.PAGE) + return "PAGE"; + if (code == V3EntityCode.PHENOL) + return "PHENOL"; + if (code == V3EntityCode.PVA) + return "PVA"; + if (code == V3EntityCode.RLM) + return "RLM"; + if (code == V3EntityCode.SILICA) + return "SILICA"; + if (code == V3EntityCode.SPS) + return "SPS"; + if (code == V3EntityCode.SST) + return "SST"; + if (code == V3EntityCode.STUTM) + return "STUTM"; + if (code == V3EntityCode.THROM) + return "THROM"; + if (code == V3EntityCode.THYMOL) + return "THYMOL"; + if (code == V3EntityCode.THYO) + return "THYO"; + if (code == V3EntityCode.TOLU) + return "TOLU"; + if (code == V3EntityCode.URETM) + return "URETM"; + if (code == V3EntityCode.VIRTM) + return "VIRTM"; + if (code == V3EntityCode.WEST) + return "WEST"; + if (code == V3EntityCode.BLDPRD) + return "BLDPRD"; + if (code == V3EntityCode.VCCNE) + return "VCCNE"; + if (code == V3EntityCode._NONDRUGAGENTENTITY) + return "_NonDrugAgentEntity"; + if (code == V3EntityCode.NDA01) + return "NDA01"; + if (code == V3EntityCode.NDA02) + return "NDA02"; + if (code == V3EntityCode.NDA03) + return "NDA03"; + if (code == V3EntityCode.NDA04) + return "NDA04"; + if (code == V3EntityCode.NDA05) + return "NDA05"; + if (code == V3EntityCode.NDA06) + return "NDA06"; + if (code == V3EntityCode.NDA07) + return "NDA07"; + if (code == V3EntityCode.NDA08) + return "NDA08"; + if (code == V3EntityCode.NDA09) + return "NDA09"; + if (code == V3EntityCode.NDA10) + return "NDA10"; + if (code == V3EntityCode.NDA11) + return "NDA11"; + if (code == V3EntityCode.NDA12) + return "NDA12"; + if (code == V3EntityCode.NDA13) + return "NDA13"; + if (code == V3EntityCode.NDA14) + return "NDA14"; + if (code == V3EntityCode.NDA15) + return "NDA15"; + if (code == V3EntityCode.NDA16) + return "NDA16"; + if (code == V3EntityCode.NDA17) + return "NDA17"; + if (code == V3EntityCode._ORGANIZATIONENTITYTYPE) + return "_OrganizationEntityType"; + if (code == V3EntityCode.HHOLD) + return "HHOLD"; + if (code == V3EntityCode.NAT) + return "NAT"; + if (code == V3EntityCode.RELIG) + return "RELIG"; + if (code == V3EntityCode._PLACEENTITYTYPE) + return "_PlaceEntityType"; + if (code == V3EntityCode.BED) + return "BED"; + if (code == V3EntityCode.BLDG) + return "BLDG"; + if (code == V3EntityCode.FLOOR) + return "FLOOR"; + if (code == V3EntityCode.ROOM) + return "ROOM"; + if (code == V3EntityCode.WING) + return "WING"; + if (code == V3EntityCode._RESOURCEGROUPENTITYTYPE) + return "_ResourceGroupEntityType"; + if (code == V3EntityCode.PRAC) + return "PRAC"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminer.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminer.java new file mode 100644 index 00000000000..04b2c342f1c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminer.java @@ -0,0 +1,106 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityDeterminer { + + /** + * Description:A determiner that specifies that the Entity object represents a particular physical thing (as opposed to a universal, kind, or class of physical thing). + + + Discussion: It does not matter whether an INSTANCE still exists as a whole at the point in time (or process) when we mention it, for example, a drug product lot is an INSTANCE even though it has been portioned out for retail purpose. + */ + INSTANCE, + /** + * A determiner that specifies that the Entity object represents a particular collection of physical things (as opposed to a universal, kind, or class of physical thing). While the collection may resolve to having only a single individual (or even no individuals), the potential should exist for it to cover multiple individuals. + */ + GROUP, + /** + * Description:A determiner that specifies that the Entity object represents a universal, kind or class of physical thing (as opposed to a particular thing). + */ + KIND, + /** + * A determiner that specifies that the Entity object represents a universal, kind or class of collections physical things. While the collection may resolve to having only a single individual (or even no individuals), the potential should exist for it to cover multiple individuals. + */ + GROUPKIND, + /** + * added to help the parsers + */ + NULL; + public static V3EntityDeterminer fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("INSTANCE".equals(codeString)) + return INSTANCE; + if ("GROUP".equals(codeString)) + return GROUP; + if ("KIND".equals(codeString)) + return KIND; + if ("GROUPKIND".equals(codeString)) + return GROUPKIND; + throw new Exception("Unknown V3EntityDeterminer code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case INSTANCE: return "INSTANCE"; + case GROUP: return "GROUP"; + case KIND: return "KIND"; + case GROUPKIND: return "GROUPKIND"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityDeterminer"; + } + public String getDefinition() { + switch (this) { + case INSTANCE: return "Description:A determiner that specifies that the Entity object represents a particular physical thing (as opposed to a universal, kind, or class of physical thing).\r\n\n \n Discussion: It does not matter whether an INSTANCE still exists as a whole at the point in time (or process) when we mention it, for example, a drug product lot is an INSTANCE even though it has been portioned out for retail purpose."; + case GROUP: return "A determiner that specifies that the Entity object represents a particular collection of physical things (as opposed to a universal, kind, or class of physical thing). While the collection may resolve to having only a single individual (or even no individuals), the potential should exist for it to cover multiple individuals."; + case KIND: return "Description:A determiner that specifies that the Entity object represents a universal, kind or class of physical thing (as opposed to a particular thing)."; + case GROUPKIND: return "A determiner that specifies that the Entity object represents a universal, kind or class of collections physical things. While the collection may resolve to having only a single individual (or even no individuals), the potential should exist for it to cover multiple individuals."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case INSTANCE: return "specific"; + case GROUP: return "specific group"; + case KIND: return "described"; + case GROUPKIND: return "described group"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminerEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminerEnumFactory.java new file mode 100644 index 00000000000..8b91fbe1d7c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityDeterminerEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityDeterminerEnumFactory implements EnumFactory { + + public V3EntityDeterminer fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("INSTANCE".equals(codeString)) + return V3EntityDeterminer.INSTANCE; + if ("GROUP".equals(codeString)) + return V3EntityDeterminer.GROUP; + if ("KIND".equals(codeString)) + return V3EntityDeterminer.KIND; + if ("GROUPKIND".equals(codeString)) + return V3EntityDeterminer.GROUPKIND; + throw new IllegalArgumentException("Unknown V3EntityDeterminer code '"+codeString+"'"); + } + + public String toCode(V3EntityDeterminer code) { + if (code == V3EntityDeterminer.INSTANCE) + return "INSTANCE"; + if (code == V3EntityDeterminer.GROUP) + return "GROUP"; + if (code == V3EntityDeterminer.KIND) + return "KIND"; + if (code == V3EntityDeterminer.GROUPKIND) + return "GROUPKIND"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandling.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandling.java new file mode 100644 index 00000000000..7aff910b988 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandling.java @@ -0,0 +1,229 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityHandling { + + /** + * Keep at ambient temperature, 22 +/- 2C + */ + AMB, + /** + * Critical to keep at body temperature 36-38C + */ + C37, + /** + * Critical ambient - must not be refrigerated or frozen. + */ + CAMB, + /** + * Critical. Do not expose to atmosphere. Do not uncap. + */ + CATM, + /** + * Critical frozen. Specimen must not be allowed to thaw until immediately prior to testing. + */ + CFRZ, + /** + * Critical refrigerated - must not be allowed to freeze or warm until imediately prior to testing. + */ + CREF, + /** + * Deep Frozen -16 to -20C. + */ + DFRZ, + /** + * Keep in a dry environment + */ + DRY, + /** + * Keep frozen below 0 ?C + */ + FRZ, + /** + * Container is free of heavy metals, including lead. + */ + MTLF, + /** + * Keep in liquid nitrogen + */ + NTR, + /** + * Protect from light (eg. Wrap in aluminum foil). + */ + PRTL, + /** + * Do not shake + */ + PSA, + /** + * Protect against shock + */ + PSO, + /** + * Keep at refrigerated temperature:4-8C Accidental warming or freezing is of little consequence. + */ + REF, + /** + * Shake thoroughly before using + */ + SBU, + /** + * Ultra cold frozen -75 to -85C. Ultra cold freezer is typically at temperature of dry ice. + */ + UFRZ, + /** + * Keep upright, do not turn upside down + */ + UPR, + /** + * added to help the parsers + */ + NULL; + public static V3EntityHandling fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AMB".equals(codeString)) + return AMB; + if ("C37".equals(codeString)) + return C37; + if ("CAMB".equals(codeString)) + return CAMB; + if ("CATM".equals(codeString)) + return CATM; + if ("CFRZ".equals(codeString)) + return CFRZ; + if ("CREF".equals(codeString)) + return CREF; + if ("DFRZ".equals(codeString)) + return DFRZ; + if ("DRY".equals(codeString)) + return DRY; + if ("FRZ".equals(codeString)) + return FRZ; + if ("MTLF".equals(codeString)) + return MTLF; + if ("NTR".equals(codeString)) + return NTR; + if ("PRTL".equals(codeString)) + return PRTL; + if ("PSA".equals(codeString)) + return PSA; + if ("PSO".equals(codeString)) + return PSO; + if ("REF".equals(codeString)) + return REF; + if ("SBU".equals(codeString)) + return SBU; + if ("UFRZ".equals(codeString)) + return UFRZ; + if ("UPR".equals(codeString)) + return UPR; + throw new Exception("Unknown V3EntityHandling code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AMB: return "AMB"; + case C37: return "C37"; + case CAMB: return "CAMB"; + case CATM: return "CATM"; + case CFRZ: return "CFRZ"; + case CREF: return "CREF"; + case DFRZ: return "DFRZ"; + case DRY: return "DRY"; + case FRZ: return "FRZ"; + case MTLF: return "MTLF"; + case NTR: return "NTR"; + case PRTL: return "PRTL"; + case PSA: return "PSA"; + case PSO: return "PSO"; + case REF: return "REF"; + case SBU: return "SBU"; + case UFRZ: return "UFRZ"; + case UPR: return "UPR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityHandling"; + } + public String getDefinition() { + switch (this) { + case AMB: return "Keep at ambient temperature, 22 +/- 2C"; + case C37: return "Critical to keep at body temperature 36-38C"; + case CAMB: return "Critical ambient - must not be refrigerated or frozen."; + case CATM: return "Critical. Do not expose to atmosphere. Do not uncap."; + case CFRZ: return "Critical frozen. Specimen must not be allowed to thaw until immediately prior to testing."; + case CREF: return "Critical refrigerated - must not be allowed to freeze or warm until imediately prior to testing."; + case DFRZ: return "Deep Frozen -16 to -20C."; + case DRY: return "Keep in a dry environment"; + case FRZ: return "Keep frozen below 0 ?C"; + case MTLF: return "Container is free of heavy metals, including lead."; + case NTR: return "Keep in liquid nitrogen"; + case PRTL: return "Protect from light (eg. Wrap in aluminum foil)."; + case PSA: return "Do not shake"; + case PSO: return "Protect against shock"; + case REF: return "Keep at refrigerated temperature:4-8C Accidental warming or freezing is of little consequence."; + case SBU: return "Shake thoroughly before using"; + case UFRZ: return "Ultra cold frozen -75 to -85C. Ultra cold freezer is typically at temperature of dry ice."; + case UPR: return "Keep upright, do not turn upside down"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AMB: return "Ambient Temperature"; + case C37: return "Body Temperature"; + case CAMB: return "Critical Ambient temperature"; + case CATM: return "Protect from Air"; + case CFRZ: return "Critical frozen"; + case CREF: return "Critical refrigerated temperature"; + case DFRZ: return "Deep Frozen"; + case DRY: return "dry"; + case FRZ: return "frozen"; + case MTLF: return "Metal Free"; + case NTR: return "nitrogen"; + case PRTL: return "Protect from Light"; + case PSA: return "do not shake"; + case PSO: return "no shock"; + case REF: return "Refrigerated temperature"; + case SBU: return "Shake before use"; + case UFRZ: return "Ultra frozen"; + case UPR: return "upright"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandlingEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandlingEnumFactory.java new file mode 100644 index 00000000000..8962a6f8dbc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityHandlingEnumFactory.java @@ -0,0 +1,123 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityHandlingEnumFactory implements EnumFactory { + + public V3EntityHandling fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AMB".equals(codeString)) + return V3EntityHandling.AMB; + if ("C37".equals(codeString)) + return V3EntityHandling.C37; + if ("CAMB".equals(codeString)) + return V3EntityHandling.CAMB; + if ("CATM".equals(codeString)) + return V3EntityHandling.CATM; + if ("CFRZ".equals(codeString)) + return V3EntityHandling.CFRZ; + if ("CREF".equals(codeString)) + return V3EntityHandling.CREF; + if ("DFRZ".equals(codeString)) + return V3EntityHandling.DFRZ; + if ("DRY".equals(codeString)) + return V3EntityHandling.DRY; + if ("FRZ".equals(codeString)) + return V3EntityHandling.FRZ; + if ("MTLF".equals(codeString)) + return V3EntityHandling.MTLF; + if ("NTR".equals(codeString)) + return V3EntityHandling.NTR; + if ("PRTL".equals(codeString)) + return V3EntityHandling.PRTL; + if ("PSA".equals(codeString)) + return V3EntityHandling.PSA; + if ("PSO".equals(codeString)) + return V3EntityHandling.PSO; + if ("REF".equals(codeString)) + return V3EntityHandling.REF; + if ("SBU".equals(codeString)) + return V3EntityHandling.SBU; + if ("UFRZ".equals(codeString)) + return V3EntityHandling.UFRZ; + if ("UPR".equals(codeString)) + return V3EntityHandling.UPR; + throw new IllegalArgumentException("Unknown V3EntityHandling code '"+codeString+"'"); + } + + public String toCode(V3EntityHandling code) { + if (code == V3EntityHandling.AMB) + return "AMB"; + if (code == V3EntityHandling.C37) + return "C37"; + if (code == V3EntityHandling.CAMB) + return "CAMB"; + if (code == V3EntityHandling.CATM) + return "CATM"; + if (code == V3EntityHandling.CFRZ) + return "CFRZ"; + if (code == V3EntityHandling.CREF) + return "CREF"; + if (code == V3EntityHandling.DFRZ) + return "DFRZ"; + if (code == V3EntityHandling.DRY) + return "DRY"; + if (code == V3EntityHandling.FRZ) + return "FRZ"; + if (code == V3EntityHandling.MTLF) + return "MTLF"; + if (code == V3EntityHandling.NTR) + return "NTR"; + if (code == V3EntityHandling.PRTL) + return "PRTL"; + if (code == V3EntityHandling.PSA) + return "PSA"; + if (code == V3EntityHandling.PSO) + return "PSO"; + if (code == V3EntityHandling.REF) + return "REF"; + if (code == V3EntityHandling.SBU) + return "SBU"; + if (code == V3EntityHandling.UFRZ) + return "UFRZ"; + if (code == V3EntityHandling.UPR) + return "UPR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifier.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifier.java new file mode 100644 index 00000000000..87ea2dd4190 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifier.java @@ -0,0 +1,406 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityNamePartQualifier { + + /** + * OrganizationNamePartQualifier + */ + _ORGANIZATIONNAMEPARTQUALIFIER, + /** + * Indicates that a prefix like "Dr." or a suffix like "M.D." or "Ph.D." is an academic title. + */ + AC, + /** + * The name the person was given at the time of adoption. + */ + AD, + /** + * A name that a person had shortly after being born. Usually for family names but may be used to mark given names at birth that may have changed later. + */ + BR, + /** + * A callme name is (usually a given name) that is preferred when a person is directly addressed. + */ + CL, + /** + * Indicates that a name part is just an initial. Initials do not imply a trailing period since this would not work with non-Latin scripts. Initials may consist of more than one letter, e.g., "Ph." could stand for "Philippe" or "Th." for "Thomas". + */ + IN, + /** + * For organizations a suffix indicating the legal status, e.g., "Inc.", "Co.", "AG", "GmbH", "B.V." "S.A.", "Ltd." etc. + */ + LS, + /** + * In Europe and Asia, there are still people with nobility titles (aristocrats). German "von" is generally a nobility title, not a mere voorvoegsel. Others are "Earl of" or "His Majesty King of..." etc. Rarely used nowadays, but some systems do keep track of this. + */ + NB, + /** + * Primarily in the British Imperial culture people tend to have an abbreviation of their professional organization as part of their credential suffices. + */ + PR, + /** + * The name assumed from the partner in a marital relationship (hence the "SP"). Usually the spouse's family name. Note that no inference about gender can be made from the existence of spouse names. + */ + SP, + /** + * Indicates that a prefix or a suffix is a title that applies to the whole name, not just the adjacent name part. + */ + TITLE, + /** + * A Dutch "voorvoegsel" is something like "van" or "de" that might have indicated nobility in the past but no longer so. Similar prefixes exist in other languages such as Spanish, French or Portugese. + */ + VV, + /** + * Description: Medication Name Parts are a means of specifying a range of acceptable "official" forms of the name of a product. They are used as patterns against which input name strings may be matched for automatic identification of products from input text reports. While they cover the concepts held under "doseForm" or "route" or "strength" the name parts are not the same and do not fit into a controlled vocabulary in the same way. By specifying up to 8 name parts a much larger range of possible names can be generated. + */ + PHARMACEUTICALENTITYNAMEPARTQUALIFIERS, + /** + * Description: This refers to the container if present in the medicinal product name. + + EXAMPLES: + + + + For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): pre-filled syringe + */ + CON, + /** + * Description: This refers to the qualifiers in the name for devices and is at the moment mainly applicable to insulins and inhalation products. + + EXAMPLES: + + + + For the medicinal product Actrapid FlexPen 100 IU/ml Solution for injection Subcutaneous use: FlexPen. + */ + DEV, + /** + * Description: This refers to a flavor of the medicinal product if present in the medicinal product name. + + + Examples: + + + + For 'CoughCure Linctus Orange Flavor', the flavor part is "Orange" + For 'Wonderdrug Syrup Cherry Flavor', the flavor part is "Cherry" + */ + FLAV, + /** + * Description: This refers to the formulation of the medicinal product if present in the medicinal product name. + + + Examples: + + + + For 'SpecialMed Sugar Free Cough Syrup', the formulation name part is "Sugar Free" + For 'QuickCure Gluten-free Bulk Fibre', the formulation name part is "gluten-free" + */ + FORMUL, + /** + * Description: This refers to the pharmaceutical form/ if present in the medicinal product name. + + EXAMPLES: + + + + For Agenerase 50 mg soft capsules: Soft Capsules + + + + For Ludiomil 25mg-Filmtabletten: Filmtabletten + + + + For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): suspension for injection + */ + FRM, + /** + * Description: This refers to the product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name and, if appropriate, whether it is intended e.g. for babies, children or adults. + + EXAMPLES: + + + + Agenerase + + + + Optaflu + + + + Ludiomil + */ + INV, + /** + * Description: This refers to the target population for the medicinal product if present in the medicinal product name + + + Examples: + + + + For 'Broncho-Drug 3.5 mg-capsules for children', the target population part is "children" + For 'Adult Chesty Cough Syrup', the target population part is "adult" + */ + POPUL, + /** + * Description: This refers to the product common or scientific name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name. + + EXAMPLES: + + + + For Agenerase: N/A + + + + For Optaflu: Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season) + + + + For Ludiomil: N/A + */ + SCI, + /** + * Description: This refers to the strength if present in the medicinal product name. The use of decimal points should be accommodated if required. + + EXAMPLES: + + + + For Agenerase 50 mg soft capsules: 50mg + + + + For Ludiomil 25mg-Filmtabletten: 25 mg + + + + For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): N/A + */ + STR, + /** + * Description: This refers to a time or time period that may be specified in the text of the medicinal product name + + + Example: + + + + For an influenza vaccine 'Drug-FLU season 2008/2009', the time/period part is "2008/2009 season" + */ + TIME, + /** + * Description: This refers to trademark/company element if present in the medicinal product name. + + EXAMPLES: + + + + for Insulin Human Winthrop Comb 15: Winthrop + */ + TMK, + /** + * Description: This refers to the intended use if present in the medicinal product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name. + + + + Examples: + + + + For 'Drug-BI Caplets - Heartburn Relief', the intended use part is: "Heartburn Relief" + For 'Medicine Honey Syrup for Soothing Coughs' the intended use part is "Soothing Coughs" + */ + USE, + /** + * added to help the parsers + */ + NULL; + public static V3EntityNamePartQualifier fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_OrganizationNamePartQualifier".equals(codeString)) + return _ORGANIZATIONNAMEPARTQUALIFIER; + if ("AC".equals(codeString)) + return AC; + if ("AD".equals(codeString)) + return AD; + if ("BR".equals(codeString)) + return BR; + if ("CL".equals(codeString)) + return CL; + if ("IN".equals(codeString)) + return IN; + if ("LS".equals(codeString)) + return LS; + if ("NB".equals(codeString)) + return NB; + if ("PR".equals(codeString)) + return PR; + if ("SP".equals(codeString)) + return SP; + if ("TITLE".equals(codeString)) + return TITLE; + if ("VV".equals(codeString)) + return VV; + if ("PharmaceuticalEntityNamePartQualifiers".equals(codeString)) + return PHARMACEUTICALENTITYNAMEPARTQUALIFIERS; + if ("CON".equals(codeString)) + return CON; + if ("DEV".equals(codeString)) + return DEV; + if ("FLAV".equals(codeString)) + return FLAV; + if ("FORMUL".equals(codeString)) + return FORMUL; + if ("FRM".equals(codeString)) + return FRM; + if ("INV".equals(codeString)) + return INV; + if ("POPUL".equals(codeString)) + return POPUL; + if ("SCI".equals(codeString)) + return SCI; + if ("STR".equals(codeString)) + return STR; + if ("TIME".equals(codeString)) + return TIME; + if ("TMK".equals(codeString)) + return TMK; + if ("USE".equals(codeString)) + return USE; + throw new Exception("Unknown V3EntityNamePartQualifier code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ORGANIZATIONNAMEPARTQUALIFIER: return "_OrganizationNamePartQualifier"; + case AC: return "AC"; + case AD: return "AD"; + case BR: return "BR"; + case CL: return "CL"; + case IN: return "IN"; + case LS: return "LS"; + case NB: return "NB"; + case PR: return "PR"; + case SP: return "SP"; + case TITLE: return "TITLE"; + case VV: return "VV"; + case PHARMACEUTICALENTITYNAMEPARTQUALIFIERS: return "PharmaceuticalEntityNamePartQualifiers"; + case CON: return "CON"; + case DEV: return "DEV"; + case FLAV: return "FLAV"; + case FORMUL: return "FORMUL"; + case FRM: return "FRM"; + case INV: return "INV"; + case POPUL: return "POPUL"; + case SCI: return "SCI"; + case STR: return "STR"; + case TIME: return "TIME"; + case TMK: return "TMK"; + case USE: return "USE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityNamePartQualifier"; + } + public String getDefinition() { + switch (this) { + case _ORGANIZATIONNAMEPARTQUALIFIER: return "OrganizationNamePartQualifier"; + case AC: return "Indicates that a prefix like 'Dr.' or a suffix like 'M.D.' or 'Ph.D.' is an academic title."; + case AD: return "The name the person was given at the time of adoption."; + case BR: return "A name that a person had shortly after being born. Usually for family names but may be used to mark given names at birth that may have changed later."; + case CL: return "A callme name is (usually a given name) that is preferred when a person is directly addressed."; + case IN: return "Indicates that a name part is just an initial. Initials do not imply a trailing period since this would not work with non-Latin scripts. Initials may consist of more than one letter, e.g., 'Ph.' could stand for 'Philippe' or 'Th.' for 'Thomas'."; + case LS: return "For organizations a suffix indicating the legal status, e.g., 'Inc.', 'Co.', 'AG', 'GmbH', 'B.V.' 'S.A.', 'Ltd.' etc."; + case NB: return "In Europe and Asia, there are still people with nobility titles (aristocrats). German 'von' is generally a nobility title, not a mere voorvoegsel. Others are 'Earl of' or 'His Majesty King of...' etc. Rarely used nowadays, but some systems do keep track of this."; + case PR: return "Primarily in the British Imperial culture people tend to have an abbreviation of their professional organization as part of their credential suffices."; + case SP: return "The name assumed from the partner in a marital relationship (hence the 'SP'). Usually the spouse's family name. Note that no inference about gender can be made from the existence of spouse names."; + case TITLE: return "Indicates that a prefix or a suffix is a title that applies to the whole name, not just the adjacent name part."; + case VV: return "A Dutch 'voorvoegsel' is something like 'van' or 'de' that might have indicated nobility in the past but no longer so. Similar prefixes exist in other languages such as Spanish, French or Portugese."; + case PHARMACEUTICALENTITYNAMEPARTQUALIFIERS: return "Description: Medication Name Parts are a means of specifying a range of acceptable 'official' forms of the name of a product. They are used as patterns against which input name strings may be matched for automatic identification of products from input text reports. While they cover the concepts held under 'doseForm' or 'route' or 'strength' the name parts are not the same and do not fit into a controlled vocabulary in the same way. By specifying up to 8 name parts a much larger range of possible names can be generated."; + case CON: return "Description: This refers to the container if present in the medicinal product name.\r\n\n EXAMPLES: \r\n\n \n \n For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): pre-filled syringe"; + case DEV: return "Description: This refers to the qualifiers in the name for devices and is at the moment mainly applicable to insulins and inhalation products.\r\n\n EXAMPLES: \r\n\n \n \n For the medicinal product Actrapid FlexPen 100 IU/ml Solution for injection Subcutaneous use: FlexPen."; + case FLAV: return "Description: This refers to a flavor of the medicinal product if present in the medicinal product name.\r\n\n \n Examples:\n \r\n\n \n For 'CoughCure Linctus Orange Flavor', the flavor part is 'Orange'\n For 'Wonderdrug Syrup Cherry Flavor', the flavor part is 'Cherry'"; + case FORMUL: return "Description: This refers to the formulation of the medicinal product if present in the medicinal product name.\r\n\n \n Examples:\n \r\n\n \n For 'SpecialMed Sugar Free Cough Syrup', the formulation name part is 'Sugar Free'\n For 'QuickCure Gluten-free Bulk Fibre', the formulation name part is 'gluten-free'"; + case FRM: return "Description: This refers to the pharmaceutical form/ if present in the medicinal product name.\r\n\n EXAMPLES: \r\n\n \n \n For Agenerase 50 mg soft capsules: Soft Capsules\r\n\n \n \n For Ludiomil 25mg-Filmtabletten: Filmtabletten\r\n\n \n \n For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): suspension for injection"; + case INV: return "Description: This refers to the product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name and, if appropriate, whether it is intended e.g. for babies, children or adults. \r\n\n EXAMPLES: \r\n\n \n \n Agenerase\r\n\n \n \n Optaflu\r\n\n \n \n Ludiomil"; + case POPUL: return "Description: This refers to the target population for the medicinal product if present in the medicinal product name\r\n\n \n Examples:\n \r\n\n \n For 'Broncho-Drug 3.5 mg-capsules for children', the target population part is 'children'\n For 'Adult Chesty Cough Syrup', the target population part is 'adult'"; + case SCI: return "Description: This refers to the product common or scientific name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name.\r\n\n EXAMPLES: \r\n\n \n \n For Agenerase: N/A\r\n\n \n \n For Optaflu: Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season)\r\n\n \n \n For Ludiomil: N/A"; + case STR: return "Description: This refers to the strength if present in the medicinal product name. The use of decimal points should be accommodated if required.\r\n\n EXAMPLES:\r\n\n \n \n For Agenerase 50 mg soft capsules: 50mg\r\n\n \n \n For Ludiomil 25mg-Filmtabletten: 25 mg\r\n\n \n \n For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): N/A"; + case TIME: return "Description: This refers to a time or time period that may be specified in the text of the medicinal product name\r\n\n \n Example:\n \r\n\n \n For an influenza vaccine 'Drug-FLU season 2008/2009', the time/period part is '2008/2009 season'"; + case TMK: return "Description: This refers to trademark/company element if present in the medicinal product name.\r\n\n EXAMPLES: \r\n\n \n \n for Insulin Human Winthrop Comb 15: Winthrop"; + case USE: return "Description: This refers to the intended use if present in the medicinal product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name.\n\r\n\n \n Examples:\n \r\n\n \n For 'Drug-BI Caplets - Heartburn Relief', the intended use part is: 'Heartburn Relief'\n For 'Medicine Honey Syrup for Soothing Coughs' the intended use part is 'Soothing Coughs'"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ORGANIZATIONNAMEPARTQUALIFIER: return "OrganizationNamePartQualifier"; + case AC: return "academic"; + case AD: return "adopted"; + case BR: return "birth"; + case CL: return "callme"; + case IN: return "initial"; + case LS: return "Legal status"; + case NB: return "nobility"; + case PR: return "professional"; + case SP: return "spouse"; + case TITLE: return "title"; + case VV: return "voorvoegsel"; + case PHARMACEUTICALENTITYNAMEPARTQUALIFIERS: return "PharmaceuticalEntityNamePartQualifiers"; + case CON: return "container name"; + case DEV: return "device name"; + case FLAV: return "FlavorName"; + case FORMUL: return "FormulationPartName"; + case FRM: return "form name"; + case INV: return "invented name"; + case POPUL: return "TargetPopulationName"; + case SCI: return "scientific name"; + case STR: return "strength name"; + case TIME: return "TimeOrPeriodName"; + case TMK: return "trademark name"; + case USE: return "intended use name"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierEnumFactory.java new file mode 100644 index 00000000000..425594b93a9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierEnumFactory.java @@ -0,0 +1,151 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityNamePartQualifierEnumFactory implements EnumFactory { + + public V3EntityNamePartQualifier fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_OrganizationNamePartQualifier".equals(codeString)) + return V3EntityNamePartQualifier._ORGANIZATIONNAMEPARTQUALIFIER; + if ("AC".equals(codeString)) + return V3EntityNamePartQualifier.AC; + if ("AD".equals(codeString)) + return V3EntityNamePartQualifier.AD; + if ("BR".equals(codeString)) + return V3EntityNamePartQualifier.BR; + if ("CL".equals(codeString)) + return V3EntityNamePartQualifier.CL; + if ("IN".equals(codeString)) + return V3EntityNamePartQualifier.IN; + if ("LS".equals(codeString)) + return V3EntityNamePartQualifier.LS; + if ("NB".equals(codeString)) + return V3EntityNamePartQualifier.NB; + if ("PR".equals(codeString)) + return V3EntityNamePartQualifier.PR; + if ("SP".equals(codeString)) + return V3EntityNamePartQualifier.SP; + if ("TITLE".equals(codeString)) + return V3EntityNamePartQualifier.TITLE; + if ("VV".equals(codeString)) + return V3EntityNamePartQualifier.VV; + if ("PharmaceuticalEntityNamePartQualifiers".equals(codeString)) + return V3EntityNamePartQualifier.PHARMACEUTICALENTITYNAMEPARTQUALIFIERS; + if ("CON".equals(codeString)) + return V3EntityNamePartQualifier.CON; + if ("DEV".equals(codeString)) + return V3EntityNamePartQualifier.DEV; + if ("FLAV".equals(codeString)) + return V3EntityNamePartQualifier.FLAV; + if ("FORMUL".equals(codeString)) + return V3EntityNamePartQualifier.FORMUL; + if ("FRM".equals(codeString)) + return V3EntityNamePartQualifier.FRM; + if ("INV".equals(codeString)) + return V3EntityNamePartQualifier.INV; + if ("POPUL".equals(codeString)) + return V3EntityNamePartQualifier.POPUL; + if ("SCI".equals(codeString)) + return V3EntityNamePartQualifier.SCI; + if ("STR".equals(codeString)) + return V3EntityNamePartQualifier.STR; + if ("TIME".equals(codeString)) + return V3EntityNamePartQualifier.TIME; + if ("TMK".equals(codeString)) + return V3EntityNamePartQualifier.TMK; + if ("USE".equals(codeString)) + return V3EntityNamePartQualifier.USE; + throw new IllegalArgumentException("Unknown V3EntityNamePartQualifier code '"+codeString+"'"); + } + + public String toCode(V3EntityNamePartQualifier code) { + if (code == V3EntityNamePartQualifier._ORGANIZATIONNAMEPARTQUALIFIER) + return "_OrganizationNamePartQualifier"; + if (code == V3EntityNamePartQualifier.AC) + return "AC"; + if (code == V3EntityNamePartQualifier.AD) + return "AD"; + if (code == V3EntityNamePartQualifier.BR) + return "BR"; + if (code == V3EntityNamePartQualifier.CL) + return "CL"; + if (code == V3EntityNamePartQualifier.IN) + return "IN"; + if (code == V3EntityNamePartQualifier.LS) + return "LS"; + if (code == V3EntityNamePartQualifier.NB) + return "NB"; + if (code == V3EntityNamePartQualifier.PR) + return "PR"; + if (code == V3EntityNamePartQualifier.SP) + return "SP"; + if (code == V3EntityNamePartQualifier.TITLE) + return "TITLE"; + if (code == V3EntityNamePartQualifier.VV) + return "VV"; + if (code == V3EntityNamePartQualifier.PHARMACEUTICALENTITYNAMEPARTQUALIFIERS) + return "PharmaceuticalEntityNamePartQualifiers"; + if (code == V3EntityNamePartQualifier.CON) + return "CON"; + if (code == V3EntityNamePartQualifier.DEV) + return "DEV"; + if (code == V3EntityNamePartQualifier.FLAV) + return "FLAV"; + if (code == V3EntityNamePartQualifier.FORMUL) + return "FORMUL"; + if (code == V3EntityNamePartQualifier.FRM) + return "FRM"; + if (code == V3EntityNamePartQualifier.INV) + return "INV"; + if (code == V3EntityNamePartQualifier.POPUL) + return "POPUL"; + if (code == V3EntityNamePartQualifier.SCI) + return "SCI"; + if (code == V3EntityNamePartQualifier.STR) + return "STR"; + if (code == V3EntityNamePartQualifier.TIME) + return "TIME"; + if (code == V3EntityNamePartQualifier.TMK) + return "TMK"; + if (code == V3EntityNamePartQualifier.USE) + return "USE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2.java new file mode 100644 index 00000000000..ff70867455a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2.java @@ -0,0 +1,433 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityNamePartQualifierR2 { + + /** + * Description:A name part a person acquired. The name part may be acquired by adoption, or the person may have chosen to use the name part for some other reason. + + + Note: this differs from an Other/Psuedonym/Alias in that an acquired name part is acquired on a formal basis rather than an informal one (e.g. registered as part of the official name). + */ + AD, + /** + * Description:The name assumed from the partner in a marital relationship. Usually the spouse's family name. Note that no inference about gender can be made from the existence of spouse names. + */ + SP, + /** + * Description:A name that a person was given at birth or established as a consequence of adoption. + + + Note: This is not used for temporary names assigned at birth such as "Baby of Smith" a" which is just a name with a use code of "TEMP". + */ + BR, + /** + * Description:Used to indicate which of the various name parts is used when interacting with the person. + */ + CL, + /** + * Description:Indicates that a name part is just an initial. Initials do not imply a trailing period since this would not work with non-Latin scripts. In some languages, initials may consist of more than one letter, e.g., "Ph" could stand for "Philippe" or "Th" For "Thomas". + */ + IN, + /** + * Description:For organizations a suffix indicating the legal status, e.g., "Inc.", "Co.", "AG", "GmbH", "B.V." "S.A.", "Ltd." etc. + */ + LS, + /** + * Description:Indicates that the name part is a middle name. + + + Usage Notes: In general, the english "middle name" concept is all of the given names after the first. This qualifier may be used to explicitly indicate which given names are considered to be middle names. The middle name qualifier may also be used with family names. This is a Scandinavian use case, matching the concept of "mellomnavn","mellannamn". Note that there are specific rules that indicate what names may be taken as a mellannamn in different Scandinavian countries. + */ + MID, + /** + * Description:A prefix has a strong association to the immediately following name part. A prefix has no implicit trailing white space (it has implicit leading white space though). + */ + PFX, + /** + * Description: Medication Name Parts are a means of specifying a range of acceptable "official" forms of the name of a product. They are used as patterns against which input name strings may be matched for automatic identification of products from input text reports. While they cover the concepts held under "doseForm" or "route" or "strength" the name parts are not the same and do not fit into a controlled vocabulary in the same way. By specifying up to 8 name parts a much larger range of possible names can be generated. + */ + PHARMACEUTICALENTITYNAMEPARTQUALIFIERS, + /** + * Description: This refers to the container if present in the medicinal product name. + + EXAMPLES: + + + + For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): pre-filled syringe + */ + CON, + /** + * Description: This refers to the qualifiers in the name for devices and is at the moment mainly applicable to insulins and inhalation products. + + EXAMPLES: + + + + For the medicinal product Actrapid FlexPen 100 IU/ml Solution for injection Subcutaneous use: FlexPen. + */ + DEV, + /** + * Description: This refers to a flavor of the medicinal product if present in the medicinal product name. + + + Examples: + + + + For 'CoughCure Linctus Orange Flavor', the flavor part is "Orange" + For 'Wonderdrug Syrup Cherry Flavor', the flavor part is "Cherry" + */ + FLAV, + /** + * Description: This refers to the formulation of the medicinal product if present in the medicinal product name. + + + Examples: + + + + For 'SpecialMed Sugar Free Cough Syrup', the formulation name part is "Sugar Free" + For 'QuickCure Gluten-free Bulk Fibre', the formulation name part is "gluten-free" + */ + FORMUL, + /** + * Description: This refers to the pharmaceutical form/ if present in the medicinal product name. + + EXAMPLES: + + + + For Agenerase 50 mg soft capsules: Soft Capsules + + + + For Ludiomil 25mg-Filmtabletten: Filmtabletten + + + + For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): suspension for injection + */ + FRM, + /** + * Description: This refers to the product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name and, if appropriate, whether it is intended e.g. for babies, children or adults. + + EXAMPLES: + + + + Agenerase + + + + Optaflu + + + + Ludiomil + */ + INV, + /** + * Description: This refers to the target population for the medicinal product if present in the medicinal product name + + + Examples: + + + + For 'Broncho-Drug 3.5 mg-capsules for children', the target population part is "children" + For 'Adult Chesty Cough Syrup', the target population part is "adult" + */ + POPUL, + /** + * Description: This refers to the product common or scientific name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name. + + EXAMPLES: + + + + For Agenerase: N/A + + + + For Optaflu: Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season) + + + + For Ludiomil: N/A + */ + SCI, + /** + * Description: This refers to the strength if present in the medicinal product name. The use of decimal points should be accommodated if required. + + EXAMPLES: + + + + For Agenerase 50 mg soft capsules: 50mg + + + + For Ludiomil 25mg-Filmtabletten: 25 mg + + + + For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): N/A + */ + STR, + /** + * Description: This refers to a time or time period that may be specified in the text of the medicinal product name + + + Example: + + + + For an influenza vaccine 'Drug-FLU season 2008/2009', the time/period part is "2008/2009 season" + */ + TIME, + /** + * Description: This refers to trademark/company element if present in the medicinal product name. + + EXAMPLES: + + + + for Insulin Human Winthrop Comb 15: Winthrop + */ + TMK, + /** + * Description: This refers to the intended use if present in the medicinal product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name. + + + + Examples: + + + + For 'Drug-BI Caplets - Heartburn Relief', the intended use part is: "Heartburn Relief" + For 'Medicine Honey Syrup for Soothing Coughs' the intended use part is "Soothing Coughs" + */ + USE, + /** + * Description:A suffix has a strong association to the immediately preceding name part. A suffix has no implicit leading white space (it has implicit trailing white space though). + */ + SFX, + /** + * Description:Extra information about the style of a title + */ + TITLESTYLES, + /** + * Description:Indicates that a title like "Dr.", "M.D." or "Ph.D." is an academic title. + */ + AC, + /** + * Description:A honorific such as "The Right Honourable" or "Weledelgeleerde Heer". + */ + HON, + /** + * Description:A nobility title such as Sir, Count, Grafin. + */ + NB, + /** + * Description:Primarily in the British Imperial culture people tend to have an abbreviation of their professional organization as part of their credential titles. + */ + PR, + /** + * added to help the parsers + */ + NULL; + public static V3EntityNamePartQualifierR2 fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AD".equals(codeString)) + return AD; + if ("SP".equals(codeString)) + return SP; + if ("BR".equals(codeString)) + return BR; + if ("CL".equals(codeString)) + return CL; + if ("IN".equals(codeString)) + return IN; + if ("LS".equals(codeString)) + return LS; + if ("MID".equals(codeString)) + return MID; + if ("PFX".equals(codeString)) + return PFX; + if ("PharmaceuticalEntityNamePartQualifiers".equals(codeString)) + return PHARMACEUTICALENTITYNAMEPARTQUALIFIERS; + if ("CON".equals(codeString)) + return CON; + if ("DEV".equals(codeString)) + return DEV; + if ("FLAV".equals(codeString)) + return FLAV; + if ("FORMUL".equals(codeString)) + return FORMUL; + if ("FRM".equals(codeString)) + return FRM; + if ("INV".equals(codeString)) + return INV; + if ("POPUL".equals(codeString)) + return POPUL; + if ("SCI".equals(codeString)) + return SCI; + if ("STR".equals(codeString)) + return STR; + if ("TIME".equals(codeString)) + return TIME; + if ("TMK".equals(codeString)) + return TMK; + if ("USE".equals(codeString)) + return USE; + if ("SFX".equals(codeString)) + return SFX; + if ("TitleStyles".equals(codeString)) + return TITLESTYLES; + if ("AC".equals(codeString)) + return AC; + if ("HON".equals(codeString)) + return HON; + if ("NB".equals(codeString)) + return NB; + if ("PR".equals(codeString)) + return PR; + throw new Exception("Unknown V3EntityNamePartQualifierR2 code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AD: return "AD"; + case SP: return "SP"; + case BR: return "BR"; + case CL: return "CL"; + case IN: return "IN"; + case LS: return "LS"; + case MID: return "MID"; + case PFX: return "PFX"; + case PHARMACEUTICALENTITYNAMEPARTQUALIFIERS: return "PharmaceuticalEntityNamePartQualifiers"; + case CON: return "CON"; + case DEV: return "DEV"; + case FLAV: return "FLAV"; + case FORMUL: return "FORMUL"; + case FRM: return "FRM"; + case INV: return "INV"; + case POPUL: return "POPUL"; + case SCI: return "SCI"; + case STR: return "STR"; + case TIME: return "TIME"; + case TMK: return "TMK"; + case USE: return "USE"; + case SFX: return "SFX"; + case TITLESTYLES: return "TitleStyles"; + case AC: return "AC"; + case HON: return "HON"; + case NB: return "NB"; + case PR: return "PR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityNamePartQualifierR2"; + } + public String getDefinition() { + switch (this) { + case AD: return "Description:A name part a person acquired. The name part may be acquired by adoption, or the person may have chosen to use the name part for some other reason.\r\n\n \n Note: this differs from an Other/Psuedonym/Alias in that an acquired name part is acquired on a formal basis rather than an informal one (e.g. registered as part of the official name)."; + case SP: return "Description:The name assumed from the partner in a marital relationship. Usually the spouse's family name. Note that no inference about gender can be made from the existence of spouse names."; + case BR: return "Description:A name that a person was given at birth or established as a consequence of adoption. \r\n\n \n Note: This is not used for temporary names assigned at birth such as 'Baby of Smith' a' which is just a name with a use code of 'TEMP'."; + case CL: return "Description:Used to indicate which of the various name parts is used when interacting with the person."; + case IN: return "Description:Indicates that a name part is just an initial. Initials do not imply a trailing period since this would not work with non-Latin scripts. In some languages, initials may consist of more than one letter, e.g., 'Ph' could stand for 'Philippe' or 'Th' For 'Thomas'."; + case LS: return "Description:For organizations a suffix indicating the legal status, e.g., 'Inc.', 'Co.', 'AG', 'GmbH', 'B.V.' 'S.A.', 'Ltd.' etc."; + case MID: return "Description:Indicates that the name part is a middle name.\r\n\n \n Usage Notes: In general, the english 'middle name' concept is all of the given names after the first. This qualifier may be used to explicitly indicate which given names are considered to be middle names. The middle name qualifier may also be used with family names. This is a Scandinavian use case, matching the concept of 'mellomnavn','mellannamn'. Note that there are specific rules that indicate what names may be taken as a mellannamn in different Scandinavian countries."; + case PFX: return "Description:A prefix has a strong association to the immediately following name part. A prefix has no implicit trailing white space (it has implicit leading white space though)."; + case PHARMACEUTICALENTITYNAMEPARTQUALIFIERS: return "Description: Medication Name Parts are a means of specifying a range of acceptable 'official' forms of the name of a product. They are used as patterns against which input name strings may be matched for automatic identification of products from input text reports. While they cover the concepts held under 'doseForm' or 'route' or 'strength' the name parts are not the same and do not fit into a controlled vocabulary in the same way. By specifying up to 8 name parts a much larger range of possible names can be generated."; + case CON: return "Description: This refers to the container if present in the medicinal product name.\r\n\n EXAMPLES: \r\n\n \n \n For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): pre-filled syringe"; + case DEV: return "Description: This refers to the qualifiers in the name for devices and is at the moment mainly applicable to insulins and inhalation products.\r\n\n EXAMPLES: \r\n\n \n \n For the medicinal product Actrapid FlexPen 100 IU/ml Solution for injection Subcutaneous use: FlexPen."; + case FLAV: return "Description: This refers to a flavor of the medicinal product if present in the medicinal product name.\r\n\n \n Examples:\n \r\n\n \n For 'CoughCure Linctus Orange Flavor', the flavor part is 'Orange'\n For 'Wonderdrug Syrup Cherry Flavor', the flavor part is 'Cherry'"; + case FORMUL: return "Description: This refers to the formulation of the medicinal product if present in the medicinal product name.\r\n\n \n Examples:\n \r\n\n \n For 'SpecialMed Sugar Free Cough Syrup', the formulation name part is 'Sugar Free'\n For 'QuickCure Gluten-free Bulk Fibre', the formulation name part is 'gluten-free'"; + case FRM: return "Description: This refers to the pharmaceutical form/ if present in the medicinal product name.\r\n\n EXAMPLES: \r\n\n \n \n For Agenerase 50 mg soft capsules: Soft Capsules\r\n\n \n \n For Ludiomil 25mg-Filmtabletten: Filmtabletten\r\n\n \n \n For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): suspension for injection"; + case INV: return "Description: This refers to the product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name and, if appropriate, whether it is intended e.g. for babies, children or adults. \r\n\n EXAMPLES: \r\n\n \n \n Agenerase\r\n\n \n \n Optaflu\r\n\n \n \n Ludiomil"; + case POPUL: return "Description: This refers to the target population for the medicinal product if present in the medicinal product name\r\n\n \n Examples:\n \r\n\n \n For 'Broncho-Drug 3.5 mg-capsules for children', the target population part is 'children'\n For 'Adult Chesty Cough Syrup', the target population part is 'adult'"; + case SCI: return "Description: This refers to the product common or scientific name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name.\r\n\n EXAMPLES: \r\n\n \n \n For Agenerase: N/A\r\n\n \n \n For Optaflu: Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season)\r\n\n \n \n For Ludiomil: N/A"; + case STR: return "Description: This refers to the strength if present in the medicinal product name. The use of decimal points should be accommodated if required.\r\n\n EXAMPLES:\r\n\n \n \n For Agenerase 50 mg soft capsules: 50mg\r\n\n \n \n For Ludiomil 25mg-Filmtabletten: 25 mg\r\n\n \n \n For Optaflu suspension for injection in pre-filled syringe Influenza vaccine (surface antigen, inactivated, prepared in cell culture) (2007/2008 season): N/A"; + case TIME: return "Description: This refers to a time or time period that may be specified in the text of the medicinal product name\r\n\n \n Example:\n \r\n\n \n For an influenza vaccine 'Drug-FLU season 2008/2009', the time/period part is '2008/2009 season'"; + case TMK: return "Description: This refers to trademark/company element if present in the medicinal product name.\r\n\n EXAMPLES: \r\n\n \n \n for Insulin Human Winthrop Comb 15: Winthrop"; + case USE: return "Description: This refers to the intended use if present in the medicinal product name without the trademark or the name of the marketing authorization holder or any other descriptor reflected in the product name.\n\r\n\n \n Examples:\n \r\n\n \n For 'Drug-BI Caplets - Heartburn Relief', the intended use part is: 'Heartburn Relief'\n For 'Medicine Honey Syrup for Soothing Coughs' the intended use part is 'Soothing Coughs'"; + case SFX: return "Description:A suffix has a strong association to the immediately preceding name part. A suffix has no implicit leading white space (it has implicit trailing white space though)."; + case TITLESTYLES: return "Description:Extra information about the style of a title"; + case AC: return "Description:Indicates that a title like 'Dr.', 'M.D.' or 'Ph.D.' is an academic title."; + case HON: return "Description:A honorific such as 'The Right Honourable' or 'Weledelgeleerde Heer'."; + case NB: return "Description:A nobility title such as Sir, Count, Grafin."; + case PR: return "Description:Primarily in the British Imperial culture people tend to have an abbreviation of their professional organization as part of their credential titles."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AD: return "acquired"; + case SP: return "spouse"; + case BR: return "birth"; + case CL: return "callme"; + case IN: return "initial"; + case LS: return "legal status"; + case MID: return "middle name"; + case PFX: return "prefix"; + case PHARMACEUTICALENTITYNAMEPARTQUALIFIERS: return "PharmaceuticalEntityNamePartQualifiers"; + case CON: return "container name"; + case DEV: return "device name"; + case FLAV: return "FlavorName"; + case FORMUL: return "FormulationPartName"; + case FRM: return "form name"; + case INV: return "invented name"; + case POPUL: return "TargetPopulationName"; + case SCI: return "scientific name"; + case STR: return "strength name"; + case TIME: return "TimeOrPeriodName"; + case TMK: return "trademark name"; + case USE: return "intended use name"; + case SFX: return "suffix"; + case TITLESTYLES: return "TitleStyles"; + case AC: return "academic"; + case HON: return "honorific"; + case NB: return "nobility"; + case PR: return "professional"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2EnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2EnumFactory.java new file mode 100644 index 00000000000..20fa8694615 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartQualifierR2EnumFactory.java @@ -0,0 +1,159 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityNamePartQualifierR2EnumFactory implements EnumFactory { + + public V3EntityNamePartQualifierR2 fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AD".equals(codeString)) + return V3EntityNamePartQualifierR2.AD; + if ("SP".equals(codeString)) + return V3EntityNamePartQualifierR2.SP; + if ("BR".equals(codeString)) + return V3EntityNamePartQualifierR2.BR; + if ("CL".equals(codeString)) + return V3EntityNamePartQualifierR2.CL; + if ("IN".equals(codeString)) + return V3EntityNamePartQualifierR2.IN; + if ("LS".equals(codeString)) + return V3EntityNamePartQualifierR2.LS; + if ("MID".equals(codeString)) + return V3EntityNamePartQualifierR2.MID; + if ("PFX".equals(codeString)) + return V3EntityNamePartQualifierR2.PFX; + if ("PharmaceuticalEntityNamePartQualifiers".equals(codeString)) + return V3EntityNamePartQualifierR2.PHARMACEUTICALENTITYNAMEPARTQUALIFIERS; + if ("CON".equals(codeString)) + return V3EntityNamePartQualifierR2.CON; + if ("DEV".equals(codeString)) + return V3EntityNamePartQualifierR2.DEV; + if ("FLAV".equals(codeString)) + return V3EntityNamePartQualifierR2.FLAV; + if ("FORMUL".equals(codeString)) + return V3EntityNamePartQualifierR2.FORMUL; + if ("FRM".equals(codeString)) + return V3EntityNamePartQualifierR2.FRM; + if ("INV".equals(codeString)) + return V3EntityNamePartQualifierR2.INV; + if ("POPUL".equals(codeString)) + return V3EntityNamePartQualifierR2.POPUL; + if ("SCI".equals(codeString)) + return V3EntityNamePartQualifierR2.SCI; + if ("STR".equals(codeString)) + return V3EntityNamePartQualifierR2.STR; + if ("TIME".equals(codeString)) + return V3EntityNamePartQualifierR2.TIME; + if ("TMK".equals(codeString)) + return V3EntityNamePartQualifierR2.TMK; + if ("USE".equals(codeString)) + return V3EntityNamePartQualifierR2.USE; + if ("SFX".equals(codeString)) + return V3EntityNamePartQualifierR2.SFX; + if ("TitleStyles".equals(codeString)) + return V3EntityNamePartQualifierR2.TITLESTYLES; + if ("AC".equals(codeString)) + return V3EntityNamePartQualifierR2.AC; + if ("HON".equals(codeString)) + return V3EntityNamePartQualifierR2.HON; + if ("NB".equals(codeString)) + return V3EntityNamePartQualifierR2.NB; + if ("PR".equals(codeString)) + return V3EntityNamePartQualifierR2.PR; + throw new IllegalArgumentException("Unknown V3EntityNamePartQualifierR2 code '"+codeString+"'"); + } + + public String toCode(V3EntityNamePartQualifierR2 code) { + if (code == V3EntityNamePartQualifierR2.AD) + return "AD"; + if (code == V3EntityNamePartQualifierR2.SP) + return "SP"; + if (code == V3EntityNamePartQualifierR2.BR) + return "BR"; + if (code == V3EntityNamePartQualifierR2.CL) + return "CL"; + if (code == V3EntityNamePartQualifierR2.IN) + return "IN"; + if (code == V3EntityNamePartQualifierR2.LS) + return "LS"; + if (code == V3EntityNamePartQualifierR2.MID) + return "MID"; + if (code == V3EntityNamePartQualifierR2.PFX) + return "PFX"; + if (code == V3EntityNamePartQualifierR2.PHARMACEUTICALENTITYNAMEPARTQUALIFIERS) + return "PharmaceuticalEntityNamePartQualifiers"; + if (code == V3EntityNamePartQualifierR2.CON) + return "CON"; + if (code == V3EntityNamePartQualifierR2.DEV) + return "DEV"; + if (code == V3EntityNamePartQualifierR2.FLAV) + return "FLAV"; + if (code == V3EntityNamePartQualifierR2.FORMUL) + return "FORMUL"; + if (code == V3EntityNamePartQualifierR2.FRM) + return "FRM"; + if (code == V3EntityNamePartQualifierR2.INV) + return "INV"; + if (code == V3EntityNamePartQualifierR2.POPUL) + return "POPUL"; + if (code == V3EntityNamePartQualifierR2.SCI) + return "SCI"; + if (code == V3EntityNamePartQualifierR2.STR) + return "STR"; + if (code == V3EntityNamePartQualifierR2.TIME) + return "TIME"; + if (code == V3EntityNamePartQualifierR2.TMK) + return "TMK"; + if (code == V3EntityNamePartQualifierR2.USE) + return "USE"; + if (code == V3EntityNamePartQualifierR2.SFX) + return "SFX"; + if (code == V3EntityNamePartQualifierR2.TITLESTYLES) + return "TitleStyles"; + if (code == V3EntityNamePartQualifierR2.AC) + return "AC"; + if (code == V3EntityNamePartQualifierR2.HON) + return "HON"; + if (code == V3EntityNamePartQualifierR2.NB) + return "NB"; + if (code == V3EntityNamePartQualifierR2.PR) + return "PR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartType.java new file mode 100644 index 00000000000..a6fe0b24aa1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartType.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityNamePartType { + + /** + * A delimiter has no meaning other than being literally printed in this name representation. A delimiter has no implicit leading and trailing white space. + */ + DEL, + /** + * Family name, this is the name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father. + */ + FAM, + /** + * Given name (don't call it "first name" since this given names do not always come first) + */ + GIV, + /** + * A prefix has a strong association to the immediately following name part. A prefix has no implicit trailing white space (it has implicit leading white space though). Note that prefixes can be inverted. + */ + PFX, + /** + * Description:A suffix has a strong association to the immediately preceding name part. A suffix has no implicit leading white space (it has implicit trailing white space though). Suffices cannot be inverted. + */ + SFX, + /** + * added to help the parsers + */ + NULL; + public static V3EntityNamePartType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("DEL".equals(codeString)) + return DEL; + if ("FAM".equals(codeString)) + return FAM; + if ("GIV".equals(codeString)) + return GIV; + if ("PFX".equals(codeString)) + return PFX; + if ("SFX".equals(codeString)) + return SFX; + throw new Exception("Unknown V3EntityNamePartType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DEL: return "DEL"; + case FAM: return "FAM"; + case GIV: return "GIV"; + case PFX: return "PFX"; + case SFX: return "SFX"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityNamePartType"; + } + public String getDefinition() { + switch (this) { + case DEL: return "A delimiter has no meaning other than being literally printed in this name representation. A delimiter has no implicit leading and trailing white space."; + case FAM: return "Family name, this is the name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."; + case GIV: return "Given name (don't call it 'first name' since this given names do not always come first)"; + case PFX: return "A prefix has a strong association to the immediately following name part. A prefix has no implicit trailing white space (it has implicit leading white space though). Note that prefixes can be inverted."; + case SFX: return "Description:A suffix has a strong association to the immediately preceding name part. A suffix has no implicit leading white space (it has implicit trailing white space though). Suffices cannot be inverted."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DEL: return "delimiter"; + case FAM: return "family"; + case GIV: return "given"; + case PFX: return "prefix"; + case SFX: return "suffix"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeEnumFactory.java new file mode 100644 index 00000000000..73ab102660f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityNamePartTypeEnumFactory implements EnumFactory { + + public V3EntityNamePartType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("DEL".equals(codeString)) + return V3EntityNamePartType.DEL; + if ("FAM".equals(codeString)) + return V3EntityNamePartType.FAM; + if ("GIV".equals(codeString)) + return V3EntityNamePartType.GIV; + if ("PFX".equals(codeString)) + return V3EntityNamePartType.PFX; + if ("SFX".equals(codeString)) + return V3EntityNamePartType.SFX; + throw new IllegalArgumentException("Unknown V3EntityNamePartType code '"+codeString+"'"); + } + + public String toCode(V3EntityNamePartType code) { + if (code == V3EntityNamePartType.DEL) + return "DEL"; + if (code == V3EntityNamePartType.FAM) + return "FAM"; + if (code == V3EntityNamePartType.GIV) + return "GIV"; + if (code == V3EntityNamePartType.PFX) + return "PFX"; + if (code == V3EntityNamePartType.SFX) + return "SFX"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2.java new file mode 100644 index 00000000000..47aafc3e43f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2.java @@ -0,0 +1,106 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityNamePartTypeR2 { + + /** + * Description:A delimiter has no meaning other than being literally printed in this name representation. A delimiter has no implicit leading and trailing white space. + */ + DEL, + /** + * Description:Family name, this is the name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father. + */ + FAM, + /** + * Description:Given name. Note: don't call it "first name" since the given names do not always come first. + */ + GIV, + /** + * Description:Part of the name that is acquired as a title due to academic, legal, employment or nobility status etc. + + + Note:Title name parts include name parts that come after the name such as qualifications, even if they are not always considered to be titles. + */ + TITLE, + /** + * added to help the parsers + */ + NULL; + public static V3EntityNamePartTypeR2 fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("DEL".equals(codeString)) + return DEL; + if ("FAM".equals(codeString)) + return FAM; + if ("GIV".equals(codeString)) + return GIV; + if ("TITLE".equals(codeString)) + return TITLE; + throw new Exception("Unknown V3EntityNamePartTypeR2 code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DEL: return "DEL"; + case FAM: return "FAM"; + case GIV: return "GIV"; + case TITLE: return "TITLE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityNamePartTypeR2"; + } + public String getDefinition() { + switch (this) { + case DEL: return "Description:A delimiter has no meaning other than being literally printed in this name representation. A delimiter has no implicit leading and trailing white space."; + case FAM: return "Description:Family name, this is the name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."; + case GIV: return "Description:Given name. Note: don't call it 'first name' since the given names do not always come first."; + case TITLE: return "Description:Part of the name that is acquired as a title due to academic, legal, employment or nobility status etc.\r\n\n \n Note:Title name parts include name parts that come after the name such as qualifications, even if they are not always considered to be titles."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DEL: return "delimiter"; + case FAM: return "family"; + case GIV: return "given"; + case TITLE: return "title"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2EnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2EnumFactory.java new file mode 100644 index 00000000000..a35a5aa478d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNamePartTypeR2EnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityNamePartTypeR2EnumFactory implements EnumFactory { + + public V3EntityNamePartTypeR2 fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("DEL".equals(codeString)) + return V3EntityNamePartTypeR2.DEL; + if ("FAM".equals(codeString)) + return V3EntityNamePartTypeR2.FAM; + if ("GIV".equals(codeString)) + return V3EntityNamePartTypeR2.GIV; + if ("TITLE".equals(codeString)) + return V3EntityNamePartTypeR2.TITLE; + throw new IllegalArgumentException("Unknown V3EntityNamePartTypeR2 code '"+codeString+"'"); + } + + public String toCode(V3EntityNamePartTypeR2 code) { + if (code == V3EntityNamePartTypeR2.DEL) + return "DEL"; + if (code == V3EntityNamePartTypeR2.FAM) + return "FAM"; + if (code == V3EntityNamePartTypeR2.GIV) + return "GIV"; + if (code == V3EntityNamePartTypeR2.TITLE) + return "TITLE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUse.java new file mode 100644 index 00000000000..a8dc425ffb5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUse.java @@ -0,0 +1,204 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityNameUse { + + /** + * Identifies the different representations of a name. The representation may affect how the name is used. (E.g. use of Ideographic for formal communications.) + */ + _NAMEREPRESENTATIONUSE, + /** + * Alphabetic transcription of name (Japanese: romaji) + */ + ABC, + /** + * Ideographic representation of name (e.g., Japanese kanji, Chinese characters) + */ + IDE, + /** + * Syllabic transcription of name (e.g., Japanese kana, Korean hangul) + */ + SYL, + /** + * A name assigned to a person. Reasons some organizations assign alternate names may include not knowing the person's name, or to maintain anonymity. Some, but not necessarily all, of the name types that people call "alias" may fit into this category. + */ + ASGN, + /** + * As recorded on a license, record, certificate, etc. (only if different from legal name) + */ + C, + /** + * e.g. Chief Red Cloud + */ + I, + /** + * Known as/conventional/the one you use + */ + L, + /** + * Definition:The formal name as registered in an official (government) registry, but which name might not be commonly used. Particularly used in countries with a law system based on Napoleonic law. + */ + OR, + /** + * A self asserted name that the person is using or has used. + */ + P, + /** + * Includes writer's pseudonym, stage name, etc + */ + A, + /** + * e.g. Sister Mary Francis, Brother John + */ + R, + /** + * A name intended for use in searching or matching. + */ + SRCH, + /** + * A name spelled phonetically. + + There are a variety of phonetic spelling algorithms. This code value does not distinguish between these.Discussion: + */ + PHON, + /** + * A name spelled according to the SoundEx algorithm. + */ + SNDX, + /** + * added to help the parsers + */ + NULL; + public static V3EntityNameUse fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_NameRepresentationUse".equals(codeString)) + return _NAMEREPRESENTATIONUSE; + if ("ABC".equals(codeString)) + return ABC; + if ("IDE".equals(codeString)) + return IDE; + if ("SYL".equals(codeString)) + return SYL; + if ("ASGN".equals(codeString)) + return ASGN; + if ("C".equals(codeString)) + return C; + if ("I".equals(codeString)) + return I; + if ("L".equals(codeString)) + return L; + if ("OR".equals(codeString)) + return OR; + if ("P".equals(codeString)) + return P; + if ("A".equals(codeString)) + return A; + if ("R".equals(codeString)) + return R; + if ("SRCH".equals(codeString)) + return SRCH; + if ("PHON".equals(codeString)) + return PHON; + if ("SNDX".equals(codeString)) + return SNDX; + throw new Exception("Unknown V3EntityNameUse code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _NAMEREPRESENTATIONUSE: return "_NameRepresentationUse"; + case ABC: return "ABC"; + case IDE: return "IDE"; + case SYL: return "SYL"; + case ASGN: return "ASGN"; + case C: return "C"; + case I: return "I"; + case L: return "L"; + case OR: return "OR"; + case P: return "P"; + case A: return "A"; + case R: return "R"; + case SRCH: return "SRCH"; + case PHON: return "PHON"; + case SNDX: return "SNDX"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityNameUse"; + } + public String getDefinition() { + switch (this) { + case _NAMEREPRESENTATIONUSE: return "Identifies the different representations of a name. The representation may affect how the name is used. (E.g. use of Ideographic for formal communications.)"; + case ABC: return "Alphabetic transcription of name (Japanese: romaji)"; + case IDE: return "Ideographic representation of name (e.g., Japanese kanji, Chinese characters)"; + case SYL: return "Syllabic transcription of name (e.g., Japanese kana, Korean hangul)"; + case ASGN: return "A name assigned to a person. Reasons some organizations assign alternate names may include not knowing the person's name, or to maintain anonymity. Some, but not necessarily all, of the name types that people call 'alias' may fit into this category."; + case C: return "As recorded on a license, record, certificate, etc. (only if different from legal name)"; + case I: return "e.g. Chief Red Cloud"; + case L: return "Known as/conventional/the one you use"; + case OR: return "Definition:The formal name as registered in an official (government) registry, but which name might not be commonly used. Particularly used in countries with a law system based on Napoleonic law."; + case P: return "A self asserted name that the person is using or has used."; + case A: return "Includes writer's pseudonym, stage name, etc"; + case R: return "e.g. Sister Mary Francis, Brother John"; + case SRCH: return "A name intended for use in searching or matching."; + case PHON: return "A name spelled phonetically.\r\n\n There are a variety of phonetic spelling algorithms. This code value does not distinguish between these.Discussion:"; + case SNDX: return "A name spelled according to the SoundEx algorithm."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _NAMEREPRESENTATIONUSE: return "NameRepresentationUse"; + case ABC: return "Alphabetic"; + case IDE: return "Ideographic"; + case SYL: return "Syllabic"; + case ASGN: return "assigned"; + case C: return "License"; + case I: return "Indigenous/Tribal"; + case L: return "Legal"; + case OR: return "official registry"; + case P: return "pseudonym"; + case A: return "Artist/Stage"; + case R: return "Religious"; + case SRCH: return "search"; + case PHON: return "phonetic"; + case SNDX: return "Soundex"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseEnumFactory.java new file mode 100644 index 00000000000..6e091bfd1a5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseEnumFactory.java @@ -0,0 +1,111 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityNameUseEnumFactory implements EnumFactory { + + public V3EntityNameUse fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_NameRepresentationUse".equals(codeString)) + return V3EntityNameUse._NAMEREPRESENTATIONUSE; + if ("ABC".equals(codeString)) + return V3EntityNameUse.ABC; + if ("IDE".equals(codeString)) + return V3EntityNameUse.IDE; + if ("SYL".equals(codeString)) + return V3EntityNameUse.SYL; + if ("ASGN".equals(codeString)) + return V3EntityNameUse.ASGN; + if ("C".equals(codeString)) + return V3EntityNameUse.C; + if ("I".equals(codeString)) + return V3EntityNameUse.I; + if ("L".equals(codeString)) + return V3EntityNameUse.L; + if ("OR".equals(codeString)) + return V3EntityNameUse.OR; + if ("P".equals(codeString)) + return V3EntityNameUse.P; + if ("A".equals(codeString)) + return V3EntityNameUse.A; + if ("R".equals(codeString)) + return V3EntityNameUse.R; + if ("SRCH".equals(codeString)) + return V3EntityNameUse.SRCH; + if ("PHON".equals(codeString)) + return V3EntityNameUse.PHON; + if ("SNDX".equals(codeString)) + return V3EntityNameUse.SNDX; + throw new IllegalArgumentException("Unknown V3EntityNameUse code '"+codeString+"'"); + } + + public String toCode(V3EntityNameUse code) { + if (code == V3EntityNameUse._NAMEREPRESENTATIONUSE) + return "_NameRepresentationUse"; + if (code == V3EntityNameUse.ABC) + return "ABC"; + if (code == V3EntityNameUse.IDE) + return "IDE"; + if (code == V3EntityNameUse.SYL) + return "SYL"; + if (code == V3EntityNameUse.ASGN) + return "ASGN"; + if (code == V3EntityNameUse.C) + return "C"; + if (code == V3EntityNameUse.I) + return "I"; + if (code == V3EntityNameUse.L) + return "L"; + if (code == V3EntityNameUse.OR) + return "OR"; + if (code == V3EntityNameUse.P) + return "P"; + if (code == V3EntityNameUse.A) + return "A"; + if (code == V3EntityNameUse.R) + return "R"; + if (code == V3EntityNameUse.SRCH) + return "SRCH"; + if (code == V3EntityNameUse.PHON) + return "PHON"; + if (code == V3EntityNameUse.SNDX) + return "SNDX"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2.java new file mode 100644 index 00000000000..a08ddefc7fc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2.java @@ -0,0 +1,229 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityNameUseR2 { + + /** + * Description:A name that a person has assumed or has been assumed to them. + */ + ASSUMED, + /** + * Description:A name used in a Professional or Business context . Examples: Continuing to use a maiden name in a professional context, or using a stage performing name (some of these names are also pseudonyms) + */ + A, + /** + * Description:Anonymous assigned name (used to protect a persons identity for privacy reasons) + */ + ANON, + /** + * Description:e.g . Chief Red Cloud + */ + I, + /** + * Description:A non-official name by which the person is sometimes known. (This may also be used to record informal names such as a nickname) + */ + P, + /** + * Description:A name assumed as part of a religious vocation . e.g . Sister Mary Francis, Brother John + */ + R, + /** + * Description:Known as/conventional/the one you normally use + */ + C, + /** + * Description:A name used prior to marriage.Note that marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store maiden names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically + */ + M, + /** + * Description:Identifies the different representations of a name . The representation may affect how the name is used . (E.g . use of Ideographic for formal communications.) + */ + NAMEREPRESENTATIONUSE, + /** + * Description:Alphabetic transcription of name in latin alphabet (Japanese: romaji) + */ + ABC, + /** + * Description:Ideographic representation of name (e.g., Japanese kanji, Chinese characters) + */ + IDE, + /** + * Description:Syllabic transcription of name (e.g., Japanese kana, Korean hangul) + */ + SYL, + /** + * Description:This name is no longer in use (note: Names may also carry valid time ranges . This code is used to cover the situations where it is known that the name is no longer valid, but no particular time range for its use is known) + */ + OLD, + /** + * Description:This name should no longer be used when interacting with the person (i.e . in addition to no longer being used, the name should not be even mentioned when interacting with the person)Note: applications are not required to compare names labeled "Do Not Use" and other names in order to eliminate name parts that are common between the other name and a name labeled "Do Not Use". + */ + DN, + /** + * Description:The formal name as registered in an official (government) registry, but which name might not be commonly used . May correspond to the concept of legal name + */ + OR, + /** + * Description:The name as understood by the data enterer, i.e. a close approximation of a phonetic spelling of the name, not based on a phonetic algorithm. + */ + PHON, + /** + * Description:A name intended for use in searching or matching. This is used when the name is incomplete and contains enough details for search matching, but not enough for other uses. + */ + SRCH, + /** + * Description:A temporary name. Note that a name valid time can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations. + */ + T, + /** + * added to help the parsers + */ + NULL; + public static V3EntityNameUseR2 fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("Assumed".equals(codeString)) + return ASSUMED; + if ("A".equals(codeString)) + return A; + if ("ANON".equals(codeString)) + return ANON; + if ("I".equals(codeString)) + return I; + if ("P".equals(codeString)) + return P; + if ("R".equals(codeString)) + return R; + if ("C".equals(codeString)) + return C; + if ("M".equals(codeString)) + return M; + if ("NameRepresentationUse".equals(codeString)) + return NAMEREPRESENTATIONUSE; + if ("ABC".equals(codeString)) + return ABC; + if ("IDE".equals(codeString)) + return IDE; + if ("SYL".equals(codeString)) + return SYL; + if ("OLD".equals(codeString)) + return OLD; + if ("DN".equals(codeString)) + return DN; + if ("OR".equals(codeString)) + return OR; + if ("PHON".equals(codeString)) + return PHON; + if ("SRCH".equals(codeString)) + return SRCH; + if ("T".equals(codeString)) + return T; + throw new Exception("Unknown V3EntityNameUseR2 code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ASSUMED: return "Assumed"; + case A: return "A"; + case ANON: return "ANON"; + case I: return "I"; + case P: return "P"; + case R: return "R"; + case C: return "C"; + case M: return "M"; + case NAMEREPRESENTATIONUSE: return "NameRepresentationUse"; + case ABC: return "ABC"; + case IDE: return "IDE"; + case SYL: return "SYL"; + case OLD: return "OLD"; + case DN: return "DN"; + case OR: return "OR"; + case PHON: return "PHON"; + case SRCH: return "SRCH"; + case T: return "T"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityNameUseR2"; + } + public String getDefinition() { + switch (this) { + case ASSUMED: return "Description:A name that a person has assumed or has been assumed to them."; + case A: return "Description:A name used in a Professional or Business context . Examples: Continuing to use a maiden name in a professional context, or using a stage performing name (some of these names are also pseudonyms)"; + case ANON: return "Description:Anonymous assigned name (used to protect a persons identity for privacy reasons)"; + case I: return "Description:e.g . Chief Red Cloud"; + case P: return "Description:A non-official name by which the person is sometimes known. (This may also be used to record informal names such as a nickname)"; + case R: return "Description:A name assumed as part of a religious vocation . e.g . Sister Mary Francis, Brother John"; + case C: return "Description:Known as/conventional/the one you normally use"; + case M: return "Description:A name used prior to marriage.Note that marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store maiden names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically"; + case NAMEREPRESENTATIONUSE: return "Description:Identifies the different representations of a name . The representation may affect how the name is used . (E.g . use of Ideographic for formal communications.)"; + case ABC: return "Description:Alphabetic transcription of name in latin alphabet (Japanese: romaji)"; + case IDE: return "Description:Ideographic representation of name (e.g., Japanese kanji, Chinese characters)"; + case SYL: return "Description:Syllabic transcription of name (e.g., Japanese kana, Korean hangul)"; + case OLD: return "Description:This name is no longer in use (note: Names may also carry valid time ranges . This code is used to cover the situations where it is known that the name is no longer valid, but no particular time range for its use is known)"; + case DN: return "Description:This name should no longer be used when interacting with the person (i.e . in addition to no longer being used, the name should not be even mentioned when interacting with the person)Note: applications are not required to compare names labeled 'Do Not Use' and other names in order to eliminate name parts that are common between the other name and a name labeled 'Do Not Use'."; + case OR: return "Description:The formal name as registered in an official (government) registry, but which name might not be commonly used . May correspond to the concept of legal name"; + case PHON: return "Description:The name as understood by the data enterer, i.e. a close approximation of a phonetic spelling of the name, not based on a phonetic algorithm."; + case SRCH: return "Description:A name intended for use in searching or matching. This is used when the name is incomplete and contains enough details for search matching, but not enough for other uses."; + case T: return "Description:A temporary name. Note that a name valid time can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ASSUMED: return "Assumed"; + case A: return "business name"; + case ANON: return "Anonymous"; + case I: return "Indigenous/Tribal"; + case P: return "Other/Pseudonym/Alias"; + case R: return "religious"; + case C: return "customary"; + case M: return "maiden name"; + case NAMEREPRESENTATIONUSE: return "NameRepresentationUse"; + case ABC: return "alphabetic"; + case IDE: return "ideographic"; + case SYL: return "syllabic"; + case OLD: return "no longer in use"; + case DN: return "do not use"; + case OR: return "official registry name"; + case PHON: return "phonetic"; + case SRCH: return "search"; + case T: return "temporary"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2EnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2EnumFactory.java new file mode 100644 index 00000000000..63c716e8af3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityNameUseR2EnumFactory.java @@ -0,0 +1,123 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityNameUseR2EnumFactory implements EnumFactory { + + public V3EntityNameUseR2 fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("Assumed".equals(codeString)) + return V3EntityNameUseR2.ASSUMED; + if ("A".equals(codeString)) + return V3EntityNameUseR2.A; + if ("ANON".equals(codeString)) + return V3EntityNameUseR2.ANON; + if ("I".equals(codeString)) + return V3EntityNameUseR2.I; + if ("P".equals(codeString)) + return V3EntityNameUseR2.P; + if ("R".equals(codeString)) + return V3EntityNameUseR2.R; + if ("C".equals(codeString)) + return V3EntityNameUseR2.C; + if ("M".equals(codeString)) + return V3EntityNameUseR2.M; + if ("NameRepresentationUse".equals(codeString)) + return V3EntityNameUseR2.NAMEREPRESENTATIONUSE; + if ("ABC".equals(codeString)) + return V3EntityNameUseR2.ABC; + if ("IDE".equals(codeString)) + return V3EntityNameUseR2.IDE; + if ("SYL".equals(codeString)) + return V3EntityNameUseR2.SYL; + if ("OLD".equals(codeString)) + return V3EntityNameUseR2.OLD; + if ("DN".equals(codeString)) + return V3EntityNameUseR2.DN; + if ("OR".equals(codeString)) + return V3EntityNameUseR2.OR; + if ("PHON".equals(codeString)) + return V3EntityNameUseR2.PHON; + if ("SRCH".equals(codeString)) + return V3EntityNameUseR2.SRCH; + if ("T".equals(codeString)) + return V3EntityNameUseR2.T; + throw new IllegalArgumentException("Unknown V3EntityNameUseR2 code '"+codeString+"'"); + } + + public String toCode(V3EntityNameUseR2 code) { + if (code == V3EntityNameUseR2.ASSUMED) + return "Assumed"; + if (code == V3EntityNameUseR2.A) + return "A"; + if (code == V3EntityNameUseR2.ANON) + return "ANON"; + if (code == V3EntityNameUseR2.I) + return "I"; + if (code == V3EntityNameUseR2.P) + return "P"; + if (code == V3EntityNameUseR2.R) + return "R"; + if (code == V3EntityNameUseR2.C) + return "C"; + if (code == V3EntityNameUseR2.M) + return "M"; + if (code == V3EntityNameUseR2.NAMEREPRESENTATIONUSE) + return "NameRepresentationUse"; + if (code == V3EntityNameUseR2.ABC) + return "ABC"; + if (code == V3EntityNameUseR2.IDE) + return "IDE"; + if (code == V3EntityNameUseR2.SYL) + return "SYL"; + if (code == V3EntityNameUseR2.OLD) + return "OLD"; + if (code == V3EntityNameUseR2.DN) + return "DN"; + if (code == V3EntityNameUseR2.OR) + return "OR"; + if (code == V3EntityNameUseR2.PHON) + return "PHON"; + if (code == V3EntityNameUseR2.SRCH) + return "SRCH"; + if (code == V3EntityNameUseR2.T) + return "T"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRisk.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRisk.java new file mode 100644 index 00000000000..2f319036543 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRisk.java @@ -0,0 +1,166 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityRisk { + + /** + * A danger that can be associated with certain living subjects, including humans. + */ + AGG, + /** + * The dangers associated with normal biological materials. I.e. potential risk of unknown infections. Routine biological materials from living subjects. + */ + BIO, + /** + * Material is corrosive and may cause severe injury to skin, mucous membranes and eyes. Avoid any unprotected contact. + */ + COR, + /** + * The entity is at risk for escaping from containment or control. + */ + ESC, + /** + * Material is highly inflammable and in certain mixtures (with air) may lead to explosions. Keep away from fire, sparks and excessive heat. + */ + IFL, + /** + * Material is an explosive mixture. Keep away from fire, sparks, and heat. + */ + EXP, + /** + * Material known to be infectious with human pathogenic microorganisms. Those who handle this material must take precautions for their protection. + */ + INF, + /** + * Material contains microorganisms that is an environmental hazard. Must be handled with special care. + */ + BHZ, + /** + * Material is solid and sharp (e.g., cannulas). Dispose in hard container. + */ + INJ, + /** + * Material is poisonous to humans and/or animals. Special care must be taken to avoid incorporation, even of small amounts. + */ + POI, + /** + * Material is a source for ionizing radiation and must be handled with special care to avoid injury of those who handle it and to avoid environmental hazards. + */ + RAD, + /** + * added to help the parsers + */ + NULL; + public static V3EntityRisk fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AGG".equals(codeString)) + return AGG; + if ("BIO".equals(codeString)) + return BIO; + if ("COR".equals(codeString)) + return COR; + if ("ESC".equals(codeString)) + return ESC; + if ("IFL".equals(codeString)) + return IFL; + if ("EXP".equals(codeString)) + return EXP; + if ("INF".equals(codeString)) + return INF; + if ("BHZ".equals(codeString)) + return BHZ; + if ("INJ".equals(codeString)) + return INJ; + if ("POI".equals(codeString)) + return POI; + if ("RAD".equals(codeString)) + return RAD; + throw new Exception("Unknown V3EntityRisk code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AGG: return "AGG"; + case BIO: return "BIO"; + case COR: return "COR"; + case ESC: return "ESC"; + case IFL: return "IFL"; + case EXP: return "EXP"; + case INF: return "INF"; + case BHZ: return "BHZ"; + case INJ: return "INJ"; + case POI: return "POI"; + case RAD: return "RAD"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityRisk"; + } + public String getDefinition() { + switch (this) { + case AGG: return "A danger that can be associated with certain living subjects, including humans."; + case BIO: return "The dangers associated with normal biological materials. I.e. potential risk of unknown infections. Routine biological materials from living subjects."; + case COR: return "Material is corrosive and may cause severe injury to skin, mucous membranes and eyes. Avoid any unprotected contact."; + case ESC: return "The entity is at risk for escaping from containment or control."; + case IFL: return "Material is highly inflammable and in certain mixtures (with air) may lead to explosions. Keep away from fire, sparks and excessive heat."; + case EXP: return "Material is an explosive mixture. Keep away from fire, sparks, and heat."; + case INF: return "Material known to be infectious with human pathogenic microorganisms. Those who handle this material must take precautions for their protection."; + case BHZ: return "Material contains microorganisms that is an environmental hazard. Must be handled with special care."; + case INJ: return "Material is solid and sharp (e.g., cannulas). Dispose in hard container."; + case POI: return "Material is poisonous to humans and/or animals. Special care must be taken to avoid incorporation, even of small amounts."; + case RAD: return "Material is a source for ionizing radiation and must be handled with special care to avoid injury of those who handle it and to avoid environmental hazards."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AGG: return "aggressive"; + case BIO: return "Biological"; + case COR: return "Corrosive"; + case ESC: return "Escape Risk"; + case IFL: return "inflammable"; + case EXP: return "explosive"; + case INF: return "infectious"; + case BHZ: return "biohazard"; + case INJ: return "injury hazard"; + case POI: return "poison"; + case RAD: return "radioactive"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRiskEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRiskEnumFactory.java new file mode 100644 index 00000000000..1f0faca4492 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityRiskEnumFactory.java @@ -0,0 +1,95 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityRiskEnumFactory implements EnumFactory { + + public V3EntityRisk fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AGG".equals(codeString)) + return V3EntityRisk.AGG; + if ("BIO".equals(codeString)) + return V3EntityRisk.BIO; + if ("COR".equals(codeString)) + return V3EntityRisk.COR; + if ("ESC".equals(codeString)) + return V3EntityRisk.ESC; + if ("IFL".equals(codeString)) + return V3EntityRisk.IFL; + if ("EXP".equals(codeString)) + return V3EntityRisk.EXP; + if ("INF".equals(codeString)) + return V3EntityRisk.INF; + if ("BHZ".equals(codeString)) + return V3EntityRisk.BHZ; + if ("INJ".equals(codeString)) + return V3EntityRisk.INJ; + if ("POI".equals(codeString)) + return V3EntityRisk.POI; + if ("RAD".equals(codeString)) + return V3EntityRisk.RAD; + throw new IllegalArgumentException("Unknown V3EntityRisk code '"+codeString+"'"); + } + + public String toCode(V3EntityRisk code) { + if (code == V3EntityRisk.AGG) + return "AGG"; + if (code == V3EntityRisk.BIO) + return "BIO"; + if (code == V3EntityRisk.COR) + return "COR"; + if (code == V3EntityRisk.ESC) + return "ESC"; + if (code == V3EntityRisk.IFL) + return "IFL"; + if (code == V3EntityRisk.EXP) + return "EXP"; + if (code == V3EntityRisk.INF) + return "INF"; + if (code == V3EntityRisk.BHZ) + return "BHZ"; + if (code == V3EntityRisk.INJ) + return "INJ"; + if (code == V3EntityRisk.POI) + return "POI"; + if (code == V3EntityRisk.RAD) + return "RAD"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatus.java new file mode 100644 index 00000000000..6e4553b7d53 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatus.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EntityStatus { + + /** + * The 'typical' state. Excludes "nullified" which represents the termination state of an Entity record instance that was created in error. + */ + NORMAL, + /** + * The state representing the fact that the Entity record is currently active. + */ + ACTIVE, + /** + * Definition: The state representing the fact that the entity is inactive. + */ + INACTIVE, + /** + * The state representing the termination of an Entity record instance that was created in error. + */ + NULLIFIED, + /** + * added to help the parsers + */ + NULL; + public static V3EntityStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return NORMAL; + if ("active".equals(codeString)) + return ACTIVE; + if ("inactive".equals(codeString)) + return INACTIVE; + if ("nullified".equals(codeString)) + return NULLIFIED; + throw new Exception("Unknown V3EntityStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case INACTIVE: return "inactive"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EntityStatus"; + } + public String getDefinition() { + switch (this) { + case NORMAL: return "The 'typical' state. Excludes 'nullified' which represents the termination state of an Entity record instance that was created in error."; + case ACTIVE: return "The state representing the fact that the Entity record is currently active."; + case INACTIVE: return "Definition: The state representing the fact that the entity is inactive."; + case NULLIFIED: return "The state representing the termination of an Entity record instance that was created in error."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case INACTIVE: return "inactive"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatusEnumFactory.java new file mode 100644 index 00000000000..aaec22092c5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EntityStatusEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EntityStatusEnumFactory implements EnumFactory { + + public V3EntityStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return V3EntityStatus.NORMAL; + if ("active".equals(codeString)) + return V3EntityStatus.ACTIVE; + if ("inactive".equals(codeString)) + return V3EntityStatus.INACTIVE; + if ("nullified".equals(codeString)) + return V3EntityStatus.NULLIFIED; + throw new IllegalArgumentException("Unknown V3EntityStatus code '"+codeString+"'"); + } + + public String toCode(V3EntityStatus code) { + if (code == V3EntityStatus.NORMAL) + return "normal"; + if (code == V3EntityStatus.ACTIVE) + return "active"; + if (code == V3EntityStatus.INACTIVE) + return "inactive"; + if (code == V3EntityStatus.NULLIFIED) + return "nullified"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevel.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevel.java new file mode 100644 index 00000000000..4e3cffcb651 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevel.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3EquipmentAlertLevel { + + /** + * Shut Down, Fix Problem and Re-init + */ + C, + /** + * No Corrective Action Needed + */ + N, + /** + * Corrective Action Required + */ + S, + /** + * Corrective Action Anticipated + */ + W, + /** + * added to help the parsers + */ + NULL; + public static V3EquipmentAlertLevel fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("C".equals(codeString)) + return C; + if ("N".equals(codeString)) + return N; + if ("S".equals(codeString)) + return S; + if ("W".equals(codeString)) + return W; + throw new Exception("Unknown V3EquipmentAlertLevel code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case C: return "C"; + case N: return "N"; + case S: return "S"; + case W: return "W"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/EquipmentAlertLevel"; + } + public String getDefinition() { + switch (this) { + case C: return "Shut Down, Fix Problem and Re-init"; + case N: return "No Corrective Action Needed"; + case S: return "Corrective Action Required"; + case W: return "Corrective Action Anticipated"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case C: return "Critical"; + case N: return "Normal"; + case S: return "Serious"; + case W: return "Warning"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevelEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevelEnumFactory.java new file mode 100644 index 00000000000..1beefc6e8f0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EquipmentAlertLevelEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EquipmentAlertLevelEnumFactory implements EnumFactory { + + public V3EquipmentAlertLevel fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("C".equals(codeString)) + return V3EquipmentAlertLevel.C; + if ("N".equals(codeString)) + return V3EquipmentAlertLevel.N; + if ("S".equals(codeString)) + return V3EquipmentAlertLevel.S; + if ("W".equals(codeString)) + return V3EquipmentAlertLevel.W; + throw new IllegalArgumentException("Unknown V3EquipmentAlertLevel code '"+codeString+"'"); + } + + public String toCode(V3EquipmentAlertLevel code) { + if (code == V3EquipmentAlertLevel.C) + return "C"; + if (code == V3EquipmentAlertLevel.N) + return "N"; + if (code == V3EquipmentAlertLevel.S) + return "S"; + if (code == V3EquipmentAlertLevel.W) + return "W"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Ethnicity.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Ethnicity.java new file mode 100644 index 00000000000..58cbdcb9c1f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Ethnicity.java @@ -0,0 +1,454 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Ethnicity { + + /** + * Hispanic or Latino + */ + _21352, + /** + * Spaniard + */ + _21378, + /** + * Andalusian + */ + _21386, + /** + * Asturian + */ + _21394, + /** + * Castillian + */ + _21402, + /** + * Catalonian + */ + _21410, + /** + * Belearic Islander + */ + _21428, + /** + * Gallego + */ + _21436, + /** + * Valencian + */ + _21444, + /** + * Canarian + */ + _21451, + /** + * Spanish Basque + */ + _21469, + /** + * Mexican + */ + _21485, + /** + * Mexican American + */ + _21493, + /** + * Mexicano + */ + _21501, + /** + * Chicano + */ + _21519, + /** + * La Raza + */ + _21527, + /** + * Mexican American Indian + */ + _21535, + /** + * Central American + */ + _21550, + /** + * Costa Rican + */ + _21568, + /** + * Guatemalan + */ + _21576, + /** + * Honduran + */ + _21584, + /** + * Nicaraguan + */ + _21592, + /** + * Panamanian + */ + _21600, + /** + * Salvadoran + */ + _21618, + /** + * Central American Indian + */ + _21626, + /** + * Canal Zone + */ + _21634, + /** + * South American + */ + _21659, + /** + * Argentinean + */ + _21667, + /** + * Bolivian + */ + _21675, + /** + * Chilean + */ + _21683, + /** + * Colombian + */ + _21691, + /** + * Ecuadorian + */ + _21709, + /** + * Paraguayan + */ + _21717, + /** + * Peruvian + */ + _21725, + /** + * Uruguayan + */ + _21733, + /** + * Venezuelan + */ + _21741, + /** + * South American Indian + */ + _21758, + /** + * Criollo + */ + _21766, + /** + * Latin American + */ + _21782, + /** + * Puerto Rican + */ + _21808, + /** + * Cuban + */ + _21824, + /** + * Dominican + */ + _21840, + /** + * Note that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated. + */ + _21865, + /** + * added to help the parsers + */ + NULL; + public static V3Ethnicity fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("2135-2".equals(codeString)) + return _21352; + if ("2137-8".equals(codeString)) + return _21378; + if ("2138-6".equals(codeString)) + return _21386; + if ("2139-4".equals(codeString)) + return _21394; + if ("2140-2".equals(codeString)) + return _21402; + if ("2141-0".equals(codeString)) + return _21410; + if ("2142-8".equals(codeString)) + return _21428; + if ("2143-6".equals(codeString)) + return _21436; + if ("2144-4".equals(codeString)) + return _21444; + if ("2145-1".equals(codeString)) + return _21451; + if ("2146-9".equals(codeString)) + return _21469; + if ("2148-5".equals(codeString)) + return _21485; + if ("2149-3".equals(codeString)) + return _21493; + if ("2150-1".equals(codeString)) + return _21501; + if ("2151-9".equals(codeString)) + return _21519; + if ("2152-7".equals(codeString)) + return _21527; + if ("2153-5".equals(codeString)) + return _21535; + if ("2155-0".equals(codeString)) + return _21550; + if ("2156-8".equals(codeString)) + return _21568; + if ("2157-6".equals(codeString)) + return _21576; + if ("2158-4".equals(codeString)) + return _21584; + if ("2159-2".equals(codeString)) + return _21592; + if ("2160-0".equals(codeString)) + return _21600; + if ("2161-8".equals(codeString)) + return _21618; + if ("2162-6".equals(codeString)) + return _21626; + if ("2163-4".equals(codeString)) + return _21634; + if ("2165-9".equals(codeString)) + return _21659; + if ("2166-7".equals(codeString)) + return _21667; + if ("2167-5".equals(codeString)) + return _21675; + if ("2168-3".equals(codeString)) + return _21683; + if ("2169-1".equals(codeString)) + return _21691; + if ("2170-9".equals(codeString)) + return _21709; + if ("2171-7".equals(codeString)) + return _21717; + if ("2172-5".equals(codeString)) + return _21725; + if ("2173-3".equals(codeString)) + return _21733; + if ("2174-1".equals(codeString)) + return _21741; + if ("2175-8".equals(codeString)) + return _21758; + if ("2176-6".equals(codeString)) + return _21766; + if ("2178-2".equals(codeString)) + return _21782; + if ("2180-8".equals(codeString)) + return _21808; + if ("2182-4".equals(codeString)) + return _21824; + if ("2184-0".equals(codeString)) + return _21840; + if ("2186-5".equals(codeString)) + return _21865; + throw new Exception("Unknown V3Ethnicity code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _21352: return "2135-2"; + case _21378: return "2137-8"; + case _21386: return "2138-6"; + case _21394: return "2139-4"; + case _21402: return "2140-2"; + case _21410: return "2141-0"; + case _21428: return "2142-8"; + case _21436: return "2143-6"; + case _21444: return "2144-4"; + case _21451: return "2145-1"; + case _21469: return "2146-9"; + case _21485: return "2148-5"; + case _21493: return "2149-3"; + case _21501: return "2150-1"; + case _21519: return "2151-9"; + case _21527: return "2152-7"; + case _21535: return "2153-5"; + case _21550: return "2155-0"; + case _21568: return "2156-8"; + case _21576: return "2157-6"; + case _21584: return "2158-4"; + case _21592: return "2159-2"; + case _21600: return "2160-0"; + case _21618: return "2161-8"; + case _21626: return "2162-6"; + case _21634: return "2163-4"; + case _21659: return "2165-9"; + case _21667: return "2166-7"; + case _21675: return "2167-5"; + case _21683: return "2168-3"; + case _21691: return "2169-1"; + case _21709: return "2170-9"; + case _21717: return "2171-7"; + case _21725: return "2172-5"; + case _21733: return "2173-3"; + case _21741: return "2174-1"; + case _21758: return "2175-8"; + case _21766: return "2176-6"; + case _21782: return "2178-2"; + case _21808: return "2180-8"; + case _21824: return "2182-4"; + case _21840: return "2184-0"; + case _21865: return "2186-5"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/Ethnicity"; + } + public String getDefinition() { + switch (this) { + case _21352: return "Hispanic or Latino"; + case _21378: return "Spaniard"; + case _21386: return "Andalusian"; + case _21394: return "Asturian"; + case _21402: return "Castillian"; + case _21410: return "Catalonian"; + case _21428: return "Belearic Islander"; + case _21436: return "Gallego"; + case _21444: return "Valencian"; + case _21451: return "Canarian"; + case _21469: return "Spanish Basque"; + case _21485: return "Mexican"; + case _21493: return "Mexican American"; + case _21501: return "Mexicano"; + case _21519: return "Chicano"; + case _21527: return "La Raza"; + case _21535: return "Mexican American Indian"; + case _21550: return "Central American"; + case _21568: return "Costa Rican"; + case _21576: return "Guatemalan"; + case _21584: return "Honduran"; + case _21592: return "Nicaraguan"; + case _21600: return "Panamanian"; + case _21618: return "Salvadoran"; + case _21626: return "Central American Indian"; + case _21634: return "Canal Zone"; + case _21659: return "South American"; + case _21667: return "Argentinean"; + case _21675: return "Bolivian"; + case _21683: return "Chilean"; + case _21691: return "Colombian"; + case _21709: return "Ecuadorian"; + case _21717: return "Paraguayan"; + case _21725: return "Peruvian"; + case _21733: return "Uruguayan"; + case _21741: return "Venezuelan"; + case _21758: return "South American Indian"; + case _21766: return "Criollo"; + case _21782: return "Latin American"; + case _21808: return "Puerto Rican"; + case _21824: return "Cuban"; + case _21840: return "Dominican"; + case _21865: return "Note that this term remains in the table for completeness, even though within HL7, the notion of 'not otherwise coded' term is deprecated."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _21352: return "Hispanic or Latino"; + case _21378: return "Spaniard"; + case _21386: return "Andalusian"; + case _21394: return "Asturian"; + case _21402: return "Castillian"; + case _21410: return "Catalonian"; + case _21428: return "Belearic Islander"; + case _21436: return "Gallego"; + case _21444: return "Valencian"; + case _21451: return "Canarian"; + case _21469: return "Spanish Basque"; + case _21485: return "Mexican"; + case _21493: return "Mexican American"; + case _21501: return "Mexicano"; + case _21519: return "Chicano"; + case _21527: return "La Raza"; + case _21535: return "Mexican American Indian"; + case _21550: return "Central American"; + case _21568: return "Costa Rican"; + case _21576: return "Guatemalan"; + case _21584: return "Honduran"; + case _21592: return "Nicaraguan"; + case _21600: return "Panamanian"; + case _21618: return "Salvadoran"; + case _21626: return "Central American Indian"; + case _21634: return "Canal Zone"; + case _21659: return "South American"; + case _21667: return "Argentinean"; + case _21675: return "Bolivian"; + case _21683: return "Chilean"; + case _21691: return "Colombian"; + case _21709: return "Ecuadorian"; + case _21717: return "Paraguayan"; + case _21725: return "Peruvian"; + case _21733: return "Uruguayan"; + case _21741: return "Venezuelan"; + case _21758: return "South American Indian"; + case _21766: return "Criollo"; + case _21782: return "Latin American"; + case _21808: return "Puerto Rican"; + case _21824: return "Cuban"; + case _21840: return "Dominican"; + case _21865: return "Not Hispanic or Latino"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EthnicityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EthnicityEnumFactory.java new file mode 100644 index 00000000000..58ce7b16b20 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3EthnicityEnumFactory.java @@ -0,0 +1,223 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3EthnicityEnumFactory implements EnumFactory { + + public V3Ethnicity fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("2135-2".equals(codeString)) + return V3Ethnicity._21352; + if ("2137-8".equals(codeString)) + return V3Ethnicity._21378; + if ("2138-6".equals(codeString)) + return V3Ethnicity._21386; + if ("2139-4".equals(codeString)) + return V3Ethnicity._21394; + if ("2140-2".equals(codeString)) + return V3Ethnicity._21402; + if ("2141-0".equals(codeString)) + return V3Ethnicity._21410; + if ("2142-8".equals(codeString)) + return V3Ethnicity._21428; + if ("2143-6".equals(codeString)) + return V3Ethnicity._21436; + if ("2144-4".equals(codeString)) + return V3Ethnicity._21444; + if ("2145-1".equals(codeString)) + return V3Ethnicity._21451; + if ("2146-9".equals(codeString)) + return V3Ethnicity._21469; + if ("2148-5".equals(codeString)) + return V3Ethnicity._21485; + if ("2149-3".equals(codeString)) + return V3Ethnicity._21493; + if ("2150-1".equals(codeString)) + return V3Ethnicity._21501; + if ("2151-9".equals(codeString)) + return V3Ethnicity._21519; + if ("2152-7".equals(codeString)) + return V3Ethnicity._21527; + if ("2153-5".equals(codeString)) + return V3Ethnicity._21535; + if ("2155-0".equals(codeString)) + return V3Ethnicity._21550; + if ("2156-8".equals(codeString)) + return V3Ethnicity._21568; + if ("2157-6".equals(codeString)) + return V3Ethnicity._21576; + if ("2158-4".equals(codeString)) + return V3Ethnicity._21584; + if ("2159-2".equals(codeString)) + return V3Ethnicity._21592; + if ("2160-0".equals(codeString)) + return V3Ethnicity._21600; + if ("2161-8".equals(codeString)) + return V3Ethnicity._21618; + if ("2162-6".equals(codeString)) + return V3Ethnicity._21626; + if ("2163-4".equals(codeString)) + return V3Ethnicity._21634; + if ("2165-9".equals(codeString)) + return V3Ethnicity._21659; + if ("2166-7".equals(codeString)) + return V3Ethnicity._21667; + if ("2167-5".equals(codeString)) + return V3Ethnicity._21675; + if ("2168-3".equals(codeString)) + return V3Ethnicity._21683; + if ("2169-1".equals(codeString)) + return V3Ethnicity._21691; + if ("2170-9".equals(codeString)) + return V3Ethnicity._21709; + if ("2171-7".equals(codeString)) + return V3Ethnicity._21717; + if ("2172-5".equals(codeString)) + return V3Ethnicity._21725; + if ("2173-3".equals(codeString)) + return V3Ethnicity._21733; + if ("2174-1".equals(codeString)) + return V3Ethnicity._21741; + if ("2175-8".equals(codeString)) + return V3Ethnicity._21758; + if ("2176-6".equals(codeString)) + return V3Ethnicity._21766; + if ("2178-2".equals(codeString)) + return V3Ethnicity._21782; + if ("2180-8".equals(codeString)) + return V3Ethnicity._21808; + if ("2182-4".equals(codeString)) + return V3Ethnicity._21824; + if ("2184-0".equals(codeString)) + return V3Ethnicity._21840; + if ("2186-5".equals(codeString)) + return V3Ethnicity._21865; + throw new IllegalArgumentException("Unknown V3Ethnicity code '"+codeString+"'"); + } + + public String toCode(V3Ethnicity code) { + if (code == V3Ethnicity._21352) + return "2135-2"; + if (code == V3Ethnicity._21378) + return "2137-8"; + if (code == V3Ethnicity._21386) + return "2138-6"; + if (code == V3Ethnicity._21394) + return "2139-4"; + if (code == V3Ethnicity._21402) + return "2140-2"; + if (code == V3Ethnicity._21410) + return "2141-0"; + if (code == V3Ethnicity._21428) + return "2142-8"; + if (code == V3Ethnicity._21436) + return "2143-6"; + if (code == V3Ethnicity._21444) + return "2144-4"; + if (code == V3Ethnicity._21451) + return "2145-1"; + if (code == V3Ethnicity._21469) + return "2146-9"; + if (code == V3Ethnicity._21485) + return "2148-5"; + if (code == V3Ethnicity._21493) + return "2149-3"; + if (code == V3Ethnicity._21501) + return "2150-1"; + if (code == V3Ethnicity._21519) + return "2151-9"; + if (code == V3Ethnicity._21527) + return "2152-7"; + if (code == V3Ethnicity._21535) + return "2153-5"; + if (code == V3Ethnicity._21550) + return "2155-0"; + if (code == V3Ethnicity._21568) + return "2156-8"; + if (code == V3Ethnicity._21576) + return "2157-6"; + if (code == V3Ethnicity._21584) + return "2158-4"; + if (code == V3Ethnicity._21592) + return "2159-2"; + if (code == V3Ethnicity._21600) + return "2160-0"; + if (code == V3Ethnicity._21618) + return "2161-8"; + if (code == V3Ethnicity._21626) + return "2162-6"; + if (code == V3Ethnicity._21634) + return "2163-4"; + if (code == V3Ethnicity._21659) + return "2165-9"; + if (code == V3Ethnicity._21667) + return "2166-7"; + if (code == V3Ethnicity._21675) + return "2167-5"; + if (code == V3Ethnicity._21683) + return "2168-3"; + if (code == V3Ethnicity._21691) + return "2169-1"; + if (code == V3Ethnicity._21709) + return "2170-9"; + if (code == V3Ethnicity._21717) + return "2171-7"; + if (code == V3Ethnicity._21725) + return "2172-5"; + if (code == V3Ethnicity._21733) + return "2173-3"; + if (code == V3Ethnicity._21741) + return "2174-1"; + if (code == V3Ethnicity._21758) + return "2175-8"; + if (code == V3Ethnicity._21766) + return "2176-6"; + if (code == V3Ethnicity._21782) + return "2178-2"; + if (code == V3Ethnicity._21808) + return "2180-8"; + if (code == V3Ethnicity._21824) + return "2182-4"; + if (code == V3Ethnicity._21840) + return "2184-0"; + if (code == V3Ethnicity._21865) + return "2186-5"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureMode.java new file mode 100644 index 00000000000..01155a781a2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureMode.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ExposureMode { + + /** + * Code for the mechanism by which the exposure agent was exchanged or potentially exchanged by the participants involved in the exposure. + */ + _EXPOSUREMODE, + /** + * Description: Communication of an agent from a living subject or environmental source to a living subject through indirect contact via oral or nasal inhalation. + */ + AIRBORNE, + /** + * Description: Communication of an agent from a living subject or environmental source to a living subject through direct physical contact. + */ + CONTACT, + /** + * Description: Communication of an agent from a food source to a living subject via oral consumption. + */ + FOODBORNE, + /** + * Description: Communication of an agent to a living subject by contact and/or consumption via an aqueous medium + */ + WATERBORNE, + /** + * added to help the parsers + */ + NULL; + public static V3ExposureMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ExposureMode".equals(codeString)) + return _EXPOSUREMODE; + if ("AIRBORNE".equals(codeString)) + return AIRBORNE; + if ("CONTACT".equals(codeString)) + return CONTACT; + if ("FOODBORNE".equals(codeString)) + return FOODBORNE; + if ("WATERBORNE".equals(codeString)) + return WATERBORNE; + throw new Exception("Unknown V3ExposureMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _EXPOSUREMODE: return "_ExposureMode"; + case AIRBORNE: return "AIRBORNE"; + case CONTACT: return "CONTACT"; + case FOODBORNE: return "FOODBORNE"; + case WATERBORNE: return "WATERBORNE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ExposureMode"; + } + public String getDefinition() { + switch (this) { + case _EXPOSUREMODE: return "Code for the mechanism by which the exposure agent was exchanged or potentially exchanged by the participants involved in the exposure."; + case AIRBORNE: return "Description: Communication of an agent from a living subject or environmental source to a living subject through indirect contact via oral or nasal inhalation."; + case CONTACT: return "Description: Communication of an agent from a living subject or environmental source to a living subject through direct physical contact."; + case FOODBORNE: return "Description: Communication of an agent from a food source to a living subject via oral consumption."; + case WATERBORNE: return "Description: Communication of an agent to a living subject by contact and/or consumption via an aqueous medium"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _EXPOSUREMODE: return "ExposureMode"; + case AIRBORNE: return "airborne"; + case CONTACT: return "contact"; + case FOODBORNE: return "foodborne"; + case WATERBORNE: return "waterborne"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureModeEnumFactory.java new file mode 100644 index 00000000000..2bc7d53cad0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ExposureModeEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ExposureModeEnumFactory implements EnumFactory { + + public V3ExposureMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ExposureMode".equals(codeString)) + return V3ExposureMode._EXPOSUREMODE; + if ("AIRBORNE".equals(codeString)) + return V3ExposureMode.AIRBORNE; + if ("CONTACT".equals(codeString)) + return V3ExposureMode.CONTACT; + if ("FOODBORNE".equals(codeString)) + return V3ExposureMode.FOODBORNE; + if ("WATERBORNE".equals(codeString)) + return V3ExposureMode.WATERBORNE; + throw new IllegalArgumentException("Unknown V3ExposureMode code '"+codeString+"'"); + } + + public String toCode(V3ExposureMode code) { + if (code == V3ExposureMode._EXPOSUREMODE) + return "_ExposureMode"; + if (code == V3ExposureMode.AIRBORNE) + return "AIRBORNE"; + if (code == V3ExposureMode.CONTACT) + return "CONTACT"; + if (code == V3ExposureMode.FOODBORNE) + return "FOODBORNE"; + if (code == V3ExposureMode.WATERBORNE) + return "WATERBORNE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviation.java new file mode 100644 index 00000000000..9a9960e963d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviation.java @@ -0,0 +1,364 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3GTSAbbreviation { + + /** + * Every morning at institution specified times. + */ + AM, + /** + * Two times a day at institution specified time + */ + BID, + /** + * Regular business days (Monday to Friday excluding holidays) + */ + JB, + /** + * Regular weekends (Saturday and Sunday excluding holidays) + */ + JE, + /** + * Holidays + */ + JH, + /** + * Christian Holidays (Roman/Gregorian [Western] Tradition.) + */ + _GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN, + /** + * Easter Sunday. The Easter date is a rather complex calculation based on Astronomical tables describing full moon dates. Details can be found at [http://www.assa.org.au/edm.html, and http://aa.usno.navy.mil/AA/faq/docs/easter.html]. Note that the Christian Orthodox Holidays are based on the Julian calendar. + */ + JHCHREAS, + /** + * Good Friday, is the Friday right before Easter Sunday. + */ + JHCHRGFR, + /** + * New Year's Day (January 1) + */ + JHCHRNEW, + /** + * Pentecost Sunday, is seven weeks after Easter (the 50th day of Easter). + */ + JHCHRPEN, + /** + * Christmas Eve (December 24) + */ + JHCHRXME, + /** + * Christmas Day (December 25) + */ + JHCHRXMS, + /** + * Description:The Netherlands National Holidays. + */ + JHNNL, + /** + * Description:Liberation day (May 5 every five years) + */ + JHNNLLD, + /** + * Description:Queen's day (April 30) + */ + JHNNLQD, + /** + * Description:Sinterklaas (December 5) + */ + JHNNLSK, + /** + * United States National Holidays (public holidays for federal employees established by U.S. Federal law 5 U.S.C. 6103). + */ + JHNUS, + /** + * Columbus Day, the second Monday in October. + */ + JHNUSCLM, + /** + * Independence Day (4th of July) + */ + JHNUSIND, + /** + * Alternative Monday after 4th of July Weekend [5 U.S.C. 6103(b)]. + */ + JHNUSIND1, + /** + * Alternative Friday before 4th of July Weekend [5 U.S.C. 6103(b)]. + */ + JHNUSIND5, + /** + * Labor Day, the first Monday in September. + */ + JHNUSLBR, + /** + * Memorial Day, the last Monday in May. + */ + JHNUSMEM, + /** + * Friday before Memorial Day Weekend + */ + JHNUSMEM5, + /** + * Saturday of Memorial Day Weekend + */ + JHNUSMEM6, + /** + * Dr. Martin Luther King, Jr. Day, the third Monday in January. + */ + JHNUSMLK, + /** + * Washington's Birthday (Presidential Day) the third Monday in February. + */ + JHNUSPRE, + /** + * Thanksgiving Day, the fourth Thursday in November. + */ + JHNUSTKS, + /** + * Friday after Thanksgiving. + */ + JHNUSTKS5, + /** + * Veteran's Day, November 11. + */ + JHNUSVET, + /** + * Every afternoon at institution specified times. + */ + PM, + /** + * Four times a day at institution specified time + */ + QID, + /** + * Three times a day at institution specified time + */ + TID, + /** + * added to help the parsers + */ + NULL; + public static V3GTSAbbreviation fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AM".equals(codeString)) + return AM; + if ("BID".equals(codeString)) + return BID; + if ("JB".equals(codeString)) + return JB; + if ("JE".equals(codeString)) + return JE; + if ("JH".equals(codeString)) + return JH; + if ("_GTSAbbreviationHolidaysChristianRoman".equals(codeString)) + return _GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN; + if ("JHCHREAS".equals(codeString)) + return JHCHREAS; + if ("JHCHRGFR".equals(codeString)) + return JHCHRGFR; + if ("JHCHRNEW".equals(codeString)) + return JHCHRNEW; + if ("JHCHRPEN".equals(codeString)) + return JHCHRPEN; + if ("JHCHRXME".equals(codeString)) + return JHCHRXME; + if ("JHCHRXMS".equals(codeString)) + return JHCHRXMS; + if ("JHNNL".equals(codeString)) + return JHNNL; + if ("JHNNLLD".equals(codeString)) + return JHNNLLD; + if ("JHNNLQD".equals(codeString)) + return JHNNLQD; + if ("JHNNLSK".equals(codeString)) + return JHNNLSK; + if ("JHNUS".equals(codeString)) + return JHNUS; + if ("JHNUSCLM".equals(codeString)) + return JHNUSCLM; + if ("JHNUSIND".equals(codeString)) + return JHNUSIND; + if ("JHNUSIND1".equals(codeString)) + return JHNUSIND1; + if ("JHNUSIND5".equals(codeString)) + return JHNUSIND5; + if ("JHNUSLBR".equals(codeString)) + return JHNUSLBR; + if ("JHNUSMEM".equals(codeString)) + return JHNUSMEM; + if ("JHNUSMEM5".equals(codeString)) + return JHNUSMEM5; + if ("JHNUSMEM6".equals(codeString)) + return JHNUSMEM6; + if ("JHNUSMLK".equals(codeString)) + return JHNUSMLK; + if ("JHNUSPRE".equals(codeString)) + return JHNUSPRE; + if ("JHNUSTKS".equals(codeString)) + return JHNUSTKS; + if ("JHNUSTKS5".equals(codeString)) + return JHNUSTKS5; + if ("JHNUSVET".equals(codeString)) + return JHNUSVET; + if ("PM".equals(codeString)) + return PM; + if ("QID".equals(codeString)) + return QID; + if ("TID".equals(codeString)) + return TID; + throw new Exception("Unknown V3GTSAbbreviation code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AM: return "AM"; + case BID: return "BID"; + case JB: return "JB"; + case JE: return "JE"; + case JH: return "JH"; + case _GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN: return "_GTSAbbreviationHolidaysChristianRoman"; + case JHCHREAS: return "JHCHREAS"; + case JHCHRGFR: return "JHCHRGFR"; + case JHCHRNEW: return "JHCHRNEW"; + case JHCHRPEN: return "JHCHRPEN"; + case JHCHRXME: return "JHCHRXME"; + case JHCHRXMS: return "JHCHRXMS"; + case JHNNL: return "JHNNL"; + case JHNNLLD: return "JHNNLLD"; + case JHNNLQD: return "JHNNLQD"; + case JHNNLSK: return "JHNNLSK"; + case JHNUS: return "JHNUS"; + case JHNUSCLM: return "JHNUSCLM"; + case JHNUSIND: return "JHNUSIND"; + case JHNUSIND1: return "JHNUSIND1"; + case JHNUSIND5: return "JHNUSIND5"; + case JHNUSLBR: return "JHNUSLBR"; + case JHNUSMEM: return "JHNUSMEM"; + case JHNUSMEM5: return "JHNUSMEM5"; + case JHNUSMEM6: return "JHNUSMEM6"; + case JHNUSMLK: return "JHNUSMLK"; + case JHNUSPRE: return "JHNUSPRE"; + case JHNUSTKS: return "JHNUSTKS"; + case JHNUSTKS5: return "JHNUSTKS5"; + case JHNUSVET: return "JHNUSVET"; + case PM: return "PM"; + case QID: return "QID"; + case TID: return "TID"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/GTSAbbreviation"; + } + public String getDefinition() { + switch (this) { + case AM: return "Every morning at institution specified times."; + case BID: return "Two times a day at institution specified time"; + case JB: return "Regular business days (Monday to Friday excluding holidays)"; + case JE: return "Regular weekends (Saturday and Sunday excluding holidays)"; + case JH: return "Holidays"; + case _GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN: return "Christian Holidays (Roman/Gregorian [Western] Tradition.)"; + case JHCHREAS: return "Easter Sunday. The Easter date is a rather complex calculation based on Astronomical tables describing full moon dates. Details can be found at [http://www.assa.org.au/edm.html, and http://aa.usno.navy.mil/AA/faq/docs/easter.html]. Note that the Christian Orthodox Holidays are based on the Julian calendar."; + case JHCHRGFR: return "Good Friday, is the Friday right before Easter Sunday."; + case JHCHRNEW: return "New Year's Day (January 1)"; + case JHCHRPEN: return "Pentecost Sunday, is seven weeks after Easter (the 50th day of Easter)."; + case JHCHRXME: return "Christmas Eve (December 24)"; + case JHCHRXMS: return "Christmas Day (December 25)"; + case JHNNL: return "Description:The Netherlands National Holidays."; + case JHNNLLD: return "Description:Liberation day (May 5 every five years)"; + case JHNNLQD: return "Description:Queen's day (April 30)"; + case JHNNLSK: return "Description:Sinterklaas (December 5)"; + case JHNUS: return "United States National Holidays (public holidays for federal employees established by U.S. Federal law 5 U.S.C. 6103)."; + case JHNUSCLM: return "Columbus Day, the second Monday in October."; + case JHNUSIND: return "Independence Day (4th of July)"; + case JHNUSIND1: return "Alternative Monday after 4th of July Weekend [5 U.S.C. 6103(b)]."; + case JHNUSIND5: return "Alternative Friday before 4th of July Weekend [5 U.S.C. 6103(b)]."; + case JHNUSLBR: return "Labor Day, the first Monday in September."; + case JHNUSMEM: return "Memorial Day, the last Monday in May."; + case JHNUSMEM5: return "Friday before Memorial Day Weekend"; + case JHNUSMEM6: return "Saturday of Memorial Day Weekend"; + case JHNUSMLK: return "Dr. Martin Luther King, Jr. Day, the third Monday in January."; + case JHNUSPRE: return "Washington's Birthday (Presidential Day) the third Monday in February."; + case JHNUSTKS: return "Thanksgiving Day, the fourth Thursday in November."; + case JHNUSTKS5: return "Friday after Thanksgiving."; + case JHNUSVET: return "Veteran's Day, November 11."; + case PM: return "Every afternoon at institution specified times."; + case QID: return "Four times a day at institution specified time"; + case TID: return "Three times a day at institution specified time"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AM: return "AM"; + case BID: return "BID"; + case JB: return "JB"; + case JE: return "JE"; + case JH: return "GTSAbbreviationHolidays"; + case _GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN: return "GTSAbbreviationHolidaysChristianRoman"; + case JHCHREAS: return "JHCHREAS"; + case JHCHRGFR: return "JHCHRGFR"; + case JHCHRNEW: return "JHCHRNEW"; + case JHCHRPEN: return "JHCHRPEN"; + case JHCHRXME: return "JHCHRXME"; + case JHCHRXMS: return "JHCHRXMS"; + case JHNNL: return "The Netherlands National Holidays"; + case JHNNLLD: return "Liberation day (May 5 every five years)"; + case JHNNLQD: return "Queen's day (April 30)"; + case JHNNLSK: return "Sinterklaas (December 5)"; + case JHNUS: return "GTSAbbreviationHolidaysUSNational"; + case JHNUSCLM: return "JHNUSCLM"; + case JHNUSIND: return "JHNUSIND"; + case JHNUSIND1: return "JHNUSIND1"; + case JHNUSIND5: return "JHNUSIND5"; + case JHNUSLBR: return "JHNUSLBR"; + case JHNUSMEM: return "JHNUSMEM"; + case JHNUSMEM5: return "JHNUSMEM5"; + case JHNUSMEM6: return "JHNUSMEM6"; + case JHNUSMLK: return "JHNUSMLK"; + case JHNUSPRE: return "JHNUSPRE"; + case JHNUSTKS: return "JHNUSTKS"; + case JHNUSTKS5: return "JHNUSTKS5"; + case JHNUSVET: return "JHNUSVET"; + case PM: return "PM"; + case QID: return "QID"; + case TID: return "TID"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviationEnumFactory.java new file mode 100644 index 00000000000..3f640c06067 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GTSAbbreviationEnumFactory.java @@ -0,0 +1,183 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3GTSAbbreviationEnumFactory implements EnumFactory { + + public V3GTSAbbreviation fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AM".equals(codeString)) + return V3GTSAbbreviation.AM; + if ("BID".equals(codeString)) + return V3GTSAbbreviation.BID; + if ("JB".equals(codeString)) + return V3GTSAbbreviation.JB; + if ("JE".equals(codeString)) + return V3GTSAbbreviation.JE; + if ("JH".equals(codeString)) + return V3GTSAbbreviation.JH; + if ("_GTSAbbreviationHolidaysChristianRoman".equals(codeString)) + return V3GTSAbbreviation._GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN; + if ("JHCHREAS".equals(codeString)) + return V3GTSAbbreviation.JHCHREAS; + if ("JHCHRGFR".equals(codeString)) + return V3GTSAbbreviation.JHCHRGFR; + if ("JHCHRNEW".equals(codeString)) + return V3GTSAbbreviation.JHCHRNEW; + if ("JHCHRPEN".equals(codeString)) + return V3GTSAbbreviation.JHCHRPEN; + if ("JHCHRXME".equals(codeString)) + return V3GTSAbbreviation.JHCHRXME; + if ("JHCHRXMS".equals(codeString)) + return V3GTSAbbreviation.JHCHRXMS; + if ("JHNNL".equals(codeString)) + return V3GTSAbbreviation.JHNNL; + if ("JHNNLLD".equals(codeString)) + return V3GTSAbbreviation.JHNNLLD; + if ("JHNNLQD".equals(codeString)) + return V3GTSAbbreviation.JHNNLQD; + if ("JHNNLSK".equals(codeString)) + return V3GTSAbbreviation.JHNNLSK; + if ("JHNUS".equals(codeString)) + return V3GTSAbbreviation.JHNUS; + if ("JHNUSCLM".equals(codeString)) + return V3GTSAbbreviation.JHNUSCLM; + if ("JHNUSIND".equals(codeString)) + return V3GTSAbbreviation.JHNUSIND; + if ("JHNUSIND1".equals(codeString)) + return V3GTSAbbreviation.JHNUSIND1; + if ("JHNUSIND5".equals(codeString)) + return V3GTSAbbreviation.JHNUSIND5; + if ("JHNUSLBR".equals(codeString)) + return V3GTSAbbreviation.JHNUSLBR; + if ("JHNUSMEM".equals(codeString)) + return V3GTSAbbreviation.JHNUSMEM; + if ("JHNUSMEM5".equals(codeString)) + return V3GTSAbbreviation.JHNUSMEM5; + if ("JHNUSMEM6".equals(codeString)) + return V3GTSAbbreviation.JHNUSMEM6; + if ("JHNUSMLK".equals(codeString)) + return V3GTSAbbreviation.JHNUSMLK; + if ("JHNUSPRE".equals(codeString)) + return V3GTSAbbreviation.JHNUSPRE; + if ("JHNUSTKS".equals(codeString)) + return V3GTSAbbreviation.JHNUSTKS; + if ("JHNUSTKS5".equals(codeString)) + return V3GTSAbbreviation.JHNUSTKS5; + if ("JHNUSVET".equals(codeString)) + return V3GTSAbbreviation.JHNUSVET; + if ("PM".equals(codeString)) + return V3GTSAbbreviation.PM; + if ("QID".equals(codeString)) + return V3GTSAbbreviation.QID; + if ("TID".equals(codeString)) + return V3GTSAbbreviation.TID; + throw new IllegalArgumentException("Unknown V3GTSAbbreviation code '"+codeString+"'"); + } + + public String toCode(V3GTSAbbreviation code) { + if (code == V3GTSAbbreviation.AM) + return "AM"; + if (code == V3GTSAbbreviation.BID) + return "BID"; + if (code == V3GTSAbbreviation.JB) + return "JB"; + if (code == V3GTSAbbreviation.JE) + return "JE"; + if (code == V3GTSAbbreviation.JH) + return "JH"; + if (code == V3GTSAbbreviation._GTSABBREVIATIONHOLIDAYSCHRISTIANROMAN) + return "_GTSAbbreviationHolidaysChristianRoman"; + if (code == V3GTSAbbreviation.JHCHREAS) + return "JHCHREAS"; + if (code == V3GTSAbbreviation.JHCHRGFR) + return "JHCHRGFR"; + if (code == V3GTSAbbreviation.JHCHRNEW) + return "JHCHRNEW"; + if (code == V3GTSAbbreviation.JHCHRPEN) + return "JHCHRPEN"; + if (code == V3GTSAbbreviation.JHCHRXME) + return "JHCHRXME"; + if (code == V3GTSAbbreviation.JHCHRXMS) + return "JHCHRXMS"; + if (code == V3GTSAbbreviation.JHNNL) + return "JHNNL"; + if (code == V3GTSAbbreviation.JHNNLLD) + return "JHNNLLD"; + if (code == V3GTSAbbreviation.JHNNLQD) + return "JHNNLQD"; + if (code == V3GTSAbbreviation.JHNNLSK) + return "JHNNLSK"; + if (code == V3GTSAbbreviation.JHNUS) + return "JHNUS"; + if (code == V3GTSAbbreviation.JHNUSCLM) + return "JHNUSCLM"; + if (code == V3GTSAbbreviation.JHNUSIND) + return "JHNUSIND"; + if (code == V3GTSAbbreviation.JHNUSIND1) + return "JHNUSIND1"; + if (code == V3GTSAbbreviation.JHNUSIND5) + return "JHNUSIND5"; + if (code == V3GTSAbbreviation.JHNUSLBR) + return "JHNUSLBR"; + if (code == V3GTSAbbreviation.JHNUSMEM) + return "JHNUSMEM"; + if (code == V3GTSAbbreviation.JHNUSMEM5) + return "JHNUSMEM5"; + if (code == V3GTSAbbreviation.JHNUSMEM6) + return "JHNUSMEM6"; + if (code == V3GTSAbbreviation.JHNUSMLK) + return "JHNUSMLK"; + if (code == V3GTSAbbreviation.JHNUSPRE) + return "JHNUSPRE"; + if (code == V3GTSAbbreviation.JHNUSTKS) + return "JHNUSTKS"; + if (code == V3GTSAbbreviation.JHNUSTKS5) + return "JHNUSTKS5"; + if (code == V3GTSAbbreviation.JHNUSVET) + return "JHNUSVET"; + if (code == V3GTSAbbreviation.PM) + return "PM"; + if (code == V3GTSAbbreviation.QID) + return "QID"; + if (code == V3GTSAbbreviation.TID) + return "TID"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatus.java new file mode 100644 index 00000000000..800bd0aab2a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatus.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3GenderStatus { + + /** + * Reproductively intact + */ + I, + /** + * Reproductively neutered + */ + N, + /** + * added to help the parsers + */ + NULL; + public static V3GenderStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("I".equals(codeString)) + return I; + if ("N".equals(codeString)) + return N; + throw new Exception("Unknown V3GenderStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case I: return "I"; + case N: return "N"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/GenderStatus"; + } + public String getDefinition() { + switch (this) { + case I: return "Reproductively intact"; + case N: return "Reproductively neutered"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case I: return "Intact"; + case N: return "Neutered"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatusEnumFactory.java new file mode 100644 index 00000000000..b25aaa27a6f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3GenderStatusEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3GenderStatusEnumFactory implements EnumFactory { + + public V3GenderStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("I".equals(codeString)) + return V3GenderStatus.I; + if ("N".equals(codeString)) + return V3GenderStatus.N; + throw new IllegalArgumentException("Unknown V3GenderStatus code '"+codeString+"'"); + } + + public String toCode(V3GenderStatus code) { + if (code == V3GenderStatus.I) + return "I"; + if (code == V3GenderStatus.N) + return "N"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateMode.java new file mode 100644 index 00000000000..8712c61dbe1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateMode.java @@ -0,0 +1,139 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3HL7UpdateMode { + + /** + * Description:The item was (or is to be) added, having not been present immediately before. (If it is already present, this may be treated as an error condition.) + */ + A, + /** + * Description:The item was (or is to be) either added or replaced. + */ + AR, + /** + * Description:The item was (or is to be) removed (sometimes referred to as deleted). If the item is part of a collection, delete any matching items. + */ + D, + /** + * Description:This item is part of the identifying information for this object. + */ + K, + /** + * Description:There was (or is to be) no change to the item. This is primarily used when this element has not changed, but other attributes in the instance have changed. + */ + N, + /** + * Description:The item existed previously and has (or is to be) revised. (If an item does not already exist, this may be treated as an error condition.) + */ + R, + /** + * Description:This item provides enough information to allow a processing system to locate the full applicable record by identifying the object. + */ + REF, + /** + * Description:Description:It is not specified whether or what kind of change has occurred to the item, or whether the item is present as a reference or identifying property. + */ + U, + /** + * added to help the parsers + */ + NULL; + public static V3HL7UpdateMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return A; + if ("AR".equals(codeString)) + return AR; + if ("D".equals(codeString)) + return D; + if ("K".equals(codeString)) + return K; + if ("N".equals(codeString)) + return N; + if ("R".equals(codeString)) + return R; + if ("REF".equals(codeString)) + return REF; + if ("U".equals(codeString)) + return U; + throw new Exception("Unknown V3HL7UpdateMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "A"; + case AR: return "AR"; + case D: return "D"; + case K: return "K"; + case N: return "N"; + case R: return "R"; + case REF: return "REF"; + case U: return "U"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/HL7UpdateMode"; + } + public String getDefinition() { + switch (this) { + case A: return "Description:The item was (or is to be) added, having not been present immediately before. (If it is already present, this may be treated as an error condition.)"; + case AR: return "Description:The item was (or is to be) either added or replaced."; + case D: return "Description:The item was (or is to be) removed (sometimes referred to as deleted). If the item is part of a collection, delete any matching items."; + case K: return "Description:This item is part of the identifying information for this object."; + case N: return "Description:There was (or is to be) no change to the item. This is primarily used when this element has not changed, but other attributes in the instance have changed."; + case R: return "Description:The item existed previously and has (or is to be) revised. (If an item does not already exist, this may be treated as an error condition.)"; + case REF: return "Description:This item provides enough information to allow a processing system to locate the full applicable record by identifying the object."; + case U: return "Description:Description:It is not specified whether or what kind of change has occurred to the item, or whether the item is present as a reference or identifying property."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "Add"; + case AR: return "Add or Replace"; + case D: return "Remove"; + case K: return "Key"; + case N: return "No Change"; + case R: return "Replace"; + case REF: return "Reference"; + case U: return "Unknown"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateModeEnumFactory.java new file mode 100644 index 00000000000..3707ac205b3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HL7UpdateModeEnumFactory.java @@ -0,0 +1,83 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3HL7UpdateModeEnumFactory implements EnumFactory { + + public V3HL7UpdateMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return V3HL7UpdateMode.A; + if ("AR".equals(codeString)) + return V3HL7UpdateMode.AR; + if ("D".equals(codeString)) + return V3HL7UpdateMode.D; + if ("K".equals(codeString)) + return V3HL7UpdateMode.K; + if ("N".equals(codeString)) + return V3HL7UpdateMode.N; + if ("R".equals(codeString)) + return V3HL7UpdateMode.R; + if ("REF".equals(codeString)) + return V3HL7UpdateMode.REF; + if ("U".equals(codeString)) + return V3HL7UpdateMode.U; + throw new IllegalArgumentException("Unknown V3HL7UpdateMode code '"+codeString+"'"); + } + + public String toCode(V3HL7UpdateMode code) { + if (code == V3HL7UpdateMode.A) + return "A"; + if (code == V3HL7UpdateMode.AR) + return "AR"; + if (code == V3HL7UpdateMode.D) + return "D"; + if (code == V3HL7UpdateMode.K) + return "K"; + if (code == V3HL7UpdateMode.N) + return "N"; + if (code == V3HL7UpdateMode.R) + return "R"; + if (code == V3HL7UpdateMode.REF) + return "REF"; + if (code == V3HL7UpdateMode.U) + return "U"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7Realm.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7Realm.java new file mode 100644 index 00000000000..6b30b999bbc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7Realm.java @@ -0,0 +1,472 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Hl7Realm { + + /** + * Description: Concepts that can be used as Binding Realms when creating Binding Statements. These codes are permitted to appear in the InfrastructureRoot.realmCode attribute. + */ + BINDINGREALMS, + /** + * Description: Realm codes for official HL7 organizational bodies. This includes both the HL7 International organization as well as all recognized international affiliates (past and present). These groups have the ability to bind vocabulary and develop artifacts. As well, they have the ability to have "ownership" over other binding realms and namespace realms via the owningAffiliate property of those other realm codes. + */ + AFFILIATEREALMS, + /** + * Description: Realm code for use of Argentina + */ + AR, + /** + * Description: Realm code for use of Austria + */ + AT, + /** + * Description: Realm code for use of Australia + */ + AU, + /** + * Description: Realm code for use of Brazil + */ + BR, + /** + * Description: Realm code for use of Canada + */ + CA, + /** + * Description: Realm code for use of Switzerland + */ + CH, + /** + * Description: Realm code for use of Chile + */ + CL, + /** + * Description: Realm code for use of China + */ + CN, + /** + * Description: Realm code for use of Localized Version + */ + CO, + /** + * Description: Realm code for use of Czech Republic + */ + CZ, + /** + * Description: Realm code for use of Germany + */ + DE, + /** + * Description: Realm code for use of Denmark + */ + DK, + /** + * Description: Realm code for use of Spain + */ + ES, + /** + * Description: Realm code for use of Finland + */ + FI, + /** + * Description: Realm code for use of France + */ + FR, + /** + * Description: Realm code for use of Greece + */ + GR, + /** + * Description: Realm code for use of Croatia + */ + HR, + /** + * Description: Realm code for use of Ireland + */ + IE, + /** + * Description: Realm code for use of India + */ + IN, + /** + * Description: Realm code for use of Italy + */ + IT, + /** + * Description: Realm code for use of Japan + */ + JP, + /** + * Description: Realm code for use of Korea + */ + KR, + /** + * Description: Realm code for use of Lithuania + */ + LT, + /** + * Description: Realm code for use of Mexico + */ + MX, + /** + * Description: Realm code for use of The Netherlands + */ + NL, + /** + * Description: Realm code for use of New Zealand + */ + NZ, + /** + * Description: Realm code for use of Romania + */ + RO, + /** + * Description: Realm code for use of Russian Federation + */ + RU, + /** + * Description: Realm code for use of Sweden + */ + SE, + /** + * Description: Realm code for use of Localized Version + */ + SG, + /** + * Description: Realm code for use of Southern Africa + */ + SOA, + /** + * Description: Realm code for use of Turkey + */ + TR, + /** + * Description: Realm code for use of Taiwan + */ + TW, + /** + * Description: Realm code for use of United Kingdom + */ + UK, + /** + * Description: Realm code for use of United States of America + */ + US, + /** + * Description: Realm code for use of Universal realm or context, used in every instance + */ + UV, + /** + * Description: Realm code for use of Uruguay + */ + UY, + /** + * Description: Realm code for use of Unclassified Realm + */ + C1, + /** + * Description: Realm code for use of Great Britain + */ + GB, + /** + * Description: Realm code for use of Representative Realm + */ + R1, + /** + * Description: Realm code for use of Example Realm + */ + X1, + /** + * Description: Codes that can be used in the "realm" portion of HL7 v3 artifact identifiers. + */ + NAMESPACEREALMS, + /** + * Description: An artifact created for local use only. This realm namespace has no owning affiliate. Its use is uncontrolled, i.e. anyone can create artifacts using this realm namespace. Because of this, there is a significant likelihood of artifact identifier collisions. Implementers are encouraged to register their artifacts under an affiliate owned and controlled namespace to avoid such collision problems where possible. + */ + ZZ, + /** + * added to help the parsers + */ + NULL; + public static V3Hl7Realm fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("BindingRealms".equals(codeString)) + return BINDINGREALMS; + if ("AffiliateRealms".equals(codeString)) + return AFFILIATEREALMS; + if ("AR".equals(codeString)) + return AR; + if ("AT".equals(codeString)) + return AT; + if ("AU".equals(codeString)) + return AU; + if ("BR".equals(codeString)) + return BR; + if ("CA".equals(codeString)) + return CA; + if ("CH".equals(codeString)) + return CH; + if ("CL".equals(codeString)) + return CL; + if ("CN".equals(codeString)) + return CN; + if ("CO".equals(codeString)) + return CO; + if ("CZ".equals(codeString)) + return CZ; + if ("DE".equals(codeString)) + return DE; + if ("DK".equals(codeString)) + return DK; + if ("ES".equals(codeString)) + return ES; + if ("FI".equals(codeString)) + return FI; + if ("FR".equals(codeString)) + return FR; + if ("GR".equals(codeString)) + return GR; + if ("HR".equals(codeString)) + return HR; + if ("IE".equals(codeString)) + return IE; + if ("IN".equals(codeString)) + return IN; + if ("IT".equals(codeString)) + return IT; + if ("JP".equals(codeString)) + return JP; + if ("KR".equals(codeString)) + return KR; + if ("LT".equals(codeString)) + return LT; + if ("MX".equals(codeString)) + return MX; + if ("NL".equals(codeString)) + return NL; + if ("NZ".equals(codeString)) + return NZ; + if ("RO".equals(codeString)) + return RO; + if ("RU".equals(codeString)) + return RU; + if ("SE".equals(codeString)) + return SE; + if ("SG".equals(codeString)) + return SG; + if ("SOA".equals(codeString)) + return SOA; + if ("TR".equals(codeString)) + return TR; + if ("TW".equals(codeString)) + return TW; + if ("UK".equals(codeString)) + return UK; + if ("US".equals(codeString)) + return US; + if ("UV".equals(codeString)) + return UV; + if ("UY".equals(codeString)) + return UY; + if ("C1".equals(codeString)) + return C1; + if ("GB".equals(codeString)) + return GB; + if ("R1".equals(codeString)) + return R1; + if ("X1".equals(codeString)) + return X1; + if ("NamespaceRealms".equals(codeString)) + return NAMESPACEREALMS; + if ("ZZ".equals(codeString)) + return ZZ; + throw new Exception("Unknown V3Hl7Realm code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BINDINGREALMS: return "BindingRealms"; + case AFFILIATEREALMS: return "AffiliateRealms"; + case AR: return "AR"; + case AT: return "AT"; + case AU: return "AU"; + case BR: return "BR"; + case CA: return "CA"; + case CH: return "CH"; + case CL: return "CL"; + case CN: return "CN"; + case CO: return "CO"; + case CZ: return "CZ"; + case DE: return "DE"; + case DK: return "DK"; + case ES: return "ES"; + case FI: return "FI"; + case FR: return "FR"; + case GR: return "GR"; + case HR: return "HR"; + case IE: return "IE"; + case IN: return "IN"; + case IT: return "IT"; + case JP: return "JP"; + case KR: return "KR"; + case LT: return "LT"; + case MX: return "MX"; + case NL: return "NL"; + case NZ: return "NZ"; + case RO: return "RO"; + case RU: return "RU"; + case SE: return "SE"; + case SG: return "SG"; + case SOA: return "SOA"; + case TR: return "TR"; + case TW: return "TW"; + case UK: return "UK"; + case US: return "US"; + case UV: return "UV"; + case UY: return "UY"; + case C1: return "C1"; + case GB: return "GB"; + case R1: return "R1"; + case X1: return "X1"; + case NAMESPACEREALMS: return "NamespaceRealms"; + case ZZ: return "ZZ"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/hl7Realm"; + } + public String getDefinition() { + switch (this) { + case BINDINGREALMS: return "Description: Concepts that can be used as Binding Realms when creating Binding Statements. These codes are permitted to appear in the InfrastructureRoot.realmCode attribute."; + case AFFILIATEREALMS: return "Description: Realm codes for official HL7 organizational bodies. This includes both the HL7 International organization as well as all recognized international affiliates (past and present). These groups have the ability to bind vocabulary and develop artifacts. As well, they have the ability to have 'ownership' over other binding realms and namespace realms via the owningAffiliate property of those other realm codes."; + case AR: return "Description: Realm code for use of Argentina"; + case AT: return "Description: Realm code for use of Austria"; + case AU: return "Description: Realm code for use of Australia"; + case BR: return "Description: Realm code for use of Brazil"; + case CA: return "Description: Realm code for use of Canada"; + case CH: return "Description: Realm code for use of Switzerland"; + case CL: return "Description: Realm code for use of Chile"; + case CN: return "Description: Realm code for use of China"; + case CO: return "Description: Realm code for use of Localized Version"; + case CZ: return "Description: Realm code for use of Czech Republic"; + case DE: return "Description: Realm code for use of Germany"; + case DK: return "Description: Realm code for use of Denmark"; + case ES: return "Description: Realm code for use of Spain"; + case FI: return "Description: Realm code for use of Finland"; + case FR: return "Description: Realm code for use of France"; + case GR: return "Description: Realm code for use of Greece"; + case HR: return "Description: Realm code for use of Croatia"; + case IE: return "Description: Realm code for use of Ireland"; + case IN: return "Description: Realm code for use of India"; + case IT: return "Description: Realm code for use of Italy"; + case JP: return "Description: Realm code for use of Japan"; + case KR: return "Description: Realm code for use of Korea"; + case LT: return "Description: Realm code for use of Lithuania"; + case MX: return "Description: Realm code for use of Mexico"; + case NL: return "Description: Realm code for use of The Netherlands"; + case NZ: return "Description: Realm code for use of New Zealand"; + case RO: return "Description: Realm code for use of Romania"; + case RU: return "Description: Realm code for use of Russian Federation"; + case SE: return "Description: Realm code for use of Sweden"; + case SG: return "Description: Realm code for use of Localized Version"; + case SOA: return "Description: Realm code for use of Southern Africa"; + case TR: return "Description: Realm code for use of Turkey"; + case TW: return "Description: Realm code for use of Taiwan"; + case UK: return "Description: Realm code for use of United Kingdom"; + case US: return "Description: Realm code for use of United States of America"; + case UV: return "Description: Realm code for use of Universal realm or context, used in every instance"; + case UY: return "Description: Realm code for use of Uruguay"; + case C1: return "Description: Realm code for use of Unclassified Realm"; + case GB: return "Description: Realm code for use of Great Britain"; + case R1: return "Description: Realm code for use of Representative Realm"; + case X1: return "Description: Realm code for use of Example Realm"; + case NAMESPACEREALMS: return "Description: Codes that can be used in the 'realm' portion of HL7 v3 artifact identifiers."; + case ZZ: return "Description: An artifact created for local use only. This realm namespace has no owning affiliate. Its use is uncontrolled, i.e. anyone can create artifacts using this realm namespace. Because of this, there is a significant likelihood of artifact identifier collisions. Implementers are encouraged to register their artifacts under an affiliate owned and controlled namespace to avoid such collision problems where possible."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BINDINGREALMS: return "binding realms"; + case AFFILIATEREALMS: return "Affiliate Realms"; + case AR: return "Argentina"; + case AT: return "Austria"; + case AU: return "Australia"; + case BR: return "Brazil"; + case CA: return "Canada"; + case CH: return "Switzerland"; + case CL: return "Chile"; + case CN: return "China"; + case CO: return "Columbia"; + case CZ: return "Czech Republic"; + case DE: return "Germany"; + case DK: return "Denmark"; + case ES: return "Spain"; + case FI: return "Finland"; + case FR: return "France"; + case GR: return "Greece"; + case HR: return "Croatia"; + case IE: return "Ireland"; + case IN: return "India"; + case IT: return "Italy"; + case JP: return "Japan"; + case KR: return "Korea"; + case LT: return "Lithuania"; + case MX: return "Mexico"; + case NL: return "The Netherlands"; + case NZ: return "New Zealand"; + case RO: return "Romania"; + case RU: return "Russian Federation"; + case SE: return "Sweden"; + case SG: return "Singapore"; + case SOA: return "Southern Africa"; + case TR: return "Turkey"; + case TW: return "Taiwan"; + case UK: return "United Kingdom"; + case US: return "United States of America"; + case UV: return "Universal"; + case UY: return "Uruguay"; + case C1: return "Unclassified Realm"; + case GB: return "Great Britain"; + case R1: return "Representative Realm"; + case X1: return "Example Realm"; + case NAMESPACEREALMS: return "namespace realms"; + case ZZ: return "Localized Version"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7RealmEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7RealmEnumFactory.java new file mode 100644 index 00000000000..da32566a5b3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7RealmEnumFactory.java @@ -0,0 +1,231 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3Hl7RealmEnumFactory implements EnumFactory { + + public V3Hl7Realm fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("BindingRealms".equals(codeString)) + return V3Hl7Realm.BINDINGREALMS; + if ("AffiliateRealms".equals(codeString)) + return V3Hl7Realm.AFFILIATEREALMS; + if ("AR".equals(codeString)) + return V3Hl7Realm.AR; + if ("AT".equals(codeString)) + return V3Hl7Realm.AT; + if ("AU".equals(codeString)) + return V3Hl7Realm.AU; + if ("BR".equals(codeString)) + return V3Hl7Realm.BR; + if ("CA".equals(codeString)) + return V3Hl7Realm.CA; + if ("CH".equals(codeString)) + return V3Hl7Realm.CH; + if ("CL".equals(codeString)) + return V3Hl7Realm.CL; + if ("CN".equals(codeString)) + return V3Hl7Realm.CN; + if ("CO".equals(codeString)) + return V3Hl7Realm.CO; + if ("CZ".equals(codeString)) + return V3Hl7Realm.CZ; + if ("DE".equals(codeString)) + return V3Hl7Realm.DE; + if ("DK".equals(codeString)) + return V3Hl7Realm.DK; + if ("ES".equals(codeString)) + return V3Hl7Realm.ES; + if ("FI".equals(codeString)) + return V3Hl7Realm.FI; + if ("FR".equals(codeString)) + return V3Hl7Realm.FR; + if ("GR".equals(codeString)) + return V3Hl7Realm.GR; + if ("HR".equals(codeString)) + return V3Hl7Realm.HR; + if ("IE".equals(codeString)) + return V3Hl7Realm.IE; + if ("IN".equals(codeString)) + return V3Hl7Realm.IN; + if ("IT".equals(codeString)) + return V3Hl7Realm.IT; + if ("JP".equals(codeString)) + return V3Hl7Realm.JP; + if ("KR".equals(codeString)) + return V3Hl7Realm.KR; + if ("LT".equals(codeString)) + return V3Hl7Realm.LT; + if ("MX".equals(codeString)) + return V3Hl7Realm.MX; + if ("NL".equals(codeString)) + return V3Hl7Realm.NL; + if ("NZ".equals(codeString)) + return V3Hl7Realm.NZ; + if ("RO".equals(codeString)) + return V3Hl7Realm.RO; + if ("RU".equals(codeString)) + return V3Hl7Realm.RU; + if ("SE".equals(codeString)) + return V3Hl7Realm.SE; + if ("SG".equals(codeString)) + return V3Hl7Realm.SG; + if ("SOA".equals(codeString)) + return V3Hl7Realm.SOA; + if ("TR".equals(codeString)) + return V3Hl7Realm.TR; + if ("TW".equals(codeString)) + return V3Hl7Realm.TW; + if ("UK".equals(codeString)) + return V3Hl7Realm.UK; + if ("US".equals(codeString)) + return V3Hl7Realm.US; + if ("UV".equals(codeString)) + return V3Hl7Realm.UV; + if ("UY".equals(codeString)) + return V3Hl7Realm.UY; + if ("C1".equals(codeString)) + return V3Hl7Realm.C1; + if ("GB".equals(codeString)) + return V3Hl7Realm.GB; + if ("R1".equals(codeString)) + return V3Hl7Realm.R1; + if ("X1".equals(codeString)) + return V3Hl7Realm.X1; + if ("NamespaceRealms".equals(codeString)) + return V3Hl7Realm.NAMESPACEREALMS; + if ("ZZ".equals(codeString)) + return V3Hl7Realm.ZZ; + throw new IllegalArgumentException("Unknown V3Hl7Realm code '"+codeString+"'"); + } + + public String toCode(V3Hl7Realm code) { + if (code == V3Hl7Realm.BINDINGREALMS) + return "BindingRealms"; + if (code == V3Hl7Realm.AFFILIATEREALMS) + return "AffiliateRealms"; + if (code == V3Hl7Realm.AR) + return "AR"; + if (code == V3Hl7Realm.AT) + return "AT"; + if (code == V3Hl7Realm.AU) + return "AU"; + if (code == V3Hl7Realm.BR) + return "BR"; + if (code == V3Hl7Realm.CA) + return "CA"; + if (code == V3Hl7Realm.CH) + return "CH"; + if (code == V3Hl7Realm.CL) + return "CL"; + if (code == V3Hl7Realm.CN) + return "CN"; + if (code == V3Hl7Realm.CO) + return "CO"; + if (code == V3Hl7Realm.CZ) + return "CZ"; + if (code == V3Hl7Realm.DE) + return "DE"; + if (code == V3Hl7Realm.DK) + return "DK"; + if (code == V3Hl7Realm.ES) + return "ES"; + if (code == V3Hl7Realm.FI) + return "FI"; + if (code == V3Hl7Realm.FR) + return "FR"; + if (code == V3Hl7Realm.GR) + return "GR"; + if (code == V3Hl7Realm.HR) + return "HR"; + if (code == V3Hl7Realm.IE) + return "IE"; + if (code == V3Hl7Realm.IN) + return "IN"; + if (code == V3Hl7Realm.IT) + return "IT"; + if (code == V3Hl7Realm.JP) + return "JP"; + if (code == V3Hl7Realm.KR) + return "KR"; + if (code == V3Hl7Realm.LT) + return "LT"; + if (code == V3Hl7Realm.MX) + return "MX"; + if (code == V3Hl7Realm.NL) + return "NL"; + if (code == V3Hl7Realm.NZ) + return "NZ"; + if (code == V3Hl7Realm.RO) + return "RO"; + if (code == V3Hl7Realm.RU) + return "RU"; + if (code == V3Hl7Realm.SE) + return "SE"; + if (code == V3Hl7Realm.SG) + return "SG"; + if (code == V3Hl7Realm.SOA) + return "SOA"; + if (code == V3Hl7Realm.TR) + return "TR"; + if (code == V3Hl7Realm.TW) + return "TW"; + if (code == V3Hl7Realm.UK) + return "UK"; + if (code == V3Hl7Realm.US) + return "US"; + if (code == V3Hl7Realm.UV) + return "UV"; + if (code == V3Hl7Realm.UY) + return "UY"; + if (code == V3Hl7Realm.C1) + return "C1"; + if (code == V3Hl7Realm.GB) + return "GB"; + if (code == V3Hl7Realm.R1) + return "R1"; + if (code == V3Hl7Realm.X1) + return "X1"; + if (code == V3Hl7Realm.NAMESPACEREALMS) + return "NamespaceRealms"; + if (code == V3Hl7Realm.ZZ) + return "ZZ"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3Conformance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3Conformance.java new file mode 100644 index 00000000000..be20177c798 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3Conformance.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Hl7V3Conformance { + + /** + * Description: Implementers receiving this property must not raise an error if the data is received, but will not perform any useful function with the data. This conformance level is not used in profiles or other artifacts that are specific to the "sender" or "initiator" of a communication. + */ + I, + /** + * Description: All implementers are prohibited from transmitting this content, and may raise an error if they receive it. + */ + NP, + /** + * Description: All implementers must support this property. I.e. they must be able to transmit, or to receive and usefully handle the concept. + */ + R, + /** + * Description: The element is considered "required" (i.e. must be supported) from the perspective of systems that consume instances, but is "undetermined" for systems that generate instances. Used only as part of specifications that define both initiator and consumer expectations. + */ + RC, + /** + * Description: The element is considered "required" (i.e. must be supported) from the perspective of systems that generate instances, but is "undetermined" for systems that consume instances. Used only as part of specifications that define both initiator and consumer expectations. + */ + RI, + /** + * Description: The conformance expectations for this element have not yet been determined. + */ + U, + /** + * added to help the parsers + */ + NULL; + public static V3Hl7V3Conformance fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("I".equals(codeString)) + return I; + if ("NP".equals(codeString)) + return NP; + if ("R".equals(codeString)) + return R; + if ("RC".equals(codeString)) + return RC; + if ("RI".equals(codeString)) + return RI; + if ("U".equals(codeString)) + return U; + throw new Exception("Unknown V3Hl7V3Conformance code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case I: return "I"; + case NP: return "NP"; + case R: return "R"; + case RC: return "RC"; + case RI: return "RI"; + case U: return "U"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/hl7V3Conformance"; + } + public String getDefinition() { + switch (this) { + case I: return "Description: Implementers receiving this property must not raise an error if the data is received, but will not perform any useful function with the data. This conformance level is not used in profiles or other artifacts that are specific to the 'sender' or 'initiator' of a communication."; + case NP: return "Description: All implementers are prohibited from transmitting this content, and may raise an error if they receive it."; + case R: return "Description: All implementers must support this property. I.e. they must be able to transmit, or to receive and usefully handle the concept."; + case RC: return "Description: The element is considered 'required' (i.e. must be supported) from the perspective of systems that consume instances, but is 'undetermined' for systems that generate instances. Used only as part of specifications that define both initiator and consumer expectations."; + case RI: return "Description: The element is considered 'required' (i.e. must be supported) from the perspective of systems that generate instances, but is 'undetermined' for systems that consume instances. Used only as part of specifications that define both initiator and consumer expectations."; + case U: return "Description: The conformance expectations for this element have not yet been determined."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case I: return "ignored"; + case NP: return "not permitted"; + case R: return "required"; + case RC: return "required for consumer"; + case RI: return "required for initiator"; + case U: return "undetermined"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3ConformanceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3ConformanceEnumFactory.java new file mode 100644 index 00000000000..ff2a33a5ec0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Hl7V3ConformanceEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3Hl7V3ConformanceEnumFactory implements EnumFactory { + + public V3Hl7V3Conformance fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("I".equals(codeString)) + return V3Hl7V3Conformance.I; + if ("NP".equals(codeString)) + return V3Hl7V3Conformance.NP; + if ("R".equals(codeString)) + return V3Hl7V3Conformance.R; + if ("RC".equals(codeString)) + return V3Hl7V3Conformance.RC; + if ("RI".equals(codeString)) + return V3Hl7V3Conformance.RI; + if ("U".equals(codeString)) + return V3Hl7V3Conformance.U; + throw new IllegalArgumentException("Unknown V3Hl7V3Conformance code '"+codeString+"'"); + } + + public String toCode(V3Hl7V3Conformance code) { + if (code == V3Hl7V3Conformance.I) + return "I"; + if (code == V3Hl7V3Conformance.NP) + return "NP"; + if (code == V3Hl7V3Conformance.R) + return "R"; + if (code == V3Hl7V3Conformance.RC) + return "RC"; + if (code == V3Hl7V3Conformance.RI) + return "RI"; + if (code == V3Hl7V3Conformance.U) + return "U"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkType.java new file mode 100644 index 00000000000..0caa17b8ce6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkType.java @@ -0,0 +1,202 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3HtmlLinkType { + + /** + * Designates substitute versions for the document in which the link occurs. When used together with the lang attribute, it implies a translated version of the document. When used together with the media attribute, it implies a version designed for a different medium (or media). + */ + ALTERNATE, + /** + * Refers to a document serving as an appendix in a collection of documents. + */ + APPENDIX, + /** + * Refers to a bookmark. A bookmark is a link to a key entry point within an extended document. The title attribute may be used, for example, to label the bookmark. Note that several bookmarks may be defined in each document. + */ + BOOKMARK, + /** + * Refers to a document serving as a chapter in a collection of documents. + */ + CHAPTER, + /** + * Refers to a document serving as a table of contents. Some user agents also support the synonym ToC (from "Table of Contents"). + */ + CONTENTS, + /** + * Refers to a copyright statement for the current document. + */ + COPYRIGHT, + /** + * Refers to a document providing a glossary of terms that pertain to the current document. + */ + GLOSSARY, + /** + * Refers to a document offering help (more information, links to other sources of information, etc.). + */ + HELP, + /** + * Refers to a document providing an index for the current document. + */ + INDEX, + /** + * Refers to the next document in a linear sequence of documents. User agents may choose to preload the "next" document, to reduce the perceived load time. + */ + NEXT, + /** + * Refers to the previous document in an ordered series of documents. Some user agents also support the synonym "Previous". + */ + PREV, + /** + * Refers to a document serving as a section in a collection of documents. + */ + SECTION, + /** + * Refers to the first document in a collection of documents. This link type tells search engines which document is considered by the author to be the starting point of the collection. + */ + START, + /** + * Refers to an external style sheet. See the section on external style sheets for details. This is used together with the link type "Alternate" for user-selectable alternate style sheets. + */ + STYLESHEET, + /** + * Refers to a document serving as a subsection in a collection of documents. + */ + SUBSECTION, + /** + * added to help the parsers + */ + NULL; + public static V3HtmlLinkType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("alternate".equals(codeString)) + return ALTERNATE; + if ("appendix".equals(codeString)) + return APPENDIX; + if ("bookmark".equals(codeString)) + return BOOKMARK; + if ("chapter".equals(codeString)) + return CHAPTER; + if ("contents".equals(codeString)) + return CONTENTS; + if ("copyright".equals(codeString)) + return COPYRIGHT; + if ("glossary".equals(codeString)) + return GLOSSARY; + if ("help".equals(codeString)) + return HELP; + if ("index".equals(codeString)) + return INDEX; + if ("next".equals(codeString)) + return NEXT; + if ("prev".equals(codeString)) + return PREV; + if ("section".equals(codeString)) + return SECTION; + if ("start".equals(codeString)) + return START; + if ("stylesheet".equals(codeString)) + return STYLESHEET; + if ("subsection".equals(codeString)) + return SUBSECTION; + throw new Exception("Unknown V3HtmlLinkType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ALTERNATE: return "alternate"; + case APPENDIX: return "appendix"; + case BOOKMARK: return "bookmark"; + case CHAPTER: return "chapter"; + case CONTENTS: return "contents"; + case COPYRIGHT: return "copyright"; + case GLOSSARY: return "glossary"; + case HELP: return "help"; + case INDEX: return "index"; + case NEXT: return "next"; + case PREV: return "prev"; + case SECTION: return "section"; + case START: return "start"; + case STYLESHEET: return "stylesheet"; + case SUBSECTION: return "subsection"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/HtmlLinkType"; + } + public String getDefinition() { + switch (this) { + case ALTERNATE: return "Designates substitute versions for the document in which the link occurs. When used together with the lang attribute, it implies a translated version of the document. When used together with the media attribute, it implies a version designed for a different medium (or media)."; + case APPENDIX: return "Refers to a document serving as an appendix in a collection of documents."; + case BOOKMARK: return "Refers to a bookmark. A bookmark is a link to a key entry point within an extended document. The title attribute may be used, for example, to label the bookmark. Note that several bookmarks may be defined in each document."; + case CHAPTER: return "Refers to a document serving as a chapter in a collection of documents."; + case CONTENTS: return "Refers to a document serving as a table of contents. Some user agents also support the synonym ToC (from 'Table of Contents')."; + case COPYRIGHT: return "Refers to a copyright statement for the current document."; + case GLOSSARY: return "Refers to a document providing a glossary of terms that pertain to the current document."; + case HELP: return "Refers to a document offering help (more information, links to other sources of information, etc.)."; + case INDEX: return "Refers to a document providing an index for the current document."; + case NEXT: return "Refers to the next document in a linear sequence of documents. User agents may choose to preload the 'next' document, to reduce the perceived load time."; + case PREV: return "Refers to the previous document in an ordered series of documents. Some user agents also support the synonym 'Previous'."; + case SECTION: return "Refers to a document serving as a section in a collection of documents."; + case START: return "Refers to the first document in a collection of documents. This link type tells search engines which document is considered by the author to be the starting point of the collection."; + case STYLESHEET: return "Refers to an external style sheet. See the section on external style sheets for details. This is used together with the link type 'Alternate' for user-selectable alternate style sheets."; + case SUBSECTION: return "Refers to a document serving as a subsection in a collection of documents."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ALTERNATE: return "alternate"; + case APPENDIX: return "appendix"; + case BOOKMARK: return "bookmark"; + case CHAPTER: return "chapter"; + case CONTENTS: return "contents"; + case COPYRIGHT: return "copyright"; + case GLOSSARY: return "glossary"; + case HELP: return "help"; + case INDEX: return "index"; + case NEXT: return "next"; + case PREV: return "prev"; + case SECTION: return "section"; + case START: return "start"; + case STYLESHEET: return "stylesheet"; + case SUBSECTION: return "subsection"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkTypeEnumFactory.java new file mode 100644 index 00000000000..ec75a7e42a7 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3HtmlLinkTypeEnumFactory.java @@ -0,0 +1,111 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3HtmlLinkTypeEnumFactory implements EnumFactory { + + public V3HtmlLinkType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("alternate".equals(codeString)) + return V3HtmlLinkType.ALTERNATE; + if ("appendix".equals(codeString)) + return V3HtmlLinkType.APPENDIX; + if ("bookmark".equals(codeString)) + return V3HtmlLinkType.BOOKMARK; + if ("chapter".equals(codeString)) + return V3HtmlLinkType.CHAPTER; + if ("contents".equals(codeString)) + return V3HtmlLinkType.CONTENTS; + if ("copyright".equals(codeString)) + return V3HtmlLinkType.COPYRIGHT; + if ("glossary".equals(codeString)) + return V3HtmlLinkType.GLOSSARY; + if ("help".equals(codeString)) + return V3HtmlLinkType.HELP; + if ("index".equals(codeString)) + return V3HtmlLinkType.INDEX; + if ("next".equals(codeString)) + return V3HtmlLinkType.NEXT; + if ("prev".equals(codeString)) + return V3HtmlLinkType.PREV; + if ("section".equals(codeString)) + return V3HtmlLinkType.SECTION; + if ("start".equals(codeString)) + return V3HtmlLinkType.START; + if ("stylesheet".equals(codeString)) + return V3HtmlLinkType.STYLESHEET; + if ("subsection".equals(codeString)) + return V3HtmlLinkType.SUBSECTION; + throw new IllegalArgumentException("Unknown V3HtmlLinkType code '"+codeString+"'"); + } + + public String toCode(V3HtmlLinkType code) { + if (code == V3HtmlLinkType.ALTERNATE) + return "alternate"; + if (code == V3HtmlLinkType.APPENDIX) + return "appendix"; + if (code == V3HtmlLinkType.BOOKMARK) + return "bookmark"; + if (code == V3HtmlLinkType.CHAPTER) + return "chapter"; + if (code == V3HtmlLinkType.CONTENTS) + return "contents"; + if (code == V3HtmlLinkType.COPYRIGHT) + return "copyright"; + if (code == V3HtmlLinkType.GLOSSARY) + return "glossary"; + if (code == V3HtmlLinkType.HELP) + return "help"; + if (code == V3HtmlLinkType.INDEX) + return "index"; + if (code == V3HtmlLinkType.NEXT) + return "next"; + if (code == V3HtmlLinkType.PREV) + return "prev"; + if (code == V3HtmlLinkType.SECTION) + return "section"; + if (code == V3HtmlLinkType.START) + return "start"; + if (code == V3HtmlLinkType.STYLESHEET) + return "stylesheet"; + if (code == V3HtmlLinkType.SUBSECTION) + return "subsection"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliability.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliability.java new file mode 100644 index 00000000000..d0f542e7b08 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliability.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3IdentifierReliability { + + /** + * Description: The identifier was issued by the system responsible for constructing the instance. + */ + ISS, + /** + * Description: The identifier was provided to the system that constructed the instance, but has not been verified. e.g. a Drivers license entered manually into a system by a user. + */ + UNV, + /** + * Description: The identifier was not issued by the system responsible for constructing the instance, but the system that captured the id has verified the identifier with the issuing authority, or with another system that has verified the identifier. + */ + VRF, + /** + * added to help the parsers + */ + NULL; + public static V3IdentifierReliability fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ISS".equals(codeString)) + return ISS; + if ("UNV".equals(codeString)) + return UNV; + if ("VRF".equals(codeString)) + return VRF; + throw new Exception("Unknown V3IdentifierReliability code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ISS: return "ISS"; + case UNV: return "UNV"; + case VRF: return "VRF"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/IdentifierReliability"; + } + public String getDefinition() { + switch (this) { + case ISS: return "Description: The identifier was issued by the system responsible for constructing the instance."; + case UNV: return "Description: The identifier was provided to the system that constructed the instance, but has not been verified. e.g. a Drivers license entered manually into a system by a user."; + case VRF: return "Description: The identifier was not issued by the system responsible for constructing the instance, but the system that captured the id has verified the identifier with the issuing authority, or with another system that has verified the identifier."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ISS: return "Issued by System"; + case UNV: return "Unverified by system"; + case VRF: return "Verified by system"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliabilityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliabilityEnumFactory.java new file mode 100644 index 00000000000..bce98520401 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierReliabilityEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3IdentifierReliabilityEnumFactory implements EnumFactory { + + public V3IdentifierReliability fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ISS".equals(codeString)) + return V3IdentifierReliability.ISS; + if ("UNV".equals(codeString)) + return V3IdentifierReliability.UNV; + if ("VRF".equals(codeString)) + return V3IdentifierReliability.VRF; + throw new IllegalArgumentException("Unknown V3IdentifierReliability code '"+codeString+"'"); + } + + public String toCode(V3IdentifierReliability code) { + if (code == V3IdentifierReliability.ISS) + return "ISS"; + if (code == V3IdentifierReliability.UNV) + return "UNV"; + if (code == V3IdentifierReliability.VRF) + return "VRF"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScope.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScope.java new file mode 100644 index 00000000000..13c628264a0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScope.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3IdentifierScope { + + /** + * Description: An identifier whose scope is defined by the business practices associated with the object. In contrast to the other scope identifiers, the scope of the use of the id is not necessarily restricted to a single object, but may be reused for other objects closely associated with the object due to business practice. + */ + BUSN, + /** + * Description: The identifier associated with a particular object. It remains consistent as the object undergoes state transitions. + */ + OBJ, + /** + * Description: An identifier that references a particular object as it existed at a given point in time. The identifier SHALL change with each state transition on the object. I.e. The version identifier of an object prior to a 'suspend' state transition is distinct from the identifier of the object after the state transition. Each version identifier can be tied to exactly one ControlAct event which brought that version into being (though the control act may never be instantiated). + + + NOTE: Applications that do not support versioning of objects must ignore and not persist these ids to avoid confusion resulting from leaving the same identifier on an object that undergoes changes. + */ + VER, + /** + * Description: An identifier that references a particular object as it existed at a given point in time. The identifier SHALL change with each state transition on the object. + + + Example The version identifier of an object prior to a 'suspend' state transition is distinct from the identifier of the object after the state transition. Each version identifier can be tied to exactly one ControlAct event which brought that version into being (though the control act may never be instantiated). + + + NOTE: Applications that do not support versioning of objects must ignore and not persist these ids to avoid confusion resulting from leaving the same identifier on an object that undergoes changes. + */ + VW, + /** + * added to help the parsers + */ + NULL; + public static V3IdentifierScope fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("BUSN".equals(codeString)) + return BUSN; + if ("OBJ".equals(codeString)) + return OBJ; + if ("VER".equals(codeString)) + return VER; + if ("VW".equals(codeString)) + return VW; + throw new Exception("Unknown V3IdentifierScope code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BUSN: return "BUSN"; + case OBJ: return "OBJ"; + case VER: return "VER"; + case VW: return "VW"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/IdentifierScope"; + } + public String getDefinition() { + switch (this) { + case BUSN: return "Description: An identifier whose scope is defined by the business practices associated with the object. In contrast to the other scope identifiers, the scope of the use of the id is not necessarily restricted to a single object, but may be reused for other objects closely associated with the object due to business practice."; + case OBJ: return "Description: The identifier associated with a particular object. It remains consistent as the object undergoes state transitions."; + case VER: return "Description: An identifier that references a particular object as it existed at a given point in time. The identifier SHALL change with each state transition on the object. I.e. The version identifier of an object prior to a 'suspend' state transition is distinct from the identifier of the object after the state transition. Each version identifier can be tied to exactly one ControlAct event which brought that version into being (though the control act may never be instantiated).\r\n\n \n NOTE: Applications that do not support versioning of objects must ignore and not persist these ids to avoid confusion resulting from leaving the same identifier on an object that undergoes changes."; + case VW: return "Description: An identifier that references a particular object as it existed at a given point in time. The identifier SHALL change with each state transition on the object.\r\n\n \n Example The version identifier of an object prior to a 'suspend' state transition is distinct from the identifier of the object after the state transition. Each version identifier can be tied to exactly one ControlAct event which brought that version into being (though the control act may never be instantiated).\r\n\n \n NOTE: Applications that do not support versioning of objects must ignore and not persist these ids to avoid confusion resulting from leaving the same identifier on an object that undergoes changes."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BUSN: return "Business Identifier"; + case OBJ: return "Object Identifier"; + case VER: return "Version Identifier"; + case VW: return "View Specific Identifier"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScopeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScopeEnumFactory.java new file mode 100644 index 00000000000..6ace9b77ed0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IdentifierScopeEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3IdentifierScopeEnumFactory implements EnumFactory { + + public V3IdentifierScope fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("BUSN".equals(codeString)) + return V3IdentifierScope.BUSN; + if ("OBJ".equals(codeString)) + return V3IdentifierScope.OBJ; + if ("VER".equals(codeString)) + return V3IdentifierScope.VER; + if ("VW".equals(codeString)) + return V3IdentifierScope.VW; + throw new IllegalArgumentException("Unknown V3IdentifierScope code '"+codeString+"'"); + } + + public String toCode(V3IdentifierScope code) { + if (code == V3IdentifierScope.BUSN) + return "BUSN"; + if (code == V3IdentifierScope.OBJ) + return "OBJ"; + if (code == V3IdentifierScope.VER) + return "VER"; + if (code == V3IdentifierScope.VW) + return "VW"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithm.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithm.java new file mode 100644 index 00000000000..8e011c18c17 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithm.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3IntegrityCheckAlgorithm { + + /** + * This algorithm is defined in FIPS PUB 180-1: Secure Hash Standard. As of April 17, 1995. + */ + SHA1, + /** + * This algorithm is defined in FIPS PUB 180-2: Secure Hash Standard. + */ + SHA256, + /** + * added to help the parsers + */ + NULL; + public static V3IntegrityCheckAlgorithm fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("SHA-1".equals(codeString)) + return SHA1; + if ("SHA-256".equals(codeString)) + return SHA256; + throw new Exception("Unknown V3IntegrityCheckAlgorithm code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case SHA1: return "SHA-1"; + case SHA256: return "SHA-256"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/IntegrityCheckAlgorithm"; + } + public String getDefinition() { + switch (this) { + case SHA1: return "This algorithm is defined in FIPS PUB 180-1: Secure Hash Standard. As of April 17, 1995."; + case SHA256: return "This algorithm is defined in FIPS PUB 180-2: Secure Hash Standard."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case SHA1: return "secure hash algorithm - 1"; + case SHA256: return "secure hash algorithm - 256"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithmEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithmEnumFactory.java new file mode 100644 index 00000000000..3d4166e101a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3IntegrityCheckAlgorithmEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3IntegrityCheckAlgorithmEnumFactory implements EnumFactory { + + public V3IntegrityCheckAlgorithm fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("SHA-1".equals(codeString)) + return V3IntegrityCheckAlgorithm.SHA1; + if ("SHA-256".equals(codeString)) + return V3IntegrityCheckAlgorithm.SHA256; + throw new IllegalArgumentException("Unknown V3IntegrityCheckAlgorithm code '"+codeString+"'"); + } + + public String toCode(V3IntegrityCheckAlgorithm code) { + if (code == V3IntegrityCheckAlgorithm.SHA1) + return "SHA-1"; + if (code == V3IntegrityCheckAlgorithm.SHA256) + return "SHA-256"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityMode.java new file mode 100644 index 00000000000..b89331028c3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityMode.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3LanguageAbilityMode { + + /** + * Expressed signed + */ + ESGN, + /** + * Expressed spoken + */ + ESP, + /** + * Expressed written + */ + EWR, + /** + * Received signed + */ + RSGN, + /** + * Received spoken + */ + RSP, + /** + * Received written + */ + RWR, + /** + * added to help the parsers + */ + NULL; + public static V3LanguageAbilityMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ESGN".equals(codeString)) + return ESGN; + if ("ESP".equals(codeString)) + return ESP; + if ("EWR".equals(codeString)) + return EWR; + if ("RSGN".equals(codeString)) + return RSGN; + if ("RSP".equals(codeString)) + return RSP; + if ("RWR".equals(codeString)) + return RWR; + throw new Exception("Unknown V3LanguageAbilityMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ESGN: return "ESGN"; + case ESP: return "ESP"; + case EWR: return "EWR"; + case RSGN: return "RSGN"; + case RSP: return "RSP"; + case RWR: return "RWR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/LanguageAbilityMode"; + } + public String getDefinition() { + switch (this) { + case ESGN: return "Expressed signed"; + case ESP: return "Expressed spoken"; + case EWR: return "Expressed written"; + case RSGN: return "Received signed"; + case RSP: return "Received spoken"; + case RWR: return "Received written"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ESGN: return "Expressed signed"; + case ESP: return "Expressed spoken"; + case EWR: return "Expressed written"; + case RSGN: return "Received signed"; + case RSP: return "Received spoken"; + case RWR: return "Received written"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityModeEnumFactory.java new file mode 100644 index 00000000000..2b855c89b7a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityModeEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3LanguageAbilityModeEnumFactory implements EnumFactory { + + public V3LanguageAbilityMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ESGN".equals(codeString)) + return V3LanguageAbilityMode.ESGN; + if ("ESP".equals(codeString)) + return V3LanguageAbilityMode.ESP; + if ("EWR".equals(codeString)) + return V3LanguageAbilityMode.EWR; + if ("RSGN".equals(codeString)) + return V3LanguageAbilityMode.RSGN; + if ("RSP".equals(codeString)) + return V3LanguageAbilityMode.RSP; + if ("RWR".equals(codeString)) + return V3LanguageAbilityMode.RWR; + throw new IllegalArgumentException("Unknown V3LanguageAbilityMode code '"+codeString+"'"); + } + + public String toCode(V3LanguageAbilityMode code) { + if (code == V3LanguageAbilityMode.ESGN) + return "ESGN"; + if (code == V3LanguageAbilityMode.ESP) + return "ESP"; + if (code == V3LanguageAbilityMode.EWR) + return "EWR"; + if (code == V3LanguageAbilityMode.RSGN) + return "RSGN"; + if (code == V3LanguageAbilityMode.RSP) + return "RSP"; + if (code == V3LanguageAbilityMode.RWR) + return "RWR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiency.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiency.java new file mode 100644 index 00000000000..0cba65044b4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiency.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3LanguageAbilityProficiency { + + /** + * Excellent + */ + E, + /** + * Fair + */ + F, + /** + * Good + */ + G, + /** + * Poor + */ + P, + /** + * added to help the parsers + */ + NULL; + public static V3LanguageAbilityProficiency fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return E; + if ("F".equals(codeString)) + return F; + if ("G".equals(codeString)) + return G; + if ("P".equals(codeString)) + return P; + throw new Exception("Unknown V3LanguageAbilityProficiency code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case E: return "E"; + case F: return "F"; + case G: return "G"; + case P: return "P"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/LanguageAbilityProficiency"; + } + public String getDefinition() { + switch (this) { + case E: return "Excellent"; + case F: return "Fair"; + case G: return "Good"; + case P: return "Poor"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case E: return "Excellent"; + case F: return "Fair"; + case G: return "Good"; + case P: return "Poor"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiencyEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiencyEnumFactory.java new file mode 100644 index 00000000000..e7edc0ef61c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LanguageAbilityProficiencyEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3LanguageAbilityProficiencyEnumFactory implements EnumFactory { + + public V3LanguageAbilityProficiency fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("E".equals(codeString)) + return V3LanguageAbilityProficiency.E; + if ("F".equals(codeString)) + return V3LanguageAbilityProficiency.F; + if ("G".equals(codeString)) + return V3LanguageAbilityProficiency.G; + if ("P".equals(codeString)) + return V3LanguageAbilityProficiency.P; + throw new IllegalArgumentException("Unknown V3LanguageAbilityProficiency code '"+codeString+"'"); + } + + public String toCode(V3LanguageAbilityProficiency code) { + if (code == V3LanguageAbilityProficiency.E) + return "E"; + if (code == V3LanguageAbilityProficiency.F) + return "F"; + if (code == V3LanguageAbilityProficiency.G) + return "G"; + if (code == V3LanguageAbilityProficiency.P) + return "P"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangement.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangement.java new file mode 100644 index 00000000000..a588d233b37 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangement.java @@ -0,0 +1,175 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3LivingArrangement { + + /** + * Definition: Living arrangements lacking a permanent residence. + */ + HL, + /** + * Nomadic + */ + M, + /** + * Transient + */ + T, + /** + * Institution + */ + I, + /** + * Definition: A group living arrangement specifically for the care of those in need of temporary and crisis housing assistance. Examples include domestic violence shelters, shelters for displaced or homeless individuals, Salvation Army, Jesus House, etc. Community based services may be provided. + */ + CS, + /** + * Group Home + */ + G, + /** + * Nursing Home + */ + N, + /** + * Extended care facility + */ + X, + /** + * Definition: A living arrangement within a private residence for single family. + */ + PR, + /** + * Independent Household + */ + H, + /** + * Retirement Community + */ + R, + /** + * Definition: Assisted living in a single family residence for persons with physical, behavioral, or functional health, or socio-economic challenges. There may or may not be on-site supervision but the housing is designed to assist the client with developing independent living skills. Community based services may be provided. + */ + SL, + /** + * added to help the parsers + */ + NULL; + public static V3LivingArrangement fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("HL".equals(codeString)) + return HL; + if ("M".equals(codeString)) + return M; + if ("T".equals(codeString)) + return T; + if ("I".equals(codeString)) + return I; + if ("CS".equals(codeString)) + return CS; + if ("G".equals(codeString)) + return G; + if ("N".equals(codeString)) + return N; + if ("X".equals(codeString)) + return X; + if ("PR".equals(codeString)) + return PR; + if ("H".equals(codeString)) + return H; + if ("R".equals(codeString)) + return R; + if ("SL".equals(codeString)) + return SL; + throw new Exception("Unknown V3LivingArrangement code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case HL: return "HL"; + case M: return "M"; + case T: return "T"; + case I: return "I"; + case CS: return "CS"; + case G: return "G"; + case N: return "N"; + case X: return "X"; + case PR: return "PR"; + case H: return "H"; + case R: return "R"; + case SL: return "SL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/LivingArrangement"; + } + public String getDefinition() { + switch (this) { + case HL: return "Definition: Living arrangements lacking a permanent residence."; + case M: return "Nomadic"; + case T: return "Transient"; + case I: return "Institution"; + case CS: return "Definition: A group living arrangement specifically for the care of those in need of temporary and crisis housing assistance. Examples include domestic violence shelters, shelters for displaced or homeless individuals, Salvation Army, Jesus House, etc. Community based services may be provided."; + case G: return "Group Home"; + case N: return "Nursing Home"; + case X: return "Extended care facility"; + case PR: return "Definition: A living arrangement within a private residence for single family."; + case H: return "Independent Household"; + case R: return "Retirement Community"; + case SL: return "Definition: Assisted living in a single family residence for persons with physical, behavioral, or functional health, or socio-economic challenges. There may or may not be on-site supervision but the housing is designed to assist the client with developing independent living skills. Community based services may be provided."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case HL: return "homeless"; + case M: return "Nomadic"; + case T: return "Transient"; + case I: return "Institution"; + case CS: return "community shelter"; + case G: return "Group Home"; + case N: return "Nursing Home"; + case X: return "Extended care facility"; + case PR: return "private residence"; + case H: return "Independent Household"; + case R: return "Retirement Community"; + case SL: return "supported living"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangementEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangementEnumFactory.java new file mode 100644 index 00000000000..520d930c033 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LivingArrangementEnumFactory.java @@ -0,0 +1,99 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3LivingArrangementEnumFactory implements EnumFactory { + + public V3LivingArrangement fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("HL".equals(codeString)) + return V3LivingArrangement.HL; + if ("M".equals(codeString)) + return V3LivingArrangement.M; + if ("T".equals(codeString)) + return V3LivingArrangement.T; + if ("I".equals(codeString)) + return V3LivingArrangement.I; + if ("CS".equals(codeString)) + return V3LivingArrangement.CS; + if ("G".equals(codeString)) + return V3LivingArrangement.G; + if ("N".equals(codeString)) + return V3LivingArrangement.N; + if ("X".equals(codeString)) + return V3LivingArrangement.X; + if ("PR".equals(codeString)) + return V3LivingArrangement.PR; + if ("H".equals(codeString)) + return V3LivingArrangement.H; + if ("R".equals(codeString)) + return V3LivingArrangement.R; + if ("SL".equals(codeString)) + return V3LivingArrangement.SL; + throw new IllegalArgumentException("Unknown V3LivingArrangement code '"+codeString+"'"); + } + + public String toCode(V3LivingArrangement code) { + if (code == V3LivingArrangement.HL) + return "HL"; + if (code == V3LivingArrangement.M) + return "M"; + if (code == V3LivingArrangement.T) + return "T"; + if (code == V3LivingArrangement.I) + return "I"; + if (code == V3LivingArrangement.CS) + return "CS"; + if (code == V3LivingArrangement.G) + return "G"; + if (code == V3LivingArrangement.N) + return "N"; + if (code == V3LivingArrangement.X) + return "X"; + if (code == V3LivingArrangement.PR) + return "PR"; + if (code == V3LivingArrangement.H) + return "H"; + if (code == V3LivingArrangement.R) + return "R"; + if (code == V3LivingArrangement.SL) + return "SL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnore.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnore.java new file mode 100644 index 00000000000..b3ee95a9938 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnore.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3LocalMarkupIgnore { + + /** + * all + */ + ALL, + /** + * markup + */ + MARKUP, + /** + * added to help the parsers + */ + NULL; + public static V3LocalMarkupIgnore fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("all".equals(codeString)) + return ALL; + if ("markup".equals(codeString)) + return MARKUP; + throw new Exception("Unknown V3LocalMarkupIgnore code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ALL: return "all"; + case MARKUP: return "markup"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/LocalMarkupIgnore"; + } + public String getDefinition() { + switch (this) { + case ALL: return "all"; + case MARKUP: return "markup"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ALL: return "all"; + case MARKUP: return "markup"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnoreEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnoreEnumFactory.java new file mode 100644 index 00000000000..ef1c098aac4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalMarkupIgnoreEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3LocalMarkupIgnoreEnumFactory implements EnumFactory { + + public V3LocalMarkupIgnore fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("all".equals(codeString)) + return V3LocalMarkupIgnore.ALL; + if ("markup".equals(codeString)) + return V3LocalMarkupIgnore.MARKUP; + throw new IllegalArgumentException("Unknown V3LocalMarkupIgnore code '"+codeString+"'"); + } + + public String toCode(V3LocalMarkupIgnore code) { + if (code == V3LocalMarkupIgnore.ALL) + return "all"; + if (code == V3LocalMarkupIgnore.MARKUP) + return "markup"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlState.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlState.java new file mode 100644 index 00000000000..befd211bdf2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlState.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3LocalRemoteControlState { + + /** + * An equipment can either work autonomously ('Local' control state). + */ + L, + /** + * An equipment can be controlled by another system, e.g., LAS computer ('Remote' control state). + */ + R, + /** + * added to help the parsers + */ + NULL; + public static V3LocalRemoteControlState fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("L".equals(codeString)) + return L; + if ("R".equals(codeString)) + return R; + throw new Exception("Unknown V3LocalRemoteControlState code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case L: return "L"; + case R: return "R"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/LocalRemoteControlState"; + } + public String getDefinition() { + switch (this) { + case L: return "An equipment can either work autonomously ('Local' control state)."; + case R: return "An equipment can be controlled by another system, e.g., LAS computer ('Remote' control state)."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case L: return "Local"; + case R: return "Remote"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlStateEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlStateEnumFactory.java new file mode 100644 index 00000000000..b31582e2185 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3LocalRemoteControlStateEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3LocalRemoteControlStateEnumFactory implements EnumFactory { + + public V3LocalRemoteControlState fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("L".equals(codeString)) + return V3LocalRemoteControlState.L; + if ("R".equals(codeString)) + return V3LocalRemoteControlState.R; + throw new IllegalArgumentException("Unknown V3LocalRemoteControlState code '"+codeString+"'"); + } + + public String toCode(V3LocalRemoteControlState code) { + if (code == V3LocalRemoteControlState.L) + return "L"; + if (code == V3LocalRemoteControlState.R) + return "R"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatus.java new file mode 100644 index 00000000000..b3edfd2795e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatus.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ManagedParticipationStatus { + + /** + * The 'typical' state. Excludes "nullified" which represents the termination state of a participation instance that was created in error. + */ + NORMAL, + /** + * The state representing the fact that the Participation is in progress. + */ + ACTIVE, + /** + * The terminal state resulting from cancellation of the Participation prior to activation. + */ + CANCELLED, + /** + * The terminal state representing the successful completion of the Participation. + */ + COMPLETED, + /** + * The state representing that fact that the Participation has not yet become active. + */ + PENDING, + /** + * The state representing the termination of a Participation instance that was created in error. + */ + NULLIFIED, + /** + * added to help the parsers + */ + NULL; + public static V3ManagedParticipationStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return NORMAL; + if ("active".equals(codeString)) + return ACTIVE; + if ("cancelled".equals(codeString)) + return CANCELLED; + if ("completed".equals(codeString)) + return COMPLETED; + if ("pending".equals(codeString)) + return PENDING; + if ("nullified".equals(codeString)) + return NULLIFIED; + throw new Exception("Unknown V3ManagedParticipationStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case COMPLETED: return "completed"; + case PENDING: return "pending"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ManagedParticipationStatus"; + } + public String getDefinition() { + switch (this) { + case NORMAL: return "The 'typical' state. Excludes 'nullified' which represents the termination state of a participation instance that was created in error."; + case ACTIVE: return "The state representing the fact that the Participation is in progress."; + case CANCELLED: return "The terminal state resulting from cancellation of the Participation prior to activation."; + case COMPLETED: return "The terminal state representing the successful completion of the Participation."; + case PENDING: return "The state representing that fact that the Participation has not yet become active."; + case NULLIFIED: return "The state representing the termination of a Participation instance that was created in error."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case COMPLETED: return "completed"; + case PENDING: return "pending"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatusEnumFactory.java new file mode 100644 index 00000000000..e8e7ee3e023 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ManagedParticipationStatusEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ManagedParticipationStatusEnumFactory implements EnumFactory { + + public V3ManagedParticipationStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return V3ManagedParticipationStatus.NORMAL; + if ("active".equals(codeString)) + return V3ManagedParticipationStatus.ACTIVE; + if ("cancelled".equals(codeString)) + return V3ManagedParticipationStatus.CANCELLED; + if ("completed".equals(codeString)) + return V3ManagedParticipationStatus.COMPLETED; + if ("pending".equals(codeString)) + return V3ManagedParticipationStatus.PENDING; + if ("nullified".equals(codeString)) + return V3ManagedParticipationStatus.NULLIFIED; + throw new IllegalArgumentException("Unknown V3ManagedParticipationStatus code '"+codeString+"'"); + } + + public String toCode(V3ManagedParticipationStatus code) { + if (code == V3ManagedParticipationStatus.NORMAL) + return "normal"; + if (code == V3ManagedParticipationStatus.ACTIVE) + return "active"; + if (code == V3ManagedParticipationStatus.CANCELLED) + return "cancelled"; + if (code == V3ManagedParticipationStatus.COMPLETED) + return "completed"; + if (code == V3ManagedParticipationStatus.PENDING) + return "pending"; + if (code == V3ManagedParticipationStatus.NULLIFIED) + return "nullified"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationship.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationship.java new file mode 100644 index 00000000000..ad72925a256 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationship.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3MapRelationship { + + /** + * The first concept is at a more abstract level than the second concept. For example, Hepatitis is broader than Hepatitis A, and endocrine disease is broader than Diabetes Mellitus. Broader than is the opposite of the narrower than relationship. + */ + BT, + /** + * The two concepts have identical meaning. + */ + E, + /** + * The first concept is at a more detailed level than the second concept. For example, Pennicillin G is narrower than Pennicillin, and vellus hair is narrower than hair. Narrower than is the opposite of broader than. + */ + NT, + /** + * added to help the parsers + */ + NULL; + public static V3MapRelationship fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("BT".equals(codeString)) + return BT; + if ("E".equals(codeString)) + return E; + if ("NT".equals(codeString)) + return NT; + throw new Exception("Unknown V3MapRelationship code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BT: return "BT"; + case E: return "E"; + case NT: return "NT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/MapRelationship"; + } + public String getDefinition() { + switch (this) { + case BT: return "The first concept is at a more abstract level than the second concept. For example, Hepatitis is broader than Hepatitis A, and endocrine disease is broader than Diabetes Mellitus. Broader than is the opposite of the narrower than relationship."; + case E: return "The two concepts have identical meaning."; + case NT: return "The first concept is at a more detailed level than the second concept. For example, Pennicillin G is narrower than Pennicillin, and vellus hair is narrower than hair. Narrower than is the opposite of broader than."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BT: return "Broader Than"; + case E: return "Exact"; + case NT: return "Narrower Than"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationshipEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationshipEnumFactory.java new file mode 100644 index 00000000000..e7693006869 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MapRelationshipEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3MapRelationshipEnumFactory implements EnumFactory { + + public V3MapRelationship fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("BT".equals(codeString)) + return V3MapRelationship.BT; + if ("E".equals(codeString)) + return V3MapRelationship.E; + if ("NT".equals(codeString)) + return V3MapRelationship.NT; + throw new IllegalArgumentException("Unknown V3MapRelationship code '"+codeString+"'"); + } + + public String toCode(V3MapRelationship code) { + if (code == V3MapRelationship.BT) + return "BT"; + if (code == V3MapRelationship.E) + return "E"; + if (code == V3MapRelationship.NT) + return "NT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatus.java new file mode 100644 index 00000000000..0581df1b8a7 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatus.java @@ -0,0 +1,157 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3MaritalStatus { + + /** + * Marriage contract has been declared null and to not have existed + */ + A, + /** + * Marriage contract has been declared dissolved and inactive + */ + D, + /** + * Subject to an Interlocutory Decree. + */ + I, + /** + * Legally Separated + */ + L, + /** + * A current marriage contract is active + */ + M, + /** + * More than 1 current spouse + */ + P, + /** + * No marriage contract has ever been entered + */ + S, + /** + * Person declares that a domestic partner relationship exists. + */ + T, + /** + * Currently not in a marriage contract. + */ + U, + /** + * The spouse has died + */ + W, + /** + * added to help the parsers + */ + NULL; + public static V3MaritalStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return A; + if ("D".equals(codeString)) + return D; + if ("I".equals(codeString)) + return I; + if ("L".equals(codeString)) + return L; + if ("M".equals(codeString)) + return M; + if ("P".equals(codeString)) + return P; + if ("S".equals(codeString)) + return S; + if ("T".equals(codeString)) + return T; + if ("U".equals(codeString)) + return U; + if ("W".equals(codeString)) + return W; + throw new Exception("Unknown V3MaritalStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "A"; + case D: return "D"; + case I: return "I"; + case L: return "L"; + case M: return "M"; + case P: return "P"; + case S: return "S"; + case T: return "T"; + case U: return "U"; + case W: return "W"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/MaritalStatus"; + } + public String getDefinition() { + switch (this) { + case A: return "Marriage contract has been declared null and to not have existed"; + case D: return "Marriage contract has been declared dissolved and inactive"; + case I: return "Subject to an Interlocutory Decree."; + case L: return "Legally Separated"; + case M: return "A current marriage contract is active"; + case P: return "More than 1 current spouse"; + case S: return "No marriage contract has ever been entered"; + case T: return "Person declares that a domestic partner relationship exists."; + case U: return "Currently not in a marriage contract."; + case W: return "The spouse has died"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "Annulled"; + case D: return "Divorced"; + case I: return "Interlocutory"; + case L: return "Legally Separated"; + case M: return "Married"; + case P: return "Polygamous"; + case S: return "Never Married"; + case T: return "Domestic partner"; + case U: return "unmarried"; + case W: return "Widowed"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatusEnumFactory.java new file mode 100644 index 00000000000..84b7b6a92af --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MaritalStatusEnumFactory.java @@ -0,0 +1,91 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3MaritalStatusEnumFactory implements EnumFactory { + + public V3MaritalStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return V3MaritalStatus.A; + if ("D".equals(codeString)) + return V3MaritalStatus.D; + if ("I".equals(codeString)) + return V3MaritalStatus.I; + if ("L".equals(codeString)) + return V3MaritalStatus.L; + if ("M".equals(codeString)) + return V3MaritalStatus.M; + if ("P".equals(codeString)) + return V3MaritalStatus.P; + if ("S".equals(codeString)) + return V3MaritalStatus.S; + if ("T".equals(codeString)) + return V3MaritalStatus.T; + if ("U".equals(codeString)) + return V3MaritalStatus.U; + if ("W".equals(codeString)) + return V3MaritalStatus.W; + throw new IllegalArgumentException("Unknown V3MaritalStatus code '"+codeString+"'"); + } + + public String toCode(V3MaritalStatus code) { + if (code == V3MaritalStatus.A) + return "A"; + if (code == V3MaritalStatus.D) + return "D"; + if (code == V3MaritalStatus.I) + return "I"; + if (code == V3MaritalStatus.L) + return "L"; + if (code == V3MaritalStatus.M) + return "M"; + if (code == V3MaritalStatus.P) + return "P"; + if (code == V3MaritalStatus.S) + return "S"; + if (code == V3MaritalStatus.T) + return "T"; + if (code == V3MaritalStatus.U) + return "U"; + if (code == V3MaritalStatus.W) + return "W"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriority.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriority.java new file mode 100644 index 00000000000..e421b68fd1b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriority.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3MessageWaitingPriority { + + /** + * High priority messages are available + */ + H, + /** + * Low priority messages are available + */ + L, + /** + * Medium priority messages are available + */ + M, + /** + * added to help the parsers + */ + NULL; + public static V3MessageWaitingPriority fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("H".equals(codeString)) + return H; + if ("L".equals(codeString)) + return L; + if ("M".equals(codeString)) + return M; + throw new Exception("Unknown V3MessageWaitingPriority code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case H: return "H"; + case L: return "L"; + case M: return "M"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/MessageWaitingPriority"; + } + public String getDefinition() { + switch (this) { + case H: return "High priority messages are available"; + case L: return "Low priority messages are available"; + case M: return "Medium priority messages are available"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case H: return "High"; + case L: return "Low"; + case M: return "Medium"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriorityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriorityEnumFactory.java new file mode 100644 index 00000000000..6ac37a95f85 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3MessageWaitingPriorityEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3MessageWaitingPriorityEnumFactory implements EnumFactory { + + public V3MessageWaitingPriority fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("H".equals(codeString)) + return V3MessageWaitingPriority.H; + if ("L".equals(codeString)) + return V3MessageWaitingPriority.L; + if ("M".equals(codeString)) + return V3MessageWaitingPriority.M; + throw new IllegalArgumentException("Unknown V3MessageWaitingPriority code '"+codeString+"'"); + } + + public String toCode(V3MessageWaitingPriority code) { + if (code == V3MessageWaitingPriority.H) + return "H"; + if (code == V3MessageWaitingPriority.L) + return "L"; + if (code == V3MessageWaitingPriority.M) + return "M"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicator.java new file mode 100644 index 00000000000..f48bb42e686 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicator.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ModifyIndicator { + + /** + * Modified subscription to a query server. + */ + M, + /** + * New subscription to a query server. + */ + N, + /** + * added to help the parsers + */ + NULL; + public static V3ModifyIndicator fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("M".equals(codeString)) + return M; + if ("N".equals(codeString)) + return N; + throw new Exception("Unknown V3ModifyIndicator code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case M: return "M"; + case N: return "N"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ModifyIndicator"; + } + public String getDefinition() { + switch (this) { + case M: return "Modified subscription to a query server."; + case N: return "New subscription to a query server."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case M: return "Modified subscription"; + case N: return "New subscription"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicatorEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicatorEnumFactory.java new file mode 100644 index 00000000000..aa3d19a0791 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ModifyIndicatorEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ModifyIndicatorEnumFactory implements EnumFactory { + + public V3ModifyIndicator fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("M".equals(codeString)) + return V3ModifyIndicator.M; + if ("N".equals(codeString)) + return V3ModifyIndicator.N; + throw new IllegalArgumentException("Unknown V3ModifyIndicator code '"+codeString+"'"); + } + + public String toCode(V3ModifyIndicator code) { + if (code == V3ModifyIndicator.M) + return "M"; + if (code == V3ModifyIndicator.N) + return "N"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavor.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavor.java new file mode 100644 index 00000000000..8cef608736d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavor.java @@ -0,0 +1,224 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3NullFlavor { + + /** + * Description:The value is exceptional (missing, omitted, incomplete, improper). No information as to the reason for being an exceptional value is provided. This is the most general exceptional value. It is also the default exceptional value. + */ + NI, + /** + * Description:The value as represented in the instance is not a member of the set of permitted data values in the constrained value domain of a variable. + */ + INV, + /** + * Description:An actual value may exist, but it must be derived from the provided information (usually an EXPR generic data type extension will be used to convey the derivation expressionexpression . + */ + DER, + /** + * Description:The actual value is not a member of the set of permitted data values in the constrained value domain of a variable. (e.g., concept not provided by required code system). + + + Usage Notes: This flavor and its specializations are most commonly used with the CD datatype and its flavors. However, it may apply to *any* datatype where the constraints of the type are tighter than can be conveyed. For example, a PQ that is for a true measured amount whose units are not supported in UCUM, a need to convey a REAL when the type has been constrained to INT, etc. + + With coded datatypes, this null flavor may only be used if the vocabulary binding has a coding strength of CNE. By definition, all local codes and original text are part of the value set if the coding strength is CWE. + */ + OTH, + /** + * Negative infinity of numbers. + */ + NINF, + /** + * Positive infinity of numbers. + */ + PINF, + /** + * Description: The actual value has not yet been encoded within the approved value domain. + + + Example: Original text or a local code has been specified but translation or encoding to the approved value set has not yet occurred due to limitations of the sending system. Original text has been captured for a PQ, but not attempt has been made to split the value and unit or to encode the unit in UCUM. + + + Usage Notes: If it is known that it is not possible to encode the concept, OTH should be used instead. However, use of UNC does not necessarily guarantee the concept will be encodable, only that encoding has not been attempted. + + Data type properties such as original text and translations may be present when this null flavor is included. + */ + UNC, + /** + * There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. + + Note: using this null flavor does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. + */ + MSK, + /** + * Known to have no proper value (e.g., last menstrual period for a male). + */ + NA, + /** + * Description:A proper value is applicable, but not known. + + + Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless: + + + Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown') + Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.) + */ + UNK, + /** + * Information was sought but not found (e.g., patient was asked but didn't know) + */ + ASKU, + /** + * Information is not available at this time but it is expected that it will be available later. + */ + NAV, + /** + * This information has not been sought (e.g., patient was not asked) + */ + NASK, + /** + * Description:The specific quantity is not known, but is known to be non-zero and is not specified because it makes up the bulk of the material. e.g. 'Add 10mg of ingredient X, 50mg of ingredient Y, and sufficient quantity of water to 100mL.' The null flavor would be used to express the quantity of water. + */ + QS, + /** + * The content is greater than zero, but too small to be quantified. + */ + TRC, + /** + * added to help the parsers + */ + NULL; + public static V3NullFlavor fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("NI".equals(codeString)) + return NI; + if ("INV".equals(codeString)) + return INV; + if ("DER".equals(codeString)) + return DER; + if ("OTH".equals(codeString)) + return OTH; + if ("NINF".equals(codeString)) + return NINF; + if ("PINF".equals(codeString)) + return PINF; + if ("UNC".equals(codeString)) + return UNC; + if ("MSK".equals(codeString)) + return MSK; + if ("NA".equals(codeString)) + return NA; + if ("UNK".equals(codeString)) + return UNK; + if ("ASKU".equals(codeString)) + return ASKU; + if ("NAV".equals(codeString)) + return NAV; + if ("NASK".equals(codeString)) + return NASK; + if ("QS".equals(codeString)) + return QS; + if ("TRC".equals(codeString)) + return TRC; + throw new Exception("Unknown V3NullFlavor code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NI: return "NI"; + case INV: return "INV"; + case DER: return "DER"; + case OTH: return "OTH"; + case NINF: return "NINF"; + case PINF: return "PINF"; + case UNC: return "UNC"; + case MSK: return "MSK"; + case NA: return "NA"; + case UNK: return "UNK"; + case ASKU: return "ASKU"; + case NAV: return "NAV"; + case NASK: return "NASK"; + case QS: return "QS"; + case TRC: return "TRC"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/NullFlavor"; + } + public String getDefinition() { + switch (this) { + case NI: return "Description:The value is exceptional (missing, omitted, incomplete, improper). No information as to the reason for being an exceptional value is provided. This is the most general exceptional value. It is also the default exceptional value."; + case INV: return "Description:The value as represented in the instance is not a member of the set of permitted data values in the constrained value domain of a variable."; + case DER: return "Description:An actual value may exist, but it must be derived from the provided information (usually an EXPR generic data type extension will be used to convey the derivation expressionexpression ."; + case OTH: return "Description:The actual value is not a member of the set of permitted data values in the constrained value domain of a variable. (e.g., concept not provided by required code system).\r\n\n \n Usage Notes: This flavor and its specializations are most commonly used with the CD datatype and its flavors. However, it may apply to *any* datatype where the constraints of the type are tighter than can be conveyed. For example, a PQ that is for a true measured amount whose units are not supported in UCUM, a need to convey a REAL when the type has been constrained to INT, etc.\r\n\n With coded datatypes, this null flavor may only be used if the vocabulary binding has a coding strength of CNE. By definition, all local codes and original text are part of the value set if the coding strength is CWE."; + case NINF: return "Negative infinity of numbers."; + case PINF: return "Positive infinity of numbers."; + case UNC: return "Description: The actual value has not yet been encoded within the approved value domain.\r\n\n \n Example: Original text or a local code has been specified but translation or encoding to the approved value set has not yet occurred due to limitations of the sending system. Original text has been captured for a PQ, but not attempt has been made to split the value and unit or to encode the unit in UCUM.\r\n\n \n Usage Notes: If it is known that it is not possible to encode the concept, OTH should be used instead. However, use of UNC does not necessarily guarantee the concept will be encodable, only that encoding has not been attempted.\r\n\n Data type properties such as original text and translations may be present when this null flavor is included."; + case MSK: return "There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information.\r\n\n Note: using this null flavor does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail."; + case NA: return "Known to have no proper value (e.g., last menstrual period for a male)."; + case UNK: return "Description:A proper value is applicable, but not known.\r\n\n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:\r\n\n \n Those properties themselves directly translate to a semantic of 'unknown'. (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of 'H' and a URL prefix of 'tel:' to convey that it is the home phone number that is unknown.)"; + case ASKU: return "Information was sought but not found (e.g., patient was asked but didn't know)"; + case NAV: return "Information is not available at this time but it is expected that it will be available later."; + case NASK: return "This information has not been sought (e.g., patient was not asked)"; + case QS: return "Description:The specific quantity is not known, but is known to be non-zero and is not specified because it makes up the bulk of the material. e.g. 'Add 10mg of ingredient X, 50mg of ingredient Y, and sufficient quantity of water to 100mL.' The null flavor would be used to express the quantity of water."; + case TRC: return "The content is greater than zero, but too small to be quantified."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NI: return "NoInformation"; + case INV: return "invalid"; + case DER: return "derived"; + case OTH: return "other"; + case NINF: return "negative infinity"; + case PINF: return "positive infinity"; + case UNC: return "un-encoded"; + case MSK: return "masked"; + case NA: return "not applicable"; + case UNK: return "unknown"; + case ASKU: return "asked but unknown"; + case NAV: return "temporarily unavailable"; + case NASK: return "not asked"; + case QS: return "Sufficient Quantity"; + case TRC: return "trace"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavorEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavorEnumFactory.java new file mode 100644 index 00000000000..ef28492cc8e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3NullFlavorEnumFactory.java @@ -0,0 +1,111 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3NullFlavorEnumFactory implements EnumFactory { + + public V3NullFlavor fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("NI".equals(codeString)) + return V3NullFlavor.NI; + if ("INV".equals(codeString)) + return V3NullFlavor.INV; + if ("DER".equals(codeString)) + return V3NullFlavor.DER; + if ("OTH".equals(codeString)) + return V3NullFlavor.OTH; + if ("NINF".equals(codeString)) + return V3NullFlavor.NINF; + if ("PINF".equals(codeString)) + return V3NullFlavor.PINF; + if ("UNC".equals(codeString)) + return V3NullFlavor.UNC; + if ("MSK".equals(codeString)) + return V3NullFlavor.MSK; + if ("NA".equals(codeString)) + return V3NullFlavor.NA; + if ("UNK".equals(codeString)) + return V3NullFlavor.UNK; + if ("ASKU".equals(codeString)) + return V3NullFlavor.ASKU; + if ("NAV".equals(codeString)) + return V3NullFlavor.NAV; + if ("NASK".equals(codeString)) + return V3NullFlavor.NASK; + if ("QS".equals(codeString)) + return V3NullFlavor.QS; + if ("TRC".equals(codeString)) + return V3NullFlavor.TRC; + throw new IllegalArgumentException("Unknown V3NullFlavor code '"+codeString+"'"); + } + + public String toCode(V3NullFlavor code) { + if (code == V3NullFlavor.NI) + return "NI"; + if (code == V3NullFlavor.INV) + return "INV"; + if (code == V3NullFlavor.DER) + return "DER"; + if (code == V3NullFlavor.OTH) + return "OTH"; + if (code == V3NullFlavor.NINF) + return "NINF"; + if (code == V3NullFlavor.PINF) + return "PINF"; + if (code == V3NullFlavor.UNC) + return "UNC"; + if (code == V3NullFlavor.MSK) + return "MSK"; + if (code == V3NullFlavor.NA) + return "NA"; + if (code == V3NullFlavor.UNK) + return "UNK"; + if (code == V3NullFlavor.ASKU) + return "ASKU"; + if (code == V3NullFlavor.NAV) + return "NAV"; + if (code == V3NullFlavor.NASK) + return "NASK"; + if (code == V3NullFlavor.QS) + return "QS"; + if (code == V3NullFlavor.TRC) + return "TRC"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretation.java new file mode 100644 index 00000000000..7bea354c186 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretation.java @@ -0,0 +1,604 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ObservationInterpretation { + + /** + * Codes that specify interpretation of genetic analysis, such as "positive", "negative", "carrier", "responsive", etc. + */ + _GENETICOBSERVATIONINTERPRETATION, + /** + * The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder. + */ + CAR, + /** + * The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder. + + + + Deprecation Comment: + This code is currently the same string as the print name for this concept and is inconsistent with the conventions being used for the other codes in the coding system, as it is a full word with initial capitalization, rather than an all upper case mnemonic. The recommendation from OO is to deprecate the code "Carrier" and to add "CAR" as the new active code representation for this concept. + */ + CARRIER, + /** + * Interpretations of change of quantity and/or severity. At most one of B or W and one of U or D allowed. + */ + _OBSERVATIONINTERPRETATIONCHANGE, + /** + * The current result or observation value has improved compared to the previous result or observation value (the change is significant as defined in the respective test procedure). + + [Note: This can be applied to quantitative or qualitative observations.] + */ + B, + /** + * The current result has decreased from the previous result for a quantitative observation (the change is significant as defined in the respective test procedure). + */ + D, + /** + * The current result has increased from the previous result for a quantitative observation (the change is significant as defined in the respective test procedure). + */ + U, + /** + * The current result or observation value has degraded compared to the previous result or observation value (the change is significant as defined in the respective test procedure). + + [Note: This can be applied to quantitative or qualitative observations.] + */ + W, + /** + * Technical exceptions resulting in the inability to provide an interpretation. At most one allowed. Does not imply normality or severity. + */ + _OBSERVATIONINTERPRETATIONEXCEPTIONS, + /** + * The result is below the minimum detection limit (the test procedure or equipment is the limiting factor). + + Synonyms: Below analytical limit, low off scale. + */ + LESS_THAN, + /** + * The result is above the maximum quantifiable limit (the test procedure or equipment is the limiting factor). + + Synonyms: Above analytical limit, high off scale. + */ + GREATER_THAN, + /** + * A valid result cannot be obtained for the specified component / analyte due to the presence of anti-complementary substances in the sample. + */ + AC, + /** + * There is insufficient evidence that the species in question is a good target for therapy with the drug. A categorical interpretation is not possible. + + [Note: A MIC with "IE" and/or a comment may be reported (without an accompanying S, I or R-categorization).] + */ + IE, + /** + * A result cannot be considered valid for the specified component / analyte or organism due to failure in the quality control testing component. + */ + QCF, + /** + * A valid result cannot be obtained for the specified organism or cell line due to the presence of cytotoxic substances in the sample or culture. + */ + TOX, + /** + * Interpretation of normality or degree of abnormality (including critical or "alert" level). Concepts in this category are mutually exclusive, i.e., at most one is allowed. + */ + _OBSERVATIONINTERPRETATIONNORMALITY, + /** + * The result or observation value is outside the reference range or expected norm (as defined for the respective test procedure). + + [Note: Typically applies to non-numeric results.] + */ + A, + /** + * The result or observation value is outside a reference range or expected norm at a level at which immediate action should be considered for patient safety (as defined for the respective test procedure). + + [Note: Typically applies to non-numeric results. Analogous to critical/panic limits for numeric results.] + */ + AA, + /** + * The result for a quantitative observation is above a reference level at which immediate action should be considered for patient safety (as defined for the respective test procedure). + + Synonym: Above upper panic limits. + */ + HH, + /** + * The result for a quantitative observation is below a reference level at which immediate action should be considered for patient safety (as defined for the respective test procedure). + + Synonym: Below lower panic limits. + */ + LL, + /** + * The result for a quantitative observation is above the upper limit of the reference range (as defined for the respective test procedure). + + Synonym: Above high normal + */ + H, + /** + * A test result that is significantly higher than the reference (normal) or therapeutic interval, but has not reached the critically high value and might need special attention, as defined by the laboratory or the clinician.[Note: This level is situated between 'H' and 'HH'.] + + + Deprecation Comment: The code 'H>' is being deprecated in order to align with the use of the code 'HU' for "Very high" in V2 Table 0078 "Interpretation Codes". + + [Note: The use of code 'H>' is non-preferred, as this code is deprecated and on track to be retired; use code 'HU' instead. + */ + H_, + /** + * The result for a quantitative observation is below the lower limit of the reference range (as defined for the respective test procedure). + + Synonym: Below low normal + */ + L, + /** + * A test result that is significantly lower than the reference (normal) or therapeutic interval, but has not reached the critically low value and might need special attention, as defined by the laboratory or the clinician.[Note: This level is situated between 'L' and 'LL'.] + + + Deprecation Comment: The code 'L<' is being deprecated in order to align with the use of the code 'LU' for "Very low" in V2 Table 0078 "Interpretation Codes". + + [Note: The use of code 'L<' is non-preferred, as this code is deprecated and on track to be retired; use code 'LU' instead. + */ + L_, + /** + * The result or observation value is within the reference range or expected norm (as defined for the respective test procedure). + + [Note: Applies to numeric or non-numeric results.] + */ + N, + /** + * Interpretations of anti-microbial susceptibility testing results (microbiology). At most one allowed. + */ + _OBSERVATIONINTERPRETATIONSUSCEPTIBILITY, + /** + * Bacterial strain inhibited in vitro by a concentration of an antimicrobial agent that is associated with uncertain therapeutic effect. Reference: CLSI (http://www.clsi.org/Content/NavigationMenu/Resources/HarmonizedTerminologyDatabase/Harmonized_Terminolo.htm) +Projects: ISO 20776-1, ISO 20776-2 + + [Note 1: Bacterial strains are categorized as intermediate by applying the appropriate breakpoints in a defined phenotypic test system.] + + [Note 2: This class of susceptibility implies that an infection due to the isolate can be appropriately treated in body sites where the drugs are physiologically concentrated or when a high dosage of drug can be used.] + + [Note 3: This class also indicates a "buffer zone," to prevent small, uncontrolled, technical factors from causing major discrepancies in interpretations.] + + [Note 4: These breakpoints can be altered due to changes in circumstances (e.g., changes in commonly used drug dosages, emergence of new resistance mechanisms).] + */ + I, + /** + * The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder. + + + + Deprecation Comment: + This antimicrobial susceptibility test interpretation concept is recommended by OO to be deprecated as it is no longer recommended for use in susceptibility testing by CLSI (reference CLSI document M100-S22; Vol. 32 No.3; CLSI Performance Standards for Antimicrobial Susceptibility Testing; Twenty-Second Informational Supplement. Jan 2012). + */ + MS, + /** + * A category used for isolates for which only a susceptible interpretive criterion has been designated because of the absence or rare occurrence of resistant strains. Isolates that have MICs above or zone diameters below the value indicated for the susceptible breakpoint should be reported as non-susceptible. + + NOTE 1: An isolate that is interpreted as non-susceptible does not necessarily mean that the isolate has a resistance mechanism. It is possible that isolates with MICs above the susceptible breakpoint that lack resistance mechanisms may be encountered within the wild-type distribution subsequent to the time the susceptible-only breakpoint is set. + + NOTE 2: For strains yielding results in the "nonsusceptible" category, organism identification and antimicrobial susceptibility test results should be confirmed. + + Synonym: decreased susceptibility. + */ + NS, + /** + * Bacterial strain inhibited in vitro by a concentration of an antimicrobial agent that is associated with a high likelihood of therapeutic failure. +Reference: CLSI (http://www.clsi.org/Content/NavigationMenu/Resources/HarmonizedTerminologyDatabase/Harmonized_Terminolo.htm) +Projects: ISO 20776-1, ISO 20776-2 + + [Note 1: Bacterial strains are categorized as resistant by applying the appropriate breakpoints in a defined phenotypic test system.] + + [Note 2: This breakpoint can be altered due to changes in circumstances (e.g., changes in commonly used drug dosages, emergence of new resistance mechanisms).] + */ + R, + /** + * A category for isolates where the bacteria (e.g. enterococci) are not susceptible in vitro to a combination therapy (e.g., high-level aminoglycoside and cell wall active agent). This is predictive that this combination therapy will not be effective. + + + Usage Note: Since the use of penicillin or ampicillin alone often results in treatment failure of serious enterococcal or other bacterial infections, combination therapy is usually indicated to enhance bactericidal activity. The synergy between a cell wall active agent (such as penicillin, ampicillin, or vancomycin) and an aminoglycoside (such as gentamicin, kanamycin or streptomycin) is best predicted by screening for high-level bacterial resistance to the aminoglycoside. + + + Open Issue: The print name of the code is very general and the description is very specific to a pair of classes of agents, which may lead to confusion of these concepts in the future should other synergies be found. + */ + SYNR, + /** + * Bacterial strain inhibited by in vitro concentration of an antimicrobial agent that is associated with a high likelihood of therapeutic success. +Reference: CLSI (http://www.clsi.org/Content/NavigationMenu/Resources/HarmonizedTerminologyDatabase/Harmonized_Terminolo.htm) +Synonym (earlier term): Sensitive Projects: ISO 20776-1, ISO 20776-2 + + [Note 1: Bacterial strains are categorized as susceptible by applying the appropriate breakpoints in a defined phenotypic system.] + + [Note 2: This breakpoint can be altered due to changes in circumstances (e.g., changes in commonly used drug dosages, emergence of new resistance mechanisms).] + */ + S, + /** + * A category that includes isolates with antimicrobial agent minimum inhibitory concentrations (MICs) that approach usually attainable blood and tissue levels and for which response rates may be lower than for susceptible isolates. + + Reference: CLSI document M44-A2 2009 "Method for antifungal disk diffusion susceptibility testing of yeasts; approved guideline - second edition" - page 2. + */ + SDD, + /** + * A category for isolates where the bacteria (e.g. enterococci) are susceptible in vitro to a combination therapy (e.g., high-level aminoglycoside and cell wall active agent). This is predictive that this combination therapy will be effective. + + + Usage Note: Since the use of penicillin or ampicillin alone often results in treatment failure of serious enterococcal or other bacterial infections, combination therapy is usually indicated to enhance bactericidal activity. The synergy between a cell wall active agent (such as penicillin, ampicillin, or vancomycin) and an aminoglycoside (such as gentamicin, kanamycin or streptomycin) is best predicted by screening for high-level bacterial resistance to the aminoglycoside. + + + Open Issue: The print name of the code is very general and the description is very specific to a pair of classes of agents, which may lead to confusion of these concepts in the future should other synergies be found. + */ + SYNS, + /** + * The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder. + + + + Deprecation Comment: + This antimicrobial susceptibility test interpretation concept is recommended by OO to be deprecated as it is no longer recommended for use in susceptibility testing by CLSI (reference CLSI document M100-S22; Vol. 32 No.3; CLSI Performance Standards for Antimicrobial Susceptibility Testing; Twenty-Second Informational Supplement. Jan 2012). + */ + VS, + /** + * The observation/test result is interpreted as being outside the inclusion range for a particular protocol within which the result is being reported. + + + Example: A positive result on a Hepatitis screening test. + Open Issue: EX, HX, LX: These three concepts do not seem to meet a clear need in the vocabulary, and their use in observation interpretation appears likely to be covered by other existing concepts (e.g., A, H, L). The only apparent significant difference is their reference to use in protocols for exclusion of study subjects. +These concepts/codes were proposed by RCRIM for use in the CTLaboratory message. They were submitted and approved in the November 2005 Harmonization cycle in proposal "030103C_VOCAB_RCRIM_l_quade_RCRIM Obs Interp_20051028154455". However, this proposal was not fully implemented in the vocabulary. The proposal recommended creation of the x_ClinicalResearchExclusion domain in ObservationInterpretation with a value set including those three concepts/codes, but there is no subdomain of that name or equivalent with a binding to either of the value sets that contain these concepts/codes. +Members of the OO WG have recently attempted to contact members of RCRIM regarding these concepts, both by email and at the recent WGM in Atlanta, without response. It is felt by OO that the best course of action to take at this time is to add this comprehensive Open Issue rather than deprecate these three concepts at this time, until further discussion is held. + */ + EX, + /** + * The observation/test result is interpreted as being outside the inclusion range for a particular protocol within which the result is being reported. + + + Example: A positive result on a Hepatitis screening test. + Open Issue: EX, HX, LX: These three concepts do not seem to meet a clear need in the vocabulary, and their use in observation interpretation appears likely to be covered by other existing concepts (e.g., A, H, L). The only apparent significant difference is their reference to use in protocols for exclusion of study subjects. These concepts/codes were proposed by RCRIM for use in the CTLaboratory message. They were submitted and approved in the November 2005 Harmonization cycle in proposal "030103C_VOCAB_RCRIM_l_quade_RCRIM Obs Interp_20051028154455". However, this proposal was not fully implemented in the vocabulary. The proposal recommended creation of the x_ClinicalResearchExclusion domain in ObservationInterpretation with a value set including those three concepts/codes, but there is no subdomain of that name or equivalent with a binding to either of the value sets that contain these concepts/codes. Members of the OO WG have recently attempted to contact members of RCRIM regarding these concepts, both by email and at the recent WGM in Atlanta, without response. It is felt by OO that the best course of action to take at this time is to add this comprehensive Open Issue rather than deprecate these three concepts at this time, until further discussion is held. + */ + HX, + /** + * The numeric observation/test result is interpreted as being below the low threshold value for a particular protocol within which the result is being reported. + + Example: A Total White Blood Cell Count falling below a protocol-defined threshold value of 3000/mm^3 + Open Issue: EX, HX, LX: These three concepts do not seem to meet a clear need in the vocabulary, and their use in observation interpretation appears likely to be covered by other existing concepts (e.g., A, H, L). The only apparent significant difference is their reference to use in protocols for exclusion of study subjects. These concepts/codes were proposed by RCRIM for use in the CTLaboratory message. They were submitted and approved in the November 2005 Harmonization cycle in proposal "030103C_VOCAB_RCRIM_l_quade_RCRIM Obs Interp_20051028154455". However, this proposal was not fully implemented in the vocabulary. The proposal recommended creation of the x_ClinicalResearchExclusion domain in ObservationInterpretation with a value set including those three concepts/codes, but there is no subdomain of that name or equivalent with a binding to either of the value sets that contain these concepts/codes. Members of the OO WG have recently attempted to contact members of RCRIM regarding these concepts, both by email and at the recent WGM in Atlanta, without response. It is felt by OO that the best course of action to take at this time is to add this comprehensive Open Issue rather than deprecate these three concepts at this time, until further discussion is held. + */ + LX, + /** + * Interpretations of the presence or absence of a component / analyte or organism in a test or of a sign in a clinical observation. In keeping with laboratory data processing practice, these concepts provide a categorical interpretation of the "meaning" of the quantitative value for the same observation. + */ + OBSERVATIONINTERPRETATIONDETECTION, + /** + * The specified component / analyte, organism or clinical sign could neither be declared positive / negative or detected / not detected by the performed test or procedure. + */ + IND, + /** + * An absence finding of the specified component / analyte, organism or clinical sign based on the established threshold of the performed test or procedure. + + [Note: Negative does not necessarily imply the complete absence of the specified item.] + */ + NEG, + /** + * The presence of the specified component / analyte, organism or clinical sign could not be determined within the limit of detection of the performed test or procedure. + */ + ND, + /** + * A presence finding of the specified component / analyte, organism or clinical sign based on the established threshold of the performed test or procedure. + */ + POS, + /** + * The measurement of the specified component / analyte, organism or clinical sign above the limit of detection of the performed test or procedure. + */ + DET, + /** + * Interpretations of the presence and level of reactivity of the specified component / analyte with the reagent in the performed laboratory test. + */ + REACTIVITYOBSERVATIONINTERPRETATION, + /** + * An absence finding used to indicate that the specified component / analyte did not react measurably with the reagent. + */ + NR, + /** + * A presence finding used to indicate that the specified component / analyte reacted with the reagent above the reliably measurable limit of the performed test. + */ + RR, + /** + * A weighted presence finding used to indicate that the specified component / analyte reacted with the reagent, but below the reliably measurable limit of the performed test. + */ + WR, + /** + * added to help the parsers + */ + NULL; + public static V3ObservationInterpretation fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_GeneticObservationInterpretation".equals(codeString)) + return _GENETICOBSERVATIONINTERPRETATION; + if ("CAR".equals(codeString)) + return CAR; + if ("Carrier".equals(codeString)) + return CARRIER; + if ("_ObservationInterpretationChange".equals(codeString)) + return _OBSERVATIONINTERPRETATIONCHANGE; + if ("B".equals(codeString)) + return B; + if ("D".equals(codeString)) + return D; + if ("U".equals(codeString)) + return U; + if ("W".equals(codeString)) + return W; + if ("_ObservationInterpretationExceptions".equals(codeString)) + return _OBSERVATIONINTERPRETATIONEXCEPTIONS; + if ("<".equals(codeString)) + return LESS_THAN; + if (">".equals(codeString)) + return GREATER_THAN; + if ("AC".equals(codeString)) + return AC; + if ("IE".equals(codeString)) + return IE; + if ("QCF".equals(codeString)) + return QCF; + if ("TOX".equals(codeString)) + return TOX; + if ("_ObservationInterpretationNormality".equals(codeString)) + return _OBSERVATIONINTERPRETATIONNORMALITY; + if ("A".equals(codeString)) + return A; + if ("AA".equals(codeString)) + return AA; + if ("HH".equals(codeString)) + return HH; + if ("LL".equals(codeString)) + return LL; + if ("H".equals(codeString)) + return H; + if ("H>".equals(codeString)) + return H_; + if ("L".equals(codeString)) + return L; + if ("L<".equals(codeString)) + return L_; + if ("N".equals(codeString)) + return N; + if ("_ObservationInterpretationSusceptibility".equals(codeString)) + return _OBSERVATIONINTERPRETATIONSUSCEPTIBILITY; + if ("I".equals(codeString)) + return I; + if ("MS".equals(codeString)) + return MS; + if ("NS".equals(codeString)) + return NS; + if ("R".equals(codeString)) + return R; + if ("SYN-R".equals(codeString)) + return SYNR; + if ("S".equals(codeString)) + return S; + if ("SDD".equals(codeString)) + return SDD; + if ("SYN-S".equals(codeString)) + return SYNS; + if ("VS".equals(codeString)) + return VS; + if ("EX".equals(codeString)) + return EX; + if ("HX".equals(codeString)) + return HX; + if ("LX".equals(codeString)) + return LX; + if ("ObservationInterpretationDetection".equals(codeString)) + return OBSERVATIONINTERPRETATIONDETECTION; + if ("IND".equals(codeString)) + return IND; + if ("NEG".equals(codeString)) + return NEG; + if ("ND".equals(codeString)) + return ND; + if ("POS".equals(codeString)) + return POS; + if ("DET".equals(codeString)) + return DET; + if ("ReactivityObservationInterpretation".equals(codeString)) + return REACTIVITYOBSERVATIONINTERPRETATION; + if ("NR".equals(codeString)) + return NR; + if ("RR".equals(codeString)) + return RR; + if ("WR".equals(codeString)) + return WR; + throw new Exception("Unknown V3ObservationInterpretation code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _GENETICOBSERVATIONINTERPRETATION: return "_GeneticObservationInterpretation"; + case CAR: return "CAR"; + case CARRIER: return "Carrier"; + case _OBSERVATIONINTERPRETATIONCHANGE: return "_ObservationInterpretationChange"; + case B: return "B"; + case D: return "D"; + case U: return "U"; + case W: return "W"; + case _OBSERVATIONINTERPRETATIONEXCEPTIONS: return "_ObservationInterpretationExceptions"; + case LESS_THAN: return "<"; + case GREATER_THAN: return ">"; + case AC: return "AC"; + case IE: return "IE"; + case QCF: return "QCF"; + case TOX: return "TOX"; + case _OBSERVATIONINTERPRETATIONNORMALITY: return "_ObservationInterpretationNormality"; + case A: return "A"; + case AA: return "AA"; + case HH: return "HH"; + case LL: return "LL"; + case H: return "H"; + case H_: return "H>"; + case L: return "L"; + case L_: return "L<"; + case N: return "N"; + case _OBSERVATIONINTERPRETATIONSUSCEPTIBILITY: return "_ObservationInterpretationSusceptibility"; + case I: return "I"; + case MS: return "MS"; + case NS: return "NS"; + case R: return "R"; + case SYNR: return "SYN-R"; + case S: return "S"; + case SDD: return "SDD"; + case SYNS: return "SYN-S"; + case VS: return "VS"; + case EX: return "EX"; + case HX: return "HX"; + case LX: return "LX"; + case OBSERVATIONINTERPRETATIONDETECTION: return "ObservationInterpretationDetection"; + case IND: return "IND"; + case NEG: return "NEG"; + case ND: return "ND"; + case POS: return "POS"; + case DET: return "DET"; + case REACTIVITYOBSERVATIONINTERPRETATION: return "ReactivityObservationInterpretation"; + case NR: return "NR"; + case RR: return "RR"; + case WR: return "WR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ObservationInterpretation"; + } + public String getDefinition() { + switch (this) { + case _GENETICOBSERVATIONINTERPRETATION: return "Codes that specify interpretation of genetic analysis, such as 'positive', 'negative', 'carrier', 'responsive', etc."; + case CAR: return "The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder."; + case CARRIER: return "The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder.\r\n\n \n \n Deprecation Comment: \n This code is currently the same string as the print name for this concept and is inconsistent with the conventions being used for the other codes in the coding system, as it is a full word with initial capitalization, rather than an all upper case mnemonic. The recommendation from OO is to deprecate the code 'Carrier' and to add 'CAR' as the new active code representation for this concept."; + case _OBSERVATIONINTERPRETATIONCHANGE: return "Interpretations of change of quantity and/or severity. At most one of B or W and one of U or D allowed."; + case B: return "The current result or observation value has improved compared to the previous result or observation value (the change is significant as defined in the respective test procedure).\r\n\n [Note: This can be applied to quantitative or qualitative observations.]"; + case D: return "The current result has decreased from the previous result for a quantitative observation (the change is significant as defined in the respective test procedure)."; + case U: return "The current result has increased from the previous result for a quantitative observation (the change is significant as defined in the respective test procedure)."; + case W: return "The current result or observation value has degraded compared to the previous result or observation value (the change is significant as defined in the respective test procedure).\r\n\n [Note: This can be applied to quantitative or qualitative observations.]"; + case _OBSERVATIONINTERPRETATIONEXCEPTIONS: return "Technical exceptions resulting in the inability to provide an interpretation. At most one allowed. Does not imply normality or severity."; + case LESS_THAN: return "The result is below the minimum detection limit (the test procedure or equipment is the limiting factor).\r\n\n Synonyms: Below analytical limit, low off scale."; + case GREATER_THAN: return "The result is above the maximum quantifiable limit (the test procedure or equipment is the limiting factor).\r\n\n Synonyms: Above analytical limit, high off scale."; + case AC: return "A valid result cannot be obtained for the specified component / analyte due to the presence of anti-complementary substances in the sample."; + case IE: return "There is insufficient evidence that the species in question is a good target for therapy with the drug. A categorical interpretation is not possible.\r\n\n [Note: A MIC with 'IE' and/or a comment may be reported (without an accompanying S, I or R-categorization).]"; + case QCF: return "A result cannot be considered valid for the specified component / analyte or organism due to failure in the quality control testing component."; + case TOX: return "A valid result cannot be obtained for the specified organism or cell line due to the presence of cytotoxic substances in the sample or culture."; + case _OBSERVATIONINTERPRETATIONNORMALITY: return "Interpretation of normality or degree of abnormality (including critical or 'alert' level). Concepts in this category are mutually exclusive, i.e., at most one is allowed."; + case A: return "The result or observation value is outside the reference range or expected norm (as defined for the respective test procedure).\r\n\n [Note: Typically applies to non-numeric results.]"; + case AA: return "The result or observation value is outside a reference range or expected norm at a level at which immediate action should be considered for patient safety (as defined for the respective test procedure).\r\n\n [Note: Typically applies to non-numeric results. Analogous to critical/panic limits for numeric results.]"; + case HH: return "The result for a quantitative observation is above a reference level at which immediate action should be considered for patient safety (as defined for the respective test procedure).\r\n\n Synonym: Above upper panic limits."; + case LL: return "The result for a quantitative observation is below a reference level at which immediate action should be considered for patient safety (as defined for the respective test procedure).\r\n\n Synonym: Below lower panic limits."; + case H: return "The result for a quantitative observation is above the upper limit of the reference range (as defined for the respective test procedure).\r\n\n Synonym: Above high normal"; + case H_: return "A test result that is significantly higher than the reference (normal) or therapeutic interval, but has not reached the critically high value and might need special attention, as defined by the laboratory or the clinician.[Note: This level is situated between 'H' and 'HH'.]\r\n\n \n Deprecation Comment: The code 'H>' is being deprecated in order to align with the use of the code 'HU' for 'Very high' in V2 Table 0078 'Interpretation Codes'.\r\n\n [Note: The use of code 'H>' is non-preferred, as this code is deprecated and on track to be retired; use code 'HU' instead."; + case L: return "The result for a quantitative observation is below the lower limit of the reference range (as defined for the respective test procedure).\r\n\n Synonym: Below low normal"; + case L_: return "A test result that is significantly lower than the reference (normal) or therapeutic interval, but has not reached the critically low value and might need special attention, as defined by the laboratory or the clinician.[Note: This level is situated between 'L' and 'LL'.]\r\n\n \n Deprecation Comment: The code 'L<' is being deprecated in order to align with the use of the code 'LU' for 'Very low' in V2 Table 0078 'Interpretation Codes'.\r\n\n [Note: The use of code 'L<' is non-preferred, as this code is deprecated and on track to be retired; use code 'LU' instead."; + case N: return "The result or observation value is within the reference range or expected norm (as defined for the respective test procedure).\r\n\n [Note: Applies to numeric or non-numeric results.]"; + case _OBSERVATIONINTERPRETATIONSUSCEPTIBILITY: return "Interpretations of anti-microbial susceptibility testing results (microbiology). At most one allowed."; + case I: return "Bacterial strain inhibited in vitro by a concentration of an antimicrobial agent that is associated with uncertain therapeutic effect. Reference: CLSI (http://www.clsi.org/Content/NavigationMenu/Resources/HarmonizedTerminologyDatabase/Harmonized_Terminolo.htm)\nProjects: ISO 20776-1, ISO 20776-2\r\n\n [Note 1: Bacterial strains are categorized as intermediate by applying the appropriate breakpoints in a defined phenotypic test system.]\r\n\n [Note 2: This class of susceptibility implies that an infection due to the isolate can be appropriately treated in body sites where the drugs are physiologically concentrated or when a high dosage of drug can be used.]\r\n\n [Note 3: This class also indicates a 'buffer zone,' to prevent small, uncontrolled, technical factors from causing major discrepancies in interpretations.]\r\n\n [Note 4: These breakpoints can be altered due to changes in circumstances (e.g., changes in commonly used drug dosages, emergence of new resistance mechanisms).]"; + case MS: return "The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder.\r\n\n \n \n Deprecation Comment: \n This antimicrobial susceptibility test interpretation concept is recommended by OO to be deprecated as it is no longer recommended for use in susceptibility testing by CLSI (reference CLSI document M100-S22; Vol. 32 No.3; CLSI Performance Standards for Antimicrobial Susceptibility Testing; Twenty-Second Informational Supplement. Jan 2012)."; + case NS: return "A category used for isolates for which only a susceptible interpretive criterion has been designated because of the absence or rare occurrence of resistant strains. Isolates that have MICs above or zone diameters below the value indicated for the susceptible breakpoint should be reported as non-susceptible.\r\n\n NOTE 1: An isolate that is interpreted as non-susceptible does not necessarily mean that the isolate has a resistance mechanism. It is possible that isolates with MICs above the susceptible breakpoint that lack resistance mechanisms may be encountered within the wild-type distribution subsequent to the time the susceptible-only breakpoint is set. \r\n\n NOTE 2: For strains yielding results in the 'nonsusceptible' category, organism identification and antimicrobial susceptibility test results should be confirmed.\r\n\n Synonym: decreased susceptibility."; + case R: return "Bacterial strain inhibited in vitro by a concentration of an antimicrobial agent that is associated with a high likelihood of therapeutic failure.\nReference: CLSI (http://www.clsi.org/Content/NavigationMenu/Resources/HarmonizedTerminologyDatabase/Harmonized_Terminolo.htm) \nProjects: ISO 20776-1, ISO 20776-2\r\n\n [Note 1: Bacterial strains are categorized as resistant by applying the appropriate breakpoints in a defined phenotypic test system.]\r\n\n [Note 2: This breakpoint can be altered due to changes in circumstances (e.g., changes in commonly used drug dosages, emergence of new resistance mechanisms).]"; + case SYNR: return "A category for isolates where the bacteria (e.g. enterococci) are not susceptible in vitro to a combination therapy (e.g., high-level aminoglycoside and cell wall active agent). This is predictive that this combination therapy will not be effective. \r\n\n \n Usage Note: Since the use of penicillin or ampicillin alone often results in treatment failure of serious enterococcal or other bacterial infections, combination therapy is usually indicated to enhance bactericidal activity. The synergy between a cell wall active agent (such as penicillin, ampicillin, or vancomycin) and an aminoglycoside (such as gentamicin, kanamycin or streptomycin) is best predicted by screening for high-level bacterial resistance to the aminoglycoside.\r\n\n \n Open Issue: The print name of the code is very general and the description is very specific to a pair of classes of agents, which may lead to confusion of these concepts in the future should other synergies be found."; + case S: return "Bacterial strain inhibited by in vitro concentration of an antimicrobial agent that is associated with a high likelihood of therapeutic success.\nReference: CLSI (http://www.clsi.org/Content/NavigationMenu/Resources/HarmonizedTerminologyDatabase/Harmonized_Terminolo.htm)\nSynonym (earlier term): Sensitive Projects: ISO 20776-1, ISO 20776-2\r\n\n [Note 1: Bacterial strains are categorized as susceptible by applying the appropriate breakpoints in a defined phenotypic system.]\r\n\n [Note 2: This breakpoint can be altered due to changes in circumstances (e.g., changes in commonly used drug dosages, emergence of new resistance mechanisms).]"; + case SDD: return "A category that includes isolates with antimicrobial agent minimum inhibitory concentrations (MICs) that approach usually attainable blood and tissue levels and for which response rates may be lower than for susceptible isolates.\r\n\n Reference: CLSI document M44-A2 2009 'Method for antifungal disk diffusion susceptibility testing of yeasts; approved guideline - second edition' - page 2."; + case SYNS: return "A category for isolates where the bacteria (e.g. enterococci) are susceptible in vitro to a combination therapy (e.g., high-level aminoglycoside and cell wall active agent). This is predictive that this combination therapy will be effective. \r\n\n \n Usage Note: Since the use of penicillin or ampicillin alone often results in treatment failure of serious enterococcal or other bacterial infections, combination therapy is usually indicated to enhance bactericidal activity. The synergy between a cell wall active agent (such as penicillin, ampicillin, or vancomycin) and an aminoglycoside (such as gentamicin, kanamycin or streptomycin) is best predicted by screening for high-level bacterial resistance to the aminoglycoside.\r\n\n \n Open Issue: The print name of the code is very general and the description is very specific to a pair of classes of agents, which may lead to confusion of these concepts in the future should other synergies be found."; + case VS: return "The patient is considered as carrier based on the testing results. A carrier is an individual who carries an altered form of a gene which can lead to having a child or offspring in future generations with a genetic disorder.\r\n\n \n \n Deprecation Comment: \n This antimicrobial susceptibility test interpretation concept is recommended by OO to be deprecated as it is no longer recommended for use in susceptibility testing by CLSI (reference CLSI document M100-S22; Vol. 32 No.3; CLSI Performance Standards for Antimicrobial Susceptibility Testing; Twenty-Second Informational Supplement. Jan 2012)."; + case EX: return "The observation/test result is interpreted as being outside the inclusion range for a particular protocol within which the result is being reported.\n\r\n\n Example: A positive result on a Hepatitis screening test.\n Open Issue: EX, HX, LX: These three concepts do not seem to meet a clear need in the vocabulary, and their use in observation interpretation appears likely to be covered by other existing concepts (e.g., A, H, L). The only apparent significant difference is their reference to use in protocols for exclusion of study subjects.\nThese concepts/codes were proposed by RCRIM for use in the CTLaboratory message. They were submitted and approved in the November 2005 Harmonization cycle in proposal '030103C_VOCAB_RCRIM_l_quade_RCRIM Obs Interp_20051028154455'. However, this proposal was not fully implemented in the vocabulary. The proposal recommended creation of the x_ClinicalResearchExclusion domain in ObservationInterpretation with a value set including those three concepts/codes, but there is no subdomain of that name or equivalent with a binding to either of the value sets that contain these concepts/codes.\nMembers of the OO WG have recently attempted to contact members of RCRIM regarding these concepts, both by email and at the recent WGM in Atlanta, without response. It is felt by OO that the best course of action to take at this time is to add this comprehensive Open Issue rather than deprecate these three concepts at this time, until further discussion is held."; + case HX: return "The observation/test result is interpreted as being outside the inclusion range for a particular protocol within which the result is being reported.\n\r\n\n Example: A positive result on a Hepatitis screening test.\n Open Issue: EX, HX, LX: These three concepts do not seem to meet a clear need in the vocabulary, and their use in observation interpretation appears likely to be covered by other existing concepts (e.g., A, H, L). The only apparent significant difference is their reference to use in protocols for exclusion of study subjects. These concepts/codes were proposed by RCRIM for use in the CTLaboratory message. They were submitted and approved in the November 2005 Harmonization cycle in proposal '030103C_VOCAB_RCRIM_l_quade_RCRIM Obs Interp_20051028154455'. However, this proposal was not fully implemented in the vocabulary. The proposal recommended creation of the x_ClinicalResearchExclusion domain in ObservationInterpretation with a value set including those three concepts/codes, but there is no subdomain of that name or equivalent with a binding to either of the value sets that contain these concepts/codes. Members of the OO WG have recently attempted to contact members of RCRIM regarding these concepts, both by email and at the recent WGM in Atlanta, without response. It is felt by OO that the best course of action to take at this time is to add this comprehensive Open Issue rather than deprecate these three concepts at this time, until further discussion is held."; + case LX: return "The numeric observation/test result is interpreted as being below the low threshold value for a particular protocol within which the result is being reported.\r\n\n Example: A Total White Blood Cell Count falling below a protocol-defined threshold value of 3000/mm^3\n Open Issue: EX, HX, LX: These three concepts do not seem to meet a clear need in the vocabulary, and their use in observation interpretation appears likely to be covered by other existing concepts (e.g., A, H, L). The only apparent significant difference is their reference to use in protocols for exclusion of study subjects. These concepts/codes were proposed by RCRIM for use in the CTLaboratory message. They were submitted and approved in the November 2005 Harmonization cycle in proposal '030103C_VOCAB_RCRIM_l_quade_RCRIM Obs Interp_20051028154455'. However, this proposal was not fully implemented in the vocabulary. The proposal recommended creation of the x_ClinicalResearchExclusion domain in ObservationInterpretation with a value set including those three concepts/codes, but there is no subdomain of that name or equivalent with a binding to either of the value sets that contain these concepts/codes. Members of the OO WG have recently attempted to contact members of RCRIM regarding these concepts, both by email and at the recent WGM in Atlanta, without response. It is felt by OO that the best course of action to take at this time is to add this comprehensive Open Issue rather than deprecate these three concepts at this time, until further discussion is held."; + case OBSERVATIONINTERPRETATIONDETECTION: return "Interpretations of the presence or absence of a component / analyte or organism in a test or of a sign in a clinical observation. In keeping with laboratory data processing practice, these concepts provide a categorical interpretation of the 'meaning' of the quantitative value for the same observation."; + case IND: return "The specified component / analyte, organism or clinical sign could neither be declared positive / negative or detected / not detected by the performed test or procedure."; + case NEG: return "An absence finding of the specified component / analyte, organism or clinical sign based on the established threshold of the performed test or procedure.\r\n\n [Note: Negative does not necessarily imply the complete absence of the specified item.]"; + case ND: return "The presence of the specified component / analyte, organism or clinical sign could not be determined within the limit of detection of the performed test or procedure."; + case POS: return "A presence finding of the specified component / analyte, organism or clinical sign based on the established threshold of the performed test or procedure."; + case DET: return "The measurement of the specified component / analyte, organism or clinical sign above the limit of detection of the performed test or procedure."; + case REACTIVITYOBSERVATIONINTERPRETATION: return "Interpretations of the presence and level of reactivity of the specified component / analyte with the reagent in the performed laboratory test."; + case NR: return "An absence finding used to indicate that the specified component / analyte did not react measurably with the reagent."; + case RR: return "A presence finding used to indicate that the specified component / analyte reacted with the reagent above the reliably measurable limit of the performed test."; + case WR: return "A weighted presence finding used to indicate that the specified component / analyte reacted with the reagent, but below the reliably measurable limit of the performed test."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _GENETICOBSERVATIONINTERPRETATION: return "GeneticObservationInterpretation"; + case CAR: return "Carrier"; + case CARRIER: return "Carrier"; + case _OBSERVATIONINTERPRETATIONCHANGE: return "ObservationInterpretationChange"; + case B: return "Better"; + case D: return "Significant change down"; + case U: return "Significant change up"; + case W: return "Worse"; + case _OBSERVATIONINTERPRETATIONEXCEPTIONS: return "ObservationInterpretationExceptions"; + case LESS_THAN: return "Off scale low"; + case GREATER_THAN: return "Off scale high"; + case AC: return "Anti-complementary substances present"; + case IE: return "Insufficient evidence"; + case QCF: return "Quality control failure"; + case TOX: return "Cytotoxic substance present"; + case _OBSERVATIONINTERPRETATIONNORMALITY: return "ObservationInterpretationNormality"; + case A: return "Abnormal"; + case AA: return "Critically abnormal"; + case HH: return "Critically high"; + case LL: return "Critically low"; + case H: return "High"; + case H_: return "Significantly high"; + case L: return "Low"; + case L_: return "Significantly low"; + case N: return "Normal"; + case _OBSERVATIONINTERPRETATIONSUSCEPTIBILITY: return "ObservationInterpretationSusceptibility"; + case I: return "Intermediate"; + case MS: return "moderately susceptible"; + case NS: return "Non-susceptible"; + case R: return "Resistant"; + case SYNR: return "Synergy - resistant"; + case S: return "Susceptible"; + case SDD: return "Susceptible-dose dependent"; + case SYNS: return "Synergy - susceptible"; + case VS: return "very susceptible"; + case EX: return "outside threshold"; + case HX: return "above high threshold"; + case LX: return "below low threshold"; + case OBSERVATIONINTERPRETATIONDETECTION: return "ObservationInterpretationDetection"; + case IND: return "Indeterminate"; + case NEG: return "Negative"; + case ND: return "Not detected"; + case POS: return "Positive"; + case DET: return "Detected"; + case REACTIVITYOBSERVATIONINTERPRETATION: return "ReactivityObservationInterpretation"; + case NR: return "Non-reactive"; + case RR: return "Reactive"; + case WR: return "Weakly reactive"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretationEnumFactory.java new file mode 100644 index 00000000000..cd5f609999b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationInterpretationEnumFactory.java @@ -0,0 +1,243 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ObservationInterpretationEnumFactory implements EnumFactory { + + public V3ObservationInterpretation fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_GeneticObservationInterpretation".equals(codeString)) + return V3ObservationInterpretation._GENETICOBSERVATIONINTERPRETATION; + if ("CAR".equals(codeString)) + return V3ObservationInterpretation.CAR; + if ("Carrier".equals(codeString)) + return V3ObservationInterpretation.CARRIER; + if ("_ObservationInterpretationChange".equals(codeString)) + return V3ObservationInterpretation._OBSERVATIONINTERPRETATIONCHANGE; + if ("B".equals(codeString)) + return V3ObservationInterpretation.B; + if ("D".equals(codeString)) + return V3ObservationInterpretation.D; + if ("U".equals(codeString)) + return V3ObservationInterpretation.U; + if ("W".equals(codeString)) + return V3ObservationInterpretation.W; + if ("_ObservationInterpretationExceptions".equals(codeString)) + return V3ObservationInterpretation._OBSERVATIONINTERPRETATIONEXCEPTIONS; + if ("<".equals(codeString)) + return V3ObservationInterpretation.LESS_THAN; + if (">".equals(codeString)) + return V3ObservationInterpretation.GREATER_THAN; + if ("AC".equals(codeString)) + return V3ObservationInterpretation.AC; + if ("IE".equals(codeString)) + return V3ObservationInterpretation.IE; + if ("QCF".equals(codeString)) + return V3ObservationInterpretation.QCF; + if ("TOX".equals(codeString)) + return V3ObservationInterpretation.TOX; + if ("_ObservationInterpretationNormality".equals(codeString)) + return V3ObservationInterpretation._OBSERVATIONINTERPRETATIONNORMALITY; + if ("A".equals(codeString)) + return V3ObservationInterpretation.A; + if ("AA".equals(codeString)) + return V3ObservationInterpretation.AA; + if ("HH".equals(codeString)) + return V3ObservationInterpretation.HH; + if ("LL".equals(codeString)) + return V3ObservationInterpretation.LL; + if ("H".equals(codeString)) + return V3ObservationInterpretation.H; + if ("H>".equals(codeString)) + return V3ObservationInterpretation.H_; + if ("L".equals(codeString)) + return V3ObservationInterpretation.L; + if ("L<".equals(codeString)) + return V3ObservationInterpretation.L_; + if ("N".equals(codeString)) + return V3ObservationInterpretation.N; + if ("_ObservationInterpretationSusceptibility".equals(codeString)) + return V3ObservationInterpretation._OBSERVATIONINTERPRETATIONSUSCEPTIBILITY; + if ("I".equals(codeString)) + return V3ObservationInterpretation.I; + if ("MS".equals(codeString)) + return V3ObservationInterpretation.MS; + if ("NS".equals(codeString)) + return V3ObservationInterpretation.NS; + if ("R".equals(codeString)) + return V3ObservationInterpretation.R; + if ("SYN-R".equals(codeString)) + return V3ObservationInterpretation.SYNR; + if ("S".equals(codeString)) + return V3ObservationInterpretation.S; + if ("SDD".equals(codeString)) + return V3ObservationInterpretation.SDD; + if ("SYN-S".equals(codeString)) + return V3ObservationInterpretation.SYNS; + if ("VS".equals(codeString)) + return V3ObservationInterpretation.VS; + if ("EX".equals(codeString)) + return V3ObservationInterpretation.EX; + if ("HX".equals(codeString)) + return V3ObservationInterpretation.HX; + if ("LX".equals(codeString)) + return V3ObservationInterpretation.LX; + if ("ObservationInterpretationDetection".equals(codeString)) + return V3ObservationInterpretation.OBSERVATIONINTERPRETATIONDETECTION; + if ("IND".equals(codeString)) + return V3ObservationInterpretation.IND; + if ("NEG".equals(codeString)) + return V3ObservationInterpretation.NEG; + if ("ND".equals(codeString)) + return V3ObservationInterpretation.ND; + if ("POS".equals(codeString)) + return V3ObservationInterpretation.POS; + if ("DET".equals(codeString)) + return V3ObservationInterpretation.DET; + if ("ReactivityObservationInterpretation".equals(codeString)) + return V3ObservationInterpretation.REACTIVITYOBSERVATIONINTERPRETATION; + if ("NR".equals(codeString)) + return V3ObservationInterpretation.NR; + if ("RR".equals(codeString)) + return V3ObservationInterpretation.RR; + if ("WR".equals(codeString)) + return V3ObservationInterpretation.WR; + throw new IllegalArgumentException("Unknown V3ObservationInterpretation code '"+codeString+"'"); + } + + public String toCode(V3ObservationInterpretation code) { + if (code == V3ObservationInterpretation._GENETICOBSERVATIONINTERPRETATION) + return "_GeneticObservationInterpretation"; + if (code == V3ObservationInterpretation.CAR) + return "CAR"; + if (code == V3ObservationInterpretation.CARRIER) + return "Carrier"; + if (code == V3ObservationInterpretation._OBSERVATIONINTERPRETATIONCHANGE) + return "_ObservationInterpretationChange"; + if (code == V3ObservationInterpretation.B) + return "B"; + if (code == V3ObservationInterpretation.D) + return "D"; + if (code == V3ObservationInterpretation.U) + return "U"; + if (code == V3ObservationInterpretation.W) + return "W"; + if (code == V3ObservationInterpretation._OBSERVATIONINTERPRETATIONEXCEPTIONS) + return "_ObservationInterpretationExceptions"; + if (code == V3ObservationInterpretation.LESS_THAN) + return "<"; + if (code == V3ObservationInterpretation.GREATER_THAN) + return ">"; + if (code == V3ObservationInterpretation.AC) + return "AC"; + if (code == V3ObservationInterpretation.IE) + return "IE"; + if (code == V3ObservationInterpretation.QCF) + return "QCF"; + if (code == V3ObservationInterpretation.TOX) + return "TOX"; + if (code == V3ObservationInterpretation._OBSERVATIONINTERPRETATIONNORMALITY) + return "_ObservationInterpretationNormality"; + if (code == V3ObservationInterpretation.A) + return "A"; + if (code == V3ObservationInterpretation.AA) + return "AA"; + if (code == V3ObservationInterpretation.HH) + return "HH"; + if (code == V3ObservationInterpretation.LL) + return "LL"; + if (code == V3ObservationInterpretation.H) + return "H"; + if (code == V3ObservationInterpretation.H_) + return "H>"; + if (code == V3ObservationInterpretation.L) + return "L"; + if (code == V3ObservationInterpretation.L_) + return "L<"; + if (code == V3ObservationInterpretation.N) + return "N"; + if (code == V3ObservationInterpretation._OBSERVATIONINTERPRETATIONSUSCEPTIBILITY) + return "_ObservationInterpretationSusceptibility"; + if (code == V3ObservationInterpretation.I) + return "I"; + if (code == V3ObservationInterpretation.MS) + return "MS"; + if (code == V3ObservationInterpretation.NS) + return "NS"; + if (code == V3ObservationInterpretation.R) + return "R"; + if (code == V3ObservationInterpretation.SYNR) + return "SYN-R"; + if (code == V3ObservationInterpretation.S) + return "S"; + if (code == V3ObservationInterpretation.SDD) + return "SDD"; + if (code == V3ObservationInterpretation.SYNS) + return "SYN-S"; + if (code == V3ObservationInterpretation.VS) + return "VS"; + if (code == V3ObservationInterpretation.EX) + return "EX"; + if (code == V3ObservationInterpretation.HX) + return "HX"; + if (code == V3ObservationInterpretation.LX) + return "LX"; + if (code == V3ObservationInterpretation.OBSERVATIONINTERPRETATIONDETECTION) + return "ObservationInterpretationDetection"; + if (code == V3ObservationInterpretation.IND) + return "IND"; + if (code == V3ObservationInterpretation.NEG) + return "NEG"; + if (code == V3ObservationInterpretation.ND) + return "ND"; + if (code == V3ObservationInterpretation.POS) + return "POS"; + if (code == V3ObservationInterpretation.DET) + return "DET"; + if (code == V3ObservationInterpretation.REACTIVITYOBSERVATIONINTERPRETATION) + return "ReactivityObservationInterpretation"; + if (code == V3ObservationInterpretation.NR) + return "NR"; + if (code == V3ObservationInterpretation.RR) + return "RR"; + if (code == V3ObservationInterpretation.WR) + return "WR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethod.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethod.java new file mode 100644 index 00000000000..64eec1654cd --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethod.java @@ -0,0 +1,2810 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ObservationMethod { + + /** + * Provides codes for decision methods, initially for assessing the causality of events. + */ + _DECISIONOBSERVATIONMETHOD, + /** + * Reaching a decision through the application of an algorithm designed to weigh the different factors involved. + */ + ALGM, + /** + * Reaching a decision through the use of Bayesian statistical analysis. + */ + BYCL, + /** + * Reaching a decision by consideration of the totality of factors involved in order to reach a judgement. + */ + GINT, + /** + * A code that provides additional detail about the means or technique used to ascertain the genetic analysis. Example, PCR, Micro Array + */ + _GENETICOBSERVATIONMETHOD, + /** + * Description: Polymerase Chain Reaction + */ + PCR, + /** + * Provides additional detail about the aggregation methods used to compute the aggregated values for an observation. This is an abstract code. + */ + _OBSERVATIONMETHODAGGREGATE, + /** + * Average of non-null values in the referenced set of values + */ + AVERAGE, + /** + * Count of non-null values in the referenced set of values + */ + COUNT, + /** + * Largest of all non-null values in the referenced set of values. + */ + MAX, + /** + * The median of all non-null values in the referenced set of values. + */ + MEDIAN, + /** + * Smallest of all non-null values in the referenced set of values. + */ + MIN, + /** + * The most common value of all non-null values in the referenced set of values. + */ + MODE, + /** + * Standard Deviation of the values in the referenced set of values, computed over the population. + */ + STDEV_P, + /** + * Standard Deviation of the values in the referenced set of values, computed over a sample of the population. + */ + STDEV_S, + /** + * Sum of non-null values in the referenced set of values + */ + SUM, + /** + * Variance of the values in the referenced set of values, computed over the population. + */ + VARIANCE_P, + /** + * Variance of the values in the referenced set of values, computed over a sample of the population. + */ + VARIANCE_S, + /** + * VerificationMethod + */ + _VERIFICATIONMETHOD, + /** + * Verification by means of document. + + + Example: Fax, letter, attachment to e-mail. + */ + VDOC, + /** + * verification by means of a response to an electronic query + + + Example: query message to a Covered Party registry application or Coverage Administrator. + */ + VREG, + /** + * Verification by means of electronic token. + + + Example: smartcard, magnetic swipe card, RFID device. + */ + VTOKEN, + /** + * Verification by means of voice. + + + Example: By speaking with or calling the Coverage Administrator or Covered Party + */ + VVOICE, + /** + * Complement fixation + */ + _0001, + /** + * Computed axial tomography + */ + _0002, + /** + * Susceptibility, High Level Aminoglycoside Resistance agar test + */ + _0003, + /** + * Visual, Macroscopic observation + */ + _0004, + /** + * Computed, Magnetic resonance + */ + _0005, + /** + * Computed, Morphometry + */ + _0006, + /** + * Computed, Positron emission tomography + */ + _0007, + /** + * SAMHSA drug assay confirmation + */ + _0008, + /** + * SAMHSA drug assay screening + */ + _0009, + /** + * Serum Neutralization + */ + _0010, + /** + * Titration + */ + _0011, + /** + * Ultrasound + */ + _0012, + /** + * X-ray crystallography + */ + _0013, + /** + * Agglutination + */ + _0014, + /** + * Agglutination, Buffered acidified plate + */ + _0015, + /** + * Agglutination, Card + */ + _0016, + /** + * Agglutination, Hemagglutination + */ + _0017, + /** + * Agglutination, Hemagglutination inhibition + */ + _0018, + /** + * Agglutination, Latex + */ + _0019, + /** + * Agglutination, Plate + */ + _0020, + /** + * Agglutination, Rapid Plate + */ + _0021, + /** + * Agglutination, RBC + */ + _0022, + /** + * Agglutination, Rivanol + */ + _0023, + /** + * Agglutination, Tube + */ + _0024, + /** + * Bioassay + */ + _0025, + /** + * Bioassay, Animal Inoculation + */ + _0026, + /** + * Bioassay, Cytotoxicity + */ + _0027, + /** + * Bioassay, Embryo Infective Dose 50 + */ + _0028, + /** + * Bioassay, Embryo Lethal Dose 50 + */ + _0029, + /** + * Bioassay, Mouse intercerebral inoculation + */ + _0030, + /** + * Bioassay, qualitative + */ + _0031, + /** + * Bioassay, quantitative + */ + _0032, + /** + * Chemical + */ + _0033, + /** + * Chemical, Differential light absorption + */ + _0034, + /** + * Chemical, Dipstick + */ + _0035, + /** + * Chemical, Dipstick colorimetric laboratory test + */ + _0036, + /** + * Chemical, Test strip + */ + _0037, + /** + * Chromatography + */ + _0038, + /** + * Chromatography, Affinity + */ + _0039, + /** + * Chromatography, Gas liquid + */ + _0040, + /** + * Chromatography, High performance liquid + */ + _0041, + /** + * Chromatography, Liquid + */ + _0042, + /** + * Chromatography, Protein A affinity + */ + _0043, + /** + * Coagulation + */ + _0044, + /** + * Coagulation, Tilt tube + */ + _0045, + /** + * Coagulation, Tilt tube reptilase induced + */ + _0046, + /** + * Count, Automated + */ + _0047, + /** + * Count, Manual + */ + _0048, + /** + * Count, Platelet, Rees-Ecker + */ + _0049, + /** + * Culture, Aerobic + */ + _0050, + /** + * Culture, Anaerobic + */ + _0051, + /** + * Culture, Chicken Embryo + */ + _0052, + /** + * Culture, Delayed secondary enrichment + */ + _0053, + /** + * Culture, Microaerophilic + */ + _0054, + /** + * Culture, Quantitative microbial, cup + */ + _0055, + /** + * Culture, Quantitative microbial, droplet + */ + _0056, + /** + * Culture, Quantitative microbial, filter paper + */ + _0057, + /** + * Culture, Quantitative microbial, pad + */ + _0058, + /** + * Culture, Quantitative microbial, pour plate + */ + _0059, + /** + * Culture, Quantitative microbial, surface streak + */ + _0060, + /** + * Culture, Somatic Cell + */ + _0061, + /** + * Diffusion, Agar + */ + _0062, + /** + * Diffusion, Agar Gel Immunodiffusion + */ + _0063, + /** + * Electrophoresis + */ + _0064, + /** + * Electrophoresis, Agaorse gel + */ + _0065, + /** + * Electrophoresis, citrate agar + */ + _0066, + /** + * Electrophoresis, Immuno + */ + _0067, + /** + * Electrophoresis, Polyacrylamide gel + */ + _0068, + /** + * Electrophoresis, Starch gel + */ + _0069, + /** + * ELISA + */ + _0070, + /** + * ELISA, antigen capture + */ + _0071, + /** + * ELISA, avidin biotin peroxidase complex + */ + _0072, + /** + * ELISA, Kinetic + */ + _0073, + /** + * ELISA, peroxidase-antiperoxidase + */ + _0074, + /** + * Identification, API 20 Strep + */ + _0075, + /** + * Identification, API 20A + */ + _0076, + /** + * Identification, API 20C AUX + */ + _0077, + /** + * Identification, API 20E + */ + _0078, + /** + * Identification, API 20NE + */ + _0079, + /** + * Identification, API 50 CH + */ + _0080, + /** + * Identification, API An-IDENT + */ + _0081, + /** + * Identification, API Coryne + */ + _0082, + /** + * Identification, API Rapid 20E + */ + _0083, + /** + * Identification, API Staph + */ + _0084, + /** + * Identification, API ZYM + */ + _0085, + /** + * Identification, Bacterial + */ + _0086, + /** + * Identification, mini VIDAS + */ + _0087, + /** + * Identification, Phage susceptibility typing + */ + _0088, + /** + * Identification, Quad-FERM+ + */ + _0089, + /** + * Identification, RAPIDEC Staph + */ + _0090, + /** + * Identification, Staphaurex + */ + _0091, + /** + * Identification, VIDAS + */ + _0092, + /** + * Identification, Vitek + */ + _0093, + /** + * Identification, VITEK 2 + */ + _0094, + /** + * Immune stain + */ + _0095, + /** + * Immune stain, Immunofluorescent antibody, direct + */ + _0096, + /** + * Immune stain, Immunofluorescent antibody, indirect + */ + _0097, + /** + * Immune stain, Immunoperoxidase, Avidin-Biotin Complex + */ + _0098, + /** + * Immune stain, Immunoperoxidase, Peroxidase anti-peroxidase complex + */ + _0099, + /** + * Immune stain, Immunoperoxidase, Protein A-peroxidase complex + */ + _0100, + /** + * Immunoassay + */ + _0101, + /** + * Immunoassay, qualitative, multiple step + */ + _0102, + /** + * Immunoassay, qualitative, single step + */ + _0103, + /** + * Immunoassay, Radioimmunoassay + */ + _0104, + /** + * Immunoassay, semi-quantitative, multiple step + */ + _0105, + /** + * Immunoassay, semi-quantitative, single step + */ + _0106, + /** + * Microscopy + */ + _0107, + /** + * Microscopy, Darkfield + */ + _0108, + /** + * Microscopy, Electron + */ + _0109, + /** + * Microscopy, Electron microscopy tomography + */ + _0110, + /** + * Microscopy, Electron, negative stain + */ + _0111, + /** + * Microscopy, Electron, thick section transmission + */ + _0112, + /** + * Microscopy, Electron, thin section transmission + */ + _0113, + /** + * Microscopy, Light + */ + _0114, + /** + * Microscopy, Polarized light + */ + _0115, + /** + * Microscopy, Scanning electron + */ + _0116, + /** + * Microscopy, Transmission electron + */ + _0117, + /** + * Microscopy, Transparent tape direct examination + */ + _0118, + /** + * Molecular, 3 Self-Sustaining Sequence Replication + */ + _0119, + /** + * Molecular, Branched Chain DNA + */ + _0120, + /** + * Molecular, Hybridization Protection Assay + */ + _0121, + /** + * Molecular, Immune blot + */ + _0122, + /** + * Molecular, In-situ hybridization + */ + _0123, + /** + * Molecular, Ligase Chain Reaction + */ + _0124, + /** + * Molecular, Ligation Activated Transcription + */ + _0125, + /** + * Molecular, Nucleic Acid Probe + */ + _0126, + /** + * Molecular, Nucleic acid probe with amplification + + + + Rationale: Duplicate of code 0126. Use code 0126 instead. + */ + _0128, + /** + * Molecular, Nucleic acid probe with target amplification + */ + _0129, + /** + * Molecular, Nucleic acid reverse transcription + */ + _0130, + /** + * Molecular, Nucleic Acid Sequence Based Analysis + */ + _0131, + /** + * Molecular, Polymerase chain reaction + */ + _0132, + /** + * Molecular, Q-Beta Replicase or probe amplification category method + */ + _0133, + /** + * Molecular, Restriction Fragment Length Polymorphism + */ + _0134, + /** + * Molecular, Southern Blot + */ + _0135, + /** + * Molecular, Strand Displacement Amplification + */ + _0136, + /** + * Molecular, Transcription Mediated Amplification + */ + _0137, + /** + * Molecular, Western Blot + */ + _0138, + /** + * Precipitation, Flocculation + */ + _0139, + /** + * Precipitation, Immune precipitation + */ + _0140, + /** + * Precipitation, Milk ring test + */ + _0141, + /** + * Precipitation, Precipitin + */ + _0142, + /** + * Stain, Acid fast + */ + _0143, + /** + * Stain, Acid fast, fluorochrome + */ + _0144, + /** + * Stain, Acid fast, Kinyoun's cold carbolfuchsin + */ + _0145, + /** + * Stain, Acid fast, Ziehl-Neelsen + */ + _0146, + /** + * Stain, Acid phosphatase + */ + _0147, + /** + * Stain, Acridine orange + */ + _0148, + /** + * Stain, Active brilliant orange KH + */ + _0149, + /** + * Stain, Alazarin red S + */ + _0150, + /** + * Stain, Alcian blue + */ + _0151, + /** + * Stain, Alcian blue with Periodic acid Schiff + */ + _0152, + /** + * Stain, Argentaffin + */ + _0153, + /** + * Stain, Argentaffin silver + */ + _0154, + /** + * Stain, Azure-eosin + */ + _0155, + /** + * Stain, Basic Fuschin + */ + _0156, + /** + * Stain, Bennhold + */ + _0157, + /** + * Stain, Bennhold's Congo red + */ + _0158, + /** + * Stain, Bielschowsky + */ + _0159, + /** + * Stain, Bielschowsky's silver + */ + _0160, + /** + * Stain, Bleach + */ + _0161, + /** + * Stain, Bodian + */ + _0162, + /** + * Stain, Brown-Brenn + */ + _0163, + /** + * Stain, Butyrate-esterase + */ + _0164, + /** + * Stain, Calcofluor white fluorescent + */ + _0165, + /** + * Stain, Carbol-fuchsin + */ + _0166, + /** + * Stain, Carmine + */ + _0167, + /** + * Stain, Churukian-Schenk + */ + _0168, + /** + * Stain, Congo red + */ + _0169, + /** + * Stain, Cresyl echt violet + */ + _0170, + /** + * Stain, Crystal violet + */ + _0171, + /** + * Stain, De Galantha + */ + _0172, + /** + * Stain, Dieterle silver impregnation + */ + _0173, + /** + * Stain, Fite-Farco + */ + _0174, + /** + * Stain, Fontana-Masson silver + */ + _0175, + /** + * Stain, Fouchet + */ + _0176, + /** + * Stain, Gomori + */ + _0177, + /** + * Stain, Gomori methenamine silver + */ + _0178, + /** + * Stain, Gomori-Wheatly trichrome + */ + _0179, + /** + * Stain, Gridley + */ + _0180, + /** + * Stain, Grimelius silver + */ + _0181, + /** + * Stain, Grocott + */ + _0182, + /** + * Stain, Grocott methenamine silver + */ + _0183, + /** + * Stain, Hale's colloidal ferric oxide + */ + _0184, + /** + * Stain, Hale's colloidal iron + */ + _0185, + /** + * Stain, Hansel + */ + _0186, + /** + * Stain, Harris regressive hematoxylin and eosin + */ + _0187, + /** + * Stain, Hematoxylin and eosin + */ + _0188, + /** + * Stain, Highman + */ + _0189, + /** + * Stain, Holzer + */ + _0190, + /** + * Stain, Iron hematoxylin + */ + _0191, + /** + * Stain, Jones + */ + _0192, + /** + * Stain, Jones methenamine silver + */ + _0193, + /** + * Stain, Kossa + */ + _0194, + /** + * Stain, Lawson-Van Gieson + */ + _0195, + /** + * Stain, Loeffler methylene blue + */ + _0196, + /** + * Stain, Luxol fast blue with cresyl violet + */ + _0197, + /** + * Stain, Luxol fast blue with Periodic acid-Schiff + */ + _0198, + /** + * Stain, MacNeal's tetrachrome blood + */ + _0199, + /** + * Stain, Mallory-Heidenhain + */ + _0200, + /** + * Stain, Masson trichrome + */ + _0201, + /** + * Stain, Mayer mucicarmine + */ + _0202, + /** + * Stain, Mayers progressive hematoxylin and eosin + */ + _0203, + /** + * Stain, May-Grunwald Giemsa + */ + _0204, + /** + * Stain, Methyl green + */ + _0205, + /** + * Stain, Methyl green pyronin + */ + _0206, + /** + * Stain, Modified Gomori-Wheatly trichrome + */ + _0207, + /** + * Stain, Modified Masson trichrome + */ + _0208, + /** + * Stain, Modified trichrome + */ + _0209, + /** + * Stain, Movat pentachrome + */ + _0210, + /** + * Stain, Mucicarmine + */ + _0211, + /** + * Stain, Neutral red + */ + _0212, + /** + * Stain, Night blue + */ + _0213, + /** + * Stain, Non-specific esterase + */ + _0214, + /** + * Stain, Oil red-O + */ + _0215, + /** + * Stain, Orcein + */ + _0216, + /** + * Stain, Perls' + */ + _0217, + /** + * Stain, Phosphotungstic acid-hematoxylin + */ + _0218, + /** + * Stain, Potassium ferrocyanide + */ + _0219, + /** + * Stain, Prussian blue + */ + _0220, + /** + * Stain, Putchler modified Bennhold + */ + _0221, + /** + * Stain, Quinacrine fluorescent + */ + _0222, + /** + * Stain, Reticulin + */ + _0223, + /** + * Stain, Rhodamine + */ + _0224, + /** + * Stain, Safranin + */ + _0225, + /** + * Stain, Schmorl + */ + _0226, + /** + * Stain, Seiver-Munger + */ + _0227, + /** + * Stain, Silver + */ + _0228, + /** + * Stain, Specific esterase + */ + _0229, + /** + * Stain, Steiner silver + */ + _0230, + /** + * Stain, Sudan III + */ + _0231, + /** + * Stain, Sudan IVI + */ + _0232, + /** + * Stain, Sulfated alcian blue + */ + _0233, + /** + * Stain, Supravital + */ + _0234, + /** + * Stain, Thioflavine-S + */ + _0235, + /** + * Stain, Three micron Giemsa + */ + _0236, + /** + * Stain, Vassar-Culling + */ + _0237, + /** + * Stain, Vital + */ + _0238, + /** + * Stain, von Kossa + */ + _0239, + /** + * Susceptibility, Minimum bactericidal concentration, macrodilution + */ + _0243, + /** + * Susceptibility, Minimum bactericidal concentration, microdilution + */ + _0244, + /** + * Turbidometric + */ + _0247, + /** + * Turbidometric, Refractometric + */ + _0248, + /** + * Chromatography, Thin Layer + */ + _0249, + /** + * Immunoassay, enzyme-multiplied technique (EMIT) + */ + _0250, + /** + * Flow Cytometry + */ + _0251, + /** + * Radial Immunodiffusion + */ + _0252, + /** + * Immunoassay, Fluorescence Polarization + */ + _0253, + /** + * Electrophoresis, Immunofixation + */ + _0254, + /** + * Dialysis, Direct Equilibrium + */ + _0255, + /** + * Acid Elution, Kleihauer-Betke Method + */ + _0256, + /** + * Immunofluorescence, Anti-Complement + */ + _0257, + /** + * Gas Chromatography/Mass Spectroscopy + */ + _0258, + /** + * Light Scatter, Nephelometry + */ + _0259, + /** + * Immunoassay, IgE Antibody Test + */ + _0260, + /** + * Lymphocyte Microcytotoxicity Assay + */ + _0261, + /** + * Spectrophotometry + */ + _0262, + /** + * Spectrophotometry, Atomic Absorption + */ + _0263, + /** + * Electrochemical, Ion Selective Electrode + */ + _0264, + /** + * Chromatography, Gas + */ + _0265, + /** + * Isoelectric Focusing + */ + _0266, + /** + * Immunoassay, Chemiluminescent + */ + _0267, + /** + * Immunoassay, Microparticle Enzyme + */ + _0268, + /** + * Inductively-Coupled Plasma/Mass Spectrometry + */ + _0269, + /** + * Immunoassay, Immunoradiometric Assay + */ + _0270, + /** + * Coagulation, Photo Optical Clot Detection + */ + _0271, + /** + * Test methods designed to determine a microorganismaTMs susceptibility to being killed by an antibiotic. + */ + _0280, + /** + * Susceptibility, Antibiotic sensitivity, disk + */ + _0240, + /** + * Susceptibility, BACTEC susceptibility test + */ + _0241, + /** + * Susceptibility, Disk dilution + */ + _0242, + /** + * Testing to measure the minimum concentration of the antibacterial agent in a given culture medium below which bacterial growth is not inhibited. + */ + _0272, + /** + * Susceptibility, Minimum Inhibitory concentration, macrodilution + */ + _0245, + /** + * Susceptibility, Minimum Inhibitory concentration, microdilution + */ + _0246, + /** + * Viral Genotype Susceptibility + */ + _0273, + /** + * Viral Phenotype Susceptibility + */ + _0274, + /** + * Gradient Strip + */ + _0275, + /** + * Minimum Lethal Concentration (MLC) + */ + _0275A, + /** + * Testing to measure the minimum concentration of the antibacterial agent in a given culture medium below which bacterial growth is not inhibited. + */ + _0276, + /** + * Serum bactericidal titer + */ + _0277, + /** + * Agar screen + */ + _0278, + /** + * Disk induction + */ + _0279, + /** + * added to help the parsers + */ + NULL; + public static V3ObservationMethod fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_DecisionObservationMethod".equals(codeString)) + return _DECISIONOBSERVATIONMETHOD; + if ("ALGM".equals(codeString)) + return ALGM; + if ("BYCL".equals(codeString)) + return BYCL; + if ("GINT".equals(codeString)) + return GINT; + if ("_GeneticObservationMethod".equals(codeString)) + return _GENETICOBSERVATIONMETHOD; + if ("PCR".equals(codeString)) + return PCR; + if ("_ObservationMethodAggregate".equals(codeString)) + return _OBSERVATIONMETHODAGGREGATE; + if ("AVERAGE".equals(codeString)) + return AVERAGE; + if ("COUNT".equals(codeString)) + return COUNT; + if ("MAX".equals(codeString)) + return MAX; + if ("MEDIAN".equals(codeString)) + return MEDIAN; + if ("MIN".equals(codeString)) + return MIN; + if ("MODE".equals(codeString)) + return MODE; + if ("STDEV.P".equals(codeString)) + return STDEV_P; + if ("STDEV.S".equals(codeString)) + return STDEV_S; + if ("SUM".equals(codeString)) + return SUM; + if ("VARIANCE.P".equals(codeString)) + return VARIANCE_P; + if ("VARIANCE.S".equals(codeString)) + return VARIANCE_S; + if ("_VerificationMethod".equals(codeString)) + return _VERIFICATIONMETHOD; + if ("VDOC".equals(codeString)) + return VDOC; + if ("VREG".equals(codeString)) + return VREG; + if ("VTOKEN".equals(codeString)) + return VTOKEN; + if ("VVOICE".equals(codeString)) + return VVOICE; + if ("0001".equals(codeString)) + return _0001; + if ("0002".equals(codeString)) + return _0002; + if ("0003".equals(codeString)) + return _0003; + if ("0004".equals(codeString)) + return _0004; + if ("0005".equals(codeString)) + return _0005; + if ("0006".equals(codeString)) + return _0006; + if ("0007".equals(codeString)) + return _0007; + if ("0008".equals(codeString)) + return _0008; + if ("0009".equals(codeString)) + return _0009; + if ("0010".equals(codeString)) + return _0010; + if ("0011".equals(codeString)) + return _0011; + if ("0012".equals(codeString)) + return _0012; + if ("0013".equals(codeString)) + return _0013; + if ("0014".equals(codeString)) + return _0014; + if ("0015".equals(codeString)) + return _0015; + if ("0016".equals(codeString)) + return _0016; + if ("0017".equals(codeString)) + return _0017; + if ("0018".equals(codeString)) + return _0018; + if ("0019".equals(codeString)) + return _0019; + if ("0020".equals(codeString)) + return _0020; + if ("0021".equals(codeString)) + return _0021; + if ("0022".equals(codeString)) + return _0022; + if ("0023".equals(codeString)) + return _0023; + if ("0024".equals(codeString)) + return _0024; + if ("0025".equals(codeString)) + return _0025; + if ("0026".equals(codeString)) + return _0026; + if ("0027".equals(codeString)) + return _0027; + if ("0028".equals(codeString)) + return _0028; + if ("0029".equals(codeString)) + return _0029; + if ("0030".equals(codeString)) + return _0030; + if ("0031".equals(codeString)) + return _0031; + if ("0032".equals(codeString)) + return _0032; + if ("0033".equals(codeString)) + return _0033; + if ("0034".equals(codeString)) + return _0034; + if ("0035".equals(codeString)) + return _0035; + if ("0036".equals(codeString)) + return _0036; + if ("0037".equals(codeString)) + return _0037; + if ("0038".equals(codeString)) + return _0038; + if ("0039".equals(codeString)) + return _0039; + if ("0040".equals(codeString)) + return _0040; + if ("0041".equals(codeString)) + return _0041; + if ("0042".equals(codeString)) + return _0042; + if ("0043".equals(codeString)) + return _0043; + if ("0044".equals(codeString)) + return _0044; + if ("0045".equals(codeString)) + return _0045; + if ("0046".equals(codeString)) + return _0046; + if ("0047".equals(codeString)) + return _0047; + if ("0048".equals(codeString)) + return _0048; + if ("0049".equals(codeString)) + return _0049; + if ("0050".equals(codeString)) + return _0050; + if ("0051".equals(codeString)) + return _0051; + if ("0052".equals(codeString)) + return _0052; + if ("0053".equals(codeString)) + return _0053; + if ("0054".equals(codeString)) + return _0054; + if ("0055".equals(codeString)) + return _0055; + if ("0056".equals(codeString)) + return _0056; + if ("0057".equals(codeString)) + return _0057; + if ("0058".equals(codeString)) + return _0058; + if ("0059".equals(codeString)) + return _0059; + if ("0060".equals(codeString)) + return _0060; + if ("0061".equals(codeString)) + return _0061; + if ("0062".equals(codeString)) + return _0062; + if ("0063".equals(codeString)) + return _0063; + if ("0064".equals(codeString)) + return _0064; + if ("0065".equals(codeString)) + return _0065; + if ("0066".equals(codeString)) + return _0066; + if ("0067".equals(codeString)) + return _0067; + if ("0068".equals(codeString)) + return _0068; + if ("0069".equals(codeString)) + return _0069; + if ("0070".equals(codeString)) + return _0070; + if ("0071".equals(codeString)) + return _0071; + if ("0072".equals(codeString)) + return _0072; + if ("0073".equals(codeString)) + return _0073; + if ("0074".equals(codeString)) + return _0074; + if ("0075".equals(codeString)) + return _0075; + if ("0076".equals(codeString)) + return _0076; + if ("0077".equals(codeString)) + return _0077; + if ("0078".equals(codeString)) + return _0078; + if ("0079".equals(codeString)) + return _0079; + if ("0080".equals(codeString)) + return _0080; + if ("0081".equals(codeString)) + return _0081; + if ("0082".equals(codeString)) + return _0082; + if ("0083".equals(codeString)) + return _0083; + if ("0084".equals(codeString)) + return _0084; + if ("0085".equals(codeString)) + return _0085; + if ("0086".equals(codeString)) + return _0086; + if ("0087".equals(codeString)) + return _0087; + if ("0088".equals(codeString)) + return _0088; + if ("0089".equals(codeString)) + return _0089; + if ("0090".equals(codeString)) + return _0090; + if ("0091".equals(codeString)) + return _0091; + if ("0092".equals(codeString)) + return _0092; + if ("0093".equals(codeString)) + return _0093; + if ("0094".equals(codeString)) + return _0094; + if ("0095".equals(codeString)) + return _0095; + if ("0096".equals(codeString)) + return _0096; + if ("0097".equals(codeString)) + return _0097; + if ("0098".equals(codeString)) + return _0098; + if ("0099".equals(codeString)) + return _0099; + if ("0100".equals(codeString)) + return _0100; + if ("0101".equals(codeString)) + return _0101; + if ("0102".equals(codeString)) + return _0102; + if ("0103".equals(codeString)) + return _0103; + if ("0104".equals(codeString)) + return _0104; + if ("0105".equals(codeString)) + return _0105; + if ("0106".equals(codeString)) + return _0106; + if ("0107".equals(codeString)) + return _0107; + if ("0108".equals(codeString)) + return _0108; + if ("0109".equals(codeString)) + return _0109; + if ("0110".equals(codeString)) + return _0110; + if ("0111".equals(codeString)) + return _0111; + if ("0112".equals(codeString)) + return _0112; + if ("0113".equals(codeString)) + return _0113; + if ("0114".equals(codeString)) + return _0114; + if ("0115".equals(codeString)) + return _0115; + if ("0116".equals(codeString)) + return _0116; + if ("0117".equals(codeString)) + return _0117; + if ("0118".equals(codeString)) + return _0118; + if ("0119".equals(codeString)) + return _0119; + if ("0120".equals(codeString)) + return _0120; + if ("0121".equals(codeString)) + return _0121; + if ("0122".equals(codeString)) + return _0122; + if ("0123".equals(codeString)) + return _0123; + if ("0124".equals(codeString)) + return _0124; + if ("0125".equals(codeString)) + return _0125; + if ("0126".equals(codeString)) + return _0126; + if ("0128".equals(codeString)) + return _0128; + if ("0129".equals(codeString)) + return _0129; + if ("0130".equals(codeString)) + return _0130; + if ("0131".equals(codeString)) + return _0131; + if ("0132".equals(codeString)) + return _0132; + if ("0133".equals(codeString)) + return _0133; + if ("0134".equals(codeString)) + return _0134; + if ("0135".equals(codeString)) + return _0135; + if ("0136".equals(codeString)) + return _0136; + if ("0137".equals(codeString)) + return _0137; + if ("0138".equals(codeString)) + return _0138; + if ("0139".equals(codeString)) + return _0139; + if ("0140".equals(codeString)) + return _0140; + if ("0141".equals(codeString)) + return _0141; + if ("0142".equals(codeString)) + return _0142; + if ("0143".equals(codeString)) + return _0143; + if ("0144".equals(codeString)) + return _0144; + if ("0145".equals(codeString)) + return _0145; + if ("0146".equals(codeString)) + return _0146; + if ("0147".equals(codeString)) + return _0147; + if ("0148".equals(codeString)) + return _0148; + if ("0149".equals(codeString)) + return _0149; + if ("0150".equals(codeString)) + return _0150; + if ("0151".equals(codeString)) + return _0151; + if ("0152".equals(codeString)) + return _0152; + if ("0153".equals(codeString)) + return _0153; + if ("0154".equals(codeString)) + return _0154; + if ("0155".equals(codeString)) + return _0155; + if ("0156".equals(codeString)) + return _0156; + if ("0157".equals(codeString)) + return _0157; + if ("0158".equals(codeString)) + return _0158; + if ("0159".equals(codeString)) + return _0159; + if ("0160".equals(codeString)) + return _0160; + if ("0161".equals(codeString)) + return _0161; + if ("0162".equals(codeString)) + return _0162; + if ("0163".equals(codeString)) + return _0163; + if ("0164".equals(codeString)) + return _0164; + if ("0165".equals(codeString)) + return _0165; + if ("0166".equals(codeString)) + return _0166; + if ("0167".equals(codeString)) + return _0167; + if ("0168".equals(codeString)) + return _0168; + if ("0169".equals(codeString)) + return _0169; + if ("0170".equals(codeString)) + return _0170; + if ("0171".equals(codeString)) + return _0171; + if ("0172".equals(codeString)) + return _0172; + if ("0173".equals(codeString)) + return _0173; + if ("0174".equals(codeString)) + return _0174; + if ("0175".equals(codeString)) + return _0175; + if ("0176".equals(codeString)) + return _0176; + if ("0177".equals(codeString)) + return _0177; + if ("0178".equals(codeString)) + return _0178; + if ("0179".equals(codeString)) + return _0179; + if ("0180".equals(codeString)) + return _0180; + if ("0181".equals(codeString)) + return _0181; + if ("0182".equals(codeString)) + return _0182; + if ("0183".equals(codeString)) + return _0183; + if ("0184".equals(codeString)) + return _0184; + if ("0185".equals(codeString)) + return _0185; + if ("0186".equals(codeString)) + return _0186; + if ("0187".equals(codeString)) + return _0187; + if ("0188".equals(codeString)) + return _0188; + if ("0189".equals(codeString)) + return _0189; + if ("0190".equals(codeString)) + return _0190; + if ("0191".equals(codeString)) + return _0191; + if ("0192".equals(codeString)) + return _0192; + if ("0193".equals(codeString)) + return _0193; + if ("0194".equals(codeString)) + return _0194; + if ("0195".equals(codeString)) + return _0195; + if ("0196".equals(codeString)) + return _0196; + if ("0197".equals(codeString)) + return _0197; + if ("0198".equals(codeString)) + return _0198; + if ("0199".equals(codeString)) + return _0199; + if ("0200".equals(codeString)) + return _0200; + if ("0201".equals(codeString)) + return _0201; + if ("0202".equals(codeString)) + return _0202; + if ("0203".equals(codeString)) + return _0203; + if ("0204".equals(codeString)) + return _0204; + if ("0205".equals(codeString)) + return _0205; + if ("0206".equals(codeString)) + return _0206; + if ("0207".equals(codeString)) + return _0207; + if ("0208".equals(codeString)) + return _0208; + if ("0209".equals(codeString)) + return _0209; + if ("0210".equals(codeString)) + return _0210; + if ("0211".equals(codeString)) + return _0211; + if ("0212".equals(codeString)) + return _0212; + if ("0213".equals(codeString)) + return _0213; + if ("0214".equals(codeString)) + return _0214; + if ("0215".equals(codeString)) + return _0215; + if ("0216".equals(codeString)) + return _0216; + if ("0217".equals(codeString)) + return _0217; + if ("0218".equals(codeString)) + return _0218; + if ("0219".equals(codeString)) + return _0219; + if ("0220".equals(codeString)) + return _0220; + if ("0221".equals(codeString)) + return _0221; + if ("0222".equals(codeString)) + return _0222; + if ("0223".equals(codeString)) + return _0223; + if ("0224".equals(codeString)) + return _0224; + if ("0225".equals(codeString)) + return _0225; + if ("0226".equals(codeString)) + return _0226; + if ("0227".equals(codeString)) + return _0227; + if ("0228".equals(codeString)) + return _0228; + if ("0229".equals(codeString)) + return _0229; + if ("0230".equals(codeString)) + return _0230; + if ("0231".equals(codeString)) + return _0231; + if ("0232".equals(codeString)) + return _0232; + if ("0233".equals(codeString)) + return _0233; + if ("0234".equals(codeString)) + return _0234; + if ("0235".equals(codeString)) + return _0235; + if ("0236".equals(codeString)) + return _0236; + if ("0237".equals(codeString)) + return _0237; + if ("0238".equals(codeString)) + return _0238; + if ("0239".equals(codeString)) + return _0239; + if ("0243".equals(codeString)) + return _0243; + if ("0244".equals(codeString)) + return _0244; + if ("0247".equals(codeString)) + return _0247; + if ("0248".equals(codeString)) + return _0248; + if ("0249".equals(codeString)) + return _0249; + if ("0250".equals(codeString)) + return _0250; + if ("0251".equals(codeString)) + return _0251; + if ("0252".equals(codeString)) + return _0252; + if ("0253".equals(codeString)) + return _0253; + if ("0254".equals(codeString)) + return _0254; + if ("0255".equals(codeString)) + return _0255; + if ("0256".equals(codeString)) + return _0256; + if ("0257".equals(codeString)) + return _0257; + if ("0258".equals(codeString)) + return _0258; + if ("0259".equals(codeString)) + return _0259; + if ("0260".equals(codeString)) + return _0260; + if ("0261".equals(codeString)) + return _0261; + if ("0262".equals(codeString)) + return _0262; + if ("0263".equals(codeString)) + return _0263; + if ("0264".equals(codeString)) + return _0264; + if ("0265".equals(codeString)) + return _0265; + if ("0266".equals(codeString)) + return _0266; + if ("0267".equals(codeString)) + return _0267; + if ("0268".equals(codeString)) + return _0268; + if ("0269".equals(codeString)) + return _0269; + if ("0270".equals(codeString)) + return _0270; + if ("0271".equals(codeString)) + return _0271; + if ("0280".equals(codeString)) + return _0280; + if ("0240".equals(codeString)) + return _0240; + if ("0241".equals(codeString)) + return _0241; + if ("0242".equals(codeString)) + return _0242; + if ("0272".equals(codeString)) + return _0272; + if ("0245".equals(codeString)) + return _0245; + if ("0246".equals(codeString)) + return _0246; + if ("0273".equals(codeString)) + return _0273; + if ("0274".equals(codeString)) + return _0274; + if ("0275".equals(codeString)) + return _0275; + if ("0275a".equals(codeString)) + return _0275A; + if ("0276".equals(codeString)) + return _0276; + if ("0277".equals(codeString)) + return _0277; + if ("0278".equals(codeString)) + return _0278; + if ("0279".equals(codeString)) + return _0279; + throw new Exception("Unknown V3ObservationMethod code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _DECISIONOBSERVATIONMETHOD: return "_DecisionObservationMethod"; + case ALGM: return "ALGM"; + case BYCL: return "BYCL"; + case GINT: return "GINT"; + case _GENETICOBSERVATIONMETHOD: return "_GeneticObservationMethod"; + case PCR: return "PCR"; + case _OBSERVATIONMETHODAGGREGATE: return "_ObservationMethodAggregate"; + case AVERAGE: return "AVERAGE"; + case COUNT: return "COUNT"; + case MAX: return "MAX"; + case MEDIAN: return "MEDIAN"; + case MIN: return "MIN"; + case MODE: return "MODE"; + case STDEV_P: return "STDEV.P"; + case STDEV_S: return "STDEV.S"; + case SUM: return "SUM"; + case VARIANCE_P: return "VARIANCE.P"; + case VARIANCE_S: return "VARIANCE.S"; + case _VERIFICATIONMETHOD: return "_VerificationMethod"; + case VDOC: return "VDOC"; + case VREG: return "VREG"; + case VTOKEN: return "VTOKEN"; + case VVOICE: return "VVOICE"; + case _0001: return "0001"; + case _0002: return "0002"; + case _0003: return "0003"; + case _0004: return "0004"; + case _0005: return "0005"; + case _0006: return "0006"; + case _0007: return "0007"; + case _0008: return "0008"; + case _0009: return "0009"; + case _0010: return "0010"; + case _0011: return "0011"; + case _0012: return "0012"; + case _0013: return "0013"; + case _0014: return "0014"; + case _0015: return "0015"; + case _0016: return "0016"; + case _0017: return "0017"; + case _0018: return "0018"; + case _0019: return "0019"; + case _0020: return "0020"; + case _0021: return "0021"; + case _0022: return "0022"; + case _0023: return "0023"; + case _0024: return "0024"; + case _0025: return "0025"; + case _0026: return "0026"; + case _0027: return "0027"; + case _0028: return "0028"; + case _0029: return "0029"; + case _0030: return "0030"; + case _0031: return "0031"; + case _0032: return "0032"; + case _0033: return "0033"; + case _0034: return "0034"; + case _0035: return "0035"; + case _0036: return "0036"; + case _0037: return "0037"; + case _0038: return "0038"; + case _0039: return "0039"; + case _0040: return "0040"; + case _0041: return "0041"; + case _0042: return "0042"; + case _0043: return "0043"; + case _0044: return "0044"; + case _0045: return "0045"; + case _0046: return "0046"; + case _0047: return "0047"; + case _0048: return "0048"; + case _0049: return "0049"; + case _0050: return "0050"; + case _0051: return "0051"; + case _0052: return "0052"; + case _0053: return "0053"; + case _0054: return "0054"; + case _0055: return "0055"; + case _0056: return "0056"; + case _0057: return "0057"; + case _0058: return "0058"; + case _0059: return "0059"; + case _0060: return "0060"; + case _0061: return "0061"; + case _0062: return "0062"; + case _0063: return "0063"; + case _0064: return "0064"; + case _0065: return "0065"; + case _0066: return "0066"; + case _0067: return "0067"; + case _0068: return "0068"; + case _0069: return "0069"; + case _0070: return "0070"; + case _0071: return "0071"; + case _0072: return "0072"; + case _0073: return "0073"; + case _0074: return "0074"; + case _0075: return "0075"; + case _0076: return "0076"; + case _0077: return "0077"; + case _0078: return "0078"; + case _0079: return "0079"; + case _0080: return "0080"; + case _0081: return "0081"; + case _0082: return "0082"; + case _0083: return "0083"; + case _0084: return "0084"; + case _0085: return "0085"; + case _0086: return "0086"; + case _0087: return "0087"; + case _0088: return "0088"; + case _0089: return "0089"; + case _0090: return "0090"; + case _0091: return "0091"; + case _0092: return "0092"; + case _0093: return "0093"; + case _0094: return "0094"; + case _0095: return "0095"; + case _0096: return "0096"; + case _0097: return "0097"; + case _0098: return "0098"; + case _0099: return "0099"; + case _0100: return "0100"; + case _0101: return "0101"; + case _0102: return "0102"; + case _0103: return "0103"; + case _0104: return "0104"; + case _0105: return "0105"; + case _0106: return "0106"; + case _0107: return "0107"; + case _0108: return "0108"; + case _0109: return "0109"; + case _0110: return "0110"; + case _0111: return "0111"; + case _0112: return "0112"; + case _0113: return "0113"; + case _0114: return "0114"; + case _0115: return "0115"; + case _0116: return "0116"; + case _0117: return "0117"; + case _0118: return "0118"; + case _0119: return "0119"; + case _0120: return "0120"; + case _0121: return "0121"; + case _0122: return "0122"; + case _0123: return "0123"; + case _0124: return "0124"; + case _0125: return "0125"; + case _0126: return "0126"; + case _0128: return "0128"; + case _0129: return "0129"; + case _0130: return "0130"; + case _0131: return "0131"; + case _0132: return "0132"; + case _0133: return "0133"; + case _0134: return "0134"; + case _0135: return "0135"; + case _0136: return "0136"; + case _0137: return "0137"; + case _0138: return "0138"; + case _0139: return "0139"; + case _0140: return "0140"; + case _0141: return "0141"; + case _0142: return "0142"; + case _0143: return "0143"; + case _0144: return "0144"; + case _0145: return "0145"; + case _0146: return "0146"; + case _0147: return "0147"; + case _0148: return "0148"; + case _0149: return "0149"; + case _0150: return "0150"; + case _0151: return "0151"; + case _0152: return "0152"; + case _0153: return "0153"; + case _0154: return "0154"; + case _0155: return "0155"; + case _0156: return "0156"; + case _0157: return "0157"; + case _0158: return "0158"; + case _0159: return "0159"; + case _0160: return "0160"; + case _0161: return "0161"; + case _0162: return "0162"; + case _0163: return "0163"; + case _0164: return "0164"; + case _0165: return "0165"; + case _0166: return "0166"; + case _0167: return "0167"; + case _0168: return "0168"; + case _0169: return "0169"; + case _0170: return "0170"; + case _0171: return "0171"; + case _0172: return "0172"; + case _0173: return "0173"; + case _0174: return "0174"; + case _0175: return "0175"; + case _0176: return "0176"; + case _0177: return "0177"; + case _0178: return "0178"; + case _0179: return "0179"; + case _0180: return "0180"; + case _0181: return "0181"; + case _0182: return "0182"; + case _0183: return "0183"; + case _0184: return "0184"; + case _0185: return "0185"; + case _0186: return "0186"; + case _0187: return "0187"; + case _0188: return "0188"; + case _0189: return "0189"; + case _0190: return "0190"; + case _0191: return "0191"; + case _0192: return "0192"; + case _0193: return "0193"; + case _0194: return "0194"; + case _0195: return "0195"; + case _0196: return "0196"; + case _0197: return "0197"; + case _0198: return "0198"; + case _0199: return "0199"; + case _0200: return "0200"; + case _0201: return "0201"; + case _0202: return "0202"; + case _0203: return "0203"; + case _0204: return "0204"; + case _0205: return "0205"; + case _0206: return "0206"; + case _0207: return "0207"; + case _0208: return "0208"; + case _0209: return "0209"; + case _0210: return "0210"; + case _0211: return "0211"; + case _0212: return "0212"; + case _0213: return "0213"; + case _0214: return "0214"; + case _0215: return "0215"; + case _0216: return "0216"; + case _0217: return "0217"; + case _0218: return "0218"; + case _0219: return "0219"; + case _0220: return "0220"; + case _0221: return "0221"; + case _0222: return "0222"; + case _0223: return "0223"; + case _0224: return "0224"; + case _0225: return "0225"; + case _0226: return "0226"; + case _0227: return "0227"; + case _0228: return "0228"; + case _0229: return "0229"; + case _0230: return "0230"; + case _0231: return "0231"; + case _0232: return "0232"; + case _0233: return "0233"; + case _0234: return "0234"; + case _0235: return "0235"; + case _0236: return "0236"; + case _0237: return "0237"; + case _0238: return "0238"; + case _0239: return "0239"; + case _0243: return "0243"; + case _0244: return "0244"; + case _0247: return "0247"; + case _0248: return "0248"; + case _0249: return "0249"; + case _0250: return "0250"; + case _0251: return "0251"; + case _0252: return "0252"; + case _0253: return "0253"; + case _0254: return "0254"; + case _0255: return "0255"; + case _0256: return "0256"; + case _0257: return "0257"; + case _0258: return "0258"; + case _0259: return "0259"; + case _0260: return "0260"; + case _0261: return "0261"; + case _0262: return "0262"; + case _0263: return "0263"; + case _0264: return "0264"; + case _0265: return "0265"; + case _0266: return "0266"; + case _0267: return "0267"; + case _0268: return "0268"; + case _0269: return "0269"; + case _0270: return "0270"; + case _0271: return "0271"; + case _0280: return "0280"; + case _0240: return "0240"; + case _0241: return "0241"; + case _0242: return "0242"; + case _0272: return "0272"; + case _0245: return "0245"; + case _0246: return "0246"; + case _0273: return "0273"; + case _0274: return "0274"; + case _0275: return "0275"; + case _0275A: return "0275a"; + case _0276: return "0276"; + case _0277: return "0277"; + case _0278: return "0278"; + case _0279: return "0279"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ObservationMethod"; + } + public String getDefinition() { + switch (this) { + case _DECISIONOBSERVATIONMETHOD: return "Provides codes for decision methods, initially for assessing the causality of events."; + case ALGM: return "Reaching a decision through the application of an algorithm designed to weigh the different factors involved."; + case BYCL: return "Reaching a decision through the use of Bayesian statistical analysis."; + case GINT: return "Reaching a decision by consideration of the totality of factors involved in order to reach a judgement."; + case _GENETICOBSERVATIONMETHOD: return "A code that provides additional detail about the means or technique used to ascertain the genetic analysis. Example, PCR, Micro Array"; + case PCR: return "Description: Polymerase Chain Reaction"; + case _OBSERVATIONMETHODAGGREGATE: return "Provides additional detail about the aggregation methods used to compute the aggregated values for an observation. This is an abstract code."; + case AVERAGE: return "Average of non-null values in the referenced set of values"; + case COUNT: return "Count of non-null values in the referenced set of values"; + case MAX: return "Largest of all non-null values in the referenced set of values."; + case MEDIAN: return "The median of all non-null values in the referenced set of values."; + case MIN: return "Smallest of all non-null values in the referenced set of values."; + case MODE: return "The most common value of all non-null values in the referenced set of values."; + case STDEV_P: return "Standard Deviation of the values in the referenced set of values, computed over the population."; + case STDEV_S: return "Standard Deviation of the values in the referenced set of values, computed over a sample of the population."; + case SUM: return "Sum of non-null values in the referenced set of values"; + case VARIANCE_P: return "Variance of the values in the referenced set of values, computed over the population."; + case VARIANCE_S: return "Variance of the values in the referenced set of values, computed over a sample of the population."; + case _VERIFICATIONMETHOD: return "VerificationMethod"; + case VDOC: return "Verification by means of document.\r\n\n \n Example: Fax, letter, attachment to e-mail."; + case VREG: return "verification by means of a response to an electronic query\r\n\n \n Example: query message to a Covered Party registry application or Coverage Administrator."; + case VTOKEN: return "Verification by means of electronic token.\r\n\n \n Example: smartcard, magnetic swipe card, RFID device."; + case VVOICE: return "Verification by means of voice.\r\n\n \n Example: By speaking with or calling the Coverage Administrator or Covered Party"; + case _0001: return "Complement fixation"; + case _0002: return "Computed axial tomography"; + case _0003: return "Susceptibility, High Level Aminoglycoside Resistance agar test"; + case _0004: return "Visual, Macroscopic observation"; + case _0005: return "Computed, Magnetic resonance"; + case _0006: return "Computed, Morphometry"; + case _0007: return "Computed, Positron emission tomography"; + case _0008: return "SAMHSA drug assay confirmation"; + case _0009: return "SAMHSA drug assay screening"; + case _0010: return "Serum Neutralization"; + case _0011: return "Titration"; + case _0012: return "Ultrasound"; + case _0013: return "X-ray crystallography"; + case _0014: return "Agglutination"; + case _0015: return "Agglutination, Buffered acidified plate"; + case _0016: return "Agglutination, Card"; + case _0017: return "Agglutination, Hemagglutination"; + case _0018: return "Agglutination, Hemagglutination inhibition"; + case _0019: return "Agglutination, Latex"; + case _0020: return "Agglutination, Plate"; + case _0021: return "Agglutination, Rapid Plate"; + case _0022: return "Agglutination, RBC"; + case _0023: return "Agglutination, Rivanol"; + case _0024: return "Agglutination, Tube"; + case _0025: return "Bioassay"; + case _0026: return "Bioassay, Animal Inoculation"; + case _0027: return "Bioassay, Cytotoxicity"; + case _0028: return "Bioassay, Embryo Infective Dose 50"; + case _0029: return "Bioassay, Embryo Lethal Dose 50"; + case _0030: return "Bioassay, Mouse intercerebral inoculation"; + case _0031: return "Bioassay, qualitative"; + case _0032: return "Bioassay, quantitative"; + case _0033: return "Chemical"; + case _0034: return "Chemical, Differential light absorption"; + case _0035: return "Chemical, Dipstick"; + case _0036: return "Chemical, Dipstick colorimetric laboratory test"; + case _0037: return "Chemical, Test strip"; + case _0038: return "Chromatography"; + case _0039: return "Chromatography, Affinity"; + case _0040: return "Chromatography, Gas liquid"; + case _0041: return "Chromatography, High performance liquid"; + case _0042: return "Chromatography, Liquid"; + case _0043: return "Chromatography, Protein A affinity"; + case _0044: return "Coagulation"; + case _0045: return "Coagulation, Tilt tube"; + case _0046: return "Coagulation, Tilt tube reptilase induced"; + case _0047: return "Count, Automated"; + case _0048: return "Count, Manual"; + case _0049: return "Count, Platelet, Rees-Ecker"; + case _0050: return "Culture, Aerobic"; + case _0051: return "Culture, Anaerobic"; + case _0052: return "Culture, Chicken Embryo"; + case _0053: return "Culture, Delayed secondary enrichment"; + case _0054: return "Culture, Microaerophilic"; + case _0055: return "Culture, Quantitative microbial, cup"; + case _0056: return "Culture, Quantitative microbial, droplet"; + case _0057: return "Culture, Quantitative microbial, filter paper"; + case _0058: return "Culture, Quantitative microbial, pad"; + case _0059: return "Culture, Quantitative microbial, pour plate"; + case _0060: return "Culture, Quantitative microbial, surface streak"; + case _0061: return "Culture, Somatic Cell"; + case _0062: return "Diffusion, Agar"; + case _0063: return "Diffusion, Agar Gel Immunodiffusion"; + case _0064: return "Electrophoresis"; + case _0065: return "Electrophoresis, Agaorse gel"; + case _0066: return "Electrophoresis, citrate agar"; + case _0067: return "Electrophoresis, Immuno"; + case _0068: return "Electrophoresis, Polyacrylamide gel"; + case _0069: return "Electrophoresis, Starch gel"; + case _0070: return "ELISA"; + case _0071: return "ELISA, antigen capture"; + case _0072: return "ELISA, avidin biotin peroxidase complex"; + case _0073: return "ELISA, Kinetic"; + case _0074: return "ELISA, peroxidase-antiperoxidase"; + case _0075: return "Identification, API 20 Strep"; + case _0076: return "Identification, API 20A"; + case _0077: return "Identification, API 20C AUX"; + case _0078: return "Identification, API 20E"; + case _0079: return "Identification, API 20NE"; + case _0080: return "Identification, API 50 CH"; + case _0081: return "Identification, API An-IDENT"; + case _0082: return "Identification, API Coryne"; + case _0083: return "Identification, API Rapid 20E"; + case _0084: return "Identification, API Staph"; + case _0085: return "Identification, API ZYM"; + case _0086: return "Identification, Bacterial"; + case _0087: return "Identification, mini VIDAS"; + case _0088: return "Identification, Phage susceptibility typing"; + case _0089: return "Identification, Quad-FERM+"; + case _0090: return "Identification, RAPIDEC Staph"; + case _0091: return "Identification, Staphaurex"; + case _0092: return "Identification, VIDAS"; + case _0093: return "Identification, Vitek"; + case _0094: return "Identification, VITEK 2"; + case _0095: return "Immune stain"; + case _0096: return "Immune stain, Immunofluorescent antibody, direct"; + case _0097: return "Immune stain, Immunofluorescent antibody, indirect"; + case _0098: return "Immune stain, Immunoperoxidase, Avidin-Biotin Complex"; + case _0099: return "Immune stain, Immunoperoxidase, Peroxidase anti-peroxidase complex"; + case _0100: return "Immune stain, Immunoperoxidase, Protein A-peroxidase complex"; + case _0101: return "Immunoassay"; + case _0102: return "Immunoassay, qualitative, multiple step"; + case _0103: return "Immunoassay, qualitative, single step"; + case _0104: return "Immunoassay, Radioimmunoassay"; + case _0105: return "Immunoassay, semi-quantitative, multiple step"; + case _0106: return "Immunoassay, semi-quantitative, single step"; + case _0107: return "Microscopy"; + case _0108: return "Microscopy, Darkfield"; + case _0109: return "Microscopy, Electron"; + case _0110: return "Microscopy, Electron microscopy tomography"; + case _0111: return "Microscopy, Electron, negative stain"; + case _0112: return "Microscopy, Electron, thick section transmission"; + case _0113: return "Microscopy, Electron, thin section transmission"; + case _0114: return "Microscopy, Light"; + case _0115: return "Microscopy, Polarized light"; + case _0116: return "Microscopy, Scanning electron"; + case _0117: return "Microscopy, Transmission electron"; + case _0118: return "Microscopy, Transparent tape direct examination"; + case _0119: return "Molecular, 3 Self-Sustaining Sequence Replication"; + case _0120: return "Molecular, Branched Chain DNA"; + case _0121: return "Molecular, Hybridization Protection Assay"; + case _0122: return "Molecular, Immune blot"; + case _0123: return "Molecular, In-situ hybridization"; + case _0124: return "Molecular, Ligase Chain Reaction"; + case _0125: return "Molecular, Ligation Activated Transcription"; + case _0126: return "Molecular, Nucleic Acid Probe"; + case _0128: return "Molecular, Nucleic acid probe with amplification\r\n\n \r\n\n Rationale: Duplicate of code 0126. Use code 0126 instead."; + case _0129: return "Molecular, Nucleic acid probe with target amplification"; + case _0130: return "Molecular, Nucleic acid reverse transcription"; + case _0131: return "Molecular, Nucleic Acid Sequence Based Analysis"; + case _0132: return "Molecular, Polymerase chain reaction"; + case _0133: return "Molecular, Q-Beta Replicase or probe amplification category method"; + case _0134: return "Molecular, Restriction Fragment Length Polymorphism"; + case _0135: return "Molecular, Southern Blot"; + case _0136: return "Molecular, Strand Displacement Amplification"; + case _0137: return "Molecular, Transcription Mediated Amplification"; + case _0138: return "Molecular, Western Blot"; + case _0139: return "Precipitation, Flocculation"; + case _0140: return "Precipitation, Immune precipitation"; + case _0141: return "Precipitation, Milk ring test"; + case _0142: return "Precipitation, Precipitin"; + case _0143: return "Stain, Acid fast"; + case _0144: return "Stain, Acid fast, fluorochrome"; + case _0145: return "Stain, Acid fast, Kinyoun's cold carbolfuchsin"; + case _0146: return "Stain, Acid fast, Ziehl-Neelsen"; + case _0147: return "Stain, Acid phosphatase"; + case _0148: return "Stain, Acridine orange"; + case _0149: return "Stain, Active brilliant orange KH"; + case _0150: return "Stain, Alazarin red S"; + case _0151: return "Stain, Alcian blue"; + case _0152: return "Stain, Alcian blue with Periodic acid Schiff"; + case _0153: return "Stain, Argentaffin"; + case _0154: return "Stain, Argentaffin silver"; + case _0155: return "Stain, Azure-eosin"; + case _0156: return "Stain, Basic Fuschin"; + case _0157: return "Stain, Bennhold"; + case _0158: return "Stain, Bennhold's Congo red"; + case _0159: return "Stain, Bielschowsky"; + case _0160: return "Stain, Bielschowsky's silver"; + case _0161: return "Stain, Bleach"; + case _0162: return "Stain, Bodian"; + case _0163: return "Stain, Brown-Brenn"; + case _0164: return "Stain, Butyrate-esterase"; + case _0165: return "Stain, Calcofluor white fluorescent"; + case _0166: return "Stain, Carbol-fuchsin"; + case _0167: return "Stain, Carmine"; + case _0168: return "Stain, Churukian-Schenk"; + case _0169: return "Stain, Congo red"; + case _0170: return "Stain, Cresyl echt violet"; + case _0171: return "Stain, Crystal violet"; + case _0172: return "Stain, De Galantha"; + case _0173: return "Stain, Dieterle silver impregnation"; + case _0174: return "Stain, Fite-Farco"; + case _0175: return "Stain, Fontana-Masson silver"; + case _0176: return "Stain, Fouchet"; + case _0177: return "Stain, Gomori"; + case _0178: return "Stain, Gomori methenamine silver"; + case _0179: return "Stain, Gomori-Wheatly trichrome"; + case _0180: return "Stain, Gridley"; + case _0181: return "Stain, Grimelius silver"; + case _0182: return "Stain, Grocott"; + case _0183: return "Stain, Grocott methenamine silver"; + case _0184: return "Stain, Hale's colloidal ferric oxide"; + case _0185: return "Stain, Hale's colloidal iron"; + case _0186: return "Stain, Hansel"; + case _0187: return "Stain, Harris regressive hematoxylin and eosin"; + case _0188: return "Stain, Hematoxylin and eosin"; + case _0189: return "Stain, Highman"; + case _0190: return "Stain, Holzer"; + case _0191: return "Stain, Iron hematoxylin"; + case _0192: return "Stain, Jones"; + case _0193: return "Stain, Jones methenamine silver"; + case _0194: return "Stain, Kossa"; + case _0195: return "Stain, Lawson-Van Gieson"; + case _0196: return "Stain, Loeffler methylene blue"; + case _0197: return "Stain, Luxol fast blue with cresyl violet"; + case _0198: return "Stain, Luxol fast blue with Periodic acid-Schiff"; + case _0199: return "Stain, MacNeal's tetrachrome blood"; + case _0200: return "Stain, Mallory-Heidenhain"; + case _0201: return "Stain, Masson trichrome"; + case _0202: return "Stain, Mayer mucicarmine"; + case _0203: return "Stain, Mayers progressive hematoxylin and eosin"; + case _0204: return "Stain, May-Grunwald Giemsa"; + case _0205: return "Stain, Methyl green"; + case _0206: return "Stain, Methyl green pyronin"; + case _0207: return "Stain, Modified Gomori-Wheatly trichrome"; + case _0208: return "Stain, Modified Masson trichrome"; + case _0209: return "Stain, Modified trichrome"; + case _0210: return "Stain, Movat pentachrome"; + case _0211: return "Stain, Mucicarmine"; + case _0212: return "Stain, Neutral red"; + case _0213: return "Stain, Night blue"; + case _0214: return "Stain, Non-specific esterase"; + case _0215: return "Stain, Oil red-O"; + case _0216: return "Stain, Orcein"; + case _0217: return "Stain, Perls'"; + case _0218: return "Stain, Phosphotungstic acid-hematoxylin"; + case _0219: return "Stain, Potassium ferrocyanide"; + case _0220: return "Stain, Prussian blue"; + case _0221: return "Stain, Putchler modified Bennhold"; + case _0222: return "Stain, Quinacrine fluorescent"; + case _0223: return "Stain, Reticulin"; + case _0224: return "Stain, Rhodamine"; + case _0225: return "Stain, Safranin"; + case _0226: return "Stain, Schmorl"; + case _0227: return "Stain, Seiver-Munger"; + case _0228: return "Stain, Silver"; + case _0229: return "Stain, Specific esterase"; + case _0230: return "Stain, Steiner silver"; + case _0231: return "Stain, Sudan III"; + case _0232: return "Stain, Sudan IVI"; + case _0233: return "Stain, Sulfated alcian blue"; + case _0234: return "Stain, Supravital"; + case _0235: return "Stain, Thioflavine-S"; + case _0236: return "Stain, Three micron Giemsa"; + case _0237: return "Stain, Vassar-Culling"; + case _0238: return "Stain, Vital"; + case _0239: return "Stain, von Kossa"; + case _0243: return "Susceptibility, Minimum bactericidal concentration, macrodilution"; + case _0244: return "Susceptibility, Minimum bactericidal concentration, microdilution"; + case _0247: return "Turbidometric"; + case _0248: return "Turbidometric, Refractometric"; + case _0249: return "Chromatography, Thin Layer"; + case _0250: return "Immunoassay, enzyme-multiplied technique (EMIT)"; + case _0251: return "Flow Cytometry"; + case _0252: return "Radial Immunodiffusion"; + case _0253: return "Immunoassay, Fluorescence Polarization"; + case _0254: return "Electrophoresis, Immunofixation"; + case _0255: return "Dialysis, Direct Equilibrium"; + case _0256: return "Acid Elution, Kleihauer-Betke Method"; + case _0257: return "Immunofluorescence, Anti-Complement"; + case _0258: return "Gas Chromatography/Mass Spectroscopy"; + case _0259: return "Light Scatter, Nephelometry"; + case _0260: return "Immunoassay, IgE Antibody Test"; + case _0261: return "Lymphocyte Microcytotoxicity Assay"; + case _0262: return "Spectrophotometry"; + case _0263: return "Spectrophotometry, Atomic Absorption"; + case _0264: return "Electrochemical, Ion Selective Electrode"; + case _0265: return "Chromatography, Gas"; + case _0266: return "Isoelectric Focusing"; + case _0267: return "Immunoassay, Chemiluminescent"; + case _0268: return "Immunoassay, Microparticle Enzyme"; + case _0269: return "Inductively-Coupled Plasma/Mass Spectrometry"; + case _0270: return "Immunoassay, Immunoradiometric Assay"; + case _0271: return "Coagulation, Photo Optical Clot Detection"; + case _0280: return "Test methods designed to determine a microorganismaTMs susceptibility to being killed by an antibiotic."; + case _0240: return "Susceptibility, Antibiotic sensitivity, disk"; + case _0241: return "Susceptibility, BACTEC susceptibility test"; + case _0242: return "Susceptibility, Disk dilution"; + case _0272: return "Testing to measure the minimum concentration of the antibacterial agent in a given culture medium below which bacterial growth is not inhibited."; + case _0245: return "Susceptibility, Minimum Inhibitory concentration, macrodilution"; + case _0246: return "Susceptibility, Minimum Inhibitory concentration, microdilution"; + case _0273: return "Viral Genotype Susceptibility"; + case _0274: return "Viral Phenotype Susceptibility"; + case _0275: return "Gradient Strip"; + case _0275A: return "Minimum Lethal Concentration (MLC)"; + case _0276: return "Testing to measure the minimum concentration of the antibacterial agent in a given culture medium below which bacterial growth is not inhibited."; + case _0277: return "Serum bactericidal titer"; + case _0278: return "Agar screen"; + case _0279: return "Disk induction"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _DECISIONOBSERVATIONMETHOD: return "DecisionObservationMethod"; + case ALGM: return "algorithm"; + case BYCL: return "bayesian calculation"; + case GINT: return "global introspection"; + case _GENETICOBSERVATIONMETHOD: return "GeneticObservationMethod"; + case PCR: return "PCR"; + case _OBSERVATIONMETHODAGGREGATE: return "observation method aggregate"; + case AVERAGE: return "average"; + case COUNT: return "count"; + case MAX: return "maxima"; + case MEDIAN: return "median"; + case MIN: return "minima"; + case MODE: return "mode"; + case STDEV_P: return "population standard deviation"; + case STDEV_S: return "sample standard deviation"; + case SUM: return "sum"; + case VARIANCE_P: return "population variance"; + case VARIANCE_S: return "sample variance"; + case _VERIFICATIONMETHOD: return "VerificationMethod"; + case VDOC: return "document verification"; + case VREG: return "registry verification"; + case VTOKEN: return "electronic token verification"; + case VVOICE: return "voice-based verification"; + case _0001: return "Complement fixation"; + case _0002: return "Computed axial tomography"; + case _0003: return "HLAR agar test"; + case _0004: return "Macroscopic observation"; + case _0005: return "Magnetic resonance"; + case _0006: return "Morphometry"; + case _0007: return "Positron emission tomography"; + case _0008: return "SAMHSA confirmation"; + case _0009: return "SAMHSA screening"; + case _0010: return "Serum Neutralization"; + case _0011: return "Titration"; + case _0012: return "Ultrasound"; + case _0013: return "X-ray crystallography"; + case _0014: return "Agglutination"; + case _0015: return "Buffered acidified plate agglutination"; + case _0016: return "Card agglutination"; + case _0017: return "Hemagglutination"; + case _0018: return "Hemagglutination inhibition"; + case _0019: return "Latex agglutination"; + case _0020: return "Plate agglutination"; + case _0021: return "Rapid agglutination"; + case _0022: return "RBC agglutination"; + case _0023: return "Rivanol agglutination"; + case _0024: return "Tube agglutination"; + case _0025: return "Bioassay"; + case _0026: return "Animal Inoculation"; + case _0027: return "Cytotoxicity"; + case _0028: return "Embryo infective dose 50"; + case _0029: return "Embryo lethal dose 50"; + case _0030: return "Mouse intercerebral inoculation"; + case _0031: return "Bioassay, qualitative"; + case _0032: return "Bioassay, quantitative"; + case _0033: return "Chemical method"; + case _0034: return "Differential light absorption chemical test"; + case _0035: return "Dipstick"; + case _0036: return "Dipstick colorimetric laboratory test"; + case _0037: return "Test strip"; + case _0038: return "Chromatography"; + case _0039: return "Affinity chromatography"; + case _0040: return "Gas liquid chromatography"; + case _0041: return "High performance liquid chromatography"; + case _0042: return "Liquid Chromatography"; + case _0043: return "Protein A affinity chromatography"; + case _0044: return "Coagulation"; + case _0045: return "Tilt tube coagulation time"; + case _0046: return "Tilt tube reptilase induced coagulation"; + case _0047: return "Automated count"; + case _0048: return "Manual cell count"; + case _0049: return "Platelet count, Rees-Ecker"; + case _0050: return "Aerobic Culture"; + case _0051: return "Anaerobic Culture"; + case _0052: return "Chicken embryo culture"; + case _0053: return "Delayed secondary enrichment"; + case _0054: return "Microaerophilic Culture"; + case _0055: return "Quantitative microbial culture, cup"; + case _0056: return "Quantitative microbial culture, droplet"; + case _0057: return "Quantitative microbial culture, filter paper"; + case _0058: return "Quantitative microbial culture, pad culture"; + case _0059: return "Quantitative microbial culture, pour plate"; + case _0060: return "Quantitative microbial culture, surface streak"; + case _0061: return "Somatic Cell culture"; + case _0062: return "Agar diffusion"; + case _0063: return "Agar Gel Immunodiffusion"; + case _0064: return "Electrophoresis"; + case _0065: return "Agaorse gel electrophoresis"; + case _0066: return "Electrophoresis, citrate agar"; + case _0067: return "Immunoelectrophoresis"; + case _0068: return "Polyacrylamide gel electrophoresis"; + case _0069: return "Starch gel electrophoresis"; + case _0070: return "ELISA"; + case _0071: return "ELISA, antigen capture"; + case _0072: return "ELISA, avidin biotin peroxidase complex"; + case _0073: return "Kinetic ELISA"; + case _0074: return "ELISA, peroxidase-antiperoxidase"; + case _0075: return "API 20 Strep"; + case _0076: return "API 20A"; + case _0077: return "API 20C AUX"; + case _0078: return "API 20E"; + case _0079: return "API 20NE"; + case _0080: return "API 50 CH"; + case _0081: return "API An-IDENT"; + case _0082: return "API Coryne"; + case _0083: return "API Rapid 20E"; + case _0084: return "API Staph"; + case _0085: return "API ZYM"; + case _0086: return "Bacterial identification"; + case _0087: return "mini VIDAS"; + case _0088: return "Phage susceptibility typing"; + case _0089: return "Quad-FERM+"; + case _0090: return "RAPIDEC Staph"; + case _0091: return "Staphaurex"; + case _0092: return "VIDAS"; + case _0093: return "Vitek"; + case _0094: return "VITEK 2"; + case _0095: return "Immune stain"; + case _0096: return "Immunofluorescent antibody, direct"; + case _0097: return "Immunofluorescent antibody, indirect"; + case _0098: return "Immunoperoxidase, Avidin-Biotin Complex"; + case _0099: return "Immunoperoxidase, Peroxidase anti-peroxidase complex"; + case _0100: return "Immunoperoxidase, Protein A-peroxidase complex"; + case _0101: return "Immunoassay"; + case _0102: return "Immunoassay, qualitative, multiple step"; + case _0103: return "Immunoassay, qualitative, single step"; + case _0104: return "Radioimmunoassay"; + case _0105: return "Immunoassay, semi-quantitative, multiple step"; + case _0106: return "Immunoassay, semi-quantitative, single step"; + case _0107: return "Microscopy"; + case _0108: return "Darkfield microscopy"; + case _0109: return "Electron microscopy"; + case _0110: return "Electron microscopy tomography"; + case _0111: return "Electron microscopy, negative stain"; + case _0112: return "Electron microscopy, thick section"; + case _0113: return "Electron microscopy, thin section"; + case _0114: return "Microscopy, Light"; + case _0115: return "Polarizing light microscopy"; + case _0116: return "Scanning electron microscopy"; + case _0117: return "Transmission electron microscopy"; + case _0118: return "Transparent tape direct examination"; + case _0119: return "3 Self-Sustaining Sequence Replication"; + case _0120: return "Branched Chain DNA"; + case _0121: return "Hybridization Protection Assay"; + case _0122: return "Immune blot"; + case _0123: return "In-situ hybridization"; + case _0124: return "Ligase Chain Reaction"; + case _0125: return "Ligation Activated Transcription"; + case _0126: return "Nucleic Acid Probe"; + case _0128: return "Nucleic acid probe with amplification"; + case _0129: return "Nucleic acid probe with target amplification"; + case _0130: return "Nucleic acid reverse transcription"; + case _0131: return "Nucleic Acid Sequence Based Analysis"; + case _0132: return "Polymerase chain reaction"; + case _0133: return "Q-Beta Replicase or probe amplification category method"; + case _0134: return "Restriction Fragment Length Polymorphism"; + case _0135: return "Southern Blot"; + case _0136: return "Strand Displacement Amplification"; + case _0137: return "Transcription Mediated Amplification"; + case _0138: return "Western Blot"; + case _0139: return "Flocculation"; + case _0140: return "Immune precipitation"; + case _0141: return "Milk ring test"; + case _0142: return "Precipitin"; + case _0143: return "Acid fast stain"; + case _0144: return "Acid fast stain, fluorochrome"; + case _0145: return "Acid fast stain, Kinyoun's cold carbolfuchsin"; + case _0146: return "Acid fast stain, Ziehl-Neelsen"; + case _0147: return "Acid phosphatase stain"; + case _0148: return "Acridine orange stain"; + case _0149: return "Active brilliant orange KH stain"; + case _0150: return "Alazarin red S stain"; + case _0151: return "Alcian blue stain"; + case _0152: return "Alcian blue with Periodic acid Schiff stain"; + case _0153: return "Argentaffin stain"; + case _0154: return "Argentaffin silver stain"; + case _0155: return "Azure-eosin stain"; + case _0156: return "Basic Fuschin stain"; + case _0157: return "Bennhold stain"; + case _0158: return "Bennhold's Congo red stain"; + case _0159: return "Bielschowsky stain"; + case _0160: return "Bielschowsky's silver stain"; + case _0161: return "Bleach stain"; + case _0162: return "Bodian stain"; + case _0163: return "Brown-Brenn stain"; + case _0164: return "Butyrate-esterase stain"; + case _0165: return "Calcofluor white fluorescent stain"; + case _0166: return "Carbol-fuchsin stain"; + case _0167: return "Carmine stain"; + case _0168: return "Churukian-Schenk stain"; + case _0169: return "Congo red stain"; + case _0170: return "Cresyl echt violet stain"; + case _0171: return "Crystal violet stain"; + case _0172: return "De Galantha stain"; + case _0173: return "Dieterle silver impregnation stain"; + case _0174: return "Fite-Farco stain"; + case _0175: return "Fontana-Masson silver stain"; + case _0176: return "Fouchet stain"; + case _0177: return "Gomori stain"; + case _0178: return "Gomori methenamine silver stain"; + case _0179: return "Gomori-Wheatly trichrome stain"; + case _0180: return "Gridley stain"; + case _0181: return "Grimelius silver stain"; + case _0182: return "Grocott stain"; + case _0183: return "Grocott methenamine silver stain"; + case _0184: return "Hale's colloidal ferric oxide stain"; + case _0185: return "Hale's colloidal iron stain"; + case _0186: return "Hansel stain"; + case _0187: return "Harris regressive hematoxylin and eosin stain"; + case _0188: return "Hematoxylin and eosin stain"; + case _0189: return "Highman stain"; + case _0190: return "Holzer stain"; + case _0191: return "Iron hematoxylin stain"; + case _0192: return "Jones stain"; + case _0193: return "Jones methenamine silver stain"; + case _0194: return "Kossa stain"; + case _0195: return "Lawson-Van Gieson stain"; + case _0196: return "Loeffler methylene blue stain"; + case _0197: return "Luxol fast blue with cresyl violet stain"; + case _0198: return "Luxol fast blue with Periodic acid-Schiff stain"; + case _0199: return "MacNeal's tetrachrome blood stain"; + case _0200: return "Mallory-Heidenhain stain"; + case _0201: return "Masson trichrome stain"; + case _0202: return "Mayer mucicarmine stain"; + case _0203: return "Mayers progressive hematoxylin and eosin stain"; + case _0204: return "May-Grunwald Giemsa stain"; + case _0205: return "Methyl green stain"; + case _0206: return "Methyl green pyronin stain"; + case _0207: return "Modified Gomori-Wheatly trichrome stain"; + case _0208: return "Modified Masson trichrome stain"; + case _0209: return "Modified trichrome stain"; + case _0210: return "Movat pentachrome stain"; + case _0211: return "Mucicarmine stain"; + case _0212: return "Neutral red stain"; + case _0213: return "Night blue stain"; + case _0214: return "Non-specific esterase stain"; + case _0215: return "Oil red-O stain"; + case _0216: return "Orcein stain"; + case _0217: return "Perls' stain"; + case _0218: return "Phosphotungstic acid-hematoxylin stain"; + case _0219: return "Potassium ferrocyanide stain"; + case _0220: return "Prussian blue stain"; + case _0221: return "Putchler modified Bennhold stain"; + case _0222: return "Quinacrine fluorescent stain"; + case _0223: return "Reticulin stain"; + case _0224: return "Rhodamine stain"; + case _0225: return "Safranin stain"; + case _0226: return "Schmorl stain"; + case _0227: return "Seiver-Munger stain"; + case _0228: return "Silver stain"; + case _0229: return "Specific esterase stain"; + case _0230: return "Steiner silver stain"; + case _0231: return "Sudan III stain"; + case _0232: return "Sudan IVI stain"; + case _0233: return "Sulfated alcian blue stain"; + case _0234: return "Supravital stain"; + case _0235: return "Thioflavine-S stain"; + case _0236: return "Three micron Giemsa stain"; + case _0237: return "Vassar-Culling stain"; + case _0238: return "Vital Stain"; + case _0239: return "von Kossa stain"; + case _0243: return "Minimum bactericidal concentration test, macrodilution"; + case _0244: return "Minimum bactericidal concentration test, microdilution"; + case _0247: return "Turbidometric"; + case _0248: return "Refractometric"; + case _0249: return "Thin layer chromatography (TLC)"; + case _0250: return "EMIT"; + case _0251: return "Flow cytometry (FC)"; + case _0252: return "Radial immunodiffusion (RID)"; + case _0253: return "Fluorescence polarization immunoassay (FPIA)"; + case _0254: return "Immunofixation electrophoresis (IFE)"; + case _0255: return "Equilibrium dialysis"; + case _0256: return "Kleihauer-Betke acid elution"; + case _0257: return "Anti-complement immunofluorescence (ACIF)"; + case _0258: return "GC/MS"; + case _0259: return "Nephelometry"; + case _0260: return "IgE immunoassay antibody"; + case _0261: return "Lymphocyte Microcytotoxicity Assay"; + case _0262: return "Spectrophotometry"; + case _0263: return "Atomic absorption spectrophotometry (AAS)"; + case _0264: return "Ion selective electrode (ISE)"; + case _0265: return "Gas chromatography (GC)"; + case _0266: return "Isoelectric focusing (IEF)"; + case _0267: return "Immunochemiluminescence"; + case _0268: return "Microparticle enzyme immunoassay (MEIA)"; + case _0269: return "ICP/MS"; + case _0270: return "Immunoradiometric assay (IRMA)"; + case _0271: return "Photo optical clot detection"; + case _0280: return "Susceptibility Testing"; + case _0240: return "Antibiotic sensitivity, disk"; + case _0241: return "BACTEC susceptibility test"; + case _0242: return "Disk dilution"; + case _0272: return "Minimum Inhibitory Concentration"; + case _0245: return "Minimum Inhibitory Concentration, macrodilution"; + case _0246: return "Minimum Inhibitory Concentration, microdilution"; + case _0273: return "Viral Genotype Susceptibility"; + case _0274: return "Viral Phenotype Susceptibility"; + case _0275: return "Gradient Strip"; + case _0275A: return "Minimum Lethal Concentration (MLC)"; + case _0276: return "Slow Mycobacteria Susceptibility"; + case _0277: return "Serum bactericidal titer"; + case _0278: return "Agar screen"; + case _0279: return "Disk induction"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethodEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethodEnumFactory.java new file mode 100644 index 00000000000..cc83334d39c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationMethodEnumFactory.java @@ -0,0 +1,1263 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ObservationMethodEnumFactory implements EnumFactory { + + public V3ObservationMethod fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_DecisionObservationMethod".equals(codeString)) + return V3ObservationMethod._DECISIONOBSERVATIONMETHOD; + if ("ALGM".equals(codeString)) + return V3ObservationMethod.ALGM; + if ("BYCL".equals(codeString)) + return V3ObservationMethod.BYCL; + if ("GINT".equals(codeString)) + return V3ObservationMethod.GINT; + if ("_GeneticObservationMethod".equals(codeString)) + return V3ObservationMethod._GENETICOBSERVATIONMETHOD; + if ("PCR".equals(codeString)) + return V3ObservationMethod.PCR; + if ("_ObservationMethodAggregate".equals(codeString)) + return V3ObservationMethod._OBSERVATIONMETHODAGGREGATE; + if ("AVERAGE".equals(codeString)) + return V3ObservationMethod.AVERAGE; + if ("COUNT".equals(codeString)) + return V3ObservationMethod.COUNT; + if ("MAX".equals(codeString)) + return V3ObservationMethod.MAX; + if ("MEDIAN".equals(codeString)) + return V3ObservationMethod.MEDIAN; + if ("MIN".equals(codeString)) + return V3ObservationMethod.MIN; + if ("MODE".equals(codeString)) + return V3ObservationMethod.MODE; + if ("STDEV.P".equals(codeString)) + return V3ObservationMethod.STDEV_P; + if ("STDEV.S".equals(codeString)) + return V3ObservationMethod.STDEV_S; + if ("SUM".equals(codeString)) + return V3ObservationMethod.SUM; + if ("VARIANCE.P".equals(codeString)) + return V3ObservationMethod.VARIANCE_P; + if ("VARIANCE.S".equals(codeString)) + return V3ObservationMethod.VARIANCE_S; + if ("_VerificationMethod".equals(codeString)) + return V3ObservationMethod._VERIFICATIONMETHOD; + if ("VDOC".equals(codeString)) + return V3ObservationMethod.VDOC; + if ("VREG".equals(codeString)) + return V3ObservationMethod.VREG; + if ("VTOKEN".equals(codeString)) + return V3ObservationMethod.VTOKEN; + if ("VVOICE".equals(codeString)) + return V3ObservationMethod.VVOICE; + if ("0001".equals(codeString)) + return V3ObservationMethod._0001; + if ("0002".equals(codeString)) + return V3ObservationMethod._0002; + if ("0003".equals(codeString)) + return V3ObservationMethod._0003; + if ("0004".equals(codeString)) + return V3ObservationMethod._0004; + if ("0005".equals(codeString)) + return V3ObservationMethod._0005; + if ("0006".equals(codeString)) + return V3ObservationMethod._0006; + if ("0007".equals(codeString)) + return V3ObservationMethod._0007; + if ("0008".equals(codeString)) + return V3ObservationMethod._0008; + if ("0009".equals(codeString)) + return V3ObservationMethod._0009; + if ("0010".equals(codeString)) + return V3ObservationMethod._0010; + if ("0011".equals(codeString)) + return V3ObservationMethod._0011; + if ("0012".equals(codeString)) + return V3ObservationMethod._0012; + if ("0013".equals(codeString)) + return V3ObservationMethod._0013; + if ("0014".equals(codeString)) + return V3ObservationMethod._0014; + if ("0015".equals(codeString)) + return V3ObservationMethod._0015; + if ("0016".equals(codeString)) + return V3ObservationMethod._0016; + if ("0017".equals(codeString)) + return V3ObservationMethod._0017; + if ("0018".equals(codeString)) + return V3ObservationMethod._0018; + if ("0019".equals(codeString)) + return V3ObservationMethod._0019; + if ("0020".equals(codeString)) + return V3ObservationMethod._0020; + if ("0021".equals(codeString)) + return V3ObservationMethod._0021; + if ("0022".equals(codeString)) + return V3ObservationMethod._0022; + if ("0023".equals(codeString)) + return V3ObservationMethod._0023; + if ("0024".equals(codeString)) + return V3ObservationMethod._0024; + if ("0025".equals(codeString)) + return V3ObservationMethod._0025; + if ("0026".equals(codeString)) + return V3ObservationMethod._0026; + if ("0027".equals(codeString)) + return V3ObservationMethod._0027; + if ("0028".equals(codeString)) + return V3ObservationMethod._0028; + if ("0029".equals(codeString)) + return V3ObservationMethod._0029; + if ("0030".equals(codeString)) + return V3ObservationMethod._0030; + if ("0031".equals(codeString)) + return V3ObservationMethod._0031; + if ("0032".equals(codeString)) + return V3ObservationMethod._0032; + if ("0033".equals(codeString)) + return V3ObservationMethod._0033; + if ("0034".equals(codeString)) + return V3ObservationMethod._0034; + if ("0035".equals(codeString)) + return V3ObservationMethod._0035; + if ("0036".equals(codeString)) + return V3ObservationMethod._0036; + if ("0037".equals(codeString)) + return V3ObservationMethod._0037; + if ("0038".equals(codeString)) + return V3ObservationMethod._0038; + if ("0039".equals(codeString)) + return V3ObservationMethod._0039; + if ("0040".equals(codeString)) + return V3ObservationMethod._0040; + if ("0041".equals(codeString)) + return V3ObservationMethod._0041; + if ("0042".equals(codeString)) + return V3ObservationMethod._0042; + if ("0043".equals(codeString)) + return V3ObservationMethod._0043; + if ("0044".equals(codeString)) + return V3ObservationMethod._0044; + if ("0045".equals(codeString)) + return V3ObservationMethod._0045; + if ("0046".equals(codeString)) + return V3ObservationMethod._0046; + if ("0047".equals(codeString)) + return V3ObservationMethod._0047; + if ("0048".equals(codeString)) + return V3ObservationMethod._0048; + if ("0049".equals(codeString)) + return V3ObservationMethod._0049; + if ("0050".equals(codeString)) + return V3ObservationMethod._0050; + if ("0051".equals(codeString)) + return V3ObservationMethod._0051; + if ("0052".equals(codeString)) + return V3ObservationMethod._0052; + if ("0053".equals(codeString)) + return V3ObservationMethod._0053; + if ("0054".equals(codeString)) + return V3ObservationMethod._0054; + if ("0055".equals(codeString)) + return V3ObservationMethod._0055; + if ("0056".equals(codeString)) + return V3ObservationMethod._0056; + if ("0057".equals(codeString)) + return V3ObservationMethod._0057; + if ("0058".equals(codeString)) + return V3ObservationMethod._0058; + if ("0059".equals(codeString)) + return V3ObservationMethod._0059; + if ("0060".equals(codeString)) + return V3ObservationMethod._0060; + if ("0061".equals(codeString)) + return V3ObservationMethod._0061; + if ("0062".equals(codeString)) + return V3ObservationMethod._0062; + if ("0063".equals(codeString)) + return V3ObservationMethod._0063; + if ("0064".equals(codeString)) + return V3ObservationMethod._0064; + if ("0065".equals(codeString)) + return V3ObservationMethod._0065; + if ("0066".equals(codeString)) + return V3ObservationMethod._0066; + if ("0067".equals(codeString)) + return V3ObservationMethod._0067; + if ("0068".equals(codeString)) + return V3ObservationMethod._0068; + if ("0069".equals(codeString)) + return V3ObservationMethod._0069; + if ("0070".equals(codeString)) + return V3ObservationMethod._0070; + if ("0071".equals(codeString)) + return V3ObservationMethod._0071; + if ("0072".equals(codeString)) + return V3ObservationMethod._0072; + if ("0073".equals(codeString)) + return V3ObservationMethod._0073; + if ("0074".equals(codeString)) + return V3ObservationMethod._0074; + if ("0075".equals(codeString)) + return V3ObservationMethod._0075; + if ("0076".equals(codeString)) + return V3ObservationMethod._0076; + if ("0077".equals(codeString)) + return V3ObservationMethod._0077; + if ("0078".equals(codeString)) + return V3ObservationMethod._0078; + if ("0079".equals(codeString)) + return V3ObservationMethod._0079; + if ("0080".equals(codeString)) + return V3ObservationMethod._0080; + if ("0081".equals(codeString)) + return V3ObservationMethod._0081; + if ("0082".equals(codeString)) + return V3ObservationMethod._0082; + if ("0083".equals(codeString)) + return V3ObservationMethod._0083; + if ("0084".equals(codeString)) + return V3ObservationMethod._0084; + if ("0085".equals(codeString)) + return V3ObservationMethod._0085; + if ("0086".equals(codeString)) + return V3ObservationMethod._0086; + if ("0087".equals(codeString)) + return V3ObservationMethod._0087; + if ("0088".equals(codeString)) + return V3ObservationMethod._0088; + if ("0089".equals(codeString)) + return V3ObservationMethod._0089; + if ("0090".equals(codeString)) + return V3ObservationMethod._0090; + if ("0091".equals(codeString)) + return V3ObservationMethod._0091; + if ("0092".equals(codeString)) + return V3ObservationMethod._0092; + if ("0093".equals(codeString)) + return V3ObservationMethod._0093; + if ("0094".equals(codeString)) + return V3ObservationMethod._0094; + if ("0095".equals(codeString)) + return V3ObservationMethod._0095; + if ("0096".equals(codeString)) + return V3ObservationMethod._0096; + if ("0097".equals(codeString)) + return V3ObservationMethod._0097; + if ("0098".equals(codeString)) + return V3ObservationMethod._0098; + if ("0099".equals(codeString)) + return V3ObservationMethod._0099; + if ("0100".equals(codeString)) + return V3ObservationMethod._0100; + if ("0101".equals(codeString)) + return V3ObservationMethod._0101; + if ("0102".equals(codeString)) + return V3ObservationMethod._0102; + if ("0103".equals(codeString)) + return V3ObservationMethod._0103; + if ("0104".equals(codeString)) + return V3ObservationMethod._0104; + if ("0105".equals(codeString)) + return V3ObservationMethod._0105; + if ("0106".equals(codeString)) + return V3ObservationMethod._0106; + if ("0107".equals(codeString)) + return V3ObservationMethod._0107; + if ("0108".equals(codeString)) + return V3ObservationMethod._0108; + if ("0109".equals(codeString)) + return V3ObservationMethod._0109; + if ("0110".equals(codeString)) + return V3ObservationMethod._0110; + if ("0111".equals(codeString)) + return V3ObservationMethod._0111; + if ("0112".equals(codeString)) + return V3ObservationMethod._0112; + if ("0113".equals(codeString)) + return V3ObservationMethod._0113; + if ("0114".equals(codeString)) + return V3ObservationMethod._0114; + if ("0115".equals(codeString)) + return V3ObservationMethod._0115; + if ("0116".equals(codeString)) + return V3ObservationMethod._0116; + if ("0117".equals(codeString)) + return V3ObservationMethod._0117; + if ("0118".equals(codeString)) + return V3ObservationMethod._0118; + if ("0119".equals(codeString)) + return V3ObservationMethod._0119; + if ("0120".equals(codeString)) + return V3ObservationMethod._0120; + if ("0121".equals(codeString)) + return V3ObservationMethod._0121; + if ("0122".equals(codeString)) + return V3ObservationMethod._0122; + if ("0123".equals(codeString)) + return V3ObservationMethod._0123; + if ("0124".equals(codeString)) + return V3ObservationMethod._0124; + if ("0125".equals(codeString)) + return V3ObservationMethod._0125; + if ("0126".equals(codeString)) + return V3ObservationMethod._0126; + if ("0128".equals(codeString)) + return V3ObservationMethod._0128; + if ("0129".equals(codeString)) + return V3ObservationMethod._0129; + if ("0130".equals(codeString)) + return V3ObservationMethod._0130; + if ("0131".equals(codeString)) + return V3ObservationMethod._0131; + if ("0132".equals(codeString)) + return V3ObservationMethod._0132; + if ("0133".equals(codeString)) + return V3ObservationMethod._0133; + if ("0134".equals(codeString)) + return V3ObservationMethod._0134; + if ("0135".equals(codeString)) + return V3ObservationMethod._0135; + if ("0136".equals(codeString)) + return V3ObservationMethod._0136; + if ("0137".equals(codeString)) + return V3ObservationMethod._0137; + if ("0138".equals(codeString)) + return V3ObservationMethod._0138; + if ("0139".equals(codeString)) + return V3ObservationMethod._0139; + if ("0140".equals(codeString)) + return V3ObservationMethod._0140; + if ("0141".equals(codeString)) + return V3ObservationMethod._0141; + if ("0142".equals(codeString)) + return V3ObservationMethod._0142; + if ("0143".equals(codeString)) + return V3ObservationMethod._0143; + if ("0144".equals(codeString)) + return V3ObservationMethod._0144; + if ("0145".equals(codeString)) + return V3ObservationMethod._0145; + if ("0146".equals(codeString)) + return V3ObservationMethod._0146; + if ("0147".equals(codeString)) + return V3ObservationMethod._0147; + if ("0148".equals(codeString)) + return V3ObservationMethod._0148; + if ("0149".equals(codeString)) + return V3ObservationMethod._0149; + if ("0150".equals(codeString)) + return V3ObservationMethod._0150; + if ("0151".equals(codeString)) + return V3ObservationMethod._0151; + if ("0152".equals(codeString)) + return V3ObservationMethod._0152; + if ("0153".equals(codeString)) + return V3ObservationMethod._0153; + if ("0154".equals(codeString)) + return V3ObservationMethod._0154; + if ("0155".equals(codeString)) + return V3ObservationMethod._0155; + if ("0156".equals(codeString)) + return V3ObservationMethod._0156; + if ("0157".equals(codeString)) + return V3ObservationMethod._0157; + if ("0158".equals(codeString)) + return V3ObservationMethod._0158; + if ("0159".equals(codeString)) + return V3ObservationMethod._0159; + if ("0160".equals(codeString)) + return V3ObservationMethod._0160; + if ("0161".equals(codeString)) + return V3ObservationMethod._0161; + if ("0162".equals(codeString)) + return V3ObservationMethod._0162; + if ("0163".equals(codeString)) + return V3ObservationMethod._0163; + if ("0164".equals(codeString)) + return V3ObservationMethod._0164; + if ("0165".equals(codeString)) + return V3ObservationMethod._0165; + if ("0166".equals(codeString)) + return V3ObservationMethod._0166; + if ("0167".equals(codeString)) + return V3ObservationMethod._0167; + if ("0168".equals(codeString)) + return V3ObservationMethod._0168; + if ("0169".equals(codeString)) + return V3ObservationMethod._0169; + if ("0170".equals(codeString)) + return V3ObservationMethod._0170; + if ("0171".equals(codeString)) + return V3ObservationMethod._0171; + if ("0172".equals(codeString)) + return V3ObservationMethod._0172; + if ("0173".equals(codeString)) + return V3ObservationMethod._0173; + if ("0174".equals(codeString)) + return V3ObservationMethod._0174; + if ("0175".equals(codeString)) + return V3ObservationMethod._0175; + if ("0176".equals(codeString)) + return V3ObservationMethod._0176; + if ("0177".equals(codeString)) + return V3ObservationMethod._0177; + if ("0178".equals(codeString)) + return V3ObservationMethod._0178; + if ("0179".equals(codeString)) + return V3ObservationMethod._0179; + if ("0180".equals(codeString)) + return V3ObservationMethod._0180; + if ("0181".equals(codeString)) + return V3ObservationMethod._0181; + if ("0182".equals(codeString)) + return V3ObservationMethod._0182; + if ("0183".equals(codeString)) + return V3ObservationMethod._0183; + if ("0184".equals(codeString)) + return V3ObservationMethod._0184; + if ("0185".equals(codeString)) + return V3ObservationMethod._0185; + if ("0186".equals(codeString)) + return V3ObservationMethod._0186; + if ("0187".equals(codeString)) + return V3ObservationMethod._0187; + if ("0188".equals(codeString)) + return V3ObservationMethod._0188; + if ("0189".equals(codeString)) + return V3ObservationMethod._0189; + if ("0190".equals(codeString)) + return V3ObservationMethod._0190; + if ("0191".equals(codeString)) + return V3ObservationMethod._0191; + if ("0192".equals(codeString)) + return V3ObservationMethod._0192; + if ("0193".equals(codeString)) + return V3ObservationMethod._0193; + if ("0194".equals(codeString)) + return V3ObservationMethod._0194; + if ("0195".equals(codeString)) + return V3ObservationMethod._0195; + if ("0196".equals(codeString)) + return V3ObservationMethod._0196; + if ("0197".equals(codeString)) + return V3ObservationMethod._0197; + if ("0198".equals(codeString)) + return V3ObservationMethod._0198; + if ("0199".equals(codeString)) + return V3ObservationMethod._0199; + if ("0200".equals(codeString)) + return V3ObservationMethod._0200; + if ("0201".equals(codeString)) + return V3ObservationMethod._0201; + if ("0202".equals(codeString)) + return V3ObservationMethod._0202; + if ("0203".equals(codeString)) + return V3ObservationMethod._0203; + if ("0204".equals(codeString)) + return V3ObservationMethod._0204; + if ("0205".equals(codeString)) + return V3ObservationMethod._0205; + if ("0206".equals(codeString)) + return V3ObservationMethod._0206; + if ("0207".equals(codeString)) + return V3ObservationMethod._0207; + if ("0208".equals(codeString)) + return V3ObservationMethod._0208; + if ("0209".equals(codeString)) + return V3ObservationMethod._0209; + if ("0210".equals(codeString)) + return V3ObservationMethod._0210; + if ("0211".equals(codeString)) + return V3ObservationMethod._0211; + if ("0212".equals(codeString)) + return V3ObservationMethod._0212; + if ("0213".equals(codeString)) + return V3ObservationMethod._0213; + if ("0214".equals(codeString)) + return V3ObservationMethod._0214; + if ("0215".equals(codeString)) + return V3ObservationMethod._0215; + if ("0216".equals(codeString)) + return V3ObservationMethod._0216; + if ("0217".equals(codeString)) + return V3ObservationMethod._0217; + if ("0218".equals(codeString)) + return V3ObservationMethod._0218; + if ("0219".equals(codeString)) + return V3ObservationMethod._0219; + if ("0220".equals(codeString)) + return V3ObservationMethod._0220; + if ("0221".equals(codeString)) + return V3ObservationMethod._0221; + if ("0222".equals(codeString)) + return V3ObservationMethod._0222; + if ("0223".equals(codeString)) + return V3ObservationMethod._0223; + if ("0224".equals(codeString)) + return V3ObservationMethod._0224; + if ("0225".equals(codeString)) + return V3ObservationMethod._0225; + if ("0226".equals(codeString)) + return V3ObservationMethod._0226; + if ("0227".equals(codeString)) + return V3ObservationMethod._0227; + if ("0228".equals(codeString)) + return V3ObservationMethod._0228; + if ("0229".equals(codeString)) + return V3ObservationMethod._0229; + if ("0230".equals(codeString)) + return V3ObservationMethod._0230; + if ("0231".equals(codeString)) + return V3ObservationMethod._0231; + if ("0232".equals(codeString)) + return V3ObservationMethod._0232; + if ("0233".equals(codeString)) + return V3ObservationMethod._0233; + if ("0234".equals(codeString)) + return V3ObservationMethod._0234; + if ("0235".equals(codeString)) + return V3ObservationMethod._0235; + if ("0236".equals(codeString)) + return V3ObservationMethod._0236; + if ("0237".equals(codeString)) + return V3ObservationMethod._0237; + if ("0238".equals(codeString)) + return V3ObservationMethod._0238; + if ("0239".equals(codeString)) + return V3ObservationMethod._0239; + if ("0243".equals(codeString)) + return V3ObservationMethod._0243; + if ("0244".equals(codeString)) + return V3ObservationMethod._0244; + if ("0247".equals(codeString)) + return V3ObservationMethod._0247; + if ("0248".equals(codeString)) + return V3ObservationMethod._0248; + if ("0249".equals(codeString)) + return V3ObservationMethod._0249; + if ("0250".equals(codeString)) + return V3ObservationMethod._0250; + if ("0251".equals(codeString)) + return V3ObservationMethod._0251; + if ("0252".equals(codeString)) + return V3ObservationMethod._0252; + if ("0253".equals(codeString)) + return V3ObservationMethod._0253; + if ("0254".equals(codeString)) + return V3ObservationMethod._0254; + if ("0255".equals(codeString)) + return V3ObservationMethod._0255; + if ("0256".equals(codeString)) + return V3ObservationMethod._0256; + if ("0257".equals(codeString)) + return V3ObservationMethod._0257; + if ("0258".equals(codeString)) + return V3ObservationMethod._0258; + if ("0259".equals(codeString)) + return V3ObservationMethod._0259; + if ("0260".equals(codeString)) + return V3ObservationMethod._0260; + if ("0261".equals(codeString)) + return V3ObservationMethod._0261; + if ("0262".equals(codeString)) + return V3ObservationMethod._0262; + if ("0263".equals(codeString)) + return V3ObservationMethod._0263; + if ("0264".equals(codeString)) + return V3ObservationMethod._0264; + if ("0265".equals(codeString)) + return V3ObservationMethod._0265; + if ("0266".equals(codeString)) + return V3ObservationMethod._0266; + if ("0267".equals(codeString)) + return V3ObservationMethod._0267; + if ("0268".equals(codeString)) + return V3ObservationMethod._0268; + if ("0269".equals(codeString)) + return V3ObservationMethod._0269; + if ("0270".equals(codeString)) + return V3ObservationMethod._0270; + if ("0271".equals(codeString)) + return V3ObservationMethod._0271; + if ("0280".equals(codeString)) + return V3ObservationMethod._0280; + if ("0240".equals(codeString)) + return V3ObservationMethod._0240; + if ("0241".equals(codeString)) + return V3ObservationMethod._0241; + if ("0242".equals(codeString)) + return V3ObservationMethod._0242; + if ("0272".equals(codeString)) + return V3ObservationMethod._0272; + if ("0245".equals(codeString)) + return V3ObservationMethod._0245; + if ("0246".equals(codeString)) + return V3ObservationMethod._0246; + if ("0273".equals(codeString)) + return V3ObservationMethod._0273; + if ("0274".equals(codeString)) + return V3ObservationMethod._0274; + if ("0275".equals(codeString)) + return V3ObservationMethod._0275; + if ("0275a".equals(codeString)) + return V3ObservationMethod._0275A; + if ("0276".equals(codeString)) + return V3ObservationMethod._0276; + if ("0277".equals(codeString)) + return V3ObservationMethod._0277; + if ("0278".equals(codeString)) + return V3ObservationMethod._0278; + if ("0279".equals(codeString)) + return V3ObservationMethod._0279; + throw new IllegalArgumentException("Unknown V3ObservationMethod code '"+codeString+"'"); + } + + public String toCode(V3ObservationMethod code) { + if (code == V3ObservationMethod._DECISIONOBSERVATIONMETHOD) + return "_DecisionObservationMethod"; + if (code == V3ObservationMethod.ALGM) + return "ALGM"; + if (code == V3ObservationMethod.BYCL) + return "BYCL"; + if (code == V3ObservationMethod.GINT) + return "GINT"; + if (code == V3ObservationMethod._GENETICOBSERVATIONMETHOD) + return "_GeneticObservationMethod"; + if (code == V3ObservationMethod.PCR) + return "PCR"; + if (code == V3ObservationMethod._OBSERVATIONMETHODAGGREGATE) + return "_ObservationMethodAggregate"; + if (code == V3ObservationMethod.AVERAGE) + return "AVERAGE"; + if (code == V3ObservationMethod.COUNT) + return "COUNT"; + if (code == V3ObservationMethod.MAX) + return "MAX"; + if (code == V3ObservationMethod.MEDIAN) + return "MEDIAN"; + if (code == V3ObservationMethod.MIN) + return "MIN"; + if (code == V3ObservationMethod.MODE) + return "MODE"; + if (code == V3ObservationMethod.STDEV_P) + return "STDEV.P"; + if (code == V3ObservationMethod.STDEV_S) + return "STDEV.S"; + if (code == V3ObservationMethod.SUM) + return "SUM"; + if (code == V3ObservationMethod.VARIANCE_P) + return "VARIANCE.P"; + if (code == V3ObservationMethod.VARIANCE_S) + return "VARIANCE.S"; + if (code == V3ObservationMethod._VERIFICATIONMETHOD) + return "_VerificationMethod"; + if (code == V3ObservationMethod.VDOC) + return "VDOC"; + if (code == V3ObservationMethod.VREG) + return "VREG"; + if (code == V3ObservationMethod.VTOKEN) + return "VTOKEN"; + if (code == V3ObservationMethod.VVOICE) + return "VVOICE"; + if (code == V3ObservationMethod._0001) + return "0001"; + if (code == V3ObservationMethod._0002) + return "0002"; + if (code == V3ObservationMethod._0003) + return "0003"; + if (code == V3ObservationMethod._0004) + return "0004"; + if (code == V3ObservationMethod._0005) + return "0005"; + if (code == V3ObservationMethod._0006) + return "0006"; + if (code == V3ObservationMethod._0007) + return "0007"; + if (code == V3ObservationMethod._0008) + return "0008"; + if (code == V3ObservationMethod._0009) + return "0009"; + if (code == V3ObservationMethod._0010) + return "0010"; + if (code == V3ObservationMethod._0011) + return "0011"; + if (code == V3ObservationMethod._0012) + return "0012"; + if (code == V3ObservationMethod._0013) + return "0013"; + if (code == V3ObservationMethod._0014) + return "0014"; + if (code == V3ObservationMethod._0015) + return "0015"; + if (code == V3ObservationMethod._0016) + return "0016"; + if (code == V3ObservationMethod._0017) + return "0017"; + if (code == V3ObservationMethod._0018) + return "0018"; + if (code == V3ObservationMethod._0019) + return "0019"; + if (code == V3ObservationMethod._0020) + return "0020"; + if (code == V3ObservationMethod._0021) + return "0021"; + if (code == V3ObservationMethod._0022) + return "0022"; + if (code == V3ObservationMethod._0023) + return "0023"; + if (code == V3ObservationMethod._0024) + return "0024"; + if (code == V3ObservationMethod._0025) + return "0025"; + if (code == V3ObservationMethod._0026) + return "0026"; + if (code == V3ObservationMethod._0027) + return "0027"; + if (code == V3ObservationMethod._0028) + return "0028"; + if (code == V3ObservationMethod._0029) + return "0029"; + if (code == V3ObservationMethod._0030) + return "0030"; + if (code == V3ObservationMethod._0031) + return "0031"; + if (code == V3ObservationMethod._0032) + return "0032"; + if (code == V3ObservationMethod._0033) + return "0033"; + if (code == V3ObservationMethod._0034) + return "0034"; + if (code == V3ObservationMethod._0035) + return "0035"; + if (code == V3ObservationMethod._0036) + return "0036"; + if (code == V3ObservationMethod._0037) + return "0037"; + if (code == V3ObservationMethod._0038) + return "0038"; + if (code == V3ObservationMethod._0039) + return "0039"; + if (code == V3ObservationMethod._0040) + return "0040"; + if (code == V3ObservationMethod._0041) + return "0041"; + if (code == V3ObservationMethod._0042) + return "0042"; + if (code == V3ObservationMethod._0043) + return "0043"; + if (code == V3ObservationMethod._0044) + return "0044"; + if (code == V3ObservationMethod._0045) + return "0045"; + if (code == V3ObservationMethod._0046) + return "0046"; + if (code == V3ObservationMethod._0047) + return "0047"; + if (code == V3ObservationMethod._0048) + return "0048"; + if (code == V3ObservationMethod._0049) + return "0049"; + if (code == V3ObservationMethod._0050) + return "0050"; + if (code == V3ObservationMethod._0051) + return "0051"; + if (code == V3ObservationMethod._0052) + return "0052"; + if (code == V3ObservationMethod._0053) + return "0053"; + if (code == V3ObservationMethod._0054) + return "0054"; + if (code == V3ObservationMethod._0055) + return "0055"; + if (code == V3ObservationMethod._0056) + return "0056"; + if (code == V3ObservationMethod._0057) + return "0057"; + if (code == V3ObservationMethod._0058) + return "0058"; + if (code == V3ObservationMethod._0059) + return "0059"; + if (code == V3ObservationMethod._0060) + return "0060"; + if (code == V3ObservationMethod._0061) + return "0061"; + if (code == V3ObservationMethod._0062) + return "0062"; + if (code == V3ObservationMethod._0063) + return "0063"; + if (code == V3ObservationMethod._0064) + return "0064"; + if (code == V3ObservationMethod._0065) + return "0065"; + if (code == V3ObservationMethod._0066) + return "0066"; + if (code == V3ObservationMethod._0067) + return "0067"; + if (code == V3ObservationMethod._0068) + return "0068"; + if (code == V3ObservationMethod._0069) + return "0069"; + if (code == V3ObservationMethod._0070) + return "0070"; + if (code == V3ObservationMethod._0071) + return "0071"; + if (code == V3ObservationMethod._0072) + return "0072"; + if (code == V3ObservationMethod._0073) + return "0073"; + if (code == V3ObservationMethod._0074) + return "0074"; + if (code == V3ObservationMethod._0075) + return "0075"; + if (code == V3ObservationMethod._0076) + return "0076"; + if (code == V3ObservationMethod._0077) + return "0077"; + if (code == V3ObservationMethod._0078) + return "0078"; + if (code == V3ObservationMethod._0079) + return "0079"; + if (code == V3ObservationMethod._0080) + return "0080"; + if (code == V3ObservationMethod._0081) + return "0081"; + if (code == V3ObservationMethod._0082) + return "0082"; + if (code == V3ObservationMethod._0083) + return "0083"; + if (code == V3ObservationMethod._0084) + return "0084"; + if (code == V3ObservationMethod._0085) + return "0085"; + if (code == V3ObservationMethod._0086) + return "0086"; + if (code == V3ObservationMethod._0087) + return "0087"; + if (code == V3ObservationMethod._0088) + return "0088"; + if (code == V3ObservationMethod._0089) + return "0089"; + if (code == V3ObservationMethod._0090) + return "0090"; + if (code == V3ObservationMethod._0091) + return "0091"; + if (code == V3ObservationMethod._0092) + return "0092"; + if (code == V3ObservationMethod._0093) + return "0093"; + if (code == V3ObservationMethod._0094) + return "0094"; + if (code == V3ObservationMethod._0095) + return "0095"; + if (code == V3ObservationMethod._0096) + return "0096"; + if (code == V3ObservationMethod._0097) + return "0097"; + if (code == V3ObservationMethod._0098) + return "0098"; + if (code == V3ObservationMethod._0099) + return "0099"; + if (code == V3ObservationMethod._0100) + return "0100"; + if (code == V3ObservationMethod._0101) + return "0101"; + if (code == V3ObservationMethod._0102) + return "0102"; + if (code == V3ObservationMethod._0103) + return "0103"; + if (code == V3ObservationMethod._0104) + return "0104"; + if (code == V3ObservationMethod._0105) + return "0105"; + if (code == V3ObservationMethod._0106) + return "0106"; + if (code == V3ObservationMethod._0107) + return "0107"; + if (code == V3ObservationMethod._0108) + return "0108"; + if (code == V3ObservationMethod._0109) + return "0109"; + if (code == V3ObservationMethod._0110) + return "0110"; + if (code == V3ObservationMethod._0111) + return "0111"; + if (code == V3ObservationMethod._0112) + return "0112"; + if (code == V3ObservationMethod._0113) + return "0113"; + if (code == V3ObservationMethod._0114) + return "0114"; + if (code == V3ObservationMethod._0115) + return "0115"; + if (code == V3ObservationMethod._0116) + return "0116"; + if (code == V3ObservationMethod._0117) + return "0117"; + if (code == V3ObservationMethod._0118) + return "0118"; + if (code == V3ObservationMethod._0119) + return "0119"; + if (code == V3ObservationMethod._0120) + return "0120"; + if (code == V3ObservationMethod._0121) + return "0121"; + if (code == V3ObservationMethod._0122) + return "0122"; + if (code == V3ObservationMethod._0123) + return "0123"; + if (code == V3ObservationMethod._0124) + return "0124"; + if (code == V3ObservationMethod._0125) + return "0125"; + if (code == V3ObservationMethod._0126) + return "0126"; + if (code == V3ObservationMethod._0128) + return "0128"; + if (code == V3ObservationMethod._0129) + return "0129"; + if (code == V3ObservationMethod._0130) + return "0130"; + if (code == V3ObservationMethod._0131) + return "0131"; + if (code == V3ObservationMethod._0132) + return "0132"; + if (code == V3ObservationMethod._0133) + return "0133"; + if (code == V3ObservationMethod._0134) + return "0134"; + if (code == V3ObservationMethod._0135) + return "0135"; + if (code == V3ObservationMethod._0136) + return "0136"; + if (code == V3ObservationMethod._0137) + return "0137"; + if (code == V3ObservationMethod._0138) + return "0138"; + if (code == V3ObservationMethod._0139) + return "0139"; + if (code == V3ObservationMethod._0140) + return "0140"; + if (code == V3ObservationMethod._0141) + return "0141"; + if (code == V3ObservationMethod._0142) + return "0142"; + if (code == V3ObservationMethod._0143) + return "0143"; + if (code == V3ObservationMethod._0144) + return "0144"; + if (code == V3ObservationMethod._0145) + return "0145"; + if (code == V3ObservationMethod._0146) + return "0146"; + if (code == V3ObservationMethod._0147) + return "0147"; + if (code == V3ObservationMethod._0148) + return "0148"; + if (code == V3ObservationMethod._0149) + return "0149"; + if (code == V3ObservationMethod._0150) + return "0150"; + if (code == V3ObservationMethod._0151) + return "0151"; + if (code == V3ObservationMethod._0152) + return "0152"; + if (code == V3ObservationMethod._0153) + return "0153"; + if (code == V3ObservationMethod._0154) + return "0154"; + if (code == V3ObservationMethod._0155) + return "0155"; + if (code == V3ObservationMethod._0156) + return "0156"; + if (code == V3ObservationMethod._0157) + return "0157"; + if (code == V3ObservationMethod._0158) + return "0158"; + if (code == V3ObservationMethod._0159) + return "0159"; + if (code == V3ObservationMethod._0160) + return "0160"; + if (code == V3ObservationMethod._0161) + return "0161"; + if (code == V3ObservationMethod._0162) + return "0162"; + if (code == V3ObservationMethod._0163) + return "0163"; + if (code == V3ObservationMethod._0164) + return "0164"; + if (code == V3ObservationMethod._0165) + return "0165"; + if (code == V3ObservationMethod._0166) + return "0166"; + if (code == V3ObservationMethod._0167) + return "0167"; + if (code == V3ObservationMethod._0168) + return "0168"; + if (code == V3ObservationMethod._0169) + return "0169"; + if (code == V3ObservationMethod._0170) + return "0170"; + if (code == V3ObservationMethod._0171) + return "0171"; + if (code == V3ObservationMethod._0172) + return "0172"; + if (code == V3ObservationMethod._0173) + return "0173"; + if (code == V3ObservationMethod._0174) + return "0174"; + if (code == V3ObservationMethod._0175) + return "0175"; + if (code == V3ObservationMethod._0176) + return "0176"; + if (code == V3ObservationMethod._0177) + return "0177"; + if (code == V3ObservationMethod._0178) + return "0178"; + if (code == V3ObservationMethod._0179) + return "0179"; + if (code == V3ObservationMethod._0180) + return "0180"; + if (code == V3ObservationMethod._0181) + return "0181"; + if (code == V3ObservationMethod._0182) + return "0182"; + if (code == V3ObservationMethod._0183) + return "0183"; + if (code == V3ObservationMethod._0184) + return "0184"; + if (code == V3ObservationMethod._0185) + return "0185"; + if (code == V3ObservationMethod._0186) + return "0186"; + if (code == V3ObservationMethod._0187) + return "0187"; + if (code == V3ObservationMethod._0188) + return "0188"; + if (code == V3ObservationMethod._0189) + return "0189"; + if (code == V3ObservationMethod._0190) + return "0190"; + if (code == V3ObservationMethod._0191) + return "0191"; + if (code == V3ObservationMethod._0192) + return "0192"; + if (code == V3ObservationMethod._0193) + return "0193"; + if (code == V3ObservationMethod._0194) + return "0194"; + if (code == V3ObservationMethod._0195) + return "0195"; + if (code == V3ObservationMethod._0196) + return "0196"; + if (code == V3ObservationMethod._0197) + return "0197"; + if (code == V3ObservationMethod._0198) + return "0198"; + if (code == V3ObservationMethod._0199) + return "0199"; + if (code == V3ObservationMethod._0200) + return "0200"; + if (code == V3ObservationMethod._0201) + return "0201"; + if (code == V3ObservationMethod._0202) + return "0202"; + if (code == V3ObservationMethod._0203) + return "0203"; + if (code == V3ObservationMethod._0204) + return "0204"; + if (code == V3ObservationMethod._0205) + return "0205"; + if (code == V3ObservationMethod._0206) + return "0206"; + if (code == V3ObservationMethod._0207) + return "0207"; + if (code == V3ObservationMethod._0208) + return "0208"; + if (code == V3ObservationMethod._0209) + return "0209"; + if (code == V3ObservationMethod._0210) + return "0210"; + if (code == V3ObservationMethod._0211) + return "0211"; + if (code == V3ObservationMethod._0212) + return "0212"; + if (code == V3ObservationMethod._0213) + return "0213"; + if (code == V3ObservationMethod._0214) + return "0214"; + if (code == V3ObservationMethod._0215) + return "0215"; + if (code == V3ObservationMethod._0216) + return "0216"; + if (code == V3ObservationMethod._0217) + return "0217"; + if (code == V3ObservationMethod._0218) + return "0218"; + if (code == V3ObservationMethod._0219) + return "0219"; + if (code == V3ObservationMethod._0220) + return "0220"; + if (code == V3ObservationMethod._0221) + return "0221"; + if (code == V3ObservationMethod._0222) + return "0222"; + if (code == V3ObservationMethod._0223) + return "0223"; + if (code == V3ObservationMethod._0224) + return "0224"; + if (code == V3ObservationMethod._0225) + return "0225"; + if (code == V3ObservationMethod._0226) + return "0226"; + if (code == V3ObservationMethod._0227) + return "0227"; + if (code == V3ObservationMethod._0228) + return "0228"; + if (code == V3ObservationMethod._0229) + return "0229"; + if (code == V3ObservationMethod._0230) + return "0230"; + if (code == V3ObservationMethod._0231) + return "0231"; + if (code == V3ObservationMethod._0232) + return "0232"; + if (code == V3ObservationMethod._0233) + return "0233"; + if (code == V3ObservationMethod._0234) + return "0234"; + if (code == V3ObservationMethod._0235) + return "0235"; + if (code == V3ObservationMethod._0236) + return "0236"; + if (code == V3ObservationMethod._0237) + return "0237"; + if (code == V3ObservationMethod._0238) + return "0238"; + if (code == V3ObservationMethod._0239) + return "0239"; + if (code == V3ObservationMethod._0243) + return "0243"; + if (code == V3ObservationMethod._0244) + return "0244"; + if (code == V3ObservationMethod._0247) + return "0247"; + if (code == V3ObservationMethod._0248) + return "0248"; + if (code == V3ObservationMethod._0249) + return "0249"; + if (code == V3ObservationMethod._0250) + return "0250"; + if (code == V3ObservationMethod._0251) + return "0251"; + if (code == V3ObservationMethod._0252) + return "0252"; + if (code == V3ObservationMethod._0253) + return "0253"; + if (code == V3ObservationMethod._0254) + return "0254"; + if (code == V3ObservationMethod._0255) + return "0255"; + if (code == V3ObservationMethod._0256) + return "0256"; + if (code == V3ObservationMethod._0257) + return "0257"; + if (code == V3ObservationMethod._0258) + return "0258"; + if (code == V3ObservationMethod._0259) + return "0259"; + if (code == V3ObservationMethod._0260) + return "0260"; + if (code == V3ObservationMethod._0261) + return "0261"; + if (code == V3ObservationMethod._0262) + return "0262"; + if (code == V3ObservationMethod._0263) + return "0263"; + if (code == V3ObservationMethod._0264) + return "0264"; + if (code == V3ObservationMethod._0265) + return "0265"; + if (code == V3ObservationMethod._0266) + return "0266"; + if (code == V3ObservationMethod._0267) + return "0267"; + if (code == V3ObservationMethod._0268) + return "0268"; + if (code == V3ObservationMethod._0269) + return "0269"; + if (code == V3ObservationMethod._0270) + return "0270"; + if (code == V3ObservationMethod._0271) + return "0271"; + if (code == V3ObservationMethod._0280) + return "0280"; + if (code == V3ObservationMethod._0240) + return "0240"; + if (code == V3ObservationMethod._0241) + return "0241"; + if (code == V3ObservationMethod._0242) + return "0242"; + if (code == V3ObservationMethod._0272) + return "0272"; + if (code == V3ObservationMethod._0245) + return "0245"; + if (code == V3ObservationMethod._0246) + return "0246"; + if (code == V3ObservationMethod._0273) + return "0273"; + if (code == V3ObservationMethod._0274) + return "0274"; + if (code == V3ObservationMethod._0275) + return "0275"; + if (code == V3ObservationMethod._0275A) + return "0275a"; + if (code == V3ObservationMethod._0276) + return "0276"; + if (code == V3ObservationMethod._0277) + return "0277"; + if (code == V3ObservationMethod._0278) + return "0278"; + if (code == V3ObservationMethod._0279) + return "0279"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValue.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValue.java new file mode 100644 index 00000000000..55cae3a0369 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValue.java @@ -0,0 +1,2165 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ObservationValue { + + /** + * Codes specify the category of observation, evidence, or document used to assess for services, e.g., discharge planning, or to establish eligibility for coverage under a policy or program. The type of evidence is coded as observation values. + */ + _ACTCOVERAGEASSESSMENTOBSERVATIONVALUE, + /** + * Code specifying financial indicators used to assess or establish eligibility for coverage under a policy or program; e.g., pay stub; tax or income document; asset document; living expenses. + */ + _ACTFINANCIALSTATUSOBSERVATIONVALUE, + /** + * Codes specifying asset indicators used to assess or establish eligibility for coverage under a policy or program. + */ + ASSET, + /** + * Indicator of annuity ownership or status as beneficiary. + */ + ANNUITY, + /** + * Indicator of real property ownership, e.g., deed or real estate contract. + */ + PROP, + /** + * Indicator of retirement investment account ownership. + */ + RETACCT, + /** + * Indicator of status as trust beneficiary. + */ + TRUST, + /** + * Code specifying income indicators used to assess or establish eligibility for coverage under a policy or program; e.g., pay or pension check, child support payments received or provided, and taxes paid. + */ + INCOME, + /** + * Indicator of child support payments received or provided. + */ + CHILD, + /** + * Indicator of disability income replacement payment. + */ + DISABL, + /** + * Indicator of investment income, e.g., dividend check, annuity payment; real estate rent, investment divestiture proceeds; trust or endowment check. + */ + INVEST, + /** + * Indicator of paid employment, e.g., letter of hire, contract, employer letter; copy of pay check or pay stub. + */ + PAY, + /** + * Indicator of retirement payment, e.g., pension check. + */ + RETIRE, + /** + * Indicator of spousal or partner support payments received or provided; e.g., alimony payment; support stipulations in a divorce settlement. + */ + SPOUSAL, + /** + * Indicator of income supplement, e.g., gifting, parental income support; stipend, or grant. + */ + SUPPLE, + /** + * Indicator of tax obligation or payment, e.g., statement of taxable income. + */ + TAX, + /** + * Codes specifying living expense indicators used to assess or establish eligibility for coverage under a policy or program. + */ + LIVEXP, + /** + * Indicator of clothing expenses. + */ + CLOTH, + /** + * Indicator of transportation expenses. + */ + FOOD, + /** + * Indicator of health expenses; including medication costs, health service costs, financial participations, and health coverage premiums. + */ + HEALTH, + /** + * Indicator of housing expense, e.g., household appliances, fixtures, furnishings, and maintenance and repairs. + */ + HOUSE, + /** + * Indicator of legal expenses. + */ + LEGAL, + /** + * Indicator of mortgage amount, interest, and payments. + */ + MORTG, + /** + * Indicator of rental or lease payments. + */ + RENT, + /** + * Indicator of transportation expenses. + */ + SUNDRY, + /** + * Indicator of transportation expenses, e.g., vehicle payments, vehicle insurance, vehicle fuel, and vehicle maintenance and repairs. + */ + TRANS, + /** + * Indicator of transportation expenses. + */ + UTIL, + /** + * Code specifying eligibility indicators used to assess or establish eligibility for coverage under a policy or program eligibility status, e.g., certificates of creditable coverage; student enrollment; adoption, marriage or birth certificate. + */ + ELSTAT, + /** + * Indicator of adoption. + */ + ADOPT, + /** + * Indicator of birth. + */ + BTHCERT, + /** + * Indicator of creditable coverage. + */ + CCOC, + /** + * Indicator of driving status. + */ + DRLIC, + /** + * Indicator of foster child status. + */ + FOSTER, + /** + * Indicator of status as covered member under a policy or program, e.g., member id card or coverage document. + */ + MEMBER, + /** + * Indicator of military status. + */ + MIL, + /** + * Indicator of marriage status. + */ + MRGCERT, + /** + * Indicator of citizenship. + */ + PASSPORT, + /** + * Indicator of student status. + */ + STUDENRL, + /** + * Code specifying non-clinical indicators related to health status used to assess or establish eligibility for coverage under a policy or program, e.g., pregnancy, disability, drug use, mental health issues. + */ + HLSTAT, + /** + * Indication of disability. + */ + DISABLE, + /** + * Indication of drug use. + */ + DRUG, + /** + * Indication of IV drug use . + */ + IVDRG, + /** + * Non-clinical report of pregnancy. + */ + PGNT, + /** + * Code specifying observations related to living dependency, such as dependent upon spouse for activities of daily living. + */ + LIVDEP, + /** + * Continued living in private residence requires functional and health care assistance from one or more relatives. + */ + RELDEP, + /** + * Continued living in private residence requires functional and health care assistance from spouse or life partner. + */ + SPSDEP, + /** + * Continued living in private residence requires functional and health care assistance from one or more unrelated persons. + */ + URELDEP, + /** + * Code specifying observations related to living situation for a person in a private residence. + */ + LIVSIT, + /** + * Living alone. Maps to PD1-2 Living arrangement (IS) 00742 [A] + */ + ALONE, + /** + * Living with one or more dependent children requiring moderate supervision. + */ + DEPCHD, + /** + * Living with disabled spouse requiring functional and health care assistance + */ + DEPSPS, + /** + * Living with one or more dependent children requiring intensive supervision + */ + DEPYGCHD, + /** + * Living with family. Maps to PD1-2 Living arrangement (IS) 00742 [F] + */ + FAM, + /** + * Living with one or more relatives. Maps to PD1-2 Living arrangement (IS) 00742 [R] + */ + RELAT, + /** + * Living only with spouse or life partner. Maps to PD1-2 Living arrangement (IS) 00742 [S] + */ + SPS, + /** + * Living with one or more unrelated persons. + */ + UNREL, + /** + * Code specifying observations or indicators related to socio-economic status used to assess to assess for services, e.g., discharge planning, or to establish eligibility for coverage under a policy or program. + */ + SOECSTAT, + /** + * Indication of abuse victim. + */ + ABUSE, + /** + * Indication of status as homeless. + */ + HMLESS, + /** + * Indication of status as illegal immigrant. + */ + ILGIM, + /** + * Indication of status as incarcerated. + */ + INCAR, + /** + * Indication of probation status. + */ + PROB, + /** + * Indication of refugee status. + */ + REFUG, + /** + * Indication of unemployed status. + */ + UNEMPL, + /** + * Indicates the result of a particular allergy test. E.g. Negative, Mild, Moderate, Severe + */ + _ALLERGYTESTVALUE, + /** + * Description:Patient exhibits no reaction to the challenge agent. + */ + A0, + /** + * Description:Patient exhibits a minimal reaction to the challenge agent. + */ + A1, + /** + * Description:Patient exhibits a mild reaction to the challenge agent. + */ + A2, + /** + * Description:Patient exhibits moderate reaction to the challenge agent. + */ + A3, + /** + * Description:Patient exhibits a severe reaction to the challenge agent. + */ + A4, + /** + * Description:Coded observation values for coverage limitations, for e.g., types of claims or types of parties covered under a policy or program. + */ + _COVERAGELIMITOBSERVATIONVALUE, + /** + * Description:Coded observation values for types of covered parties under a policy or program based on their personal relationships or employment status. + */ + _COVERAGELEVELOBSERVATIONVALUE, + /** + * Description:Child over an age as specified by coverage policy or program, e.g., student, differently abled, and income dependent. + */ + ADC, + /** + * Description:Dependent biological, adopted, foster child as specified by coverage policy or program. + */ + CHD, + /** + * Description:Person requiring functional and/or financial assistance from another person as specified by coverage policy or program. + */ + DEP, + /** + * Description:Persons registered as a family unit in a domestic partner registry as specified by law and by coverage policy or program. + */ + DP, + /** + * Description:An individual employed by an employer who receive remuneration in wages, salary, commission, tips, piece-rates, or pay-in-kind through the employeraTMs payment system (i.e., not a contractor) as specified by coverage policy or program. + */ + ECH, + /** + * Description:As specified by coverage policy or program. + */ + FLY, + /** + * Description:Person as specified by coverage policy or program. + */ + IND, + /** + * Description:A pair of people of the same gender who live together as a family as specified by coverage policy or program, e.g., Naomi and Ruth from the Book of Ruth; Socrates and Alcibiades + */ + SSP, + /** + * Description: The domain contains genetic analysis specific observation values, e.g. Homozygote, Heterozygote, etc. + */ + _GENETICOBSERVATIONVALUE, + /** + * Description: An individual having different alleles at one or more loci regarding a specific character + */ + HOMOZYGOTE, + /** + * Observation values used to indicate the type of scoring (e.g. proportion, ratio) used by a health quality measure. + */ + _OBSERVATIONMEASURESCORING, + /** + * A measure in which either short-term cross-section or long-term longitudinal analysis is performed over a group of subjects defined by a set of common properties or defining characteristics (e.g., Male smokers between the ages of 40 and 50 years, exposure to treatment, exposure duration). + */ + COHORT, + /** + * A measure score in which each individual value for the measure can fall anywhere along a continuous scale (e.g., mean time to thrombolytics which aggregates the time in minutes from a case presenting with chest pain to the time of administration of thrombolytics). + */ + CONTVAR, + /** + * A score derived by dividing the number of cases that meet a criterion for quality (the numerator) by the number of eligible cases within a given time frame (the denominator) where the numerator cases are a subset of the denominator cases (e.g., percentage of eligible women with a mammogram performed in the last year). + */ + PROPOR, + /** + * A score that may have a value of zero or greater that is derived by dividing a count of one type of data by a count of another type of data (e.g., the number of patients with central lines who develop infection divided by the number of central line days). + */ + RATIO, + /** + * Observation values used to indicate what kind of health quality measure is used. + */ + _OBSERVATIONMEASURETYPE, + /** + * A measure that is composed from one or more other measures and indicates an overall summary of those measures. + */ + COMPOSITE, + /** + * A measure related to the efficiency of medical treatment. + */ + EFFICIENCY, + /** + * A measure related to the level of patient engagement or patient experience of care. + */ + EXPERIENCE, + /** + * A measure that indicates the result of the performance (or non-performance) of a function or process. + */ + OUTCOME, + /** + * A measure which focuses on a process which leads to a certain outcome, meaning that a scientific basis exists for believing that the process, when executed well, will increase the probability of achieving a desired outcome. + */ + PROCESS, + /** + * A measure related to the extent of use of clinical resources or cost of care. + */ + RESOURCE, + /** + * A measure related to the structure of patient care. + */ + STRUCTURE, + /** + * Observation values used to assert various populations that a subject falls into. + */ + _OBSERVATIONPOPULATIONINCLUSION, + /** + * Patients who should be removed from the eMeasure population and denominator before determining if numerator criteria are met. Denominator exclusions are used in proportion and ratio measures to help narrow the denominator. + */ + DENEX, + /** + * Denominator exceptions are those conditions that should remove a patient, procedure or unit of measurement from the denominator only if the numerator criteria are not met. Denominator exceptions allow for adjustment of the calculated score for those providers with higher risk populations. Denominator exceptions are used only in proportion eMeasures. They are not appropriate for ratio or continuous variable eMeasures. Denominator exceptions allow for the exercise of clinical judgment and should be specifically defined where capturing the information in a structured manner fits the clinical workflow. Generic denominator exception reasons used in proportion eMeasures fall into three general categories: + + + Medical reasons + Patient reasons + System reasons + */ + DENEXCEP, + /** + * It can be the same as the initial patient population or a subset of the initial patient population to further constrain the population for the purpose of the eMeasure. Different measures within an eMeasure set may have different Denominators. Continuous Variable eMeasures do not have a Denominator, but instead define a Measure Population. + */ + DENOM, + /** + * The initial population refers to all entities to be evaluated by a specific quality measure who share a common set of specified characteristics within a specific measurement set to which a given measure belongs. + */ + IP, + /** + * The initial patient population refers to all patients to be evaluated by a specific quality measure who share a common set of specified characteristics within a specific measurement set to which a given measure belongs. Details often include information based upon specific age groups, diagnoses, diagnostic and procedure codes, and enrollment periods. + */ + IPP, + /** + * Measure population is used only in continuous variable eMeasures. It is a narrative description of the eMeasure population. +(e.g., all patients seen in the Emergency Department during the measurement period). + */ + MSRPOPL, + /** + * Numerators are used in proportion and ratio eMeasures. In proportion measures the numerator criteria are the processes or outcomes expected for each patient, procedure, or other unit of measurement defined in the denominator. In ratio measures the numerator is related, but not directly derived from the denominator (e.g., a numerator listing the number of central line blood stream infections and a denominator indicating the days per thousand of central line usage in a specific time period). + */ + NUMER, + /** + * Numerator Exclusions are used only in ratio eMeasures to define instances that should not be included in the numerator data. (e.g., if the number of central line blood stream infections per 1000 catheter days were to exclude infections with a specific bacterium, that bacterium would be listed as a numerator exclusion.) + */ + NUMEX, + /** + * PartialCompletionScale + */ + _PARTIALCOMPLETIONSCALE, + /** + * Value for Act.partialCompletionCode attribute that implies 81-99% completion + */ + G, + /** + * Value for Act.partialCompletionCode attribute that implies 61-80% completion + */ + LE, + /** + * Value for Act.partialCompletionCode attribute that implies 41-60% completion + */ + ME, + /** + * Value for Act.partialCompletionCode attribute that implies 1-20% completion + */ + MI, + /** + * Value for Act.partialCompletionCode attribute that implies 0% completion + */ + N, + /** + * Value for Act.partialCompletionCode attribute that implies 21-40% completion + */ + S, + /** + * Observation values used to indicate security observation metadata. + */ + _SECURITYOBSERVATIONVALUE, + /** + * Abstract security observation values used to indicate security integrity metadata. + + + Examples: Codes conveying integrity status, integrity confidence, and provenance. + */ + _SECINTOBV, + /** + * Abstract security metadata observation values used to indicate mechanism used for authorized alteration of an IT resource (data, information object, service, or system capability) while preserving the integrity of the resource for authorized users. + + + Examples: Codes conveying the mechanism used to make authorized alterations of an IT resource, such as: + + + translation + masking + anonymization + */ + _SECALTINTOBV, + /** + * Security metadata observation values used to indicate the use of a more abstract version of the content, e.g., replacing exact value of an age or date field with a range, or remove the left digits of a credit card number or SSN. + */ + ABSTRED, + /** + * Security metadata observation values used to indicate the use of an algorithmic combination of actual values with the result of an aggregate function, e.g., average, sum, or count in order to limit disclosure of an IT resource (data, information object, service, or system capability) to the minimum necessary. + */ + AGGRED, + /** + * Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability) by used to indicate the mechanism by which software systems can strip portions of the resource that could allow the identification of the source of the information or the information subject. No key to relink the data is retained. + */ + ANONYED, + /** + * Security metadata observation value used to indicate that the IT resource semantic content has been transformed from one encoding to another. + + + Usage Note: "MAP" code does not indicate the semantic fidelity of the transformed content. + + To indicate semantic fidelity for maps of HL7 to other code systems, this security alteration integrity observation may be further specified using an Act valued with Value Set: MapRelationship (2.16.840.1.113883.1.11.11052). + + Semantic fidelity of the mapped IT Resource may also be indicated using a SecurityIntegrityConfidenceObservation. + */ + MAPPED, + /** + * Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability) by indicating the mechanism by which software systems can make data unintelligible (that is, as unreadable and unusable by algorithmically transforming plaintext into ciphertext) such that it can only be accessed or used by authorized users. An authorized user may be provided a key to decrypt per license or "shared secret". + + + Usage Note: "MASKED" may be used, per applicable policy, as a flag to indicate to a user or receiver that some portion of an IT resource has been further encrypted, and may be accessed only by an authorized user or receiver to which a decryption key is provided. + */ + MASKED, + /** + * Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability), by indicating the mechanism by which software systems can strip portions of the resource that could allow the identification of the source of the information or the information subject. Custodian may retain a key to relink data necessary to reidentify the information subject. + + + Rationale: Personal data which has been processed to make it impossible to know whose data it is. Used particularly for secondary use of health data. In some cases, it may be possible for authorized individuals to restore the identity of the individual, e.g.,for public health case management. Based on ISO/TS 25237:2008 Health informatics—Pseudonymization + */ + PSEUDED, + /** + * Security metadata observation value used to indicate the mechanism by which software systems can filter an IT resource (data, information object, service, or system capability) to remove any portion of the resource that is not authorized to be access, used, or disclosed. + + + Usage Note: "REDACTED" may be used, per applicable policy, as a flag to indicate to a user or receiver that some portion of an IT resource has filtered and not included in the content accessed or received. + */ + REDACTED, + /** + * Security metadata observation value used to indicate that the IT resource syntax has been transformed from one syntactical representation to another. + + + Usage Note: "SYNTAC" code does not indicate the syntactical correctness of the syntactically transformed IT resource. + */ + SYNTAC, + /** + * Security metadata observation value used to indicate that the IT resource has been translated from one human language to another. + + + Usage Note: "TRSLT" does not indicate the fidelity of the translation or the languages translated. + + The fidelity of the IT Resource translation may be indicated using a SecurityIntegrityConfidenceObservation. + + To indicate languages, use the Value Set:HumanLanguage (2.16.840.1.113883.1.11.11526) + */ + TRSLT, + /** + * Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability) which indicates that the resource only retains versions of an IT resource for access and use per applicable policy + + + Usage Note: When this code is used, expectation is that the system has removed historical versions of the data that falls outside the time period deemed to be the effective time of the applicable version. + */ + VERSIONED, + /** + * Abstract security observation values used to indicate data integrity metadata. + + + Examples: Codes conveying the mechanism used to preserve the accuracy and consistency of an IT resource such as a digital signature and a cryptographic hash function. + */ + _SECDATINTOBV, + /** + * Security metadata observation value used to indicate the mechanism by which software systems can establish that data was not modified in transit. + + + Rationale: This definition is intended to align with the ISO 22600-2 3.3.19 definition of cryptographic checkvalue: Information which is derived by performing a cryptographic transformation (see cryptography) on the data unit. The derivation of the checkvalue may be performed in one or more steps and is a result of a mathematical function of the key and a data unit. It is usually used to check the integrity of a data unit. + + + Examples: + + + + SHA-1 + SHA-2 (Secure Hash Algorithm) + */ + CRYTOHASH, + /** + * Security metadata observation value used to indicate the mechanism by which software systems use digital signature to establish that data has not been modified. + + + Rationale: This definition is intended to align with the ISO 22600-2 3.3.26 definition of digital signature: Data appended to, or a cryptographic transformation (see cryptography) of, a data unit that allows a recipient of the data unit to prove the source and integrity of the data unit and protect against forgery e.g., by the recipient. + */ + DIGSIG, + /** + * Abstract security observation value used to indicate integrity confidence metadata. + + + Examples: Codes conveying the level of reliability and trustworthiness of an IT resource. + */ + _SECINTCONOBV, + /** + * Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be very high. + */ + HRELIABLE, + /** + * Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be adequate. + */ + RELIABLE, + /** + * Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be uncertain. + */ + UNCERTREL, + /** + * Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be inadequate. + */ + UNRELIABLE, + /** + * Abstract security metadata observation value used to indicate the provenance of an IT resource (data, information object, service, or system capability). + + + Examples: Codes conveying the provenance metadata about the entity reporting an IT resource. + */ + _SECINTPRVOBV, + /** + * Abstract security provenance metadata observation value used to indicate the entity that asserted an IT resource (data, information object, service, or system capability). + + + Examples: Codes conveying the provenance metadata about the entity asserting the resource. + */ + _SECINTPRVABOBV, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a clinician. + */ + CLINAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a device. + */ + DEVAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a healthcare professional. + */ + HCPAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a patient acquaintance. + */ + PACQAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a patient. + */ + PATAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a payer. + */ + PAYAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a professional. + */ + PROAST, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a substitute decision maker. + */ + SDMAST, + /** + * Abstract security provenance metadata observation value used to indicate the entity that reported the resource (data, information object, service, or system capability). + + + Examples: Codes conveying the provenance metadata about the entity reporting an IT resource. + */ + _SECINTPRVRBOBV, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a clinician. + */ + CLINRPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a device. + */ + DEVRPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a healthcare professional. + */ + HCPRPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a patient acquaintance. + */ + PACQRPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a patient. + */ + PATRPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a payer. + */ + PAYRPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a professional. + */ + PRORPT, + /** + * Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a substitute decision maker. + */ + SDMRPT, + /** + * Observation value used to indicate aspects of trust applicable to an IT resource (data, information object, service, or system capability). + */ + SECTRSTOBV, + /** + * Values for security trust accreditation metadata observation made about the formal declaration by an authority or neutral third party that validates the technical, security, trust, and business practice conformance of Trust Agents to facilitate security, interoperability, and trust among participants within a security domain or trust framework. + */ + TRSTACCRDOBV, + /** + * Values for security trust agreement metadata observation made about privacy and security requirements with which a security domain must comply. [ISO IEC 10181-1] +[ISO IEC 10181-1] + */ + TRSTAGREOBV, + /** + * Values for security trust certificate metadata observation made about a set of security-relevant data issued by a security authority or trusted third party, together with security information which is used to provide the integrity and data origin authentication services for an IT resource (data, information object, service, or system capability). [Based on ISO IEC 10181-1] + + For example, a Certificate Policy (CP), which is a named set of rules that indicates the applicability of a certificate to a particular community and/or class of application with common security requirements. A particular Certificate Policy might indicate the applicability of a type of certificate to the authentication of electronic data interchange transactions for the trading of goods within a given price range. Another example is Cross Certification with Federal Bridge. + */ + TRSTCERTOBV, + /** + * Values for security trust assurance metadata observation made about the digital quality or reliability of a trust assertion, activity, capability, information exchange, mechanism, process, or protocol. + */ + TRSTLOAOBV, + /** + * The value assigned as the indicator of the digital quality or reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] + + For example, the degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] + */ + LOAAN, + /** + * Indicator of low digital quality or reliability of the digital reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] + + The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] + + Low authentication level of assurance indicates that the relying party may have little or no confidence in the asserted identity's validity. Level 1 requires little or no confidence in the asserted identity. No identity proofing is required at this level, but the authentication mechanism should provide some assurance that the same claimant is accessing the protected transaction or data. A wide range of available authentication technologies can be employed and any of the token methods of Levels 2, 3, or 4, including Personal Identification Numbers (PINs), may be used. To be authenticated, the claimant must prove control of the token through a secure authentication protocol. At Level 1, long-term shared authentication secrets may be revealed to verifiers. Assertions issued about claimants as a result of a successful authentication are either cryptographically authenticated by relying parties (using approved methods) or are obtained directly from a trusted party via a secure authentication protocol. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAN1, + /** + * Indicator of basic digital quality or reliability of the digital reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] + + The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] + + Basic authentication level of assurance indicates that the relying party may have some confidence in the asserted identity's validity. Level 2 requires confidence that the asserted identity is accurate. Level 2 provides for single-factor remote network authentication, including identity-proofing requirements for presentation of identifying materials or information. A wide range of available authentication technologies can be employed, including any of the token methods of Levels 3 or 4, as well as passwords. Successful authentication requires that the claimant prove through a secure authentication protocol that the claimant controls the token. Eavesdropper, replay, and online guessing attacks are prevented. +Long-term shared authentication secrets, if used, are never revealed to any party except the claimant and verifiers operated by the CSP; however, session (temporary) shared secrets may be provided to independent verifiers by the CSP. Approved cryptographic techniques are required. Assertions issued about claimants as a result of a successful authentication are either cryptographically authenticated by relying parties (using approved methods) or are obtained directly from a trusted party via a secure authentication protocol. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAN2, + /** + * Indicator of medium digital quality or reliability of the digital reliability of verification and validation of the process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] + + The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] + + Medium authentication level of assurance indicates that the relying party may have high confidence in the asserted identity's validity. Level 3 is appropriate for transactions that need high confidence in the accuracy of the asserted identity. Level 3 provides multifactor remote network authentication. At this level, identity-proofing procedures require verification of identifying materials and information. Authentication is based on proof of possession of a key or password through a cryptographic protocol. Cryptographic strength mechanisms should protect the primary authentication token (a cryptographic key) against compromise by the protocol threats, including eavesdropper, replay, online guessing, verifier impersonation, and man-in-the-middle attacks. A minimum of two authentication factors is required. Three kinds of tokens may be used: + + + "soft" cryptographic token, which has the key stored on a general-purpose computer, + "hard" cryptographic token, which has the key stored on a special hardware device, and + "one-time password" device token, which has symmetric key stored on a personal hardware device that is a cryptographic module validated at FIPS 140-2 Level 1 or higher. Validation testing of cryptographic modules and algorithms for conformance to Federal Information Processing Standard (FIPS) 140-2, Security Requirements for Cryptographic Modules, is managed by NIST. + + Authentication requires that the claimant prove control of the token through a secure authentication protocol. The token must be unlocked with a password or biometric representation, or a password must be used in a secure authentication protocol, to establish two-factor authentication. Long-term shared authentication secrets, if used, are never revealed to any party except the claimant and verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent verifiers by the CSP. Approved cryptographic techniques are used for all operations. Assertions issued about claimants as a result of a successful authentication are either cryptographically authenticated by relying parties (using approved methods) or are obtained directly from a trusted party via a secure authentication protocol. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAN3, + /** + * Indicator of high digital quality or reliability of the digital reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] + + The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] + + High authentication level of assurance indicates that the relying party may have very high confidence in the asserted identity's validity. Level 4 is for transactions that need very high confidence in the accuracy of the asserted identity. Level 4 provides the highest practical assurance of remote network authentication. Authentication is based on proof of possession of a key through a cryptographic protocol. This level is similar to Level 3 except that only “hard� cryptographic tokens are allowed, cryptographic module validation requirements are strengthened, and subsequent critical data transfers must be authenticated via a key that is bound to the authentication process. The token should be a hardware cryptographic module validated at FIPS 140-2 Level 2 or higher overall with at least FIPS 140-2 Level 3 physical security. This level requires a physical token, which cannot readily be copied, and operator authentication at Level 2 and higher, and ensures good, two-factor remote authentication. + + Level 4 requires strong cryptographic authentication of all parties and all sensitive data transfers between the parties. Either public key or symmetric key technology may be used. Authentication requires that the claimant prove through a secure authentication protocol that the claimant controls the token. Eavesdropper, replay, online guessing, verifier impersonation, and man-in-the-middle attacks are prevented. Long-term shared authentication secrets, if used, are never revealed to any party except the claimant and verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent verifiers by the CSP. Strong approved cryptographic techniques are used for all operations. All sensitive data transfers are cryptographically authenticated using keys bound to the authentication process. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAN4, + /** + * The value assigned as the indicator of the digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2] + */ + LOAAP, + /** + * Indicator of the low digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2] + + Low authentication process level of assurance indicates that (1) long-term shared authentication secrets may be revealed to verifiers; and (2) assertions and assertion references require protection from manufacture/modification and reuse attacks. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAP1, + /** + * Indicator of the basic digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2] + + Basic authentication process level of assurance indicates that long-term shared authentication secrets are never revealed to any other party except Credential Service Provider (CSP). Sessions (temporary) shared secrets may be provided to independent verifiers by CSP. Long-term shared authentication secrets, if used, are never revealed to any other party except Verifiers operated by the Credential Service Provider (CSP); however, session (temporary) shared secrets may be provided to independent Verifiers by the CSP. In addition to Level 1 requirements, assertions are resistant to disclosure, redirection, capture and substitution attacks. Approved cryptographic techniques are required. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAP2, + /** + * Indicator of the medium digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2] + + Medium authentication process level of assurance indicates that the token can be unlocked with password, biometric, or uses a secure multi-token authentication protocol to establish two-factor authentication. Long-term shared authentication secrets are never revealed to any party except the Claimant and Credential Service Provider (CSP). + + Authentication requires that the Claimant prove, through a secure authentication protocol, that he or she controls the token. The Claimant unlocks the token with a password or biometric, or uses a secure multi-token authentication protocol to establish two-factor authentication (through proof of possession of a physical or software token in combination with some memorized secret knowledge). Long-term shared authentication secrets, if used, are never revealed to any party except the Claimant and Verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent Verifiers by the CSP. In addition to Level 2 requirements, assertions are protected against repudiation by the Verifier. + */ + LOAAP3, + /** + * Indicator of the high digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2] + + High authentication process level of assurance indicates all sensitive data transfer are cryptographically authenticated using keys bound to the authentication process. Level 4 requires strong cryptographic authentication of all communicating parties and all sensitive data transfers between the parties. Either public key or symmetric key technology may be used. Authentication requires that the Claimant prove through a secure authentication protocol that he or she controls the token. All protocol threats at Level 3 are required to be prevented at Level 4. Protocols shall also be strongly resistant to man-in-the-middle attacks. Long-term shared authentication secrets, if used, are never revealed to any party except the Claimant and Verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent Verifiers by the CSP. Approved cryptographic techniques are used for all operations. All sensitive data transfers are cryptographically authenticated using keys bound to the authentication process. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAP4, + /** + * The value assigned as the indicator of the high quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes. + */ + LOAAS, + /** + * Indicator of the low quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes. + + Assertions and assertion references require protection from modification and reuse attacks. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAS1, + /** + * Indicator of the basic quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes. + + Assertions are resistant to disclosure, redirection, capture and substitution attacks. Approved cryptographic techniques are required for all assertion protocols. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAS2, + /** + * Indicator of the medium quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes. + + Assertions are protected against repudiation by the verifier. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAS3, + /** + * Indicator of the high quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes. + + Strongly resistant to man-in-the-middle attacks. "Bearer" assertions are not used. "Holder-of-key" assertions may be used. RP maintains records of the assertions. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.] + */ + LOAAS4, + /** + * Indicator of the digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and its binding to an identity. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOACM, + /** + * Indicator of the low digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and its binding to an identity. Little or no confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include weak identity binding to tokens and plaintext passwords or secrets not transmitted across a network. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOACM1, + /** + * Indicator of the basic digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and its binding to an identity. Some confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include: Verification must prove claimant controls the token; token resists online guessing, replay, session hijacking, and eavesdropping attacks; and token is at least weakly resistant to man-in-the middle attacks. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOACM2, + /** + * Indicator of the medium digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and it’s binding to an identity. High confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include: Ownership of token verifiable through security authentication protocol and credential management protects against verifier impersonation attacks. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOACM3, + /** + * Indicator of the high digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and it’s binding to an identity. Very high confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include: Verifier can prove control of token through a secure protocol; credential management supports strong cryptographic authentication of all communication parties. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOACM4, + /** + * Indicator of the quality or reliability in the process of ascertaining that an individual is who he or she claims to be. + */ + LOAID, + /** + * Indicator of low digital quality or reliability in the process of ascertaining that an individual is who he or she claims to be. Requires that a continuity of identity be maintained but does not require identity proofing. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOAID1, + /** + * Indicator of some digital quality or reliability in the process of ascertaining that that an individual is who he or she claims to be. Requires identity proofing via presentation of identifying material or information. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOAID2, + /** + * Indicator of high digital quality or reliability in the process of ascertaining that an individual is who he or she claims to be. Requires identity proofing procedures for verification of identifying materials and information. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOAID3, + /** + * Indicator of high digital quality or reliability in the process of ascertaining that an individual is who he or she claims to be. Requires identity proofing procedures for verification of identifying materials and information. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOAID4, + /** + * Indicator of the digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2] + */ + LOANR, + /** + * Indicator of low digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2] + */ + LOANR1, + /** + * Indicator of basic digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2] + */ + LOANR2, + /** + * Indicator of medium digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2] + */ + LOANR3, + /** + * Indicator of high digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2] + */ + LOANR4, + /** + * Indicator of the digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2] + */ + LOARA, + /** + * Indicator of low digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2] + */ + LOARA1, + /** + * Indicator of basic digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2] + */ + LOARA2, + /** + * Indicator of medium digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2] + */ + LOARA3, + /** + * Indicator of high digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization's security controls. [Based on NIST SP 800-63-2] + */ + LOARA4, + /** + * Indicator of the digital quality or reliability of single and multi-token authentication. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOATK, + /** + * Indicator of the low digital quality or reliability of single and multi-token authentication. Permits the use of any of the token methods of Levels 2, 3, or 4. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOATK1, + /** + * Indicator of the basic digital quality or reliability of single and multi-token authentication. Requires single factor authentication using memorized secret tokens, pre-registered knowledge tokens, look-up secret tokens, out of band tokens, or single factor one-time password devices. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOATK2, + /** + * Indicator of the medium digital quality or reliability of single and multi-token authentication. Requires two authentication factors. Provides multi-factor remote network authentication. Permits multi-factor software cryptographic token. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOATK3, + /** + * Indicator of the high digital quality or reliability of single and multi-token authentication. Requires token that is a hardware cryptographic module validated at validated at Federal Information Processing Standard (FIPS) 140-2 Level 2 or higher overall with at least FIPS 140-2 Level 3 physical security. Level 4 token requirements can be met by using the PIV authentication key of a FIPS 201 compliant Personal Identity Verification (PIV) Card. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011] + */ + LOATK4, + /** + * Values for security trust mechanism metadata observation made about a security architecture system component that supports enforcement of security policies. + */ + TRSTMECOBV, + /** + * Potential values for observations of severity. + */ + _SEVERITYOBSERVATION, + /** + * Indicates the condition may be life-threatening or has the potential to cause permanent injury. + */ + H, + /** + * Indicates the condition may result in some adverse consequences but is unlikely to substantially affect the situation of the subject. + */ + L, + /** + * Indicates the condition may result in noticable adverse adverse consequences but is unlikely to be life-threatening or cause permanent injury. + */ + M, + /** + * Contains codes for defining the observed, physical position of a subject, such as during an observation, assessment, collection of a specimen, etc. ECG waveforms and vital signs, such as blood pressure, are two examples where a general, observed position typically needs to be noted. + */ + _SUBJECTBODYPOSITION, + /** + * Lying on the left side. + */ + LLD, + /** + * Lying with the front or ventral surface downward; lying face down. + */ + PRN, + /** + * Lying on the right side. + */ + RLD, + /** + * A semi-sitting position in bed with the head of the bed elevated approximately 45 degrees. + */ + SFWL, + /** + * Resting the body on the buttocks, typically with upper torso erect or semi erect. + */ + SIT, + /** + * To be stationary, upright, vertical, on one's legs. + */ + STN, + /** + * supine + */ + SUP, + /** + * Lying on the back, on an inclined plane, typically about 30-45 degrees with head raised and feet lowered. + */ + RTRD, + /** + * Lying on the back, on an inclined plane, typically about 30-45 degrees, with head lowered and feet raised. + */ + TRD, + /** + * Values for observations of verification act results + + + Examples: Verified, not verified, verified with warning. + */ + _VERIFICATIONOUTCOMEVALUE, + /** + * Definition: Coverage is in effect for healthcare service(s) and/or product(s). + */ + ACT, + /** + * Definition: Coverage is in effect for healthcare service(s) and/or product(s) - Pending Investigation + */ + ACTPEND, + /** + * Definition: Coverage is in effect for healthcare service(s) and/or product(s). + */ + ELG, + /** + * Definition: Coverage is not in effect for healthcare service(s) and/or product(s). + */ + INACT, + /** + * Definition: Coverage is not in effect for healthcare service(s) and/or product(s) - Pending Investigation. + */ + INPNDINV, + /** + * Definition: Coverage is not in effect for healthcare service(s) and/or product(s) - Pending Eligibility Update. + */ + INPNDUPD, + /** + * Definition: Coverage is not in effect for healthcare service(s) and/or product(s). May optionally include reasons for the ineligibility. + */ + NELG, + /** + * added to help the parsers + */ + NULL; + public static V3ObservationValue fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActCoverageAssessmentObservationValue".equals(codeString)) + return _ACTCOVERAGEASSESSMENTOBSERVATIONVALUE; + if ("_ActFinancialStatusObservationValue".equals(codeString)) + return _ACTFINANCIALSTATUSOBSERVATIONVALUE; + if ("ASSET".equals(codeString)) + return ASSET; + if ("ANNUITY".equals(codeString)) + return ANNUITY; + if ("PROP".equals(codeString)) + return PROP; + if ("RETACCT".equals(codeString)) + return RETACCT; + if ("TRUST".equals(codeString)) + return TRUST; + if ("INCOME".equals(codeString)) + return INCOME; + if ("CHILD".equals(codeString)) + return CHILD; + if ("DISABL".equals(codeString)) + return DISABL; + if ("INVEST".equals(codeString)) + return INVEST; + if ("PAY".equals(codeString)) + return PAY; + if ("RETIRE".equals(codeString)) + return RETIRE; + if ("SPOUSAL".equals(codeString)) + return SPOUSAL; + if ("SUPPLE".equals(codeString)) + return SUPPLE; + if ("TAX".equals(codeString)) + return TAX; + if ("LIVEXP".equals(codeString)) + return LIVEXP; + if ("CLOTH".equals(codeString)) + return CLOTH; + if ("FOOD".equals(codeString)) + return FOOD; + if ("HEALTH".equals(codeString)) + return HEALTH; + if ("HOUSE".equals(codeString)) + return HOUSE; + if ("LEGAL".equals(codeString)) + return LEGAL; + if ("MORTG".equals(codeString)) + return MORTG; + if ("RENT".equals(codeString)) + return RENT; + if ("SUNDRY".equals(codeString)) + return SUNDRY; + if ("TRANS".equals(codeString)) + return TRANS; + if ("UTIL".equals(codeString)) + return UTIL; + if ("ELSTAT".equals(codeString)) + return ELSTAT; + if ("ADOPT".equals(codeString)) + return ADOPT; + if ("BTHCERT".equals(codeString)) + return BTHCERT; + if ("CCOC".equals(codeString)) + return CCOC; + if ("DRLIC".equals(codeString)) + return DRLIC; + if ("FOSTER".equals(codeString)) + return FOSTER; + if ("MEMBER".equals(codeString)) + return MEMBER; + if ("MIL".equals(codeString)) + return MIL; + if ("MRGCERT".equals(codeString)) + return MRGCERT; + if ("PASSPORT".equals(codeString)) + return PASSPORT; + if ("STUDENRL".equals(codeString)) + return STUDENRL; + if ("HLSTAT".equals(codeString)) + return HLSTAT; + if ("DISABLE".equals(codeString)) + return DISABLE; + if ("DRUG".equals(codeString)) + return DRUG; + if ("IVDRG".equals(codeString)) + return IVDRG; + if ("PGNT".equals(codeString)) + return PGNT; + if ("LIVDEP".equals(codeString)) + return LIVDEP; + if ("RELDEP".equals(codeString)) + return RELDEP; + if ("SPSDEP".equals(codeString)) + return SPSDEP; + if ("URELDEP".equals(codeString)) + return URELDEP; + if ("LIVSIT".equals(codeString)) + return LIVSIT; + if ("ALONE".equals(codeString)) + return ALONE; + if ("DEPCHD".equals(codeString)) + return DEPCHD; + if ("DEPSPS".equals(codeString)) + return DEPSPS; + if ("DEPYGCHD".equals(codeString)) + return DEPYGCHD; + if ("FAM".equals(codeString)) + return FAM; + if ("RELAT".equals(codeString)) + return RELAT; + if ("SPS".equals(codeString)) + return SPS; + if ("UNREL".equals(codeString)) + return UNREL; + if ("SOECSTAT".equals(codeString)) + return SOECSTAT; + if ("ABUSE".equals(codeString)) + return ABUSE; + if ("HMLESS".equals(codeString)) + return HMLESS; + if ("ILGIM".equals(codeString)) + return ILGIM; + if ("INCAR".equals(codeString)) + return INCAR; + if ("PROB".equals(codeString)) + return PROB; + if ("REFUG".equals(codeString)) + return REFUG; + if ("UNEMPL".equals(codeString)) + return UNEMPL; + if ("_AllergyTestValue".equals(codeString)) + return _ALLERGYTESTVALUE; + if ("A0".equals(codeString)) + return A0; + if ("A1".equals(codeString)) + return A1; + if ("A2".equals(codeString)) + return A2; + if ("A3".equals(codeString)) + return A3; + if ("A4".equals(codeString)) + return A4; + if ("_CoverageLimitObservationValue".equals(codeString)) + return _COVERAGELIMITOBSERVATIONVALUE; + if ("_CoverageLevelObservationValue".equals(codeString)) + return _COVERAGELEVELOBSERVATIONVALUE; + if ("ADC".equals(codeString)) + return ADC; + if ("CHD".equals(codeString)) + return CHD; + if ("DEP".equals(codeString)) + return DEP; + if ("DP".equals(codeString)) + return DP; + if ("ECH".equals(codeString)) + return ECH; + if ("FLY".equals(codeString)) + return FLY; + if ("IND".equals(codeString)) + return IND; + if ("SSP".equals(codeString)) + return SSP; + if ("_GeneticObservationValue".equals(codeString)) + return _GENETICOBSERVATIONVALUE; + if ("Homozygote".equals(codeString)) + return HOMOZYGOTE; + if ("_ObservationMeasureScoring".equals(codeString)) + return _OBSERVATIONMEASURESCORING; + if ("COHORT".equals(codeString)) + return COHORT; + if ("CONTVAR".equals(codeString)) + return CONTVAR; + if ("PROPOR".equals(codeString)) + return PROPOR; + if ("RATIO".equals(codeString)) + return RATIO; + if ("_ObservationMeasureType".equals(codeString)) + return _OBSERVATIONMEASURETYPE; + if ("COMPOSITE".equals(codeString)) + return COMPOSITE; + if ("EFFICIENCY".equals(codeString)) + return EFFICIENCY; + if ("EXPERIENCE".equals(codeString)) + return EXPERIENCE; + if ("OUTCOME".equals(codeString)) + return OUTCOME; + if ("PROCESS".equals(codeString)) + return PROCESS; + if ("RESOURCE".equals(codeString)) + return RESOURCE; + if ("STRUCTURE".equals(codeString)) + return STRUCTURE; + if ("_ObservationPopulationInclusion".equals(codeString)) + return _OBSERVATIONPOPULATIONINCLUSION; + if ("DENEX".equals(codeString)) + return DENEX; + if ("DENEXCEP".equals(codeString)) + return DENEXCEP; + if ("DENOM".equals(codeString)) + return DENOM; + if ("IP".equals(codeString)) + return IP; + if ("IPP".equals(codeString)) + return IPP; + if ("MSRPOPL".equals(codeString)) + return MSRPOPL; + if ("NUMER".equals(codeString)) + return NUMER; + if ("NUMEX".equals(codeString)) + return NUMEX; + if ("_PartialCompletionScale".equals(codeString)) + return _PARTIALCOMPLETIONSCALE; + if ("G".equals(codeString)) + return G; + if ("LE".equals(codeString)) + return LE; + if ("ME".equals(codeString)) + return ME; + if ("MI".equals(codeString)) + return MI; + if ("N".equals(codeString)) + return N; + if ("S".equals(codeString)) + return S; + if ("_SecurityObservationValue".equals(codeString)) + return _SECURITYOBSERVATIONVALUE; + if ("_SECINTOBV".equals(codeString)) + return _SECINTOBV; + if ("_SECALTINTOBV".equals(codeString)) + return _SECALTINTOBV; + if ("ABSTRED".equals(codeString)) + return ABSTRED; + if ("AGGRED".equals(codeString)) + return AGGRED; + if ("ANONYED".equals(codeString)) + return ANONYED; + if ("MAPPED".equals(codeString)) + return MAPPED; + if ("MASKED".equals(codeString)) + return MASKED; + if ("PSEUDED".equals(codeString)) + return PSEUDED; + if ("REDACTED".equals(codeString)) + return REDACTED; + if ("SYNTAC".equals(codeString)) + return SYNTAC; + if ("TRSLT".equals(codeString)) + return TRSLT; + if ("VERSIONED".equals(codeString)) + return VERSIONED; + if ("_SECDATINTOBV".equals(codeString)) + return _SECDATINTOBV; + if ("CRYTOHASH".equals(codeString)) + return CRYTOHASH; + if ("DIGSIG".equals(codeString)) + return DIGSIG; + if ("_SECINTCONOBV".equals(codeString)) + return _SECINTCONOBV; + if ("HRELIABLE".equals(codeString)) + return HRELIABLE; + if ("RELIABLE".equals(codeString)) + return RELIABLE; + if ("UNCERTREL".equals(codeString)) + return UNCERTREL; + if ("UNRELIABLE".equals(codeString)) + return UNRELIABLE; + if ("_SECINTPRVOBV".equals(codeString)) + return _SECINTPRVOBV; + if ("_SECINTPRVABOBV".equals(codeString)) + return _SECINTPRVABOBV; + if ("CLINAST".equals(codeString)) + return CLINAST; + if ("DEVAST".equals(codeString)) + return DEVAST; + if ("HCPAST".equals(codeString)) + return HCPAST; + if ("PACQAST".equals(codeString)) + return PACQAST; + if ("PATAST".equals(codeString)) + return PATAST; + if ("PAYAST".equals(codeString)) + return PAYAST; + if ("PROAST".equals(codeString)) + return PROAST; + if ("SDMAST".equals(codeString)) + return SDMAST; + if ("_SECINTPRVRBOBV".equals(codeString)) + return _SECINTPRVRBOBV; + if ("CLINRPT".equals(codeString)) + return CLINRPT; + if ("DEVRPT".equals(codeString)) + return DEVRPT; + if ("HCPRPT".equals(codeString)) + return HCPRPT; + if ("PACQRPT".equals(codeString)) + return PACQRPT; + if ("PATRPT".equals(codeString)) + return PATRPT; + if ("PAYRPT".equals(codeString)) + return PAYRPT; + if ("PRORPT".equals(codeString)) + return PRORPT; + if ("SDMRPT".equals(codeString)) + return SDMRPT; + if ("SECTRSTOBV".equals(codeString)) + return SECTRSTOBV; + if ("TRSTACCRDOBV".equals(codeString)) + return TRSTACCRDOBV; + if ("TRSTAGREOBV".equals(codeString)) + return TRSTAGREOBV; + if ("TRSTCERTOBV".equals(codeString)) + return TRSTCERTOBV; + if ("TRSTLOAOBV".equals(codeString)) + return TRSTLOAOBV; + if ("LOAAN".equals(codeString)) + return LOAAN; + if ("LOAAN1".equals(codeString)) + return LOAAN1; + if ("LOAAN2".equals(codeString)) + return LOAAN2; + if ("LOAAN3".equals(codeString)) + return LOAAN3; + if ("LOAAN4".equals(codeString)) + return LOAAN4; + if ("LOAAP".equals(codeString)) + return LOAAP; + if ("LOAAP1".equals(codeString)) + return LOAAP1; + if ("LOAAP2".equals(codeString)) + return LOAAP2; + if ("LOAAP3".equals(codeString)) + return LOAAP3; + if ("LOAAP4".equals(codeString)) + return LOAAP4; + if ("LOAAS".equals(codeString)) + return LOAAS; + if ("LOAAS1".equals(codeString)) + return LOAAS1; + if ("LOAAS2".equals(codeString)) + return LOAAS2; + if ("LOAAS3".equals(codeString)) + return LOAAS3; + if ("LOAAS4".equals(codeString)) + return LOAAS4; + if ("LOACM".equals(codeString)) + return LOACM; + if ("LOACM1".equals(codeString)) + return LOACM1; + if ("LOACM2".equals(codeString)) + return LOACM2; + if ("LOACM3".equals(codeString)) + return LOACM3; + if ("LOACM4".equals(codeString)) + return LOACM4; + if ("LOAID".equals(codeString)) + return LOAID; + if ("LOAID1".equals(codeString)) + return LOAID1; + if ("LOAID2".equals(codeString)) + return LOAID2; + if ("LOAID3".equals(codeString)) + return LOAID3; + if ("LOAID4".equals(codeString)) + return LOAID4; + if ("LOANR".equals(codeString)) + return LOANR; + if ("LOANR1".equals(codeString)) + return LOANR1; + if ("LOANR2".equals(codeString)) + return LOANR2; + if ("LOANR3".equals(codeString)) + return LOANR3; + if ("LOANR4".equals(codeString)) + return LOANR4; + if ("LOARA".equals(codeString)) + return LOARA; + if ("LOARA1".equals(codeString)) + return LOARA1; + if ("LOARA2".equals(codeString)) + return LOARA2; + if ("LOARA3".equals(codeString)) + return LOARA3; + if ("LOARA4".equals(codeString)) + return LOARA4; + if ("LOATK".equals(codeString)) + return LOATK; + if ("LOATK1".equals(codeString)) + return LOATK1; + if ("LOATK2".equals(codeString)) + return LOATK2; + if ("LOATK3".equals(codeString)) + return LOATK3; + if ("LOATK4".equals(codeString)) + return LOATK4; + if ("TRSTMECOBV".equals(codeString)) + return TRSTMECOBV; + if ("_SeverityObservation".equals(codeString)) + return _SEVERITYOBSERVATION; + if ("H".equals(codeString)) + return H; + if ("L".equals(codeString)) + return L; + if ("M".equals(codeString)) + return M; + if ("_SubjectBodyPosition".equals(codeString)) + return _SUBJECTBODYPOSITION; + if ("LLD".equals(codeString)) + return LLD; + if ("PRN".equals(codeString)) + return PRN; + if ("RLD".equals(codeString)) + return RLD; + if ("SFWL".equals(codeString)) + return SFWL; + if ("SIT".equals(codeString)) + return SIT; + if ("STN".equals(codeString)) + return STN; + if ("SUP".equals(codeString)) + return SUP; + if ("RTRD".equals(codeString)) + return RTRD; + if ("TRD".equals(codeString)) + return TRD; + if ("_VerificationOutcomeValue".equals(codeString)) + return _VERIFICATIONOUTCOMEVALUE; + if ("ACT".equals(codeString)) + return ACT; + if ("ACTPEND".equals(codeString)) + return ACTPEND; + if ("ELG".equals(codeString)) + return ELG; + if ("INACT".equals(codeString)) + return INACT; + if ("INPNDINV".equals(codeString)) + return INPNDINV; + if ("INPNDUPD".equals(codeString)) + return INPNDUPD; + if ("NELG".equals(codeString)) + return NELG; + throw new Exception("Unknown V3ObservationValue code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACTCOVERAGEASSESSMENTOBSERVATIONVALUE: return "_ActCoverageAssessmentObservationValue"; + case _ACTFINANCIALSTATUSOBSERVATIONVALUE: return "_ActFinancialStatusObservationValue"; + case ASSET: return "ASSET"; + case ANNUITY: return "ANNUITY"; + case PROP: return "PROP"; + case RETACCT: return "RETACCT"; + case TRUST: return "TRUST"; + case INCOME: return "INCOME"; + case CHILD: return "CHILD"; + case DISABL: return "DISABL"; + case INVEST: return "INVEST"; + case PAY: return "PAY"; + case RETIRE: return "RETIRE"; + case SPOUSAL: return "SPOUSAL"; + case SUPPLE: return "SUPPLE"; + case TAX: return "TAX"; + case LIVEXP: return "LIVEXP"; + case CLOTH: return "CLOTH"; + case FOOD: return "FOOD"; + case HEALTH: return "HEALTH"; + case HOUSE: return "HOUSE"; + case LEGAL: return "LEGAL"; + case MORTG: return "MORTG"; + case RENT: return "RENT"; + case SUNDRY: return "SUNDRY"; + case TRANS: return "TRANS"; + case UTIL: return "UTIL"; + case ELSTAT: return "ELSTAT"; + case ADOPT: return "ADOPT"; + case BTHCERT: return "BTHCERT"; + case CCOC: return "CCOC"; + case DRLIC: return "DRLIC"; + case FOSTER: return "FOSTER"; + case MEMBER: return "MEMBER"; + case MIL: return "MIL"; + case MRGCERT: return "MRGCERT"; + case PASSPORT: return "PASSPORT"; + case STUDENRL: return "STUDENRL"; + case HLSTAT: return "HLSTAT"; + case DISABLE: return "DISABLE"; + case DRUG: return "DRUG"; + case IVDRG: return "IVDRG"; + case PGNT: return "PGNT"; + case LIVDEP: return "LIVDEP"; + case RELDEP: return "RELDEP"; + case SPSDEP: return "SPSDEP"; + case URELDEP: return "URELDEP"; + case LIVSIT: return "LIVSIT"; + case ALONE: return "ALONE"; + case DEPCHD: return "DEPCHD"; + case DEPSPS: return "DEPSPS"; + case DEPYGCHD: return "DEPYGCHD"; + case FAM: return "FAM"; + case RELAT: return "RELAT"; + case SPS: return "SPS"; + case UNREL: return "UNREL"; + case SOECSTAT: return "SOECSTAT"; + case ABUSE: return "ABUSE"; + case HMLESS: return "HMLESS"; + case ILGIM: return "ILGIM"; + case INCAR: return "INCAR"; + case PROB: return "PROB"; + case REFUG: return "REFUG"; + case UNEMPL: return "UNEMPL"; + case _ALLERGYTESTVALUE: return "_AllergyTestValue"; + case A0: return "A0"; + case A1: return "A1"; + case A2: return "A2"; + case A3: return "A3"; + case A4: return "A4"; + case _COVERAGELIMITOBSERVATIONVALUE: return "_CoverageLimitObservationValue"; + case _COVERAGELEVELOBSERVATIONVALUE: return "_CoverageLevelObservationValue"; + case ADC: return "ADC"; + case CHD: return "CHD"; + case DEP: return "DEP"; + case DP: return "DP"; + case ECH: return "ECH"; + case FLY: return "FLY"; + case IND: return "IND"; + case SSP: return "SSP"; + case _GENETICOBSERVATIONVALUE: return "_GeneticObservationValue"; + case HOMOZYGOTE: return "Homozygote"; + case _OBSERVATIONMEASURESCORING: return "_ObservationMeasureScoring"; + case COHORT: return "COHORT"; + case CONTVAR: return "CONTVAR"; + case PROPOR: return "PROPOR"; + case RATIO: return "RATIO"; + case _OBSERVATIONMEASURETYPE: return "_ObservationMeasureType"; + case COMPOSITE: return "COMPOSITE"; + case EFFICIENCY: return "EFFICIENCY"; + case EXPERIENCE: return "EXPERIENCE"; + case OUTCOME: return "OUTCOME"; + case PROCESS: return "PROCESS"; + case RESOURCE: return "RESOURCE"; + case STRUCTURE: return "STRUCTURE"; + case _OBSERVATIONPOPULATIONINCLUSION: return "_ObservationPopulationInclusion"; + case DENEX: return "DENEX"; + case DENEXCEP: return "DENEXCEP"; + case DENOM: return "DENOM"; + case IP: return "IP"; + case IPP: return "IPP"; + case MSRPOPL: return "MSRPOPL"; + case NUMER: return "NUMER"; + case NUMEX: return "NUMEX"; + case _PARTIALCOMPLETIONSCALE: return "_PartialCompletionScale"; + case G: return "G"; + case LE: return "LE"; + case ME: return "ME"; + case MI: return "MI"; + case N: return "N"; + case S: return "S"; + case _SECURITYOBSERVATIONVALUE: return "_SecurityObservationValue"; + case _SECINTOBV: return "_SECINTOBV"; + case _SECALTINTOBV: return "_SECALTINTOBV"; + case ABSTRED: return "ABSTRED"; + case AGGRED: return "AGGRED"; + case ANONYED: return "ANONYED"; + case MAPPED: return "MAPPED"; + case MASKED: return "MASKED"; + case PSEUDED: return "PSEUDED"; + case REDACTED: return "REDACTED"; + case SYNTAC: return "SYNTAC"; + case TRSLT: return "TRSLT"; + case VERSIONED: return "VERSIONED"; + case _SECDATINTOBV: return "_SECDATINTOBV"; + case CRYTOHASH: return "CRYTOHASH"; + case DIGSIG: return "DIGSIG"; + case _SECINTCONOBV: return "_SECINTCONOBV"; + case HRELIABLE: return "HRELIABLE"; + case RELIABLE: return "RELIABLE"; + case UNCERTREL: return "UNCERTREL"; + case UNRELIABLE: return "UNRELIABLE"; + case _SECINTPRVOBV: return "_SECINTPRVOBV"; + case _SECINTPRVABOBV: return "_SECINTPRVABOBV"; + case CLINAST: return "CLINAST"; + case DEVAST: return "DEVAST"; + case HCPAST: return "HCPAST"; + case PACQAST: return "PACQAST"; + case PATAST: return "PATAST"; + case PAYAST: return "PAYAST"; + case PROAST: return "PROAST"; + case SDMAST: return "SDMAST"; + case _SECINTPRVRBOBV: return "_SECINTPRVRBOBV"; + case CLINRPT: return "CLINRPT"; + case DEVRPT: return "DEVRPT"; + case HCPRPT: return "HCPRPT"; + case PACQRPT: return "PACQRPT"; + case PATRPT: return "PATRPT"; + case PAYRPT: return "PAYRPT"; + case PRORPT: return "PRORPT"; + case SDMRPT: return "SDMRPT"; + case SECTRSTOBV: return "SECTRSTOBV"; + case TRSTACCRDOBV: return "TRSTACCRDOBV"; + case TRSTAGREOBV: return "TRSTAGREOBV"; + case TRSTCERTOBV: return "TRSTCERTOBV"; + case TRSTLOAOBV: return "TRSTLOAOBV"; + case LOAAN: return "LOAAN"; + case LOAAN1: return "LOAAN1"; + case LOAAN2: return "LOAAN2"; + case LOAAN3: return "LOAAN3"; + case LOAAN4: return "LOAAN4"; + case LOAAP: return "LOAAP"; + case LOAAP1: return "LOAAP1"; + case LOAAP2: return "LOAAP2"; + case LOAAP3: return "LOAAP3"; + case LOAAP4: return "LOAAP4"; + case LOAAS: return "LOAAS"; + case LOAAS1: return "LOAAS1"; + case LOAAS2: return "LOAAS2"; + case LOAAS3: return "LOAAS3"; + case LOAAS4: return "LOAAS4"; + case LOACM: return "LOACM"; + case LOACM1: return "LOACM1"; + case LOACM2: return "LOACM2"; + case LOACM3: return "LOACM3"; + case LOACM4: return "LOACM4"; + case LOAID: return "LOAID"; + case LOAID1: return "LOAID1"; + case LOAID2: return "LOAID2"; + case LOAID3: return "LOAID3"; + case LOAID4: return "LOAID4"; + case LOANR: return "LOANR"; + case LOANR1: return "LOANR1"; + case LOANR2: return "LOANR2"; + case LOANR3: return "LOANR3"; + case LOANR4: return "LOANR4"; + case LOARA: return "LOARA"; + case LOARA1: return "LOARA1"; + case LOARA2: return "LOARA2"; + case LOARA3: return "LOARA3"; + case LOARA4: return "LOARA4"; + case LOATK: return "LOATK"; + case LOATK1: return "LOATK1"; + case LOATK2: return "LOATK2"; + case LOATK3: return "LOATK3"; + case LOATK4: return "LOATK4"; + case TRSTMECOBV: return "TRSTMECOBV"; + case _SEVERITYOBSERVATION: return "_SeverityObservation"; + case H: return "H"; + case L: return "L"; + case M: return "M"; + case _SUBJECTBODYPOSITION: return "_SubjectBodyPosition"; + case LLD: return "LLD"; + case PRN: return "PRN"; + case RLD: return "RLD"; + case SFWL: return "SFWL"; + case SIT: return "SIT"; + case STN: return "STN"; + case SUP: return "SUP"; + case RTRD: return "RTRD"; + case TRD: return "TRD"; + case _VERIFICATIONOUTCOMEVALUE: return "_VerificationOutcomeValue"; + case ACT: return "ACT"; + case ACTPEND: return "ACTPEND"; + case ELG: return "ELG"; + case INACT: return "INACT"; + case INPNDINV: return "INPNDINV"; + case INPNDUPD: return "INPNDUPD"; + case NELG: return "NELG"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ObservationValue"; + } + public String getDefinition() { + switch (this) { + case _ACTCOVERAGEASSESSMENTOBSERVATIONVALUE: return "Codes specify the category of observation, evidence, or document used to assess for services, e.g., discharge planning, or to establish eligibility for coverage under a policy or program. The type of evidence is coded as observation values."; + case _ACTFINANCIALSTATUSOBSERVATIONVALUE: return "Code specifying financial indicators used to assess or establish eligibility for coverage under a policy or program; e.g., pay stub; tax or income document; asset document; living expenses."; + case ASSET: return "Codes specifying asset indicators used to assess or establish eligibility for coverage under a policy or program."; + case ANNUITY: return "Indicator of annuity ownership or status as beneficiary."; + case PROP: return "Indicator of real property ownership, e.g., deed or real estate contract."; + case RETACCT: return "Indicator of retirement investment account ownership."; + case TRUST: return "Indicator of status as trust beneficiary."; + case INCOME: return "Code specifying income indicators used to assess or establish eligibility for coverage under a policy or program; e.g., pay or pension check, child support payments received or provided, and taxes paid."; + case CHILD: return "Indicator of child support payments received or provided."; + case DISABL: return "Indicator of disability income replacement payment."; + case INVEST: return "Indicator of investment income, e.g., dividend check, annuity payment; real estate rent, investment divestiture proceeds; trust or endowment check."; + case PAY: return "Indicator of paid employment, e.g., letter of hire, contract, employer letter; copy of pay check or pay stub."; + case RETIRE: return "Indicator of retirement payment, e.g., pension check."; + case SPOUSAL: return "Indicator of spousal or partner support payments received or provided; e.g., alimony payment; support stipulations in a divorce settlement."; + case SUPPLE: return "Indicator of income supplement, e.g., gifting, parental income support; stipend, or grant."; + case TAX: return "Indicator of tax obligation or payment, e.g., statement of taxable income."; + case LIVEXP: return "Codes specifying living expense indicators used to assess or establish eligibility for coverage under a policy or program."; + case CLOTH: return "Indicator of clothing expenses."; + case FOOD: return "Indicator of transportation expenses."; + case HEALTH: return "Indicator of health expenses; including medication costs, health service costs, financial participations, and health coverage premiums."; + case HOUSE: return "Indicator of housing expense, e.g., household appliances, fixtures, furnishings, and maintenance and repairs."; + case LEGAL: return "Indicator of legal expenses."; + case MORTG: return "Indicator of mortgage amount, interest, and payments."; + case RENT: return "Indicator of rental or lease payments."; + case SUNDRY: return "Indicator of transportation expenses."; + case TRANS: return "Indicator of transportation expenses, e.g., vehicle payments, vehicle insurance, vehicle fuel, and vehicle maintenance and repairs."; + case UTIL: return "Indicator of transportation expenses."; + case ELSTAT: return "Code specifying eligibility indicators used to assess or establish eligibility for coverage under a policy or program eligibility status, e.g., certificates of creditable coverage; student enrollment; adoption, marriage or birth certificate."; + case ADOPT: return "Indicator of adoption."; + case BTHCERT: return "Indicator of birth."; + case CCOC: return "Indicator of creditable coverage."; + case DRLIC: return "Indicator of driving status."; + case FOSTER: return "Indicator of foster child status."; + case MEMBER: return "Indicator of status as covered member under a policy or program, e.g., member id card or coverage document."; + case MIL: return "Indicator of military status."; + case MRGCERT: return "Indicator of marriage status."; + case PASSPORT: return "Indicator of citizenship."; + case STUDENRL: return "Indicator of student status."; + case HLSTAT: return "Code specifying non-clinical indicators related to health status used to assess or establish eligibility for coverage under a policy or program, e.g., pregnancy, disability, drug use, mental health issues."; + case DISABLE: return "Indication of disability."; + case DRUG: return "Indication of drug use."; + case IVDRG: return "Indication of IV drug use ."; + case PGNT: return "Non-clinical report of pregnancy."; + case LIVDEP: return "Code specifying observations related to living dependency, such as dependent upon spouse for activities of daily living."; + case RELDEP: return "Continued living in private residence requires functional and health care assistance from one or more relatives."; + case SPSDEP: return "Continued living in private residence requires functional and health care assistance from spouse or life partner."; + case URELDEP: return "Continued living in private residence requires functional and health care assistance from one or more unrelated persons."; + case LIVSIT: return "Code specifying observations related to living situation for a person in a private residence."; + case ALONE: return "Living alone. Maps to PD1-2 Living arrangement (IS) 00742 [A]"; + case DEPCHD: return "Living with one or more dependent children requiring moderate supervision."; + case DEPSPS: return "Living with disabled spouse requiring functional and health care assistance"; + case DEPYGCHD: return "Living with one or more dependent children requiring intensive supervision"; + case FAM: return "Living with family. Maps to PD1-2 Living arrangement (IS) 00742 [F]"; + case RELAT: return "Living with one or more relatives. Maps to PD1-2 Living arrangement (IS) 00742 [R]"; + case SPS: return "Living only with spouse or life partner. Maps to PD1-2 Living arrangement (IS) 00742 [S]"; + case UNREL: return "Living with one or more unrelated persons."; + case SOECSTAT: return "Code specifying observations or indicators related to socio-economic status used to assess to assess for services, e.g., discharge planning, or to establish eligibility for coverage under a policy or program."; + case ABUSE: return "Indication of abuse victim."; + case HMLESS: return "Indication of status as homeless."; + case ILGIM: return "Indication of status as illegal immigrant."; + case INCAR: return "Indication of status as incarcerated."; + case PROB: return "Indication of probation status."; + case REFUG: return "Indication of refugee status."; + case UNEMPL: return "Indication of unemployed status."; + case _ALLERGYTESTVALUE: return "Indicates the result of a particular allergy test. E.g. Negative, Mild, Moderate, Severe"; + case A0: return "Description:Patient exhibits no reaction to the challenge agent."; + case A1: return "Description:Patient exhibits a minimal reaction to the challenge agent."; + case A2: return "Description:Patient exhibits a mild reaction to the challenge agent."; + case A3: return "Description:Patient exhibits moderate reaction to the challenge agent."; + case A4: return "Description:Patient exhibits a severe reaction to the challenge agent."; + case _COVERAGELIMITOBSERVATIONVALUE: return "Description:Coded observation values for coverage limitations, for e.g., types of claims or types of parties covered under a policy or program."; + case _COVERAGELEVELOBSERVATIONVALUE: return "Description:Coded observation values for types of covered parties under a policy or program based on their personal relationships or employment status."; + case ADC: return "Description:Child over an age as specified by coverage policy or program, e.g., student, differently abled, and income dependent."; + case CHD: return "Description:Dependent biological, adopted, foster child as specified by coverage policy or program."; + case DEP: return "Description:Person requiring functional and/or financial assistance from another person as specified by coverage policy or program."; + case DP: return "Description:Persons registered as a family unit in a domestic partner registry as specified by law and by coverage policy or program."; + case ECH: return "Description:An individual employed by an employer who receive remuneration in wages, salary, commission, tips, piece-rates, or pay-in-kind through the employeraTMs payment system (i.e., not a contractor) as specified by coverage policy or program."; + case FLY: return "Description:As specified by coverage policy or program."; + case IND: return "Description:Person as specified by coverage policy or program."; + case SSP: return "Description:A pair of people of the same gender who live together as a family as specified by coverage policy or program, e.g., Naomi and Ruth from the Book of Ruth; Socrates and Alcibiades"; + case _GENETICOBSERVATIONVALUE: return "Description: The domain contains genetic analysis specific observation values, e.g. Homozygote, Heterozygote, etc."; + case HOMOZYGOTE: return "Description: An individual having different alleles at one or more loci regarding a specific character"; + case _OBSERVATIONMEASURESCORING: return "Observation values used to indicate the type of scoring (e.g. proportion, ratio) used by a health quality measure."; + case COHORT: return "A measure in which either short-term cross-section or long-term longitudinal analysis is performed over a group of subjects defined by a set of common properties or defining characteristics (e.g., Male smokers between the ages of 40 and 50 years, exposure to treatment, exposure duration)."; + case CONTVAR: return "A measure score in which each individual value for the measure can fall anywhere along a continuous scale (e.g., mean time to thrombolytics which aggregates the time in minutes from a case presenting with chest pain to the time of administration of thrombolytics)."; + case PROPOR: return "A score derived by dividing the number of cases that meet a criterion for quality (the numerator) by the number of eligible cases within a given time frame (the denominator) where the numerator cases are a subset of the denominator cases (e.g., percentage of eligible women with a mammogram performed in the last year)."; + case RATIO: return "A score that may have a value of zero or greater that is derived by dividing a count of one type of data by a count of another type of data (e.g., the number of patients with central lines who develop infection divided by the number of central line days)."; + case _OBSERVATIONMEASURETYPE: return "Observation values used to indicate what kind of health quality measure is used."; + case COMPOSITE: return "A measure that is composed from one or more other measures and indicates an overall summary of those measures."; + case EFFICIENCY: return "A measure related to the efficiency of medical treatment."; + case EXPERIENCE: return "A measure related to the level of patient engagement or patient experience of care."; + case OUTCOME: return "A measure that indicates the result of the performance (or non-performance) of a function or process."; + case PROCESS: return "A measure which focuses on a process which leads to a certain outcome, meaning that a scientific basis exists for believing that the process, when executed well, will increase the probability of achieving a desired outcome."; + case RESOURCE: return "A measure related to the extent of use of clinical resources or cost of care."; + case STRUCTURE: return "A measure related to the structure of patient care."; + case _OBSERVATIONPOPULATIONINCLUSION: return "Observation values used to assert various populations that a subject falls into."; + case DENEX: return "Patients who should be removed from the eMeasure population and denominator before determining if numerator criteria are met. Denominator exclusions are used in proportion and ratio measures to help narrow the denominator."; + case DENEXCEP: return "Denominator exceptions are those conditions that should remove a patient, procedure or unit of measurement from the denominator only if the numerator criteria are not met. Denominator exceptions allow for adjustment of the calculated score for those providers with higher risk populations. Denominator exceptions are used only in proportion eMeasures. They are not appropriate for ratio or continuous variable eMeasures. Denominator exceptions allow for the exercise of clinical judgment and should be specifically defined where capturing the information in a structured manner fits the clinical workflow. Generic denominator exception reasons used in proportion eMeasures fall into three general categories:\r\n\n \n Medical reasons\n Patient reasons\n System reasons"; + case DENOM: return "It can be the same as the initial patient population or a subset of the initial patient population to further constrain the population for the purpose of the eMeasure. Different measures within an eMeasure set may have different Denominators. Continuous Variable eMeasures do not have a Denominator, but instead define a Measure Population."; + case IP: return "The initial population refers to all entities to be evaluated by a specific quality measure who share a common set of specified characteristics within a specific measurement set to which a given measure belongs."; + case IPP: return "The initial patient population refers to all patients to be evaluated by a specific quality measure who share a common set of specified characteristics within a specific measurement set to which a given measure belongs. Details often include information based upon specific age groups, diagnoses, diagnostic and procedure codes, and enrollment periods."; + case MSRPOPL: return "Measure population is used only in continuous variable eMeasures. It is a narrative description of the eMeasure population. \n(e.g., all patients seen in the Emergency Department during the measurement period)."; + case NUMER: return "Numerators are used in proportion and ratio eMeasures. In proportion measures the numerator criteria are the processes or outcomes expected for each patient, procedure, or other unit of measurement defined in the denominator. In ratio measures the numerator is related, but not directly derived from the denominator (e.g., a numerator listing the number of central line blood stream infections and a denominator indicating the days per thousand of central line usage in a specific time period)."; + case NUMEX: return "Numerator Exclusions are used only in ratio eMeasures to define instances that should not be included in the numerator data. (e.g., if the number of central line blood stream infections per 1000 catheter days were to exclude infections with a specific bacterium, that bacterium would be listed as a numerator exclusion.)"; + case _PARTIALCOMPLETIONSCALE: return "PartialCompletionScale"; + case G: return "Value for Act.partialCompletionCode attribute that implies 81-99% completion"; + case LE: return "Value for Act.partialCompletionCode attribute that implies 61-80% completion"; + case ME: return "Value for Act.partialCompletionCode attribute that implies 41-60% completion"; + case MI: return "Value for Act.partialCompletionCode attribute that implies 1-20% completion"; + case N: return "Value for Act.partialCompletionCode attribute that implies 0% completion"; + case S: return "Value for Act.partialCompletionCode attribute that implies 21-40% completion"; + case _SECURITYOBSERVATIONVALUE: return "Observation values used to indicate security observation metadata."; + case _SECINTOBV: return "Abstract security observation values used to indicate security integrity metadata.\r\n\n \n Examples: Codes conveying integrity status, integrity confidence, and provenance."; + case _SECALTINTOBV: return "Abstract security metadata observation values used to indicate mechanism used for authorized alteration of an IT resource (data, information object, service, or system capability) while preserving the integrity of the resource for authorized users.\r\n\n \n Examples: Codes conveying the mechanism used to make authorized alterations of an IT resource, such as: \r\n\n \n translation\n masking\n anonymization"; + case ABSTRED: return "Security metadata observation values used to indicate the use of a more abstract version of the content, e.g., replacing exact value of an age or date field with a range, or remove the left digits of a credit card number or SSN."; + case AGGRED: return "Security metadata observation values used to indicate the use of an algorithmic combination of actual values with the result of an aggregate function, e.g., average, sum, or count in order to limit disclosure of an IT resource (data, information object, service, or system capability) to the minimum necessary."; + case ANONYED: return "Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability) by used to indicate the mechanism by which software systems can strip portions of the resource that could allow the identification of the source of the information or the information subject. No key to relink the data is retained."; + case MAPPED: return "Security metadata observation value used to indicate that the IT resource semantic content has been transformed from one encoding to another.\r\n\n \n Usage Note: 'MAP' code does not indicate the semantic fidelity of the transformed content.\r\n\n To indicate semantic fidelity for maps of HL7 to other code systems, this security alteration integrity observation may be further specified using an Act valued with Value Set: MapRelationship (2.16.840.1.113883.1.11.11052).\r\n\n Semantic fidelity of the mapped IT Resource may also be indicated using a SecurityIntegrityConfidenceObservation."; + case MASKED: return "Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability) by indicating the mechanism by which software systems can make data unintelligible (that is, as unreadable and unusable by algorithmically transforming plaintext into ciphertext) such that it can only be accessed or used by authorized users. An authorized user may be provided a key to decrypt per license or 'shared secret'.\r\n\n \n Usage Note: 'MASKED' may be used, per applicable policy, as a flag to indicate to a user or receiver that some portion of an IT resource has been further encrypted, and may be accessed only by an authorized user or receiver to which a decryption key is provided."; + case PSEUDED: return "Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability), by indicating the mechanism by which software systems can strip portions of the resource that could allow the identification of the source of the information or the information subject. Custodian may retain a key to relink data necessary to reidentify the information subject.\r\n\n \n Rationale: Personal data which has been processed to make it impossible to know whose data it is. Used particularly for secondary use of health data. In some cases, it may be possible for authorized individuals to restore the identity of the individual, e.g.,for public health case management. Based on ISO/TS 25237:2008 Health informatics—Pseudonymization"; + case REDACTED: return "Security metadata observation value used to indicate the mechanism by which software systems can filter an IT resource (data, information object, service, or system capability) to remove any portion of the resource that is not authorized to be access, used, or disclosed.\r\n\n \n Usage Note: 'REDACTED' may be used, per applicable policy, as a flag to indicate to a user or receiver that some portion of an IT resource has filtered and not included in the content accessed or received."; + case SYNTAC: return "Security metadata observation value used to indicate that the IT resource syntax has been transformed from one syntactical representation to another. \r\n\n \n Usage Note: 'SYNTAC' code does not indicate the syntactical correctness of the syntactically transformed IT resource."; + case TRSLT: return "Security metadata observation value used to indicate that the IT resource has been translated from one human language to another. \r\n\n \n Usage Note: 'TRSLT' does not indicate the fidelity of the translation or the languages translated.\r\n\n The fidelity of the IT Resource translation may be indicated using a SecurityIntegrityConfidenceObservation.\r\n\n To indicate languages, use the Value Set:HumanLanguage (2.16.840.1.113883.1.11.11526)"; + case VERSIONED: return "Security metadata observation value conveying the alteration integrity of an IT resource (data, information object, service, or system capability) which indicates that the resource only retains versions of an IT resource for access and use per applicable policy\r\n\n \n Usage Note: When this code is used, expectation is that the system has removed historical versions of the data that falls outside the time period deemed to be the effective time of the applicable version."; + case _SECDATINTOBV: return "Abstract security observation values used to indicate data integrity metadata.\r\n\n \n Examples: Codes conveying the mechanism used to preserve the accuracy and consistency of an IT resource such as a digital signature and a cryptographic hash function."; + case CRYTOHASH: return "Security metadata observation value used to indicate the mechanism by which software systems can establish that data was not modified in transit.\r\n\n \n Rationale: This definition is intended to align with the ISO 22600-2 3.3.19 definition of cryptographic checkvalue: Information which is derived by performing a cryptographic transformation (see cryptography) on the data unit. The derivation of the checkvalue may be performed in one or more steps and is a result of a mathematical function of the key and a data unit. It is usually used to check the integrity of a data unit.\r\n\n \n Examples: \n \r\n\n \n SHA-1\n SHA-2 (Secure Hash Algorithm)"; + case DIGSIG: return "Security metadata observation value used to indicate the mechanism by which software systems use digital signature to establish that data has not been modified. \r\n\n \n Rationale: This definition is intended to align with the ISO 22600-2 3.3.26 definition of digital signature: Data appended to, or a cryptographic transformation (see cryptography) of, a data unit that allows a recipient of the data unit to prove the source and integrity of the data unit and protect against forgery e.g., by the recipient."; + case _SECINTCONOBV: return "Abstract security observation value used to indicate integrity confidence metadata.\r\n\n \n Examples: Codes conveying the level of reliability and trustworthiness of an IT resource."; + case HRELIABLE: return "Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be very high."; + case RELIABLE: return "Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be adequate."; + case UNCERTREL: return "Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be uncertain."; + case UNRELIABLE: return "Security metadata observation value used to indicate that the veracity or trustworthiness of an IT resource (data, information object, service, or system capability) for a specified purpose of use is perceived to be or deemed by policy to be inadequate."; + case _SECINTPRVOBV: return "Abstract security metadata observation value used to indicate the provenance of an IT resource (data, information object, service, or system capability).\r\n\n \n Examples: Codes conveying the provenance metadata about the entity reporting an IT resource."; + case _SECINTPRVABOBV: return "Abstract security provenance metadata observation value used to indicate the entity that asserted an IT resource (data, information object, service, or system capability).\r\n\n \n Examples: Codes conveying the provenance metadata about the entity asserting the resource."; + case CLINAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a clinician."; + case DEVAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a device."; + case HCPAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a healthcare professional."; + case PACQAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a patient acquaintance."; + case PATAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a patient."; + case PAYAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a payer."; + case PROAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a professional."; + case SDMAST: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was asserted by a substitute decision maker."; + case _SECINTPRVRBOBV: return "Abstract security provenance metadata observation value used to indicate the entity that reported the resource (data, information object, service, or system capability).\r\n\n \n Examples: Codes conveying the provenance metadata about the entity reporting an IT resource."; + case CLINRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a clinician."; + case DEVRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a device."; + case HCPRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a healthcare professional."; + case PACQRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a patient acquaintance."; + case PATRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a patient."; + case PAYRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a payer."; + case PRORPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a professional."; + case SDMRPT: return "Security provenance metadata observation value used to indicate that an IT resource (data, information object, service, or system capability) was reported by a substitute decision maker."; + case SECTRSTOBV: return "Observation value used to indicate aspects of trust applicable to an IT resource (data, information object, service, or system capability)."; + case TRSTACCRDOBV: return "Values for security trust accreditation metadata observation made about the formal declaration by an authority or neutral third party that validates the technical, security, trust, and business practice conformance of Trust Agents to facilitate security, interoperability, and trust among participants within a security domain or trust framework."; + case TRSTAGREOBV: return "Values for security trust agreement metadata observation made about privacy and security requirements with which a security domain must comply. [ISO IEC 10181-1]\n[ISO IEC 10181-1]"; + case TRSTCERTOBV: return "Values for security trust certificate metadata observation made about a set of security-relevant data issued by a security authority or trusted third party, together with security information which is used to provide the integrity and data origin authentication services for an IT resource (data, information object, service, or system capability). [Based on ISO IEC 10181-1]\r\n\n For example, a Certificate Policy (CP), which is a named set of rules that indicates the applicability of a certificate to a particular community and/or class of application with common security requirements. A particular Certificate Policy might indicate the applicability of a type of certificate to the authentication of electronic data interchange transactions for the trading of goods within a given price range. Another example is Cross Certification with Federal Bridge."; + case TRSTLOAOBV: return "Values for security trust assurance metadata observation made about the digital quality or reliability of a trust assertion, activity, capability, information exchange, mechanism, process, or protocol."; + case LOAAN: return "The value assigned as the indicator of the digital quality or reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2]\r\n\n For example, the degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies]"; + case LOAAN1: return "Indicator of low digital quality or reliability of the digital reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] \r\n\n The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] \r\n\n Low authentication level of assurance indicates that the relying party may have little or no confidence in the asserted identity's validity. Level 1 requires little or no confidence in the asserted identity. No identity proofing is required at this level, but the authentication mechanism should provide some assurance that the same claimant is accessing the protected transaction or data. A wide range of available authentication technologies can be employed and any of the token methods of Levels 2, 3, or 4, including Personal Identification Numbers (PINs), may be used. To be authenticated, the claimant must prove control of the token through a secure authentication protocol. At Level 1, long-term shared authentication secrets may be revealed to verifiers. Assertions issued about claimants as a result of a successful authentication are either cryptographically authenticated by relying parties (using approved methods) or are obtained directly from a trusted party via a secure authentication protocol. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAN2: return "Indicator of basic digital quality or reliability of the digital reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] \r\n\n The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies]\r\n\n Basic authentication level of assurance indicates that the relying party may have some confidence in the asserted identity's validity. Level 2 requires confidence that the asserted identity is accurate. Level 2 provides for single-factor remote network authentication, including identity-proofing requirements for presentation of identifying materials or information. A wide range of available authentication technologies can be employed, including any of the token methods of Levels 3 or 4, as well as passwords. Successful authentication requires that the claimant prove through a secure authentication protocol that the claimant controls the token. Eavesdropper, replay, and online guessing attacks are prevented. \nLong-term shared authentication secrets, if used, are never revealed to any party except the claimant and verifiers operated by the CSP; however, session (temporary) shared secrets may be provided to independent verifiers by the CSP. Approved cryptographic techniques are required. Assertions issued about claimants as a result of a successful authentication are either cryptographically authenticated by relying parties (using approved methods) or are obtained directly from a trusted party via a secure authentication protocol. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAN3: return "Indicator of medium digital quality or reliability of the digital reliability of verification and validation of the process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] \r\n\n The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies] \r\n\n Medium authentication level of assurance indicates that the relying party may have high confidence in the asserted identity's validity. Level 3 is appropriate for transactions that need high confidence in the accuracy of the asserted identity. Level 3 provides multifactor remote network authentication. At this level, identity-proofing procedures require verification of identifying materials and information. Authentication is based on proof of possession of a key or password through a cryptographic protocol. Cryptographic strength mechanisms should protect the primary authentication token (a cryptographic key) against compromise by the protocol threats, including eavesdropper, replay, online guessing, verifier impersonation, and man-in-the-middle attacks. A minimum of two authentication factors is required. Three kinds of tokens may be used:\r\n\n \n 'soft' cryptographic token, which has the key stored on a general-purpose computer, \n 'hard' cryptographic token, which has the key stored on a special hardware device, and \n 'one-time password' device token, which has symmetric key stored on a personal hardware device that is a cryptographic module validated at FIPS 140-2 Level 1 or higher. Validation testing of cryptographic modules and algorithms for conformance to Federal Information Processing Standard (FIPS) 140-2, Security Requirements for Cryptographic Modules, is managed by NIST.\n \n Authentication requires that the claimant prove control of the token through a secure authentication protocol. The token must be unlocked with a password or biometric representation, or a password must be used in a secure authentication protocol, to establish two-factor authentication. Long-term shared authentication secrets, if used, are never revealed to any party except the claimant and verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent verifiers by the CSP. Approved cryptographic techniques are used for all operations. Assertions issued about claimants as a result of a successful authentication are either cryptographically authenticated by relying parties (using approved methods) or are obtained directly from a trusted party via a secure authentication protocol. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAN4: return "Indicator of high digital quality or reliability of the digital reliability of the verification and validation process used to verify the claimed identity of an entity by securely associating an identifier and its authenticator. [Based on ISO 7498-2] \r\n\n The degree of confidence in the vetting process used to establish the identity of the individual to whom the credential was issued, and 2) the degree of confidence that the individual who uses the credential is the individual to whom the credential was issued. [OMB M-04-04 E-Authentication Guidance for Federal Agencies]\r\n\n High authentication level of assurance indicates that the relying party may have very high confidence in the asserted identity's validity. Level 4 is for transactions that need very high confidence in the accuracy of the asserted identity. Level 4 provides the highest practical assurance of remote network authentication. Authentication is based on proof of possession of a key through a cryptographic protocol. This level is similar to Level 3 except that only “hard� cryptographic tokens are allowed, cryptographic module validation requirements are strengthened, and subsequent critical data transfers must be authenticated via a key that is bound to the authentication process. The token should be a hardware cryptographic module validated at FIPS 140-2 Level 2 or higher overall with at least FIPS 140-2 Level 3 physical security. This level requires a physical token, which cannot readily be copied, and operator authentication at Level 2 and higher, and ensures good, two-factor remote authentication.\r\n\n Level 4 requires strong cryptographic authentication of all parties and all sensitive data transfers between the parties. Either public key or symmetric key technology may be used. Authentication requires that the claimant prove through a secure authentication protocol that the claimant controls the token. Eavesdropper, replay, online guessing, verifier impersonation, and man-in-the-middle attacks are prevented. Long-term shared authentication secrets, if used, are never revealed to any party except the claimant and verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent verifiers by the CSP. Strong approved cryptographic techniques are used for all operations. All sensitive data transfers are cryptographically authenticated using keys bound to the authentication process. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAP: return "The value assigned as the indicator of the digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2]"; + case LOAAP1: return "Indicator of the low digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2]\r\n\n Low authentication process level of assurance indicates that (1) long-term shared authentication secrets may be revealed to verifiers; and (2) assertions and assertion references require protection from manufacture/modification and reuse attacks. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAP2: return "Indicator of the basic digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2]\r\n\n Basic authentication process level of assurance indicates that long-term shared authentication secrets are never revealed to any other party except Credential Service Provider (CSP). Sessions (temporary) shared secrets may be provided to independent verifiers by CSP. Long-term shared authentication secrets, if used, are never revealed to any other party except Verifiers operated by the Credential Service Provider (CSP); however, session (temporary) shared secrets may be provided to independent Verifiers by the CSP. In addition to Level 1 requirements, assertions are resistant to disclosure, redirection, capture and substitution attacks. Approved cryptographic techniques are required. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAP3: return "Indicator of the medium digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2]\r\n\n Medium authentication process level of assurance indicates that the token can be unlocked with password, biometric, or uses a secure multi-token authentication protocol to establish two-factor authentication. Long-term shared authentication secrets are never revealed to any party except the Claimant and Credential Service Provider (CSP).\r\n\n Authentication requires that the Claimant prove, through a secure authentication protocol, that he or she controls the token. The Claimant unlocks the token with a password or biometric, or uses a secure multi-token authentication protocol to establish two-factor authentication (through proof of possession of a physical or software token in combination with some memorized secret knowledge). Long-term shared authentication secrets, if used, are never revealed to any party except the Claimant and Verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent Verifiers by the CSP. In addition to Level 2 requirements, assertions are protected against repudiation by the Verifier."; + case LOAAP4: return "Indicator of the high digital quality or reliability of a defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier. [Based on NIST SP 800-63-2]\r\n\n High authentication process level of assurance indicates all sensitive data transfer are cryptographically authenticated using keys bound to the authentication process. Level 4 requires strong cryptographic authentication of all communicating parties and all sensitive data transfers between the parties. Either public key or symmetric key technology may be used. Authentication requires that the Claimant prove through a secure authentication protocol that he or she controls the token. All protocol threats at Level 3 are required to be prevented at Level 4. Protocols shall also be strongly resistant to man-in-the-middle attacks. Long-term shared authentication secrets, if used, are never revealed to any party except the Claimant and Verifiers operated directly by the CSP; however, session (temporary) shared secrets may be provided to independent Verifiers by the CSP. Approved cryptographic techniques are used for all operations. All sensitive data transfers are cryptographically authenticated using keys bound to the authentication process. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAS: return "The value assigned as the indicator of the high quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes."; + case LOAAS1: return "Indicator of the low quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes.\r\n\n Assertions and assertion references require protection from modification and reuse attacks. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAS2: return "Indicator of the basic quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes.\r\n\n Assertions are resistant to disclosure, redirection, capture and substitution attacks. Approved cryptographic techniques are required for all assertion protocols. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAS3: return "Indicator of the medium quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes.\r\n\n Assertions are protected against repudiation by the verifier. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOAAS4: return "Indicator of the high quality or reliability of the statement from a Verifier to a Relying Party (RP) that contains identity information about a Subscriber. Assertions may also contain verified attributes.\r\n\n Strongly resistant to man-in-the-middle attacks. 'Bearer' assertions are not used. 'Holder-of-key' assertions may be used. RP maintains records of the assertions. [Summary of the technical requirements specified in NIST SP 800-63 for the four levels of assurance defined by the December 2003, the Office of Management and Budget (OMB) issued Memorandum M-04-04, E-Authentication Guidance for Federal Agencies.]"; + case LOACM: return "Indicator of the digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and its binding to an identity. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOACM1: return "Indicator of the low digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and its binding to an identity. Little or no confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include weak identity binding to tokens and plaintext passwords or secrets not transmitted across a network. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOACM2: return "Indicator of the basic digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and its binding to an identity. Some confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include: Verification must prove claimant controls the token; token resists online guessing, replay, session hijacking, and eavesdropping attacks; and token is at least weakly resistant to man-in-the middle attacks. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOACM3: return "Indicator of the medium digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and it’s binding to an identity. High confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include: Ownership of token verifiable through security authentication protocol and credential management protects against verifier impersonation attacks. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOACM4: return "Indicator of the high digital quality or reliability of the activities performed by the Credential Service Provider (CSP) subsequent to electronic authentication registration, identity proofing and issuance activities to manage and safeguard the integrity of an issued credential and it’s binding to an identity. Very high confidence that an individual has maintained control over a token that has been entrusted to him or her and that that token has not been compromised. Characteristics include: Verifier can prove control of token through a secure protocol; credential management supports strong cryptographic authentication of all communication parties. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOAID: return "Indicator of the quality or reliability in the process of ascertaining that an individual is who he or she claims to be."; + case LOAID1: return "Indicator of low digital quality or reliability in the process of ascertaining that an individual is who he or she claims to be. Requires that a continuity of identity be maintained but does not require identity proofing. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOAID2: return "Indicator of some digital quality or reliability in the process of ascertaining that that an individual is who he or she claims to be. Requires identity proofing via presentation of identifying material or information. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOAID3: return "Indicator of high digital quality or reliability in the process of ascertaining that an individual is who he or she claims to be. Requires identity proofing procedures for verification of identifying materials and information. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOAID4: return "Indicator of high digital quality or reliability in the process of ascertaining that an individual is who he or she claims to be. Requires identity proofing procedures for verification of identifying materials and information. [Based on Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOANR: return "Indicator of the digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2]"; + case LOANR1: return "Indicator of low digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2]"; + case LOANR2: return "Indicator of basic digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2]"; + case LOANR3: return "Indicator of medium digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2]"; + case LOANR4: return "Indicator of high digital quality or reliability in the process of establishing proof of delivery and proof of origin. [Based on ISO 7498-2]"; + case LOARA: return "Indicator of the digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2]"; + case LOARA1: return "Indicator of low digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2]"; + case LOARA2: return "Indicator of basic digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2]"; + case LOARA3: return "Indicator of medium digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization’s security controls. [Based on NIST SP 800-63-2]"; + case LOARA4: return "Indicator of high digital quality or reliability of the information exchange between network-connected devices where the information cannot be reliably protected end-to-end by a single organization's security controls. [Based on NIST SP 800-63-2]"; + case LOATK: return "Indicator of the digital quality or reliability of single and multi-token authentication. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOATK1: return "Indicator of the low digital quality or reliability of single and multi-token authentication. Permits the use of any of the token methods of Levels 2, 3, or 4. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOATK2: return "Indicator of the basic digital quality or reliability of single and multi-token authentication. Requires single factor authentication using memorized secret tokens, pre-registered knowledge tokens, look-up secret tokens, out of band tokens, or single factor one-time password devices. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOATK3: return "Indicator of the medium digital quality or reliability of single and multi-token authentication. Requires two authentication factors. Provides multi-factor remote network authentication. Permits multi-factor software cryptographic token. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case LOATK4: return "Indicator of the high digital quality or reliability of single and multi-token authentication. Requires token that is a hardware cryptographic module validated at validated at Federal Information Processing Standard (FIPS) 140-2 Level 2 or higher overall with at least FIPS 140-2 Level 3 physical security. Level 4 token requirements can be met by using the PIV authentication key of a FIPS 201 compliant Personal Identity Verification (PIV) Card. [Electronic Authentication Guideline - Recommendations of the National Institute of Standards and Technology, NIST Special Publication 800-63-1, Dec 2011]"; + case TRSTMECOBV: return "Values for security trust mechanism metadata observation made about a security architecture system component that supports enforcement of security policies."; + case _SEVERITYOBSERVATION: return "Potential values for observations of severity."; + case H: return "Indicates the condition may be life-threatening or has the potential to cause permanent injury."; + case L: return "Indicates the condition may result in some adverse consequences but is unlikely to substantially affect the situation of the subject."; + case M: return "Indicates the condition may result in noticable adverse adverse consequences but is unlikely to be life-threatening or cause permanent injury."; + case _SUBJECTBODYPOSITION: return "Contains codes for defining the observed, physical position of a subject, such as during an observation, assessment, collection of a specimen, etc. ECG waveforms and vital signs, such as blood pressure, are two examples where a general, observed position typically needs to be noted."; + case LLD: return "Lying on the left side."; + case PRN: return "Lying with the front or ventral surface downward; lying face down."; + case RLD: return "Lying on the right side."; + case SFWL: return "A semi-sitting position in bed with the head of the bed elevated approximately 45 degrees."; + case SIT: return "Resting the body on the buttocks, typically with upper torso erect or semi erect."; + case STN: return "To be stationary, upright, vertical, on one's legs."; + case SUP: return "supine"; + case RTRD: return "Lying on the back, on an inclined plane, typically about 30-45 degrees with head raised and feet lowered."; + case TRD: return "Lying on the back, on an inclined plane, typically about 30-45 degrees, with head lowered and feet raised."; + case _VERIFICATIONOUTCOMEVALUE: return "Values for observations of verification act results\r\n\n \n Examples: Verified, not verified, verified with warning."; + case ACT: return "Definition: Coverage is in effect for healthcare service(s) and/or product(s)."; + case ACTPEND: return "Definition: Coverage is in effect for healthcare service(s) and/or product(s) - Pending Investigation"; + case ELG: return "Definition: Coverage is in effect for healthcare service(s) and/or product(s)."; + case INACT: return "Definition: Coverage is not in effect for healthcare service(s) and/or product(s)."; + case INPNDINV: return "Definition: Coverage is not in effect for healthcare service(s) and/or product(s) - Pending Investigation."; + case INPNDUPD: return "Definition: Coverage is not in effect for healthcare service(s) and/or product(s) - Pending Eligibility Update."; + case NELG: return "Definition: Coverage is not in effect for healthcare service(s) and/or product(s). May optionally include reasons for the ineligibility."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACTCOVERAGEASSESSMENTOBSERVATIONVALUE: return "ActCoverageAssessmentObservationValue"; + case _ACTFINANCIALSTATUSOBSERVATIONVALUE: return "ActFinancialStatusObservationValue"; + case ASSET: return "asset"; + case ANNUITY: return "annuity"; + case PROP: return "real property"; + case RETACCT: return "retirement investment account"; + case TRUST: return "trust"; + case INCOME: return "income"; + case CHILD: return "child support"; + case DISABL: return "disability pay"; + case INVEST: return "investment income"; + case PAY: return "paid employment"; + case RETIRE: return "retirement pay"; + case SPOUSAL: return "spousal or partner support"; + case SUPPLE: return "income supplement"; + case TAX: return "tax obligation"; + case LIVEXP: return "living expense"; + case CLOTH: return "clothing expense"; + case FOOD: return "food expense"; + case HEALTH: return "health expense"; + case HOUSE: return "household expense"; + case LEGAL: return "legal expense"; + case MORTG: return "mortgage"; + case RENT: return "rent"; + case SUNDRY: return "sundry expense"; + case TRANS: return "transportation expense"; + case UTIL: return "utility expense"; + case ELSTAT: return "eligibility indicator"; + case ADOPT: return "adoption document"; + case BTHCERT: return "birth certificate"; + case CCOC: return "creditable coverage document"; + case DRLIC: return "driver license"; + case FOSTER: return "foster child document"; + case MEMBER: return "program or policy member"; + case MIL: return "military identification"; + case MRGCERT: return "marriage certificate"; + case PASSPORT: return "passport"; + case STUDENRL: return "student enrollment"; + case HLSTAT: return "health status"; + case DISABLE: return "disabled"; + case DRUG: return "drug use"; + case IVDRG: return "IV drug use"; + case PGNT: return "pregnant"; + case LIVDEP: return "living dependency"; + case RELDEP: return "relative dependent"; + case SPSDEP: return "spouse dependent"; + case URELDEP: return "unrelated person dependent"; + case LIVSIT: return "living situation"; + case ALONE: return "alone"; + case DEPCHD: return "dependent children"; + case DEPSPS: return "dependent spouse"; + case DEPYGCHD: return "dependent young children"; + case FAM: return "live with family"; + case RELAT: return "relative"; + case SPS: return "spouse only"; + case UNREL: return "unrelated person"; + case SOECSTAT: return "socio economic status"; + case ABUSE: return "abuse victim"; + case HMLESS: return "homeless"; + case ILGIM: return "illegal immigrant"; + case INCAR: return "incarcerated"; + case PROB: return "probation"; + case REFUG: return "refugee"; + case UNEMPL: return "unemployed"; + case _ALLERGYTESTVALUE: return "AllergyTestValue"; + case A0: return "no reaction"; + case A1: return "minimal reaction"; + case A2: return "mild reaction"; + case A3: return "moderate reaction"; + case A4: return "severe reaction"; + case _COVERAGELIMITOBSERVATIONVALUE: return "CoverageLimitObservationValue"; + case _COVERAGELEVELOBSERVATIONVALUE: return "CoverageLevelObservationValue"; + case ADC: return "adult child"; + case CHD: return "child"; + case DEP: return "dependent"; + case DP: return "domestic partner"; + case ECH: return "employee"; + case FLY: return "family coverage"; + case IND: return "individual"; + case SSP: return "same sex partner"; + case _GENETICOBSERVATIONVALUE: return "GeneticObservationValue"; + case HOMOZYGOTE: return "HOMO"; + case _OBSERVATIONMEASURESCORING: return "ObservationMeasureScoring"; + case COHORT: return "cohort measure scoring"; + case CONTVAR: return "continuous variable measure scoring"; + case PROPOR: return "proportion measure scoring"; + case RATIO: return "ratio measure scoring"; + case _OBSERVATIONMEASURETYPE: return "ObservationMeasureType"; + case COMPOSITE: return "composite measure type"; + case EFFICIENCY: return "efficiency measure type"; + case EXPERIENCE: return "experience measure type"; + case OUTCOME: return "outcome measure type"; + case PROCESS: return "process measure type"; + case RESOURCE: return "resource use measure type"; + case STRUCTURE: return "structure measure type"; + case _OBSERVATIONPOPULATIONINCLUSION: return "ObservationPopulationInclusion"; + case DENEX: return "denominator exclusions"; + case DENEXCEP: return "denominator exceptions"; + case DENOM: return "denominator"; + case IP: return "initial population"; + case IPP: return "initial patient population"; + case MSRPOPL: return "measure population"; + case NUMER: return "numerator"; + case NUMEX: return "numerator exclusions"; + case _PARTIALCOMPLETIONSCALE: return "PartialCompletionScale"; + case G: return "Great extent"; + case LE: return "Large extent"; + case ME: return "Medium extent"; + case MI: return "Minimal extent"; + case N: return "None"; + case S: return "Some extent"; + case _SECURITYOBSERVATIONVALUE: return "SecurityObservationValue"; + case _SECINTOBV: return "security integrity"; + case _SECALTINTOBV: return "alteration integrity"; + case ABSTRED: return "abstracted"; + case AGGRED: return "aggregated"; + case ANONYED: return "anonymized"; + case MAPPED: return "mapped"; + case MASKED: return "masked"; + case PSEUDED: return "pseudonymized"; + case REDACTED: return "redacted"; + case SYNTAC: return "syntactic transform"; + case TRSLT: return "translated"; + case VERSIONED: return "versioned"; + case _SECDATINTOBV: return "data integrity"; + case CRYTOHASH: return "cryptographic hash function"; + case DIGSIG: return "digital signature"; + case _SECINTCONOBV: return "integrity confidence"; + case HRELIABLE: return "highly reliable"; + case RELIABLE: return "reliable"; + case UNCERTREL: return "uncertain reliability"; + case UNRELIABLE: return "unreliable"; + case _SECINTPRVOBV: return "provenance"; + case _SECINTPRVABOBV: return "provenance asserted by"; + case CLINAST: return "clinician asserted"; + case DEVAST: return "device asserted"; + case HCPAST: return "healthcare professional asserted"; + case PACQAST: return "patient acquaintance asserted"; + case PATAST: return "patient asserted"; + case PAYAST: return "payer asserted"; + case PROAST: return "professional asserted"; + case SDMAST: return "substitute decision maker asserted"; + case _SECINTPRVRBOBV: return "provenance reported by"; + case CLINRPT: return "clinician reported"; + case DEVRPT: return "device reported"; + case HCPRPT: return "healthcare professional reported"; + case PACQRPT: return "patient acquaintance reported"; + case PATRPT: return "patient reported"; + case PAYRPT: return "payer reported"; + case PRORPT: return "professional reported"; + case SDMRPT: return "substitute decision maker reported"; + case SECTRSTOBV: return "security trust observation"; + case TRSTACCRDOBV: return "trust accreditation observation"; + case TRSTAGREOBV: return "trust agreement observation"; + case TRSTCERTOBV: return "trust certificate observation"; + case TRSTLOAOBV: return "trust assurance observation"; + case LOAAN: return "authentication level of assurance value"; + case LOAAN1: return "low authentication level of assurance"; + case LOAAN2: return "basic authentication level of assurance"; + case LOAAN3: return "medium authentication level of assurance"; + case LOAAN4: return "high authentication level of assurance"; + case LOAAP: return "authentication process level of assurance value"; + case LOAAP1: return "low authentication process level of assurance"; + case LOAAP2: return "basic authentication process level of assurance"; + case LOAAP3: return "medium authentication process level of assurance"; + case LOAAP4: return "high authentication process level of assurance"; + case LOAAS: return "assertion level of assurance value"; + case LOAAS1: return "low assertion level of assurance"; + case LOAAS2: return "basic assertion level of assurance"; + case LOAAS3: return "medium assertion level of assurance"; + case LOAAS4: return "high assertion level of assurance"; + case LOACM: return "token and credential management level of assurance value)"; + case LOACM1: return "low token and credential management level of assurance"; + case LOACM2: return "basic token and credential management level of assurance"; + case LOACM3: return "medium token and credential management level of assurance"; + case LOACM4: return "high token and credential management level of assurance"; + case LOAID: return "identity proofing level of assurance"; + case LOAID1: return "low identity proofing level of assurance"; + case LOAID2: return "basic identity proofing level of assurance"; + case LOAID3: return "medium identity proofing level of assurance"; + case LOAID4: return "high identity proofing level of assurance"; + case LOANR: return "non-repudiation level of assurance value"; + case LOANR1: return "low non-repudiation level of assurance"; + case LOANR2: return "basic non-repudiation level of assurance"; + case LOANR3: return "medium non-repudiation level of assurance"; + case LOANR4: return "high non-repudiation level of assurance"; + case LOARA: return "remote access level of assurance value"; + case LOARA1: return "low remote access level of assurance"; + case LOARA2: return "basic remote access level of assurance"; + case LOARA3: return "medium remote access level of assurance"; + case LOARA4: return "high remote access level of assurance"; + case LOATK: return "token level of assurance value"; + case LOATK1: return "low token level of assurance"; + case LOATK2: return "basic token level of assurance"; + case LOATK3: return "medium token level of assurance"; + case LOATK4: return "high token level of assurance"; + case TRSTMECOBV: return "none supplied 6"; + case _SEVERITYOBSERVATION: return "SeverityObservation"; + case H: return "High"; + case L: return "Low"; + case M: return "Moderate"; + case _SUBJECTBODYPOSITION: return "_SubjectBodyPosition"; + case LLD: return "left lateral decubitus"; + case PRN: return "prone"; + case RLD: return "right lateral decubitus"; + case SFWL: return "Semi-Fowler's"; + case SIT: return "sitting"; + case STN: return "standing"; + case SUP: return "supine"; + case RTRD: return "reverse trendelenburg"; + case TRD: return "trendelenburg"; + case _VERIFICATIONOUTCOMEVALUE: return "verification outcome"; + case ACT: return "active coverage"; + case ACTPEND: return "active - pending investigation"; + case ELG: return "eligible"; + case INACT: return "inactive"; + case INPNDINV: return "inactive - pending investigation"; + case INPNDUPD: return "inactive - pending eligibility update"; + case NELG: return "not eligible"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValueEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValueEnumFactory.java new file mode 100644 index 00000000000..b3b23ccb2c3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ObservationValueEnumFactory.java @@ -0,0 +1,927 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ObservationValueEnumFactory implements EnumFactory { + + public V3ObservationValue fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActCoverageAssessmentObservationValue".equals(codeString)) + return V3ObservationValue._ACTCOVERAGEASSESSMENTOBSERVATIONVALUE; + if ("_ActFinancialStatusObservationValue".equals(codeString)) + return V3ObservationValue._ACTFINANCIALSTATUSOBSERVATIONVALUE; + if ("ASSET".equals(codeString)) + return V3ObservationValue.ASSET; + if ("ANNUITY".equals(codeString)) + return V3ObservationValue.ANNUITY; + if ("PROP".equals(codeString)) + return V3ObservationValue.PROP; + if ("RETACCT".equals(codeString)) + return V3ObservationValue.RETACCT; + if ("TRUST".equals(codeString)) + return V3ObservationValue.TRUST; + if ("INCOME".equals(codeString)) + return V3ObservationValue.INCOME; + if ("CHILD".equals(codeString)) + return V3ObservationValue.CHILD; + if ("DISABL".equals(codeString)) + return V3ObservationValue.DISABL; + if ("INVEST".equals(codeString)) + return V3ObservationValue.INVEST; + if ("PAY".equals(codeString)) + return V3ObservationValue.PAY; + if ("RETIRE".equals(codeString)) + return V3ObservationValue.RETIRE; + if ("SPOUSAL".equals(codeString)) + return V3ObservationValue.SPOUSAL; + if ("SUPPLE".equals(codeString)) + return V3ObservationValue.SUPPLE; + if ("TAX".equals(codeString)) + return V3ObservationValue.TAX; + if ("LIVEXP".equals(codeString)) + return V3ObservationValue.LIVEXP; + if ("CLOTH".equals(codeString)) + return V3ObservationValue.CLOTH; + if ("FOOD".equals(codeString)) + return V3ObservationValue.FOOD; + if ("HEALTH".equals(codeString)) + return V3ObservationValue.HEALTH; + if ("HOUSE".equals(codeString)) + return V3ObservationValue.HOUSE; + if ("LEGAL".equals(codeString)) + return V3ObservationValue.LEGAL; + if ("MORTG".equals(codeString)) + return V3ObservationValue.MORTG; + if ("RENT".equals(codeString)) + return V3ObservationValue.RENT; + if ("SUNDRY".equals(codeString)) + return V3ObservationValue.SUNDRY; + if ("TRANS".equals(codeString)) + return V3ObservationValue.TRANS; + if ("UTIL".equals(codeString)) + return V3ObservationValue.UTIL; + if ("ELSTAT".equals(codeString)) + return V3ObservationValue.ELSTAT; + if ("ADOPT".equals(codeString)) + return V3ObservationValue.ADOPT; + if ("BTHCERT".equals(codeString)) + return V3ObservationValue.BTHCERT; + if ("CCOC".equals(codeString)) + return V3ObservationValue.CCOC; + if ("DRLIC".equals(codeString)) + return V3ObservationValue.DRLIC; + if ("FOSTER".equals(codeString)) + return V3ObservationValue.FOSTER; + if ("MEMBER".equals(codeString)) + return V3ObservationValue.MEMBER; + if ("MIL".equals(codeString)) + return V3ObservationValue.MIL; + if ("MRGCERT".equals(codeString)) + return V3ObservationValue.MRGCERT; + if ("PASSPORT".equals(codeString)) + return V3ObservationValue.PASSPORT; + if ("STUDENRL".equals(codeString)) + return V3ObservationValue.STUDENRL; + if ("HLSTAT".equals(codeString)) + return V3ObservationValue.HLSTAT; + if ("DISABLE".equals(codeString)) + return V3ObservationValue.DISABLE; + if ("DRUG".equals(codeString)) + return V3ObservationValue.DRUG; + if ("IVDRG".equals(codeString)) + return V3ObservationValue.IVDRG; + if ("PGNT".equals(codeString)) + return V3ObservationValue.PGNT; + if ("LIVDEP".equals(codeString)) + return V3ObservationValue.LIVDEP; + if ("RELDEP".equals(codeString)) + return V3ObservationValue.RELDEP; + if ("SPSDEP".equals(codeString)) + return V3ObservationValue.SPSDEP; + if ("URELDEP".equals(codeString)) + return V3ObservationValue.URELDEP; + if ("LIVSIT".equals(codeString)) + return V3ObservationValue.LIVSIT; + if ("ALONE".equals(codeString)) + return V3ObservationValue.ALONE; + if ("DEPCHD".equals(codeString)) + return V3ObservationValue.DEPCHD; + if ("DEPSPS".equals(codeString)) + return V3ObservationValue.DEPSPS; + if ("DEPYGCHD".equals(codeString)) + return V3ObservationValue.DEPYGCHD; + if ("FAM".equals(codeString)) + return V3ObservationValue.FAM; + if ("RELAT".equals(codeString)) + return V3ObservationValue.RELAT; + if ("SPS".equals(codeString)) + return V3ObservationValue.SPS; + if ("UNREL".equals(codeString)) + return V3ObservationValue.UNREL; + if ("SOECSTAT".equals(codeString)) + return V3ObservationValue.SOECSTAT; + if ("ABUSE".equals(codeString)) + return V3ObservationValue.ABUSE; + if ("HMLESS".equals(codeString)) + return V3ObservationValue.HMLESS; + if ("ILGIM".equals(codeString)) + return V3ObservationValue.ILGIM; + if ("INCAR".equals(codeString)) + return V3ObservationValue.INCAR; + if ("PROB".equals(codeString)) + return V3ObservationValue.PROB; + if ("REFUG".equals(codeString)) + return V3ObservationValue.REFUG; + if ("UNEMPL".equals(codeString)) + return V3ObservationValue.UNEMPL; + if ("_AllergyTestValue".equals(codeString)) + return V3ObservationValue._ALLERGYTESTVALUE; + if ("A0".equals(codeString)) + return V3ObservationValue.A0; + if ("A1".equals(codeString)) + return V3ObservationValue.A1; + if ("A2".equals(codeString)) + return V3ObservationValue.A2; + if ("A3".equals(codeString)) + return V3ObservationValue.A3; + if ("A4".equals(codeString)) + return V3ObservationValue.A4; + if ("_CoverageLimitObservationValue".equals(codeString)) + return V3ObservationValue._COVERAGELIMITOBSERVATIONVALUE; + if ("_CoverageLevelObservationValue".equals(codeString)) + return V3ObservationValue._COVERAGELEVELOBSERVATIONVALUE; + if ("ADC".equals(codeString)) + return V3ObservationValue.ADC; + if ("CHD".equals(codeString)) + return V3ObservationValue.CHD; + if ("DEP".equals(codeString)) + return V3ObservationValue.DEP; + if ("DP".equals(codeString)) + return V3ObservationValue.DP; + if ("ECH".equals(codeString)) + return V3ObservationValue.ECH; + if ("FLY".equals(codeString)) + return V3ObservationValue.FLY; + if ("IND".equals(codeString)) + return V3ObservationValue.IND; + if ("SSP".equals(codeString)) + return V3ObservationValue.SSP; + if ("_GeneticObservationValue".equals(codeString)) + return V3ObservationValue._GENETICOBSERVATIONVALUE; + if ("Homozygote".equals(codeString)) + return V3ObservationValue.HOMOZYGOTE; + if ("_ObservationMeasureScoring".equals(codeString)) + return V3ObservationValue._OBSERVATIONMEASURESCORING; + if ("COHORT".equals(codeString)) + return V3ObservationValue.COHORT; + if ("CONTVAR".equals(codeString)) + return V3ObservationValue.CONTVAR; + if ("PROPOR".equals(codeString)) + return V3ObservationValue.PROPOR; + if ("RATIO".equals(codeString)) + return V3ObservationValue.RATIO; + if ("_ObservationMeasureType".equals(codeString)) + return V3ObservationValue._OBSERVATIONMEASURETYPE; + if ("COMPOSITE".equals(codeString)) + return V3ObservationValue.COMPOSITE; + if ("EFFICIENCY".equals(codeString)) + return V3ObservationValue.EFFICIENCY; + if ("EXPERIENCE".equals(codeString)) + return V3ObservationValue.EXPERIENCE; + if ("OUTCOME".equals(codeString)) + return V3ObservationValue.OUTCOME; + if ("PROCESS".equals(codeString)) + return V3ObservationValue.PROCESS; + if ("RESOURCE".equals(codeString)) + return V3ObservationValue.RESOURCE; + if ("STRUCTURE".equals(codeString)) + return V3ObservationValue.STRUCTURE; + if ("_ObservationPopulationInclusion".equals(codeString)) + return V3ObservationValue._OBSERVATIONPOPULATIONINCLUSION; + if ("DENEX".equals(codeString)) + return V3ObservationValue.DENEX; + if ("DENEXCEP".equals(codeString)) + return V3ObservationValue.DENEXCEP; + if ("DENOM".equals(codeString)) + return V3ObservationValue.DENOM; + if ("IP".equals(codeString)) + return V3ObservationValue.IP; + if ("IPP".equals(codeString)) + return V3ObservationValue.IPP; + if ("MSRPOPL".equals(codeString)) + return V3ObservationValue.MSRPOPL; + if ("NUMER".equals(codeString)) + return V3ObservationValue.NUMER; + if ("NUMEX".equals(codeString)) + return V3ObservationValue.NUMEX; + if ("_PartialCompletionScale".equals(codeString)) + return V3ObservationValue._PARTIALCOMPLETIONSCALE; + if ("G".equals(codeString)) + return V3ObservationValue.G; + if ("LE".equals(codeString)) + return V3ObservationValue.LE; + if ("ME".equals(codeString)) + return V3ObservationValue.ME; + if ("MI".equals(codeString)) + return V3ObservationValue.MI; + if ("N".equals(codeString)) + return V3ObservationValue.N; + if ("S".equals(codeString)) + return V3ObservationValue.S; + if ("_SecurityObservationValue".equals(codeString)) + return V3ObservationValue._SECURITYOBSERVATIONVALUE; + if ("_SECINTOBV".equals(codeString)) + return V3ObservationValue._SECINTOBV; + if ("_SECALTINTOBV".equals(codeString)) + return V3ObservationValue._SECALTINTOBV; + if ("ABSTRED".equals(codeString)) + return V3ObservationValue.ABSTRED; + if ("AGGRED".equals(codeString)) + return V3ObservationValue.AGGRED; + if ("ANONYED".equals(codeString)) + return V3ObservationValue.ANONYED; + if ("MAPPED".equals(codeString)) + return V3ObservationValue.MAPPED; + if ("MASKED".equals(codeString)) + return V3ObservationValue.MASKED; + if ("PSEUDED".equals(codeString)) + return V3ObservationValue.PSEUDED; + if ("REDACTED".equals(codeString)) + return V3ObservationValue.REDACTED; + if ("SYNTAC".equals(codeString)) + return V3ObservationValue.SYNTAC; + if ("TRSLT".equals(codeString)) + return V3ObservationValue.TRSLT; + if ("VERSIONED".equals(codeString)) + return V3ObservationValue.VERSIONED; + if ("_SECDATINTOBV".equals(codeString)) + return V3ObservationValue._SECDATINTOBV; + if ("CRYTOHASH".equals(codeString)) + return V3ObservationValue.CRYTOHASH; + if ("DIGSIG".equals(codeString)) + return V3ObservationValue.DIGSIG; + if ("_SECINTCONOBV".equals(codeString)) + return V3ObservationValue._SECINTCONOBV; + if ("HRELIABLE".equals(codeString)) + return V3ObservationValue.HRELIABLE; + if ("RELIABLE".equals(codeString)) + return V3ObservationValue.RELIABLE; + if ("UNCERTREL".equals(codeString)) + return V3ObservationValue.UNCERTREL; + if ("UNRELIABLE".equals(codeString)) + return V3ObservationValue.UNRELIABLE; + if ("_SECINTPRVOBV".equals(codeString)) + return V3ObservationValue._SECINTPRVOBV; + if ("_SECINTPRVABOBV".equals(codeString)) + return V3ObservationValue._SECINTPRVABOBV; + if ("CLINAST".equals(codeString)) + return V3ObservationValue.CLINAST; + if ("DEVAST".equals(codeString)) + return V3ObservationValue.DEVAST; + if ("HCPAST".equals(codeString)) + return V3ObservationValue.HCPAST; + if ("PACQAST".equals(codeString)) + return V3ObservationValue.PACQAST; + if ("PATAST".equals(codeString)) + return V3ObservationValue.PATAST; + if ("PAYAST".equals(codeString)) + return V3ObservationValue.PAYAST; + if ("PROAST".equals(codeString)) + return V3ObservationValue.PROAST; + if ("SDMAST".equals(codeString)) + return V3ObservationValue.SDMAST; + if ("_SECINTPRVRBOBV".equals(codeString)) + return V3ObservationValue._SECINTPRVRBOBV; + if ("CLINRPT".equals(codeString)) + return V3ObservationValue.CLINRPT; + if ("DEVRPT".equals(codeString)) + return V3ObservationValue.DEVRPT; + if ("HCPRPT".equals(codeString)) + return V3ObservationValue.HCPRPT; + if ("PACQRPT".equals(codeString)) + return V3ObservationValue.PACQRPT; + if ("PATRPT".equals(codeString)) + return V3ObservationValue.PATRPT; + if ("PAYRPT".equals(codeString)) + return V3ObservationValue.PAYRPT; + if ("PRORPT".equals(codeString)) + return V3ObservationValue.PRORPT; + if ("SDMRPT".equals(codeString)) + return V3ObservationValue.SDMRPT; + if ("SECTRSTOBV".equals(codeString)) + return V3ObservationValue.SECTRSTOBV; + if ("TRSTACCRDOBV".equals(codeString)) + return V3ObservationValue.TRSTACCRDOBV; + if ("TRSTAGREOBV".equals(codeString)) + return V3ObservationValue.TRSTAGREOBV; + if ("TRSTCERTOBV".equals(codeString)) + return V3ObservationValue.TRSTCERTOBV; + if ("TRSTLOAOBV".equals(codeString)) + return V3ObservationValue.TRSTLOAOBV; + if ("LOAAN".equals(codeString)) + return V3ObservationValue.LOAAN; + if ("LOAAN1".equals(codeString)) + return V3ObservationValue.LOAAN1; + if ("LOAAN2".equals(codeString)) + return V3ObservationValue.LOAAN2; + if ("LOAAN3".equals(codeString)) + return V3ObservationValue.LOAAN3; + if ("LOAAN4".equals(codeString)) + return V3ObservationValue.LOAAN4; + if ("LOAAP".equals(codeString)) + return V3ObservationValue.LOAAP; + if ("LOAAP1".equals(codeString)) + return V3ObservationValue.LOAAP1; + if ("LOAAP2".equals(codeString)) + return V3ObservationValue.LOAAP2; + if ("LOAAP3".equals(codeString)) + return V3ObservationValue.LOAAP3; + if ("LOAAP4".equals(codeString)) + return V3ObservationValue.LOAAP4; + if ("LOAAS".equals(codeString)) + return V3ObservationValue.LOAAS; + if ("LOAAS1".equals(codeString)) + return V3ObservationValue.LOAAS1; + if ("LOAAS2".equals(codeString)) + return V3ObservationValue.LOAAS2; + if ("LOAAS3".equals(codeString)) + return V3ObservationValue.LOAAS3; + if ("LOAAS4".equals(codeString)) + return V3ObservationValue.LOAAS4; + if ("LOACM".equals(codeString)) + return V3ObservationValue.LOACM; + if ("LOACM1".equals(codeString)) + return V3ObservationValue.LOACM1; + if ("LOACM2".equals(codeString)) + return V3ObservationValue.LOACM2; + if ("LOACM3".equals(codeString)) + return V3ObservationValue.LOACM3; + if ("LOACM4".equals(codeString)) + return V3ObservationValue.LOACM4; + if ("LOAID".equals(codeString)) + return V3ObservationValue.LOAID; + if ("LOAID1".equals(codeString)) + return V3ObservationValue.LOAID1; + if ("LOAID2".equals(codeString)) + return V3ObservationValue.LOAID2; + if ("LOAID3".equals(codeString)) + return V3ObservationValue.LOAID3; + if ("LOAID4".equals(codeString)) + return V3ObservationValue.LOAID4; + if ("LOANR".equals(codeString)) + return V3ObservationValue.LOANR; + if ("LOANR1".equals(codeString)) + return V3ObservationValue.LOANR1; + if ("LOANR2".equals(codeString)) + return V3ObservationValue.LOANR2; + if ("LOANR3".equals(codeString)) + return V3ObservationValue.LOANR3; + if ("LOANR4".equals(codeString)) + return V3ObservationValue.LOANR4; + if ("LOARA".equals(codeString)) + return V3ObservationValue.LOARA; + if ("LOARA1".equals(codeString)) + return V3ObservationValue.LOARA1; + if ("LOARA2".equals(codeString)) + return V3ObservationValue.LOARA2; + if ("LOARA3".equals(codeString)) + return V3ObservationValue.LOARA3; + if ("LOARA4".equals(codeString)) + return V3ObservationValue.LOARA4; + if ("LOATK".equals(codeString)) + return V3ObservationValue.LOATK; + if ("LOATK1".equals(codeString)) + return V3ObservationValue.LOATK1; + if ("LOATK2".equals(codeString)) + return V3ObservationValue.LOATK2; + if ("LOATK3".equals(codeString)) + return V3ObservationValue.LOATK3; + if ("LOATK4".equals(codeString)) + return V3ObservationValue.LOATK4; + if ("TRSTMECOBV".equals(codeString)) + return V3ObservationValue.TRSTMECOBV; + if ("_SeverityObservation".equals(codeString)) + return V3ObservationValue._SEVERITYOBSERVATION; + if ("H".equals(codeString)) + return V3ObservationValue.H; + if ("L".equals(codeString)) + return V3ObservationValue.L; + if ("M".equals(codeString)) + return V3ObservationValue.M; + if ("_SubjectBodyPosition".equals(codeString)) + return V3ObservationValue._SUBJECTBODYPOSITION; + if ("LLD".equals(codeString)) + return V3ObservationValue.LLD; + if ("PRN".equals(codeString)) + return V3ObservationValue.PRN; + if ("RLD".equals(codeString)) + return V3ObservationValue.RLD; + if ("SFWL".equals(codeString)) + return V3ObservationValue.SFWL; + if ("SIT".equals(codeString)) + return V3ObservationValue.SIT; + if ("STN".equals(codeString)) + return V3ObservationValue.STN; + if ("SUP".equals(codeString)) + return V3ObservationValue.SUP; + if ("RTRD".equals(codeString)) + return V3ObservationValue.RTRD; + if ("TRD".equals(codeString)) + return V3ObservationValue.TRD; + if ("_VerificationOutcomeValue".equals(codeString)) + return V3ObservationValue._VERIFICATIONOUTCOMEVALUE; + if ("ACT".equals(codeString)) + return V3ObservationValue.ACT; + if ("ACTPEND".equals(codeString)) + return V3ObservationValue.ACTPEND; + if ("ELG".equals(codeString)) + return V3ObservationValue.ELG; + if ("INACT".equals(codeString)) + return V3ObservationValue.INACT; + if ("INPNDINV".equals(codeString)) + return V3ObservationValue.INPNDINV; + if ("INPNDUPD".equals(codeString)) + return V3ObservationValue.INPNDUPD; + if ("NELG".equals(codeString)) + return V3ObservationValue.NELG; + throw new IllegalArgumentException("Unknown V3ObservationValue code '"+codeString+"'"); + } + + public String toCode(V3ObservationValue code) { + if (code == V3ObservationValue._ACTCOVERAGEASSESSMENTOBSERVATIONVALUE) + return "_ActCoverageAssessmentObservationValue"; + if (code == V3ObservationValue._ACTFINANCIALSTATUSOBSERVATIONVALUE) + return "_ActFinancialStatusObservationValue"; + if (code == V3ObservationValue.ASSET) + return "ASSET"; + if (code == V3ObservationValue.ANNUITY) + return "ANNUITY"; + if (code == V3ObservationValue.PROP) + return "PROP"; + if (code == V3ObservationValue.RETACCT) + return "RETACCT"; + if (code == V3ObservationValue.TRUST) + return "TRUST"; + if (code == V3ObservationValue.INCOME) + return "INCOME"; + if (code == V3ObservationValue.CHILD) + return "CHILD"; + if (code == V3ObservationValue.DISABL) + return "DISABL"; + if (code == V3ObservationValue.INVEST) + return "INVEST"; + if (code == V3ObservationValue.PAY) + return "PAY"; + if (code == V3ObservationValue.RETIRE) + return "RETIRE"; + if (code == V3ObservationValue.SPOUSAL) + return "SPOUSAL"; + if (code == V3ObservationValue.SUPPLE) + return "SUPPLE"; + if (code == V3ObservationValue.TAX) + return "TAX"; + if (code == V3ObservationValue.LIVEXP) + return "LIVEXP"; + if (code == V3ObservationValue.CLOTH) + return "CLOTH"; + if (code == V3ObservationValue.FOOD) + return "FOOD"; + if (code == V3ObservationValue.HEALTH) + return "HEALTH"; + if (code == V3ObservationValue.HOUSE) + return "HOUSE"; + if (code == V3ObservationValue.LEGAL) + return "LEGAL"; + if (code == V3ObservationValue.MORTG) + return "MORTG"; + if (code == V3ObservationValue.RENT) + return "RENT"; + if (code == V3ObservationValue.SUNDRY) + return "SUNDRY"; + if (code == V3ObservationValue.TRANS) + return "TRANS"; + if (code == V3ObservationValue.UTIL) + return "UTIL"; + if (code == V3ObservationValue.ELSTAT) + return "ELSTAT"; + if (code == V3ObservationValue.ADOPT) + return "ADOPT"; + if (code == V3ObservationValue.BTHCERT) + return "BTHCERT"; + if (code == V3ObservationValue.CCOC) + return "CCOC"; + if (code == V3ObservationValue.DRLIC) + return "DRLIC"; + if (code == V3ObservationValue.FOSTER) + return "FOSTER"; + if (code == V3ObservationValue.MEMBER) + return "MEMBER"; + if (code == V3ObservationValue.MIL) + return "MIL"; + if (code == V3ObservationValue.MRGCERT) + return "MRGCERT"; + if (code == V3ObservationValue.PASSPORT) + return "PASSPORT"; + if (code == V3ObservationValue.STUDENRL) + return "STUDENRL"; + if (code == V3ObservationValue.HLSTAT) + return "HLSTAT"; + if (code == V3ObservationValue.DISABLE) + return "DISABLE"; + if (code == V3ObservationValue.DRUG) + return "DRUG"; + if (code == V3ObservationValue.IVDRG) + return "IVDRG"; + if (code == V3ObservationValue.PGNT) + return "PGNT"; + if (code == V3ObservationValue.LIVDEP) + return "LIVDEP"; + if (code == V3ObservationValue.RELDEP) + return "RELDEP"; + if (code == V3ObservationValue.SPSDEP) + return "SPSDEP"; + if (code == V3ObservationValue.URELDEP) + return "URELDEP"; + if (code == V3ObservationValue.LIVSIT) + return "LIVSIT"; + if (code == V3ObservationValue.ALONE) + return "ALONE"; + if (code == V3ObservationValue.DEPCHD) + return "DEPCHD"; + if (code == V3ObservationValue.DEPSPS) + return "DEPSPS"; + if (code == V3ObservationValue.DEPYGCHD) + return "DEPYGCHD"; + if (code == V3ObservationValue.FAM) + return "FAM"; + if (code == V3ObservationValue.RELAT) + return "RELAT"; + if (code == V3ObservationValue.SPS) + return "SPS"; + if (code == V3ObservationValue.UNREL) + return "UNREL"; + if (code == V3ObservationValue.SOECSTAT) + return "SOECSTAT"; + if (code == V3ObservationValue.ABUSE) + return "ABUSE"; + if (code == V3ObservationValue.HMLESS) + return "HMLESS"; + if (code == V3ObservationValue.ILGIM) + return "ILGIM"; + if (code == V3ObservationValue.INCAR) + return "INCAR"; + if (code == V3ObservationValue.PROB) + return "PROB"; + if (code == V3ObservationValue.REFUG) + return "REFUG"; + if (code == V3ObservationValue.UNEMPL) + return "UNEMPL"; + if (code == V3ObservationValue._ALLERGYTESTVALUE) + return "_AllergyTestValue"; + if (code == V3ObservationValue.A0) + return "A0"; + if (code == V3ObservationValue.A1) + return "A1"; + if (code == V3ObservationValue.A2) + return "A2"; + if (code == V3ObservationValue.A3) + return "A3"; + if (code == V3ObservationValue.A4) + return "A4"; + if (code == V3ObservationValue._COVERAGELIMITOBSERVATIONVALUE) + return "_CoverageLimitObservationValue"; + if (code == V3ObservationValue._COVERAGELEVELOBSERVATIONVALUE) + return "_CoverageLevelObservationValue"; + if (code == V3ObservationValue.ADC) + return "ADC"; + if (code == V3ObservationValue.CHD) + return "CHD"; + if (code == V3ObservationValue.DEP) + return "DEP"; + if (code == V3ObservationValue.DP) + return "DP"; + if (code == V3ObservationValue.ECH) + return "ECH"; + if (code == V3ObservationValue.FLY) + return "FLY"; + if (code == V3ObservationValue.IND) + return "IND"; + if (code == V3ObservationValue.SSP) + return "SSP"; + if (code == V3ObservationValue._GENETICOBSERVATIONVALUE) + return "_GeneticObservationValue"; + if (code == V3ObservationValue.HOMOZYGOTE) + return "Homozygote"; + if (code == V3ObservationValue._OBSERVATIONMEASURESCORING) + return "_ObservationMeasureScoring"; + if (code == V3ObservationValue.COHORT) + return "COHORT"; + if (code == V3ObservationValue.CONTVAR) + return "CONTVAR"; + if (code == V3ObservationValue.PROPOR) + return "PROPOR"; + if (code == V3ObservationValue.RATIO) + return "RATIO"; + if (code == V3ObservationValue._OBSERVATIONMEASURETYPE) + return "_ObservationMeasureType"; + if (code == V3ObservationValue.COMPOSITE) + return "COMPOSITE"; + if (code == V3ObservationValue.EFFICIENCY) + return "EFFICIENCY"; + if (code == V3ObservationValue.EXPERIENCE) + return "EXPERIENCE"; + if (code == V3ObservationValue.OUTCOME) + return "OUTCOME"; + if (code == V3ObservationValue.PROCESS) + return "PROCESS"; + if (code == V3ObservationValue.RESOURCE) + return "RESOURCE"; + if (code == V3ObservationValue.STRUCTURE) + return "STRUCTURE"; + if (code == V3ObservationValue._OBSERVATIONPOPULATIONINCLUSION) + return "_ObservationPopulationInclusion"; + if (code == V3ObservationValue.DENEX) + return "DENEX"; + if (code == V3ObservationValue.DENEXCEP) + return "DENEXCEP"; + if (code == V3ObservationValue.DENOM) + return "DENOM"; + if (code == V3ObservationValue.IP) + return "IP"; + if (code == V3ObservationValue.IPP) + return "IPP"; + if (code == V3ObservationValue.MSRPOPL) + return "MSRPOPL"; + if (code == V3ObservationValue.NUMER) + return "NUMER"; + if (code == V3ObservationValue.NUMEX) + return "NUMEX"; + if (code == V3ObservationValue._PARTIALCOMPLETIONSCALE) + return "_PartialCompletionScale"; + if (code == V3ObservationValue.G) + return "G"; + if (code == V3ObservationValue.LE) + return "LE"; + if (code == V3ObservationValue.ME) + return "ME"; + if (code == V3ObservationValue.MI) + return "MI"; + if (code == V3ObservationValue.N) + return "N"; + if (code == V3ObservationValue.S) + return "S"; + if (code == V3ObservationValue._SECURITYOBSERVATIONVALUE) + return "_SecurityObservationValue"; + if (code == V3ObservationValue._SECINTOBV) + return "_SECINTOBV"; + if (code == V3ObservationValue._SECALTINTOBV) + return "_SECALTINTOBV"; + if (code == V3ObservationValue.ABSTRED) + return "ABSTRED"; + if (code == V3ObservationValue.AGGRED) + return "AGGRED"; + if (code == V3ObservationValue.ANONYED) + return "ANONYED"; + if (code == V3ObservationValue.MAPPED) + return "MAPPED"; + if (code == V3ObservationValue.MASKED) + return "MASKED"; + if (code == V3ObservationValue.PSEUDED) + return "PSEUDED"; + if (code == V3ObservationValue.REDACTED) + return "REDACTED"; + if (code == V3ObservationValue.SYNTAC) + return "SYNTAC"; + if (code == V3ObservationValue.TRSLT) + return "TRSLT"; + if (code == V3ObservationValue.VERSIONED) + return "VERSIONED"; + if (code == V3ObservationValue._SECDATINTOBV) + return "_SECDATINTOBV"; + if (code == V3ObservationValue.CRYTOHASH) + return "CRYTOHASH"; + if (code == V3ObservationValue.DIGSIG) + return "DIGSIG"; + if (code == V3ObservationValue._SECINTCONOBV) + return "_SECINTCONOBV"; + if (code == V3ObservationValue.HRELIABLE) + return "HRELIABLE"; + if (code == V3ObservationValue.RELIABLE) + return "RELIABLE"; + if (code == V3ObservationValue.UNCERTREL) + return "UNCERTREL"; + if (code == V3ObservationValue.UNRELIABLE) + return "UNRELIABLE"; + if (code == V3ObservationValue._SECINTPRVOBV) + return "_SECINTPRVOBV"; + if (code == V3ObservationValue._SECINTPRVABOBV) + return "_SECINTPRVABOBV"; + if (code == V3ObservationValue.CLINAST) + return "CLINAST"; + if (code == V3ObservationValue.DEVAST) + return "DEVAST"; + if (code == V3ObservationValue.HCPAST) + return "HCPAST"; + if (code == V3ObservationValue.PACQAST) + return "PACQAST"; + if (code == V3ObservationValue.PATAST) + return "PATAST"; + if (code == V3ObservationValue.PAYAST) + return "PAYAST"; + if (code == V3ObservationValue.PROAST) + return "PROAST"; + if (code == V3ObservationValue.SDMAST) + return "SDMAST"; + if (code == V3ObservationValue._SECINTPRVRBOBV) + return "_SECINTPRVRBOBV"; + if (code == V3ObservationValue.CLINRPT) + return "CLINRPT"; + if (code == V3ObservationValue.DEVRPT) + return "DEVRPT"; + if (code == V3ObservationValue.HCPRPT) + return "HCPRPT"; + if (code == V3ObservationValue.PACQRPT) + return "PACQRPT"; + if (code == V3ObservationValue.PATRPT) + return "PATRPT"; + if (code == V3ObservationValue.PAYRPT) + return "PAYRPT"; + if (code == V3ObservationValue.PRORPT) + return "PRORPT"; + if (code == V3ObservationValue.SDMRPT) + return "SDMRPT"; + if (code == V3ObservationValue.SECTRSTOBV) + return "SECTRSTOBV"; + if (code == V3ObservationValue.TRSTACCRDOBV) + return "TRSTACCRDOBV"; + if (code == V3ObservationValue.TRSTAGREOBV) + return "TRSTAGREOBV"; + if (code == V3ObservationValue.TRSTCERTOBV) + return "TRSTCERTOBV"; + if (code == V3ObservationValue.TRSTLOAOBV) + return "TRSTLOAOBV"; + if (code == V3ObservationValue.LOAAN) + return "LOAAN"; + if (code == V3ObservationValue.LOAAN1) + return "LOAAN1"; + if (code == V3ObservationValue.LOAAN2) + return "LOAAN2"; + if (code == V3ObservationValue.LOAAN3) + return "LOAAN3"; + if (code == V3ObservationValue.LOAAN4) + return "LOAAN4"; + if (code == V3ObservationValue.LOAAP) + return "LOAAP"; + if (code == V3ObservationValue.LOAAP1) + return "LOAAP1"; + if (code == V3ObservationValue.LOAAP2) + return "LOAAP2"; + if (code == V3ObservationValue.LOAAP3) + return "LOAAP3"; + if (code == V3ObservationValue.LOAAP4) + return "LOAAP4"; + if (code == V3ObservationValue.LOAAS) + return "LOAAS"; + if (code == V3ObservationValue.LOAAS1) + return "LOAAS1"; + if (code == V3ObservationValue.LOAAS2) + return "LOAAS2"; + if (code == V3ObservationValue.LOAAS3) + return "LOAAS3"; + if (code == V3ObservationValue.LOAAS4) + return "LOAAS4"; + if (code == V3ObservationValue.LOACM) + return "LOACM"; + if (code == V3ObservationValue.LOACM1) + return "LOACM1"; + if (code == V3ObservationValue.LOACM2) + return "LOACM2"; + if (code == V3ObservationValue.LOACM3) + return "LOACM3"; + if (code == V3ObservationValue.LOACM4) + return "LOACM4"; + if (code == V3ObservationValue.LOAID) + return "LOAID"; + if (code == V3ObservationValue.LOAID1) + return "LOAID1"; + if (code == V3ObservationValue.LOAID2) + return "LOAID2"; + if (code == V3ObservationValue.LOAID3) + return "LOAID3"; + if (code == V3ObservationValue.LOAID4) + return "LOAID4"; + if (code == V3ObservationValue.LOANR) + return "LOANR"; + if (code == V3ObservationValue.LOANR1) + return "LOANR1"; + if (code == V3ObservationValue.LOANR2) + return "LOANR2"; + if (code == V3ObservationValue.LOANR3) + return "LOANR3"; + if (code == V3ObservationValue.LOANR4) + return "LOANR4"; + if (code == V3ObservationValue.LOARA) + return "LOARA"; + if (code == V3ObservationValue.LOARA1) + return "LOARA1"; + if (code == V3ObservationValue.LOARA2) + return "LOARA2"; + if (code == V3ObservationValue.LOARA3) + return "LOARA3"; + if (code == V3ObservationValue.LOARA4) + return "LOARA4"; + if (code == V3ObservationValue.LOATK) + return "LOATK"; + if (code == V3ObservationValue.LOATK1) + return "LOATK1"; + if (code == V3ObservationValue.LOATK2) + return "LOATK2"; + if (code == V3ObservationValue.LOATK3) + return "LOATK3"; + if (code == V3ObservationValue.LOATK4) + return "LOATK4"; + if (code == V3ObservationValue.TRSTMECOBV) + return "TRSTMECOBV"; + if (code == V3ObservationValue._SEVERITYOBSERVATION) + return "_SeverityObservation"; + if (code == V3ObservationValue.H) + return "H"; + if (code == V3ObservationValue.L) + return "L"; + if (code == V3ObservationValue.M) + return "M"; + if (code == V3ObservationValue._SUBJECTBODYPOSITION) + return "_SubjectBodyPosition"; + if (code == V3ObservationValue.LLD) + return "LLD"; + if (code == V3ObservationValue.PRN) + return "PRN"; + if (code == V3ObservationValue.RLD) + return "RLD"; + if (code == V3ObservationValue.SFWL) + return "SFWL"; + if (code == V3ObservationValue.SIT) + return "SIT"; + if (code == V3ObservationValue.STN) + return "STN"; + if (code == V3ObservationValue.SUP) + return "SUP"; + if (code == V3ObservationValue.RTRD) + return "RTRD"; + if (code == V3ObservationValue.TRD) + return "TRD"; + if (code == V3ObservationValue._VERIFICATIONOUTCOMEVALUE) + return "_VerificationOutcomeValue"; + if (code == V3ObservationValue.ACT) + return "ACT"; + if (code == V3ObservationValue.ACTPEND) + return "ACTPEND"; + if (code == V3ObservationValue.ELG) + return "ELG"; + if (code == V3ObservationValue.INACT) + return "INACT"; + if (code == V3ObservationValue.INPNDINV) + return "INPNDINV"; + if (code == V3ObservationValue.INPNDUPD) + return "INPNDUPD"; + if (code == V3ObservationValue.NELG) + return "NELG"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugForm.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugForm.java new file mode 100644 index 00000000000..29cb18bc5e2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugForm.java @@ -0,0 +1,1507 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3OrderableDrugForm { + + /** + * AdministrableDrugForm + */ + _ADMINISTRABLEDRUGFORM, + /** + * Applicatorful + */ + APPFUL, + /** + * Drops + */ + DROP, + /** + * Nasal Drops + */ + NDROP, + /** + * Ophthalmic Drops + */ + OPDROP, + /** + * Oral Drops + */ + ORDROP, + /** + * Otic Drops + */ + OTDROP, + /** + * Puff + */ + PUFF, + /** + * Scoops + */ + SCOOP, + /** + * Sprays + */ + SPRY, + /** + * DispensableDrugForm + */ + _DISPENSABLEDRUGFORM, + /** + * Any elastic aeriform fluid in which the molecules are separated from one another and have free paths. + */ + _GASDRUGFORM, + /** + * Gas for Inhalation + */ + GASINHL, + /** + * GasLiquidMixture + */ + _GASLIQUIDMIXTURE, + /** + * Aerosol + */ + AER, + /** + * Breath Activated Inhaler + */ + BAINHL, + /** + * Inhalant Solution + */ + INHLSOL, + /** + * Metered Dose Inhaler + */ + MDINHL, + /** + * Nasal Spray + */ + NASSPRY, + /** + * Dermal Spray + */ + DERMSPRY, + /** + * Foam + */ + FOAM, + /** + * Foam with Applicator + */ + FOAMAPL, + /** + * Rectal foam + */ + RECFORM, + /** + * Vaginal foam + */ + VAGFOAM, + /** + * Vaginal foam with applicator + */ + VAGFOAMAPL, + /** + * Rectal Spray + */ + RECSPRY, + /** + * Vaginal Spray + */ + VAGSPRY, + /** + * GasSolidSpray + */ + _GASSOLIDSPRAY, + /** + * Inhalant + */ + INHL, + /** + * Breath Activated Powder Inhaler + */ + BAINHLPWD, + /** + * Inhalant Powder + */ + INHLPWD, + /** + * Metered Dose Powder Inhaler + */ + MDINHLPWD, + /** + * Nasal Inhalant + */ + NASINHL, + /** + * Oral Inhalant + */ + ORINHL, + /** + * Powder Spray + */ + PWDSPRY, + /** + * Spray with Adaptor + */ + SPRYADAPT, + /** + * A state of substance that is an intermediate one entered into as matter goes from solid to gas; liquids are also intermediate in that they have neither the orderliness of a crystal nor the randomness of a gas. (Note: This term should not be used to describe solutions, only pure chemicals in their liquid state.) + */ + _LIQUID, + /** + * Liquid Cleanser + */ + LIQCLN, + /** + * Medicated Liquid Soap + */ + LIQSOAP, + /** + * A liquid soap or detergent used to clean the hair and scalp and is often used as a vehicle for dermatologic agents. + */ + SHMP, + /** + * An unctuous, combustible substance which is liquid, or easily liquefiable, on warming, and is soluble in ether but insoluble in water. Such substances, depending on their origin, are classified as animal, mineral, or vegetable oils. + */ + OIL, + /** + * Topical Oil + */ + TOPOIL, + /** + * A liquid preparation that contains one or more chemical substances dissolved, i.e., molecularly dispersed, in a suitable solvent or mixture of mutually miscible solvents. + */ + SOL, + /** + * Intraperitoneal Solution + */ + IPSOL, + /** + * A sterile solution intended to bathe or flush open wounds or body cavities; they're used topically, never parenterally. + */ + IRSOL, + /** + * A liquid preparation, intended for the irrigative cleansing of the vagina, that is prepared from powders, liquid solutions, or liquid concentrates and contains one or more chemical substances dissolved in a suitable solvent or mutually miscible solvents. + */ + DOUCHE, + /** + * A rectal preparation for therapeutic, diagnostic, or nutritive purposes. + */ + ENEMA, + /** + * Ophthalmic Irrigation Solution + */ + OPIRSOL, + /** + * Intravenous Solution + */ + IVSOL, + /** + * Oral Solution + */ + ORALSOL, + /** + * A clear, pleasantly flavored, sweetened hydroalcoholic liquid containing dissolved medicinal agents; it is intended for oral use. + */ + ELIXIR, + /** + * An aqueous solution which is most often used for its deodorant, refreshing, or antiseptic effect. + */ + RINSE, + /** + * An oral solution containing high concentrations of sucrose or other sugars; the term has also been used to include any other liquid dosage form prepared in a sweet and viscid vehicle, including oral suspensions. + */ + SYRUP, + /** + * Rectal Solution + */ + RECSOL, + /** + * Topical Solution + */ + TOPSOL, + /** + * A solution or mixture of various substances in oil, alcoholic solutions of soap, or emulsions intended for external application. + */ + LIN, + /** + * Mucous Membrane Topical Solution + */ + MUCTOPSOL, + /** + * Tincture + */ + TINC, + /** + * A two-phase system in which one liquid is dispersed throughout another liquid in the form of small droplets. + */ + _LIQUIDLIQUIDEMULSION, + /** + * A semisolid dosage form containing one or more drug substances dissolved or dispersed in a suitable base; more recently, the term has been restricted to products consisting of oil-in-water emulsions or aqueous microcrystalline dispersions of long chain fatty acids or alcohols that are water washable and more cosmetically and aesthetically acceptable. + */ + CRM, + /** + * Nasal Cream + */ + NASCRM, + /** + * Ophthalmic Cream + */ + OPCRM, + /** + * Oral Cream + */ + ORCRM, + /** + * Otic Cream + */ + OTCRM, + /** + * Rectal Cream + */ + RECCRM, + /** + * Topical Cream + */ + TOPCRM, + /** + * Vaginal Cream + */ + VAGCRM, + /** + * Vaginal Cream with Applicator + */ + VAGCRMAPL, + /** + * The term "lotion" has been used to categorize many topical suspensions, solutions and emulsions intended for application to the skin. + */ + LTN, + /** + * Topical Lotion + */ + TOPLTN, + /** + * A semisolid preparation intended for external application to the skin or mucous membranes. + */ + OINT, + /** + * Nasal Ointment + */ + NASOINT, + /** + * Ointment with Applicator + */ + OINTAPL, + /** + * Ophthalmic Ointment + */ + OPOINT, + /** + * Otic Ointment + */ + OTOINT, + /** + * Rectal Ointment + */ + RECOINT, + /** + * Topical Ointment + */ + TOPOINT, + /** + * Vaginal Ointment + */ + VAGOINT, + /** + * Vaginal Ointment with Applicator + */ + VAGOINTAPL, + /** + * A liquid preparation which consists of solid particles dispersed throughout a liquid phase in which the particles are not soluble. + */ + _LIQUIDSOLIDSUSPENSION, + /** + * A semisolid system consisting of either suspensions made up of small inorganic particles or large organic molecules interpenetrated by a liquid. + */ + GEL, + /** + * Gel with Applicator + */ + GELAPL, + /** + * Nasal Gel + */ + NASGEL, + /** + * Ophthalmic Gel + */ + OPGEL, + /** + * Otic Gel + */ + OTGEL, + /** + * Topical Gel + */ + TOPGEL, + /** + * Urethral Gel + */ + URETHGEL, + /** + * Vaginal Gel + */ + VAGGEL, + /** + * Vaginal Gel with Applicator + */ + VGELAPL, + /** + * A semisolid dosage form that contains one or more drug substances intended for topical application. + */ + PASTE, + /** + * Pudding + */ + PUD, + /** + * A paste formulation intended to clean and/or polish the teeth, and which may contain certain additional agents. + */ + TPASTE, + /** + * Suspension + */ + SUSP, + /** + * Intrathecal Suspension + */ + ITSUSP, + /** + * Ophthalmic Suspension + */ + OPSUSP, + /** + * Oral Suspension + */ + ORSUSP, + /** + * Extended-Release Suspension + */ + ERSUSP, + /** + * 12 Hour Extended-Release Suspension + */ + ERSUSP12, + /** + * 24 Hour Extended Release Suspension + */ + ERSUSP24, + /** + * Otic Suspension + */ + OTSUSP, + /** + * Rectal Suspension + */ + RECSUSP, + /** + * SolidDrugForm + */ + _SOLIDDRUGFORM, + /** + * Bar + */ + BAR, + /** + * Bar Soap + */ + BARSOAP, + /** + * Medicated Bar Soap + */ + MEDBAR, + /** + * A solid dosage form usually in the form of a rectangle that is meant to be chewed. + */ + CHEWBAR, + /** + * A solid dosage form in the shape of a small ball. + */ + BEAD, + /** + * Cake + */ + CAKE, + /** + * A substance that serves to produce solid union between two surfaces. + */ + CEMENT, + /** + * A naturally produced angular solid of definite form in which the ultimate units from which it is built up are systematically arranged; they are usually evenly spaced on a regular space lattice. + */ + CRYS, + /** + * A circular plate-like organ or structure. + */ + DISK, + /** + * Flakes + */ + FLAKE, + /** + * A small particle or grain. + */ + GRAN, + /** + * A sweetened and flavored insoluble plastic material of various shapes which when chewed, releases a drug substance into the oral cavity. + */ + GUM, + /** + * Pad + */ + PAD, + /** + * Medicated Pad + */ + MEDPAD, + /** + * A drug delivery system that contains an adhesived backing and that permits its ingredients to diffuse from some portion of it (e.g., the backing itself, a reservoir, the adhesive, or some other component) into the body from the external site where it is applied. + */ + PATCH, + /** + * Transdermal Patch + */ + TPATCH, + /** + * 16 Hour Transdermal Patch + */ + TPATH16, + /** + * 24 Hour Transdermal Patch + */ + TPATH24, + /** + * Biweekly Transdermal Patch + */ + TPATH2WK, + /** + * 72 Hour Transdermal Patch + */ + TPATH72, + /** + * Weekly Transdermal Patch + */ + TPATHWK, + /** + * A small sterile solid mass consisting of a highly purified drug (with or without excipients) made by the formation of granules, or by compression and molding. + */ + PELLET, + /** + * A small, round solid dosage form containing a medicinal agent intended for oral administration. + */ + PILL, + /** + * A solid dosage form in which the drug is enclosed within either a hard or soft soluble container or "shell" made from a suitable form of gelatin. + */ + CAP, + /** + * Oral Capsule + */ + ORCAP, + /** + * Enteric Coated Capsule + */ + ENTCAP, + /** + * Extended Release Enteric Coated Capsule + */ + ERENTCAP, + /** + * A solid dosage form in which the drug is enclosed within either a hard or soft soluble container made from a suitable form of gelatin, and which releases a drug (or drugs) in such a manner to allow a reduction in dosing frequency as compared to that drug (or drugs) presented as a conventional dosage form. + */ + ERCAP, + /** + * 12 Hour Extended Release Capsule + */ + ERCAP12, + /** + * 24 Hour Extended Release Capsule + */ + ERCAP24, + /** + * A solid dosage form containing medicinal substances with or without suitable diluents. + */ + TAB, + /** + * Oral Tablet + */ + ORTAB, + /** + * Buccal Tablet + */ + BUCTAB, + /** + * Sustained Release Buccal Tablet + */ + SRBUCTAB, + /** + * Caplet + */ + CAPLET, + /** + * A solid dosage form containing medicinal substances with or without suitable diluents that is intended to be chewed, producing a pleasant tasting residue in the oral cavity that is easily swallowed and does not leave a bitter or unpleasant after-taste. + */ + CHEWTAB, + /** + * Coated Particles Tablet + */ + CPTAB, + /** + * A solid dosage form containing medicinal substances which disintegrates rapidly, usually within a matter of seconds, when placed upon the tongue. + */ + DISINTAB, + /** + * Delayed Release Tablet + */ + DRTAB, + /** + * Enteric Coated Tablet + */ + ECTAB, + /** + * Extended Release Enteric Coated Tablet + */ + ERECTAB, + /** + * A solid dosage form containing a drug which allows at least a reduction in dosing frequency as compared to that drug presented in conventional dosage form. + */ + ERTAB, + /** + * 12 Hour Extended Release Tablet + */ + ERTAB12, + /** + * 24 Hour Extended Release Tablet + */ + ERTAB24, + /** + * A solid preparation containing one or more medicaments, usually in a flavored, sweetened base which is intended to dissolve or disintegrate slowly in the mouth. + */ + ORTROCHE, + /** + * Sublingual Tablet + */ + SLTAB, + /** + * Vaginal Tablet + */ + VAGTAB, + /** + * An intimate mixture of dry, finely divided drugs and/or chemicals that may be intended for internal or external use. + */ + POWD, + /** + * Topical Powder + */ + TOPPWD, + /** + * Rectal Powder + */ + RECPWD, + /** + * Vaginal Powder + */ + VAGPWD, + /** + * A solid body of various weights and shapes, adapted for introduction into the rectal, vaginal, or urethral orifice of the human body; they usually melt, soften, or dissolve at body temperature. + */ + SUPP, + /** + * Rectal Suppository + */ + RECSUPP, + /** + * Urethral suppository + */ + URETHSUPP, + /** + * Vaginal Suppository + */ + VAGSUPP, + /** + * A wad of absorbent material usually wound around one end of a small stick and used for applying medication or for removing material from an area. + */ + SWAB, + /** + * Medicated swab + */ + MEDSWAB, + /** + * A thin slice of material containing a medicinal agent. + */ + WAFER, + /** + * added to help the parsers + */ + NULL; + public static V3OrderableDrugForm fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AdministrableDrugForm".equals(codeString)) + return _ADMINISTRABLEDRUGFORM; + if ("APPFUL".equals(codeString)) + return APPFUL; + if ("DROP".equals(codeString)) + return DROP; + if ("NDROP".equals(codeString)) + return NDROP; + if ("OPDROP".equals(codeString)) + return OPDROP; + if ("ORDROP".equals(codeString)) + return ORDROP; + if ("OTDROP".equals(codeString)) + return OTDROP; + if ("PUFF".equals(codeString)) + return PUFF; + if ("SCOOP".equals(codeString)) + return SCOOP; + if ("SPRY".equals(codeString)) + return SPRY; + if ("_DispensableDrugForm".equals(codeString)) + return _DISPENSABLEDRUGFORM; + if ("_GasDrugForm".equals(codeString)) + return _GASDRUGFORM; + if ("GASINHL".equals(codeString)) + return GASINHL; + if ("_GasLiquidMixture".equals(codeString)) + return _GASLIQUIDMIXTURE; + if ("AER".equals(codeString)) + return AER; + if ("BAINHL".equals(codeString)) + return BAINHL; + if ("INHLSOL".equals(codeString)) + return INHLSOL; + if ("MDINHL".equals(codeString)) + return MDINHL; + if ("NASSPRY".equals(codeString)) + return NASSPRY; + if ("DERMSPRY".equals(codeString)) + return DERMSPRY; + if ("FOAM".equals(codeString)) + return FOAM; + if ("FOAMAPL".equals(codeString)) + return FOAMAPL; + if ("RECFORM".equals(codeString)) + return RECFORM; + if ("VAGFOAM".equals(codeString)) + return VAGFOAM; + if ("VAGFOAMAPL".equals(codeString)) + return VAGFOAMAPL; + if ("RECSPRY".equals(codeString)) + return RECSPRY; + if ("VAGSPRY".equals(codeString)) + return VAGSPRY; + if ("_GasSolidSpray".equals(codeString)) + return _GASSOLIDSPRAY; + if ("INHL".equals(codeString)) + return INHL; + if ("BAINHLPWD".equals(codeString)) + return BAINHLPWD; + if ("INHLPWD".equals(codeString)) + return INHLPWD; + if ("MDINHLPWD".equals(codeString)) + return MDINHLPWD; + if ("NASINHL".equals(codeString)) + return NASINHL; + if ("ORINHL".equals(codeString)) + return ORINHL; + if ("PWDSPRY".equals(codeString)) + return PWDSPRY; + if ("SPRYADAPT".equals(codeString)) + return SPRYADAPT; + if ("_Liquid".equals(codeString)) + return _LIQUID; + if ("LIQCLN".equals(codeString)) + return LIQCLN; + if ("LIQSOAP".equals(codeString)) + return LIQSOAP; + if ("SHMP".equals(codeString)) + return SHMP; + if ("OIL".equals(codeString)) + return OIL; + if ("TOPOIL".equals(codeString)) + return TOPOIL; + if ("SOL".equals(codeString)) + return SOL; + if ("IPSOL".equals(codeString)) + return IPSOL; + if ("IRSOL".equals(codeString)) + return IRSOL; + if ("DOUCHE".equals(codeString)) + return DOUCHE; + if ("ENEMA".equals(codeString)) + return ENEMA; + if ("OPIRSOL".equals(codeString)) + return OPIRSOL; + if ("IVSOL".equals(codeString)) + return IVSOL; + if ("ORALSOL".equals(codeString)) + return ORALSOL; + if ("ELIXIR".equals(codeString)) + return ELIXIR; + if ("RINSE".equals(codeString)) + return RINSE; + if ("SYRUP".equals(codeString)) + return SYRUP; + if ("RECSOL".equals(codeString)) + return RECSOL; + if ("TOPSOL".equals(codeString)) + return TOPSOL; + if ("LIN".equals(codeString)) + return LIN; + if ("MUCTOPSOL".equals(codeString)) + return MUCTOPSOL; + if ("TINC".equals(codeString)) + return TINC; + if ("_LiquidLiquidEmulsion".equals(codeString)) + return _LIQUIDLIQUIDEMULSION; + if ("CRM".equals(codeString)) + return CRM; + if ("NASCRM".equals(codeString)) + return NASCRM; + if ("OPCRM".equals(codeString)) + return OPCRM; + if ("ORCRM".equals(codeString)) + return ORCRM; + if ("OTCRM".equals(codeString)) + return OTCRM; + if ("RECCRM".equals(codeString)) + return RECCRM; + if ("TOPCRM".equals(codeString)) + return TOPCRM; + if ("VAGCRM".equals(codeString)) + return VAGCRM; + if ("VAGCRMAPL".equals(codeString)) + return VAGCRMAPL; + if ("LTN".equals(codeString)) + return LTN; + if ("TOPLTN".equals(codeString)) + return TOPLTN; + if ("OINT".equals(codeString)) + return OINT; + if ("NASOINT".equals(codeString)) + return NASOINT; + if ("OINTAPL".equals(codeString)) + return OINTAPL; + if ("OPOINT".equals(codeString)) + return OPOINT; + if ("OTOINT".equals(codeString)) + return OTOINT; + if ("RECOINT".equals(codeString)) + return RECOINT; + if ("TOPOINT".equals(codeString)) + return TOPOINT; + if ("VAGOINT".equals(codeString)) + return VAGOINT; + if ("VAGOINTAPL".equals(codeString)) + return VAGOINTAPL; + if ("_LiquidSolidSuspension".equals(codeString)) + return _LIQUIDSOLIDSUSPENSION; + if ("GEL".equals(codeString)) + return GEL; + if ("GELAPL".equals(codeString)) + return GELAPL; + if ("NASGEL".equals(codeString)) + return NASGEL; + if ("OPGEL".equals(codeString)) + return OPGEL; + if ("OTGEL".equals(codeString)) + return OTGEL; + if ("TOPGEL".equals(codeString)) + return TOPGEL; + if ("URETHGEL".equals(codeString)) + return URETHGEL; + if ("VAGGEL".equals(codeString)) + return VAGGEL; + if ("VGELAPL".equals(codeString)) + return VGELAPL; + if ("PASTE".equals(codeString)) + return PASTE; + if ("PUD".equals(codeString)) + return PUD; + if ("TPASTE".equals(codeString)) + return TPASTE; + if ("SUSP".equals(codeString)) + return SUSP; + if ("ITSUSP".equals(codeString)) + return ITSUSP; + if ("OPSUSP".equals(codeString)) + return OPSUSP; + if ("ORSUSP".equals(codeString)) + return ORSUSP; + if ("ERSUSP".equals(codeString)) + return ERSUSP; + if ("ERSUSP12".equals(codeString)) + return ERSUSP12; + if ("ERSUSP24".equals(codeString)) + return ERSUSP24; + if ("OTSUSP".equals(codeString)) + return OTSUSP; + if ("RECSUSP".equals(codeString)) + return RECSUSP; + if ("_SolidDrugForm".equals(codeString)) + return _SOLIDDRUGFORM; + if ("BAR".equals(codeString)) + return BAR; + if ("BARSOAP".equals(codeString)) + return BARSOAP; + if ("MEDBAR".equals(codeString)) + return MEDBAR; + if ("CHEWBAR".equals(codeString)) + return CHEWBAR; + if ("BEAD".equals(codeString)) + return BEAD; + if ("CAKE".equals(codeString)) + return CAKE; + if ("CEMENT".equals(codeString)) + return CEMENT; + if ("CRYS".equals(codeString)) + return CRYS; + if ("DISK".equals(codeString)) + return DISK; + if ("FLAKE".equals(codeString)) + return FLAKE; + if ("GRAN".equals(codeString)) + return GRAN; + if ("GUM".equals(codeString)) + return GUM; + if ("PAD".equals(codeString)) + return PAD; + if ("MEDPAD".equals(codeString)) + return MEDPAD; + if ("PATCH".equals(codeString)) + return PATCH; + if ("TPATCH".equals(codeString)) + return TPATCH; + if ("TPATH16".equals(codeString)) + return TPATH16; + if ("TPATH24".equals(codeString)) + return TPATH24; + if ("TPATH2WK".equals(codeString)) + return TPATH2WK; + if ("TPATH72".equals(codeString)) + return TPATH72; + if ("TPATHWK".equals(codeString)) + return TPATHWK; + if ("PELLET".equals(codeString)) + return PELLET; + if ("PILL".equals(codeString)) + return PILL; + if ("CAP".equals(codeString)) + return CAP; + if ("ORCAP".equals(codeString)) + return ORCAP; + if ("ENTCAP".equals(codeString)) + return ENTCAP; + if ("ERENTCAP".equals(codeString)) + return ERENTCAP; + if ("ERCAP".equals(codeString)) + return ERCAP; + if ("ERCAP12".equals(codeString)) + return ERCAP12; + if ("ERCAP24".equals(codeString)) + return ERCAP24; + if ("TAB".equals(codeString)) + return TAB; + if ("ORTAB".equals(codeString)) + return ORTAB; + if ("BUCTAB".equals(codeString)) + return BUCTAB; + if ("SRBUCTAB".equals(codeString)) + return SRBUCTAB; + if ("CAPLET".equals(codeString)) + return CAPLET; + if ("CHEWTAB".equals(codeString)) + return CHEWTAB; + if ("CPTAB".equals(codeString)) + return CPTAB; + if ("DISINTAB".equals(codeString)) + return DISINTAB; + if ("DRTAB".equals(codeString)) + return DRTAB; + if ("ECTAB".equals(codeString)) + return ECTAB; + if ("ERECTAB".equals(codeString)) + return ERECTAB; + if ("ERTAB".equals(codeString)) + return ERTAB; + if ("ERTAB12".equals(codeString)) + return ERTAB12; + if ("ERTAB24".equals(codeString)) + return ERTAB24; + if ("ORTROCHE".equals(codeString)) + return ORTROCHE; + if ("SLTAB".equals(codeString)) + return SLTAB; + if ("VAGTAB".equals(codeString)) + return VAGTAB; + if ("POWD".equals(codeString)) + return POWD; + if ("TOPPWD".equals(codeString)) + return TOPPWD; + if ("RECPWD".equals(codeString)) + return RECPWD; + if ("VAGPWD".equals(codeString)) + return VAGPWD; + if ("SUPP".equals(codeString)) + return SUPP; + if ("RECSUPP".equals(codeString)) + return RECSUPP; + if ("URETHSUPP".equals(codeString)) + return URETHSUPP; + if ("VAGSUPP".equals(codeString)) + return VAGSUPP; + if ("SWAB".equals(codeString)) + return SWAB; + if ("MEDSWAB".equals(codeString)) + return MEDSWAB; + if ("WAFER".equals(codeString)) + return WAFER; + throw new Exception("Unknown V3OrderableDrugForm code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ADMINISTRABLEDRUGFORM: return "_AdministrableDrugForm"; + case APPFUL: return "APPFUL"; + case DROP: return "DROP"; + case NDROP: return "NDROP"; + case OPDROP: return "OPDROP"; + case ORDROP: return "ORDROP"; + case OTDROP: return "OTDROP"; + case PUFF: return "PUFF"; + case SCOOP: return "SCOOP"; + case SPRY: return "SPRY"; + case _DISPENSABLEDRUGFORM: return "_DispensableDrugForm"; + case _GASDRUGFORM: return "_GasDrugForm"; + case GASINHL: return "GASINHL"; + case _GASLIQUIDMIXTURE: return "_GasLiquidMixture"; + case AER: return "AER"; + case BAINHL: return "BAINHL"; + case INHLSOL: return "INHLSOL"; + case MDINHL: return "MDINHL"; + case NASSPRY: return "NASSPRY"; + case DERMSPRY: return "DERMSPRY"; + case FOAM: return "FOAM"; + case FOAMAPL: return "FOAMAPL"; + case RECFORM: return "RECFORM"; + case VAGFOAM: return "VAGFOAM"; + case VAGFOAMAPL: return "VAGFOAMAPL"; + case RECSPRY: return "RECSPRY"; + case VAGSPRY: return "VAGSPRY"; + case _GASSOLIDSPRAY: return "_GasSolidSpray"; + case INHL: return "INHL"; + case BAINHLPWD: return "BAINHLPWD"; + case INHLPWD: return "INHLPWD"; + case MDINHLPWD: return "MDINHLPWD"; + case NASINHL: return "NASINHL"; + case ORINHL: return "ORINHL"; + case PWDSPRY: return "PWDSPRY"; + case SPRYADAPT: return "SPRYADAPT"; + case _LIQUID: return "_Liquid"; + case LIQCLN: return "LIQCLN"; + case LIQSOAP: return "LIQSOAP"; + case SHMP: return "SHMP"; + case OIL: return "OIL"; + case TOPOIL: return "TOPOIL"; + case SOL: return "SOL"; + case IPSOL: return "IPSOL"; + case IRSOL: return "IRSOL"; + case DOUCHE: return "DOUCHE"; + case ENEMA: return "ENEMA"; + case OPIRSOL: return "OPIRSOL"; + case IVSOL: return "IVSOL"; + case ORALSOL: return "ORALSOL"; + case ELIXIR: return "ELIXIR"; + case RINSE: return "RINSE"; + case SYRUP: return "SYRUP"; + case RECSOL: return "RECSOL"; + case TOPSOL: return "TOPSOL"; + case LIN: return "LIN"; + case MUCTOPSOL: return "MUCTOPSOL"; + case TINC: return "TINC"; + case _LIQUIDLIQUIDEMULSION: return "_LiquidLiquidEmulsion"; + case CRM: return "CRM"; + case NASCRM: return "NASCRM"; + case OPCRM: return "OPCRM"; + case ORCRM: return "ORCRM"; + case OTCRM: return "OTCRM"; + case RECCRM: return "RECCRM"; + case TOPCRM: return "TOPCRM"; + case VAGCRM: return "VAGCRM"; + case VAGCRMAPL: return "VAGCRMAPL"; + case LTN: return "LTN"; + case TOPLTN: return "TOPLTN"; + case OINT: return "OINT"; + case NASOINT: return "NASOINT"; + case OINTAPL: return "OINTAPL"; + case OPOINT: return "OPOINT"; + case OTOINT: return "OTOINT"; + case RECOINT: return "RECOINT"; + case TOPOINT: return "TOPOINT"; + case VAGOINT: return "VAGOINT"; + case VAGOINTAPL: return "VAGOINTAPL"; + case _LIQUIDSOLIDSUSPENSION: return "_LiquidSolidSuspension"; + case GEL: return "GEL"; + case GELAPL: return "GELAPL"; + case NASGEL: return "NASGEL"; + case OPGEL: return "OPGEL"; + case OTGEL: return "OTGEL"; + case TOPGEL: return "TOPGEL"; + case URETHGEL: return "URETHGEL"; + case VAGGEL: return "VAGGEL"; + case VGELAPL: return "VGELAPL"; + case PASTE: return "PASTE"; + case PUD: return "PUD"; + case TPASTE: return "TPASTE"; + case SUSP: return "SUSP"; + case ITSUSP: return "ITSUSP"; + case OPSUSP: return "OPSUSP"; + case ORSUSP: return "ORSUSP"; + case ERSUSP: return "ERSUSP"; + case ERSUSP12: return "ERSUSP12"; + case ERSUSP24: return "ERSUSP24"; + case OTSUSP: return "OTSUSP"; + case RECSUSP: return "RECSUSP"; + case _SOLIDDRUGFORM: return "_SolidDrugForm"; + case BAR: return "BAR"; + case BARSOAP: return "BARSOAP"; + case MEDBAR: return "MEDBAR"; + case CHEWBAR: return "CHEWBAR"; + case BEAD: return "BEAD"; + case CAKE: return "CAKE"; + case CEMENT: return "CEMENT"; + case CRYS: return "CRYS"; + case DISK: return "DISK"; + case FLAKE: return "FLAKE"; + case GRAN: return "GRAN"; + case GUM: return "GUM"; + case PAD: return "PAD"; + case MEDPAD: return "MEDPAD"; + case PATCH: return "PATCH"; + case TPATCH: return "TPATCH"; + case TPATH16: return "TPATH16"; + case TPATH24: return "TPATH24"; + case TPATH2WK: return "TPATH2WK"; + case TPATH72: return "TPATH72"; + case TPATHWK: return "TPATHWK"; + case PELLET: return "PELLET"; + case PILL: return "PILL"; + case CAP: return "CAP"; + case ORCAP: return "ORCAP"; + case ENTCAP: return "ENTCAP"; + case ERENTCAP: return "ERENTCAP"; + case ERCAP: return "ERCAP"; + case ERCAP12: return "ERCAP12"; + case ERCAP24: return "ERCAP24"; + case TAB: return "TAB"; + case ORTAB: return "ORTAB"; + case BUCTAB: return "BUCTAB"; + case SRBUCTAB: return "SRBUCTAB"; + case CAPLET: return "CAPLET"; + case CHEWTAB: return "CHEWTAB"; + case CPTAB: return "CPTAB"; + case DISINTAB: return "DISINTAB"; + case DRTAB: return "DRTAB"; + case ECTAB: return "ECTAB"; + case ERECTAB: return "ERECTAB"; + case ERTAB: return "ERTAB"; + case ERTAB12: return "ERTAB12"; + case ERTAB24: return "ERTAB24"; + case ORTROCHE: return "ORTROCHE"; + case SLTAB: return "SLTAB"; + case VAGTAB: return "VAGTAB"; + case POWD: return "POWD"; + case TOPPWD: return "TOPPWD"; + case RECPWD: return "RECPWD"; + case VAGPWD: return "VAGPWD"; + case SUPP: return "SUPP"; + case RECSUPP: return "RECSUPP"; + case URETHSUPP: return "URETHSUPP"; + case VAGSUPP: return "VAGSUPP"; + case SWAB: return "SWAB"; + case MEDSWAB: return "MEDSWAB"; + case WAFER: return "WAFER"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/orderableDrugForm"; + } + public String getDefinition() { + switch (this) { + case _ADMINISTRABLEDRUGFORM: return "AdministrableDrugForm"; + case APPFUL: return "Applicatorful"; + case DROP: return "Drops"; + case NDROP: return "Nasal Drops"; + case OPDROP: return "Ophthalmic Drops"; + case ORDROP: return "Oral Drops"; + case OTDROP: return "Otic Drops"; + case PUFF: return "Puff"; + case SCOOP: return "Scoops"; + case SPRY: return "Sprays"; + case _DISPENSABLEDRUGFORM: return "DispensableDrugForm"; + case _GASDRUGFORM: return "Any elastic aeriform fluid in which the molecules are separated from one another and have free paths."; + case GASINHL: return "Gas for Inhalation"; + case _GASLIQUIDMIXTURE: return "GasLiquidMixture"; + case AER: return "Aerosol"; + case BAINHL: return "Breath Activated Inhaler"; + case INHLSOL: return "Inhalant Solution"; + case MDINHL: return "Metered Dose Inhaler"; + case NASSPRY: return "Nasal Spray"; + case DERMSPRY: return "Dermal Spray"; + case FOAM: return "Foam"; + case FOAMAPL: return "Foam with Applicator"; + case RECFORM: return "Rectal foam"; + case VAGFOAM: return "Vaginal foam"; + case VAGFOAMAPL: return "Vaginal foam with applicator"; + case RECSPRY: return "Rectal Spray"; + case VAGSPRY: return "Vaginal Spray"; + case _GASSOLIDSPRAY: return "GasSolidSpray"; + case INHL: return "Inhalant"; + case BAINHLPWD: return "Breath Activated Powder Inhaler"; + case INHLPWD: return "Inhalant Powder"; + case MDINHLPWD: return "Metered Dose Powder Inhaler"; + case NASINHL: return "Nasal Inhalant"; + case ORINHL: return "Oral Inhalant"; + case PWDSPRY: return "Powder Spray"; + case SPRYADAPT: return "Spray with Adaptor"; + case _LIQUID: return "A state of substance that is an intermediate one entered into as matter goes from solid to gas; liquids are also intermediate in that they have neither the orderliness of a crystal nor the randomness of a gas. (Note: This term should not be used to describe solutions, only pure chemicals in their liquid state.)"; + case LIQCLN: return "Liquid Cleanser"; + case LIQSOAP: return "Medicated Liquid Soap"; + case SHMP: return "A liquid soap or detergent used to clean the hair and scalp and is often used as a vehicle for dermatologic agents."; + case OIL: return "An unctuous, combustible substance which is liquid, or easily liquefiable, on warming, and is soluble in ether but insoluble in water. Such substances, depending on their origin, are classified as animal, mineral, or vegetable oils."; + case TOPOIL: return "Topical Oil"; + case SOL: return "A liquid preparation that contains one or more chemical substances dissolved, i.e., molecularly dispersed, in a suitable solvent or mixture of mutually miscible solvents."; + case IPSOL: return "Intraperitoneal Solution"; + case IRSOL: return "A sterile solution intended to bathe or flush open wounds or body cavities; they're used topically, never parenterally."; + case DOUCHE: return "A liquid preparation, intended for the irrigative cleansing of the vagina, that is prepared from powders, liquid solutions, or liquid concentrates and contains one or more chemical substances dissolved in a suitable solvent or mutually miscible solvents."; + case ENEMA: return "A rectal preparation for therapeutic, diagnostic, or nutritive purposes."; + case OPIRSOL: return "Ophthalmic Irrigation Solution"; + case IVSOL: return "Intravenous Solution"; + case ORALSOL: return "Oral Solution"; + case ELIXIR: return "A clear, pleasantly flavored, sweetened hydroalcoholic liquid containing dissolved medicinal agents; it is intended for oral use."; + case RINSE: return "An aqueous solution which is most often used for its deodorant, refreshing, or antiseptic effect."; + case SYRUP: return "An oral solution containing high concentrations of sucrose or other sugars; the term has also been used to include any other liquid dosage form prepared in a sweet and viscid vehicle, including oral suspensions."; + case RECSOL: return "Rectal Solution"; + case TOPSOL: return "Topical Solution"; + case LIN: return "A solution or mixture of various substances in oil, alcoholic solutions of soap, or emulsions intended for external application."; + case MUCTOPSOL: return "Mucous Membrane Topical Solution"; + case TINC: return "Tincture"; + case _LIQUIDLIQUIDEMULSION: return "A two-phase system in which one liquid is dispersed throughout another liquid in the form of small droplets."; + case CRM: return "A semisolid dosage form containing one or more drug substances dissolved or dispersed in a suitable base; more recently, the term has been restricted to products consisting of oil-in-water emulsions or aqueous microcrystalline dispersions of long chain fatty acids or alcohols that are water washable and more cosmetically and aesthetically acceptable."; + case NASCRM: return "Nasal Cream"; + case OPCRM: return "Ophthalmic Cream"; + case ORCRM: return "Oral Cream"; + case OTCRM: return "Otic Cream"; + case RECCRM: return "Rectal Cream"; + case TOPCRM: return "Topical Cream"; + case VAGCRM: return "Vaginal Cream"; + case VAGCRMAPL: return "Vaginal Cream with Applicator"; + case LTN: return "The term 'lotion' has been used to categorize many topical suspensions, solutions and emulsions intended for application to the skin."; + case TOPLTN: return "Topical Lotion"; + case OINT: return "A semisolid preparation intended for external application to the skin or mucous membranes."; + case NASOINT: return "Nasal Ointment"; + case OINTAPL: return "Ointment with Applicator"; + case OPOINT: return "Ophthalmic Ointment"; + case OTOINT: return "Otic Ointment"; + case RECOINT: return "Rectal Ointment"; + case TOPOINT: return "Topical Ointment"; + case VAGOINT: return "Vaginal Ointment"; + case VAGOINTAPL: return "Vaginal Ointment with Applicator"; + case _LIQUIDSOLIDSUSPENSION: return "A liquid preparation which consists of solid particles dispersed throughout a liquid phase in which the particles are not soluble."; + case GEL: return "A semisolid system consisting of either suspensions made up of small inorganic particles or large organic molecules interpenetrated by a liquid."; + case GELAPL: return "Gel with Applicator"; + case NASGEL: return "Nasal Gel"; + case OPGEL: return "Ophthalmic Gel"; + case OTGEL: return "Otic Gel"; + case TOPGEL: return "Topical Gel"; + case URETHGEL: return "Urethral Gel"; + case VAGGEL: return "Vaginal Gel"; + case VGELAPL: return "Vaginal Gel with Applicator"; + case PASTE: return "A semisolid dosage form that contains one or more drug substances intended for topical application."; + case PUD: return "Pudding"; + case TPASTE: return "A paste formulation intended to clean and/or polish the teeth, and which may contain certain additional agents."; + case SUSP: return "Suspension"; + case ITSUSP: return "Intrathecal Suspension"; + case OPSUSP: return "Ophthalmic Suspension"; + case ORSUSP: return "Oral Suspension"; + case ERSUSP: return "Extended-Release Suspension"; + case ERSUSP12: return "12 Hour Extended-Release Suspension"; + case ERSUSP24: return "24 Hour Extended Release Suspension"; + case OTSUSP: return "Otic Suspension"; + case RECSUSP: return "Rectal Suspension"; + case _SOLIDDRUGFORM: return "SolidDrugForm"; + case BAR: return "Bar"; + case BARSOAP: return "Bar Soap"; + case MEDBAR: return "Medicated Bar Soap"; + case CHEWBAR: return "A solid dosage form usually in the form of a rectangle that is meant to be chewed."; + case BEAD: return "A solid dosage form in the shape of a small ball."; + case CAKE: return "Cake"; + case CEMENT: return "A substance that serves to produce solid union between two surfaces."; + case CRYS: return "A naturally produced angular solid of definite form in which the ultimate units from which it is built up are systematically arranged; they are usually evenly spaced on a regular space lattice."; + case DISK: return "A circular plate-like organ or structure."; + case FLAKE: return "Flakes"; + case GRAN: return "A small particle or grain."; + case GUM: return "A sweetened and flavored insoluble plastic material of various shapes which when chewed, releases a drug substance into the oral cavity."; + case PAD: return "Pad"; + case MEDPAD: return "Medicated Pad"; + case PATCH: return "A drug delivery system that contains an adhesived backing and that permits its ingredients to diffuse from some portion of it (e.g., the backing itself, a reservoir, the adhesive, or some other component) into the body from the external site where it is applied."; + case TPATCH: return "Transdermal Patch"; + case TPATH16: return "16 Hour Transdermal Patch"; + case TPATH24: return "24 Hour Transdermal Patch"; + case TPATH2WK: return "Biweekly Transdermal Patch"; + case TPATH72: return "72 Hour Transdermal Patch"; + case TPATHWK: return "Weekly Transdermal Patch"; + case PELLET: return "A small sterile solid mass consisting of a highly purified drug (with or without excipients) made by the formation of granules, or by compression and molding."; + case PILL: return "A small, round solid dosage form containing a medicinal agent intended for oral administration."; + case CAP: return "A solid dosage form in which the drug is enclosed within either a hard or soft soluble container or 'shell' made from a suitable form of gelatin."; + case ORCAP: return "Oral Capsule"; + case ENTCAP: return "Enteric Coated Capsule"; + case ERENTCAP: return "Extended Release Enteric Coated Capsule"; + case ERCAP: return "A solid dosage form in which the drug is enclosed within either a hard or soft soluble container made from a suitable form of gelatin, and which releases a drug (or drugs) in such a manner to allow a reduction in dosing frequency as compared to that drug (or drugs) presented as a conventional dosage form."; + case ERCAP12: return "12 Hour Extended Release Capsule"; + case ERCAP24: return "24 Hour Extended Release Capsule"; + case TAB: return "A solid dosage form containing medicinal substances with or without suitable diluents."; + case ORTAB: return "Oral Tablet"; + case BUCTAB: return "Buccal Tablet"; + case SRBUCTAB: return "Sustained Release Buccal Tablet"; + case CAPLET: return "Caplet"; + case CHEWTAB: return "A solid dosage form containing medicinal substances with or without suitable diluents that is intended to be chewed, producing a pleasant tasting residue in the oral cavity that is easily swallowed and does not leave a bitter or unpleasant after-taste."; + case CPTAB: return "Coated Particles Tablet"; + case DISINTAB: return "A solid dosage form containing medicinal substances which disintegrates rapidly, usually within a matter of seconds, when placed upon the tongue."; + case DRTAB: return "Delayed Release Tablet"; + case ECTAB: return "Enteric Coated Tablet"; + case ERECTAB: return "Extended Release Enteric Coated Tablet"; + case ERTAB: return "A solid dosage form containing a drug which allows at least a reduction in dosing frequency as compared to that drug presented in conventional dosage form."; + case ERTAB12: return "12 Hour Extended Release Tablet"; + case ERTAB24: return "24 Hour Extended Release Tablet"; + case ORTROCHE: return "A solid preparation containing one or more medicaments, usually in a flavored, sweetened base which is intended to dissolve or disintegrate slowly in the mouth."; + case SLTAB: return "Sublingual Tablet"; + case VAGTAB: return "Vaginal Tablet"; + case POWD: return "An intimate mixture of dry, finely divided drugs and/or chemicals that may be intended for internal or external use."; + case TOPPWD: return "Topical Powder"; + case RECPWD: return "Rectal Powder"; + case VAGPWD: return "Vaginal Powder"; + case SUPP: return "A solid body of various weights and shapes, adapted for introduction into the rectal, vaginal, or urethral orifice of the human body; they usually melt, soften, or dissolve at body temperature."; + case RECSUPP: return "Rectal Suppository"; + case URETHSUPP: return "Urethral suppository"; + case VAGSUPP: return "Vaginal Suppository"; + case SWAB: return "A wad of absorbent material usually wound around one end of a small stick and used for applying medication or for removing material from an area."; + case MEDSWAB: return "Medicated swab"; + case WAFER: return "A thin slice of material containing a medicinal agent."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ADMINISTRABLEDRUGFORM: return "AdministrableDrugForm"; + case APPFUL: return "Applicatorful"; + case DROP: return "Drops"; + case NDROP: return "Nasal Drops"; + case OPDROP: return "Ophthalmic Drops"; + case ORDROP: return "Oral Drops"; + case OTDROP: return "Otic Drops"; + case PUFF: return "Puff"; + case SCOOP: return "Scoops"; + case SPRY: return "Sprays"; + case _DISPENSABLEDRUGFORM: return "DispensableDrugForm"; + case _GASDRUGFORM: return "GasDrugForm"; + case GASINHL: return "Gas for Inhalation"; + case _GASLIQUIDMIXTURE: return "GasLiquidMixture"; + case AER: return "Aerosol"; + case BAINHL: return "Breath Activated Inhaler"; + case INHLSOL: return "Inhalant Solution"; + case MDINHL: return "Metered Dose Inhaler"; + case NASSPRY: return "Nasal Spray"; + case DERMSPRY: return "Dermal Spray"; + case FOAM: return "Foam"; + case FOAMAPL: return "Foam with Applicator"; + case RECFORM: return "Rectal foam"; + case VAGFOAM: return "Vaginal foam"; + case VAGFOAMAPL: return "Vaginal foam with applicator"; + case RECSPRY: return "Rectal Spray"; + case VAGSPRY: return "Vaginal Spray"; + case _GASSOLIDSPRAY: return "GasSolidSpray"; + case INHL: return "Inhalant"; + case BAINHLPWD: return "Breath Activated Powder Inhaler"; + case INHLPWD: return "Inhalant Powder"; + case MDINHLPWD: return "Metered Dose Powder Inhaler"; + case NASINHL: return "Nasal Inhalant"; + case ORINHL: return "Oral Inhalant"; + case PWDSPRY: return "Powder Spray"; + case SPRYADAPT: return "Spray with Adaptor"; + case _LIQUID: return "Liquid"; + case LIQCLN: return "Liquid Cleanser"; + case LIQSOAP: return "Medicated Liquid Soap"; + case SHMP: return "Shampoo"; + case OIL: return "Oil"; + case TOPOIL: return "Topical Oil"; + case SOL: return "Solution"; + case IPSOL: return "Intraperitoneal Solution"; + case IRSOL: return "Irrigation Solution"; + case DOUCHE: return "Douche"; + case ENEMA: return "Enema"; + case OPIRSOL: return "Ophthalmic Irrigation Solution"; + case IVSOL: return "Intravenous Solution"; + case ORALSOL: return "Oral Solution"; + case ELIXIR: return "Elixir"; + case RINSE: return "Mouthwash/Rinse"; + case SYRUP: return "Syrup"; + case RECSOL: return "Rectal Solution"; + case TOPSOL: return "Topical Solution"; + case LIN: return "Liniment"; + case MUCTOPSOL: return "Mucous Membrane Topical Solution"; + case TINC: return "Tincture"; + case _LIQUIDLIQUIDEMULSION: return "LiquidLiquidEmulsion"; + case CRM: return "Cream"; + case NASCRM: return "Nasal Cream"; + case OPCRM: return "Ophthalmic Cream"; + case ORCRM: return "Oral Cream"; + case OTCRM: return "Otic Cream"; + case RECCRM: return "Rectal Cream"; + case TOPCRM: return "Topical Cream"; + case VAGCRM: return "Vaginal Cream"; + case VAGCRMAPL: return "Vaginal Cream with Applicator"; + case LTN: return "Lotion"; + case TOPLTN: return "Topical Lotion"; + case OINT: return "Ointment"; + case NASOINT: return "Nasal Ointment"; + case OINTAPL: return "Ointment with Applicator"; + case OPOINT: return "Ophthalmic Ointment"; + case OTOINT: return "Otic Ointment"; + case RECOINT: return "Rectal Ointment"; + case TOPOINT: return "Topical Ointment"; + case VAGOINT: return "Vaginal Ointment"; + case VAGOINTAPL: return "Vaginal Ointment with Applicator"; + case _LIQUIDSOLIDSUSPENSION: return "LiquidSolidSuspension"; + case GEL: return "Gel"; + case GELAPL: return "Gel with Applicator"; + case NASGEL: return "Nasal Gel"; + case OPGEL: return "Ophthalmic Gel"; + case OTGEL: return "Otic Gel"; + case TOPGEL: return "Topical Gel"; + case URETHGEL: return "Urethral Gel"; + case VAGGEL: return "Vaginal Gel"; + case VGELAPL: return "Vaginal Gel with Applicator"; + case PASTE: return "Paste"; + case PUD: return "Pudding"; + case TPASTE: return "Toothpaste"; + case SUSP: return "Suspension"; + case ITSUSP: return "Intrathecal Suspension"; + case OPSUSP: return "Ophthalmic Suspension"; + case ORSUSP: return "Oral Suspension"; + case ERSUSP: return "Extended-Release Suspension"; + case ERSUSP12: return "12 Hour Extended-Release Suspension"; + case ERSUSP24: return "24 Hour Extended Release Suspension"; + case OTSUSP: return "Otic Suspension"; + case RECSUSP: return "Rectal Suspension"; + case _SOLIDDRUGFORM: return "SolidDrugForm"; + case BAR: return "Bar"; + case BARSOAP: return "Bar Soap"; + case MEDBAR: return "Medicated Bar Soap"; + case CHEWBAR: return "Chewable Bar"; + case BEAD: return "Beads"; + case CAKE: return "Cake"; + case CEMENT: return "Cement"; + case CRYS: return "Crystals"; + case DISK: return "Disk"; + case FLAKE: return "Flakes"; + case GRAN: return "Granules"; + case GUM: return "ChewingGum"; + case PAD: return "Pad"; + case MEDPAD: return "Medicated Pad"; + case PATCH: return "Patch"; + case TPATCH: return "Transdermal Patch"; + case TPATH16: return "16 Hour Transdermal Patch"; + case TPATH24: return "24 Hour Transdermal Patch"; + case TPATH2WK: return "Biweekly Transdermal Patch"; + case TPATH72: return "72 Hour Transdermal Patch"; + case TPATHWK: return "Weekly Transdermal Patch"; + case PELLET: return "Pellet"; + case PILL: return "Pill"; + case CAP: return "Capsule"; + case ORCAP: return "Oral Capsule"; + case ENTCAP: return "Enteric Coated Capsule"; + case ERENTCAP: return "Extended Release Enteric Coated Capsule"; + case ERCAP: return "Extended Release Capsule"; + case ERCAP12: return "12 Hour Extended Release Capsule"; + case ERCAP24: return "24 Hour Extended Release Capsule"; + case TAB: return "Tablet"; + case ORTAB: return "Oral Tablet"; + case BUCTAB: return "Buccal Tablet"; + case SRBUCTAB: return "Sustained Release Buccal Tablet"; + case CAPLET: return "Caplet"; + case CHEWTAB: return "Chewable Tablet"; + case CPTAB: return "Coated Particles Tablet"; + case DISINTAB: return "Disintegrating Tablet"; + case DRTAB: return "Delayed Release Tablet"; + case ECTAB: return "Enteric Coated Tablet"; + case ERECTAB: return "Extended Release Enteric Coated Tablet"; + case ERTAB: return "Extended Release Tablet"; + case ERTAB12: return "12 Hour Extended Release Tablet"; + case ERTAB24: return "24 Hour Extended Release Tablet"; + case ORTROCHE: return "Lozenge/Oral Troche"; + case SLTAB: return "Sublingual Tablet"; + case VAGTAB: return "Vaginal Tablet"; + case POWD: return "Powder"; + case TOPPWD: return "Topical Powder"; + case RECPWD: return "Rectal Powder"; + case VAGPWD: return "Vaginal Powder"; + case SUPP: return "Suppository"; + case RECSUPP: return "Rectal Suppository"; + case URETHSUPP: return "Urethral suppository"; + case VAGSUPP: return "Vaginal Suppository"; + case SWAB: return "Swab"; + case MEDSWAB: return "Medicated swab"; + case WAFER: return "Wafer"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugFormEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugFormEnumFactory.java new file mode 100644 index 00000000000..bb65e50c499 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3OrderableDrugFormEnumFactory.java @@ -0,0 +1,691 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3OrderableDrugFormEnumFactory implements EnumFactory { + + public V3OrderableDrugForm fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AdministrableDrugForm".equals(codeString)) + return V3OrderableDrugForm._ADMINISTRABLEDRUGFORM; + if ("APPFUL".equals(codeString)) + return V3OrderableDrugForm.APPFUL; + if ("DROP".equals(codeString)) + return V3OrderableDrugForm.DROP; + if ("NDROP".equals(codeString)) + return V3OrderableDrugForm.NDROP; + if ("OPDROP".equals(codeString)) + return V3OrderableDrugForm.OPDROP; + if ("ORDROP".equals(codeString)) + return V3OrderableDrugForm.ORDROP; + if ("OTDROP".equals(codeString)) + return V3OrderableDrugForm.OTDROP; + if ("PUFF".equals(codeString)) + return V3OrderableDrugForm.PUFF; + if ("SCOOP".equals(codeString)) + return V3OrderableDrugForm.SCOOP; + if ("SPRY".equals(codeString)) + return V3OrderableDrugForm.SPRY; + if ("_DispensableDrugForm".equals(codeString)) + return V3OrderableDrugForm._DISPENSABLEDRUGFORM; + if ("_GasDrugForm".equals(codeString)) + return V3OrderableDrugForm._GASDRUGFORM; + if ("GASINHL".equals(codeString)) + return V3OrderableDrugForm.GASINHL; + if ("_GasLiquidMixture".equals(codeString)) + return V3OrderableDrugForm._GASLIQUIDMIXTURE; + if ("AER".equals(codeString)) + return V3OrderableDrugForm.AER; + if ("BAINHL".equals(codeString)) + return V3OrderableDrugForm.BAINHL; + if ("INHLSOL".equals(codeString)) + return V3OrderableDrugForm.INHLSOL; + if ("MDINHL".equals(codeString)) + return V3OrderableDrugForm.MDINHL; + if ("NASSPRY".equals(codeString)) + return V3OrderableDrugForm.NASSPRY; + if ("DERMSPRY".equals(codeString)) + return V3OrderableDrugForm.DERMSPRY; + if ("FOAM".equals(codeString)) + return V3OrderableDrugForm.FOAM; + if ("FOAMAPL".equals(codeString)) + return V3OrderableDrugForm.FOAMAPL; + if ("RECFORM".equals(codeString)) + return V3OrderableDrugForm.RECFORM; + if ("VAGFOAM".equals(codeString)) + return V3OrderableDrugForm.VAGFOAM; + if ("VAGFOAMAPL".equals(codeString)) + return V3OrderableDrugForm.VAGFOAMAPL; + if ("RECSPRY".equals(codeString)) + return V3OrderableDrugForm.RECSPRY; + if ("VAGSPRY".equals(codeString)) + return V3OrderableDrugForm.VAGSPRY; + if ("_GasSolidSpray".equals(codeString)) + return V3OrderableDrugForm._GASSOLIDSPRAY; + if ("INHL".equals(codeString)) + return V3OrderableDrugForm.INHL; + if ("BAINHLPWD".equals(codeString)) + return V3OrderableDrugForm.BAINHLPWD; + if ("INHLPWD".equals(codeString)) + return V3OrderableDrugForm.INHLPWD; + if ("MDINHLPWD".equals(codeString)) + return V3OrderableDrugForm.MDINHLPWD; + if ("NASINHL".equals(codeString)) + return V3OrderableDrugForm.NASINHL; + if ("ORINHL".equals(codeString)) + return V3OrderableDrugForm.ORINHL; + if ("PWDSPRY".equals(codeString)) + return V3OrderableDrugForm.PWDSPRY; + if ("SPRYADAPT".equals(codeString)) + return V3OrderableDrugForm.SPRYADAPT; + if ("_Liquid".equals(codeString)) + return V3OrderableDrugForm._LIQUID; + if ("LIQCLN".equals(codeString)) + return V3OrderableDrugForm.LIQCLN; + if ("LIQSOAP".equals(codeString)) + return V3OrderableDrugForm.LIQSOAP; + if ("SHMP".equals(codeString)) + return V3OrderableDrugForm.SHMP; + if ("OIL".equals(codeString)) + return V3OrderableDrugForm.OIL; + if ("TOPOIL".equals(codeString)) + return V3OrderableDrugForm.TOPOIL; + if ("SOL".equals(codeString)) + return V3OrderableDrugForm.SOL; + if ("IPSOL".equals(codeString)) + return V3OrderableDrugForm.IPSOL; + if ("IRSOL".equals(codeString)) + return V3OrderableDrugForm.IRSOL; + if ("DOUCHE".equals(codeString)) + return V3OrderableDrugForm.DOUCHE; + if ("ENEMA".equals(codeString)) + return V3OrderableDrugForm.ENEMA; + if ("OPIRSOL".equals(codeString)) + return V3OrderableDrugForm.OPIRSOL; + if ("IVSOL".equals(codeString)) + return V3OrderableDrugForm.IVSOL; + if ("ORALSOL".equals(codeString)) + return V3OrderableDrugForm.ORALSOL; + if ("ELIXIR".equals(codeString)) + return V3OrderableDrugForm.ELIXIR; + if ("RINSE".equals(codeString)) + return V3OrderableDrugForm.RINSE; + if ("SYRUP".equals(codeString)) + return V3OrderableDrugForm.SYRUP; + if ("RECSOL".equals(codeString)) + return V3OrderableDrugForm.RECSOL; + if ("TOPSOL".equals(codeString)) + return V3OrderableDrugForm.TOPSOL; + if ("LIN".equals(codeString)) + return V3OrderableDrugForm.LIN; + if ("MUCTOPSOL".equals(codeString)) + return V3OrderableDrugForm.MUCTOPSOL; + if ("TINC".equals(codeString)) + return V3OrderableDrugForm.TINC; + if ("_LiquidLiquidEmulsion".equals(codeString)) + return V3OrderableDrugForm._LIQUIDLIQUIDEMULSION; + if ("CRM".equals(codeString)) + return V3OrderableDrugForm.CRM; + if ("NASCRM".equals(codeString)) + return V3OrderableDrugForm.NASCRM; + if ("OPCRM".equals(codeString)) + return V3OrderableDrugForm.OPCRM; + if ("ORCRM".equals(codeString)) + return V3OrderableDrugForm.ORCRM; + if ("OTCRM".equals(codeString)) + return V3OrderableDrugForm.OTCRM; + if ("RECCRM".equals(codeString)) + return V3OrderableDrugForm.RECCRM; + if ("TOPCRM".equals(codeString)) + return V3OrderableDrugForm.TOPCRM; + if ("VAGCRM".equals(codeString)) + return V3OrderableDrugForm.VAGCRM; + if ("VAGCRMAPL".equals(codeString)) + return V3OrderableDrugForm.VAGCRMAPL; + if ("LTN".equals(codeString)) + return V3OrderableDrugForm.LTN; + if ("TOPLTN".equals(codeString)) + return V3OrderableDrugForm.TOPLTN; + if ("OINT".equals(codeString)) + return V3OrderableDrugForm.OINT; + if ("NASOINT".equals(codeString)) + return V3OrderableDrugForm.NASOINT; + if ("OINTAPL".equals(codeString)) + return V3OrderableDrugForm.OINTAPL; + if ("OPOINT".equals(codeString)) + return V3OrderableDrugForm.OPOINT; + if ("OTOINT".equals(codeString)) + return V3OrderableDrugForm.OTOINT; + if ("RECOINT".equals(codeString)) + return V3OrderableDrugForm.RECOINT; + if ("TOPOINT".equals(codeString)) + return V3OrderableDrugForm.TOPOINT; + if ("VAGOINT".equals(codeString)) + return V3OrderableDrugForm.VAGOINT; + if ("VAGOINTAPL".equals(codeString)) + return V3OrderableDrugForm.VAGOINTAPL; + if ("_LiquidSolidSuspension".equals(codeString)) + return V3OrderableDrugForm._LIQUIDSOLIDSUSPENSION; + if ("GEL".equals(codeString)) + return V3OrderableDrugForm.GEL; + if ("GELAPL".equals(codeString)) + return V3OrderableDrugForm.GELAPL; + if ("NASGEL".equals(codeString)) + return V3OrderableDrugForm.NASGEL; + if ("OPGEL".equals(codeString)) + return V3OrderableDrugForm.OPGEL; + if ("OTGEL".equals(codeString)) + return V3OrderableDrugForm.OTGEL; + if ("TOPGEL".equals(codeString)) + return V3OrderableDrugForm.TOPGEL; + if ("URETHGEL".equals(codeString)) + return V3OrderableDrugForm.URETHGEL; + if ("VAGGEL".equals(codeString)) + return V3OrderableDrugForm.VAGGEL; + if ("VGELAPL".equals(codeString)) + return V3OrderableDrugForm.VGELAPL; + if ("PASTE".equals(codeString)) + return V3OrderableDrugForm.PASTE; + if ("PUD".equals(codeString)) + return V3OrderableDrugForm.PUD; + if ("TPASTE".equals(codeString)) + return V3OrderableDrugForm.TPASTE; + if ("SUSP".equals(codeString)) + return V3OrderableDrugForm.SUSP; + if ("ITSUSP".equals(codeString)) + return V3OrderableDrugForm.ITSUSP; + if ("OPSUSP".equals(codeString)) + return V3OrderableDrugForm.OPSUSP; + if ("ORSUSP".equals(codeString)) + return V3OrderableDrugForm.ORSUSP; + if ("ERSUSP".equals(codeString)) + return V3OrderableDrugForm.ERSUSP; + if ("ERSUSP12".equals(codeString)) + return V3OrderableDrugForm.ERSUSP12; + if ("ERSUSP24".equals(codeString)) + return V3OrderableDrugForm.ERSUSP24; + if ("OTSUSP".equals(codeString)) + return V3OrderableDrugForm.OTSUSP; + if ("RECSUSP".equals(codeString)) + return V3OrderableDrugForm.RECSUSP; + if ("_SolidDrugForm".equals(codeString)) + return V3OrderableDrugForm._SOLIDDRUGFORM; + if ("BAR".equals(codeString)) + return V3OrderableDrugForm.BAR; + if ("BARSOAP".equals(codeString)) + return V3OrderableDrugForm.BARSOAP; + if ("MEDBAR".equals(codeString)) + return V3OrderableDrugForm.MEDBAR; + if ("CHEWBAR".equals(codeString)) + return V3OrderableDrugForm.CHEWBAR; + if ("BEAD".equals(codeString)) + return V3OrderableDrugForm.BEAD; + if ("CAKE".equals(codeString)) + return V3OrderableDrugForm.CAKE; + if ("CEMENT".equals(codeString)) + return V3OrderableDrugForm.CEMENT; + if ("CRYS".equals(codeString)) + return V3OrderableDrugForm.CRYS; + if ("DISK".equals(codeString)) + return V3OrderableDrugForm.DISK; + if ("FLAKE".equals(codeString)) + return V3OrderableDrugForm.FLAKE; + if ("GRAN".equals(codeString)) + return V3OrderableDrugForm.GRAN; + if ("GUM".equals(codeString)) + return V3OrderableDrugForm.GUM; + if ("PAD".equals(codeString)) + return V3OrderableDrugForm.PAD; + if ("MEDPAD".equals(codeString)) + return V3OrderableDrugForm.MEDPAD; + if ("PATCH".equals(codeString)) + return V3OrderableDrugForm.PATCH; + if ("TPATCH".equals(codeString)) + return V3OrderableDrugForm.TPATCH; + if ("TPATH16".equals(codeString)) + return V3OrderableDrugForm.TPATH16; + if ("TPATH24".equals(codeString)) + return V3OrderableDrugForm.TPATH24; + if ("TPATH2WK".equals(codeString)) + return V3OrderableDrugForm.TPATH2WK; + if ("TPATH72".equals(codeString)) + return V3OrderableDrugForm.TPATH72; + if ("TPATHWK".equals(codeString)) + return V3OrderableDrugForm.TPATHWK; + if ("PELLET".equals(codeString)) + return V3OrderableDrugForm.PELLET; + if ("PILL".equals(codeString)) + return V3OrderableDrugForm.PILL; + if ("CAP".equals(codeString)) + return V3OrderableDrugForm.CAP; + if ("ORCAP".equals(codeString)) + return V3OrderableDrugForm.ORCAP; + if ("ENTCAP".equals(codeString)) + return V3OrderableDrugForm.ENTCAP; + if ("ERENTCAP".equals(codeString)) + return V3OrderableDrugForm.ERENTCAP; + if ("ERCAP".equals(codeString)) + return V3OrderableDrugForm.ERCAP; + if ("ERCAP12".equals(codeString)) + return V3OrderableDrugForm.ERCAP12; + if ("ERCAP24".equals(codeString)) + return V3OrderableDrugForm.ERCAP24; + if ("TAB".equals(codeString)) + return V3OrderableDrugForm.TAB; + if ("ORTAB".equals(codeString)) + return V3OrderableDrugForm.ORTAB; + if ("BUCTAB".equals(codeString)) + return V3OrderableDrugForm.BUCTAB; + if ("SRBUCTAB".equals(codeString)) + return V3OrderableDrugForm.SRBUCTAB; + if ("CAPLET".equals(codeString)) + return V3OrderableDrugForm.CAPLET; + if ("CHEWTAB".equals(codeString)) + return V3OrderableDrugForm.CHEWTAB; + if ("CPTAB".equals(codeString)) + return V3OrderableDrugForm.CPTAB; + if ("DISINTAB".equals(codeString)) + return V3OrderableDrugForm.DISINTAB; + if ("DRTAB".equals(codeString)) + return V3OrderableDrugForm.DRTAB; + if ("ECTAB".equals(codeString)) + return V3OrderableDrugForm.ECTAB; + if ("ERECTAB".equals(codeString)) + return V3OrderableDrugForm.ERECTAB; + if ("ERTAB".equals(codeString)) + return V3OrderableDrugForm.ERTAB; + if ("ERTAB12".equals(codeString)) + return V3OrderableDrugForm.ERTAB12; + if ("ERTAB24".equals(codeString)) + return V3OrderableDrugForm.ERTAB24; + if ("ORTROCHE".equals(codeString)) + return V3OrderableDrugForm.ORTROCHE; + if ("SLTAB".equals(codeString)) + return V3OrderableDrugForm.SLTAB; + if ("VAGTAB".equals(codeString)) + return V3OrderableDrugForm.VAGTAB; + if ("POWD".equals(codeString)) + return V3OrderableDrugForm.POWD; + if ("TOPPWD".equals(codeString)) + return V3OrderableDrugForm.TOPPWD; + if ("RECPWD".equals(codeString)) + return V3OrderableDrugForm.RECPWD; + if ("VAGPWD".equals(codeString)) + return V3OrderableDrugForm.VAGPWD; + if ("SUPP".equals(codeString)) + return V3OrderableDrugForm.SUPP; + if ("RECSUPP".equals(codeString)) + return V3OrderableDrugForm.RECSUPP; + if ("URETHSUPP".equals(codeString)) + return V3OrderableDrugForm.URETHSUPP; + if ("VAGSUPP".equals(codeString)) + return V3OrderableDrugForm.VAGSUPP; + if ("SWAB".equals(codeString)) + return V3OrderableDrugForm.SWAB; + if ("MEDSWAB".equals(codeString)) + return V3OrderableDrugForm.MEDSWAB; + if ("WAFER".equals(codeString)) + return V3OrderableDrugForm.WAFER; + throw new IllegalArgumentException("Unknown V3OrderableDrugForm code '"+codeString+"'"); + } + + public String toCode(V3OrderableDrugForm code) { + if (code == V3OrderableDrugForm._ADMINISTRABLEDRUGFORM) + return "_AdministrableDrugForm"; + if (code == V3OrderableDrugForm.APPFUL) + return "APPFUL"; + if (code == V3OrderableDrugForm.DROP) + return "DROP"; + if (code == V3OrderableDrugForm.NDROP) + return "NDROP"; + if (code == V3OrderableDrugForm.OPDROP) + return "OPDROP"; + if (code == V3OrderableDrugForm.ORDROP) + return "ORDROP"; + if (code == V3OrderableDrugForm.OTDROP) + return "OTDROP"; + if (code == V3OrderableDrugForm.PUFF) + return "PUFF"; + if (code == V3OrderableDrugForm.SCOOP) + return "SCOOP"; + if (code == V3OrderableDrugForm.SPRY) + return "SPRY"; + if (code == V3OrderableDrugForm._DISPENSABLEDRUGFORM) + return "_DispensableDrugForm"; + if (code == V3OrderableDrugForm._GASDRUGFORM) + return "_GasDrugForm"; + if (code == V3OrderableDrugForm.GASINHL) + return "GASINHL"; + if (code == V3OrderableDrugForm._GASLIQUIDMIXTURE) + return "_GasLiquidMixture"; + if (code == V3OrderableDrugForm.AER) + return "AER"; + if (code == V3OrderableDrugForm.BAINHL) + return "BAINHL"; + if (code == V3OrderableDrugForm.INHLSOL) + return "INHLSOL"; + if (code == V3OrderableDrugForm.MDINHL) + return "MDINHL"; + if (code == V3OrderableDrugForm.NASSPRY) + return "NASSPRY"; + if (code == V3OrderableDrugForm.DERMSPRY) + return "DERMSPRY"; + if (code == V3OrderableDrugForm.FOAM) + return "FOAM"; + if (code == V3OrderableDrugForm.FOAMAPL) + return "FOAMAPL"; + if (code == V3OrderableDrugForm.RECFORM) + return "RECFORM"; + if (code == V3OrderableDrugForm.VAGFOAM) + return "VAGFOAM"; + if (code == V3OrderableDrugForm.VAGFOAMAPL) + return "VAGFOAMAPL"; + if (code == V3OrderableDrugForm.RECSPRY) + return "RECSPRY"; + if (code == V3OrderableDrugForm.VAGSPRY) + return "VAGSPRY"; + if (code == V3OrderableDrugForm._GASSOLIDSPRAY) + return "_GasSolidSpray"; + if (code == V3OrderableDrugForm.INHL) + return "INHL"; + if (code == V3OrderableDrugForm.BAINHLPWD) + return "BAINHLPWD"; + if (code == V3OrderableDrugForm.INHLPWD) + return "INHLPWD"; + if (code == V3OrderableDrugForm.MDINHLPWD) + return "MDINHLPWD"; + if (code == V3OrderableDrugForm.NASINHL) + return "NASINHL"; + if (code == V3OrderableDrugForm.ORINHL) + return "ORINHL"; + if (code == V3OrderableDrugForm.PWDSPRY) + return "PWDSPRY"; + if (code == V3OrderableDrugForm.SPRYADAPT) + return "SPRYADAPT"; + if (code == V3OrderableDrugForm._LIQUID) + return "_Liquid"; + if (code == V3OrderableDrugForm.LIQCLN) + return "LIQCLN"; + if (code == V3OrderableDrugForm.LIQSOAP) + return "LIQSOAP"; + if (code == V3OrderableDrugForm.SHMP) + return "SHMP"; + if (code == V3OrderableDrugForm.OIL) + return "OIL"; + if (code == V3OrderableDrugForm.TOPOIL) + return "TOPOIL"; + if (code == V3OrderableDrugForm.SOL) + return "SOL"; + if (code == V3OrderableDrugForm.IPSOL) + return "IPSOL"; + if (code == V3OrderableDrugForm.IRSOL) + return "IRSOL"; + if (code == V3OrderableDrugForm.DOUCHE) + return "DOUCHE"; + if (code == V3OrderableDrugForm.ENEMA) + return "ENEMA"; + if (code == V3OrderableDrugForm.OPIRSOL) + return "OPIRSOL"; + if (code == V3OrderableDrugForm.IVSOL) + return "IVSOL"; + if (code == V3OrderableDrugForm.ORALSOL) + return "ORALSOL"; + if (code == V3OrderableDrugForm.ELIXIR) + return "ELIXIR"; + if (code == V3OrderableDrugForm.RINSE) + return "RINSE"; + if (code == V3OrderableDrugForm.SYRUP) + return "SYRUP"; + if (code == V3OrderableDrugForm.RECSOL) + return "RECSOL"; + if (code == V3OrderableDrugForm.TOPSOL) + return "TOPSOL"; + if (code == V3OrderableDrugForm.LIN) + return "LIN"; + if (code == V3OrderableDrugForm.MUCTOPSOL) + return "MUCTOPSOL"; + if (code == V3OrderableDrugForm.TINC) + return "TINC"; + if (code == V3OrderableDrugForm._LIQUIDLIQUIDEMULSION) + return "_LiquidLiquidEmulsion"; + if (code == V3OrderableDrugForm.CRM) + return "CRM"; + if (code == V3OrderableDrugForm.NASCRM) + return "NASCRM"; + if (code == V3OrderableDrugForm.OPCRM) + return "OPCRM"; + if (code == V3OrderableDrugForm.ORCRM) + return "ORCRM"; + if (code == V3OrderableDrugForm.OTCRM) + return "OTCRM"; + if (code == V3OrderableDrugForm.RECCRM) + return "RECCRM"; + if (code == V3OrderableDrugForm.TOPCRM) + return "TOPCRM"; + if (code == V3OrderableDrugForm.VAGCRM) + return "VAGCRM"; + if (code == V3OrderableDrugForm.VAGCRMAPL) + return "VAGCRMAPL"; + if (code == V3OrderableDrugForm.LTN) + return "LTN"; + if (code == V3OrderableDrugForm.TOPLTN) + return "TOPLTN"; + if (code == V3OrderableDrugForm.OINT) + return "OINT"; + if (code == V3OrderableDrugForm.NASOINT) + return "NASOINT"; + if (code == V3OrderableDrugForm.OINTAPL) + return "OINTAPL"; + if (code == V3OrderableDrugForm.OPOINT) + return "OPOINT"; + if (code == V3OrderableDrugForm.OTOINT) + return "OTOINT"; + if (code == V3OrderableDrugForm.RECOINT) + return "RECOINT"; + if (code == V3OrderableDrugForm.TOPOINT) + return "TOPOINT"; + if (code == V3OrderableDrugForm.VAGOINT) + return "VAGOINT"; + if (code == V3OrderableDrugForm.VAGOINTAPL) + return "VAGOINTAPL"; + if (code == V3OrderableDrugForm._LIQUIDSOLIDSUSPENSION) + return "_LiquidSolidSuspension"; + if (code == V3OrderableDrugForm.GEL) + return "GEL"; + if (code == V3OrderableDrugForm.GELAPL) + return "GELAPL"; + if (code == V3OrderableDrugForm.NASGEL) + return "NASGEL"; + if (code == V3OrderableDrugForm.OPGEL) + return "OPGEL"; + if (code == V3OrderableDrugForm.OTGEL) + return "OTGEL"; + if (code == V3OrderableDrugForm.TOPGEL) + return "TOPGEL"; + if (code == V3OrderableDrugForm.URETHGEL) + return "URETHGEL"; + if (code == V3OrderableDrugForm.VAGGEL) + return "VAGGEL"; + if (code == V3OrderableDrugForm.VGELAPL) + return "VGELAPL"; + if (code == V3OrderableDrugForm.PASTE) + return "PASTE"; + if (code == V3OrderableDrugForm.PUD) + return "PUD"; + if (code == V3OrderableDrugForm.TPASTE) + return "TPASTE"; + if (code == V3OrderableDrugForm.SUSP) + return "SUSP"; + if (code == V3OrderableDrugForm.ITSUSP) + return "ITSUSP"; + if (code == V3OrderableDrugForm.OPSUSP) + return "OPSUSP"; + if (code == V3OrderableDrugForm.ORSUSP) + return "ORSUSP"; + if (code == V3OrderableDrugForm.ERSUSP) + return "ERSUSP"; + if (code == V3OrderableDrugForm.ERSUSP12) + return "ERSUSP12"; + if (code == V3OrderableDrugForm.ERSUSP24) + return "ERSUSP24"; + if (code == V3OrderableDrugForm.OTSUSP) + return "OTSUSP"; + if (code == V3OrderableDrugForm.RECSUSP) + return "RECSUSP"; + if (code == V3OrderableDrugForm._SOLIDDRUGFORM) + return "_SolidDrugForm"; + if (code == V3OrderableDrugForm.BAR) + return "BAR"; + if (code == V3OrderableDrugForm.BARSOAP) + return "BARSOAP"; + if (code == V3OrderableDrugForm.MEDBAR) + return "MEDBAR"; + if (code == V3OrderableDrugForm.CHEWBAR) + return "CHEWBAR"; + if (code == V3OrderableDrugForm.BEAD) + return "BEAD"; + if (code == V3OrderableDrugForm.CAKE) + return "CAKE"; + if (code == V3OrderableDrugForm.CEMENT) + return "CEMENT"; + if (code == V3OrderableDrugForm.CRYS) + return "CRYS"; + if (code == V3OrderableDrugForm.DISK) + return "DISK"; + if (code == V3OrderableDrugForm.FLAKE) + return "FLAKE"; + if (code == V3OrderableDrugForm.GRAN) + return "GRAN"; + if (code == V3OrderableDrugForm.GUM) + return "GUM"; + if (code == V3OrderableDrugForm.PAD) + return "PAD"; + if (code == V3OrderableDrugForm.MEDPAD) + return "MEDPAD"; + if (code == V3OrderableDrugForm.PATCH) + return "PATCH"; + if (code == V3OrderableDrugForm.TPATCH) + return "TPATCH"; + if (code == V3OrderableDrugForm.TPATH16) + return "TPATH16"; + if (code == V3OrderableDrugForm.TPATH24) + return "TPATH24"; + if (code == V3OrderableDrugForm.TPATH2WK) + return "TPATH2WK"; + if (code == V3OrderableDrugForm.TPATH72) + return "TPATH72"; + if (code == V3OrderableDrugForm.TPATHWK) + return "TPATHWK"; + if (code == V3OrderableDrugForm.PELLET) + return "PELLET"; + if (code == V3OrderableDrugForm.PILL) + return "PILL"; + if (code == V3OrderableDrugForm.CAP) + return "CAP"; + if (code == V3OrderableDrugForm.ORCAP) + return "ORCAP"; + if (code == V3OrderableDrugForm.ENTCAP) + return "ENTCAP"; + if (code == V3OrderableDrugForm.ERENTCAP) + return "ERENTCAP"; + if (code == V3OrderableDrugForm.ERCAP) + return "ERCAP"; + if (code == V3OrderableDrugForm.ERCAP12) + return "ERCAP12"; + if (code == V3OrderableDrugForm.ERCAP24) + return "ERCAP24"; + if (code == V3OrderableDrugForm.TAB) + return "TAB"; + if (code == V3OrderableDrugForm.ORTAB) + return "ORTAB"; + if (code == V3OrderableDrugForm.BUCTAB) + return "BUCTAB"; + if (code == V3OrderableDrugForm.SRBUCTAB) + return "SRBUCTAB"; + if (code == V3OrderableDrugForm.CAPLET) + return "CAPLET"; + if (code == V3OrderableDrugForm.CHEWTAB) + return "CHEWTAB"; + if (code == V3OrderableDrugForm.CPTAB) + return "CPTAB"; + if (code == V3OrderableDrugForm.DISINTAB) + return "DISINTAB"; + if (code == V3OrderableDrugForm.DRTAB) + return "DRTAB"; + if (code == V3OrderableDrugForm.ECTAB) + return "ECTAB"; + if (code == V3OrderableDrugForm.ERECTAB) + return "ERECTAB"; + if (code == V3OrderableDrugForm.ERTAB) + return "ERTAB"; + if (code == V3OrderableDrugForm.ERTAB12) + return "ERTAB12"; + if (code == V3OrderableDrugForm.ERTAB24) + return "ERTAB24"; + if (code == V3OrderableDrugForm.ORTROCHE) + return "ORTROCHE"; + if (code == V3OrderableDrugForm.SLTAB) + return "SLTAB"; + if (code == V3OrderableDrugForm.VAGTAB) + return "VAGTAB"; + if (code == V3OrderableDrugForm.POWD) + return "POWD"; + if (code == V3OrderableDrugForm.TOPPWD) + return "TOPPWD"; + if (code == V3OrderableDrugForm.RECPWD) + return "RECPWD"; + if (code == V3OrderableDrugForm.VAGPWD) + return "VAGPWD"; + if (code == V3OrderableDrugForm.SUPP) + return "SUPP"; + if (code == V3OrderableDrugForm.RECSUPP) + return "RECSUPP"; + if (code == V3OrderableDrugForm.URETHSUPP) + return "URETHSUPP"; + if (code == V3OrderableDrugForm.VAGSUPP) + return "VAGSUPP"; + if (code == V3OrderableDrugForm.SWAB) + return "SWAB"; + if (code == V3OrderableDrugForm.MEDSWAB) + return "MEDSWAB"; + if (code == V3OrderableDrugForm.WAFER) + return "WAFER"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationFunction.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationFunction.java new file mode 100644 index 00000000000..62e3f4c79d4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationFunction.java @@ -0,0 +1,518 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ParticipationFunction { + + /** + * This code is used to specify the exact function an actor is authorized to have in a service in all necessary detail. + */ + _AUTHORIZEDPARTICIPATIONFUNCTION, + /** + * This code is used to specify the exact function an actor is authorized to have as a receiver of information that is the subject of a consent directive or consent override. + */ + _AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION, + /** + * Description:Caregiver authorized to receive patient health information. + */ + AUCG, + /** + * Description:Provider with legitimate relationship authorized to receive patient health information. + */ + AULR, + /** + * Description:Member of care team authorized to receive patient health information. + */ + AUTM, + /** + * Description:Entities within specified work area authorized to receive patient health information. + */ + AUWA, + /** + * This code is used to specify the exact function an actor is authorized to have in authoring a consent directive. + */ + _CONSENTERPARTICIPATIONFUNCTION, + /** + * Description:Legal guardian of the subject of consent authorized to author a consent directive for the subject of consent. + */ + GRDCON, + /** + * Description:Person authorized with healthcare power of attorney to author a consent directive for the subject of consent. + */ + POACON, + /** + * Description:Personal representative of the subject of consent authorized to author a consent directive for the subject of consent. + */ + PRCON, + /** + * Definition:Provider authorized to mask information to protect the patient, a third party, or to ensure that the provider has consulted with the patient prior to release of this information. + */ + PROMSK, + /** + * Description:Subject of consent authorized to author a consent directive. + */ + SUBCON, + /** + * This code is used to specify the exact function an actor is authorized to have in authoring a consent override. + */ + _OVERRIDERPARTICIPATIONFUNCTION, + /** + * Description:Entity authorized to override a consent directive. + */ + AUCOV, + /** + * Description:Entity authorized to override a consent directive or privacy policy in an emergency. + */ + AUEMROV, + /** + * Definition: Set of codes indicating the manner in which sponsors, underwriters, and payers participate in a policy or program. + */ + _COVERAGEPARTICIPATIONFUNCTION, + /** + * Definition: Set of codes indicating the manner in which payors participate in a policy or program. { + + public V3ParticipationFunction fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AuthorizedParticipationFunction".equals(codeString)) + return V3ParticipationFunction._AUTHORIZEDPARTICIPATIONFUNCTION; + if ("_AuthorizedReceiverParticipationFunction".equals(codeString)) + return V3ParticipationFunction._AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION; + if ("AUCG".equals(codeString)) + return V3ParticipationFunction.AUCG; + if ("AULR".equals(codeString)) + return V3ParticipationFunction.AULR; + if ("AUTM".equals(codeString)) + return V3ParticipationFunction.AUTM; + if ("AUWA".equals(codeString)) + return V3ParticipationFunction.AUWA; + if ("_ConsenterParticipationFunction".equals(codeString)) + return V3ParticipationFunction._CONSENTERPARTICIPATIONFUNCTION; + if ("GRDCON".equals(codeString)) + return V3ParticipationFunction.GRDCON; + if ("POACON".equals(codeString)) + return V3ParticipationFunction.POACON; + if ("PRCON".equals(codeString)) + return V3ParticipationFunction.PRCON; + if ("PROMSK".equals(codeString)) + return V3ParticipationFunction.PROMSK; + if ("SUBCON".equals(codeString)) + return V3ParticipationFunction.SUBCON; + if ("_OverriderParticipationFunction".equals(codeString)) + return V3ParticipationFunction._OVERRIDERPARTICIPATIONFUNCTION; + if ("AUCOV".equals(codeString)) + return V3ParticipationFunction.AUCOV; + if ("AUEMROV".equals(codeString)) + return V3ParticipationFunction.AUEMROV; + if ("_CoverageParticipationFunction".equals(codeString)) + return V3ParticipationFunction._COVERAGEPARTICIPATIONFUNCTION; + if ("_PayorParticipationFunction".equals(codeString)) + return V3ParticipationFunction._PAYORPARTICIPATIONFUNCTION; + if ("CLMADJ".equals(codeString)) + return V3ParticipationFunction.CLMADJ; + if ("ENROLL".equals(codeString)) + return V3ParticipationFunction.ENROLL; + if ("FFSMGT".equals(codeString)) + return V3ParticipationFunction.FFSMGT; + if ("MCMGT".equals(codeString)) + return V3ParticipationFunction.MCMGT; + if ("PROVMGT".equals(codeString)) + return V3ParticipationFunction.PROVMGT; + if ("UMGT".equals(codeString)) + return V3ParticipationFunction.UMGT; + if ("_SponsorParticipationFunction".equals(codeString)) + return V3ParticipationFunction._SPONSORPARTICIPATIONFUNCTION; + if ("FULINRD".equals(codeString)) + return V3ParticipationFunction.FULINRD; + if ("SELFINRD".equals(codeString)) + return V3ParticipationFunction.SELFINRD; + if ("_UnderwriterParticipationFunction".equals(codeString)) + return V3ParticipationFunction._UNDERWRITERPARTICIPATIONFUNCTION; + if ("PAYORCNTR".equals(codeString)) + return V3ParticipationFunction.PAYORCNTR; + if ("REINS".equals(codeString)) + return V3ParticipationFunction.REINS; + if ("RETROCES".equals(codeString)) + return V3ParticipationFunction.RETROCES; + if ("SUBCTRT".equals(codeString)) + return V3ParticipationFunction.SUBCTRT; + if ("UNDERWRTNG".equals(codeString)) + return V3ParticipationFunction.UNDERWRTNG; + if ("ADMPHYS".equals(codeString)) + return V3ParticipationFunction.ADMPHYS; + if ("ANEST".equals(codeString)) + return V3ParticipationFunction.ANEST; + if ("ANRS".equals(codeString)) + return V3ParticipationFunction.ANRS; + if ("ASSEMBLER".equals(codeString)) + return V3ParticipationFunction.ASSEMBLER; + if ("ATTPHYS".equals(codeString)) + return V3ParticipationFunction.ATTPHYS; + if ("COMPOSER".equals(codeString)) + return V3ParticipationFunction.COMPOSER; + if ("DISPHYS".equals(codeString)) + return V3ParticipationFunction.DISPHYS; + if ("FASST".equals(codeString)) + return V3ParticipationFunction.FASST; + if ("MDWF".equals(codeString)) + return V3ParticipationFunction.MDWF; + if ("NASST".equals(codeString)) + return V3ParticipationFunction.NASST; + if ("PCP".equals(codeString)) + return V3ParticipationFunction.PCP; + if ("PRISURG".equals(codeString)) + return V3ParticipationFunction.PRISURG; + if ("REVIEWER".equals(codeString)) + return V3ParticipationFunction.REVIEWER; + if ("RNDPHYS".equals(codeString)) + return V3ParticipationFunction.RNDPHYS; + if ("SASST".equals(codeString)) + return V3ParticipationFunction.SASST; + if ("SNRS".equals(codeString)) + return V3ParticipationFunction.SNRS; + if ("TASST".equals(codeString)) + return V3ParticipationFunction.TASST; + throw new IllegalArgumentException("Unknown V3ParticipationFunction code '"+codeString+"'"); + } + + public String toCode(V3ParticipationFunction code) { + if (code == V3ParticipationFunction._AUTHORIZEDPARTICIPATIONFUNCTION) + return "_AuthorizedParticipationFunction"; + if (code == V3ParticipationFunction._AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION) + return "_AuthorizedReceiverParticipationFunction"; + if (code == V3ParticipationFunction.AUCG) + return "AUCG"; + if (code == V3ParticipationFunction.AULR) + return "AULR"; + if (code == V3ParticipationFunction.AUTM) + return "AUTM"; + if (code == V3ParticipationFunction.AUWA) + return "AUWA"; + if (code == V3ParticipationFunction._CONSENTERPARTICIPATIONFUNCTION) + return "_ConsenterParticipationFunction"; + if (code == V3ParticipationFunction.GRDCON) + return "GRDCON"; + if (code == V3ParticipationFunction.POACON) + return "POACON"; + if (code == V3ParticipationFunction.PRCON) + return "PRCON"; + if (code == V3ParticipationFunction.PROMSK) + return "PROMSK"; + if (code == V3ParticipationFunction.SUBCON) + return "SUBCON"; + if (code == V3ParticipationFunction._OVERRIDERPARTICIPATIONFUNCTION) + return "_OverriderParticipationFunction"; + if (code == V3ParticipationFunction.AUCOV) + return "AUCOV"; + if (code == V3ParticipationFunction.AUEMROV) + return "AUEMROV"; + if (code == V3ParticipationFunction._COVERAGEPARTICIPATIONFUNCTION) + return "_CoverageParticipationFunction"; + if (code == V3ParticipationFunction._PAYORPARTICIPATIONFUNCTION) + return "_PayorParticipationFunction"; + if (code == V3ParticipationFunction.CLMADJ) + return "CLMADJ"; + if (code == V3ParticipationFunction.ENROLL) + return "ENROLL"; + if (code == V3ParticipationFunction.FFSMGT) + return "FFSMGT"; + if (code == V3ParticipationFunction.MCMGT) + return "MCMGT"; + if (code == V3ParticipationFunction.PROVMGT) + return "PROVMGT"; + if (code == V3ParticipationFunction.UMGT) + return "UMGT"; + if (code == V3ParticipationFunction._SPONSORPARTICIPATIONFUNCTION) + return "_SponsorParticipationFunction"; + if (code == V3ParticipationFunction.FULINRD) + return "FULINRD"; + if (code == V3ParticipationFunction.SELFINRD) + return "SELFINRD"; + if (code == V3ParticipationFunction._UNDERWRITERPARTICIPATIONFUNCTION) + return "_UnderwriterParticipationFunction"; + if (code == V3ParticipationFunction.PAYORCNTR) + return "PAYORCNTR"; + if (code == V3ParticipationFunction.REINS) + return "REINS"; + if (code == V3ParticipationFunction.RETROCES) + return "RETROCES"; + if (code == V3ParticipationFunction.SUBCTRT) + return "SUBCTRT"; + if (code == V3ParticipationFunction.UNDERWRTNG) + return "UNDERWRTNG"; + if (code == V3ParticipationFunction.ADMPHYS) + return "ADMPHYS"; + if (code == V3ParticipationFunction.ANEST) + return "ANEST"; + if (code == V3ParticipationFunction.ANRS) + return "ANRS"; + if (code == V3ParticipationFunction.ASSEMBLER) + return "ASSEMBLER"; + if (code == V3ParticipationFunction.ATTPHYS) + return "ATTPHYS"; + if (code == V3ParticipationFunction.COMPOSER) + return "COMPOSER"; + if (code == V3ParticipationFunction.DISPHYS) + return "DISPHYS"; + if (code == V3ParticipationFunction.FASST) + return "FASST"; + if (code == V3ParticipationFunction.MDWF) + return "MDWF"; + if (code == V3ParticipationFunction.NASST) + return "NASST"; + if (code == V3ParticipationFunction.PCP) + return "PCP"; + if (code == V3ParticipationFunction.PRISURG) + return "PRISURG"; + if (code == V3ParticipationFunction.REVIEWER) + return "REVIEWER"; + if (code == V3ParticipationFunction.RNDPHYS) + return "RNDPHYS"; + if (code == V3ParticipationFunction.SASST) + return "SASST"; + if (code == V3ParticipationFunction.SNRS) + return "SNRS"; + if (code == V3ParticipationFunction.TASST) + return "TASST"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationMode.java new file mode 100644 index 00000000000..79451b036b8 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationMode.java @@ -0,0 +1,202 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ParticipationMode { + + /** + * Participation by non-human-languaged based electronic signal + */ + ELECTRONIC, + /** + * Participation by direct action where subject and actor are in the same location. (The participation involves more than communication.) + */ + PHYSICAL, + /** + * Participation by direct action where subject and actor are in separate locations, and the actions of the actor are transmitted by electronic or mechanical means. (The participation involves more than communication.) + */ + REMOTE, + /** + * Participation by voice communication + */ + VERBAL, + /** + * Participation by pre-recorded voice. Communication is limited to one direction (from the recorder to recipient). + */ + DICTATE, + /** + * Participation by voice communication where parties speak to each other directly. + */ + FACE, + /** + * Participation by voice communication where the voices of the communicating parties are transported over an electronic medium + */ + PHONE, + /** + * Participation by voice and visual communication where the voices and images of the communicating parties are transported over an electronic medium + */ + VIDEOCONF, + /** + * Participation by human language recorded on a physical material + */ + WRITTEN, + /** + * Participation by text or diagrams printed on paper that have been transmitted over a fax device + */ + FAXWRIT, + /** + * Participation by text or diagrams printed on paper or other recording medium + */ + HANDWRIT, + /** + * Participation by text or diagrams printed on paper transmitted physically (e.g. by courier service, postal service). + */ + MAILWRIT, + /** + * Participation by text or diagrams submitted by computer network, e.g. online survey. + */ + ONLINEWRIT, + /** + * Participation by text or diagrams transmitted over an electronic mail system. + */ + EMAILWRIT, + /** + * Participation by text or diagrams printed on paper or other recording medium where the recording was performed using a typewriter, typesetter, computer or similar mechanism. + */ + TYPEWRIT, + /** + * added to help the parsers + */ + NULL; + public static V3ParticipationMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ELECTRONIC".equals(codeString)) + return ELECTRONIC; + if ("PHYSICAL".equals(codeString)) + return PHYSICAL; + if ("REMOTE".equals(codeString)) + return REMOTE; + if ("VERBAL".equals(codeString)) + return VERBAL; + if ("DICTATE".equals(codeString)) + return DICTATE; + if ("FACE".equals(codeString)) + return FACE; + if ("PHONE".equals(codeString)) + return PHONE; + if ("VIDEOCONF".equals(codeString)) + return VIDEOCONF; + if ("WRITTEN".equals(codeString)) + return WRITTEN; + if ("FAXWRIT".equals(codeString)) + return FAXWRIT; + if ("HANDWRIT".equals(codeString)) + return HANDWRIT; + if ("MAILWRIT".equals(codeString)) + return MAILWRIT; + if ("ONLINEWRIT".equals(codeString)) + return ONLINEWRIT; + if ("EMAILWRIT".equals(codeString)) + return EMAILWRIT; + if ("TYPEWRIT".equals(codeString)) + return TYPEWRIT; + throw new Exception("Unknown V3ParticipationMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ELECTRONIC: return "ELECTRONIC"; + case PHYSICAL: return "PHYSICAL"; + case REMOTE: return "REMOTE"; + case VERBAL: return "VERBAL"; + case DICTATE: return "DICTATE"; + case FACE: return "FACE"; + case PHONE: return "PHONE"; + case VIDEOCONF: return "VIDEOCONF"; + case WRITTEN: return "WRITTEN"; + case FAXWRIT: return "FAXWRIT"; + case HANDWRIT: return "HANDWRIT"; + case MAILWRIT: return "MAILWRIT"; + case ONLINEWRIT: return "ONLINEWRIT"; + case EMAILWRIT: return "EMAILWRIT"; + case TYPEWRIT: return "TYPEWRIT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ParticipationMode"; + } + public String getDefinition() { + switch (this) { + case ELECTRONIC: return "Participation by non-human-languaged based electronic signal"; + case PHYSICAL: return "Participation by direct action where subject and actor are in the same location. (The participation involves more than communication.)"; + case REMOTE: return "Participation by direct action where subject and actor are in separate locations, and the actions of the actor are transmitted by electronic or mechanical means. (The participation involves more than communication.)"; + case VERBAL: return "Participation by voice communication"; + case DICTATE: return "Participation by pre-recorded voice. Communication is limited to one direction (from the recorder to recipient)."; + case FACE: return "Participation by voice communication where parties speak to each other directly."; + case PHONE: return "Participation by voice communication where the voices of the communicating parties are transported over an electronic medium"; + case VIDEOCONF: return "Participation by voice and visual communication where the voices and images of the communicating parties are transported over an electronic medium"; + case WRITTEN: return "Participation by human language recorded on a physical material"; + case FAXWRIT: return "Participation by text or diagrams printed on paper that have been transmitted over a fax device"; + case HANDWRIT: return "Participation by text or diagrams printed on paper or other recording medium"; + case MAILWRIT: return "Participation by text or diagrams printed on paper transmitted physically (e.g. by courier service, postal service)."; + case ONLINEWRIT: return "Participation by text or diagrams submitted by computer network, e.g. online survey."; + case EMAILWRIT: return "Participation by text or diagrams transmitted over an electronic mail system."; + case TYPEWRIT: return "Participation by text or diagrams printed on paper or other recording medium where the recording was performed using a typewriter, typesetter, computer or similar mechanism."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ELECTRONIC: return "electronic data"; + case PHYSICAL: return "physical presence"; + case REMOTE: return "remote presence"; + case VERBAL: return "verbal"; + case DICTATE: return "dictated"; + case FACE: return "face-to-face"; + case PHONE: return "telephone"; + case VIDEOCONF: return "videoconferencing"; + case WRITTEN: return "written"; + case FAXWRIT: return "telefax"; + case HANDWRIT: return "handwritten"; + case MAILWRIT: return "mail"; + case ONLINEWRIT: return "online written"; + case EMAILWRIT: return "email"; + case TYPEWRIT: return "typewritten"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationModeEnumFactory.java new file mode 100644 index 00000000000..ef5fb8a4057 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationModeEnumFactory.java @@ -0,0 +1,111 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ParticipationModeEnumFactory implements EnumFactory { + + public V3ParticipationMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ELECTRONIC".equals(codeString)) + return V3ParticipationMode.ELECTRONIC; + if ("PHYSICAL".equals(codeString)) + return V3ParticipationMode.PHYSICAL; + if ("REMOTE".equals(codeString)) + return V3ParticipationMode.REMOTE; + if ("VERBAL".equals(codeString)) + return V3ParticipationMode.VERBAL; + if ("DICTATE".equals(codeString)) + return V3ParticipationMode.DICTATE; + if ("FACE".equals(codeString)) + return V3ParticipationMode.FACE; + if ("PHONE".equals(codeString)) + return V3ParticipationMode.PHONE; + if ("VIDEOCONF".equals(codeString)) + return V3ParticipationMode.VIDEOCONF; + if ("WRITTEN".equals(codeString)) + return V3ParticipationMode.WRITTEN; + if ("FAXWRIT".equals(codeString)) + return V3ParticipationMode.FAXWRIT; + if ("HANDWRIT".equals(codeString)) + return V3ParticipationMode.HANDWRIT; + if ("MAILWRIT".equals(codeString)) + return V3ParticipationMode.MAILWRIT; + if ("ONLINEWRIT".equals(codeString)) + return V3ParticipationMode.ONLINEWRIT; + if ("EMAILWRIT".equals(codeString)) + return V3ParticipationMode.EMAILWRIT; + if ("TYPEWRIT".equals(codeString)) + return V3ParticipationMode.TYPEWRIT; + throw new IllegalArgumentException("Unknown V3ParticipationMode code '"+codeString+"'"); + } + + public String toCode(V3ParticipationMode code) { + if (code == V3ParticipationMode.ELECTRONIC) + return "ELECTRONIC"; + if (code == V3ParticipationMode.PHYSICAL) + return "PHYSICAL"; + if (code == V3ParticipationMode.REMOTE) + return "REMOTE"; + if (code == V3ParticipationMode.VERBAL) + return "VERBAL"; + if (code == V3ParticipationMode.DICTATE) + return "DICTATE"; + if (code == V3ParticipationMode.FACE) + return "FACE"; + if (code == V3ParticipationMode.PHONE) + return "PHONE"; + if (code == V3ParticipationMode.VIDEOCONF) + return "VIDEOCONF"; + if (code == V3ParticipationMode.WRITTEN) + return "WRITTEN"; + if (code == V3ParticipationMode.FAXWRIT) + return "FAXWRIT"; + if (code == V3ParticipationMode.HANDWRIT) + return "HANDWRIT"; + if (code == V3ParticipationMode.MAILWRIT) + return "MAILWRIT"; + if (code == V3ParticipationMode.ONLINEWRIT) + return "ONLINEWRIT"; + if (code == V3ParticipationMode.EMAILWRIT) + return "EMAILWRIT"; + if (code == V3ParticipationMode.TYPEWRIT) + return "TYPEWRIT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignature.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignature.java new file mode 100644 index 00000000000..cef17d4fe3d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignature.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ParticipationSignature { + + /** + * The particpant intends to provide a signature. + */ + I, + /** + * Signature has been affixed, either written on file, or electronic (incl. digital) signature in Participation.signatureText. + */ + S, + /** + * A signature for the service is required of this actor. + */ + X, + /** + * added to help the parsers + */ + NULL; + public static V3ParticipationSignature fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("I".equals(codeString)) + return I; + if ("S".equals(codeString)) + return S; + if ("X".equals(codeString)) + return X; + throw new Exception("Unknown V3ParticipationSignature code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case I: return "I"; + case S: return "S"; + case X: return "X"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ParticipationSignature"; + } + public String getDefinition() { + switch (this) { + case I: return "The particpant intends to provide a signature."; + case S: return "Signature has been affixed, either written on file, or electronic (incl. digital) signature in Participation.signatureText."; + case X: return "A signature for the service is required of this actor."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case I: return "intended"; + case S: return "signed"; + case X: return "required"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignatureEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignatureEnumFactory.java new file mode 100644 index 00000000000..01c855f5e6a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationSignatureEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ParticipationSignatureEnumFactory implements EnumFactory { + + public V3ParticipationSignature fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("I".equals(codeString)) + return V3ParticipationSignature.I; + if ("S".equals(codeString)) + return V3ParticipationSignature.S; + if ("X".equals(codeString)) + return V3ParticipationSignature.X; + throw new IllegalArgumentException("Unknown V3ParticipationSignature code '"+codeString+"'"); + } + + public String toCode(V3ParticipationSignature code) { + if (code == V3ParticipationSignature.I) + return "I"; + if (code == V3ParticipationSignature.S) + return "S"; + if (code == V3ParticipationSignature.X) + return "X"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationType.java new file mode 100644 index 00000000000..fe782214d74 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationType.java @@ -0,0 +1,657 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ParticipationType { + + /** + * Indicates that the target of the participation is involved in some manner in the act, but does not qualify how. + */ + PART, + /** + * Participations related, but not primary to an act. The Referring, Admitting, and Discharging practitioners must be the same person as those authoring the ControlAct event for their respective trigger events. + */ + _PARTICIPATIONANCILLARY, + /** + * The practitioner who is responsible for admitting a patient to a patient encounter. + */ + ADM, + /** + * The practitioner that has responsibility for overseeing a patient's care during a patient encounter. + */ + ATND, + /** + * A person or organization who should be contacted for follow-up questions about the act in place of the author. + */ + CALLBCK, + /** + * An advisor participating in the service by performing evaluations and making recommendations. + */ + CON, + /** + * The practitioner who is responsible for the discharge of a patient from a patient encounter. + */ + DIS, + /** + * Only with Transportation services. A person who escorts the patient. + */ + ESC, + /** + * A person having referred the subject of the service to the performer (referring physician). Typically, a referring physician will receive a report. + */ + REF, + /** + * Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g., consultant), information that the Act itself seeks to reveal (e.g., informant of clinical history), or information about what Act was performed (e.g., informant witness). + */ + _PARTICIPATIONINFORMATIONGENERATOR, + /** + * Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act. + + + Example: the report writer, the person writing the act definition, the guideline author, the placer of an order, the EKG cart (device) creating a report etc. Every Act should have an author. Authorship is regardless of mood always actual authorship. + + Examples of such policies might include: + + + + The author and anyone they explicitly delegate may update the report; + + + + All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic; + + + + A party that is neither an author nor a party who is extended authorship maintenance rights by policy, may only amend, reverse, override, replace, or follow up in other ways on this Act, whereby the Act remains intact and is linked to another Act authored by that other party. + */ + AUT, + /** + * A source of reported information (e.g., a next of kin who answers questions about the patient's history). For history questions, the patient is logically an informant, yet the informant of history questions is implicitly the subject. + */ + INF, + /** + * An entity entering the data into the originating system. The data entry entity is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text transcribed into electronic form. + */ + TRANS, + /** + * A person entering the data into the originating system. The data entry person is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text. + */ + ENT, + /** + * Only with service events. A person witnessing the action happening without doing anything. A witness is not necessarily aware, much less approves of anything stated in the service event. Example for a witness is students watching an operation or an advanced directive witness. + */ + WIT, + /** + * An entity (person, organization or device) that is in charge of maintaining the information of this act (e.g., who maintains the report or the master service catalog item, etc.). + */ + CST, + /** + * Target participant that is substantially present in the act and which is directly involved in the action (includes consumed material, devices, etc.). + */ + DIR, + /** + * The target of an Observation action. Links an observation to a Role whose player is the substance or most specific component entity (material, micro-organism, etc.) being measured within the subject. + + + Examples: A "plasma porcelain substance concentration" has analyte a Role with player substance Entity "porcelain". + + + UsageNotes: The Role that this participation connects to may be any Role whose player is that substance measured. Very often, the scoper may indicate the system in which the component is being measured. E.g., for "plasma porcelain" the scoper could be "Plasma". + */ + ALY, + /** + * In an obstetric service, the baby. + */ + BBY, + /** + * The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction + */ + CAT, + /** + * Participant material that is taken up, diminished, altered, or disappears in the act. + */ + CSM, + /** + * Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service). + + + Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc. + */ + DEV, + /** + * A device that changes ownership due to the service, e.g., a pacemaker, a prosthesis, an insulin injection equipment (pen), etc. Such material may need to be restocked after he service. + */ + NRD, + /** + * A device that does not change ownership due to the service, i.e., a surgical instrument or tool or an endoscope. The distinction between reuseable and non-reuseable must be made in order to know whether material must be re-stocked. + */ + RDV, + /** + * In some organ transplantation services and rarely in transfusion services a donor will be a target participant in the service. However, in most cases transplantation is decomposed in three services: explantation, transport, and implantation. The identity of the donor (recipient) is often irrelevant for the explantation (implantation) service. + */ + DON, + /** + * Description: The entity playing the associated role is the physical (including energy), chemical or biological substance that is participating in the exposure. For example in communicable diseases, the associated playing entity is the disease causing pathogen. + */ + EXPAGNT, + /** + * Description:Direct participation in an exposure act where it is unknown that the participant is the source or subject of the exposure. If the participant is known to be the contact of an exposure then the SBJ participation type should be used. If the participant is known to be the source then the EXSRC participation type should be used. + */ + EXPART, + /** + * Description: The entity playing the associated role is the target (contact) of exposure. + */ + EXPTRGT, + /** + * Description:The entity playing the associated role is the source of exposure. + */ + EXSRC, + /** + * Participant material that is brought forth (produced) in the act (e.g., specimen in a specimen collection, access or drainage in a placement service, medication package in a dispense service). It does not matter whether the material produced had existence prior to the service, or whether it is created in the service (e.g., in supply services the product is taken from a stock). + */ + PRD, + /** + * The principle target on which the action happens. + + + Examples: The patient in physical examination, a specimen in a lab observation. May also be a patient's family member (teaching) or a device or room (cleaning, disinfecting, housekeeping). + + + UsageNotes: Not all direct targets are subjects. Consumables and devices used as tools for an act are not subjects. However, a device may be a subject of a maintenance action. + */ + SBJ, + /** + * The subject of non-clinical (e.g. laboratory) observation services is a specimen. + */ + SPC, + /** + * Target that is not substantially present in the act and which is not directly affected by the act, but which will be a focus of the record or documentation of the act. + */ + IND, + /** + * Target on behalf of whom the service happens, but that is not necessarily present in the service. Can occur together with direct target to indicate that a target is both, as in the case where the patient is the indirect beneficiary of a service rendered to a family member, e.g. counseling or given home care instructions. This concept includes a participant, such as a covered party, who derives benefits from a service act covered by a coverage act. + + Note that the semantic role of the intended recipient who benefits from the happening denoted by the verb in the clause. Thus, a patient who has no coverage under a policy or program may be a beneficiary of a health service while not being the beneficiary of coverage for that service. + */ + BEN, + /** + * Definition: A factor, such as a microorganism, chemical substance, or form of radiation, whose presence, excessive presence, or (in deficiency diseases) relative absence is essential, in whole or in part, for the occurrence of a condition. + + Constraint: The use of this participation is limited to observations. + */ + CAGNT, + /** + * The target participation for an individual in a health care coverage act in which the target role is either the policy holder of the coverage, or a covered party under the coverage. + */ + COV, + /** + * The target person or organization contractually recognized by the issuer as a participant who has assumed fiscal responsibility for another personaTMs financial obligations by guaranteeing to pay for amounts owed to a particular account + + + Example:The subscriber of the patientaTMs health insurance policy signs a contract with the provider to be fiscally responsible for the patient billing account balance amount owed. + */ + GUAR, + /** + * Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author. + */ + HLD, + /** + * The record target indicates whose medical record holds the documentation of this act. This is especially important when the subject of a service is not the patient himself. + */ + RCT, + /** + * The person (or organization) who receives the product of an Act. + */ + RCV, + /** + * A party, who may or should receive or who has recieved the Act or subsequent or derivative information of that Act. Information recipient is inert, i.e., independent of mood." Rationale: this is a generalization of a too diverse family that the definition can't be any more specific, and the concept is abstract so one of the specializations should be used. + */ + IRCP, + /** + * An information recipient to notify for urgent matters about this Act. (e.g., in a laboratory order, critical results are being called by phone right away, this is the contact to call; or for an inpatient encounter, a next of kin to notify when the patient becomes critically ill). + */ + NOT, + /** + * Information recipient to whom an act statement is primarily directed. E.g., a primary care provider receiving a discharge letter from a hospitalist, a health department receiving information on a suspected case of infectious disease. Multiple of these participations may exist on the same act without requiring that recipients be ranked as primary vs. secondary. + */ + PRCP, + /** + * A participant (e.g. provider) who has referred the subject of an act (e.g. patient). + + Typically, a referred by participant will provide a report (e.g. referral). + */ + REFB, + /** + * The person who receives the patient + */ + REFT, + /** + * A secondary information recipient, who receives copies (e.g., a primary care provider receiving copies of results as ordered by specialist). + */ + TRC, + /** + * The facility where the service is done. May be a static building (or room therein) or a moving location (e.g., ambulance, helicopter, aircraft, train, truck, ship, etc.) + */ + LOC, + /** + * The destination for services. May be a static building (or room therein) or a movable facility (e.g., ship). + */ + DST, + /** + * A location where data about an Act was entered. + */ + ELOC, + /** + * The location of origin for services. May be a static building (or room therein) or a movable facility (e.g., ship). + */ + ORG, + /** + * Some services take place at multiple concurrent locations (e.g., telemedicine, telephone consultation). The location where the principal performing actor is located is taken as the primary location (LOC) while the other location(s) are considered "remote." + */ + RML, + /** + * For services, an intermediate location that specifies a path between origin an destination. + */ + VIA, + /** + * Definition: A person, non-person living subject, organization or device that who actually and principally carries out the action. Device should only be assigned as a performer in circumstances where the device is performing independent of human intervention. Need not be the principal responsible actor. + + + Exampe: A surgery resident operating under supervision of attending surgeon, a search and rescue dog locating survivors, an electronic laboratory analyzer or the laboratory discipline requested to perform a laboratory test. The performer may also be the patient in self-care, e.g. fingerstick blood sugar. The traditional order filler is a performer. This information should accompany every service event. + + + Note: that existing HL7 designs assign an organization as the playing entity of the Role that is the performer. These designs should be revised in subsequent releases to make this the scooping entity for the role involved. + */ + PRF, + /** + * Distributes material used in or generated during the act. + */ + DIST, + /** + * The principal or primary performer of the act. + */ + PPRF, + /** + * A person assisting in an act through his substantial presence and involvement This includes: assistants, technicians, associates, or whatever the job titles may be. + */ + SPRF, + /** + * The person or organization that has primary responsibility for the act. The responsible party is not necessarily present in an action, but is accountable for the action through the power to delegate, and the duty to review actions with the performing actor after the fact. This responsibility may be ethical, legal, contractual, fiscal, or fiduciary in nature. + + + Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program. + */ + RESP, + /** + * A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability. + */ + VRF, + /** + * A verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate the act. An example would be a resident physician who sees a patient and dictates a note, then later signs it. Their signature constitutes an authentication. + */ + AUTHEN, + /** + * A verifier who legally authenticates the accuracy of an act. An example would be a staff physician who sees a patient and dictates a note, then later signs it. Their signature constitutes a legal authentication. + */ + LA, + /** + * added to help the parsers + */ + NULL; + public static V3ParticipationType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("PART".equals(codeString)) + return PART; + if ("_ParticipationAncillary".equals(codeString)) + return _PARTICIPATIONANCILLARY; + if ("ADM".equals(codeString)) + return ADM; + if ("ATND".equals(codeString)) + return ATND; + if ("CALLBCK".equals(codeString)) + return CALLBCK; + if ("CON".equals(codeString)) + return CON; + if ("DIS".equals(codeString)) + return DIS; + if ("ESC".equals(codeString)) + return ESC; + if ("REF".equals(codeString)) + return REF; + if ("_ParticipationInformationGenerator".equals(codeString)) + return _PARTICIPATIONINFORMATIONGENERATOR; + if ("AUT".equals(codeString)) + return AUT; + if ("INF".equals(codeString)) + return INF; + if ("TRANS".equals(codeString)) + return TRANS; + if ("ENT".equals(codeString)) + return ENT; + if ("WIT".equals(codeString)) + return WIT; + if ("CST".equals(codeString)) + return CST; + if ("DIR".equals(codeString)) + return DIR; + if ("ALY".equals(codeString)) + return ALY; + if ("BBY".equals(codeString)) + return BBY; + if ("CAT".equals(codeString)) + return CAT; + if ("CSM".equals(codeString)) + return CSM; + if ("DEV".equals(codeString)) + return DEV; + if ("NRD".equals(codeString)) + return NRD; + if ("RDV".equals(codeString)) + return RDV; + if ("DON".equals(codeString)) + return DON; + if ("EXPAGNT".equals(codeString)) + return EXPAGNT; + if ("EXPART".equals(codeString)) + return EXPART; + if ("EXPTRGT".equals(codeString)) + return EXPTRGT; + if ("EXSRC".equals(codeString)) + return EXSRC; + if ("PRD".equals(codeString)) + return PRD; + if ("SBJ".equals(codeString)) + return SBJ; + if ("SPC".equals(codeString)) + return SPC; + if ("IND".equals(codeString)) + return IND; + if ("BEN".equals(codeString)) + return BEN; + if ("CAGNT".equals(codeString)) + return CAGNT; + if ("COV".equals(codeString)) + return COV; + if ("GUAR".equals(codeString)) + return GUAR; + if ("HLD".equals(codeString)) + return HLD; + if ("RCT".equals(codeString)) + return RCT; + if ("RCV".equals(codeString)) + return RCV; + if ("IRCP".equals(codeString)) + return IRCP; + if ("NOT".equals(codeString)) + return NOT; + if ("PRCP".equals(codeString)) + return PRCP; + if ("REFB".equals(codeString)) + return REFB; + if ("REFT".equals(codeString)) + return REFT; + if ("TRC".equals(codeString)) + return TRC; + if ("LOC".equals(codeString)) + return LOC; + if ("DST".equals(codeString)) + return DST; + if ("ELOC".equals(codeString)) + return ELOC; + if ("ORG".equals(codeString)) + return ORG; + if ("RML".equals(codeString)) + return RML; + if ("VIA".equals(codeString)) + return VIA; + if ("PRF".equals(codeString)) + return PRF; + if ("DIST".equals(codeString)) + return DIST; + if ("PPRF".equals(codeString)) + return PPRF; + if ("SPRF".equals(codeString)) + return SPRF; + if ("RESP".equals(codeString)) + return RESP; + if ("VRF".equals(codeString)) + return VRF; + if ("AUTHEN".equals(codeString)) + return AUTHEN; + if ("LA".equals(codeString)) + return LA; + throw new Exception("Unknown V3ParticipationType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case PART: return "PART"; + case _PARTICIPATIONANCILLARY: return "_ParticipationAncillary"; + case ADM: return "ADM"; + case ATND: return "ATND"; + case CALLBCK: return "CALLBCK"; + case CON: return "CON"; + case DIS: return "DIS"; + case ESC: return "ESC"; + case REF: return "REF"; + case _PARTICIPATIONINFORMATIONGENERATOR: return "_ParticipationInformationGenerator"; + case AUT: return "AUT"; + case INF: return "INF"; + case TRANS: return "TRANS"; + case ENT: return "ENT"; + case WIT: return "WIT"; + case CST: return "CST"; + case DIR: return "DIR"; + case ALY: return "ALY"; + case BBY: return "BBY"; + case CAT: return "CAT"; + case CSM: return "CSM"; + case DEV: return "DEV"; + case NRD: return "NRD"; + case RDV: return "RDV"; + case DON: return "DON"; + case EXPAGNT: return "EXPAGNT"; + case EXPART: return "EXPART"; + case EXPTRGT: return "EXPTRGT"; + case EXSRC: return "EXSRC"; + case PRD: return "PRD"; + case SBJ: return "SBJ"; + case SPC: return "SPC"; + case IND: return "IND"; + case BEN: return "BEN"; + case CAGNT: return "CAGNT"; + case COV: return "COV"; + case GUAR: return "GUAR"; + case HLD: return "HLD"; + case RCT: return "RCT"; + case RCV: return "RCV"; + case IRCP: return "IRCP"; + case NOT: return "NOT"; + case PRCP: return "PRCP"; + case REFB: return "REFB"; + case REFT: return "REFT"; + case TRC: return "TRC"; + case LOC: return "LOC"; + case DST: return "DST"; + case ELOC: return "ELOC"; + case ORG: return "ORG"; + case RML: return "RML"; + case VIA: return "VIA"; + case PRF: return "PRF"; + case DIST: return "DIST"; + case PPRF: return "PPRF"; + case SPRF: return "SPRF"; + case RESP: return "RESP"; + case VRF: return "VRF"; + case AUTHEN: return "AUTHEN"; + case LA: return "LA"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ParticipationType"; + } + public String getDefinition() { + switch (this) { + case PART: return "Indicates that the target of the participation is involved in some manner in the act, but does not qualify how."; + case _PARTICIPATIONANCILLARY: return "Participations related, but not primary to an act. The Referring, Admitting, and Discharging practitioners must be the same person as those authoring the ControlAct event for their respective trigger events."; + case ADM: return "The practitioner who is responsible for admitting a patient to a patient encounter."; + case ATND: return "The practitioner that has responsibility for overseeing a patient's care during a patient encounter."; + case CALLBCK: return "A person or organization who should be contacted for follow-up questions about the act in place of the author."; + case CON: return "An advisor participating in the service by performing evaluations and making recommendations."; + case DIS: return "The practitioner who is responsible for the discharge of a patient from a patient encounter."; + case ESC: return "Only with Transportation services. A person who escorts the patient."; + case REF: return "A person having referred the subject of the service to the performer (referring physician). Typically, a referring physician will receive a report."; + case _PARTICIPATIONINFORMATIONGENERATOR: return "Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g., consultant), information that the Act itself seeks to reveal (e.g., informant of clinical history), or information about what Act was performed (e.g., informant witness)."; + case AUT: return "Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act.\r\n\n \n Example: the report writer, the person writing the act definition, the guideline author, the placer of an order, the EKG cart (device) creating a report etc. Every Act should have an author. Authorship is regardless of mood always actual authorship. \r\n\n Examples of such policies might include:\r\n\n \n \n The author and anyone they explicitly delegate may update the report;\r\n\n \n \n All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic;\r\n\n \n \n A party that is neither an author nor a party who is extended authorship maintenance rights by policy, may only amend, reverse, override, replace, or follow up in other ways on this Act, whereby the Act remains intact and is linked to another Act authored by that other party."; + case INF: return "A source of reported information (e.g., a next of kin who answers questions about the patient's history). For history questions, the patient is logically an informant, yet the informant of history questions is implicitly the subject."; + case TRANS: return "An entity entering the data into the originating system. The data entry entity is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text transcribed into electronic form."; + case ENT: return "A person entering the data into the originating system. The data entry person is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text."; + case WIT: return "Only with service events. A person witnessing the action happening without doing anything. A witness is not necessarily aware, much less approves of anything stated in the service event. Example for a witness is students watching an operation or an advanced directive witness."; + case CST: return "An entity (person, organization or device) that is in charge of maintaining the information of this act (e.g., who maintains the report or the master service catalog item, etc.)."; + case DIR: return "Target participant that is substantially present in the act and which is directly involved in the action (includes consumed material, devices, etc.)."; + case ALY: return "The target of an Observation action. Links an observation to a Role whose player is the substance or most specific component entity (material, micro-organism, etc.) being measured within the subject.\r\n\n \n Examples: A 'plasma porcelain substance concentration' has analyte a Role with player substance Entity 'porcelain'.\r\n\n \n UsageNotes: The Role that this participation connects to may be any Role whose player is that substance measured. Very often, the scoper may indicate the system in which the component is being measured. E.g., for 'plasma porcelain' the scoper could be 'Plasma'."; + case BBY: return "In an obstetric service, the baby."; + case CAT: return "The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction"; + case CSM: return "Participant material that is taken up, diminished, altered, or disappears in the act."; + case DEV: return "Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service).\r\n\n \n Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc."; + case NRD: return "A device that changes ownership due to the service, e.g., a pacemaker, a prosthesis, an insulin injection equipment (pen), etc. Such material may need to be restocked after he service."; + case RDV: return "A device that does not change ownership due to the service, i.e., a surgical instrument or tool or an endoscope. The distinction between reuseable and non-reuseable must be made in order to know whether material must be re-stocked."; + case DON: return "In some organ transplantation services and rarely in transfusion services a donor will be a target participant in the service. However, in most cases transplantation is decomposed in three services: explantation, transport, and implantation. The identity of the donor (recipient) is often irrelevant for the explantation (implantation) service."; + case EXPAGNT: return "Description: The entity playing the associated role is the physical (including energy), chemical or biological substance that is participating in the exposure. For example in communicable diseases, the associated playing entity is the disease causing pathogen."; + case EXPART: return "Description:Direct participation in an exposure act where it is unknown that the participant is the source or subject of the exposure. If the participant is known to be the contact of an exposure then the SBJ participation type should be used. If the participant is known to be the source then the EXSRC participation type should be used."; + case EXPTRGT: return "Description: The entity playing the associated role is the target (contact) of exposure."; + case EXSRC: return "Description:The entity playing the associated role is the source of exposure."; + case PRD: return "Participant material that is brought forth (produced) in the act (e.g., specimen in a specimen collection, access or drainage in a placement service, medication package in a dispense service). It does not matter whether the material produced had existence prior to the service, or whether it is created in the service (e.g., in supply services the product is taken from a stock)."; + case SBJ: return "The principle target on which the action happens.\r\n\n \n Examples: The patient in physical examination, a specimen in a lab observation. May also be a patient's family member (teaching) or a device or room (cleaning, disinfecting, housekeeping). \r\n\n \n UsageNotes: Not all direct targets are subjects. Consumables and devices used as tools for an act are not subjects. However, a device may be a subject of a maintenance action."; + case SPC: return "The subject of non-clinical (e.g. laboratory) observation services is a specimen."; + case IND: return "Target that is not substantially present in the act and which is not directly affected by the act, but which will be a focus of the record or documentation of the act."; + case BEN: return "Target on behalf of whom the service happens, but that is not necessarily present in the service. Can occur together with direct target to indicate that a target is both, as in the case where the patient is the indirect beneficiary of a service rendered to a family member, e.g. counseling or given home care instructions. This concept includes a participant, such as a covered party, who derives benefits from a service act covered by a coverage act.\r\n\n Note that the semantic role of the intended recipient who benefits from the happening denoted by the verb in the clause. Thus, a patient who has no coverage under a policy or program may be a beneficiary of a health service while not being the beneficiary of coverage for that service."; + case CAGNT: return "Definition: A factor, such as a microorganism, chemical substance, or form of radiation, whose presence, excessive presence, or (in deficiency diseases) relative absence is essential, in whole or in part, for the occurrence of a condition.\r\n\n Constraint: The use of this participation is limited to observations."; + case COV: return "The target participation for an individual in a health care coverage act in which the target role is either the policy holder of the coverage, or a covered party under the coverage."; + case GUAR: return "The target person or organization contractually recognized by the issuer as a participant who has assumed fiscal responsibility for another personaTMs financial obligations by guaranteeing to pay for amounts owed to a particular account\r\n\n \n Example:The subscriber of the patientaTMs health insurance policy signs a contract with the provider to be fiscally responsible for the patient billing account balance amount owed."; + case HLD: return "Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author."; + case RCT: return "The record target indicates whose medical record holds the documentation of this act. This is especially important when the subject of a service is not the patient himself."; + case RCV: return "The person (or organization) who receives the product of an Act."; + case IRCP: return "A party, who may or should receive or who has recieved the Act or subsequent or derivative information of that Act. Information recipient is inert, i.e., independent of mood.' Rationale: this is a generalization of a too diverse family that the definition can't be any more specific, and the concept is abstract so one of the specializations should be used."; + case NOT: return "An information recipient to notify for urgent matters about this Act. (e.g., in a laboratory order, critical results are being called by phone right away, this is the contact to call; or for an inpatient encounter, a next of kin to notify when the patient becomes critically ill)."; + case PRCP: return "Information recipient to whom an act statement is primarily directed. E.g., a primary care provider receiving a discharge letter from a hospitalist, a health department receiving information on a suspected case of infectious disease. Multiple of these participations may exist on the same act without requiring that recipients be ranked as primary vs. secondary."; + case REFB: return "A participant (e.g. provider) who has referred the subject of an act (e.g. patient).\r\n\n Typically, a referred by participant will provide a report (e.g. referral)."; + case REFT: return "The person who receives the patient"; + case TRC: return "A secondary information recipient, who receives copies (e.g., a primary care provider receiving copies of results as ordered by specialist)."; + case LOC: return "The facility where the service is done. May be a static building (or room therein) or a moving location (e.g., ambulance, helicopter, aircraft, train, truck, ship, etc.)"; + case DST: return "The destination for services. May be a static building (or room therein) or a movable facility (e.g., ship)."; + case ELOC: return "A location where data about an Act was entered."; + case ORG: return "The location of origin for services. May be a static building (or room therein) or a movable facility (e.g., ship)."; + case RML: return "Some services take place at multiple concurrent locations (e.g., telemedicine, telephone consultation). The location where the principal performing actor is located is taken as the primary location (LOC) while the other location(s) are considered 'remote.'"; + case VIA: return "For services, an intermediate location that specifies a path between origin an destination."; + case PRF: return "Definition: A person, non-person living subject, organization or device that who actually and principally carries out the action. Device should only be assigned as a performer in circumstances where the device is performing independent of human intervention. Need not be the principal responsible actor.\r\n\n \n Exampe: A surgery resident operating under supervision of attending surgeon, a search and rescue dog locating survivors, an electronic laboratory analyzer or the laboratory discipline requested to perform a laboratory test. The performer may also be the patient in self-care, e.g. fingerstick blood sugar. The traditional order filler is a performer. This information should accompany every service event.\r\n\n \n Note: that existing HL7 designs assign an organization as the playing entity of the Role that is the performer. These designs should be revised in subsequent releases to make this the scooping entity for the role involved."; + case DIST: return "Distributes material used in or generated during the act."; + case PPRF: return "The principal or primary performer of the act."; + case SPRF: return "A person assisting in an act through his substantial presence and involvement This includes: assistants, technicians, associates, or whatever the job titles may be."; + case RESP: return "The person or organization that has primary responsibility for the act. The responsible party is not necessarily present in an action, but is accountable for the action through the power to delegate, and the duty to review actions with the performing actor after the fact. This responsibility may be ethical, legal, contractual, fiscal, or fiduciary in nature.\r\n\n \n Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program."; + case VRF: return "A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability."; + case AUTHEN: return "A verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate the act. An example would be a resident physician who sees a patient and dictates a note, then later signs it. Their signature constitutes an authentication."; + case LA: return "A verifier who legally authenticates the accuracy of an act. An example would be a staff physician who sees a patient and dictates a note, then later signs it. Their signature constitutes a legal authentication."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case PART: return "Participation"; + case _PARTICIPATIONANCILLARY: return "ParticipationAncillary"; + case ADM: return "admitter"; + case ATND: return "attender"; + case CALLBCK: return "callback contact"; + case CON: return "consultant"; + case DIS: return "discharger"; + case ESC: return "escort"; + case REF: return "referrer"; + case _PARTICIPATIONINFORMATIONGENERATOR: return "ParticipationInformationGenerator"; + case AUT: return "author (originator)"; + case INF: return "informant"; + case TRANS: return "Transcriber"; + case ENT: return "data entry person"; + case WIT: return "witness"; + case CST: return "custodian"; + case DIR: return "direct target"; + case ALY: return "analyte"; + case BBY: return "baby"; + case CAT: return "catalyst"; + case CSM: return "consumable"; + case DEV: return "device"; + case NRD: return "non-reuseable device"; + case RDV: return "reusable device"; + case DON: return "donor"; + case EXPAGNT: return "ExposureAgent"; + case EXPART: return "ExposureParticipation"; + case EXPTRGT: return "ExposureTarget"; + case EXSRC: return "ExposureSource"; + case PRD: return "product"; + case SBJ: return "subject"; + case SPC: return "specimen"; + case IND: return "indirect target"; + case BEN: return "beneficiary"; + case CAGNT: return "causative agent"; + case COV: return "coverage target"; + case GUAR: return "guarantor party"; + case HLD: return "holder"; + case RCT: return "record target"; + case RCV: return "receiver"; + case IRCP: return "information recipient"; + case NOT: return "ugent notification contact"; + case PRCP: return "primary information recipient"; + case REFB: return "Referred By"; + case REFT: return "Referred to"; + case TRC: return "tracker"; + case LOC: return "location"; + case DST: return "destination"; + case ELOC: return "entry location"; + case ORG: return "origin"; + case RML: return "remote"; + case VIA: return "via"; + case PRF: return "performer"; + case DIST: return "distributor"; + case PPRF: return "primary performer"; + case SPRF: return "secondary performer"; + case RESP: return "responsible party"; + case VRF: return "verifier"; + case AUTHEN: return "authenticator"; + case LA: return "legal authenticator"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationTypeEnumFactory.java new file mode 100644 index 00000000000..d242c284b12 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ParticipationTypeEnumFactory.java @@ -0,0 +1,291 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ParticipationTypeEnumFactory implements EnumFactory { + + public V3ParticipationType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("PART".equals(codeString)) + return V3ParticipationType.PART; + if ("_ParticipationAncillary".equals(codeString)) + return V3ParticipationType._PARTICIPATIONANCILLARY; + if ("ADM".equals(codeString)) + return V3ParticipationType.ADM; + if ("ATND".equals(codeString)) + return V3ParticipationType.ATND; + if ("CALLBCK".equals(codeString)) + return V3ParticipationType.CALLBCK; + if ("CON".equals(codeString)) + return V3ParticipationType.CON; + if ("DIS".equals(codeString)) + return V3ParticipationType.DIS; + if ("ESC".equals(codeString)) + return V3ParticipationType.ESC; + if ("REF".equals(codeString)) + return V3ParticipationType.REF; + if ("_ParticipationInformationGenerator".equals(codeString)) + return V3ParticipationType._PARTICIPATIONINFORMATIONGENERATOR; + if ("AUT".equals(codeString)) + return V3ParticipationType.AUT; + if ("INF".equals(codeString)) + return V3ParticipationType.INF; + if ("TRANS".equals(codeString)) + return V3ParticipationType.TRANS; + if ("ENT".equals(codeString)) + return V3ParticipationType.ENT; + if ("WIT".equals(codeString)) + return V3ParticipationType.WIT; + if ("CST".equals(codeString)) + return V3ParticipationType.CST; + if ("DIR".equals(codeString)) + return V3ParticipationType.DIR; + if ("ALY".equals(codeString)) + return V3ParticipationType.ALY; + if ("BBY".equals(codeString)) + return V3ParticipationType.BBY; + if ("CAT".equals(codeString)) + return V3ParticipationType.CAT; + if ("CSM".equals(codeString)) + return V3ParticipationType.CSM; + if ("DEV".equals(codeString)) + return V3ParticipationType.DEV; + if ("NRD".equals(codeString)) + return V3ParticipationType.NRD; + if ("RDV".equals(codeString)) + return V3ParticipationType.RDV; + if ("DON".equals(codeString)) + return V3ParticipationType.DON; + if ("EXPAGNT".equals(codeString)) + return V3ParticipationType.EXPAGNT; + if ("EXPART".equals(codeString)) + return V3ParticipationType.EXPART; + if ("EXPTRGT".equals(codeString)) + return V3ParticipationType.EXPTRGT; + if ("EXSRC".equals(codeString)) + return V3ParticipationType.EXSRC; + if ("PRD".equals(codeString)) + return V3ParticipationType.PRD; + if ("SBJ".equals(codeString)) + return V3ParticipationType.SBJ; + if ("SPC".equals(codeString)) + return V3ParticipationType.SPC; + if ("IND".equals(codeString)) + return V3ParticipationType.IND; + if ("BEN".equals(codeString)) + return V3ParticipationType.BEN; + if ("CAGNT".equals(codeString)) + return V3ParticipationType.CAGNT; + if ("COV".equals(codeString)) + return V3ParticipationType.COV; + if ("GUAR".equals(codeString)) + return V3ParticipationType.GUAR; + if ("HLD".equals(codeString)) + return V3ParticipationType.HLD; + if ("RCT".equals(codeString)) + return V3ParticipationType.RCT; + if ("RCV".equals(codeString)) + return V3ParticipationType.RCV; + if ("IRCP".equals(codeString)) + return V3ParticipationType.IRCP; + if ("NOT".equals(codeString)) + return V3ParticipationType.NOT; + if ("PRCP".equals(codeString)) + return V3ParticipationType.PRCP; + if ("REFB".equals(codeString)) + return V3ParticipationType.REFB; + if ("REFT".equals(codeString)) + return V3ParticipationType.REFT; + if ("TRC".equals(codeString)) + return V3ParticipationType.TRC; + if ("LOC".equals(codeString)) + return V3ParticipationType.LOC; + if ("DST".equals(codeString)) + return V3ParticipationType.DST; + if ("ELOC".equals(codeString)) + return V3ParticipationType.ELOC; + if ("ORG".equals(codeString)) + return V3ParticipationType.ORG; + if ("RML".equals(codeString)) + return V3ParticipationType.RML; + if ("VIA".equals(codeString)) + return V3ParticipationType.VIA; + if ("PRF".equals(codeString)) + return V3ParticipationType.PRF; + if ("DIST".equals(codeString)) + return V3ParticipationType.DIST; + if ("PPRF".equals(codeString)) + return V3ParticipationType.PPRF; + if ("SPRF".equals(codeString)) + return V3ParticipationType.SPRF; + if ("RESP".equals(codeString)) + return V3ParticipationType.RESP; + if ("VRF".equals(codeString)) + return V3ParticipationType.VRF; + if ("AUTHEN".equals(codeString)) + return V3ParticipationType.AUTHEN; + if ("LA".equals(codeString)) + return V3ParticipationType.LA; + throw new IllegalArgumentException("Unknown V3ParticipationType code '"+codeString+"'"); + } + + public String toCode(V3ParticipationType code) { + if (code == V3ParticipationType.PART) + return "PART"; + if (code == V3ParticipationType._PARTICIPATIONANCILLARY) + return "_ParticipationAncillary"; + if (code == V3ParticipationType.ADM) + return "ADM"; + if (code == V3ParticipationType.ATND) + return "ATND"; + if (code == V3ParticipationType.CALLBCK) + return "CALLBCK"; + if (code == V3ParticipationType.CON) + return "CON"; + if (code == V3ParticipationType.DIS) + return "DIS"; + if (code == V3ParticipationType.ESC) + return "ESC"; + if (code == V3ParticipationType.REF) + return "REF"; + if (code == V3ParticipationType._PARTICIPATIONINFORMATIONGENERATOR) + return "_ParticipationInformationGenerator"; + if (code == V3ParticipationType.AUT) + return "AUT"; + if (code == V3ParticipationType.INF) + return "INF"; + if (code == V3ParticipationType.TRANS) + return "TRANS"; + if (code == V3ParticipationType.ENT) + return "ENT"; + if (code == V3ParticipationType.WIT) + return "WIT"; + if (code == V3ParticipationType.CST) + return "CST"; + if (code == V3ParticipationType.DIR) + return "DIR"; + if (code == V3ParticipationType.ALY) + return "ALY"; + if (code == V3ParticipationType.BBY) + return "BBY"; + if (code == V3ParticipationType.CAT) + return "CAT"; + if (code == V3ParticipationType.CSM) + return "CSM"; + if (code == V3ParticipationType.DEV) + return "DEV"; + if (code == V3ParticipationType.NRD) + return "NRD"; + if (code == V3ParticipationType.RDV) + return "RDV"; + if (code == V3ParticipationType.DON) + return "DON"; + if (code == V3ParticipationType.EXPAGNT) + return "EXPAGNT"; + if (code == V3ParticipationType.EXPART) + return "EXPART"; + if (code == V3ParticipationType.EXPTRGT) + return "EXPTRGT"; + if (code == V3ParticipationType.EXSRC) + return "EXSRC"; + if (code == V3ParticipationType.PRD) + return "PRD"; + if (code == V3ParticipationType.SBJ) + return "SBJ"; + if (code == V3ParticipationType.SPC) + return "SPC"; + if (code == V3ParticipationType.IND) + return "IND"; + if (code == V3ParticipationType.BEN) + return "BEN"; + if (code == V3ParticipationType.CAGNT) + return "CAGNT"; + if (code == V3ParticipationType.COV) + return "COV"; + if (code == V3ParticipationType.GUAR) + return "GUAR"; + if (code == V3ParticipationType.HLD) + return "HLD"; + if (code == V3ParticipationType.RCT) + return "RCT"; + if (code == V3ParticipationType.RCV) + return "RCV"; + if (code == V3ParticipationType.IRCP) + return "IRCP"; + if (code == V3ParticipationType.NOT) + return "NOT"; + if (code == V3ParticipationType.PRCP) + return "PRCP"; + if (code == V3ParticipationType.REFB) + return "REFB"; + if (code == V3ParticipationType.REFT) + return "REFT"; + if (code == V3ParticipationType.TRC) + return "TRC"; + if (code == V3ParticipationType.LOC) + return "LOC"; + if (code == V3ParticipationType.DST) + return "DST"; + if (code == V3ParticipationType.ELOC) + return "ELOC"; + if (code == V3ParticipationType.ORG) + return "ORG"; + if (code == V3ParticipationType.RML) + return "RML"; + if (code == V3ParticipationType.VIA) + return "VIA"; + if (code == V3ParticipationType.PRF) + return "PRF"; + if (code == V3ParticipationType.DIST) + return "DIST"; + if (code == V3ParticipationType.PPRF) + return "PPRF"; + if (code == V3ParticipationType.SPRF) + return "SPRF"; + if (code == V3ParticipationType.RESP) + return "RESP"; + if (code == V3ParticipationType.VRF) + return "VRF"; + if (code == V3ParticipationType.AUTHEN) + return "AUTHEN"; + if (code == V3ParticipationType.LA) + return "LA"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportance.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportance.java new file mode 100644 index 00000000000..514e2b4b83a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportance.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3PatientImportance { + + /** + * Board member of health care organization + */ + BM, + /** + * Family member of staff physician + */ + DFM, + /** + * Member of the health care organization physician staff + */ + DR, + /** + * Financial donor to the health care organization + */ + FD, + /** + * Foreign citizen dignitary of interest to the health care organization + */ + FOR, + /** + * Government dignitary of interest to the organization + */ + GOVT, + /** + * Family member of staff member + */ + SFM, + /** + * Staff member of the health care organization + */ + STF, + /** + * Very important person of interest to the health care organization + */ + VIP, + /** + * added to help the parsers + */ + NULL; + public static V3PatientImportance fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("BM".equals(codeString)) + return BM; + if ("DFM".equals(codeString)) + return DFM; + if ("DR".equals(codeString)) + return DR; + if ("FD".equals(codeString)) + return FD; + if ("FOR".equals(codeString)) + return FOR; + if ("GOVT".equals(codeString)) + return GOVT; + if ("SFM".equals(codeString)) + return SFM; + if ("STF".equals(codeString)) + return STF; + if ("VIP".equals(codeString)) + return VIP; + throw new Exception("Unknown V3PatientImportance code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BM: return "BM"; + case DFM: return "DFM"; + case DR: return "DR"; + case FD: return "FD"; + case FOR: return "FOR"; + case GOVT: return "GOVT"; + case SFM: return "SFM"; + case STF: return "STF"; + case VIP: return "VIP"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/PatientImportance"; + } + public String getDefinition() { + switch (this) { + case BM: return "Board member of health care organization"; + case DFM: return "Family member of staff physician"; + case DR: return "Member of the health care organization physician staff"; + case FD: return "Financial donor to the health care organization"; + case FOR: return "Foreign citizen dignitary of interest to the health care organization"; + case GOVT: return "Government dignitary of interest to the organization"; + case SFM: return "Family member of staff member"; + case STF: return "Staff member of the health care organization"; + case VIP: return "Very important person of interest to the health care organization"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BM: return "Board Member"; + case DFM: return "Physician Family Member"; + case DR: return "Staff Physician"; + case FD: return "Financial Donor"; + case FOR: return "Foreign Dignitary"; + case GOVT: return "Government Dignitary"; + case SFM: return "Staff Family Member"; + case STF: return "Staff Member"; + case VIP: return "Very Important Person"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportanceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportanceEnumFactory.java new file mode 100644 index 00000000000..86649c7103e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PatientImportanceEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3PatientImportanceEnumFactory implements EnumFactory { + + public V3PatientImportance fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("BM".equals(codeString)) + return V3PatientImportance.BM; + if ("DFM".equals(codeString)) + return V3PatientImportance.DFM; + if ("DR".equals(codeString)) + return V3PatientImportance.DR; + if ("FD".equals(codeString)) + return V3PatientImportance.FD; + if ("FOR".equals(codeString)) + return V3PatientImportance.FOR; + if ("GOVT".equals(codeString)) + return V3PatientImportance.GOVT; + if ("SFM".equals(codeString)) + return V3PatientImportance.SFM; + if ("STF".equals(codeString)) + return V3PatientImportance.STF; + if ("VIP".equals(codeString)) + return V3PatientImportance.VIP; + throw new IllegalArgumentException("Unknown V3PatientImportance code '"+codeString+"'"); + } + + public String toCode(V3PatientImportance code) { + if (code == V3PatientImportance.BM) + return "BM"; + if (code == V3PatientImportance.DFM) + return "DFM"; + if (code == V3PatientImportance.DR) + return "DR"; + if (code == V3PatientImportance.FD) + return "FD"; + if (code == V3PatientImportance.FOR) + return "FOR"; + if (code == V3PatientImportance.GOVT) + return "GOVT"; + if (code == V3PatientImportance.SFM) + return "SFM"; + if (code == V3PatientImportance.STF) + return "STF"; + if (code == V3PatientImportance.VIP) + return "VIP"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTerms.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTerms.java new file mode 100644 index 00000000000..222ca792f29 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTerms.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3PaymentTerms { + + /** + * Payment in full for products and/or services is required as soon as the service is performed or goods delivered. + */ + COD, + /** + * Payment in full for products and/or services is required 30 days from the time the service is performed or goods delivered. + */ + N30, + /** + * Payment in full for products and/or services is required 60 days from the time the service is performed or goods delivered. + */ + N60, + /** + * Payment in full for products and/or services is required 90 days from the time the service is performed or goods delivered. + */ + N90, + /** + * added to help the parsers + */ + NULL; + public static V3PaymentTerms fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("COD".equals(codeString)) + return COD; + if ("N30".equals(codeString)) + return N30; + if ("N60".equals(codeString)) + return N60; + if ("N90".equals(codeString)) + return N90; + throw new Exception("Unknown V3PaymentTerms code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case COD: return "COD"; + case N30: return "N30"; + case N60: return "N60"; + case N90: return "N90"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/PaymentTerms"; + } + public String getDefinition() { + switch (this) { + case COD: return "Payment in full for products and/or services is required as soon as the service is performed or goods delivered."; + case N30: return "Payment in full for products and/or services is required 30 days from the time the service is performed or goods delivered."; + case N60: return "Payment in full for products and/or services is required 60 days from the time the service is performed or goods delivered."; + case N90: return "Payment in full for products and/or services is required 90 days from the time the service is performed or goods delivered."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case COD: return "Cash on Delivery"; + case N30: return "Net 30 days"; + case N60: return "Net 60 days"; + case N90: return "Net 90 days"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTermsEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTermsEnumFactory.java new file mode 100644 index 00000000000..d3120b918e3 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PaymentTermsEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3PaymentTermsEnumFactory implements EnumFactory { + + public V3PaymentTerms fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("COD".equals(codeString)) + return V3PaymentTerms.COD; + if ("N30".equals(codeString)) + return V3PaymentTerms.N30; + if ("N60".equals(codeString)) + return V3PaymentTerms.N60; + if ("N90".equals(codeString)) + return V3PaymentTerms.N90; + throw new IllegalArgumentException("Unknown V3PaymentTerms code '"+codeString+"'"); + } + + public String toCode(V3PaymentTerms code) { + if (code == V3PaymentTerms.COD) + return "COD"; + if (code == V3PaymentTerms.N30) + return "N30"; + if (code == V3PaymentTerms.N60) + return "N60"; + if (code == V3PaymentTerms.N90) + return "N90"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviation.java new file mode 100644 index 00000000000..aedf7ac0f87 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviation.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3PeriodicIntervalOfTimeAbbreviation { + + /** + * added to help the parsers + */ + NULL; + public static V3PeriodicIntervalOfTimeAbbreviation fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + throw new Exception("Unknown V3PeriodicIntervalOfTimeAbbreviation code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/PeriodicIntervalOfTimeAbbreviation"; + } + public String getDefinition() { + switch (this) { + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviationEnumFactory.java new file mode 100644 index 00000000000..fd9e32b6f6c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PeriodicIntervalOfTimeAbbreviationEnumFactory.java @@ -0,0 +1,51 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3PeriodicIntervalOfTimeAbbreviationEnumFactory implements EnumFactory { + + public V3PeriodicIntervalOfTimeAbbreviation fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + throw new IllegalArgumentException("Unknown V3PeriodicIntervalOfTimeAbbreviation code '"+codeString+"'"); + } + + public String toCode(V3PeriodicIntervalOfTimeAbbreviation code) { + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityType.java new file mode 100644 index 00000000000..f1bbb41fa79 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityType.java @@ -0,0 +1,157 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3PersonDisabilityType { + + /** + * Vision impaired + */ + _1, + /** + * Hearing impaired + */ + _2, + /** + * Speech impaired + */ + _3, + /** + * Mentally impaired + */ + _4, + /** + * Mobility impaired + */ + _5, + /** + * A crib is required to move the person + */ + CB, + /** + * Person requires crutches to ambulate + */ + CR, + /** + * A gurney is required to move the person + */ + G, + /** + * Person requires a wheelchair to be ambulatory + */ + WC, + /** + * Person requires a walker to ambulate + */ + WK, + /** + * added to help the parsers + */ + NULL; + public static V3PersonDisabilityType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return _1; + if ("2".equals(codeString)) + return _2; + if ("3".equals(codeString)) + return _3; + if ("4".equals(codeString)) + return _4; + if ("5".equals(codeString)) + return _5; + if ("CB".equals(codeString)) + return CB; + if ("CR".equals(codeString)) + return CR; + if ("G".equals(codeString)) + return G; + if ("WC".equals(codeString)) + return WC; + if ("WK".equals(codeString)) + return WK; + throw new Exception("Unknown V3PersonDisabilityType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1: return "1"; + case _2: return "2"; + case _3: return "3"; + case _4: return "4"; + case _5: return "5"; + case CB: return "CB"; + case CR: return "CR"; + case G: return "G"; + case WC: return "WC"; + case WK: return "WK"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/PersonDisabilityType"; + } + public String getDefinition() { + switch (this) { + case _1: return "Vision impaired"; + case _2: return "Hearing impaired"; + case _3: return "Speech impaired"; + case _4: return "Mentally impaired"; + case _5: return "Mobility impaired"; + case CB: return "A crib is required to move the person"; + case CR: return "Person requires crutches to ambulate"; + case G: return "A gurney is required to move the person"; + case WC: return "Person requires a wheelchair to be ambulatory"; + case WK: return "Person requires a walker to ambulate"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1: return "Vision impaired"; + case _2: return "Hearing impaired"; + case _3: return "Speech impaired"; + case _4: return "Mentally impaired"; + case _5: return "Mobility impaired"; + case CB: return "Requires crib"; + case CR: return "Requires crutches"; + case G: return "Requires gurney"; + case WC: return "Requires wheelchair"; + case WK: return "Requires walker"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityTypeEnumFactory.java new file mode 100644 index 00000000000..2d1ac31c14f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3PersonDisabilityTypeEnumFactory.java @@ -0,0 +1,91 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3PersonDisabilityTypeEnumFactory implements EnumFactory { + + public V3PersonDisabilityType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1".equals(codeString)) + return V3PersonDisabilityType._1; + if ("2".equals(codeString)) + return V3PersonDisabilityType._2; + if ("3".equals(codeString)) + return V3PersonDisabilityType._3; + if ("4".equals(codeString)) + return V3PersonDisabilityType._4; + if ("5".equals(codeString)) + return V3PersonDisabilityType._5; + if ("CB".equals(codeString)) + return V3PersonDisabilityType.CB; + if ("CR".equals(codeString)) + return V3PersonDisabilityType.CR; + if ("G".equals(codeString)) + return V3PersonDisabilityType.G; + if ("WC".equals(codeString)) + return V3PersonDisabilityType.WC; + if ("WK".equals(codeString)) + return V3PersonDisabilityType.WK; + throw new IllegalArgumentException("Unknown V3PersonDisabilityType code '"+codeString+"'"); + } + + public String toCode(V3PersonDisabilityType code) { + if (code == V3PersonDisabilityType._1) + return "1"; + if (code == V3PersonDisabilityType._2) + return "2"; + if (code == V3PersonDisabilityType._3) + return "3"; + if (code == V3PersonDisabilityType._4) + return "4"; + if (code == V3PersonDisabilityType._5) + return "5"; + if (code == V3PersonDisabilityType.CB) + return "CB"; + if (code == V3PersonDisabilityType.CR) + return "CR"; + if (code == V3PersonDisabilityType.G) + return "G"; + if (code == V3PersonDisabilityType.WC) + return "WC"; + if (code == V3PersonDisabilityType.WK) + return "WK"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionType.java new file mode 100644 index 00000000000..f23a7d66a43 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionType.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ProbabilityDistributionType { + + /** + * The beta-distribution is used for data that is bounded on both sides and may or may not be skewed (e.g., occurs when probabilities are estimated.) Two parameters a and b are available to adjust the curve. The mean m and variance s2 relate as follows: m = a/ (a + b) and s2 = ab/((a + b)2 (a + b + 1)). + */ + B, + /** + * Used for data that describes extinction. The exponential distribution is a special form of g-distribution where a = 1, hence, the relationship to mean m and variance s2 are m = b and s2 = b2. + */ + E, + /** + * Used to describe the quotient of two c2 random variables. The F-distribution has two parameters n1 and n2, which are the numbers of degrees of freedom of the numerator and denominator variable respectively. The relationship to mean m and variance s2 are: m = n2 / (n2 - 2) and s2 = (2 n2 (n2 + n1 - 2)) / (n1 (n2 - 2)2 (n2 - 4)). + */ + F, + /** + * The gamma-distribution used for data that is skewed and bounded to the right, i.e. where the maximum of the distribution curve is located near the origin. The g-distribution has a two parameters a and b. The relationship to mean m and variance s2 is m = a b and s2 = a b2. + */ + G, + /** + * The logarithmic normal distribution is used to transform skewed random variable X into a normally distributed random variable U = log X. The log-normal distribution can be specified with the properties mean m and standard deviation s. Note however that mean m and standard deviation s are the parameters of the raw value distribution, not the transformed parameters of the lognormal distribution that are conventionally referred to by the same letters. Those log-normal parameters mlog and slog relate to the mean m and standard deviation s of the data value through slog2 = log (s2/m2 + 1) and mlog = log m - slog2/2. + */ + LN, + /** + * This is the well-known bell-shaped normal distribution. Because of the central limit theorem, the normal distribution is the distribution of choice for an unbounded random variable that is an outcome of a combination of many stochastic processes. Even for values bounded on a single side (i.e. greater than 0) the normal distribution may be accurate enough if the mean is "far away" from the bound of the scale measured in terms of standard deviations. + */ + N, + /** + * Used to describe the quotient of a normal random variable and the square root of a c2 random variable. The t-distribution has one parameter n, the number of degrees of freedom. The relationship to mean m and variance s2 are: m = 0 and s2 = n / (n - 2) + */ + T, + /** + * The uniform distribution assigns a constant probability over the entire interval of possible outcomes, while all outcomes outside this interval are assumed to have zero probability. The width of this interval is 2s sqrt(3). Thus, the uniform distribution assigns the probability densities f(x) = sqrt(2 s sqrt(3)) to values m - s sqrt(3) >= x <= m + s sqrt(3) and f(x) = 0 otherwise. + */ + U, + /** + * Used to describe the sum of squares of random variables which occurs when a variance is estimated (rather than presumed) from the sample. The only parameter of the c2-distribution is n, so called the number of degrees of freedom (which is the number of independent parts in the sum). The c2-distribution is a special type of g-distribution with parameter a = n /2 and b = 2. Hence, m = n and s2 = 2 n. + */ + X2, + /** + * added to help the parsers + */ + NULL; + public static V3ProbabilityDistributionType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("B".equals(codeString)) + return B; + if ("E".equals(codeString)) + return E; + if ("F".equals(codeString)) + return F; + if ("G".equals(codeString)) + return G; + if ("LN".equals(codeString)) + return LN; + if ("N".equals(codeString)) + return N; + if ("T".equals(codeString)) + return T; + if ("U".equals(codeString)) + return U; + if ("X2".equals(codeString)) + return X2; + throw new Exception("Unknown V3ProbabilityDistributionType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case B: return "B"; + case E: return "E"; + case F: return "F"; + case G: return "G"; + case LN: return "LN"; + case N: return "N"; + case T: return "T"; + case U: return "U"; + case X2: return "X2"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ProbabilityDistributionType"; + } + public String getDefinition() { + switch (this) { + case B: return "The beta-distribution is used for data that is bounded on both sides and may or may not be skewed (e.g., occurs when probabilities are estimated.) Two parameters a and b are available to adjust the curve. The mean m and variance s2 relate as follows: m = a/ (a + b) and s2 = ab/((a + b)2 (a + b + 1))."; + case E: return "Used for data that describes extinction. The exponential distribution is a special form of g-distribution where a = 1, hence, the relationship to mean m and variance s2 are m = b and s2 = b2."; + case F: return "Used to describe the quotient of two c2 random variables. The F-distribution has two parameters n1 and n2, which are the numbers of degrees of freedom of the numerator and denominator variable respectively. The relationship to mean m and variance s2 are: m = n2 / (n2 - 2) and s2 = (2 n2 (n2 + n1 - 2)) / (n1 (n2 - 2)2 (n2 - 4))."; + case G: return "The gamma-distribution used for data that is skewed and bounded to the right, i.e. where the maximum of the distribution curve is located near the origin. The g-distribution has a two parameters a and b. The relationship to mean m and variance s2 is m = a b and s2 = a b2."; + case LN: return "The logarithmic normal distribution is used to transform skewed random variable X into a normally distributed random variable U = log X. The log-normal distribution can be specified with the properties mean m and standard deviation s. Note however that mean m and standard deviation s are the parameters of the raw value distribution, not the transformed parameters of the lognormal distribution that are conventionally referred to by the same letters. Those log-normal parameters mlog and slog relate to the mean m and standard deviation s of the data value through slog2 = log (s2/m2 + 1) and mlog = log m - slog2/2."; + case N: return "This is the well-known bell-shaped normal distribution. Because of the central limit theorem, the normal distribution is the distribution of choice for an unbounded random variable that is an outcome of a combination of many stochastic processes. Even for values bounded on a single side (i.e. greater than 0) the normal distribution may be accurate enough if the mean is 'far away' from the bound of the scale measured in terms of standard deviations."; + case T: return "Used to describe the quotient of a normal random variable and the square root of a c2 random variable. The t-distribution has one parameter n, the number of degrees of freedom. The relationship to mean m and variance s2 are: m = 0 and s2 = n / (n - 2)"; + case U: return "The uniform distribution assigns a constant probability over the entire interval of possible outcomes, while all outcomes outside this interval are assumed to have zero probability. The width of this interval is 2s sqrt(3). Thus, the uniform distribution assigns the probability densities f(x) = sqrt(2 s sqrt(3)) to values m - s sqrt(3) >= x <= m + s sqrt(3) and f(x) = 0 otherwise."; + case X2: return "Used to describe the sum of squares of random variables which occurs when a variance is estimated (rather than presumed) from the sample. The only parameter of the c2-distribution is n, so called the number of degrees of freedom (which is the number of independent parts in the sum). The c2-distribution is a special type of g-distribution with parameter a = n /2 and b = 2. Hence, m = n and s2 = 2 n."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case B: return "beta"; + case E: return "exponential"; + case F: return "F"; + case G: return "(gamma)"; + case LN: return "log-normal"; + case N: return "normal (Gaussian)"; + case T: return "T"; + case U: return "uniform"; + case X2: return "chi square"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionTypeEnumFactory.java new file mode 100644 index 00000000000..a021bae32d6 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProbabilityDistributionTypeEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ProbabilityDistributionTypeEnumFactory implements EnumFactory { + + public V3ProbabilityDistributionType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("B".equals(codeString)) + return V3ProbabilityDistributionType.B; + if ("E".equals(codeString)) + return V3ProbabilityDistributionType.E; + if ("F".equals(codeString)) + return V3ProbabilityDistributionType.F; + if ("G".equals(codeString)) + return V3ProbabilityDistributionType.G; + if ("LN".equals(codeString)) + return V3ProbabilityDistributionType.LN; + if ("N".equals(codeString)) + return V3ProbabilityDistributionType.N; + if ("T".equals(codeString)) + return V3ProbabilityDistributionType.T; + if ("U".equals(codeString)) + return V3ProbabilityDistributionType.U; + if ("X2".equals(codeString)) + return V3ProbabilityDistributionType.X2; + throw new IllegalArgumentException("Unknown V3ProbabilityDistributionType code '"+codeString+"'"); + } + + public String toCode(V3ProbabilityDistributionType code) { + if (code == V3ProbabilityDistributionType.B) + return "B"; + if (code == V3ProbabilityDistributionType.E) + return "E"; + if (code == V3ProbabilityDistributionType.F) + return "F"; + if (code == V3ProbabilityDistributionType.G) + return "G"; + if (code == V3ProbabilityDistributionType.LN) + return "LN"; + if (code == V3ProbabilityDistributionType.N) + return "N"; + if (code == V3ProbabilityDistributionType.T) + return "T"; + if (code == V3ProbabilityDistributionType.U) + return "U"; + if (code == V3ProbabilityDistributionType.X2) + return "X2"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethod.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethod.java new file mode 100644 index 00000000000..0cfb14f8704 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethod.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ProcedureMethod { + + /** + * added to help the parsers + */ + NULL; + public static V3ProcedureMethod fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + throw new Exception("Unknown V3ProcedureMethod code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ProcedureMethod"; + } + public String getDefinition() { + switch (this) { + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethodEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethodEnumFactory.java new file mode 100644 index 00000000000..99055bbc340 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcedureMethodEnumFactory.java @@ -0,0 +1,51 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ProcedureMethodEnumFactory implements EnumFactory { + + public V3ProcedureMethod fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + throw new IllegalArgumentException("Unknown V3ProcedureMethod code '"+codeString+"'"); + } + + public String toCode(V3ProcedureMethod code) { + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingID.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingID.java new file mode 100644 index 00000000000..3498c89582a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingID.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ProcessingID { + + /** + * Identifies debugging type of processing. + */ + D, + /** + * Identifies production type of processing. + */ + P, + /** + * Identifies training type of processing. + */ + T, + /** + * added to help the parsers + */ + NULL; + public static V3ProcessingID fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return D; + if ("P".equals(codeString)) + return P; + if ("T".equals(codeString)) + return T; + throw new Exception("Unknown V3ProcessingID code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case D: return "D"; + case P: return "P"; + case T: return "T"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ProcessingID"; + } + public String getDefinition() { + switch (this) { + case D: return "Identifies debugging type of processing."; + case P: return "Identifies production type of processing."; + case T: return "Identifies training type of processing."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case D: return "Debugging"; + case P: return "Production"; + case T: return "Training"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingIDEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingIDEnumFactory.java new file mode 100644 index 00000000000..d34f47d279c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingIDEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ProcessingIDEnumFactory implements EnumFactory { + + public V3ProcessingID fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return V3ProcessingID.D; + if ("P".equals(codeString)) + return V3ProcessingID.P; + if ("T".equals(codeString)) + return V3ProcessingID.T; + throw new IllegalArgumentException("Unknown V3ProcessingID code '"+codeString+"'"); + } + + public String toCode(V3ProcessingID code) { + if (code == V3ProcessingID.D) + return "D"; + if (code == V3ProcessingID.P) + return "P"; + if (code == V3ProcessingID.T) + return "T"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingMode.java new file mode 100644 index 00000000000..6ebe78d6cf8 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingMode.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ProcessingMode { + + /** + * Identifies archive mode of processing. + */ + A, + /** + * Identifies initial load mode of processing. + */ + I, + /** + * Identifies restore mode of processing. + */ + R, + /** + * Identifies on-line mode of processing. + */ + T, + /** + * added to help the parsers + */ + NULL; + public static V3ProcessingMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return A; + if ("I".equals(codeString)) + return I; + if ("R".equals(codeString)) + return R; + if ("T".equals(codeString)) + return T; + throw new Exception("Unknown V3ProcessingMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "A"; + case I: return "I"; + case R: return "R"; + case T: return "T"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ProcessingMode"; + } + public String getDefinition() { + switch (this) { + case A: return "Identifies archive mode of processing."; + case I: return "Identifies initial load mode of processing."; + case R: return "Identifies restore mode of processing."; + case T: return "Identifies on-line mode of processing."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "Archive"; + case I: return "Initial load"; + case R: return "Restore from archive"; + case T: return "Current processing"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingModeEnumFactory.java new file mode 100644 index 00000000000..2d658e351b4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ProcessingModeEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ProcessingModeEnumFactory implements EnumFactory { + + public V3ProcessingMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return V3ProcessingMode.A; + if ("I".equals(codeString)) + return V3ProcessingMode.I; + if ("R".equals(codeString)) + return V3ProcessingMode.R; + if ("T".equals(codeString)) + return V3ProcessingMode.T; + throw new IllegalArgumentException("Unknown V3ProcessingMode code '"+codeString+"'"); + } + + public String toCode(V3ProcessingMode code) { + if (code == V3ProcessingMode.A) + return "A"; + if (code == V3ProcessingMode.I) + return "I"; + if (code == V3ProcessingMode.R) + return "R"; + if (code == V3ProcessingMode.T) + return "T"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValue.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValue.java new file mode 100644 index 00000000000..e30dae7b7c5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValue.java @@ -0,0 +1,211 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3QueryParameterValue { + + /** + * Description:Filter codes used to manage volume of dispenses returned by a parameter-based queries. + */ + _DISPENSEQUERYFILTERCODE, + /** + * Description:Returns all dispenses to date for a prescription. + */ + ALLDISP, + /** + * Description:Returns the most recent dispense for a prescription. + */ + LASTDISP, + /** + * Description:Returns no dispense for a prescription. + */ + NODISP, + /** + * Filter codes used to manage types of orders being returned by a parameter-based query. + */ + _ORDERFILTERCODE, + /** + * Return all orders. + */ + AO, + /** + * Return only those orders that do not have results. + */ + ONR, + /** + * Return only those orders that have results. + */ + OWR, + /** + * A "helper" vocabulary used to construct complex query filters based on how and whether a prescription has been dispensed. + */ + _PRESCRIPTIONDISPENSEFILTERCODE, + /** + * Filter to only include SubstanceAdministration orders which have no remaining quantity authorized to be dispensed. + */ + C, + /** + * Filter to only include SubstanceAdministration orders which have no fulfilling supply events performed. + */ + N, + /** + * Filter to only include SubstanceAdministration orders which have had at least one fulfilling supply event, but which still have outstanding quantity remaining to be authorized. + */ + R, + /** + * Description:Indicates how result sets should be filtered based on whether they have associated issues. + */ + _QUERYPARAMETERVALUE, + /** + * Description:Result set should not be filtered based on the presence of issues. + */ + ISSFA, + /** + * Description:Result set should be filtered to only include records with associated issues. + */ + ISSFI, + /** + * Description:Result set should be filtered to only include records with associated unmanaged issues. + */ + ISSFU, + /** + * added to help the parsers + */ + NULL; + public static V3QueryParameterValue fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_DispenseQueryFilterCode".equals(codeString)) + return _DISPENSEQUERYFILTERCODE; + if ("ALLDISP".equals(codeString)) + return ALLDISP; + if ("LASTDISP".equals(codeString)) + return LASTDISP; + if ("NODISP".equals(codeString)) + return NODISP; + if ("_OrderFilterCode".equals(codeString)) + return _ORDERFILTERCODE; + if ("AO".equals(codeString)) + return AO; + if ("ONR".equals(codeString)) + return ONR; + if ("OWR".equals(codeString)) + return OWR; + if ("_PrescriptionDispenseFilterCode".equals(codeString)) + return _PRESCRIPTIONDISPENSEFILTERCODE; + if ("C".equals(codeString)) + return C; + if ("N".equals(codeString)) + return N; + if ("R".equals(codeString)) + return R; + if ("_QueryParameterValue".equals(codeString)) + return _QUERYPARAMETERVALUE; + if ("ISSFA".equals(codeString)) + return ISSFA; + if ("ISSFI".equals(codeString)) + return ISSFI; + if ("ISSFU".equals(codeString)) + return ISSFU; + throw new Exception("Unknown V3QueryParameterValue code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _DISPENSEQUERYFILTERCODE: return "_DispenseQueryFilterCode"; + case ALLDISP: return "ALLDISP"; + case LASTDISP: return "LASTDISP"; + case NODISP: return "NODISP"; + case _ORDERFILTERCODE: return "_OrderFilterCode"; + case AO: return "AO"; + case ONR: return "ONR"; + case OWR: return "OWR"; + case _PRESCRIPTIONDISPENSEFILTERCODE: return "_PrescriptionDispenseFilterCode"; + case C: return "C"; + case N: return "N"; + case R: return "R"; + case _QUERYPARAMETERVALUE: return "_QueryParameterValue"; + case ISSFA: return "ISSFA"; + case ISSFI: return "ISSFI"; + case ISSFU: return "ISSFU"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/QueryParameterValue"; + } + public String getDefinition() { + switch (this) { + case _DISPENSEQUERYFILTERCODE: return "Description:Filter codes used to manage volume of dispenses returned by a parameter-based queries."; + case ALLDISP: return "Description:Returns all dispenses to date for a prescription."; + case LASTDISP: return "Description:Returns the most recent dispense for a prescription."; + case NODISP: return "Description:Returns no dispense for a prescription."; + case _ORDERFILTERCODE: return "Filter codes used to manage types of orders being returned by a parameter-based query."; + case AO: return "Return all orders."; + case ONR: return "Return only those orders that do not have results."; + case OWR: return "Return only those orders that have results."; + case _PRESCRIPTIONDISPENSEFILTERCODE: return "A 'helper' vocabulary used to construct complex query filters based on how and whether a prescription has been dispensed."; + case C: return "Filter to only include SubstanceAdministration orders which have no remaining quantity authorized to be dispensed."; + case N: return "Filter to only include SubstanceAdministration orders which have no fulfilling supply events performed."; + case R: return "Filter to only include SubstanceAdministration orders which have had at least one fulfilling supply event, but which still have outstanding quantity remaining to be authorized."; + case _QUERYPARAMETERVALUE: return "Description:Indicates how result sets should be filtered based on whether they have associated issues."; + case ISSFA: return "Description:Result set should not be filtered based on the presence of issues."; + case ISSFI: return "Description:Result set should be filtered to only include records with associated issues."; + case ISSFU: return "Description:Result set should be filtered to only include records with associated unmanaged issues."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _DISPENSEQUERYFILTERCODE: return "dispense query filter code"; + case ALLDISP: return "all dispenses"; + case LASTDISP: return "last dispense"; + case NODISP: return "no dispense"; + case _ORDERFILTERCODE: return "_OrderFilterCode"; + case AO: return "all orders"; + case ONR: return "orders without results"; + case OWR: return "orders with results"; + case _PRESCRIPTIONDISPENSEFILTERCODE: return "Prescription Dispense Filter Code"; + case C: return "Completely dispensed"; + case N: return "Never Dispensed"; + case R: return "Dispensed with remaining fills"; + case _QUERYPARAMETERVALUE: return "QueryParameterValue"; + case ISSFA: return "all"; + case ISSFI: return "with issues"; + case ISSFU: return "with unmanaged issues"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValueEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValueEnumFactory.java new file mode 100644 index 00000000000..5dabe390bcd --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryParameterValueEnumFactory.java @@ -0,0 +1,115 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3QueryParameterValueEnumFactory implements EnumFactory { + + public V3QueryParameterValue fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_DispenseQueryFilterCode".equals(codeString)) + return V3QueryParameterValue._DISPENSEQUERYFILTERCODE; + if ("ALLDISP".equals(codeString)) + return V3QueryParameterValue.ALLDISP; + if ("LASTDISP".equals(codeString)) + return V3QueryParameterValue.LASTDISP; + if ("NODISP".equals(codeString)) + return V3QueryParameterValue.NODISP; + if ("_OrderFilterCode".equals(codeString)) + return V3QueryParameterValue._ORDERFILTERCODE; + if ("AO".equals(codeString)) + return V3QueryParameterValue.AO; + if ("ONR".equals(codeString)) + return V3QueryParameterValue.ONR; + if ("OWR".equals(codeString)) + return V3QueryParameterValue.OWR; + if ("_PrescriptionDispenseFilterCode".equals(codeString)) + return V3QueryParameterValue._PRESCRIPTIONDISPENSEFILTERCODE; + if ("C".equals(codeString)) + return V3QueryParameterValue.C; + if ("N".equals(codeString)) + return V3QueryParameterValue.N; + if ("R".equals(codeString)) + return V3QueryParameterValue.R; + if ("_QueryParameterValue".equals(codeString)) + return V3QueryParameterValue._QUERYPARAMETERVALUE; + if ("ISSFA".equals(codeString)) + return V3QueryParameterValue.ISSFA; + if ("ISSFI".equals(codeString)) + return V3QueryParameterValue.ISSFI; + if ("ISSFU".equals(codeString)) + return V3QueryParameterValue.ISSFU; + throw new IllegalArgumentException("Unknown V3QueryParameterValue code '"+codeString+"'"); + } + + public String toCode(V3QueryParameterValue code) { + if (code == V3QueryParameterValue._DISPENSEQUERYFILTERCODE) + return "_DispenseQueryFilterCode"; + if (code == V3QueryParameterValue.ALLDISP) + return "ALLDISP"; + if (code == V3QueryParameterValue.LASTDISP) + return "LASTDISP"; + if (code == V3QueryParameterValue.NODISP) + return "NODISP"; + if (code == V3QueryParameterValue._ORDERFILTERCODE) + return "_OrderFilterCode"; + if (code == V3QueryParameterValue.AO) + return "AO"; + if (code == V3QueryParameterValue.ONR) + return "ONR"; + if (code == V3QueryParameterValue.OWR) + return "OWR"; + if (code == V3QueryParameterValue._PRESCRIPTIONDISPENSEFILTERCODE) + return "_PrescriptionDispenseFilterCode"; + if (code == V3QueryParameterValue.C) + return "C"; + if (code == V3QueryParameterValue.N) + return "N"; + if (code == V3QueryParameterValue.R) + return "R"; + if (code == V3QueryParameterValue._QUERYPARAMETERVALUE) + return "_QueryParameterValue"; + if (code == V3QueryParameterValue.ISSFA) + return "ISSFA"; + if (code == V3QueryParameterValue.ISSFI) + return "ISSFI"; + if (code == V3QueryParameterValue.ISSFU) + return "ISSFU"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriority.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriority.java new file mode 100644 index 00000000000..5c5d4c67219 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriority.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3QueryPriority { + + /** + * Query response is deferred. + */ + D, + /** + * Query response is immediate. + */ + I, + /** + * added to help the parsers + */ + NULL; + public static V3QueryPriority fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return D; + if ("I".equals(codeString)) + return I; + throw new Exception("Unknown V3QueryPriority code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case D: return "D"; + case I: return "I"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/QueryPriority"; + } + public String getDefinition() { + switch (this) { + case D: return "Query response is deferred."; + case I: return "Query response is immediate."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case D: return "Deferred"; + case I: return "Immediate"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriorityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriorityEnumFactory.java new file mode 100644 index 00000000000..7a99e70c05f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryPriorityEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3QueryPriorityEnumFactory implements EnumFactory { + + public V3QueryPriority fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return V3QueryPriority.D; + if ("I".equals(codeString)) + return V3QueryPriority.I; + throw new IllegalArgumentException("Unknown V3QueryPriority code '"+codeString+"'"); + } + + public String toCode(V3QueryPriority code) { + if (code == V3QueryPriority.D) + return "D"; + if (code == V3QueryPriority.I) + return "I"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimit.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimit.java new file mode 100644 index 00000000000..6644275eeee --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimit.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3QueryRequestLimit { + + /** + * Definition: The number of matching instances (number of focal classes). The document header class is the focal class of a document, a record would therefore be equal to a document. + */ + _QUERYREQUESTLIMIT, + /** + * Definition: The number of matching instances (number of focal classes). The document header class is the focal class of a document, a record would therefore be equal to a document. + */ + RD, + /** + * added to help the parsers + */ + NULL; + public static V3QueryRequestLimit fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_QueryRequestLimit".equals(codeString)) + return _QUERYREQUESTLIMIT; + if ("RD".equals(codeString)) + return RD; + throw new Exception("Unknown V3QueryRequestLimit code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _QUERYREQUESTLIMIT: return "_QueryRequestLimit"; + case RD: return "RD"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/QueryRequestLimit"; + } + public String getDefinition() { + switch (this) { + case _QUERYREQUESTLIMIT: return "Definition: The number of matching instances (number of focal classes). The document header class is the focal class of a document, a record would therefore be equal to a document."; + case RD: return "Definition: The number of matching instances (number of focal classes). The document header class is the focal class of a document, a record would therefore be equal to a document."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _QUERYREQUESTLIMIT: return "QueryRequestLimit"; + case RD: return "record"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimitEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimitEnumFactory.java new file mode 100644 index 00000000000..87c90a49e73 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryRequestLimitEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3QueryRequestLimitEnumFactory implements EnumFactory { + + public V3QueryRequestLimit fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_QueryRequestLimit".equals(codeString)) + return V3QueryRequestLimit._QUERYREQUESTLIMIT; + if ("RD".equals(codeString)) + return V3QueryRequestLimit.RD; + throw new IllegalArgumentException("Unknown V3QueryRequestLimit code '"+codeString+"'"); + } + + public String toCode(V3QueryRequestLimit code) { + if (code == V3QueryRequestLimit._QUERYREQUESTLIMIT) + return "_QueryRequestLimit"; + if (code == V3QueryRequestLimit.RD) + return "RD"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponse.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponse.java new file mode 100644 index 00000000000..d248d61ddd2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponse.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3QueryResponse { + + /** + * Query Error. Application Error. + */ + AE, + /** + * No errors, but no data was found matching the query request specification. + */ + NF, + /** + * Query reponse data found for 1 or more result sets matching the query request specification. + */ + OK, + /** + * QueryError. Problem with input ParmetersError + */ + QE, + /** + * added to help the parsers + */ + NULL; + public static V3QueryResponse fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AE".equals(codeString)) + return AE; + if ("NF".equals(codeString)) + return NF; + if ("OK".equals(codeString)) + return OK; + if ("QE".equals(codeString)) + return QE; + throw new Exception("Unknown V3QueryResponse code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AE: return "AE"; + case NF: return "NF"; + case OK: return "OK"; + case QE: return "QE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/QueryResponse"; + } + public String getDefinition() { + switch (this) { + case AE: return "Query Error. Application Error."; + case NF: return "No errors, but no data was found matching the query request specification."; + case OK: return "Query reponse data found for 1 or more result sets matching the query request specification."; + case QE: return "QueryError. Problem with input ParmetersError"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AE: return "ApplicationError"; + case NF: return "No data found"; + case OK: return "Data found"; + case QE: return "QueryParameterError"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponseEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponseEnumFactory.java new file mode 100644 index 00000000000..94ab08d4fc5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryResponseEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3QueryResponseEnumFactory implements EnumFactory { + + public V3QueryResponse fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AE".equals(codeString)) + return V3QueryResponse.AE; + if ("NF".equals(codeString)) + return V3QueryResponse.NF; + if ("OK".equals(codeString)) + return V3QueryResponse.OK; + if ("QE".equals(codeString)) + return V3QueryResponse.QE; + throw new IllegalArgumentException("Unknown V3QueryResponse code '"+codeString+"'"); + } + + public String toCode(V3QueryResponse code) { + if (code == V3QueryResponse.AE) + return "AE"; + if (code == V3QueryResponse.NF) + return "NF"; + if (code == V3QueryResponse.OK) + return "OK"; + if (code == V3QueryResponse.QE) + return "QE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCode.java new file mode 100644 index 00000000000..af60df4941d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCode.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3QueryStatusCode { + + /** + * Query status aborted + */ + ABORTED, + /** + * Query Status delivered response + */ + DELIVEREDRESPONSE, + /** + * Query Status executing + */ + EXECUTING, + /** + * Query Status new + */ + NEW, + /** + * Query Status wait continued + */ + WAITCONTINUEDQUERYRESPONSE, + /** + * added to help the parsers + */ + NULL; + public static V3QueryStatusCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("aborted".equals(codeString)) + return ABORTED; + if ("deliveredResponse".equals(codeString)) + return DELIVEREDRESPONSE; + if ("executing".equals(codeString)) + return EXECUTING; + if ("new".equals(codeString)) + return NEW; + if ("waitContinuedQueryResponse".equals(codeString)) + return WAITCONTINUEDQUERYRESPONSE; + throw new Exception("Unknown V3QueryStatusCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ABORTED: return "aborted"; + case DELIVEREDRESPONSE: return "deliveredResponse"; + case EXECUTING: return "executing"; + case NEW: return "new"; + case WAITCONTINUEDQUERYRESPONSE: return "waitContinuedQueryResponse"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/QueryStatusCode"; + } + public String getDefinition() { + switch (this) { + case ABORTED: return "Query status aborted"; + case DELIVEREDRESPONSE: return "Query Status delivered response"; + case EXECUTING: return "Query Status executing"; + case NEW: return "Query Status new"; + case WAITCONTINUEDQUERYRESPONSE: return "Query Status wait continued"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ABORTED: return "aborted"; + case DELIVEREDRESPONSE: return "deliveredResponse"; + case EXECUTING: return "executing"; + case NEW: return "new"; + case WAITCONTINUEDQUERYRESPONSE: return "waitContinuedQueryResponse"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCodeEnumFactory.java new file mode 100644 index 00000000000..ea0c6687abc --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3QueryStatusCodeEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3QueryStatusCodeEnumFactory implements EnumFactory { + + public V3QueryStatusCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("aborted".equals(codeString)) + return V3QueryStatusCode.ABORTED; + if ("deliveredResponse".equals(codeString)) + return V3QueryStatusCode.DELIVEREDRESPONSE; + if ("executing".equals(codeString)) + return V3QueryStatusCode.EXECUTING; + if ("new".equals(codeString)) + return V3QueryStatusCode.NEW; + if ("waitContinuedQueryResponse".equals(codeString)) + return V3QueryStatusCode.WAITCONTINUEDQUERYRESPONSE; + throw new IllegalArgumentException("Unknown V3QueryStatusCode code '"+codeString+"'"); + } + + public String toCode(V3QueryStatusCode code) { + if (code == V3QueryStatusCode.ABORTED) + return "aborted"; + if (code == V3QueryStatusCode.DELIVEREDRESPONSE) + return "deliveredResponse"; + if (code == V3QueryStatusCode.EXECUTING) + return "executing"; + if (code == V3QueryStatusCode.NEW) + return "new"; + if (code == V3QueryStatusCode.WAITCONTINUEDQUERYRESPONSE) + return "waitContinuedQueryResponse"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Race.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Race.java new file mode 100644 index 00000000000..764a5472ff4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Race.java @@ -0,0 +1,8356 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Race { + + /** + * American Indian or Alaska Native + */ + _10025, + /** + * American Indian + */ + _10041, + /** + * Abenaki + */ + _10066, + /** + * Algonquian + */ + _10082, + /** + * Apache + */ + _10108, + /** + * Chiricahua + */ + _10116, + /** + * Fort Sill Apache + */ + _10124, + /** + * Jicarilla Apache + */ + _10132, + /** + * Lipan Apache + */ + _10140, + /** + * Mescalero Apache + */ + _10157, + /** + * Oklahoma Apache + */ + _10165, + /** + * Payson Apache + */ + _10173, + /** + * San Carlos Apache + */ + _10181, + /** + * White Mountain Apache + */ + _10199, + /** + * Arapaho + */ + _10215, + /** + * Northern Arapaho + */ + _10223, + /** + * Southern Arapaho + */ + _10231, + /** + * Wind River Arapaho + */ + _10249, + /** + * Arikara + */ + _10264, + /** + * Assiniboine + */ + _10280, + /** + * Assiniboine Sioux + */ + _10306, + /** + * Fort Peck Assiniboine Sioux + */ + _10314, + /** + * Bannock + */ + _10330, + /** + * Blackfeet + */ + _10355, + /** + * Brotherton + */ + _10371, + /** + * Burt Lake Band + */ + _10397, + /** + * Caddo + */ + _10413, + /** + * Oklahoma Cado + */ + _10421, + /** + * Cahuilla + */ + _10447, + /** + * Agua Caliente Cahuilla + */ + _10454, + /** + * Augustine + */ + _10462, + /** + * Cabazon + */ + _10470, + /** + * Los Coyotes + */ + _10488, + /** + * Morongo + */ + _10496, + /** + * Santa Rosa Cahuilla + */ + _10504, + /** + * Torres-Martinez + */ + _10512, + /** + * California Tribes + */ + _10538, + /** + * Cahto + */ + _10546, + /** + * Chimariko + */ + _10553, + /** + * Coast Miwok + */ + _10561, + /** + * Digger + */ + _10579, + /** + * Kawaiisu + */ + _10587, + /** + * Kern River + */ + _10595, + /** + * Mattole + */ + _10603, + /** + * Red Wood + */ + _10611, + /** + * Santa Rosa + */ + _10629, + /** + * Takelma + */ + _10637, + /** + * Wappo + */ + _10645, + /** + * Yana + */ + _10652, + /** + * Yuki + */ + _10660, + /** + * Canadian and Latin American Indian + */ + _10686, + /** + * Canadian Indian + */ + _10694, + /** + * Central American Indian + */ + _10702, + /** + * French American Indian + */ + _10710, + /** + * Mexican American Indian + */ + _10728, + /** + * South American Indian + */ + _10736, + /** + * Spanish American Indian + */ + _10744, + /** + * Catawba + */ + _10769, + /** + * Alatna + */ + _17418, + /** + * Alexander + */ + _17426, + /** + * Allakaket + */ + _17434, + /** + * Alanvik + */ + _17442, + /** + * Anvik + */ + _17459, + /** + * Arctic + */ + _17467, + /** + * Beaver + */ + _17475, + /** + * Birch Creek + */ + _17483, + /** + * Cantwell + */ + _17491, + /** + * Chalkyitsik + */ + _17509, + /** + * Chickaloon + */ + _17517, + /** + * Chistochina + */ + _17525, + /** + * Chitina + */ + _17533, + /** + * Circle + */ + _17541, + /** + * Cook Inlet + */ + _17558, + /** + * Copper Center + */ + _17566, + /** + * Copper River + */ + _17574, + /** + * Dot Lake + */ + _17582, + /** + * Doyon + */ + _17590, + /** + * Eagle + */ + _17608, + /** + * Eklutna + */ + _17616, + /** + * Evansville + */ + _17624, + /** + * Fort Yukon + */ + _17632, + /** + * Gakona + */ + _17640, + /** + * Galena + */ + _17657, + /** + * Grayling + */ + _17665, + /** + * Gulkana + */ + _17673, + /** + * Healy Lake + */ + _17681, + /** + * Holy Cross + */ + _17699, + /** + * Hughes + */ + _17707, + /** + * Huslia + */ + _17715, + /** + * Iliamna + */ + _17723, + /** + * Kaltag + */ + _17731, + /** + * Kluti Kaah + */ + _17749, + /** + * Knik + */ + _17756, + /** + * Koyukuk + */ + _17764, + /** + * Lake Minchumina + */ + _17772, + /** + * Lime + */ + _17780, + /** + * Mcgrath + */ + _17798, + /** + * Manley Hot Springs + */ + _17806, + /** + * Mentasta Lake + */ + _17814, + /** + * Minto + */ + _17822, + /** + * Nenana + */ + _17830, + /** + * Nikolai + */ + _17848, + /** + * Ninilchik + */ + _17855, + /** + * Nondalton + */ + _17863, + /** + * Northway + */ + _17871, + /** + * Nulato + */ + _17889, + /** + * Pedro Bay + */ + _17897, + /** + * Rampart + */ + _17905, + /** + * Ruby + */ + _17913, + /** + * Salamatof + */ + _17921, + /** + * Seldovia + */ + _17939, + /** + * Slana + */ + _17947, + /** + * Shageluk + */ + _17954, + /** + * Stevens + */ + _17962, + /** + * Stony River + */ + _17970, + /** + * Takotna + */ + _17988, + /** + * Tanacross + */ + _17996, + /** + * Tanaina + */ + _18002, + /** + * Tanana + */ + _18010, + /** + * Tanana Chiefs + */ + _18028, + /** + * Tazlina + */ + _18036, + /** + * Telida + */ + _18044, + /** + * Tetlin + */ + _18051, + /** + * Tok + */ + _18069, + /** + * Tyonek + */ + _18077, + /** + * Venetie + */ + _18085, + /** + * Wiseman + */ + _18093, + /** + * Cayuse + */ + _10785, + /** + * Chehalis + */ + _10801, + /** + * Chemakuan + */ + _10827, + /** + * Hoh + */ + _10835, + /** + * Quileute + */ + _10843, + /** + * Chemehuevi + */ + _10868, + /** + * Cherokee + */ + _10884, + /** + * Cherokee Alabama + */ + _10892, + /** + * Cherokees of Northeast Alabama + */ + _10900, + /** + * Cherokees of Southeast Alabama + */ + _10918, + /** + * Eastern Cherokee + */ + _10926, + /** + * Echota Cherokee + */ + _10934, + /** + * Etowah Cherokee + */ + _10942, + /** + * Northern Cherokee + */ + _10959, + /** + * Tuscola + */ + _10967, + /** + * United Keetowah Band of Cherokee + */ + _10975, + /** + * Western Cherokee + */ + _10983, + /** + * Cherokee Shawnee + */ + _11007, + /** + * Cheyenne + */ + _11023, + /** + * Northern Cheyenne + */ + _11031, + /** + * Southern Cheyenne + */ + _11049, + /** + * Cheyenne-Arapaho + */ + _11064, + /** + * Chickahominy + */ + _11080, + /** + * Eastern Chickahominy + */ + _11098, + /** + * Western Chickahominy + */ + _11106, + /** + * Chickasaw + */ + _11122, + /** + * Chinook + */ + _11148, + /** + * Clatsop + */ + _11155, + /** + * Columbia River Chinook + */ + _11163, + /** + * Kathlamet + */ + _11171, + /** + * Upper Chinook + */ + _11189, + /** + * Wakiakum Chinook + */ + _11197, + /** + * Willapa Chinook + */ + _11205, + /** + * Wishram + */ + _11213, + /** + * Chippewa + */ + _11239, + /** + * Bad River + */ + _11247, + /** + * Bay Mills Chippewa + */ + _11254, + /** + * Bois Forte + */ + _11262, + /** + * Burt Lake Chippewa + */ + _11270, + /** + * Fond du Lac + */ + _11288, + /** + * Grand Portage + */ + _11296, + /** + * Grand Traverse Band of Ottawa-Chippewa + */ + _11304, + /** + * Keweenaw + */ + _11312, + /** + * Lac Courte Oreilles + */ + _11320, + /** + * Lac du Flambeau + */ + _11338, + /** + * Lac Vieux Desert Chippewa + */ + _11346, + /** + * Lake Superior + */ + _11353, + /** + * Leech Lake + */ + _11361, + /** + * Little Shell Chippewa + */ + _11379, + /** + * Mille Lacs + */ + _11387, + /** + * Minnesota Chippewa + */ + _11395, + /** + * Ontonagon + */ + _11403, + /** + * Red Cliff Chippewa + */ + _11411, + /** + * Red Lake Chippewa + */ + _11429, + /** + * Saginaw Chippewa + */ + _11437, + /** + * St. Croix Chippewa + */ + _11445, + /** + * Sault Ste. Marie Chippewa + */ + _11452, + /** + * Sokoagon Chippewa + */ + _11460, + /** + * Turtle Mountain + */ + _11478, + /** + * White Earth + */ + _11486, + /** + * Chippewa Cree + */ + _11502, + /** + * Rocky Boy's Chippewa Cree + */ + _11510, + /** + * Chitimacha + */ + _11536, + /** + * Choctaw + */ + _11551, + /** + * Clifton Choctaw + */ + _11569, + /** + * Jena Choctaw + */ + _11577, + /** + * Mississippi Choctaw + */ + _11585, + /** + * Mowa Band of Choctaw + */ + _11593, + /** + * Oklahoma Choctaw + */ + _11601, + /** + * Chumash + */ + _11627, + /** + * Santa Ynez + */ + _11635, + /** + * Clear Lake + */ + _11650, + /** + * Coeur D'Alene + */ + _11676, + /** + * Coharie + */ + _11692, + /** + * Colorado River + */ + _11718, + /** + * Colville + */ + _11734, + /** + * Comanche + */ + _11759, + /** + * Oklahoma Comanche + */ + _11767, + /** + * Coos, Lower Umpqua, Siuslaw + */ + _11783, + /** + * Coos + */ + _11809, + /** + * Coquilles + */ + _11825, + /** + * Costanoan + */ + _11841, + /** + * Coushatta + */ + _11866, + /** + * Alabama Coushatta + */ + _11874, + /** + * Cowlitz + */ + _11890, + /** + * Cree + */ + _11916, + /** + * Creek + */ + _11932, + /** + * Alabama Creek + */ + _11940, + /** + * Alabama Quassarte + */ + _11957, + /** + * Eastern Creek + */ + _11965, + /** + * Eastern Muscogee + */ + _11973, + /** + * Kialegee + */ + _11981, + /** + * Lower Muscogee + */ + _11999, + /** + * Machis Lower Creek Indian + */ + _12005, + /** + * Poarch Band + */ + _12013, + /** + * Principal Creek Indian Nation + */ + _12021, + /** + * Star Clan of Muscogee Creeks + */ + _12039, + /** + * Thlopthlocco + */ + _12047, + /** + * Tuckabachee + */ + _12054, + /** + * Croatan + */ + _12070, + /** + * Crow + */ + _12096, + /** + * Cupeno + */ + _12112, + /** + * Agua Caliente + */ + _12120, + /** + * Delaware + */ + _12146, + /** + * Eastern Delaware + */ + _12153, + /** + * Lenni-Lenape + */ + _12161, + /** + * Munsee + */ + _12179, + /** + * Oklahoma Delaware + */ + _12187, + /** + * Rampough Mountain + */ + _12195, + /** + * Sand Hill + */ + _12203, + /** + * Diegueno + */ + _12229, + /** + * Campo + */ + _12237, + /** + * Capitan Grande + */ + _12245, + /** + * Cuyapaipe + */ + _12252, + /** + * La Posta + */ + _12260, + /** + * Manzanita + */ + _12278, + /** + * Mesa Grande + */ + _12286, + /** + * San Pasqual + */ + _12294, + /** + * Santa Ysabel + */ + _12302, + /** + * Sycuan + */ + _12310, + /** + * Eastern Tribes + */ + _12336, + /** + * Attacapa + */ + _12344, + /** + * Biloxi + */ + _12351, + /** + * Georgetown + */ + _12369, + /** + * Moor + */ + _12377, + /** + * Nansemond + */ + _12385, + /** + * Natchez + */ + _12393, + /** + * Nausu Waiwash + */ + _12401, + /** + * Nipmuc + */ + _12419, + /** + * Paugussett + */ + _12427, + /** + * Pocomoke Acohonock + */ + _12435, + /** + * Southeastern Indians + */ + _12443, + /** + * Susquehanock + */ + _12450, + /** + * Tunica Biloxi + */ + _12468, + /** + * Waccamaw-Siousan + */ + _12476, + /** + * Wicomico + */ + _12484, + /** + * Esselen + */ + _12500, + /** + * Fort Belknap + */ + _12526, + /** + * Fort Berthold + */ + _12542, + /** + * Fort Mcdowell + */ + _12567, + /** + * Fort Hall + */ + _12583, + /** + * Gabrieleno + */ + _12609, + /** + * Grand Ronde + */ + _12625, + /** + * Gros Ventres + */ + _12641, + /** + * Atsina + */ + _12658, + /** + * Haliwa + */ + _12674, + /** + * Hidatsa + */ + _12690, + /** + * Hoopa + */ + _12716, + /** + * Trinity + */ + _12724, + /** + * Whilkut + */ + _12732, + /** + * Hoopa Extension + */ + _12757, + /** + * Houma + */ + _12773, + /** + * Inaja-Cosmit + */ + _12799, + /** + * Iowa + */ + _12815, + /** + * Iowa of Kansas-Nebraska + */ + _12823, + /** + * Iowa of Oklahoma + */ + _12831, + /** + * Iroquois + */ + _12856, + /** + * Cayuga + */ + _12864, + /** + * Mohawk + */ + _12872, + /** + * Oneida + */ + _12880, + /** + * Onondaga + */ + _12898, + /** + * Seneca + */ + _12906, + /** + * Seneca Nation + */ + _12914, + /** + * Seneca-Cayuga + */ + _12922, + /** + * Tonawanda Seneca + */ + _12930, + /** + * Tuscarora + */ + _12948, + /** + * Wyandotte + */ + _12955, + /** + * Juaneno + */ + _12971, + /** + * Kalispel + */ + _12997, + /** + * Karuk + */ + _13011, + /** + * Kaw + */ + _13037, + /** + * Kickapoo + */ + _13052, + /** + * Oklahoma Kickapoo + */ + _13060, + /** + * Texas Kickapoo + */ + _13078, + /** + * Kiowa + */ + _13094, + /** + * Oklahoma Kiowa + */ + _13102, + /** + * Klallam + */ + _13128, + /** + * Jamestown + */ + _13136, + /** + * Lower Elwha + */ + _13144, + /** + * Port Gamble Klallam + */ + _13151, + /** + * Klamath + */ + _13177, + /** + * Konkow + */ + _13193, + /** + * Kootenai + */ + _13219, + /** + * Lassik + */ + _13235, + /** + * Long Island + */ + _13250, + /** + * Matinecock + */ + _13268, + /** + * Montauk + */ + _13276, + /** + * Poospatuck + */ + _13284, + /** + * Setauket + */ + _13292, + /** + * Luiseno + */ + _13318, + /** + * La Jolla + */ + _13326, + /** + * Pala + */ + _13334, + /** + * Pauma + */ + _13342, + /** + * Pechanga + */ + _13359, + /** + * Soboba + */ + _13367, + /** + * Twenty-Nine Palms + */ + _13375, + /** + * Temecula + */ + _13383, + /** + * Lumbee + */ + _13409, + /** + * Lummi + */ + _13425, + /** + * Maidu + */ + _13441, + /** + * Mountain Maidu + */ + _13458, + /** + * Nishinam + */ + _13466, + /** + * Makah + */ + _13482, + /** + * Maliseet + */ + _13508, + /** + * Mandan + */ + _13524, + /** + * Mattaponi + */ + _13540, + /** + * Menominee + */ + _13565, + /** + * Miami + */ + _13581, + /** + * Illinois Miami + */ + _13599, + /** + * Indiana Miami + */ + _13607, + /** + * Oklahoma Miami + */ + _13615, + /** + * Miccosukee + */ + _13631, + /** + * Micmac + */ + _13656, + /** + * Aroostook + */ + _13664, + /** + * Mission Indians + */ + _13680, + /** + * Miwok + */ + _13706, + /** + * Modoc + */ + _13722, + /** + * Mohegan + */ + _13748, + /** + * Mono + */ + _13763, + /** + * Nanticoke + */ + _13789, + /** + * Narragansett + */ + _13805, + /** + * Navajo + */ + _13821, + /** + * Alamo Navajo + */ + _13839, + /** + * Canoncito Navajo + */ + _13847, + /** + * Ramah Navajo + */ + _13854, + /** + * Nez Perce + */ + _13870, + /** + * Nomalaki + */ + _13896, + /** + * Northwest Tribes + */ + _13912, + /** + * Alsea + */ + _13920, + /** + * Celilo + */ + _13938, + /** + * Columbia + */ + _13946, + /** + * Kalapuya + */ + _13953, + /** + * Molala + */ + _13961, + /** + * Talakamish + */ + _13979, + /** + * Tenino + */ + _13987, + /** + * Tillamook + */ + _13995, + /** + * Wenatchee + */ + _14001, + /** + * Yahooskin + */ + _14019, + /** + * Omaha + */ + _14035, + /** + * Oregon Athabaskan + */ + _14050, + /** + * Osage + */ + _14076, + /** + * Otoe-Missouria + */ + _14092, + /** + * Ottawa + */ + _14118, + /** + * Burt Lake Ottawa + */ + _14126, + /** + * Michigan Ottawa + */ + _14134, + /** + * Oklahoma Ottawa + */ + _14142, + /** + * Paiute + */ + _14167, + /** + * Bishop + */ + _14175, + /** + * Bridgeport + */ + _14183, + /** + * Burns Paiute + */ + _14191, + /** + * Cedarville + */ + _14209, + /** + * Fort Bidwell + */ + _14217, + /** + * Fort Independence + */ + _14225, + /** + * Kaibab + */ + _14233, + /** + * Las Vegas + */ + _14241, + /** + * Lone Pine + */ + _14258, + /** + * Lovelock + */ + _14266, + /** + * Malheur Paiute + */ + _14274, + /** + * Moapa + */ + _14282, + /** + * Northern Paiute + */ + _14290, + /** + * Owens Valley + */ + _14308, + /** + * Pyramid Lake + */ + _14316, + /** + * San Juan Southern Paiute + */ + _14324, + /** + * Southern Paiute + */ + _14332, + /** + * Summit Lake + */ + _14340, + /** + * Utu Utu Gwaitu Paiute + */ + _14357, + /** + * Walker River + */ + _14365, + /** + * Yerington Paiute + */ + _14373, + /** + * Pamunkey + */ + _14399, + /** + * Passamaquoddy + */ + _14415, + /** + * Indian Township + */ + _14423, + /** + * Pleasant Point Passamaquoddy + */ + _14431, + /** + * Pawnee + */ + _14456, + /** + * Oklahoma Pawnee + */ + _14464, + /** + * Penobscot + */ + _14480, + /** + * Peoria + */ + _14506, + /** + * Oklahoma Peoria + */ + _14514, + /** + * Pequot + */ + _14530, + /** + * Marshantucket Pequot + */ + _14548, + /** + * Pima + */ + _14563, + /** + * Gila River Pima-Maricopa + */ + _14571, + /** + * Salt River Pima-Maricopa + */ + _14589, + /** + * Piscataway + */ + _14605, + /** + * Pit River + */ + _14621, + /** + * Pomo + */ + _14647, + /** + * Central Pomo + */ + _14654, + /** + * Dry Creek + */ + _14662, + /** + * Eastern Pomo + */ + _14670, + /** + * Kashia + */ + _14688, + /** + * Northern Pomo + */ + _14696, + /** + * Scotts Valley + */ + _14704, + /** + * Stonyford + */ + _14712, + /** + * Sulphur Bank + */ + _14720, + /** + * Ponca + */ + _14746, + /** + * Nebraska Ponca + */ + _14753, + /** + * Oklahoma Ponca + */ + _14761, + /** + * Potawatomi + */ + _14787, + /** + * Citizen Band Potawatomi + */ + _14795, + /** + * Forest County + */ + _14803, + /** + * Hannahville + */ + _14811, + /** + * Huron Potawatomi + */ + _14829, + /** + * Pokagon Potawatomi + */ + _14837, + /** + * Prairie Band + */ + _14845, + /** + * Wisconsin Potawatomi + */ + _14852, + /** + * Powhatan + */ + _14878, + /** + * Pueblo + */ + _14894, + /** + * Acoma + */ + _14902, + /** + * Arizona Tewa + */ + _14910, + /** + * Cochiti + */ + _14928, + /** + * Hopi + */ + _14936, + /** + * Isleta + */ + _14944, + /** + * Jemez + */ + _14951, + /** + * Keres + */ + _14969, + /** + * Laguna + */ + _14977, + /** + * Nambe + */ + _14985, + /** + * Picuris + */ + _14993, + /** + * Piro + */ + _15008, + /** + * Pojoaque + */ + _15016, + /** + * San Felipe + */ + _15024, + /** + * San Ildefonso + */ + _15032, + /** + * San Juan Pueblo + */ + _15040, + /** + * San Juan De + */ + _15057, + /** + * San Juan + */ + _15065, + /** + * Sandia + */ + _15073, + /** + * Santa Ana + */ + _15081, + /** + * Santa Clara + */ + _15099, + /** + * Santo Domingo + */ + _15107, + /** + * Taos + */ + _15115, + /** + * Tesuque + */ + _15123, + /** + * Tewa + */ + _15131, + /** + * Tigua + */ + _15149, + /** + * Zia + */ + _15156, + /** + * Zuni + */ + _15164, + /** + * Puget Sound Salish + */ + _15180, + /** + * Duwamish + */ + _15198, + /** + * Kikiallus + */ + _15206, + /** + * Lower Skagit + */ + _15214, + /** + * Muckleshoot + */ + _15222, + /** + * Nisqually + */ + _15230, + /** + * Nooksack + */ + _15248, + /** + * Port Madison + */ + _15255, + /** + * Puyallup + */ + _15263, + /** + * Samish + */ + _15271, + /** + * Sauk-Suiattle + */ + _15289, + /** + * Skokomish + */ + _15297, + /** + * Skykomish + */ + _15305, + /** + * Snohomish + */ + _15313, + /** + * Snoqualmie + */ + _15321, + /** + * Squaxin Island + */ + _15339, + /** + * Steilacoom + */ + _15347, + /** + * Stillaguamish + */ + _15354, + /** + * Suquamish + */ + _15362, + /** + * Swinomish + */ + _15370, + /** + * Tulalip + */ + _15388, + /** + * Upper Skagit + */ + _15396, + /** + * Quapaw + */ + _15412, + /** + * Quinault + */ + _15438, + /** + * Rappahannock + */ + _15453, + /** + * Reno-Sparks + */ + _15479, + /** + * Round Valley + */ + _15495, + /** + * Sac and Fox + */ + _15511, + /** + * Iowa Sac and Fox + */ + _15529, + /** + * Missouri Sac and Fox + */ + _15537, + /** + * Oklahoma Sac and Fox + */ + _15545, + /** + * Salinan + */ + _15560, + /** + * Salish + */ + _15586, + /** + * Salish and Kootenai + */ + _15602, + /** + * Schaghticoke + */ + _15628, + /** + * Scott Valley + */ + _15644, + /** + * Seminole + */ + _15669, + /** + * Big Cypress + */ + _15677, + /** + * Brighton + */ + _15685, + /** + * Florida Seminole + */ + _15693, + /** + * Hollywood Seminole + */ + _15701, + /** + * Oklahoma Seminole + */ + _15719, + /** + * Serrano + */ + _15735, + /** + * San Manual + */ + _15743, + /** + * Shasta + */ + _15768, + /** + * Shawnee + */ + _15784, + /** + * Absentee Shawnee + */ + _15792, + /** + * Eastern Shawnee + */ + _15800, + /** + * Shinnecock + */ + _15826, + /** + * Shoalwater Bay + */ + _15842, + /** + * Shoshone + */ + _15867, + /** + * Battle Mountain + */ + _15875, + /** + * Duckwater + */ + _15883, + /** + * Elko + */ + _15891, + /** + * Ely + */ + _15909, + /** + * Goshute + */ + _15917, + /** + * Panamint + */ + _15925, + /** + * Ruby Valley + */ + _15933, + /** + * Skull Valley + */ + _15941, + /** + * South Fork Shoshone + */ + _15958, + /** + * Te-Moak Western Shoshone + */ + _15966, + /** + * Timbi-Sha Shoshone + */ + _15974, + /** + * Washakie + */ + _15982, + /** + * Wind River Shoshone + */ + _15990, + /** + * Yomba + */ + _16006, + /** + * Shoshone Paiute + */ + _16022, + /** + * Duck Valley + */ + _16030, + /** + * Fallon + */ + _16048, + /** + * Fort McDermitt + */ + _16055, + /** + * Siletz + */ + _16071, + /** + * Sioux + */ + _16097, + /** + * Blackfoot Sioux + */ + _16105, + /** + * Brule Sioux + */ + _16113, + /** + * Cheyenne River Sioux + */ + _16121, + /** + * Crow Creek Sioux + */ + _16139, + /** + * Dakota Sioux + */ + _16147, + /** + * Flandreau Santee + */ + _16154, + /** + * Fort Peck + */ + _16162, + /** + * Lake Traverse Sioux + */ + _16170, + /** + * Lower Brule Sioux + */ + _16188, + /** + * Lower Sioux + */ + _16196, + /** + * Mdewakanton Sioux + */ + _16204, + /** + * Miniconjou + */ + _16212, + /** + * Oglala Sioux + */ + _16220, + /** + * Pine Ridge Sioux + */ + _16238, + /** + * Pipestone Sioux + */ + _16246, + /** + * Prairie Island Sioux + */ + _16253, + /** + * Prior Lake Sioux + */ + _16261, + /** + * Rosebud Sioux + */ + _16279, + /** + * Sans Arc Sioux + */ + _16287, + /** + * Santee Sioux + */ + _16295, + /** + * Sisseton-Wahpeton + */ + _16303, + /** + * Sisseton Sioux + */ + _16311, + /** + * Spirit Lake Sioux + */ + _16329, + /** + * Standing Rock Sioux + */ + _16337, + /** + * Teton Sioux + */ + _16345, + /** + * Two Kettle Sioux + */ + _16352, + /** + * Upper Sioux + */ + _16360, + /** + * Wahpekute Sioux + */ + _16378, + /** + * Wahpeton Sioux + */ + _16386, + /** + * Wazhaza Sioux + */ + _16394, + /** + * Yankton Sioux + */ + _16402, + /** + * Yanktonai Sioux + */ + _16410, + /** + * Siuslaw + */ + _16436, + /** + * Spokane + */ + _16451, + /** + * Stewart + */ + _16477, + /** + * Stockbridge + */ + _16493, + /** + * Susanville + */ + _16519, + /** + * Tohono O'Odham + */ + _16535, + /** + * Ak-Chin + */ + _16543, + /** + * Gila Bend + */ + _16550, + /** + * San Xavier + */ + _16568, + /** + * Sells + */ + _16576, + /** + * Tolowa + */ + _16592, + /** + * Tonkawa + */ + _16618, + /** + * Tygh + */ + _16634, + /** + * Umatilla + */ + _16659, + /** + * Umpqua + */ + _16675, + /** + * Cow Creek Umpqua + */ + _16683, + /** + * Ute + */ + _16709, + /** + * Allen Canyon + */ + _16717, + /** + * Uintah Ute + */ + _16725, + /** + * Ute Mountain Ute + */ + _16733, + /** + * Wailaki + */ + _16758, + /** + * Walla-Walla + */ + _16774, + /** + * Wampanoag + */ + _16790, + /** + * Gay Head Wampanoag + */ + _16808, + /** + * Mashpee Wampanoag + */ + _16816, + /** + * Warm Springs + */ + _16832, + /** + * Wascopum + */ + _16857, + /** + * Washoe + */ + _16873, + /** + * Alpine + */ + _16881, + /** + * Carson + */ + _16899, + /** + * Dresslerville + */ + _16907, + /** + * Wichita + */ + _16923, + /** + * Wind River + */ + _16949, + /** + * Winnebago + */ + _16964, + /** + * Ho-chunk + */ + _16972, + /** + * Nebraska Winnebago + */ + _16980, + /** + * Winnemucca + */ + _17004, + /** + * Wintun + */ + _17020, + /** + * Wiyot + */ + _17046, + /** + * Table Bluff + */ + _17053, + /** + * Yakama + */ + _17079, + /** + * Yakama Cowlitz + */ + _17095, + /** + * Yaqui + */ + _17111, + /** + * Barrio Libre + */ + _17129, + /** + * Pascua Yaqui + */ + _17137, + /** + * Yavapai Apache + */ + _17152, + /** + * Yokuts + */ + _17178, + /** + * Chukchansi + */ + _17186, + /** + * Tachi + */ + _17194, + /** + * Tule River + */ + _17202, + /** + * Yuchi + */ + _17228, + /** + * Yuman + */ + _17244, + /** + * Cocopah + */ + _17251, + /** + * Havasupai + */ + _17269, + /** + * Hualapai + */ + _17277, + /** + * Maricopa + */ + _17285, + /** + * Mohave + */ + _17293, + /** + * Quechan + */ + _17301, + /** + * Yavapai + */ + _17319, + /** + * Yurok + */ + _17327, + /** + * Coast Yurok + */ + _17335, + /** + * Alaska Native + */ + _17350, + /** + * Alaska Indian + */ + _17376, + /** + * Alaskan Athabascan + */ + _17392, + /** + * Ahtna + */ + _17400, + /** + * Southeast Alaska + */ + _18119, + /** + * Tlingit-Haida + */ + _18135, + /** + * Angoon + */ + _18143, + /** + * Central Council of Tlingit and Haida Tribes + */ + _18150, + /** + * Chilkat + */ + _18168, + /** + * Chilkoot + */ + _18176, + /** + * Craig + */ + _18184, + /** + * Douglas + */ + _18192, + /** + * Haida + */ + _18200, + /** + * Hoonah + */ + _18218, + /** + * Hydaburg + */ + _18226, + /** + * Kake + */ + _18234, + /** + * Kasaan + */ + _18242, + /** + * Kenaitze + */ + _18259, + /** + * Ketchikan + */ + _18267, + /** + * Klawock + */ + _18275, + /** + * Pelican + */ + _18283, + /** + * Petersburg + */ + _18291, + /** + * Saxman + */ + _18309, + /** + * Sitka + */ + _18317, + /** + * Tenakee Springs + */ + _18325, + /** + * Tlingit + */ + _18333, + /** + * Wrangell + */ + _18341, + /** + * Yakutat + */ + _18358, + /** + * Tsimshian + */ + _18374, + /** + * Metlakatla + */ + _18382, + /** + * Eskimo + */ + _18408, + /** + * Greenland Eskimo + */ + _18424, + /** + * Inupiat Eskimo + */ + _18440, + /** + * Ambler + */ + _18457, + /** + * Anaktuvuk + */ + _18465, + /** + * Anaktuvuk Pass + */ + _18473, + /** + * Arctic Slope Inupiat + */ + _18481, + /** + * Arctic Slope Corporation + */ + _18499, + /** + * Atqasuk + */ + _18507, + /** + * Barrow + */ + _18515, + /** + * Bering Straits Inupiat + */ + _18523, + /** + * Brevig Mission + */ + _18531, + /** + * Buckland + */ + _18549, + /** + * Chinik + */ + _18556, + /** + * Council + */ + _18564, + /** + * Deering + */ + _18572, + /** + * Elim + */ + _18580, + /** + * Golovin + */ + _18598, + /** + * Inalik Diomede + */ + _18606, + /** + * Inupiaq + */ + _18614, + /** + * Kaktovik + */ + _18622, + /** + * Kawerak + */ + _18630, + /** + * Kiana + */ + _18648, + /** + * Kivalina + */ + _18655, + /** + * Kobuk + */ + _18663, + /** + * Kotzebue + */ + _18671, + /** + * Koyuk + */ + _18689, + /** + * Kwiguk + */ + _18697, + /** + * Mauneluk Inupiat + */ + _18705, + /** + * Nana Inupiat + */ + _18713, + /** + * Noatak + */ + _18721, + /** + * Nome + */ + _18739, + /** + * Noorvik + */ + _18747, + /** + * Nuiqsut + */ + _18754, + /** + * Point Hope + */ + _18762, + /** + * Point Lay + */ + _18770, + /** + * Selawik + */ + _18788, + /** + * Shaktoolik + */ + _18796, + /** + * Shishmaref + */ + _18804, + /** + * Shungnak + */ + _18812, + /** + * Solomon + */ + _18820, + /** + * Teller + */ + _18838, + /** + * Unalakleet + */ + _18846, + /** + * Wainwright + */ + _18853, + /** + * Wales + */ + _18861, + /** + * White Mountain + */ + _18879, + /** + * White Mountain Inupiat + */ + _18887, + /** + * Mary's Igloo + */ + _18895, + /** + * Siberian Eskimo + */ + _18911, + /** + * Gambell + */ + _18929, + /** + * Savoonga + */ + _18937, + /** + * Siberian Yupik + */ + _18945, + /** + * Yupik Eskimo + */ + _18960, + /** + * Akiachak + */ + _18978, + /** + * Akiak + */ + _18986, + /** + * Alakanuk + */ + _18994, + /** + * Aleknagik + */ + _19000, + /** + * Andreafsky + */ + _19018, + /** + * Aniak + */ + _19026, + /** + * Atmautluak + */ + _19034, + /** + * Bethel + */ + _19042, + /** + * Bill Moore's Slough + */ + _19059, + /** + * Bristol Bay Yupik + */ + _19067, + /** + * Calista Yupik + */ + _19075, + /** + * Chefornak + */ + _19083, + /** + * Chevak + */ + _19091, + /** + * Chuathbaluk + */ + _19109, + /** + * Clark's Point + */ + _19117, + /** + * Crooked Creek + */ + _19125, + /** + * Dillingham + */ + _19133, + /** + * Eek + */ + _19141, + /** + * Ekuk + */ + _19158, + /** + * Ekwok + */ + _19166, + /** + * Emmonak + */ + _19174, + /** + * Goodnews Bay + */ + _19182, + /** + * Hooper Bay + */ + _19190, + /** + * Iqurmuit (Russian Mission) + */ + _19208, + /** + * Kalskag + */ + _19216, + /** + * Kasigluk + */ + _19224, + /** + * Kipnuk + */ + _19232, + /** + * Koliganek + */ + _19240, + /** + * Kongiganak + */ + _19257, + /** + * Kotlik + */ + _19265, + /** + * Kwethluk + */ + _19273, + /** + * Kwigillingok + */ + _19281, + /** + * Levelock + */ + _19299, + /** + * Lower Kalskag + */ + _19307, + /** + * Manokotak + */ + _19315, + /** + * Marshall + */ + _19323, + /** + * Mekoryuk + */ + _19331, + /** + * Mountain Village + */ + _19349, + /** + * Naknek + */ + _19356, + /** + * Napaumute + */ + _19364, + /** + * Napakiak + */ + _19372, + /** + * Napaskiak + */ + _19380, + /** + * Newhalen + */ + _19398, + /** + * New Stuyahok + */ + _19406, + /** + * Newtok + */ + _19414, + /** + * Nightmute + */ + _19422, + /** + * Nunapitchukv + */ + _19430, + /** + * Oscarville + */ + _19448, + /** + * Pilot Station + */ + _19455, + /** + * Pitkas Point + */ + _19463, + /** + * Platinum + */ + _19471, + /** + * Portage Creek + */ + _19489, + /** + * Quinhagak + */ + _19497, + /** + * Red Devil + */ + _19505, + /** + * St. Michael + */ + _19513, + /** + * Scammon Bay + */ + _19521, + /** + * Sheldon's Point + */ + _19539, + /** + * Sleetmute + */ + _19547, + /** + * Stebbins + */ + _19554, + /** + * Togiak + */ + _19562, + /** + * Toksook + */ + _19570, + /** + * Tulukskak + */ + _19588, + /** + * Tuntutuliak + */ + _19596, + /** + * Tununak + */ + _19604, + /** + * Twin Hills + */ + _19612, + /** + * Georgetown + */ + _19620, + /** + * St. Mary's + */ + _19638, + /** + * Umkumiate + */ + _19646, + /** + * Aleut + */ + _19661, + /** + * Alutiiq Aleut + */ + _19687, + /** + * Tatitlek + */ + _19695, + /** + * Ugashik + */ + _19703, + /** + * Bristol Bay Aleut + */ + _19729, + /** + * Chignik + */ + _19737, + /** + * Chignik Lake + */ + _19745, + /** + * Egegik + */ + _19752, + /** + * Igiugig + */ + _19760, + /** + * Ivanof Bay + */ + _19778, + /** + * King Salmon + */ + _19786, + /** + * Kokhanok + */ + _19794, + /** + * Perryville + */ + _19802, + /** + * Pilot Point + */ + _19810, + /** + * Port Heiden + */ + _19828, + /** + * Chugach Aleut + */ + _19844, + /** + * Chenega + */ + _19851, + /** + * Chugach Corporation + */ + _19869, + /** + * English Bay + */ + _19877, + /** + * Port Graham + */ + _19885, + /** + * Eyak + */ + _19901, + /** + * Koniag Aleut + */ + _19927, + /** + * Akhiok + */ + _19935, + /** + * Agdaagux + */ + _19943, + /** + * Karluk + */ + _19950, + /** + * Kodiak + */ + _19968, + /** + * Larsen Bay + */ + _19976, + /** + * Old Harbor + */ + _19984, + /** + * Ouzinkie + */ + _19992, + /** + * Port Lions + */ + _20008, + /** + * Sugpiaq + */ + _20024, + /** + * Suqpigaq + */ + _20040, + /** + * Unangan Aleut + */ + _20065, + /** + * Akutan + */ + _20073, + /** + * Aleut Corporation + */ + _20081, + /** + * Aleutian + */ + _20099, + /** + * Aleutian Islander + */ + _20107, + /** + * Atka + */ + _20115, + /** + * Belkofski + */ + _20123, + /** + * Chignik Lagoon + */ + _20131, + /** + * King Cove + */ + _20149, + /** + * False Pass + */ + _20156, + /** + * Nelson Lagoon + */ + _20164, + /** + * Nikolski + */ + _20172, + /** + * Pauloff Harbor + */ + _20180, + /** + * Qagan Toyagungin + */ + _20198, + /** + * Qawalangin + */ + _20206, + /** + * St. George + */ + _20214, + /** + * St. Paul + */ + _20222, + /** + * Sand Point + */ + _20230, + /** + * South Naknek + */ + _20248, + /** + * Unalaska + */ + _20255, + /** + * Unga + */ + _20263, + /** + * Asian + */ + _20289, + /** + * Asian Indian + */ + _20297, + /** + * Bangladeshi + */ + _20305, + /** + * Bhutanese + */ + _20313, + /** + * Burmese + */ + _20321, + /** + * Cambodian + */ + _20339, + /** + * Chinese + */ + _20347, + /** + * Taiwanese + */ + _20354, + /** + * Filipino + */ + _20362, + /** + * Hmong + */ + _20370, + /** + * Indonesian + */ + _20388, + /** + * Japanese + */ + _20396, + /** + * Korean + */ + _20404, + /** + * Laotian + */ + _20412, + /** + * Malaysian + */ + _20420, + /** + * Okinawan + */ + _20438, + /** + * Pakistani + */ + _20446, + /** + * Sri Lankan + */ + _20453, + /** + * Thai + */ + _20461, + /** + * Vietnamese + */ + _20479, + /** + * Iwo Jiman + */ + _20487, + /** + * Maldivian + */ + _20495, + /** + * Nepalese + */ + _20503, + /** + * Singaporean + */ + _20511, + /** + * Madagascar + */ + _20529, + /** + * Black or African American + */ + _20545, + /** + * Black + */ + _20560, + /** + * African American + */ + _20586, + /** + * African + */ + _20602, + /** + * Botswanan + */ + _20610, + /** + * Ethiopian + */ + _20628, + /** + * Liberian + */ + _20636, + /** + * Namibian + */ + _20644, + /** + * Nigerian + */ + _20651, + /** + * Zairean + */ + _20669, + /** + * Bahamian + */ + _20677, + /** + * Barbadian + */ + _20685, + /** + * Dominican + */ + _20693, + /** + * Dominica Islander + */ + _20701, + /** + * Haitian + */ + _20719, + /** + * Jamaican + */ + _20727, + /** + * Tobagoan + */ + _20735, + /** + * Trinidadian + */ + _20743, + /** + * West Indian + */ + _20750, + /** + * Native Hawaiian or Other Pacific Islander + */ + _20768, + /** + * Polynesian + */ + _20784, + /** + * Native Hawaiian + */ + _20792, + /** + * Samoan + */ + _20800, + /** + * Tahitian + */ + _20818, + /** + * Tongan + */ + _20826, + /** + * Tokelauan + */ + _20834, + /** + * Micronesian + */ + _20859, + /** + * Guamanian or Chamorro + */ + _20867, + /** + * Guamanian + */ + _20875, + /** + * Chamorro + */ + _20883, + /** + * Mariana Islander + */ + _20891, + /** + * Marshallese + */ + _20909, + /** + * Palauan + */ + _20917, + /** + * Carolinian + */ + _20925, + /** + * Kosraean + */ + _20933, + /** + * Pohnpeian + */ + _20941, + /** + * Saipanese + */ + _20958, + /** + * Kiribati + */ + _20966, + /** + * Chuukese + */ + _20974, + /** + * Yapese + */ + _20982, + /** + * Melanesian + */ + _21006, + /** + * Fijian + */ + _21014, + /** + * Papua New Guinean + */ + _21022, + /** + * Solomon Islander + */ + _21030, + /** + * New Hebrides + */ + _21048, + /** + * Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated. + */ + _25007, + /** + * White + */ + _21063, + /** + * European + */ + _21089, + /** + * Armenian + */ + _21097, + /** + * English + */ + _21105, + /** + * French + */ + _21113, + /** + * German + */ + _21121, + /** + * Irish + */ + _21139, + /** + * Italian + */ + _21147, + /** + * Polish + */ + _21154, + /** + * Scottish + */ + _21162, + /** + * Middle Eastern or North African + */ + _21188, + /** + * Assyrian + */ + _21196, + /** + * Egyptian + */ + _21204, + /** + * Iranian + */ + _21212, + /** + * Iraqi + */ + _21220, + /** + * Lebanese + */ + _21238, + /** + * Palestinian + */ + _21246, + /** + * Syrian + */ + _21253, + /** + * Afghanistani + */ + _21261, + /** + * Israeili + */ + _21279, + /** + * Arab + */ + _21295, + /** + * Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated. + */ + _21311, + /** + * added to help the parsers + */ + NULL; + public static V3Race fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1002-5".equals(codeString)) + return _10025; + if ("1004-1".equals(codeString)) + return _10041; + if ("1006-6".equals(codeString)) + return _10066; + if ("1008-2".equals(codeString)) + return _10082; + if ("1010-8".equals(codeString)) + return _10108; + if ("1011-6".equals(codeString)) + return _10116; + if ("1012-4".equals(codeString)) + return _10124; + if ("1013-2".equals(codeString)) + return _10132; + if ("1014-0".equals(codeString)) + return _10140; + if ("1015-7".equals(codeString)) + return _10157; + if ("1016-5".equals(codeString)) + return _10165; + if ("1017-3".equals(codeString)) + return _10173; + if ("1018-1".equals(codeString)) + return _10181; + if ("1019-9".equals(codeString)) + return _10199; + if ("1021-5".equals(codeString)) + return _10215; + if ("1022-3".equals(codeString)) + return _10223; + if ("1023-1".equals(codeString)) + return _10231; + if ("1024-9".equals(codeString)) + return _10249; + if ("1026-4".equals(codeString)) + return _10264; + if ("1028-0".equals(codeString)) + return _10280; + if ("1030-6".equals(codeString)) + return _10306; + if ("1031-4".equals(codeString)) + return _10314; + if ("1033-0".equals(codeString)) + return _10330; + if ("1035-5".equals(codeString)) + return _10355; + if ("1037-1".equals(codeString)) + return _10371; + if ("1039-7".equals(codeString)) + return _10397; + if ("1041-3".equals(codeString)) + return _10413; + if ("1042-1".equals(codeString)) + return _10421; + if ("1044-7".equals(codeString)) + return _10447; + if ("1045-4".equals(codeString)) + return _10454; + if ("1046-2".equals(codeString)) + return _10462; + if ("1047-0".equals(codeString)) + return _10470; + if ("1048-8".equals(codeString)) + return _10488; + if ("1049-6".equals(codeString)) + return _10496; + if ("1050-4".equals(codeString)) + return _10504; + if ("1051-2".equals(codeString)) + return _10512; + if ("1053-8".equals(codeString)) + return _10538; + if ("1054-6".equals(codeString)) + return _10546; + if ("1055-3".equals(codeString)) + return _10553; + if ("1056-1".equals(codeString)) + return _10561; + if ("1057-9".equals(codeString)) + return _10579; + if ("1058-7".equals(codeString)) + return _10587; + if ("1059-5".equals(codeString)) + return _10595; + if ("1060-3".equals(codeString)) + return _10603; + if ("1061-1".equals(codeString)) + return _10611; + if ("1062-9".equals(codeString)) + return _10629; + if ("1063-7".equals(codeString)) + return _10637; + if ("1064-5".equals(codeString)) + return _10645; + if ("1065-2".equals(codeString)) + return _10652; + if ("1066-0".equals(codeString)) + return _10660; + if ("1068-6".equals(codeString)) + return _10686; + if ("1069-4".equals(codeString)) + return _10694; + if ("1070-2".equals(codeString)) + return _10702; + if ("1071-0".equals(codeString)) + return _10710; + if ("1072-8".equals(codeString)) + return _10728; + if ("1073-6".equals(codeString)) + return _10736; + if ("1074-4".equals(codeString)) + return _10744; + if ("1076-9".equals(codeString)) + return _10769; + if ("1741-8".equals(codeString)) + return _17418; + if ("1742-6".equals(codeString)) + return _17426; + if ("1743-4".equals(codeString)) + return _17434; + if ("1744-2".equals(codeString)) + return _17442; + if ("1745-9".equals(codeString)) + return _17459; + if ("1746-7".equals(codeString)) + return _17467; + if ("1747-5".equals(codeString)) + return _17475; + if ("1748-3".equals(codeString)) + return _17483; + if ("1749-1".equals(codeString)) + return _17491; + if ("1750-9".equals(codeString)) + return _17509; + if ("1751-7".equals(codeString)) + return _17517; + if ("1752-5".equals(codeString)) + return _17525; + if ("1753-3".equals(codeString)) + return _17533; + if ("1754-1".equals(codeString)) + return _17541; + if ("1755-8".equals(codeString)) + return _17558; + if ("1756-6".equals(codeString)) + return _17566; + if ("1757-4".equals(codeString)) + return _17574; + if ("1758-2".equals(codeString)) + return _17582; + if ("1759-0".equals(codeString)) + return _17590; + if ("1760-8".equals(codeString)) + return _17608; + if ("1761-6".equals(codeString)) + return _17616; + if ("1762-4".equals(codeString)) + return _17624; + if ("1763-2".equals(codeString)) + return _17632; + if ("1764-0".equals(codeString)) + return _17640; + if ("1765-7".equals(codeString)) + return _17657; + if ("1766-5".equals(codeString)) + return _17665; + if ("1767-3".equals(codeString)) + return _17673; + if ("1768-1".equals(codeString)) + return _17681; + if ("1769-9".equals(codeString)) + return _17699; + if ("1770-7".equals(codeString)) + return _17707; + if ("1771-5".equals(codeString)) + return _17715; + if ("1772-3".equals(codeString)) + return _17723; + if ("1773-1".equals(codeString)) + return _17731; + if ("1774-9".equals(codeString)) + return _17749; + if ("1775-6".equals(codeString)) + return _17756; + if ("1776-4".equals(codeString)) + return _17764; + if ("1777-2".equals(codeString)) + return _17772; + if ("1778-0".equals(codeString)) + return _17780; + if ("1779-8".equals(codeString)) + return _17798; + if ("1780-6".equals(codeString)) + return _17806; + if ("1781-4".equals(codeString)) + return _17814; + if ("1782-2".equals(codeString)) + return _17822; + if ("1783-0".equals(codeString)) + return _17830; + if ("1784-8".equals(codeString)) + return _17848; + if ("1785-5".equals(codeString)) + return _17855; + if ("1786-3".equals(codeString)) + return _17863; + if ("1787-1".equals(codeString)) + return _17871; + if ("1788-9".equals(codeString)) + return _17889; + if ("1789-7".equals(codeString)) + return _17897; + if ("1790-5".equals(codeString)) + return _17905; + if ("1791-3".equals(codeString)) + return _17913; + if ("1792-1".equals(codeString)) + return _17921; + if ("1793-9".equals(codeString)) + return _17939; + if ("1794-7".equals(codeString)) + return _17947; + if ("1795-4".equals(codeString)) + return _17954; + if ("1796-2".equals(codeString)) + return _17962; + if ("1797-0".equals(codeString)) + return _17970; + if ("1798-8".equals(codeString)) + return _17988; + if ("1799-6".equals(codeString)) + return _17996; + if ("1800-2".equals(codeString)) + return _18002; + if ("1801-0".equals(codeString)) + return _18010; + if ("1802-8".equals(codeString)) + return _18028; + if ("1803-6".equals(codeString)) + return _18036; + if ("1804-4".equals(codeString)) + return _18044; + if ("1805-1".equals(codeString)) + return _18051; + if ("1806-9".equals(codeString)) + return _18069; + if ("1807-7".equals(codeString)) + return _18077; + if ("1808-5".equals(codeString)) + return _18085; + if ("1809-3".equals(codeString)) + return _18093; + if ("1078-5".equals(codeString)) + return _10785; + if ("1080-1".equals(codeString)) + return _10801; + if ("1082-7".equals(codeString)) + return _10827; + if ("1083-5".equals(codeString)) + return _10835; + if ("1084-3".equals(codeString)) + return _10843; + if ("1086-8".equals(codeString)) + return _10868; + if ("1088-4".equals(codeString)) + return _10884; + if ("1089-2".equals(codeString)) + return _10892; + if ("1090-0".equals(codeString)) + return _10900; + if ("1091-8".equals(codeString)) + return _10918; + if ("1092-6".equals(codeString)) + return _10926; + if ("1093-4".equals(codeString)) + return _10934; + if ("1094-2".equals(codeString)) + return _10942; + if ("1095-9".equals(codeString)) + return _10959; + if ("1096-7".equals(codeString)) + return _10967; + if ("1097-5".equals(codeString)) + return _10975; + if ("1098-3".equals(codeString)) + return _10983; + if ("1100-7".equals(codeString)) + return _11007; + if ("1102-3".equals(codeString)) + return _11023; + if ("1103-1".equals(codeString)) + return _11031; + if ("1104-9".equals(codeString)) + return _11049; + if ("1106-4".equals(codeString)) + return _11064; + if ("1108-0".equals(codeString)) + return _11080; + if ("1109-8".equals(codeString)) + return _11098; + if ("1110-6".equals(codeString)) + return _11106; + if ("1112-2".equals(codeString)) + return _11122; + if ("1114-8".equals(codeString)) + return _11148; + if ("1115-5".equals(codeString)) + return _11155; + if ("1116-3".equals(codeString)) + return _11163; + if ("1117-1".equals(codeString)) + return _11171; + if ("1118-9".equals(codeString)) + return _11189; + if ("1119-7".equals(codeString)) + return _11197; + if ("1120-5".equals(codeString)) + return _11205; + if ("1121-3".equals(codeString)) + return _11213; + if ("1123-9".equals(codeString)) + return _11239; + if ("1124-7".equals(codeString)) + return _11247; + if ("1125-4".equals(codeString)) + return _11254; + if ("1126-2".equals(codeString)) + return _11262; + if ("1127-0".equals(codeString)) + return _11270; + if ("1128-8".equals(codeString)) + return _11288; + if ("1129-6".equals(codeString)) + return _11296; + if ("1130-4".equals(codeString)) + return _11304; + if ("1131-2".equals(codeString)) + return _11312; + if ("1132-0".equals(codeString)) + return _11320; + if ("1133-8".equals(codeString)) + return _11338; + if ("1134-6".equals(codeString)) + return _11346; + if ("1135-3".equals(codeString)) + return _11353; + if ("1136-1".equals(codeString)) + return _11361; + if ("1137-9".equals(codeString)) + return _11379; + if ("1138-7".equals(codeString)) + return _11387; + if ("1139-5".equals(codeString)) + return _11395; + if ("1140-3".equals(codeString)) + return _11403; + if ("1141-1".equals(codeString)) + return _11411; + if ("1142-9".equals(codeString)) + return _11429; + if ("1143-7".equals(codeString)) + return _11437; + if ("1144-5".equals(codeString)) + return _11445; + if ("1145-2".equals(codeString)) + return _11452; + if ("1146-0".equals(codeString)) + return _11460; + if ("1147-8".equals(codeString)) + return _11478; + if ("1148-6".equals(codeString)) + return _11486; + if ("1150-2".equals(codeString)) + return _11502; + if ("1151-0".equals(codeString)) + return _11510; + if ("1153-6".equals(codeString)) + return _11536; + if ("1155-1".equals(codeString)) + return _11551; + if ("1156-9".equals(codeString)) + return _11569; + if ("1157-7".equals(codeString)) + return _11577; + if ("1158-5".equals(codeString)) + return _11585; + if ("1159-3".equals(codeString)) + return _11593; + if ("1160-1".equals(codeString)) + return _11601; + if ("1162-7".equals(codeString)) + return _11627; + if ("1163-5".equals(codeString)) + return _11635; + if ("1165-0".equals(codeString)) + return _11650; + if ("1167-6".equals(codeString)) + return _11676; + if ("1169-2".equals(codeString)) + return _11692; + if ("1171-8".equals(codeString)) + return _11718; + if ("1173-4".equals(codeString)) + return _11734; + if ("1175-9".equals(codeString)) + return _11759; + if ("1176-7".equals(codeString)) + return _11767; + if ("1178-3".equals(codeString)) + return _11783; + if ("1180-9".equals(codeString)) + return _11809; + if ("1182-5".equals(codeString)) + return _11825; + if ("1184-1".equals(codeString)) + return _11841; + if ("1186-6".equals(codeString)) + return _11866; + if ("1187-4".equals(codeString)) + return _11874; + if ("1189-0".equals(codeString)) + return _11890; + if ("1191-6".equals(codeString)) + return _11916; + if ("1193-2".equals(codeString)) + return _11932; + if ("1194-0".equals(codeString)) + return _11940; + if ("1195-7".equals(codeString)) + return _11957; + if ("1196-5".equals(codeString)) + return _11965; + if ("1197-3".equals(codeString)) + return _11973; + if ("1198-1".equals(codeString)) + return _11981; + if ("1199-9".equals(codeString)) + return _11999; + if ("1200-5".equals(codeString)) + return _12005; + if ("1201-3".equals(codeString)) + return _12013; + if ("1202-1".equals(codeString)) + return _12021; + if ("1203-9".equals(codeString)) + return _12039; + if ("1204-7".equals(codeString)) + return _12047; + if ("1205-4".equals(codeString)) + return _12054; + if ("1207-0".equals(codeString)) + return _12070; + if ("1209-6".equals(codeString)) + return _12096; + if ("1211-2".equals(codeString)) + return _12112; + if ("1212-0".equals(codeString)) + return _12120; + if ("1214-6".equals(codeString)) + return _12146; + if ("1215-3".equals(codeString)) + return _12153; + if ("1216-1".equals(codeString)) + return _12161; + if ("1217-9".equals(codeString)) + return _12179; + if ("1218-7".equals(codeString)) + return _12187; + if ("1219-5".equals(codeString)) + return _12195; + if ("1220-3".equals(codeString)) + return _12203; + if ("1222-9".equals(codeString)) + return _12229; + if ("1223-7".equals(codeString)) + return _12237; + if ("1224-5".equals(codeString)) + return _12245; + if ("1225-2".equals(codeString)) + return _12252; + if ("1226-0".equals(codeString)) + return _12260; + if ("1227-8".equals(codeString)) + return _12278; + if ("1228-6".equals(codeString)) + return _12286; + if ("1229-4".equals(codeString)) + return _12294; + if ("1230-2".equals(codeString)) + return _12302; + if ("1231-0".equals(codeString)) + return _12310; + if ("1233-6".equals(codeString)) + return _12336; + if ("1234-4".equals(codeString)) + return _12344; + if ("1235-1".equals(codeString)) + return _12351; + if ("1236-9".equals(codeString)) + return _12369; + if ("1237-7".equals(codeString)) + return _12377; + if ("1238-5".equals(codeString)) + return _12385; + if ("1239-3".equals(codeString)) + return _12393; + if ("1240-1".equals(codeString)) + return _12401; + if ("1241-9".equals(codeString)) + return _12419; + if ("1242-7".equals(codeString)) + return _12427; + if ("1243-5".equals(codeString)) + return _12435; + if ("1244-3".equals(codeString)) + return _12443; + if ("1245-0".equals(codeString)) + return _12450; + if ("1246-8".equals(codeString)) + return _12468; + if ("1247-6".equals(codeString)) + return _12476; + if ("1248-4".equals(codeString)) + return _12484; + if ("1250-0".equals(codeString)) + return _12500; + if ("1252-6".equals(codeString)) + return _12526; + if ("1254-2".equals(codeString)) + return _12542; + if ("1256-7".equals(codeString)) + return _12567; + if ("1258-3".equals(codeString)) + return _12583; + if ("1260-9".equals(codeString)) + return _12609; + if ("1262-5".equals(codeString)) + return _12625; + if ("1264-1".equals(codeString)) + return _12641; + if ("1265-8".equals(codeString)) + return _12658; + if ("1267-4".equals(codeString)) + return _12674; + if ("1269-0".equals(codeString)) + return _12690; + if ("1271-6".equals(codeString)) + return _12716; + if ("1272-4".equals(codeString)) + return _12724; + if ("1273-2".equals(codeString)) + return _12732; + if ("1275-7".equals(codeString)) + return _12757; + if ("1277-3".equals(codeString)) + return _12773; + if ("1279-9".equals(codeString)) + return _12799; + if ("1281-5".equals(codeString)) + return _12815; + if ("1282-3".equals(codeString)) + return _12823; + if ("1283-1".equals(codeString)) + return _12831; + if ("1285-6".equals(codeString)) + return _12856; + if ("1286-4".equals(codeString)) + return _12864; + if ("1287-2".equals(codeString)) + return _12872; + if ("1288-0".equals(codeString)) + return _12880; + if ("1289-8".equals(codeString)) + return _12898; + if ("1290-6".equals(codeString)) + return _12906; + if ("1291-4".equals(codeString)) + return _12914; + if ("1292-2".equals(codeString)) + return _12922; + if ("1293-0".equals(codeString)) + return _12930; + if ("1294-8".equals(codeString)) + return _12948; + if ("1295-5".equals(codeString)) + return _12955; + if ("1297-1".equals(codeString)) + return _12971; + if ("1299-7".equals(codeString)) + return _12997; + if ("1301-1".equals(codeString)) + return _13011; + if ("1303-7".equals(codeString)) + return _13037; + if ("1305-2".equals(codeString)) + return _13052; + if ("1306-0".equals(codeString)) + return _13060; + if ("1307-8".equals(codeString)) + return _13078; + if ("1309-4".equals(codeString)) + return _13094; + if ("1310-2".equals(codeString)) + return _13102; + if ("1312-8".equals(codeString)) + return _13128; + if ("1313-6".equals(codeString)) + return _13136; + if ("1314-4".equals(codeString)) + return _13144; + if ("1315-1".equals(codeString)) + return _13151; + if ("1317-7".equals(codeString)) + return _13177; + if ("1319-3".equals(codeString)) + return _13193; + if ("1321-9".equals(codeString)) + return _13219; + if ("1323-5".equals(codeString)) + return _13235; + if ("1325-0".equals(codeString)) + return _13250; + if ("1326-8".equals(codeString)) + return _13268; + if ("1327-6".equals(codeString)) + return _13276; + if ("1328-4".equals(codeString)) + return _13284; + if ("1329-2".equals(codeString)) + return _13292; + if ("1331-8".equals(codeString)) + return _13318; + if ("1332-6".equals(codeString)) + return _13326; + if ("1333-4".equals(codeString)) + return _13334; + if ("1334-2".equals(codeString)) + return _13342; + if ("1335-9".equals(codeString)) + return _13359; + if ("1336-7".equals(codeString)) + return _13367; + if ("1337-5".equals(codeString)) + return _13375; + if ("1338-3".equals(codeString)) + return _13383; + if ("1340-9".equals(codeString)) + return _13409; + if ("1342-5".equals(codeString)) + return _13425; + if ("1344-1".equals(codeString)) + return _13441; + if ("1345-8".equals(codeString)) + return _13458; + if ("1346-6".equals(codeString)) + return _13466; + if ("1348-2".equals(codeString)) + return _13482; + if ("1350-8".equals(codeString)) + return _13508; + if ("1352-4".equals(codeString)) + return _13524; + if ("1354-0".equals(codeString)) + return _13540; + if ("1356-5".equals(codeString)) + return _13565; + if ("1358-1".equals(codeString)) + return _13581; + if ("1359-9".equals(codeString)) + return _13599; + if ("1360-7".equals(codeString)) + return _13607; + if ("1361-5".equals(codeString)) + return _13615; + if ("1363-1".equals(codeString)) + return _13631; + if ("1365-6".equals(codeString)) + return _13656; + if ("1366-4".equals(codeString)) + return _13664; + if ("1368-0".equals(codeString)) + return _13680; + if ("1370-6".equals(codeString)) + return _13706; + if ("1372-2".equals(codeString)) + return _13722; + if ("1374-8".equals(codeString)) + return _13748; + if ("1376-3".equals(codeString)) + return _13763; + if ("1378-9".equals(codeString)) + return _13789; + if ("1380-5".equals(codeString)) + return _13805; + if ("1382-1".equals(codeString)) + return _13821; + if ("1383-9".equals(codeString)) + return _13839; + if ("1384-7".equals(codeString)) + return _13847; + if ("1385-4".equals(codeString)) + return _13854; + if ("1387-0".equals(codeString)) + return _13870; + if ("1389-6".equals(codeString)) + return _13896; + if ("1391-2".equals(codeString)) + return _13912; + if ("1392-0".equals(codeString)) + return _13920; + if ("1393-8".equals(codeString)) + return _13938; + if ("1394-6".equals(codeString)) + return _13946; + if ("1395-3".equals(codeString)) + return _13953; + if ("1396-1".equals(codeString)) + return _13961; + if ("1397-9".equals(codeString)) + return _13979; + if ("1398-7".equals(codeString)) + return _13987; + if ("1399-5".equals(codeString)) + return _13995; + if ("1400-1".equals(codeString)) + return _14001; + if ("1401-9".equals(codeString)) + return _14019; + if ("1403-5".equals(codeString)) + return _14035; + if ("1405-0".equals(codeString)) + return _14050; + if ("1407-6".equals(codeString)) + return _14076; + if ("1409-2".equals(codeString)) + return _14092; + if ("1411-8".equals(codeString)) + return _14118; + if ("1412-6".equals(codeString)) + return _14126; + if ("1413-4".equals(codeString)) + return _14134; + if ("1414-2".equals(codeString)) + return _14142; + if ("1416-7".equals(codeString)) + return _14167; + if ("1417-5".equals(codeString)) + return _14175; + if ("1418-3".equals(codeString)) + return _14183; + if ("1419-1".equals(codeString)) + return _14191; + if ("1420-9".equals(codeString)) + return _14209; + if ("1421-7".equals(codeString)) + return _14217; + if ("1422-5".equals(codeString)) + return _14225; + if ("1423-3".equals(codeString)) + return _14233; + if ("1424-1".equals(codeString)) + return _14241; + if ("1425-8".equals(codeString)) + return _14258; + if ("1426-6".equals(codeString)) + return _14266; + if ("1427-4".equals(codeString)) + return _14274; + if ("1428-2".equals(codeString)) + return _14282; + if ("1429-0".equals(codeString)) + return _14290; + if ("1430-8".equals(codeString)) + return _14308; + if ("1431-6".equals(codeString)) + return _14316; + if ("1432-4".equals(codeString)) + return _14324; + if ("1433-2".equals(codeString)) + return _14332; + if ("1434-0".equals(codeString)) + return _14340; + if ("1435-7".equals(codeString)) + return _14357; + if ("1436-5".equals(codeString)) + return _14365; + if ("1437-3".equals(codeString)) + return _14373; + if ("1439-9".equals(codeString)) + return _14399; + if ("1441-5".equals(codeString)) + return _14415; + if ("1442-3".equals(codeString)) + return _14423; + if ("1443-1".equals(codeString)) + return _14431; + if ("1445-6".equals(codeString)) + return _14456; + if ("1446-4".equals(codeString)) + return _14464; + if ("1448-0".equals(codeString)) + return _14480; + if ("1450-6".equals(codeString)) + return _14506; + if ("1451-4".equals(codeString)) + return _14514; + if ("1453-0".equals(codeString)) + return _14530; + if ("1454-8".equals(codeString)) + return _14548; + if ("1456-3".equals(codeString)) + return _14563; + if ("1457-1".equals(codeString)) + return _14571; + if ("1458-9".equals(codeString)) + return _14589; + if ("1460-5".equals(codeString)) + return _14605; + if ("1462-1".equals(codeString)) + return _14621; + if ("1464-7".equals(codeString)) + return _14647; + if ("1465-4".equals(codeString)) + return _14654; + if ("1466-2".equals(codeString)) + return _14662; + if ("1467-0".equals(codeString)) + return _14670; + if ("1468-8".equals(codeString)) + return _14688; + if ("1469-6".equals(codeString)) + return _14696; + if ("1470-4".equals(codeString)) + return _14704; + if ("1471-2".equals(codeString)) + return _14712; + if ("1472-0".equals(codeString)) + return _14720; + if ("1474-6".equals(codeString)) + return _14746; + if ("1475-3".equals(codeString)) + return _14753; + if ("1476-1".equals(codeString)) + return _14761; + if ("1478-7".equals(codeString)) + return _14787; + if ("1479-5".equals(codeString)) + return _14795; + if ("1480-3".equals(codeString)) + return _14803; + if ("1481-1".equals(codeString)) + return _14811; + if ("1482-9".equals(codeString)) + return _14829; + if ("1483-7".equals(codeString)) + return _14837; + if ("1484-5".equals(codeString)) + return _14845; + if ("1485-2".equals(codeString)) + return _14852; + if ("1487-8".equals(codeString)) + return _14878; + if ("1489-4".equals(codeString)) + return _14894; + if ("1490-2".equals(codeString)) + return _14902; + if ("1491-0".equals(codeString)) + return _14910; + if ("1492-8".equals(codeString)) + return _14928; + if ("1493-6".equals(codeString)) + return _14936; + if ("1494-4".equals(codeString)) + return _14944; + if ("1495-1".equals(codeString)) + return _14951; + if ("1496-9".equals(codeString)) + return _14969; + if ("1497-7".equals(codeString)) + return _14977; + if ("1498-5".equals(codeString)) + return _14985; + if ("1499-3".equals(codeString)) + return _14993; + if ("1500-8".equals(codeString)) + return _15008; + if ("1501-6".equals(codeString)) + return _15016; + if ("1502-4".equals(codeString)) + return _15024; + if ("1503-2".equals(codeString)) + return _15032; + if ("1504-0".equals(codeString)) + return _15040; + if ("1505-7".equals(codeString)) + return _15057; + if ("1506-5".equals(codeString)) + return _15065; + if ("1507-3".equals(codeString)) + return _15073; + if ("1508-1".equals(codeString)) + return _15081; + if ("1509-9".equals(codeString)) + return _15099; + if ("1510-7".equals(codeString)) + return _15107; + if ("1511-5".equals(codeString)) + return _15115; + if ("1512-3".equals(codeString)) + return _15123; + if ("1513-1".equals(codeString)) + return _15131; + if ("1514-9".equals(codeString)) + return _15149; + if ("1515-6".equals(codeString)) + return _15156; + if ("1516-4".equals(codeString)) + return _15164; + if ("1518-0".equals(codeString)) + return _15180; + if ("1519-8".equals(codeString)) + return _15198; + if ("1520-6".equals(codeString)) + return _15206; + if ("1521-4".equals(codeString)) + return _15214; + if ("1522-2".equals(codeString)) + return _15222; + if ("1523-0".equals(codeString)) + return _15230; + if ("1524-8".equals(codeString)) + return _15248; + if ("1525-5".equals(codeString)) + return _15255; + if ("1526-3".equals(codeString)) + return _15263; + if ("1527-1".equals(codeString)) + return _15271; + if ("1528-9".equals(codeString)) + return _15289; + if ("1529-7".equals(codeString)) + return _15297; + if ("1530-5".equals(codeString)) + return _15305; + if ("1531-3".equals(codeString)) + return _15313; + if ("1532-1".equals(codeString)) + return _15321; + if ("1533-9".equals(codeString)) + return _15339; + if ("1534-7".equals(codeString)) + return _15347; + if ("1535-4".equals(codeString)) + return _15354; + if ("1536-2".equals(codeString)) + return _15362; + if ("1537-0".equals(codeString)) + return _15370; + if ("1538-8".equals(codeString)) + return _15388; + if ("1539-6".equals(codeString)) + return _15396; + if ("1541-2".equals(codeString)) + return _15412; + if ("1543-8".equals(codeString)) + return _15438; + if ("1545-3".equals(codeString)) + return _15453; + if ("1547-9".equals(codeString)) + return _15479; + if ("1549-5".equals(codeString)) + return _15495; + if ("1551-1".equals(codeString)) + return _15511; + if ("1552-9".equals(codeString)) + return _15529; + if ("1553-7".equals(codeString)) + return _15537; + if ("1554-5".equals(codeString)) + return _15545; + if ("1556-0".equals(codeString)) + return _15560; + if ("1558-6".equals(codeString)) + return _15586; + if ("1560-2".equals(codeString)) + return _15602; + if ("1562-8".equals(codeString)) + return _15628; + if ("1564-4".equals(codeString)) + return _15644; + if ("1566-9".equals(codeString)) + return _15669; + if ("1567-7".equals(codeString)) + return _15677; + if ("1568-5".equals(codeString)) + return _15685; + if ("1569-3".equals(codeString)) + return _15693; + if ("1570-1".equals(codeString)) + return _15701; + if ("1571-9".equals(codeString)) + return _15719; + if ("1573-5".equals(codeString)) + return _15735; + if ("1574-3".equals(codeString)) + return _15743; + if ("1576-8".equals(codeString)) + return _15768; + if ("1578-4".equals(codeString)) + return _15784; + if ("1579-2".equals(codeString)) + return _15792; + if ("1580-0".equals(codeString)) + return _15800; + if ("1582-6".equals(codeString)) + return _15826; + if ("1584-2".equals(codeString)) + return _15842; + if ("1586-7".equals(codeString)) + return _15867; + if ("1587-5".equals(codeString)) + return _15875; + if ("1588-3".equals(codeString)) + return _15883; + if ("1589-1".equals(codeString)) + return _15891; + if ("1590-9".equals(codeString)) + return _15909; + if ("1591-7".equals(codeString)) + return _15917; + if ("1592-5".equals(codeString)) + return _15925; + if ("1593-3".equals(codeString)) + return _15933; + if ("1594-1".equals(codeString)) + return _15941; + if ("1595-8".equals(codeString)) + return _15958; + if ("1596-6".equals(codeString)) + return _15966; + if ("1597-4".equals(codeString)) + return _15974; + if ("1598-2".equals(codeString)) + return _15982; + if ("1599-0".equals(codeString)) + return _15990; + if ("1600-6".equals(codeString)) + return _16006; + if ("1602-2".equals(codeString)) + return _16022; + if ("1603-0".equals(codeString)) + return _16030; + if ("1604-8".equals(codeString)) + return _16048; + if ("1605-5".equals(codeString)) + return _16055; + if ("1607-1".equals(codeString)) + return _16071; + if ("1609-7".equals(codeString)) + return _16097; + if ("1610-5".equals(codeString)) + return _16105; + if ("1611-3".equals(codeString)) + return _16113; + if ("1612-1".equals(codeString)) + return _16121; + if ("1613-9".equals(codeString)) + return _16139; + if ("1614-7".equals(codeString)) + return _16147; + if ("1615-4".equals(codeString)) + return _16154; + if ("1616-2".equals(codeString)) + return _16162; + if ("1617-0".equals(codeString)) + return _16170; + if ("1618-8".equals(codeString)) + return _16188; + if ("1619-6".equals(codeString)) + return _16196; + if ("1620-4".equals(codeString)) + return _16204; + if ("1621-2".equals(codeString)) + return _16212; + if ("1622-0".equals(codeString)) + return _16220; + if ("1623-8".equals(codeString)) + return _16238; + if ("1624-6".equals(codeString)) + return _16246; + if ("1625-3".equals(codeString)) + return _16253; + if ("1626-1".equals(codeString)) + return _16261; + if ("1627-9".equals(codeString)) + return _16279; + if ("1628-7".equals(codeString)) + return _16287; + if ("1629-5".equals(codeString)) + return _16295; + if ("1630-3".equals(codeString)) + return _16303; + if ("1631-1".equals(codeString)) + return _16311; + if ("1632-9".equals(codeString)) + return _16329; + if ("1633-7".equals(codeString)) + return _16337; + if ("1634-5".equals(codeString)) + return _16345; + if ("1635-2".equals(codeString)) + return _16352; + if ("1636-0".equals(codeString)) + return _16360; + if ("1637-8".equals(codeString)) + return _16378; + if ("1638-6".equals(codeString)) + return _16386; + if ("1639-4".equals(codeString)) + return _16394; + if ("1640-2".equals(codeString)) + return _16402; + if ("1641-0".equals(codeString)) + return _16410; + if ("1643-6".equals(codeString)) + return _16436; + if ("1645-1".equals(codeString)) + return _16451; + if ("1647-7".equals(codeString)) + return _16477; + if ("1649-3".equals(codeString)) + return _16493; + if ("1651-9".equals(codeString)) + return _16519; + if ("1653-5".equals(codeString)) + return _16535; + if ("1654-3".equals(codeString)) + return _16543; + if ("1655-0".equals(codeString)) + return _16550; + if ("1656-8".equals(codeString)) + return _16568; + if ("1657-6".equals(codeString)) + return _16576; + if ("1659-2".equals(codeString)) + return _16592; + if ("1661-8".equals(codeString)) + return _16618; + if ("1663-4".equals(codeString)) + return _16634; + if ("1665-9".equals(codeString)) + return _16659; + if ("1667-5".equals(codeString)) + return _16675; + if ("1668-3".equals(codeString)) + return _16683; + if ("1670-9".equals(codeString)) + return _16709; + if ("1671-7".equals(codeString)) + return _16717; + if ("1672-5".equals(codeString)) + return _16725; + if ("1673-3".equals(codeString)) + return _16733; + if ("1675-8".equals(codeString)) + return _16758; + if ("1677-4".equals(codeString)) + return _16774; + if ("1679-0".equals(codeString)) + return _16790; + if ("1680-8".equals(codeString)) + return _16808; + if ("1681-6".equals(codeString)) + return _16816; + if ("1683-2".equals(codeString)) + return _16832; + if ("1685-7".equals(codeString)) + return _16857; + if ("1687-3".equals(codeString)) + return _16873; + if ("1688-1".equals(codeString)) + return _16881; + if ("1689-9".equals(codeString)) + return _16899; + if ("1690-7".equals(codeString)) + return _16907; + if ("1692-3".equals(codeString)) + return _16923; + if ("1694-9".equals(codeString)) + return _16949; + if ("1696-4".equals(codeString)) + return _16964; + if ("1697-2".equals(codeString)) + return _16972; + if ("1698-0".equals(codeString)) + return _16980; + if ("1700-4".equals(codeString)) + return _17004; + if ("1702-0".equals(codeString)) + return _17020; + if ("1704-6".equals(codeString)) + return _17046; + if ("1705-3".equals(codeString)) + return _17053; + if ("1707-9".equals(codeString)) + return _17079; + if ("1709-5".equals(codeString)) + return _17095; + if ("1711-1".equals(codeString)) + return _17111; + if ("1712-9".equals(codeString)) + return _17129; + if ("1713-7".equals(codeString)) + return _17137; + if ("1715-2".equals(codeString)) + return _17152; + if ("1717-8".equals(codeString)) + return _17178; + if ("1718-6".equals(codeString)) + return _17186; + if ("1719-4".equals(codeString)) + return _17194; + if ("1720-2".equals(codeString)) + return _17202; + if ("1722-8".equals(codeString)) + return _17228; + if ("1724-4".equals(codeString)) + return _17244; + if ("1725-1".equals(codeString)) + return _17251; + if ("1726-9".equals(codeString)) + return _17269; + if ("1727-7".equals(codeString)) + return _17277; + if ("1728-5".equals(codeString)) + return _17285; + if ("1729-3".equals(codeString)) + return _17293; + if ("1730-1".equals(codeString)) + return _17301; + if ("1731-9".equals(codeString)) + return _17319; + if ("1732-7".equals(codeString)) + return _17327; + if ("1733-5".equals(codeString)) + return _17335; + if ("1735-0".equals(codeString)) + return _17350; + if ("1737-6".equals(codeString)) + return _17376; + if ("1739-2".equals(codeString)) + return _17392; + if ("1740-0".equals(codeString)) + return _17400; + if ("1811-9".equals(codeString)) + return _18119; + if ("1813-5".equals(codeString)) + return _18135; + if ("1814-3".equals(codeString)) + return _18143; + if ("1815-0".equals(codeString)) + return _18150; + if ("1816-8".equals(codeString)) + return _18168; + if ("1817-6".equals(codeString)) + return _18176; + if ("1818-4".equals(codeString)) + return _18184; + if ("1819-2".equals(codeString)) + return _18192; + if ("1820-0".equals(codeString)) + return _18200; + if ("1821-8".equals(codeString)) + return _18218; + if ("1822-6".equals(codeString)) + return _18226; + if ("1823-4".equals(codeString)) + return _18234; + if ("1824-2".equals(codeString)) + return _18242; + if ("1825-9".equals(codeString)) + return _18259; + if ("1826-7".equals(codeString)) + return _18267; + if ("1827-5".equals(codeString)) + return _18275; + if ("1828-3".equals(codeString)) + return _18283; + if ("1829-1".equals(codeString)) + return _18291; + if ("1830-9".equals(codeString)) + return _18309; + if ("1831-7".equals(codeString)) + return _18317; + if ("1832-5".equals(codeString)) + return _18325; + if ("1833-3".equals(codeString)) + return _18333; + if ("1834-1".equals(codeString)) + return _18341; + if ("1835-8".equals(codeString)) + return _18358; + if ("1837-4".equals(codeString)) + return _18374; + if ("1838-2".equals(codeString)) + return _18382; + if ("1840-8".equals(codeString)) + return _18408; + if ("1842-4".equals(codeString)) + return _18424; + if ("1844-0".equals(codeString)) + return _18440; + if ("1845-7".equals(codeString)) + return _18457; + if ("1846-5".equals(codeString)) + return _18465; + if ("1847-3".equals(codeString)) + return _18473; + if ("1848-1".equals(codeString)) + return _18481; + if ("1849-9".equals(codeString)) + return _18499; + if ("1850-7".equals(codeString)) + return _18507; + if ("1851-5".equals(codeString)) + return _18515; + if ("1852-3".equals(codeString)) + return _18523; + if ("1853-1".equals(codeString)) + return _18531; + if ("1854-9".equals(codeString)) + return _18549; + if ("1855-6".equals(codeString)) + return _18556; + if ("1856-4".equals(codeString)) + return _18564; + if ("1857-2".equals(codeString)) + return _18572; + if ("1858-0".equals(codeString)) + return _18580; + if ("1859-8".equals(codeString)) + return _18598; + if ("1860-6".equals(codeString)) + return _18606; + if ("1861-4".equals(codeString)) + return _18614; + if ("1862-2".equals(codeString)) + return _18622; + if ("1863-0".equals(codeString)) + return _18630; + if ("1864-8".equals(codeString)) + return _18648; + if ("1865-5".equals(codeString)) + return _18655; + if ("1866-3".equals(codeString)) + return _18663; + if ("1867-1".equals(codeString)) + return _18671; + if ("1868-9".equals(codeString)) + return _18689; + if ("1869-7".equals(codeString)) + return _18697; + if ("1870-5".equals(codeString)) + return _18705; + if ("1871-3".equals(codeString)) + return _18713; + if ("1872-1".equals(codeString)) + return _18721; + if ("1873-9".equals(codeString)) + return _18739; + if ("1874-7".equals(codeString)) + return _18747; + if ("1875-4".equals(codeString)) + return _18754; + if ("1876-2".equals(codeString)) + return _18762; + if ("1877-0".equals(codeString)) + return _18770; + if ("1878-8".equals(codeString)) + return _18788; + if ("1879-6".equals(codeString)) + return _18796; + if ("1880-4".equals(codeString)) + return _18804; + if ("1881-2".equals(codeString)) + return _18812; + if ("1882-0".equals(codeString)) + return _18820; + if ("1883-8".equals(codeString)) + return _18838; + if ("1884-6".equals(codeString)) + return _18846; + if ("1885-3".equals(codeString)) + return _18853; + if ("1886-1".equals(codeString)) + return _18861; + if ("1887-9".equals(codeString)) + return _18879; + if ("1888-7".equals(codeString)) + return _18887; + if ("1889-5".equals(codeString)) + return _18895; + if ("1891-1".equals(codeString)) + return _18911; + if ("1892-9".equals(codeString)) + return _18929; + if ("1893-7".equals(codeString)) + return _18937; + if ("1894-5".equals(codeString)) + return _18945; + if ("1896-0".equals(codeString)) + return _18960; + if ("1897-8".equals(codeString)) + return _18978; + if ("1898-6".equals(codeString)) + return _18986; + if ("1899-4".equals(codeString)) + return _18994; + if ("1900-0".equals(codeString)) + return _19000; + if ("1901-8".equals(codeString)) + return _19018; + if ("1902-6".equals(codeString)) + return _19026; + if ("1903-4".equals(codeString)) + return _19034; + if ("1904-2".equals(codeString)) + return _19042; + if ("1905-9".equals(codeString)) + return _19059; + if ("1906-7".equals(codeString)) + return _19067; + if ("1907-5".equals(codeString)) + return _19075; + if ("1908-3".equals(codeString)) + return _19083; + if ("1909-1".equals(codeString)) + return _19091; + if ("1910-9".equals(codeString)) + return _19109; + if ("1911-7".equals(codeString)) + return _19117; + if ("1912-5".equals(codeString)) + return _19125; + if ("1913-3".equals(codeString)) + return _19133; + if ("1914-1".equals(codeString)) + return _19141; + if ("1915-8".equals(codeString)) + return _19158; + if ("1916-6".equals(codeString)) + return _19166; + if ("1917-4".equals(codeString)) + return _19174; + if ("1918-2".equals(codeString)) + return _19182; + if ("1919-0".equals(codeString)) + return _19190; + if ("1920-8".equals(codeString)) + return _19208; + if ("1921-6".equals(codeString)) + return _19216; + if ("1922-4".equals(codeString)) + return _19224; + if ("1923-2".equals(codeString)) + return _19232; + if ("1924-0".equals(codeString)) + return _19240; + if ("1925-7".equals(codeString)) + return _19257; + if ("1926-5".equals(codeString)) + return _19265; + if ("1927-3".equals(codeString)) + return _19273; + if ("1928-1".equals(codeString)) + return _19281; + if ("1929-9".equals(codeString)) + return _19299; + if ("1930-7".equals(codeString)) + return _19307; + if ("1931-5".equals(codeString)) + return _19315; + if ("1932-3".equals(codeString)) + return _19323; + if ("1933-1".equals(codeString)) + return _19331; + if ("1934-9".equals(codeString)) + return _19349; + if ("1935-6".equals(codeString)) + return _19356; + if ("1936-4".equals(codeString)) + return _19364; + if ("1937-2".equals(codeString)) + return _19372; + if ("1938-0".equals(codeString)) + return _19380; + if ("1939-8".equals(codeString)) + return _19398; + if ("1940-6".equals(codeString)) + return _19406; + if ("1941-4".equals(codeString)) + return _19414; + if ("1942-2".equals(codeString)) + return _19422; + if ("1943-0".equals(codeString)) + return _19430; + if ("1944-8".equals(codeString)) + return _19448; + if ("1945-5".equals(codeString)) + return _19455; + if ("1946-3".equals(codeString)) + return _19463; + if ("1947-1".equals(codeString)) + return _19471; + if ("1948-9".equals(codeString)) + return _19489; + if ("1949-7".equals(codeString)) + return _19497; + if ("1950-5".equals(codeString)) + return _19505; + if ("1951-3".equals(codeString)) + return _19513; + if ("1952-1".equals(codeString)) + return _19521; + if ("1953-9".equals(codeString)) + return _19539; + if ("1954-7".equals(codeString)) + return _19547; + if ("1955-4".equals(codeString)) + return _19554; + if ("1956-2".equals(codeString)) + return _19562; + if ("1957-0".equals(codeString)) + return _19570; + if ("1958-8".equals(codeString)) + return _19588; + if ("1959-6".equals(codeString)) + return _19596; + if ("1960-4".equals(codeString)) + return _19604; + if ("1961-2".equals(codeString)) + return _19612; + if ("1962-0".equals(codeString)) + return _19620; + if ("1963-8".equals(codeString)) + return _19638; + if ("1964-6".equals(codeString)) + return _19646; + if ("1966-1".equals(codeString)) + return _19661; + if ("1968-7".equals(codeString)) + return _19687; + if ("1969-5".equals(codeString)) + return _19695; + if ("1970-3".equals(codeString)) + return _19703; + if ("1972-9".equals(codeString)) + return _19729; + if ("1973-7".equals(codeString)) + return _19737; + if ("1974-5".equals(codeString)) + return _19745; + if ("1975-2".equals(codeString)) + return _19752; + if ("1976-0".equals(codeString)) + return _19760; + if ("1977-8".equals(codeString)) + return _19778; + if ("1978-6".equals(codeString)) + return _19786; + if ("1979-4".equals(codeString)) + return _19794; + if ("1980-2".equals(codeString)) + return _19802; + if ("1981-0".equals(codeString)) + return _19810; + if ("1982-8".equals(codeString)) + return _19828; + if ("1984-4".equals(codeString)) + return _19844; + if ("1985-1".equals(codeString)) + return _19851; + if ("1986-9".equals(codeString)) + return _19869; + if ("1987-7".equals(codeString)) + return _19877; + if ("1988-5".equals(codeString)) + return _19885; + if ("1990-1".equals(codeString)) + return _19901; + if ("1992-7".equals(codeString)) + return _19927; + if ("1993-5".equals(codeString)) + return _19935; + if ("1994-3".equals(codeString)) + return _19943; + if ("1995-0".equals(codeString)) + return _19950; + if ("1996-8".equals(codeString)) + return _19968; + if ("1997-6".equals(codeString)) + return _19976; + if ("1998-4".equals(codeString)) + return _19984; + if ("1999-2".equals(codeString)) + return _19992; + if ("2000-8".equals(codeString)) + return _20008; + if ("2002-4".equals(codeString)) + return _20024; + if ("2004-0".equals(codeString)) + return _20040; + if ("2006-5".equals(codeString)) + return _20065; + if ("2007-3".equals(codeString)) + return _20073; + if ("2008-1".equals(codeString)) + return _20081; + if ("2009-9".equals(codeString)) + return _20099; + if ("2010-7".equals(codeString)) + return _20107; + if ("2011-5".equals(codeString)) + return _20115; + if ("2012-3".equals(codeString)) + return _20123; + if ("2013-1".equals(codeString)) + return _20131; + if ("2014-9".equals(codeString)) + return _20149; + if ("2015-6".equals(codeString)) + return _20156; + if ("2016-4".equals(codeString)) + return _20164; + if ("2017-2".equals(codeString)) + return _20172; + if ("2018-0".equals(codeString)) + return _20180; + if ("2019-8".equals(codeString)) + return _20198; + if ("2020-6".equals(codeString)) + return _20206; + if ("2021-4".equals(codeString)) + return _20214; + if ("2022-2".equals(codeString)) + return _20222; + if ("2023-0".equals(codeString)) + return _20230; + if ("2024-8".equals(codeString)) + return _20248; + if ("2025-5".equals(codeString)) + return _20255; + if ("2026-3".equals(codeString)) + return _20263; + if ("2028-9".equals(codeString)) + return _20289; + if ("2029-7".equals(codeString)) + return _20297; + if ("2030-5".equals(codeString)) + return _20305; + if ("2031-3".equals(codeString)) + return _20313; + if ("2032-1".equals(codeString)) + return _20321; + if ("2033-9".equals(codeString)) + return _20339; + if ("2034-7".equals(codeString)) + return _20347; + if ("2035-4".equals(codeString)) + return _20354; + if ("2036-2".equals(codeString)) + return _20362; + if ("2037-0".equals(codeString)) + return _20370; + if ("2038-8".equals(codeString)) + return _20388; + if ("2039-6".equals(codeString)) + return _20396; + if ("2040-4".equals(codeString)) + return _20404; + if ("2041-2".equals(codeString)) + return _20412; + if ("2042-0".equals(codeString)) + return _20420; + if ("2043-8".equals(codeString)) + return _20438; + if ("2044-6".equals(codeString)) + return _20446; + if ("2045-3".equals(codeString)) + return _20453; + if ("2046-1".equals(codeString)) + return _20461; + if ("2047-9".equals(codeString)) + return _20479; + if ("2048-7".equals(codeString)) + return _20487; + if ("2049-5".equals(codeString)) + return _20495; + if ("2050-3".equals(codeString)) + return _20503; + if ("2051-1".equals(codeString)) + return _20511; + if ("2052-9".equals(codeString)) + return _20529; + if ("2054-5".equals(codeString)) + return _20545; + if ("2056-0".equals(codeString)) + return _20560; + if ("2058-6".equals(codeString)) + return _20586; + if ("2060-2".equals(codeString)) + return _20602; + if ("2061-0".equals(codeString)) + return _20610; + if ("2062-8".equals(codeString)) + return _20628; + if ("2063-6".equals(codeString)) + return _20636; + if ("2064-4".equals(codeString)) + return _20644; + if ("2065-1".equals(codeString)) + return _20651; + if ("2066-9".equals(codeString)) + return _20669; + if ("2067-7".equals(codeString)) + return _20677; + if ("2068-5".equals(codeString)) + return _20685; + if ("2069-3".equals(codeString)) + return _20693; + if ("2070-1".equals(codeString)) + return _20701; + if ("2071-9".equals(codeString)) + return _20719; + if ("2072-7".equals(codeString)) + return _20727; + if ("2073-5".equals(codeString)) + return _20735; + if ("2074-3".equals(codeString)) + return _20743; + if ("2075-0".equals(codeString)) + return _20750; + if ("2076-8".equals(codeString)) + return _20768; + if ("2078-4".equals(codeString)) + return _20784; + if ("2079-2".equals(codeString)) + return _20792; + if ("2080-0".equals(codeString)) + return _20800; + if ("2081-8".equals(codeString)) + return _20818; + if ("2082-6".equals(codeString)) + return _20826; + if ("2083-4".equals(codeString)) + return _20834; + if ("2085-9".equals(codeString)) + return _20859; + if ("2086-7".equals(codeString)) + return _20867; + if ("2087-5".equals(codeString)) + return _20875; + if ("2088-3".equals(codeString)) + return _20883; + if ("2089-1".equals(codeString)) + return _20891; + if ("2090-9".equals(codeString)) + return _20909; + if ("2091-7".equals(codeString)) + return _20917; + if ("2092-5".equals(codeString)) + return _20925; + if ("2093-3".equals(codeString)) + return _20933; + if ("2094-1".equals(codeString)) + return _20941; + if ("2095-8".equals(codeString)) + return _20958; + if ("2096-6".equals(codeString)) + return _20966; + if ("2097-4".equals(codeString)) + return _20974; + if ("2098-2".equals(codeString)) + return _20982; + if ("2100-6".equals(codeString)) + return _21006; + if ("2101-4".equals(codeString)) + return _21014; + if ("2102-2".equals(codeString)) + return _21022; + if ("2103-0".equals(codeString)) + return _21030; + if ("2104-8".equals(codeString)) + return _21048; + if ("2500-7".equals(codeString)) + return _25007; + if ("2106-3".equals(codeString)) + return _21063; + if ("2108-9".equals(codeString)) + return _21089; + if ("2109-7".equals(codeString)) + return _21097; + if ("2110-5".equals(codeString)) + return _21105; + if ("2111-3".equals(codeString)) + return _21113; + if ("2112-1".equals(codeString)) + return _21121; + if ("2113-9".equals(codeString)) + return _21139; + if ("2114-7".equals(codeString)) + return _21147; + if ("2115-4".equals(codeString)) + return _21154; + if ("2116-2".equals(codeString)) + return _21162; + if ("2118-8".equals(codeString)) + return _21188; + if ("2119-6".equals(codeString)) + return _21196; + if ("2120-4".equals(codeString)) + return _21204; + if ("2121-2".equals(codeString)) + return _21212; + if ("2122-0".equals(codeString)) + return _21220; + if ("2123-8".equals(codeString)) + return _21238; + if ("2124-6".equals(codeString)) + return _21246; + if ("2125-3".equals(codeString)) + return _21253; + if ("2126-1".equals(codeString)) + return _21261; + if ("2127-9".equals(codeString)) + return _21279; + if ("2129-5".equals(codeString)) + return _21295; + if ("2131-1".equals(codeString)) + return _21311; + throw new Exception("Unknown V3Race code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _10025: return "1002-5"; + case _10041: return "1004-1"; + case _10066: return "1006-6"; + case _10082: return "1008-2"; + case _10108: return "1010-8"; + case _10116: return "1011-6"; + case _10124: return "1012-4"; + case _10132: return "1013-2"; + case _10140: return "1014-0"; + case _10157: return "1015-7"; + case _10165: return "1016-5"; + case _10173: return "1017-3"; + case _10181: return "1018-1"; + case _10199: return "1019-9"; + case _10215: return "1021-5"; + case _10223: return "1022-3"; + case _10231: return "1023-1"; + case _10249: return "1024-9"; + case _10264: return "1026-4"; + case _10280: return "1028-0"; + case _10306: return "1030-6"; + case _10314: return "1031-4"; + case _10330: return "1033-0"; + case _10355: return "1035-5"; + case _10371: return "1037-1"; + case _10397: return "1039-7"; + case _10413: return "1041-3"; + case _10421: return "1042-1"; + case _10447: return "1044-7"; + case _10454: return "1045-4"; + case _10462: return "1046-2"; + case _10470: return "1047-0"; + case _10488: return "1048-8"; + case _10496: return "1049-6"; + case _10504: return "1050-4"; + case _10512: return "1051-2"; + case _10538: return "1053-8"; + case _10546: return "1054-6"; + case _10553: return "1055-3"; + case _10561: return "1056-1"; + case _10579: return "1057-9"; + case _10587: return "1058-7"; + case _10595: return "1059-5"; + case _10603: return "1060-3"; + case _10611: return "1061-1"; + case _10629: return "1062-9"; + case _10637: return "1063-7"; + case _10645: return "1064-5"; + case _10652: return "1065-2"; + case _10660: return "1066-0"; + case _10686: return "1068-6"; + case _10694: return "1069-4"; + case _10702: return "1070-2"; + case _10710: return "1071-0"; + case _10728: return "1072-8"; + case _10736: return "1073-6"; + case _10744: return "1074-4"; + case _10769: return "1076-9"; + case _17418: return "1741-8"; + case _17426: return "1742-6"; + case _17434: return "1743-4"; + case _17442: return "1744-2"; + case _17459: return "1745-9"; + case _17467: return "1746-7"; + case _17475: return "1747-5"; + case _17483: return "1748-3"; + case _17491: return "1749-1"; + case _17509: return "1750-9"; + case _17517: return "1751-7"; + case _17525: return "1752-5"; + case _17533: return "1753-3"; + case _17541: return "1754-1"; + case _17558: return "1755-8"; + case _17566: return "1756-6"; + case _17574: return "1757-4"; + case _17582: return "1758-2"; + case _17590: return "1759-0"; + case _17608: return "1760-8"; + case _17616: return "1761-6"; + case _17624: return "1762-4"; + case _17632: return "1763-2"; + case _17640: return "1764-0"; + case _17657: return "1765-7"; + case _17665: return "1766-5"; + case _17673: return "1767-3"; + case _17681: return "1768-1"; + case _17699: return "1769-9"; + case _17707: return "1770-7"; + case _17715: return "1771-5"; + case _17723: return "1772-3"; + case _17731: return "1773-1"; + case _17749: return "1774-9"; + case _17756: return "1775-6"; + case _17764: return "1776-4"; + case _17772: return "1777-2"; + case _17780: return "1778-0"; + case _17798: return "1779-8"; + case _17806: return "1780-6"; + case _17814: return "1781-4"; + case _17822: return "1782-2"; + case _17830: return "1783-0"; + case _17848: return "1784-8"; + case _17855: return "1785-5"; + case _17863: return "1786-3"; + case _17871: return "1787-1"; + case _17889: return "1788-9"; + case _17897: return "1789-7"; + case _17905: return "1790-5"; + case _17913: return "1791-3"; + case _17921: return "1792-1"; + case _17939: return "1793-9"; + case _17947: return "1794-7"; + case _17954: return "1795-4"; + case _17962: return "1796-2"; + case _17970: return "1797-0"; + case _17988: return "1798-8"; + case _17996: return "1799-6"; + case _18002: return "1800-2"; + case _18010: return "1801-0"; + case _18028: return "1802-8"; + case _18036: return "1803-6"; + case _18044: return "1804-4"; + case _18051: return "1805-1"; + case _18069: return "1806-9"; + case _18077: return "1807-7"; + case _18085: return "1808-5"; + case _18093: return "1809-3"; + case _10785: return "1078-5"; + case _10801: return "1080-1"; + case _10827: return "1082-7"; + case _10835: return "1083-5"; + case _10843: return "1084-3"; + case _10868: return "1086-8"; + case _10884: return "1088-4"; + case _10892: return "1089-2"; + case _10900: return "1090-0"; + case _10918: return "1091-8"; + case _10926: return "1092-6"; + case _10934: return "1093-4"; + case _10942: return "1094-2"; + case _10959: return "1095-9"; + case _10967: return "1096-7"; + case _10975: return "1097-5"; + case _10983: return "1098-3"; + case _11007: return "1100-7"; + case _11023: return "1102-3"; + case _11031: return "1103-1"; + case _11049: return "1104-9"; + case _11064: return "1106-4"; + case _11080: return "1108-0"; + case _11098: return "1109-8"; + case _11106: return "1110-6"; + case _11122: return "1112-2"; + case _11148: return "1114-8"; + case _11155: return "1115-5"; + case _11163: return "1116-3"; + case _11171: return "1117-1"; + case _11189: return "1118-9"; + case _11197: return "1119-7"; + case _11205: return "1120-5"; + case _11213: return "1121-3"; + case _11239: return "1123-9"; + case _11247: return "1124-7"; + case _11254: return "1125-4"; + case _11262: return "1126-2"; + case _11270: return "1127-0"; + case _11288: return "1128-8"; + case _11296: return "1129-6"; + case _11304: return "1130-4"; + case _11312: return "1131-2"; + case _11320: return "1132-0"; + case _11338: return "1133-8"; + case _11346: return "1134-6"; + case _11353: return "1135-3"; + case _11361: return "1136-1"; + case _11379: return "1137-9"; + case _11387: return "1138-7"; + case _11395: return "1139-5"; + case _11403: return "1140-3"; + case _11411: return "1141-1"; + case _11429: return "1142-9"; + case _11437: return "1143-7"; + case _11445: return "1144-5"; + case _11452: return "1145-2"; + case _11460: return "1146-0"; + case _11478: return "1147-8"; + case _11486: return "1148-6"; + case _11502: return "1150-2"; + case _11510: return "1151-0"; + case _11536: return "1153-6"; + case _11551: return "1155-1"; + case _11569: return "1156-9"; + case _11577: return "1157-7"; + case _11585: return "1158-5"; + case _11593: return "1159-3"; + case _11601: return "1160-1"; + case _11627: return "1162-7"; + case _11635: return "1163-5"; + case _11650: return "1165-0"; + case _11676: return "1167-6"; + case _11692: return "1169-2"; + case _11718: return "1171-8"; + case _11734: return "1173-4"; + case _11759: return "1175-9"; + case _11767: return "1176-7"; + case _11783: return "1178-3"; + case _11809: return "1180-9"; + case _11825: return "1182-5"; + case _11841: return "1184-1"; + case _11866: return "1186-6"; + case _11874: return "1187-4"; + case _11890: return "1189-0"; + case _11916: return "1191-6"; + case _11932: return "1193-2"; + case _11940: return "1194-0"; + case _11957: return "1195-7"; + case _11965: return "1196-5"; + case _11973: return "1197-3"; + case _11981: return "1198-1"; + case _11999: return "1199-9"; + case _12005: return "1200-5"; + case _12013: return "1201-3"; + case _12021: return "1202-1"; + case _12039: return "1203-9"; + case _12047: return "1204-7"; + case _12054: return "1205-4"; + case _12070: return "1207-0"; + case _12096: return "1209-6"; + case _12112: return "1211-2"; + case _12120: return "1212-0"; + case _12146: return "1214-6"; + case _12153: return "1215-3"; + case _12161: return "1216-1"; + case _12179: return "1217-9"; + case _12187: return "1218-7"; + case _12195: return "1219-5"; + case _12203: return "1220-3"; + case _12229: return "1222-9"; + case _12237: return "1223-7"; + case _12245: return "1224-5"; + case _12252: return "1225-2"; + case _12260: return "1226-0"; + case _12278: return "1227-8"; + case _12286: return "1228-6"; + case _12294: return "1229-4"; + case _12302: return "1230-2"; + case _12310: return "1231-0"; + case _12336: return "1233-6"; + case _12344: return "1234-4"; + case _12351: return "1235-1"; + case _12369: return "1236-9"; + case _12377: return "1237-7"; + case _12385: return "1238-5"; + case _12393: return "1239-3"; + case _12401: return "1240-1"; + case _12419: return "1241-9"; + case _12427: return "1242-7"; + case _12435: return "1243-5"; + case _12443: return "1244-3"; + case _12450: return "1245-0"; + case _12468: return "1246-8"; + case _12476: return "1247-6"; + case _12484: return "1248-4"; + case _12500: return "1250-0"; + case _12526: return "1252-6"; + case _12542: return "1254-2"; + case _12567: return "1256-7"; + case _12583: return "1258-3"; + case _12609: return "1260-9"; + case _12625: return "1262-5"; + case _12641: return "1264-1"; + case _12658: return "1265-8"; + case _12674: return "1267-4"; + case _12690: return "1269-0"; + case _12716: return "1271-6"; + case _12724: return "1272-4"; + case _12732: return "1273-2"; + case _12757: return "1275-7"; + case _12773: return "1277-3"; + case _12799: return "1279-9"; + case _12815: return "1281-5"; + case _12823: return "1282-3"; + case _12831: return "1283-1"; + case _12856: return "1285-6"; + case _12864: return "1286-4"; + case _12872: return "1287-2"; + case _12880: return "1288-0"; + case _12898: return "1289-8"; + case _12906: return "1290-6"; + case _12914: return "1291-4"; + case _12922: return "1292-2"; + case _12930: return "1293-0"; + case _12948: return "1294-8"; + case _12955: return "1295-5"; + case _12971: return "1297-1"; + case _12997: return "1299-7"; + case _13011: return "1301-1"; + case _13037: return "1303-7"; + case _13052: return "1305-2"; + case _13060: return "1306-0"; + case _13078: return "1307-8"; + case _13094: return "1309-4"; + case _13102: return "1310-2"; + case _13128: return "1312-8"; + case _13136: return "1313-6"; + case _13144: return "1314-4"; + case _13151: return "1315-1"; + case _13177: return "1317-7"; + case _13193: return "1319-3"; + case _13219: return "1321-9"; + case _13235: return "1323-5"; + case _13250: return "1325-0"; + case _13268: return "1326-8"; + case _13276: return "1327-6"; + case _13284: return "1328-4"; + case _13292: return "1329-2"; + case _13318: return "1331-8"; + case _13326: return "1332-6"; + case _13334: return "1333-4"; + case _13342: return "1334-2"; + case _13359: return "1335-9"; + case _13367: return "1336-7"; + case _13375: return "1337-5"; + case _13383: return "1338-3"; + case _13409: return "1340-9"; + case _13425: return "1342-5"; + case _13441: return "1344-1"; + case _13458: return "1345-8"; + case _13466: return "1346-6"; + case _13482: return "1348-2"; + case _13508: return "1350-8"; + case _13524: return "1352-4"; + case _13540: return "1354-0"; + case _13565: return "1356-5"; + case _13581: return "1358-1"; + case _13599: return "1359-9"; + case _13607: return "1360-7"; + case _13615: return "1361-5"; + case _13631: return "1363-1"; + case _13656: return "1365-6"; + case _13664: return "1366-4"; + case _13680: return "1368-0"; + case _13706: return "1370-6"; + case _13722: return "1372-2"; + case _13748: return "1374-8"; + case _13763: return "1376-3"; + case _13789: return "1378-9"; + case _13805: return "1380-5"; + case _13821: return "1382-1"; + case _13839: return "1383-9"; + case _13847: return "1384-7"; + case _13854: return "1385-4"; + case _13870: return "1387-0"; + case _13896: return "1389-6"; + case _13912: return "1391-2"; + case _13920: return "1392-0"; + case _13938: return "1393-8"; + case _13946: return "1394-6"; + case _13953: return "1395-3"; + case _13961: return "1396-1"; + case _13979: return "1397-9"; + case _13987: return "1398-7"; + case _13995: return "1399-5"; + case _14001: return "1400-1"; + case _14019: return "1401-9"; + case _14035: return "1403-5"; + case _14050: return "1405-0"; + case _14076: return "1407-6"; + case _14092: return "1409-2"; + case _14118: return "1411-8"; + case _14126: return "1412-6"; + case _14134: return "1413-4"; + case _14142: return "1414-2"; + case _14167: return "1416-7"; + case _14175: return "1417-5"; + case _14183: return "1418-3"; + case _14191: return "1419-1"; + case _14209: return "1420-9"; + case _14217: return "1421-7"; + case _14225: return "1422-5"; + case _14233: return "1423-3"; + case _14241: return "1424-1"; + case _14258: return "1425-8"; + case _14266: return "1426-6"; + case _14274: return "1427-4"; + case _14282: return "1428-2"; + case _14290: return "1429-0"; + case _14308: return "1430-8"; + case _14316: return "1431-6"; + case _14324: return "1432-4"; + case _14332: return "1433-2"; + case _14340: return "1434-0"; + case _14357: return "1435-7"; + case _14365: return "1436-5"; + case _14373: return "1437-3"; + case _14399: return "1439-9"; + case _14415: return "1441-5"; + case _14423: return "1442-3"; + case _14431: return "1443-1"; + case _14456: return "1445-6"; + case _14464: return "1446-4"; + case _14480: return "1448-0"; + case _14506: return "1450-6"; + case _14514: return "1451-4"; + case _14530: return "1453-0"; + case _14548: return "1454-8"; + case _14563: return "1456-3"; + case _14571: return "1457-1"; + case _14589: return "1458-9"; + case _14605: return "1460-5"; + case _14621: return "1462-1"; + case _14647: return "1464-7"; + case _14654: return "1465-4"; + case _14662: return "1466-2"; + case _14670: return "1467-0"; + case _14688: return "1468-8"; + case _14696: return "1469-6"; + case _14704: return "1470-4"; + case _14712: return "1471-2"; + case _14720: return "1472-0"; + case _14746: return "1474-6"; + case _14753: return "1475-3"; + case _14761: return "1476-1"; + case _14787: return "1478-7"; + case _14795: return "1479-5"; + case _14803: return "1480-3"; + case _14811: return "1481-1"; + case _14829: return "1482-9"; + case _14837: return "1483-7"; + case _14845: return "1484-5"; + case _14852: return "1485-2"; + case _14878: return "1487-8"; + case _14894: return "1489-4"; + case _14902: return "1490-2"; + case _14910: return "1491-0"; + case _14928: return "1492-8"; + case _14936: return "1493-6"; + case _14944: return "1494-4"; + case _14951: return "1495-1"; + case _14969: return "1496-9"; + case _14977: return "1497-7"; + case _14985: return "1498-5"; + case _14993: return "1499-3"; + case _15008: return "1500-8"; + case _15016: return "1501-6"; + case _15024: return "1502-4"; + case _15032: return "1503-2"; + case _15040: return "1504-0"; + case _15057: return "1505-7"; + case _15065: return "1506-5"; + case _15073: return "1507-3"; + case _15081: return "1508-1"; + case _15099: return "1509-9"; + case _15107: return "1510-7"; + case _15115: return "1511-5"; + case _15123: return "1512-3"; + case _15131: return "1513-1"; + case _15149: return "1514-9"; + case _15156: return "1515-6"; + case _15164: return "1516-4"; + case _15180: return "1518-0"; + case _15198: return "1519-8"; + case _15206: return "1520-6"; + case _15214: return "1521-4"; + case _15222: return "1522-2"; + case _15230: return "1523-0"; + case _15248: return "1524-8"; + case _15255: return "1525-5"; + case _15263: return "1526-3"; + case _15271: return "1527-1"; + case _15289: return "1528-9"; + case _15297: return "1529-7"; + case _15305: return "1530-5"; + case _15313: return "1531-3"; + case _15321: return "1532-1"; + case _15339: return "1533-9"; + case _15347: return "1534-7"; + case _15354: return "1535-4"; + case _15362: return "1536-2"; + case _15370: return "1537-0"; + case _15388: return "1538-8"; + case _15396: return "1539-6"; + case _15412: return "1541-2"; + case _15438: return "1543-8"; + case _15453: return "1545-3"; + case _15479: return "1547-9"; + case _15495: return "1549-5"; + case _15511: return "1551-1"; + case _15529: return "1552-9"; + case _15537: return "1553-7"; + case _15545: return "1554-5"; + case _15560: return "1556-0"; + case _15586: return "1558-6"; + case _15602: return "1560-2"; + case _15628: return "1562-8"; + case _15644: return "1564-4"; + case _15669: return "1566-9"; + case _15677: return "1567-7"; + case _15685: return "1568-5"; + case _15693: return "1569-3"; + case _15701: return "1570-1"; + case _15719: return "1571-9"; + case _15735: return "1573-5"; + case _15743: return "1574-3"; + case _15768: return "1576-8"; + case _15784: return "1578-4"; + case _15792: return "1579-2"; + case _15800: return "1580-0"; + case _15826: return "1582-6"; + case _15842: return "1584-2"; + case _15867: return "1586-7"; + case _15875: return "1587-5"; + case _15883: return "1588-3"; + case _15891: return "1589-1"; + case _15909: return "1590-9"; + case _15917: return "1591-7"; + case _15925: return "1592-5"; + case _15933: return "1593-3"; + case _15941: return "1594-1"; + case _15958: return "1595-8"; + case _15966: return "1596-6"; + case _15974: return "1597-4"; + case _15982: return "1598-2"; + case _15990: return "1599-0"; + case _16006: return "1600-6"; + case _16022: return "1602-2"; + case _16030: return "1603-0"; + case _16048: return "1604-8"; + case _16055: return "1605-5"; + case _16071: return "1607-1"; + case _16097: return "1609-7"; + case _16105: return "1610-5"; + case _16113: return "1611-3"; + case _16121: return "1612-1"; + case _16139: return "1613-9"; + case _16147: return "1614-7"; + case _16154: return "1615-4"; + case _16162: return "1616-2"; + case _16170: return "1617-0"; + case _16188: return "1618-8"; + case _16196: return "1619-6"; + case _16204: return "1620-4"; + case _16212: return "1621-2"; + case _16220: return "1622-0"; + case _16238: return "1623-8"; + case _16246: return "1624-6"; + case _16253: return "1625-3"; + case _16261: return "1626-1"; + case _16279: return "1627-9"; + case _16287: return "1628-7"; + case _16295: return "1629-5"; + case _16303: return "1630-3"; + case _16311: return "1631-1"; + case _16329: return "1632-9"; + case _16337: return "1633-7"; + case _16345: return "1634-5"; + case _16352: return "1635-2"; + case _16360: return "1636-0"; + case _16378: return "1637-8"; + case _16386: return "1638-6"; + case _16394: return "1639-4"; + case _16402: return "1640-2"; + case _16410: return "1641-0"; + case _16436: return "1643-6"; + case _16451: return "1645-1"; + case _16477: return "1647-7"; + case _16493: return "1649-3"; + case _16519: return "1651-9"; + case _16535: return "1653-5"; + case _16543: return "1654-3"; + case _16550: return "1655-0"; + case _16568: return "1656-8"; + case _16576: return "1657-6"; + case _16592: return "1659-2"; + case _16618: return "1661-8"; + case _16634: return "1663-4"; + case _16659: return "1665-9"; + case _16675: return "1667-5"; + case _16683: return "1668-3"; + case _16709: return "1670-9"; + case _16717: return "1671-7"; + case _16725: return "1672-5"; + case _16733: return "1673-3"; + case _16758: return "1675-8"; + case _16774: return "1677-4"; + case _16790: return "1679-0"; + case _16808: return "1680-8"; + case _16816: return "1681-6"; + case _16832: return "1683-2"; + case _16857: return "1685-7"; + case _16873: return "1687-3"; + case _16881: return "1688-1"; + case _16899: return "1689-9"; + case _16907: return "1690-7"; + case _16923: return "1692-3"; + case _16949: return "1694-9"; + case _16964: return "1696-4"; + case _16972: return "1697-2"; + case _16980: return "1698-0"; + case _17004: return "1700-4"; + case _17020: return "1702-0"; + case _17046: return "1704-6"; + case _17053: return "1705-3"; + case _17079: return "1707-9"; + case _17095: return "1709-5"; + case _17111: return "1711-1"; + case _17129: return "1712-9"; + case _17137: return "1713-7"; + case _17152: return "1715-2"; + case _17178: return "1717-8"; + case _17186: return "1718-6"; + case _17194: return "1719-4"; + case _17202: return "1720-2"; + case _17228: return "1722-8"; + case _17244: return "1724-4"; + case _17251: return "1725-1"; + case _17269: return "1726-9"; + case _17277: return "1727-7"; + case _17285: return "1728-5"; + case _17293: return "1729-3"; + case _17301: return "1730-1"; + case _17319: return "1731-9"; + case _17327: return "1732-7"; + case _17335: return "1733-5"; + case _17350: return "1735-0"; + case _17376: return "1737-6"; + case _17392: return "1739-2"; + case _17400: return "1740-0"; + case _18119: return "1811-9"; + case _18135: return "1813-5"; + case _18143: return "1814-3"; + case _18150: return "1815-0"; + case _18168: return "1816-8"; + case _18176: return "1817-6"; + case _18184: return "1818-4"; + case _18192: return "1819-2"; + case _18200: return "1820-0"; + case _18218: return "1821-8"; + case _18226: return "1822-6"; + case _18234: return "1823-4"; + case _18242: return "1824-2"; + case _18259: return "1825-9"; + case _18267: return "1826-7"; + case _18275: return "1827-5"; + case _18283: return "1828-3"; + case _18291: return "1829-1"; + case _18309: return "1830-9"; + case _18317: return "1831-7"; + case _18325: return "1832-5"; + case _18333: return "1833-3"; + case _18341: return "1834-1"; + case _18358: return "1835-8"; + case _18374: return "1837-4"; + case _18382: return "1838-2"; + case _18408: return "1840-8"; + case _18424: return "1842-4"; + case _18440: return "1844-0"; + case _18457: return "1845-7"; + case _18465: return "1846-5"; + case _18473: return "1847-3"; + case _18481: return "1848-1"; + case _18499: return "1849-9"; + case _18507: return "1850-7"; + case _18515: return "1851-5"; + case _18523: return "1852-3"; + case _18531: return "1853-1"; + case _18549: return "1854-9"; + case _18556: return "1855-6"; + case _18564: return "1856-4"; + case _18572: return "1857-2"; + case _18580: return "1858-0"; + case _18598: return "1859-8"; + case _18606: return "1860-6"; + case _18614: return "1861-4"; + case _18622: return "1862-2"; + case _18630: return "1863-0"; + case _18648: return "1864-8"; + case _18655: return "1865-5"; + case _18663: return "1866-3"; + case _18671: return "1867-1"; + case _18689: return "1868-9"; + case _18697: return "1869-7"; + case _18705: return "1870-5"; + case _18713: return "1871-3"; + case _18721: return "1872-1"; + case _18739: return "1873-9"; + case _18747: return "1874-7"; + case _18754: return "1875-4"; + case _18762: return "1876-2"; + case _18770: return "1877-0"; + case _18788: return "1878-8"; + case _18796: return "1879-6"; + case _18804: return "1880-4"; + case _18812: return "1881-2"; + case _18820: return "1882-0"; + case _18838: return "1883-8"; + case _18846: return "1884-6"; + case _18853: return "1885-3"; + case _18861: return "1886-1"; + case _18879: return "1887-9"; + case _18887: return "1888-7"; + case _18895: return "1889-5"; + case _18911: return "1891-1"; + case _18929: return "1892-9"; + case _18937: return "1893-7"; + case _18945: return "1894-5"; + case _18960: return "1896-0"; + case _18978: return "1897-8"; + case _18986: return "1898-6"; + case _18994: return "1899-4"; + case _19000: return "1900-0"; + case _19018: return "1901-8"; + case _19026: return "1902-6"; + case _19034: return "1903-4"; + case _19042: return "1904-2"; + case _19059: return "1905-9"; + case _19067: return "1906-7"; + case _19075: return "1907-5"; + case _19083: return "1908-3"; + case _19091: return "1909-1"; + case _19109: return "1910-9"; + case _19117: return "1911-7"; + case _19125: return "1912-5"; + case _19133: return "1913-3"; + case _19141: return "1914-1"; + case _19158: return "1915-8"; + case _19166: return "1916-6"; + case _19174: return "1917-4"; + case _19182: return "1918-2"; + case _19190: return "1919-0"; + case _19208: return "1920-8"; + case _19216: return "1921-6"; + case _19224: return "1922-4"; + case _19232: return "1923-2"; + case _19240: return "1924-0"; + case _19257: return "1925-7"; + case _19265: return "1926-5"; + case _19273: return "1927-3"; + case _19281: return "1928-1"; + case _19299: return "1929-9"; + case _19307: return "1930-7"; + case _19315: return "1931-5"; + case _19323: return "1932-3"; + case _19331: return "1933-1"; + case _19349: return "1934-9"; + case _19356: return "1935-6"; + case _19364: return "1936-4"; + case _19372: return "1937-2"; + case _19380: return "1938-0"; + case _19398: return "1939-8"; + case _19406: return "1940-6"; + case _19414: return "1941-4"; + case _19422: return "1942-2"; + case _19430: return "1943-0"; + case _19448: return "1944-8"; + case _19455: return "1945-5"; + case _19463: return "1946-3"; + case _19471: return "1947-1"; + case _19489: return "1948-9"; + case _19497: return "1949-7"; + case _19505: return "1950-5"; + case _19513: return "1951-3"; + case _19521: return "1952-1"; + case _19539: return "1953-9"; + case _19547: return "1954-7"; + case _19554: return "1955-4"; + case _19562: return "1956-2"; + case _19570: return "1957-0"; + case _19588: return "1958-8"; + case _19596: return "1959-6"; + case _19604: return "1960-4"; + case _19612: return "1961-2"; + case _19620: return "1962-0"; + case _19638: return "1963-8"; + case _19646: return "1964-6"; + case _19661: return "1966-1"; + case _19687: return "1968-7"; + case _19695: return "1969-5"; + case _19703: return "1970-3"; + case _19729: return "1972-9"; + case _19737: return "1973-7"; + case _19745: return "1974-5"; + case _19752: return "1975-2"; + case _19760: return "1976-0"; + case _19778: return "1977-8"; + case _19786: return "1978-6"; + case _19794: return "1979-4"; + case _19802: return "1980-2"; + case _19810: return "1981-0"; + case _19828: return "1982-8"; + case _19844: return "1984-4"; + case _19851: return "1985-1"; + case _19869: return "1986-9"; + case _19877: return "1987-7"; + case _19885: return "1988-5"; + case _19901: return "1990-1"; + case _19927: return "1992-7"; + case _19935: return "1993-5"; + case _19943: return "1994-3"; + case _19950: return "1995-0"; + case _19968: return "1996-8"; + case _19976: return "1997-6"; + case _19984: return "1998-4"; + case _19992: return "1999-2"; + case _20008: return "2000-8"; + case _20024: return "2002-4"; + case _20040: return "2004-0"; + case _20065: return "2006-5"; + case _20073: return "2007-3"; + case _20081: return "2008-1"; + case _20099: return "2009-9"; + case _20107: return "2010-7"; + case _20115: return "2011-5"; + case _20123: return "2012-3"; + case _20131: return "2013-1"; + case _20149: return "2014-9"; + case _20156: return "2015-6"; + case _20164: return "2016-4"; + case _20172: return "2017-2"; + case _20180: return "2018-0"; + case _20198: return "2019-8"; + case _20206: return "2020-6"; + case _20214: return "2021-4"; + case _20222: return "2022-2"; + case _20230: return "2023-0"; + case _20248: return "2024-8"; + case _20255: return "2025-5"; + case _20263: return "2026-3"; + case _20289: return "2028-9"; + case _20297: return "2029-7"; + case _20305: return "2030-5"; + case _20313: return "2031-3"; + case _20321: return "2032-1"; + case _20339: return "2033-9"; + case _20347: return "2034-7"; + case _20354: return "2035-4"; + case _20362: return "2036-2"; + case _20370: return "2037-0"; + case _20388: return "2038-8"; + case _20396: return "2039-6"; + case _20404: return "2040-4"; + case _20412: return "2041-2"; + case _20420: return "2042-0"; + case _20438: return "2043-8"; + case _20446: return "2044-6"; + case _20453: return "2045-3"; + case _20461: return "2046-1"; + case _20479: return "2047-9"; + case _20487: return "2048-7"; + case _20495: return "2049-5"; + case _20503: return "2050-3"; + case _20511: return "2051-1"; + case _20529: return "2052-9"; + case _20545: return "2054-5"; + case _20560: return "2056-0"; + case _20586: return "2058-6"; + case _20602: return "2060-2"; + case _20610: return "2061-0"; + case _20628: return "2062-8"; + case _20636: return "2063-6"; + case _20644: return "2064-4"; + case _20651: return "2065-1"; + case _20669: return "2066-9"; + case _20677: return "2067-7"; + case _20685: return "2068-5"; + case _20693: return "2069-3"; + case _20701: return "2070-1"; + case _20719: return "2071-9"; + case _20727: return "2072-7"; + case _20735: return "2073-5"; + case _20743: return "2074-3"; + case _20750: return "2075-0"; + case _20768: return "2076-8"; + case _20784: return "2078-4"; + case _20792: return "2079-2"; + case _20800: return "2080-0"; + case _20818: return "2081-8"; + case _20826: return "2082-6"; + case _20834: return "2083-4"; + case _20859: return "2085-9"; + case _20867: return "2086-7"; + case _20875: return "2087-5"; + case _20883: return "2088-3"; + case _20891: return "2089-1"; + case _20909: return "2090-9"; + case _20917: return "2091-7"; + case _20925: return "2092-5"; + case _20933: return "2093-3"; + case _20941: return "2094-1"; + case _20958: return "2095-8"; + case _20966: return "2096-6"; + case _20974: return "2097-4"; + case _20982: return "2098-2"; + case _21006: return "2100-6"; + case _21014: return "2101-4"; + case _21022: return "2102-2"; + case _21030: return "2103-0"; + case _21048: return "2104-8"; + case _25007: return "2500-7"; + case _21063: return "2106-3"; + case _21089: return "2108-9"; + case _21097: return "2109-7"; + case _21105: return "2110-5"; + case _21113: return "2111-3"; + case _21121: return "2112-1"; + case _21139: return "2113-9"; + case _21147: return "2114-7"; + case _21154: return "2115-4"; + case _21162: return "2116-2"; + case _21188: return "2118-8"; + case _21196: return "2119-6"; + case _21204: return "2120-4"; + case _21212: return "2121-2"; + case _21220: return "2122-0"; + case _21238: return "2123-8"; + case _21246: return "2124-6"; + case _21253: return "2125-3"; + case _21261: return "2126-1"; + case _21279: return "2127-9"; + case _21295: return "2129-5"; + case _21311: return "2131-1"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/Race"; + } + public String getDefinition() { + switch (this) { + case _10025: return "American Indian or Alaska Native"; + case _10041: return "American Indian"; + case _10066: return "Abenaki"; + case _10082: return "Algonquian"; + case _10108: return "Apache"; + case _10116: return "Chiricahua"; + case _10124: return "Fort Sill Apache"; + case _10132: return "Jicarilla Apache"; + case _10140: return "Lipan Apache"; + case _10157: return "Mescalero Apache"; + case _10165: return "Oklahoma Apache"; + case _10173: return "Payson Apache"; + case _10181: return "San Carlos Apache"; + case _10199: return "White Mountain Apache"; + case _10215: return "Arapaho"; + case _10223: return "Northern Arapaho"; + case _10231: return "Southern Arapaho"; + case _10249: return "Wind River Arapaho"; + case _10264: return "Arikara"; + case _10280: return "Assiniboine"; + case _10306: return "Assiniboine Sioux"; + case _10314: return "Fort Peck Assiniboine Sioux"; + case _10330: return "Bannock"; + case _10355: return "Blackfeet"; + case _10371: return "Brotherton"; + case _10397: return "Burt Lake Band"; + case _10413: return "Caddo"; + case _10421: return "Oklahoma Cado"; + case _10447: return "Cahuilla"; + case _10454: return "Agua Caliente Cahuilla"; + case _10462: return "Augustine"; + case _10470: return "Cabazon"; + case _10488: return "Los Coyotes"; + case _10496: return "Morongo"; + case _10504: return "Santa Rosa Cahuilla"; + case _10512: return "Torres-Martinez"; + case _10538: return "California Tribes"; + case _10546: return "Cahto"; + case _10553: return "Chimariko"; + case _10561: return "Coast Miwok"; + case _10579: return "Digger"; + case _10587: return "Kawaiisu"; + case _10595: return "Kern River"; + case _10603: return "Mattole"; + case _10611: return "Red Wood"; + case _10629: return "Santa Rosa"; + case _10637: return "Takelma"; + case _10645: return "Wappo"; + case _10652: return "Yana"; + case _10660: return "Yuki"; + case _10686: return "Canadian and Latin American Indian"; + case _10694: return "Canadian Indian"; + case _10702: return "Central American Indian"; + case _10710: return "French American Indian"; + case _10728: return "Mexican American Indian"; + case _10736: return "South American Indian"; + case _10744: return "Spanish American Indian"; + case _10769: return "Catawba"; + case _17418: return "Alatna"; + case _17426: return "Alexander"; + case _17434: return "Allakaket"; + case _17442: return "Alanvik"; + case _17459: return "Anvik"; + case _17467: return "Arctic"; + case _17475: return "Beaver"; + case _17483: return "Birch Creek"; + case _17491: return "Cantwell"; + case _17509: return "Chalkyitsik"; + case _17517: return "Chickaloon"; + case _17525: return "Chistochina"; + case _17533: return "Chitina"; + case _17541: return "Circle"; + case _17558: return "Cook Inlet"; + case _17566: return "Copper Center"; + case _17574: return "Copper River"; + case _17582: return "Dot Lake"; + case _17590: return "Doyon"; + case _17608: return "Eagle"; + case _17616: return "Eklutna"; + case _17624: return "Evansville"; + case _17632: return "Fort Yukon"; + case _17640: return "Gakona"; + case _17657: return "Galena"; + case _17665: return "Grayling"; + case _17673: return "Gulkana"; + case _17681: return "Healy Lake"; + case _17699: return "Holy Cross"; + case _17707: return "Hughes"; + case _17715: return "Huslia"; + case _17723: return "Iliamna"; + case _17731: return "Kaltag"; + case _17749: return "Kluti Kaah"; + case _17756: return "Knik"; + case _17764: return "Koyukuk"; + case _17772: return "Lake Minchumina"; + case _17780: return "Lime"; + case _17798: return "Mcgrath"; + case _17806: return "Manley Hot Springs"; + case _17814: return "Mentasta Lake"; + case _17822: return "Minto"; + case _17830: return "Nenana"; + case _17848: return "Nikolai"; + case _17855: return "Ninilchik"; + case _17863: return "Nondalton"; + case _17871: return "Northway"; + case _17889: return "Nulato"; + case _17897: return "Pedro Bay"; + case _17905: return "Rampart"; + case _17913: return "Ruby"; + case _17921: return "Salamatof"; + case _17939: return "Seldovia"; + case _17947: return "Slana"; + case _17954: return "Shageluk"; + case _17962: return "Stevens"; + case _17970: return "Stony River"; + case _17988: return "Takotna"; + case _17996: return "Tanacross"; + case _18002: return "Tanaina"; + case _18010: return "Tanana"; + case _18028: return "Tanana Chiefs"; + case _18036: return "Tazlina"; + case _18044: return "Telida"; + case _18051: return "Tetlin"; + case _18069: return "Tok"; + case _18077: return "Tyonek"; + case _18085: return "Venetie"; + case _18093: return "Wiseman"; + case _10785: return "Cayuse"; + case _10801: return "Chehalis"; + case _10827: return "Chemakuan"; + case _10835: return "Hoh"; + case _10843: return "Quileute"; + case _10868: return "Chemehuevi"; + case _10884: return "Cherokee"; + case _10892: return "Cherokee Alabama"; + case _10900: return "Cherokees of Northeast Alabama"; + case _10918: return "Cherokees of Southeast Alabama"; + case _10926: return "Eastern Cherokee"; + case _10934: return "Echota Cherokee"; + case _10942: return "Etowah Cherokee"; + case _10959: return "Northern Cherokee"; + case _10967: return "Tuscola"; + case _10975: return "United Keetowah Band of Cherokee"; + case _10983: return "Western Cherokee"; + case _11007: return "Cherokee Shawnee"; + case _11023: return "Cheyenne"; + case _11031: return "Northern Cheyenne"; + case _11049: return "Southern Cheyenne"; + case _11064: return "Cheyenne-Arapaho"; + case _11080: return "Chickahominy"; + case _11098: return "Eastern Chickahominy"; + case _11106: return "Western Chickahominy"; + case _11122: return "Chickasaw"; + case _11148: return "Chinook"; + case _11155: return "Clatsop"; + case _11163: return "Columbia River Chinook"; + case _11171: return "Kathlamet"; + case _11189: return "Upper Chinook"; + case _11197: return "Wakiakum Chinook"; + case _11205: return "Willapa Chinook"; + case _11213: return "Wishram"; + case _11239: return "Chippewa"; + case _11247: return "Bad River"; + case _11254: return "Bay Mills Chippewa"; + case _11262: return "Bois Forte"; + case _11270: return "Burt Lake Chippewa"; + case _11288: return "Fond du Lac"; + case _11296: return "Grand Portage"; + case _11304: return "Grand Traverse Band of Ottawa-Chippewa"; + case _11312: return "Keweenaw"; + case _11320: return "Lac Courte Oreilles"; + case _11338: return "Lac du Flambeau"; + case _11346: return "Lac Vieux Desert Chippewa"; + case _11353: return "Lake Superior"; + case _11361: return "Leech Lake"; + case _11379: return "Little Shell Chippewa"; + case _11387: return "Mille Lacs"; + case _11395: return "Minnesota Chippewa"; + case _11403: return "Ontonagon"; + case _11411: return "Red Cliff Chippewa"; + case _11429: return "Red Lake Chippewa"; + case _11437: return "Saginaw Chippewa"; + case _11445: return "St. Croix Chippewa"; + case _11452: return "Sault Ste. Marie Chippewa"; + case _11460: return "Sokoagon Chippewa"; + case _11478: return "Turtle Mountain"; + case _11486: return "White Earth"; + case _11502: return "Chippewa Cree"; + case _11510: return "Rocky Boy's Chippewa Cree"; + case _11536: return "Chitimacha"; + case _11551: return "Choctaw"; + case _11569: return "Clifton Choctaw"; + case _11577: return "Jena Choctaw"; + case _11585: return "Mississippi Choctaw"; + case _11593: return "Mowa Band of Choctaw"; + case _11601: return "Oklahoma Choctaw"; + case _11627: return "Chumash"; + case _11635: return "Santa Ynez"; + case _11650: return "Clear Lake"; + case _11676: return "Coeur D'Alene"; + case _11692: return "Coharie"; + case _11718: return "Colorado River"; + case _11734: return "Colville"; + case _11759: return "Comanche"; + case _11767: return "Oklahoma Comanche"; + case _11783: return "Coos, Lower Umpqua, Siuslaw"; + case _11809: return "Coos"; + case _11825: return "Coquilles"; + case _11841: return "Costanoan"; + case _11866: return "Coushatta"; + case _11874: return "Alabama Coushatta"; + case _11890: return "Cowlitz"; + case _11916: return "Cree"; + case _11932: return "Creek"; + case _11940: return "Alabama Creek"; + case _11957: return "Alabama Quassarte"; + case _11965: return "Eastern Creek"; + case _11973: return "Eastern Muscogee"; + case _11981: return "Kialegee"; + case _11999: return "Lower Muscogee"; + case _12005: return "Machis Lower Creek Indian"; + case _12013: return "Poarch Band"; + case _12021: return "Principal Creek Indian Nation"; + case _12039: return "Star Clan of Muscogee Creeks"; + case _12047: return "Thlopthlocco"; + case _12054: return "Tuckabachee"; + case _12070: return "Croatan"; + case _12096: return "Crow"; + case _12112: return "Cupeno"; + case _12120: return "Agua Caliente"; + case _12146: return "Delaware"; + case _12153: return "Eastern Delaware"; + case _12161: return "Lenni-Lenape"; + case _12179: return "Munsee"; + case _12187: return "Oklahoma Delaware"; + case _12195: return "Rampough Mountain"; + case _12203: return "Sand Hill"; + case _12229: return "Diegueno"; + case _12237: return "Campo"; + case _12245: return "Capitan Grande"; + case _12252: return "Cuyapaipe"; + case _12260: return "La Posta"; + case _12278: return "Manzanita"; + case _12286: return "Mesa Grande"; + case _12294: return "San Pasqual"; + case _12302: return "Santa Ysabel"; + case _12310: return "Sycuan"; + case _12336: return "Eastern Tribes"; + case _12344: return "Attacapa"; + case _12351: return "Biloxi"; + case _12369: return "Georgetown"; + case _12377: return "Moor"; + case _12385: return "Nansemond"; + case _12393: return "Natchez"; + case _12401: return "Nausu Waiwash"; + case _12419: return "Nipmuc"; + case _12427: return "Paugussett"; + case _12435: return "Pocomoke Acohonock"; + case _12443: return "Southeastern Indians"; + case _12450: return "Susquehanock"; + case _12468: return "Tunica Biloxi"; + case _12476: return "Waccamaw-Siousan"; + case _12484: return "Wicomico"; + case _12500: return "Esselen"; + case _12526: return "Fort Belknap"; + case _12542: return "Fort Berthold"; + case _12567: return "Fort Mcdowell"; + case _12583: return "Fort Hall"; + case _12609: return "Gabrieleno"; + case _12625: return "Grand Ronde"; + case _12641: return "Gros Ventres"; + case _12658: return "Atsina"; + case _12674: return "Haliwa"; + case _12690: return "Hidatsa"; + case _12716: return "Hoopa"; + case _12724: return "Trinity"; + case _12732: return "Whilkut"; + case _12757: return "Hoopa Extension"; + case _12773: return "Houma"; + case _12799: return "Inaja-Cosmit"; + case _12815: return "Iowa"; + case _12823: return "Iowa of Kansas-Nebraska"; + case _12831: return "Iowa of Oklahoma"; + case _12856: return "Iroquois"; + case _12864: return "Cayuga"; + case _12872: return "Mohawk"; + case _12880: return "Oneida"; + case _12898: return "Onondaga"; + case _12906: return "Seneca"; + case _12914: return "Seneca Nation"; + case _12922: return "Seneca-Cayuga"; + case _12930: return "Tonawanda Seneca"; + case _12948: return "Tuscarora"; + case _12955: return "Wyandotte"; + case _12971: return "Juaneno"; + case _12997: return "Kalispel"; + case _13011: return "Karuk"; + case _13037: return "Kaw"; + case _13052: return "Kickapoo"; + case _13060: return "Oklahoma Kickapoo"; + case _13078: return "Texas Kickapoo"; + case _13094: return "Kiowa"; + case _13102: return "Oklahoma Kiowa"; + case _13128: return "Klallam"; + case _13136: return "Jamestown"; + case _13144: return "Lower Elwha"; + case _13151: return "Port Gamble Klallam"; + case _13177: return "Klamath"; + case _13193: return "Konkow"; + case _13219: return "Kootenai"; + case _13235: return "Lassik"; + case _13250: return "Long Island"; + case _13268: return "Matinecock"; + case _13276: return "Montauk"; + case _13284: return "Poospatuck"; + case _13292: return "Setauket"; + case _13318: return "Luiseno"; + case _13326: return "La Jolla"; + case _13334: return "Pala"; + case _13342: return "Pauma"; + case _13359: return "Pechanga"; + case _13367: return "Soboba"; + case _13375: return "Twenty-Nine Palms"; + case _13383: return "Temecula"; + case _13409: return "Lumbee"; + case _13425: return "Lummi"; + case _13441: return "Maidu"; + case _13458: return "Mountain Maidu"; + case _13466: return "Nishinam"; + case _13482: return "Makah"; + case _13508: return "Maliseet"; + case _13524: return "Mandan"; + case _13540: return "Mattaponi"; + case _13565: return "Menominee"; + case _13581: return "Miami"; + case _13599: return "Illinois Miami"; + case _13607: return "Indiana Miami"; + case _13615: return "Oklahoma Miami"; + case _13631: return "Miccosukee"; + case _13656: return "Micmac"; + case _13664: return "Aroostook"; + case _13680: return "Mission Indians"; + case _13706: return "Miwok"; + case _13722: return "Modoc"; + case _13748: return "Mohegan"; + case _13763: return "Mono"; + case _13789: return "Nanticoke"; + case _13805: return "Narragansett"; + case _13821: return "Navajo"; + case _13839: return "Alamo Navajo"; + case _13847: return "Canoncito Navajo"; + case _13854: return "Ramah Navajo"; + case _13870: return "Nez Perce"; + case _13896: return "Nomalaki"; + case _13912: return "Northwest Tribes"; + case _13920: return "Alsea"; + case _13938: return "Celilo"; + case _13946: return "Columbia"; + case _13953: return "Kalapuya"; + case _13961: return "Molala"; + case _13979: return "Talakamish"; + case _13987: return "Tenino"; + case _13995: return "Tillamook"; + case _14001: return "Wenatchee"; + case _14019: return "Yahooskin"; + case _14035: return "Omaha"; + case _14050: return "Oregon Athabaskan"; + case _14076: return "Osage"; + case _14092: return "Otoe-Missouria"; + case _14118: return "Ottawa"; + case _14126: return "Burt Lake Ottawa"; + case _14134: return "Michigan Ottawa"; + case _14142: return "Oklahoma Ottawa"; + case _14167: return "Paiute"; + case _14175: return "Bishop"; + case _14183: return "Bridgeport"; + case _14191: return "Burns Paiute"; + case _14209: return "Cedarville"; + case _14217: return "Fort Bidwell"; + case _14225: return "Fort Independence"; + case _14233: return "Kaibab"; + case _14241: return "Las Vegas"; + case _14258: return "Lone Pine"; + case _14266: return "Lovelock"; + case _14274: return "Malheur Paiute"; + case _14282: return "Moapa"; + case _14290: return "Northern Paiute"; + case _14308: return "Owens Valley"; + case _14316: return "Pyramid Lake"; + case _14324: return "San Juan Southern Paiute"; + case _14332: return "Southern Paiute"; + case _14340: return "Summit Lake"; + case _14357: return "Utu Utu Gwaitu Paiute"; + case _14365: return "Walker River"; + case _14373: return "Yerington Paiute"; + case _14399: return "Pamunkey"; + case _14415: return "Passamaquoddy"; + case _14423: return "Indian Township"; + case _14431: return "Pleasant Point Passamaquoddy"; + case _14456: return "Pawnee"; + case _14464: return "Oklahoma Pawnee"; + case _14480: return "Penobscot"; + case _14506: return "Peoria"; + case _14514: return "Oklahoma Peoria"; + case _14530: return "Pequot"; + case _14548: return "Marshantucket Pequot"; + case _14563: return "Pima"; + case _14571: return "Gila River Pima-Maricopa"; + case _14589: return "Salt River Pima-Maricopa"; + case _14605: return "Piscataway"; + case _14621: return "Pit River"; + case _14647: return "Pomo"; + case _14654: return "Central Pomo"; + case _14662: return "Dry Creek"; + case _14670: return "Eastern Pomo"; + case _14688: return "Kashia"; + case _14696: return "Northern Pomo"; + case _14704: return "Scotts Valley"; + case _14712: return "Stonyford"; + case _14720: return "Sulphur Bank"; + case _14746: return "Ponca"; + case _14753: return "Nebraska Ponca"; + case _14761: return "Oklahoma Ponca"; + case _14787: return "Potawatomi"; + case _14795: return "Citizen Band Potawatomi"; + case _14803: return "Forest County"; + case _14811: return "Hannahville"; + case _14829: return "Huron Potawatomi"; + case _14837: return "Pokagon Potawatomi"; + case _14845: return "Prairie Band"; + case _14852: return "Wisconsin Potawatomi"; + case _14878: return "Powhatan"; + case _14894: return "Pueblo"; + case _14902: return "Acoma"; + case _14910: return "Arizona Tewa"; + case _14928: return "Cochiti"; + case _14936: return "Hopi"; + case _14944: return "Isleta"; + case _14951: return "Jemez"; + case _14969: return "Keres"; + case _14977: return "Laguna"; + case _14985: return "Nambe"; + case _14993: return "Picuris"; + case _15008: return "Piro"; + case _15016: return "Pojoaque"; + case _15024: return "San Felipe"; + case _15032: return "San Ildefonso"; + case _15040: return "San Juan Pueblo"; + case _15057: return "San Juan De"; + case _15065: return "San Juan"; + case _15073: return "Sandia"; + case _15081: return "Santa Ana"; + case _15099: return "Santa Clara"; + case _15107: return "Santo Domingo"; + case _15115: return "Taos"; + case _15123: return "Tesuque"; + case _15131: return "Tewa"; + case _15149: return "Tigua"; + case _15156: return "Zia"; + case _15164: return "Zuni"; + case _15180: return "Puget Sound Salish"; + case _15198: return "Duwamish"; + case _15206: return "Kikiallus"; + case _15214: return "Lower Skagit"; + case _15222: return "Muckleshoot"; + case _15230: return "Nisqually"; + case _15248: return "Nooksack"; + case _15255: return "Port Madison"; + case _15263: return "Puyallup"; + case _15271: return "Samish"; + case _15289: return "Sauk-Suiattle"; + case _15297: return "Skokomish"; + case _15305: return "Skykomish"; + case _15313: return "Snohomish"; + case _15321: return "Snoqualmie"; + case _15339: return "Squaxin Island"; + case _15347: return "Steilacoom"; + case _15354: return "Stillaguamish"; + case _15362: return "Suquamish"; + case _15370: return "Swinomish"; + case _15388: return "Tulalip"; + case _15396: return "Upper Skagit"; + case _15412: return "Quapaw"; + case _15438: return "Quinault"; + case _15453: return "Rappahannock"; + case _15479: return "Reno-Sparks"; + case _15495: return "Round Valley"; + case _15511: return "Sac and Fox"; + case _15529: return "Iowa Sac and Fox"; + case _15537: return "Missouri Sac and Fox"; + case _15545: return "Oklahoma Sac and Fox"; + case _15560: return "Salinan"; + case _15586: return "Salish"; + case _15602: return "Salish and Kootenai"; + case _15628: return "Schaghticoke"; + case _15644: return "Scott Valley"; + case _15669: return "Seminole"; + case _15677: return "Big Cypress"; + case _15685: return "Brighton"; + case _15693: return "Florida Seminole"; + case _15701: return "Hollywood Seminole"; + case _15719: return "Oklahoma Seminole"; + case _15735: return "Serrano"; + case _15743: return "San Manual"; + case _15768: return "Shasta"; + case _15784: return "Shawnee"; + case _15792: return "Absentee Shawnee"; + case _15800: return "Eastern Shawnee"; + case _15826: return "Shinnecock"; + case _15842: return "Shoalwater Bay"; + case _15867: return "Shoshone"; + case _15875: return "Battle Mountain"; + case _15883: return "Duckwater"; + case _15891: return "Elko"; + case _15909: return "Ely"; + case _15917: return "Goshute"; + case _15925: return "Panamint"; + case _15933: return "Ruby Valley"; + case _15941: return "Skull Valley"; + case _15958: return "South Fork Shoshone"; + case _15966: return "Te-Moak Western Shoshone"; + case _15974: return "Timbi-Sha Shoshone"; + case _15982: return "Washakie"; + case _15990: return "Wind River Shoshone"; + case _16006: return "Yomba"; + case _16022: return "Shoshone Paiute"; + case _16030: return "Duck Valley"; + case _16048: return "Fallon"; + case _16055: return "Fort McDermitt"; + case _16071: return "Siletz"; + case _16097: return "Sioux"; + case _16105: return "Blackfoot Sioux"; + case _16113: return "Brule Sioux"; + case _16121: return "Cheyenne River Sioux"; + case _16139: return "Crow Creek Sioux"; + case _16147: return "Dakota Sioux"; + case _16154: return "Flandreau Santee"; + case _16162: return "Fort Peck"; + case _16170: return "Lake Traverse Sioux"; + case _16188: return "Lower Brule Sioux"; + case _16196: return "Lower Sioux"; + case _16204: return "Mdewakanton Sioux"; + case _16212: return "Miniconjou"; + case _16220: return "Oglala Sioux"; + case _16238: return "Pine Ridge Sioux"; + case _16246: return "Pipestone Sioux"; + case _16253: return "Prairie Island Sioux"; + case _16261: return "Prior Lake Sioux"; + case _16279: return "Rosebud Sioux"; + case _16287: return "Sans Arc Sioux"; + case _16295: return "Santee Sioux"; + case _16303: return "Sisseton-Wahpeton"; + case _16311: return "Sisseton Sioux"; + case _16329: return "Spirit Lake Sioux"; + case _16337: return "Standing Rock Sioux"; + case _16345: return "Teton Sioux"; + case _16352: return "Two Kettle Sioux"; + case _16360: return "Upper Sioux"; + case _16378: return "Wahpekute Sioux"; + case _16386: return "Wahpeton Sioux"; + case _16394: return "Wazhaza Sioux"; + case _16402: return "Yankton Sioux"; + case _16410: return "Yanktonai Sioux"; + case _16436: return "Siuslaw"; + case _16451: return "Spokane"; + case _16477: return "Stewart"; + case _16493: return "Stockbridge"; + case _16519: return "Susanville"; + case _16535: return "Tohono O'Odham"; + case _16543: return "Ak-Chin"; + case _16550: return "Gila Bend"; + case _16568: return "San Xavier"; + case _16576: return "Sells"; + case _16592: return "Tolowa"; + case _16618: return "Tonkawa"; + case _16634: return "Tygh"; + case _16659: return "Umatilla"; + case _16675: return "Umpqua"; + case _16683: return "Cow Creek Umpqua"; + case _16709: return "Ute"; + case _16717: return "Allen Canyon"; + case _16725: return "Uintah Ute"; + case _16733: return "Ute Mountain Ute"; + case _16758: return "Wailaki"; + case _16774: return "Walla-Walla"; + case _16790: return "Wampanoag"; + case _16808: return "Gay Head Wampanoag"; + case _16816: return "Mashpee Wampanoag"; + case _16832: return "Warm Springs"; + case _16857: return "Wascopum"; + case _16873: return "Washoe"; + case _16881: return "Alpine"; + case _16899: return "Carson"; + case _16907: return "Dresslerville"; + case _16923: return "Wichita"; + case _16949: return "Wind River"; + case _16964: return "Winnebago"; + case _16972: return "Ho-chunk"; + case _16980: return "Nebraska Winnebago"; + case _17004: return "Winnemucca"; + case _17020: return "Wintun"; + case _17046: return "Wiyot"; + case _17053: return "Table Bluff"; + case _17079: return "Yakama"; + case _17095: return "Yakama Cowlitz"; + case _17111: return "Yaqui"; + case _17129: return "Barrio Libre"; + case _17137: return "Pascua Yaqui"; + case _17152: return "Yavapai Apache"; + case _17178: return "Yokuts"; + case _17186: return "Chukchansi"; + case _17194: return "Tachi"; + case _17202: return "Tule River"; + case _17228: return "Yuchi"; + case _17244: return "Yuman"; + case _17251: return "Cocopah"; + case _17269: return "Havasupai"; + case _17277: return "Hualapai"; + case _17285: return "Maricopa"; + case _17293: return "Mohave"; + case _17301: return "Quechan"; + case _17319: return "Yavapai"; + case _17327: return "Yurok"; + case _17335: return "Coast Yurok"; + case _17350: return "Alaska Native"; + case _17376: return "Alaska Indian"; + case _17392: return "Alaskan Athabascan"; + case _17400: return "Ahtna"; + case _18119: return "Southeast Alaska"; + case _18135: return "Tlingit-Haida"; + case _18143: return "Angoon"; + case _18150: return "Central Council of Tlingit and Haida Tribes"; + case _18168: return "Chilkat"; + case _18176: return "Chilkoot"; + case _18184: return "Craig"; + case _18192: return "Douglas"; + case _18200: return "Haida"; + case _18218: return "Hoonah"; + case _18226: return "Hydaburg"; + case _18234: return "Kake"; + case _18242: return "Kasaan"; + case _18259: return "Kenaitze"; + case _18267: return "Ketchikan"; + case _18275: return "Klawock"; + case _18283: return "Pelican"; + case _18291: return "Petersburg"; + case _18309: return "Saxman"; + case _18317: return "Sitka"; + case _18325: return "Tenakee Springs"; + case _18333: return "Tlingit"; + case _18341: return "Wrangell"; + case _18358: return "Yakutat"; + case _18374: return "Tsimshian"; + case _18382: return "Metlakatla"; + case _18408: return "Eskimo"; + case _18424: return "Greenland Eskimo"; + case _18440: return "Inupiat Eskimo"; + case _18457: return "Ambler"; + case _18465: return "Anaktuvuk"; + case _18473: return "Anaktuvuk Pass"; + case _18481: return "Arctic Slope Inupiat"; + case _18499: return "Arctic Slope Corporation"; + case _18507: return "Atqasuk"; + case _18515: return "Barrow"; + case _18523: return "Bering Straits Inupiat"; + case _18531: return "Brevig Mission"; + case _18549: return "Buckland"; + case _18556: return "Chinik"; + case _18564: return "Council"; + case _18572: return "Deering"; + case _18580: return "Elim"; + case _18598: return "Golovin"; + case _18606: return "Inalik Diomede"; + case _18614: return "Inupiaq"; + case _18622: return "Kaktovik"; + case _18630: return "Kawerak"; + case _18648: return "Kiana"; + case _18655: return "Kivalina"; + case _18663: return "Kobuk"; + case _18671: return "Kotzebue"; + case _18689: return "Koyuk"; + case _18697: return "Kwiguk"; + case _18705: return "Mauneluk Inupiat"; + case _18713: return "Nana Inupiat"; + case _18721: return "Noatak"; + case _18739: return "Nome"; + case _18747: return "Noorvik"; + case _18754: return "Nuiqsut"; + case _18762: return "Point Hope"; + case _18770: return "Point Lay"; + case _18788: return "Selawik"; + case _18796: return "Shaktoolik"; + case _18804: return "Shishmaref"; + case _18812: return "Shungnak"; + case _18820: return "Solomon"; + case _18838: return "Teller"; + case _18846: return "Unalakleet"; + case _18853: return "Wainwright"; + case _18861: return "Wales"; + case _18879: return "White Mountain"; + case _18887: return "White Mountain Inupiat"; + case _18895: return "Mary's Igloo"; + case _18911: return "Siberian Eskimo"; + case _18929: return "Gambell"; + case _18937: return "Savoonga"; + case _18945: return "Siberian Yupik"; + case _18960: return "Yupik Eskimo"; + case _18978: return "Akiachak"; + case _18986: return "Akiak"; + case _18994: return "Alakanuk"; + case _19000: return "Aleknagik"; + case _19018: return "Andreafsky"; + case _19026: return "Aniak"; + case _19034: return "Atmautluak"; + case _19042: return "Bethel"; + case _19059: return "Bill Moore's Slough"; + case _19067: return "Bristol Bay Yupik"; + case _19075: return "Calista Yupik"; + case _19083: return "Chefornak"; + case _19091: return "Chevak"; + case _19109: return "Chuathbaluk"; + case _19117: return "Clark's Point"; + case _19125: return "Crooked Creek"; + case _19133: return "Dillingham"; + case _19141: return "Eek"; + case _19158: return "Ekuk"; + case _19166: return "Ekwok"; + case _19174: return "Emmonak"; + case _19182: return "Goodnews Bay"; + case _19190: return "Hooper Bay"; + case _19208: return "Iqurmuit (Russian Mission)"; + case _19216: return "Kalskag"; + case _19224: return "Kasigluk"; + case _19232: return "Kipnuk"; + case _19240: return "Koliganek"; + case _19257: return "Kongiganak"; + case _19265: return "Kotlik"; + case _19273: return "Kwethluk"; + case _19281: return "Kwigillingok"; + case _19299: return "Levelock"; + case _19307: return "Lower Kalskag"; + case _19315: return "Manokotak"; + case _19323: return "Marshall"; + case _19331: return "Mekoryuk"; + case _19349: return "Mountain Village"; + case _19356: return "Naknek"; + case _19364: return "Napaumute"; + case _19372: return "Napakiak"; + case _19380: return "Napaskiak"; + case _19398: return "Newhalen"; + case _19406: return "New Stuyahok"; + case _19414: return "Newtok"; + case _19422: return "Nightmute"; + case _19430: return "Nunapitchukv"; + case _19448: return "Oscarville"; + case _19455: return "Pilot Station"; + case _19463: return "Pitkas Point"; + case _19471: return "Platinum"; + case _19489: return "Portage Creek"; + case _19497: return "Quinhagak"; + case _19505: return "Red Devil"; + case _19513: return "St. Michael"; + case _19521: return "Scammon Bay"; + case _19539: return "Sheldon's Point"; + case _19547: return "Sleetmute"; + case _19554: return "Stebbins"; + case _19562: return "Togiak"; + case _19570: return "Toksook"; + case _19588: return "Tulukskak"; + case _19596: return "Tuntutuliak"; + case _19604: return "Tununak"; + case _19612: return "Twin Hills"; + case _19620: return "Georgetown"; + case _19638: return "St. Mary's"; + case _19646: return "Umkumiate"; + case _19661: return "Aleut"; + case _19687: return "Alutiiq Aleut"; + case _19695: return "Tatitlek"; + case _19703: return "Ugashik"; + case _19729: return "Bristol Bay Aleut"; + case _19737: return "Chignik"; + case _19745: return "Chignik Lake"; + case _19752: return "Egegik"; + case _19760: return "Igiugig"; + case _19778: return "Ivanof Bay"; + case _19786: return "King Salmon"; + case _19794: return "Kokhanok"; + case _19802: return "Perryville"; + case _19810: return "Pilot Point"; + case _19828: return "Port Heiden"; + case _19844: return "Chugach Aleut"; + case _19851: return "Chenega"; + case _19869: return "Chugach Corporation"; + case _19877: return "English Bay"; + case _19885: return "Port Graham"; + case _19901: return "Eyak"; + case _19927: return "Koniag Aleut"; + case _19935: return "Akhiok"; + case _19943: return "Agdaagux"; + case _19950: return "Karluk"; + case _19968: return "Kodiak"; + case _19976: return "Larsen Bay"; + case _19984: return "Old Harbor"; + case _19992: return "Ouzinkie"; + case _20008: return "Port Lions"; + case _20024: return "Sugpiaq"; + case _20040: return "Suqpigaq"; + case _20065: return "Unangan Aleut"; + case _20073: return "Akutan"; + case _20081: return "Aleut Corporation"; + case _20099: return "Aleutian"; + case _20107: return "Aleutian Islander"; + case _20115: return "Atka"; + case _20123: return "Belkofski"; + case _20131: return "Chignik Lagoon"; + case _20149: return "King Cove"; + case _20156: return "False Pass"; + case _20164: return "Nelson Lagoon"; + case _20172: return "Nikolski"; + case _20180: return "Pauloff Harbor"; + case _20198: return "Qagan Toyagungin"; + case _20206: return "Qawalangin"; + case _20214: return "St. George"; + case _20222: return "St. Paul"; + case _20230: return "Sand Point"; + case _20248: return "South Naknek"; + case _20255: return "Unalaska"; + case _20263: return "Unga"; + case _20289: return "Asian"; + case _20297: return "Asian Indian"; + case _20305: return "Bangladeshi"; + case _20313: return "Bhutanese"; + case _20321: return "Burmese"; + case _20339: return "Cambodian"; + case _20347: return "Chinese"; + case _20354: return "Taiwanese"; + case _20362: return "Filipino"; + case _20370: return "Hmong"; + case _20388: return "Indonesian"; + case _20396: return "Japanese"; + case _20404: return "Korean"; + case _20412: return "Laotian"; + case _20420: return "Malaysian"; + case _20438: return "Okinawan"; + case _20446: return "Pakistani"; + case _20453: return "Sri Lankan"; + case _20461: return "Thai"; + case _20479: return "Vietnamese"; + case _20487: return "Iwo Jiman"; + case _20495: return "Maldivian"; + case _20503: return "Nepalese"; + case _20511: return "Singaporean"; + case _20529: return "Madagascar"; + case _20545: return "Black or African American"; + case _20560: return "Black"; + case _20586: return "African American"; + case _20602: return "African"; + case _20610: return "Botswanan"; + case _20628: return "Ethiopian"; + case _20636: return "Liberian"; + case _20644: return "Namibian"; + case _20651: return "Nigerian"; + case _20669: return "Zairean"; + case _20677: return "Bahamian"; + case _20685: return "Barbadian"; + case _20693: return "Dominican"; + case _20701: return "Dominica Islander"; + case _20719: return "Haitian"; + case _20727: return "Jamaican"; + case _20735: return "Tobagoan"; + case _20743: return "Trinidadian"; + case _20750: return "West Indian"; + case _20768: return "Native Hawaiian or Other Pacific Islander"; + case _20784: return "Polynesian"; + case _20792: return "Native Hawaiian"; + case _20800: return "Samoan"; + case _20818: return "Tahitian"; + case _20826: return "Tongan"; + case _20834: return "Tokelauan"; + case _20859: return "Micronesian"; + case _20867: return "Guamanian or Chamorro"; + case _20875: return "Guamanian"; + case _20883: return "Chamorro"; + case _20891: return "Mariana Islander"; + case _20909: return "Marshallese"; + case _20917: return "Palauan"; + case _20925: return "Carolinian"; + case _20933: return "Kosraean"; + case _20941: return "Pohnpeian"; + case _20958: return "Saipanese"; + case _20966: return "Kiribati"; + case _20974: return "Chuukese"; + case _20982: return "Yapese"; + case _21006: return "Melanesian"; + case _21014: return "Fijian"; + case _21022: return "Papua New Guinean"; + case _21030: return "Solomon Islander"; + case _21048: return "New Hebrides"; + case _25007: return "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated."; + case _21063: return "White"; + case _21089: return "European"; + case _21097: return "Armenian"; + case _21105: return "English"; + case _21113: return "French"; + case _21121: return "German"; + case _21139: return "Irish"; + case _21147: return "Italian"; + case _21154: return "Polish"; + case _21162: return "Scottish"; + case _21188: return "Middle Eastern or North African"; + case _21196: return "Assyrian"; + case _21204: return "Egyptian"; + case _21212: return "Iranian"; + case _21220: return "Iraqi"; + case _21238: return "Lebanese"; + case _21246: return "Palestinian"; + case _21253: return "Syrian"; + case _21261: return "Afghanistani"; + case _21279: return "Israeili"; + case _21295: return "Arab"; + case _21311: return "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _10025: return "American Indian or Alaska Native"; + case _10041: return "American Indian"; + case _10066: return "Abenaki"; + case _10082: return "Algonquian"; + case _10108: return "Apache"; + case _10116: return "Chiricahua"; + case _10124: return "Fort Sill Apache"; + case _10132: return "Jicarilla Apache"; + case _10140: return "Lipan Apache"; + case _10157: return "Mescalero Apache"; + case _10165: return "Oklahoma Apache"; + case _10173: return "Payson Apache"; + case _10181: return "San Carlos Apache"; + case _10199: return "White Mountain Apache"; + case _10215: return "Arapaho"; + case _10223: return "Northern Arapaho"; + case _10231: return "Southern Arapaho"; + case _10249: return "Wind River Arapaho"; + case _10264: return "Arikara"; + case _10280: return "Assiniboine"; + case _10306: return "Assiniboine Sioux"; + case _10314: return "Fort Peck Assiniboine Sioux"; + case _10330: return "Bannock"; + case _10355: return "Blackfeet"; + case _10371: return "Brotherton"; + case _10397: return "Burt Lake Band"; + case _10413: return "Caddo"; + case _10421: return "Oklahoma Cado"; + case _10447: return "Cahuilla"; + case _10454: return "Agua Caliente Cahuilla"; + case _10462: return "Augustine"; + case _10470: return "Cabazon"; + case _10488: return "Los Coyotes"; + case _10496: return "Morongo"; + case _10504: return "Santa Rosa Cahuilla"; + case _10512: return "Torres-Martinez"; + case _10538: return "California Tribes"; + case _10546: return "Cahto"; + case _10553: return "Chimariko"; + case _10561: return "Coast Miwok"; + case _10579: return "Digger"; + case _10587: return "Kawaiisu"; + case _10595: return "Kern River"; + case _10603: return "Mattole"; + case _10611: return "Red Wood"; + case _10629: return "Santa Rosa"; + case _10637: return "Takelma"; + case _10645: return "Wappo"; + case _10652: return "Yana"; + case _10660: return "Yuki"; + case _10686: return "Canadian and Latin American Indian"; + case _10694: return "Canadian Indian"; + case _10702: return "Central American Indian"; + case _10710: return "French American Indian"; + case _10728: return "Mexican American Indian"; + case _10736: return "South American Indian"; + case _10744: return "Spanish American Indian"; + case _10769: return "Catawba"; + case _17418: return "Alatna"; + case _17426: return "Alexander"; + case _17434: return "Allakaket"; + case _17442: return "Alanvik"; + case _17459: return "Anvik"; + case _17467: return "Arctic"; + case _17475: return "Beaver"; + case _17483: return "Birch Creek"; + case _17491: return "Cantwell"; + case _17509: return "Chalkyitsik"; + case _17517: return "Chickaloon"; + case _17525: return "Chistochina"; + case _17533: return "Chitina"; + case _17541: return "Circle"; + case _17558: return "Cook Inlet"; + case _17566: return "Copper Center"; + case _17574: return "Copper River"; + case _17582: return "Dot Lake"; + case _17590: return "Doyon"; + case _17608: return "Eagle"; + case _17616: return "Eklutna"; + case _17624: return "Evansville"; + case _17632: return "Fort Yukon"; + case _17640: return "Gakona"; + case _17657: return "Galena"; + case _17665: return "Grayling"; + case _17673: return "Gulkana"; + case _17681: return "Healy Lake"; + case _17699: return "Holy Cross"; + case _17707: return "Hughes"; + case _17715: return "Huslia"; + case _17723: return "Iliamna"; + case _17731: return "Kaltag"; + case _17749: return "Kluti Kaah"; + case _17756: return "Knik"; + case _17764: return "Koyukuk"; + case _17772: return "Lake Minchumina"; + case _17780: return "Lime"; + case _17798: return "Mcgrath"; + case _17806: return "Manley Hot Springs"; + case _17814: return "Mentasta Lake"; + case _17822: return "Minto"; + case _17830: return "Nenana"; + case _17848: return "Nikolai"; + case _17855: return "Ninilchik"; + case _17863: return "Nondalton"; + case _17871: return "Northway"; + case _17889: return "Nulato"; + case _17897: return "Pedro Bay"; + case _17905: return "Rampart"; + case _17913: return "Ruby"; + case _17921: return "Salamatof"; + case _17939: return "Seldovia"; + case _17947: return "Slana"; + case _17954: return "Shageluk"; + case _17962: return "Stevens"; + case _17970: return "Stony River"; + case _17988: return "Takotna"; + case _17996: return "Tanacross"; + case _18002: return "Tanaina"; + case _18010: return "Tanana"; + case _18028: return "Tanana Chiefs"; + case _18036: return "Tazlina"; + case _18044: return "Telida"; + case _18051: return "Tetlin"; + case _18069: return "Tok"; + case _18077: return "Tyonek"; + case _18085: return "Venetie"; + case _18093: return "Wiseman"; + case _10785: return "Cayuse"; + case _10801: return "Chehalis"; + case _10827: return "Chemakuan"; + case _10835: return "Hoh"; + case _10843: return "Quileute"; + case _10868: return "Chemehuevi"; + case _10884: return "Cherokee"; + case _10892: return "Cherokee Alabama"; + case _10900: return "Cherokees of Northeast Alabama"; + case _10918: return "Cherokees of Southeast Alabama"; + case _10926: return "Eastern Cherokee"; + case _10934: return "Echota Cherokee"; + case _10942: return "Etowah Cherokee"; + case _10959: return "Northern Cherokee"; + case _10967: return "Tuscola"; + case _10975: return "United Keetowah Band of Cherokee"; + case _10983: return "Western Cherokee"; + case _11007: return "Cherokee Shawnee"; + case _11023: return "Cheyenne"; + case _11031: return "Northern Cheyenne"; + case _11049: return "Southern Cheyenne"; + case _11064: return "Cheyenne-Arapaho"; + case _11080: return "Chickahominy"; + case _11098: return "Eastern Chickahominy"; + case _11106: return "Western Chickahominy"; + case _11122: return "Chickasaw"; + case _11148: return "Chinook"; + case _11155: return "Clatsop"; + case _11163: return "Columbia River Chinook"; + case _11171: return "Kathlamet"; + case _11189: return "Upper Chinook"; + case _11197: return "Wakiakum Chinook"; + case _11205: return "Willapa Chinook"; + case _11213: return "Wishram"; + case _11239: return "Chippewa"; + case _11247: return "Bad River"; + case _11254: return "Bay Mills Chippewa"; + case _11262: return "Bois Forte"; + case _11270: return "Burt Lake Chippewa"; + case _11288: return "Fond du Lac"; + case _11296: return "Grand Portage"; + case _11304: return "Grand Traverse Band of Ottawa-Chippewa"; + case _11312: return "Keweenaw"; + case _11320: return "Lac Courte Oreilles"; + case _11338: return "Lac du Flambeau"; + case _11346: return "Lac Vieux Desert Chippewa"; + case _11353: return "Lake Superior"; + case _11361: return "Leech Lake"; + case _11379: return "Little Shell Chippewa"; + case _11387: return "Mille Lacs"; + case _11395: return "Minnesota Chippewa"; + case _11403: return "Ontonagon"; + case _11411: return "Red Cliff Chippewa"; + case _11429: return "Red Lake Chippewa"; + case _11437: return "Saginaw Chippewa"; + case _11445: return "St. Croix Chippewa"; + case _11452: return "Sault Ste. Marie Chippewa"; + case _11460: return "Sokoagon Chippewa"; + case _11478: return "Turtle Mountain"; + case _11486: return "White Earth"; + case _11502: return "Chippewa Cree"; + case _11510: return "Rocky Boy's Chippewa Cree"; + case _11536: return "Chitimacha"; + case _11551: return "Choctaw"; + case _11569: return "Clifton Choctaw"; + case _11577: return "Jena Choctaw"; + case _11585: return "Mississippi Choctaw"; + case _11593: return "Mowa Band of Choctaw"; + case _11601: return "Oklahoma Choctaw"; + case _11627: return "Chumash"; + case _11635: return "Santa Ynez"; + case _11650: return "Clear Lake"; + case _11676: return "Coeur D'Alene"; + case _11692: return "Coharie"; + case _11718: return "Colorado River"; + case _11734: return "Colville"; + case _11759: return "Comanche"; + case _11767: return "Oklahoma Comanche"; + case _11783: return "Coos, Lower Umpqua, Siuslaw"; + case _11809: return "Coos"; + case _11825: return "Coquilles"; + case _11841: return "Costanoan"; + case _11866: return "Coushatta"; + case _11874: return "Alabama Coushatta"; + case _11890: return "Cowlitz"; + case _11916: return "Cree"; + case _11932: return "Creek"; + case _11940: return "Alabama Creek"; + case _11957: return "Alabama Quassarte"; + case _11965: return "Eastern Creek"; + case _11973: return "Eastern Muscogee"; + case _11981: return "Kialegee"; + case _11999: return "Lower Muscogee"; + case _12005: return "Machis Lower Creek Indian"; + case _12013: return "Poarch Band"; + case _12021: return "Principal Creek Indian Nation"; + case _12039: return "Star Clan of Muscogee Creeks"; + case _12047: return "Thlopthlocco"; + case _12054: return "Tuckabachee"; + case _12070: return "Croatan"; + case _12096: return "Crow"; + case _12112: return "Cupeno"; + case _12120: return "Agua Caliente"; + case _12146: return "Delaware"; + case _12153: return "Eastern Delaware"; + case _12161: return "Lenni-Lenape"; + case _12179: return "Munsee"; + case _12187: return "Oklahoma Delaware"; + case _12195: return "Rampough Mountain"; + case _12203: return "Sand Hill"; + case _12229: return "Diegueno"; + case _12237: return "Campo"; + case _12245: return "Capitan Grande"; + case _12252: return "Cuyapaipe"; + case _12260: return "La Posta"; + case _12278: return "Manzanita"; + case _12286: return "Mesa Grande"; + case _12294: return "San Pasqual"; + case _12302: return "Santa Ysabel"; + case _12310: return "Sycuan"; + case _12336: return "Eastern Tribes"; + case _12344: return "Attacapa"; + case _12351: return "Biloxi"; + case _12369: return "Georgetown"; + case _12377: return "Moor"; + case _12385: return "Nansemond"; + case _12393: return "Natchez"; + case _12401: return "Nausu Waiwash"; + case _12419: return "Nipmuc"; + case _12427: return "Paugussett"; + case _12435: return "Pocomoke Acohonock"; + case _12443: return "Southeastern Indians"; + case _12450: return "Susquehanock"; + case _12468: return "Tunica Biloxi"; + case _12476: return "Waccamaw-Siousan"; + case _12484: return "Wicomico"; + case _12500: return "Esselen"; + case _12526: return "Fort Belknap"; + case _12542: return "Fort Berthold"; + case _12567: return "Fort Mcdowell"; + case _12583: return "Fort Hall"; + case _12609: return "Gabrieleno"; + case _12625: return "Grand Ronde"; + case _12641: return "Gros Ventres"; + case _12658: return "Atsina"; + case _12674: return "Haliwa"; + case _12690: return "Hidatsa"; + case _12716: return "Hoopa"; + case _12724: return "Trinity"; + case _12732: return "Whilkut"; + case _12757: return "Hoopa Extension"; + case _12773: return "Houma"; + case _12799: return "Inaja-Cosmit"; + case _12815: return "Iowa"; + case _12823: return "Iowa of Kansas-Nebraska"; + case _12831: return "Iowa of Oklahoma"; + case _12856: return "Iroquois"; + case _12864: return "Cayuga"; + case _12872: return "Mohawk"; + case _12880: return "Oneida"; + case _12898: return "Onondaga"; + case _12906: return "Seneca"; + case _12914: return "Seneca Nation"; + case _12922: return "Seneca-Cayuga"; + case _12930: return "Tonawanda Seneca"; + case _12948: return "Tuscarora"; + case _12955: return "Wyandotte"; + case _12971: return "Juaneno"; + case _12997: return "Kalispel"; + case _13011: return "Karuk"; + case _13037: return "Kaw"; + case _13052: return "Kickapoo"; + case _13060: return "Oklahoma Kickapoo"; + case _13078: return "Texas Kickapoo"; + case _13094: return "Kiowa"; + case _13102: return "Oklahoma Kiowa"; + case _13128: return "Klallam"; + case _13136: return "Jamestown"; + case _13144: return "Lower Elwha"; + case _13151: return "Port Gamble Klallam"; + case _13177: return "Klamath"; + case _13193: return "Konkow"; + case _13219: return "Kootenai"; + case _13235: return "Lassik"; + case _13250: return "Long Island"; + case _13268: return "Matinecock"; + case _13276: return "Montauk"; + case _13284: return "Poospatuck"; + case _13292: return "Setauket"; + case _13318: return "Luiseno"; + case _13326: return "La Jolla"; + case _13334: return "Pala"; + case _13342: return "Pauma"; + case _13359: return "Pechanga"; + case _13367: return "Soboba"; + case _13375: return "Twenty-Nine Palms"; + case _13383: return "Temecula"; + case _13409: return "Lumbee"; + case _13425: return "Lummi"; + case _13441: return "Maidu"; + case _13458: return "Mountain Maidu"; + case _13466: return "Nishinam"; + case _13482: return "Makah"; + case _13508: return "Maliseet"; + case _13524: return "Mandan"; + case _13540: return "Mattaponi"; + case _13565: return "Menominee"; + case _13581: return "Miami"; + case _13599: return "Illinois Miami"; + case _13607: return "Indiana Miami"; + case _13615: return "Oklahoma Miami"; + case _13631: return "Miccosukee"; + case _13656: return "Micmac"; + case _13664: return "Aroostook"; + case _13680: return "Mission Indians"; + case _13706: return "Miwok"; + case _13722: return "Modoc"; + case _13748: return "Mohegan"; + case _13763: return "Mono"; + case _13789: return "Nanticoke"; + case _13805: return "Narragansett"; + case _13821: return "Navajo"; + case _13839: return "Alamo Navajo"; + case _13847: return "Canoncito Navajo"; + case _13854: return "Ramah Navajo"; + case _13870: return "Nez Perce"; + case _13896: return "Nomalaki"; + case _13912: return "Northwest Tribes"; + case _13920: return "Alsea"; + case _13938: return "Celilo"; + case _13946: return "Columbia"; + case _13953: return "Kalapuya"; + case _13961: return "Molala"; + case _13979: return "Talakamish"; + case _13987: return "Tenino"; + case _13995: return "Tillamook"; + case _14001: return "Wenatchee"; + case _14019: return "Yahooskin"; + case _14035: return "Omaha"; + case _14050: return "Oregon Athabaskan"; + case _14076: return "Osage"; + case _14092: return "Otoe-Missouria"; + case _14118: return "Ottawa"; + case _14126: return "Burt Lake Ottawa"; + case _14134: return "Michigan Ottawa"; + case _14142: return "Oklahoma Ottawa"; + case _14167: return "Paiute"; + case _14175: return "Bishop"; + case _14183: return "Bridgeport"; + case _14191: return "Burns Paiute"; + case _14209: return "Cedarville"; + case _14217: return "Fort Bidwell"; + case _14225: return "Fort Independence"; + case _14233: return "Kaibab"; + case _14241: return "Las Vegas"; + case _14258: return "Lone Pine"; + case _14266: return "Lovelock"; + case _14274: return "Malheur Paiute"; + case _14282: return "Moapa"; + case _14290: return "Northern Paiute"; + case _14308: return "Owens Valley"; + case _14316: return "Pyramid Lake"; + case _14324: return "San Juan Southern Paiute"; + case _14332: return "Southern Paiute"; + case _14340: return "Summit Lake"; + case _14357: return "Utu Utu Gwaitu Paiute"; + case _14365: return "Walker River"; + case _14373: return "Yerington Paiute"; + case _14399: return "Pamunkey"; + case _14415: return "Passamaquoddy"; + case _14423: return "Indian Township"; + case _14431: return "Pleasant Point Passamaquoddy"; + case _14456: return "Pawnee"; + case _14464: return "Oklahoma Pawnee"; + case _14480: return "Penobscot"; + case _14506: return "Peoria"; + case _14514: return "Oklahoma Peoria"; + case _14530: return "Pequot"; + case _14548: return "Marshantucket Pequot"; + case _14563: return "Pima"; + case _14571: return "Gila River Pima-Maricopa"; + case _14589: return "Salt River Pima-Maricopa"; + case _14605: return "Piscataway"; + case _14621: return "Pit River"; + case _14647: return "Pomo"; + case _14654: return "Central Pomo"; + case _14662: return "Dry Creek"; + case _14670: return "Eastern Pomo"; + case _14688: return "Kashia"; + case _14696: return "Northern Pomo"; + case _14704: return "Scotts Valley"; + case _14712: return "Stonyford"; + case _14720: return "Sulphur Bank"; + case _14746: return "Ponca"; + case _14753: return "Nebraska Ponca"; + case _14761: return "Oklahoma Ponca"; + case _14787: return "Potawatomi"; + case _14795: return "Citizen Band Potawatomi"; + case _14803: return "Forest County"; + case _14811: return "Hannahville"; + case _14829: return "Huron Potawatomi"; + case _14837: return "Pokagon Potawatomi"; + case _14845: return "Prairie Band"; + case _14852: return "Wisconsin Potawatomi"; + case _14878: return "Powhatan"; + case _14894: return "Pueblo"; + case _14902: return "Acoma"; + case _14910: return "Arizona Tewa"; + case _14928: return "Cochiti"; + case _14936: return "Hopi"; + case _14944: return "Isleta"; + case _14951: return "Jemez"; + case _14969: return "Keres"; + case _14977: return "Laguna"; + case _14985: return "Nambe"; + case _14993: return "Picuris"; + case _15008: return "Piro"; + case _15016: return "Pojoaque"; + case _15024: return "San Felipe"; + case _15032: return "San Ildefonso"; + case _15040: return "San Juan Pueblo"; + case _15057: return "San Juan De"; + case _15065: return "San Juan"; + case _15073: return "Sandia"; + case _15081: return "Santa Ana"; + case _15099: return "Santa Clara"; + case _15107: return "Santo Domingo"; + case _15115: return "Taos"; + case _15123: return "Tesuque"; + case _15131: return "Tewa"; + case _15149: return "Tigua"; + case _15156: return "Zia"; + case _15164: return "Zuni"; + case _15180: return "Puget Sound Salish"; + case _15198: return "Duwamish"; + case _15206: return "Kikiallus"; + case _15214: return "Lower Skagit"; + case _15222: return "Muckleshoot"; + case _15230: return "Nisqually"; + case _15248: return "Nooksack"; + case _15255: return "Port Madison"; + case _15263: return "Puyallup"; + case _15271: return "Samish"; + case _15289: return "Sauk-Suiattle"; + case _15297: return "Skokomish"; + case _15305: return "Skykomish"; + case _15313: return "Snohomish"; + case _15321: return "Snoqualmie"; + case _15339: return "Squaxin Island"; + case _15347: return "Steilacoom"; + case _15354: return "Stillaguamish"; + case _15362: return "Suquamish"; + case _15370: return "Swinomish"; + case _15388: return "Tulalip"; + case _15396: return "Upper Skagit"; + case _15412: return "Quapaw"; + case _15438: return "Quinault"; + case _15453: return "Rappahannock"; + case _15479: return "Reno-Sparks"; + case _15495: return "Round Valley"; + case _15511: return "Sac and Fox"; + case _15529: return "Iowa Sac and Fox"; + case _15537: return "Missouri Sac and Fox"; + case _15545: return "Oklahoma Sac and Fox"; + case _15560: return "Salinan"; + case _15586: return "Salish"; + case _15602: return "Salish and Kootenai"; + case _15628: return "Schaghticoke"; + case _15644: return "Scott Valley"; + case _15669: return "Seminole"; + case _15677: return "Big Cypress"; + case _15685: return "Brighton"; + case _15693: return "Florida Seminole"; + case _15701: return "Hollywood Seminole"; + case _15719: return "Oklahoma Seminole"; + case _15735: return "Serrano"; + case _15743: return "San Manual"; + case _15768: return "Shasta"; + case _15784: return "Shawnee"; + case _15792: return "Absentee Shawnee"; + case _15800: return "Eastern Shawnee"; + case _15826: return "Shinnecock"; + case _15842: return "Shoalwater Bay"; + case _15867: return "Shoshone"; + case _15875: return "Battle Mountain"; + case _15883: return "Duckwater"; + case _15891: return "Elko"; + case _15909: return "Ely"; + case _15917: return "Goshute"; + case _15925: return "Panamint"; + case _15933: return "Ruby Valley"; + case _15941: return "Skull Valley"; + case _15958: return "South Fork Shoshone"; + case _15966: return "Te-Moak Western Shoshone"; + case _15974: return "Timbi-Sha Shoshone"; + case _15982: return "Washakie"; + case _15990: return "Wind River Shoshone"; + case _16006: return "Yomba"; + case _16022: return "Shoshone Paiute"; + case _16030: return "Duck Valley"; + case _16048: return "Fallon"; + case _16055: return "Fort McDermitt"; + case _16071: return "Siletz"; + case _16097: return "Sioux"; + case _16105: return "Blackfoot Sioux"; + case _16113: return "Brule Sioux"; + case _16121: return "Cheyenne River Sioux"; + case _16139: return "Crow Creek Sioux"; + case _16147: return "Dakota Sioux"; + case _16154: return "Flandreau Santee"; + case _16162: return "Fort Peck"; + case _16170: return "Lake Traverse Sioux"; + case _16188: return "Lower Brule Sioux"; + case _16196: return "Lower Sioux"; + case _16204: return "Mdewakanton Sioux"; + case _16212: return "Miniconjou"; + case _16220: return "Oglala Sioux"; + case _16238: return "Pine Ridge Sioux"; + case _16246: return "Pipestone Sioux"; + case _16253: return "Prairie Island Sioux"; + case _16261: return "Prior Lake Sioux"; + case _16279: return "Rosebud Sioux"; + case _16287: return "Sans Arc Sioux"; + case _16295: return "Santee Sioux"; + case _16303: return "Sisseton-Wahpeton"; + case _16311: return "Sisseton Sioux"; + case _16329: return "Spirit Lake Sioux"; + case _16337: return "Standing Rock Sioux"; + case _16345: return "Teton Sioux"; + case _16352: return "Two Kettle Sioux"; + case _16360: return "Upper Sioux"; + case _16378: return "Wahpekute Sioux"; + case _16386: return "Wahpeton Sioux"; + case _16394: return "Wazhaza Sioux"; + case _16402: return "Yankton Sioux"; + case _16410: return "Yanktonai Sioux"; + case _16436: return "Siuslaw"; + case _16451: return "Spokane"; + case _16477: return "Stewart"; + case _16493: return "Stockbridge"; + case _16519: return "Susanville"; + case _16535: return "Tohono O'Odham"; + case _16543: return "Ak-Chin"; + case _16550: return "Gila Bend"; + case _16568: return "San Xavier"; + case _16576: return "Sells"; + case _16592: return "Tolowa"; + case _16618: return "Tonkawa"; + case _16634: return "Tygh"; + case _16659: return "Umatilla"; + case _16675: return "Umpqua"; + case _16683: return "Cow Creek Umpqua"; + case _16709: return "Ute"; + case _16717: return "Allen Canyon"; + case _16725: return "Uintah Ute"; + case _16733: return "Ute Mountain Ute"; + case _16758: return "Wailaki"; + case _16774: return "Walla-Walla"; + case _16790: return "Wampanoag"; + case _16808: return "Gay Head Wampanoag"; + case _16816: return "Mashpee Wampanoag"; + case _16832: return "Warm Springs"; + case _16857: return "Wascopum"; + case _16873: return "Washoe"; + case _16881: return "Alpine"; + case _16899: return "Carson"; + case _16907: return "Dresslerville"; + case _16923: return "Wichita"; + case _16949: return "Wind River"; + case _16964: return "Winnebago"; + case _16972: return "Ho-chunk"; + case _16980: return "Nebraska Winnebago"; + case _17004: return "Winnemucca"; + case _17020: return "Wintun"; + case _17046: return "Wiyot"; + case _17053: return "Table Bluff"; + case _17079: return "Yakama"; + case _17095: return "Yakama Cowlitz"; + case _17111: return "Yaqui"; + case _17129: return "Barrio Libre"; + case _17137: return "Pascua Yaqui"; + case _17152: return "Yavapai Apache"; + case _17178: return "Yokuts"; + case _17186: return "Chukchansi"; + case _17194: return "Tachi"; + case _17202: return "Tule River"; + case _17228: return "Yuchi"; + case _17244: return "Yuman"; + case _17251: return "Cocopah"; + case _17269: return "Havasupai"; + case _17277: return "Hualapai"; + case _17285: return "Maricopa"; + case _17293: return "Mohave"; + case _17301: return "Quechan"; + case _17319: return "Yavapai"; + case _17327: return "Yurok"; + case _17335: return "Coast Yurok"; + case _17350: return "Alaska Native"; + case _17376: return "Alaska Indian"; + case _17392: return "Alaskan Athabascan"; + case _17400: return "Ahtna"; + case _18119: return "Southeast Alaska"; + case _18135: return "Tlingit-Haida"; + case _18143: return "Angoon"; + case _18150: return "Central Council of Tlingit and Haida Tribes"; + case _18168: return "Chilkat"; + case _18176: return "Chilkoot"; + case _18184: return "Craig"; + case _18192: return "Douglas"; + case _18200: return "Haida"; + case _18218: return "Hoonah"; + case _18226: return "Hydaburg"; + case _18234: return "Kake"; + case _18242: return "Kasaan"; + case _18259: return "Kenaitze"; + case _18267: return "Ketchikan"; + case _18275: return "Klawock"; + case _18283: return "Pelican"; + case _18291: return "Petersburg"; + case _18309: return "Saxman"; + case _18317: return "Sitka"; + case _18325: return "Tenakee Springs"; + case _18333: return "Tlingit"; + case _18341: return "Wrangell"; + case _18358: return "Yakutat"; + case _18374: return "Tsimshian"; + case _18382: return "Metlakatla"; + case _18408: return "Eskimo"; + case _18424: return "Greenland Eskimo"; + case _18440: return "Inupiat Eskimo"; + case _18457: return "Ambler"; + case _18465: return "Anaktuvuk"; + case _18473: return "Anaktuvuk Pass"; + case _18481: return "Arctic Slope Inupiat"; + case _18499: return "Arctic Slope Corporation"; + case _18507: return "Atqasuk"; + case _18515: return "Barrow"; + case _18523: return "Bering Straits Inupiat"; + case _18531: return "Brevig Mission"; + case _18549: return "Buckland"; + case _18556: return "Chinik"; + case _18564: return "Council"; + case _18572: return "Deering"; + case _18580: return "Elim"; + case _18598: return "Golovin"; + case _18606: return "Inalik Diomede"; + case _18614: return "Inupiaq"; + case _18622: return "Kaktovik"; + case _18630: return "Kawerak"; + case _18648: return "Kiana"; + case _18655: return "Kivalina"; + case _18663: return "Kobuk"; + case _18671: return "Kotzebue"; + case _18689: return "Koyuk"; + case _18697: return "Kwiguk"; + case _18705: return "Mauneluk Inupiat"; + case _18713: return "Nana Inupiat"; + case _18721: return "Noatak"; + case _18739: return "Nome"; + case _18747: return "Noorvik"; + case _18754: return "Nuiqsut"; + case _18762: return "Point Hope"; + case _18770: return "Point Lay"; + case _18788: return "Selawik"; + case _18796: return "Shaktoolik"; + case _18804: return "Shishmaref"; + case _18812: return "Shungnak"; + case _18820: return "Solomon"; + case _18838: return "Teller"; + case _18846: return "Unalakleet"; + case _18853: return "Wainwright"; + case _18861: return "Wales"; + case _18879: return "White Mountain"; + case _18887: return "White Mountain Inupiat"; + case _18895: return "Mary's Igloo"; + case _18911: return "Siberian Eskimo"; + case _18929: return "Gambell"; + case _18937: return "Savoonga"; + case _18945: return "Siberian Yupik"; + case _18960: return "Yupik Eskimo"; + case _18978: return "Akiachak"; + case _18986: return "Akiak"; + case _18994: return "Alakanuk"; + case _19000: return "Aleknagik"; + case _19018: return "Andreafsky"; + case _19026: return "Aniak"; + case _19034: return "Atmautluak"; + case _19042: return "Bethel"; + case _19059: return "Bill Moore's Slough"; + case _19067: return "Bristol Bay Yupik"; + case _19075: return "Calista Yupik"; + case _19083: return "Chefornak"; + case _19091: return "Chevak"; + case _19109: return "Chuathbaluk"; + case _19117: return "Clark's Point"; + case _19125: return "Crooked Creek"; + case _19133: return "Dillingham"; + case _19141: return "Eek"; + case _19158: return "Ekuk"; + case _19166: return "Ekwok"; + case _19174: return "Emmonak"; + case _19182: return "Goodnews Bay"; + case _19190: return "Hooper Bay"; + case _19208: return "Iqurmuit (Russian Mission)"; + case _19216: return "Kalskag"; + case _19224: return "Kasigluk"; + case _19232: return "Kipnuk"; + case _19240: return "Koliganek"; + case _19257: return "Kongiganak"; + case _19265: return "Kotlik"; + case _19273: return "Kwethluk"; + case _19281: return "Kwigillingok"; + case _19299: return "Levelock"; + case _19307: return "Lower Kalskag"; + case _19315: return "Manokotak"; + case _19323: return "Marshall"; + case _19331: return "Mekoryuk"; + case _19349: return "Mountain Village"; + case _19356: return "Naknek"; + case _19364: return "Napaumute"; + case _19372: return "Napakiak"; + case _19380: return "Napaskiak"; + case _19398: return "Newhalen"; + case _19406: return "New Stuyahok"; + case _19414: return "Newtok"; + case _19422: return "Nightmute"; + case _19430: return "Nunapitchukv"; + case _19448: return "Oscarville"; + case _19455: return "Pilot Station"; + case _19463: return "Pitkas Point"; + case _19471: return "Platinum"; + case _19489: return "Portage Creek"; + case _19497: return "Quinhagak"; + case _19505: return "Red Devil"; + case _19513: return "St. Michael"; + case _19521: return "Scammon Bay"; + case _19539: return "Sheldon's Point"; + case _19547: return "Sleetmute"; + case _19554: return "Stebbins"; + case _19562: return "Togiak"; + case _19570: return "Toksook"; + case _19588: return "Tulukskak"; + case _19596: return "Tuntutuliak"; + case _19604: return "Tununak"; + case _19612: return "Twin Hills"; + case _19620: return "Georgetown"; + case _19638: return "St. Mary's"; + case _19646: return "Umkumiate"; + case _19661: return "Aleut"; + case _19687: return "Alutiiq Aleut"; + case _19695: return "Tatitlek"; + case _19703: return "Ugashik"; + case _19729: return "Bristol Bay Aleut"; + case _19737: return "Chignik"; + case _19745: return "Chignik Lake"; + case _19752: return "Egegik"; + case _19760: return "Igiugig"; + case _19778: return "Ivanof Bay"; + case _19786: return "King Salmon"; + case _19794: return "Kokhanok"; + case _19802: return "Perryville"; + case _19810: return "Pilot Point"; + case _19828: return "Port Heiden"; + case _19844: return "Chugach Aleut"; + case _19851: return "Chenega"; + case _19869: return "Chugach Corporation"; + case _19877: return "English Bay"; + case _19885: return "Port Graham"; + case _19901: return "Eyak"; + case _19927: return "Koniag Aleut"; + case _19935: return "Akhiok"; + case _19943: return "Agdaagux"; + case _19950: return "Karluk"; + case _19968: return "Kodiak"; + case _19976: return "Larsen Bay"; + case _19984: return "Old Harbor"; + case _19992: return "Ouzinkie"; + case _20008: return "Port Lions"; + case _20024: return "Sugpiaq"; + case _20040: return "Suqpigaq"; + case _20065: return "Unangan Aleut"; + case _20073: return "Akutan"; + case _20081: return "Aleut Corporation"; + case _20099: return "Aleutian"; + case _20107: return "Aleutian Islander"; + case _20115: return "Atka"; + case _20123: return "Belkofski"; + case _20131: return "Chignik Lagoon"; + case _20149: return "King Cove"; + case _20156: return "False Pass"; + case _20164: return "Nelson Lagoon"; + case _20172: return "Nikolski"; + case _20180: return "Pauloff Harbor"; + case _20198: return "Qagan Toyagungin"; + case _20206: return "Qawalangin"; + case _20214: return "St. George"; + case _20222: return "St. Paul"; + case _20230: return "Sand Point"; + case _20248: return "South Naknek"; + case _20255: return "Unalaska"; + case _20263: return "Unga"; + case _20289: return "Asian"; + case _20297: return "Asian Indian"; + case _20305: return "Bangladeshi"; + case _20313: return "Bhutanese"; + case _20321: return "Burmese"; + case _20339: return "Cambodian"; + case _20347: return "Chinese"; + case _20354: return "Taiwanese"; + case _20362: return "Filipino"; + case _20370: return "Hmong"; + case _20388: return "Indonesian"; + case _20396: return "Japanese"; + case _20404: return "Korean"; + case _20412: return "Laotian"; + case _20420: return "Malaysian"; + case _20438: return "Okinawan"; + case _20446: return "Pakistani"; + case _20453: return "Sri Lankan"; + case _20461: return "Thai"; + case _20479: return "Vietnamese"; + case _20487: return "Iwo Jiman"; + case _20495: return "Maldivian"; + case _20503: return "Nepalese"; + case _20511: return "Singaporean"; + case _20529: return "Madagascar"; + case _20545: return "Black or African American"; + case _20560: return "Black"; + case _20586: return "African American"; + case _20602: return "African"; + case _20610: return "Botswanan"; + case _20628: return "Ethiopian"; + case _20636: return "Liberian"; + case _20644: return "Namibian"; + case _20651: return "Nigerian"; + case _20669: return "Zairean"; + case _20677: return "Bahamian"; + case _20685: return "Barbadian"; + case _20693: return "Dominican"; + case _20701: return "Dominica Islander"; + case _20719: return "Haitian"; + case _20727: return "Jamaican"; + case _20735: return "Tobagoan"; + case _20743: return "Trinidadian"; + case _20750: return "West Indian"; + case _20768: return "Native Hawaiian or Other Pacific Islander"; + case _20784: return "Polynesian"; + case _20792: return "Native Hawaiian"; + case _20800: return "Samoan"; + case _20818: return "Tahitian"; + case _20826: return "Tongan"; + case _20834: return "Tokelauan"; + case _20859: return "Micronesian"; + case _20867: return "Guamanian or Chamorro"; + case _20875: return "Guamanian"; + case _20883: return "Chamorro"; + case _20891: return "Mariana Islander"; + case _20909: return "Marshallese"; + case _20917: return "Palauan"; + case _20925: return "Carolinian"; + case _20933: return "Kosraean"; + case _20941: return "Pohnpeian"; + case _20958: return "Saipanese"; + case _20966: return "Kiribati"; + case _20974: return "Chuukese"; + case _20982: return "Yapese"; + case _21006: return "Melanesian"; + case _21014: return "Fijian"; + case _21022: return "Papua New Guinean"; + case _21030: return "Solomon Islander"; + case _21048: return "New Hebrides"; + case _25007: return "Other Pacific Islander"; + case _21063: return "White"; + case _21089: return "European"; + case _21097: return "Armenian"; + case _21105: return "English"; + case _21113: return "French"; + case _21121: return "German"; + case _21139: return "Irish"; + case _21147: return "Italian"; + case _21154: return "Polish"; + case _21162: return "Scottish"; + case _21188: return "Middle Eastern or North African"; + case _21196: return "Assyrian"; + case _21204: return "Egyptian"; + case _21212: return "Iranian"; + case _21220: return "Iraqi"; + case _21238: return "Lebanese"; + case _21246: return "Palestinian"; + case _21253: return "Syrian"; + case _21261: return "Afghanistani"; + case _21279: return "Israeili"; + case _21295: return "Arab"; + case _21311: return "Other Race"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RaceEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RaceEnumFactory.java new file mode 100644 index 00000000000..4fca765268a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RaceEnumFactory.java @@ -0,0 +1,3735 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RaceEnumFactory implements EnumFactory { + + public V3Race fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1002-5".equals(codeString)) + return V3Race._10025; + if ("1004-1".equals(codeString)) + return V3Race._10041; + if ("1006-6".equals(codeString)) + return V3Race._10066; + if ("1008-2".equals(codeString)) + return V3Race._10082; + if ("1010-8".equals(codeString)) + return V3Race._10108; + if ("1011-6".equals(codeString)) + return V3Race._10116; + if ("1012-4".equals(codeString)) + return V3Race._10124; + if ("1013-2".equals(codeString)) + return V3Race._10132; + if ("1014-0".equals(codeString)) + return V3Race._10140; + if ("1015-7".equals(codeString)) + return V3Race._10157; + if ("1016-5".equals(codeString)) + return V3Race._10165; + if ("1017-3".equals(codeString)) + return V3Race._10173; + if ("1018-1".equals(codeString)) + return V3Race._10181; + if ("1019-9".equals(codeString)) + return V3Race._10199; + if ("1021-5".equals(codeString)) + return V3Race._10215; + if ("1022-3".equals(codeString)) + return V3Race._10223; + if ("1023-1".equals(codeString)) + return V3Race._10231; + if ("1024-9".equals(codeString)) + return V3Race._10249; + if ("1026-4".equals(codeString)) + return V3Race._10264; + if ("1028-0".equals(codeString)) + return V3Race._10280; + if ("1030-6".equals(codeString)) + return V3Race._10306; + if ("1031-4".equals(codeString)) + return V3Race._10314; + if ("1033-0".equals(codeString)) + return V3Race._10330; + if ("1035-5".equals(codeString)) + return V3Race._10355; + if ("1037-1".equals(codeString)) + return V3Race._10371; + if ("1039-7".equals(codeString)) + return V3Race._10397; + if ("1041-3".equals(codeString)) + return V3Race._10413; + if ("1042-1".equals(codeString)) + return V3Race._10421; + if ("1044-7".equals(codeString)) + return V3Race._10447; + if ("1045-4".equals(codeString)) + return V3Race._10454; + if ("1046-2".equals(codeString)) + return V3Race._10462; + if ("1047-0".equals(codeString)) + return V3Race._10470; + if ("1048-8".equals(codeString)) + return V3Race._10488; + if ("1049-6".equals(codeString)) + return V3Race._10496; + if ("1050-4".equals(codeString)) + return V3Race._10504; + if ("1051-2".equals(codeString)) + return V3Race._10512; + if ("1053-8".equals(codeString)) + return V3Race._10538; + if ("1054-6".equals(codeString)) + return V3Race._10546; + if ("1055-3".equals(codeString)) + return V3Race._10553; + if ("1056-1".equals(codeString)) + return V3Race._10561; + if ("1057-9".equals(codeString)) + return V3Race._10579; + if ("1058-7".equals(codeString)) + return V3Race._10587; + if ("1059-5".equals(codeString)) + return V3Race._10595; + if ("1060-3".equals(codeString)) + return V3Race._10603; + if ("1061-1".equals(codeString)) + return V3Race._10611; + if ("1062-9".equals(codeString)) + return V3Race._10629; + if ("1063-7".equals(codeString)) + return V3Race._10637; + if ("1064-5".equals(codeString)) + return V3Race._10645; + if ("1065-2".equals(codeString)) + return V3Race._10652; + if ("1066-0".equals(codeString)) + return V3Race._10660; + if ("1068-6".equals(codeString)) + return V3Race._10686; + if ("1069-4".equals(codeString)) + return V3Race._10694; + if ("1070-2".equals(codeString)) + return V3Race._10702; + if ("1071-0".equals(codeString)) + return V3Race._10710; + if ("1072-8".equals(codeString)) + return V3Race._10728; + if ("1073-6".equals(codeString)) + return V3Race._10736; + if ("1074-4".equals(codeString)) + return V3Race._10744; + if ("1076-9".equals(codeString)) + return V3Race._10769; + if ("1741-8".equals(codeString)) + return V3Race._17418; + if ("1742-6".equals(codeString)) + return V3Race._17426; + if ("1743-4".equals(codeString)) + return V3Race._17434; + if ("1744-2".equals(codeString)) + return V3Race._17442; + if ("1745-9".equals(codeString)) + return V3Race._17459; + if ("1746-7".equals(codeString)) + return V3Race._17467; + if ("1747-5".equals(codeString)) + return V3Race._17475; + if ("1748-3".equals(codeString)) + return V3Race._17483; + if ("1749-1".equals(codeString)) + return V3Race._17491; + if ("1750-9".equals(codeString)) + return V3Race._17509; + if ("1751-7".equals(codeString)) + return V3Race._17517; + if ("1752-5".equals(codeString)) + return V3Race._17525; + if ("1753-3".equals(codeString)) + return V3Race._17533; + if ("1754-1".equals(codeString)) + return V3Race._17541; + if ("1755-8".equals(codeString)) + return V3Race._17558; + if ("1756-6".equals(codeString)) + return V3Race._17566; + if ("1757-4".equals(codeString)) + return V3Race._17574; + if ("1758-2".equals(codeString)) + return V3Race._17582; + if ("1759-0".equals(codeString)) + return V3Race._17590; + if ("1760-8".equals(codeString)) + return V3Race._17608; + if ("1761-6".equals(codeString)) + return V3Race._17616; + if ("1762-4".equals(codeString)) + return V3Race._17624; + if ("1763-2".equals(codeString)) + return V3Race._17632; + if ("1764-0".equals(codeString)) + return V3Race._17640; + if ("1765-7".equals(codeString)) + return V3Race._17657; + if ("1766-5".equals(codeString)) + return V3Race._17665; + if ("1767-3".equals(codeString)) + return V3Race._17673; + if ("1768-1".equals(codeString)) + return V3Race._17681; + if ("1769-9".equals(codeString)) + return V3Race._17699; + if ("1770-7".equals(codeString)) + return V3Race._17707; + if ("1771-5".equals(codeString)) + return V3Race._17715; + if ("1772-3".equals(codeString)) + return V3Race._17723; + if ("1773-1".equals(codeString)) + return V3Race._17731; + if ("1774-9".equals(codeString)) + return V3Race._17749; + if ("1775-6".equals(codeString)) + return V3Race._17756; + if ("1776-4".equals(codeString)) + return V3Race._17764; + if ("1777-2".equals(codeString)) + return V3Race._17772; + if ("1778-0".equals(codeString)) + return V3Race._17780; + if ("1779-8".equals(codeString)) + return V3Race._17798; + if ("1780-6".equals(codeString)) + return V3Race._17806; + if ("1781-4".equals(codeString)) + return V3Race._17814; + if ("1782-2".equals(codeString)) + return V3Race._17822; + if ("1783-0".equals(codeString)) + return V3Race._17830; + if ("1784-8".equals(codeString)) + return V3Race._17848; + if ("1785-5".equals(codeString)) + return V3Race._17855; + if ("1786-3".equals(codeString)) + return V3Race._17863; + if ("1787-1".equals(codeString)) + return V3Race._17871; + if ("1788-9".equals(codeString)) + return V3Race._17889; + if ("1789-7".equals(codeString)) + return V3Race._17897; + if ("1790-5".equals(codeString)) + return V3Race._17905; + if ("1791-3".equals(codeString)) + return V3Race._17913; + if ("1792-1".equals(codeString)) + return V3Race._17921; + if ("1793-9".equals(codeString)) + return V3Race._17939; + if ("1794-7".equals(codeString)) + return V3Race._17947; + if ("1795-4".equals(codeString)) + return V3Race._17954; + if ("1796-2".equals(codeString)) + return V3Race._17962; + if ("1797-0".equals(codeString)) + return V3Race._17970; + if ("1798-8".equals(codeString)) + return V3Race._17988; + if ("1799-6".equals(codeString)) + return V3Race._17996; + if ("1800-2".equals(codeString)) + return V3Race._18002; + if ("1801-0".equals(codeString)) + return V3Race._18010; + if ("1802-8".equals(codeString)) + return V3Race._18028; + if ("1803-6".equals(codeString)) + return V3Race._18036; + if ("1804-4".equals(codeString)) + return V3Race._18044; + if ("1805-1".equals(codeString)) + return V3Race._18051; + if ("1806-9".equals(codeString)) + return V3Race._18069; + if ("1807-7".equals(codeString)) + return V3Race._18077; + if ("1808-5".equals(codeString)) + return V3Race._18085; + if ("1809-3".equals(codeString)) + return V3Race._18093; + if ("1078-5".equals(codeString)) + return V3Race._10785; + if ("1080-1".equals(codeString)) + return V3Race._10801; + if ("1082-7".equals(codeString)) + return V3Race._10827; + if ("1083-5".equals(codeString)) + return V3Race._10835; + if ("1084-3".equals(codeString)) + return V3Race._10843; + if ("1086-8".equals(codeString)) + return V3Race._10868; + if ("1088-4".equals(codeString)) + return V3Race._10884; + if ("1089-2".equals(codeString)) + return V3Race._10892; + if ("1090-0".equals(codeString)) + return V3Race._10900; + if ("1091-8".equals(codeString)) + return V3Race._10918; + if ("1092-6".equals(codeString)) + return V3Race._10926; + if ("1093-4".equals(codeString)) + return V3Race._10934; + if ("1094-2".equals(codeString)) + return V3Race._10942; + if ("1095-9".equals(codeString)) + return V3Race._10959; + if ("1096-7".equals(codeString)) + return V3Race._10967; + if ("1097-5".equals(codeString)) + return V3Race._10975; + if ("1098-3".equals(codeString)) + return V3Race._10983; + if ("1100-7".equals(codeString)) + return V3Race._11007; + if ("1102-3".equals(codeString)) + return V3Race._11023; + if ("1103-1".equals(codeString)) + return V3Race._11031; + if ("1104-9".equals(codeString)) + return V3Race._11049; + if ("1106-4".equals(codeString)) + return V3Race._11064; + if ("1108-0".equals(codeString)) + return V3Race._11080; + if ("1109-8".equals(codeString)) + return V3Race._11098; + if ("1110-6".equals(codeString)) + return V3Race._11106; + if ("1112-2".equals(codeString)) + return V3Race._11122; + if ("1114-8".equals(codeString)) + return V3Race._11148; + if ("1115-5".equals(codeString)) + return V3Race._11155; + if ("1116-3".equals(codeString)) + return V3Race._11163; + if ("1117-1".equals(codeString)) + return V3Race._11171; + if ("1118-9".equals(codeString)) + return V3Race._11189; + if ("1119-7".equals(codeString)) + return V3Race._11197; + if ("1120-5".equals(codeString)) + return V3Race._11205; + if ("1121-3".equals(codeString)) + return V3Race._11213; + if ("1123-9".equals(codeString)) + return V3Race._11239; + if ("1124-7".equals(codeString)) + return V3Race._11247; + if ("1125-4".equals(codeString)) + return V3Race._11254; + if ("1126-2".equals(codeString)) + return V3Race._11262; + if ("1127-0".equals(codeString)) + return V3Race._11270; + if ("1128-8".equals(codeString)) + return V3Race._11288; + if ("1129-6".equals(codeString)) + return V3Race._11296; + if ("1130-4".equals(codeString)) + return V3Race._11304; + if ("1131-2".equals(codeString)) + return V3Race._11312; + if ("1132-0".equals(codeString)) + return V3Race._11320; + if ("1133-8".equals(codeString)) + return V3Race._11338; + if ("1134-6".equals(codeString)) + return V3Race._11346; + if ("1135-3".equals(codeString)) + return V3Race._11353; + if ("1136-1".equals(codeString)) + return V3Race._11361; + if ("1137-9".equals(codeString)) + return V3Race._11379; + if ("1138-7".equals(codeString)) + return V3Race._11387; + if ("1139-5".equals(codeString)) + return V3Race._11395; + if ("1140-3".equals(codeString)) + return V3Race._11403; + if ("1141-1".equals(codeString)) + return V3Race._11411; + if ("1142-9".equals(codeString)) + return V3Race._11429; + if ("1143-7".equals(codeString)) + return V3Race._11437; + if ("1144-5".equals(codeString)) + return V3Race._11445; + if ("1145-2".equals(codeString)) + return V3Race._11452; + if ("1146-0".equals(codeString)) + return V3Race._11460; + if ("1147-8".equals(codeString)) + return V3Race._11478; + if ("1148-6".equals(codeString)) + return V3Race._11486; + if ("1150-2".equals(codeString)) + return V3Race._11502; + if ("1151-0".equals(codeString)) + return V3Race._11510; + if ("1153-6".equals(codeString)) + return V3Race._11536; + if ("1155-1".equals(codeString)) + return V3Race._11551; + if ("1156-9".equals(codeString)) + return V3Race._11569; + if ("1157-7".equals(codeString)) + return V3Race._11577; + if ("1158-5".equals(codeString)) + return V3Race._11585; + if ("1159-3".equals(codeString)) + return V3Race._11593; + if ("1160-1".equals(codeString)) + return V3Race._11601; + if ("1162-7".equals(codeString)) + return V3Race._11627; + if ("1163-5".equals(codeString)) + return V3Race._11635; + if ("1165-0".equals(codeString)) + return V3Race._11650; + if ("1167-6".equals(codeString)) + return V3Race._11676; + if ("1169-2".equals(codeString)) + return V3Race._11692; + if ("1171-8".equals(codeString)) + return V3Race._11718; + if ("1173-4".equals(codeString)) + return V3Race._11734; + if ("1175-9".equals(codeString)) + return V3Race._11759; + if ("1176-7".equals(codeString)) + return V3Race._11767; + if ("1178-3".equals(codeString)) + return V3Race._11783; + if ("1180-9".equals(codeString)) + return V3Race._11809; + if ("1182-5".equals(codeString)) + return V3Race._11825; + if ("1184-1".equals(codeString)) + return V3Race._11841; + if ("1186-6".equals(codeString)) + return V3Race._11866; + if ("1187-4".equals(codeString)) + return V3Race._11874; + if ("1189-0".equals(codeString)) + return V3Race._11890; + if ("1191-6".equals(codeString)) + return V3Race._11916; + if ("1193-2".equals(codeString)) + return V3Race._11932; + if ("1194-0".equals(codeString)) + return V3Race._11940; + if ("1195-7".equals(codeString)) + return V3Race._11957; + if ("1196-5".equals(codeString)) + return V3Race._11965; + if ("1197-3".equals(codeString)) + return V3Race._11973; + if ("1198-1".equals(codeString)) + return V3Race._11981; + if ("1199-9".equals(codeString)) + return V3Race._11999; + if ("1200-5".equals(codeString)) + return V3Race._12005; + if ("1201-3".equals(codeString)) + return V3Race._12013; + if ("1202-1".equals(codeString)) + return V3Race._12021; + if ("1203-9".equals(codeString)) + return V3Race._12039; + if ("1204-7".equals(codeString)) + return V3Race._12047; + if ("1205-4".equals(codeString)) + return V3Race._12054; + if ("1207-0".equals(codeString)) + return V3Race._12070; + if ("1209-6".equals(codeString)) + return V3Race._12096; + if ("1211-2".equals(codeString)) + return V3Race._12112; + if ("1212-0".equals(codeString)) + return V3Race._12120; + if ("1214-6".equals(codeString)) + return V3Race._12146; + if ("1215-3".equals(codeString)) + return V3Race._12153; + if ("1216-1".equals(codeString)) + return V3Race._12161; + if ("1217-9".equals(codeString)) + return V3Race._12179; + if ("1218-7".equals(codeString)) + return V3Race._12187; + if ("1219-5".equals(codeString)) + return V3Race._12195; + if ("1220-3".equals(codeString)) + return V3Race._12203; + if ("1222-9".equals(codeString)) + return V3Race._12229; + if ("1223-7".equals(codeString)) + return V3Race._12237; + if ("1224-5".equals(codeString)) + return V3Race._12245; + if ("1225-2".equals(codeString)) + return V3Race._12252; + if ("1226-0".equals(codeString)) + return V3Race._12260; + if ("1227-8".equals(codeString)) + return V3Race._12278; + if ("1228-6".equals(codeString)) + return V3Race._12286; + if ("1229-4".equals(codeString)) + return V3Race._12294; + if ("1230-2".equals(codeString)) + return V3Race._12302; + if ("1231-0".equals(codeString)) + return V3Race._12310; + if ("1233-6".equals(codeString)) + return V3Race._12336; + if ("1234-4".equals(codeString)) + return V3Race._12344; + if ("1235-1".equals(codeString)) + return V3Race._12351; + if ("1236-9".equals(codeString)) + return V3Race._12369; + if ("1237-7".equals(codeString)) + return V3Race._12377; + if ("1238-5".equals(codeString)) + return V3Race._12385; + if ("1239-3".equals(codeString)) + return V3Race._12393; + if ("1240-1".equals(codeString)) + return V3Race._12401; + if ("1241-9".equals(codeString)) + return V3Race._12419; + if ("1242-7".equals(codeString)) + return V3Race._12427; + if ("1243-5".equals(codeString)) + return V3Race._12435; + if ("1244-3".equals(codeString)) + return V3Race._12443; + if ("1245-0".equals(codeString)) + return V3Race._12450; + if ("1246-8".equals(codeString)) + return V3Race._12468; + if ("1247-6".equals(codeString)) + return V3Race._12476; + if ("1248-4".equals(codeString)) + return V3Race._12484; + if ("1250-0".equals(codeString)) + return V3Race._12500; + if ("1252-6".equals(codeString)) + return V3Race._12526; + if ("1254-2".equals(codeString)) + return V3Race._12542; + if ("1256-7".equals(codeString)) + return V3Race._12567; + if ("1258-3".equals(codeString)) + return V3Race._12583; + if ("1260-9".equals(codeString)) + return V3Race._12609; + if ("1262-5".equals(codeString)) + return V3Race._12625; + if ("1264-1".equals(codeString)) + return V3Race._12641; + if ("1265-8".equals(codeString)) + return V3Race._12658; + if ("1267-4".equals(codeString)) + return V3Race._12674; + if ("1269-0".equals(codeString)) + return V3Race._12690; + if ("1271-6".equals(codeString)) + return V3Race._12716; + if ("1272-4".equals(codeString)) + return V3Race._12724; + if ("1273-2".equals(codeString)) + return V3Race._12732; + if ("1275-7".equals(codeString)) + return V3Race._12757; + if ("1277-3".equals(codeString)) + return V3Race._12773; + if ("1279-9".equals(codeString)) + return V3Race._12799; + if ("1281-5".equals(codeString)) + return V3Race._12815; + if ("1282-3".equals(codeString)) + return V3Race._12823; + if ("1283-1".equals(codeString)) + return V3Race._12831; + if ("1285-6".equals(codeString)) + return V3Race._12856; + if ("1286-4".equals(codeString)) + return V3Race._12864; + if ("1287-2".equals(codeString)) + return V3Race._12872; + if ("1288-0".equals(codeString)) + return V3Race._12880; + if ("1289-8".equals(codeString)) + return V3Race._12898; + if ("1290-6".equals(codeString)) + return V3Race._12906; + if ("1291-4".equals(codeString)) + return V3Race._12914; + if ("1292-2".equals(codeString)) + return V3Race._12922; + if ("1293-0".equals(codeString)) + return V3Race._12930; + if ("1294-8".equals(codeString)) + return V3Race._12948; + if ("1295-5".equals(codeString)) + return V3Race._12955; + if ("1297-1".equals(codeString)) + return V3Race._12971; + if ("1299-7".equals(codeString)) + return V3Race._12997; + if ("1301-1".equals(codeString)) + return V3Race._13011; + if ("1303-7".equals(codeString)) + return V3Race._13037; + if ("1305-2".equals(codeString)) + return V3Race._13052; + if ("1306-0".equals(codeString)) + return V3Race._13060; + if ("1307-8".equals(codeString)) + return V3Race._13078; + if ("1309-4".equals(codeString)) + return V3Race._13094; + if ("1310-2".equals(codeString)) + return V3Race._13102; + if ("1312-8".equals(codeString)) + return V3Race._13128; + if ("1313-6".equals(codeString)) + return V3Race._13136; + if ("1314-4".equals(codeString)) + return V3Race._13144; + if ("1315-1".equals(codeString)) + return V3Race._13151; + if ("1317-7".equals(codeString)) + return V3Race._13177; + if ("1319-3".equals(codeString)) + return V3Race._13193; + if ("1321-9".equals(codeString)) + return V3Race._13219; + if ("1323-5".equals(codeString)) + return V3Race._13235; + if ("1325-0".equals(codeString)) + return V3Race._13250; + if ("1326-8".equals(codeString)) + return V3Race._13268; + if ("1327-6".equals(codeString)) + return V3Race._13276; + if ("1328-4".equals(codeString)) + return V3Race._13284; + if ("1329-2".equals(codeString)) + return V3Race._13292; + if ("1331-8".equals(codeString)) + return V3Race._13318; + if ("1332-6".equals(codeString)) + return V3Race._13326; + if ("1333-4".equals(codeString)) + return V3Race._13334; + if ("1334-2".equals(codeString)) + return V3Race._13342; + if ("1335-9".equals(codeString)) + return V3Race._13359; + if ("1336-7".equals(codeString)) + return V3Race._13367; + if ("1337-5".equals(codeString)) + return V3Race._13375; + if ("1338-3".equals(codeString)) + return V3Race._13383; + if ("1340-9".equals(codeString)) + return V3Race._13409; + if ("1342-5".equals(codeString)) + return V3Race._13425; + if ("1344-1".equals(codeString)) + return V3Race._13441; + if ("1345-8".equals(codeString)) + return V3Race._13458; + if ("1346-6".equals(codeString)) + return V3Race._13466; + if ("1348-2".equals(codeString)) + return V3Race._13482; + if ("1350-8".equals(codeString)) + return V3Race._13508; + if ("1352-4".equals(codeString)) + return V3Race._13524; + if ("1354-0".equals(codeString)) + return V3Race._13540; + if ("1356-5".equals(codeString)) + return V3Race._13565; + if ("1358-1".equals(codeString)) + return V3Race._13581; + if ("1359-9".equals(codeString)) + return V3Race._13599; + if ("1360-7".equals(codeString)) + return V3Race._13607; + if ("1361-5".equals(codeString)) + return V3Race._13615; + if ("1363-1".equals(codeString)) + return V3Race._13631; + if ("1365-6".equals(codeString)) + return V3Race._13656; + if ("1366-4".equals(codeString)) + return V3Race._13664; + if ("1368-0".equals(codeString)) + return V3Race._13680; + if ("1370-6".equals(codeString)) + return V3Race._13706; + if ("1372-2".equals(codeString)) + return V3Race._13722; + if ("1374-8".equals(codeString)) + return V3Race._13748; + if ("1376-3".equals(codeString)) + return V3Race._13763; + if ("1378-9".equals(codeString)) + return V3Race._13789; + if ("1380-5".equals(codeString)) + return V3Race._13805; + if ("1382-1".equals(codeString)) + return V3Race._13821; + if ("1383-9".equals(codeString)) + return V3Race._13839; + if ("1384-7".equals(codeString)) + return V3Race._13847; + if ("1385-4".equals(codeString)) + return V3Race._13854; + if ("1387-0".equals(codeString)) + return V3Race._13870; + if ("1389-6".equals(codeString)) + return V3Race._13896; + if ("1391-2".equals(codeString)) + return V3Race._13912; + if ("1392-0".equals(codeString)) + return V3Race._13920; + if ("1393-8".equals(codeString)) + return V3Race._13938; + if ("1394-6".equals(codeString)) + return V3Race._13946; + if ("1395-3".equals(codeString)) + return V3Race._13953; + if ("1396-1".equals(codeString)) + return V3Race._13961; + if ("1397-9".equals(codeString)) + return V3Race._13979; + if ("1398-7".equals(codeString)) + return V3Race._13987; + if ("1399-5".equals(codeString)) + return V3Race._13995; + if ("1400-1".equals(codeString)) + return V3Race._14001; + if ("1401-9".equals(codeString)) + return V3Race._14019; + if ("1403-5".equals(codeString)) + return V3Race._14035; + if ("1405-0".equals(codeString)) + return V3Race._14050; + if ("1407-6".equals(codeString)) + return V3Race._14076; + if ("1409-2".equals(codeString)) + return V3Race._14092; + if ("1411-8".equals(codeString)) + return V3Race._14118; + if ("1412-6".equals(codeString)) + return V3Race._14126; + if ("1413-4".equals(codeString)) + return V3Race._14134; + if ("1414-2".equals(codeString)) + return V3Race._14142; + if ("1416-7".equals(codeString)) + return V3Race._14167; + if ("1417-5".equals(codeString)) + return V3Race._14175; + if ("1418-3".equals(codeString)) + return V3Race._14183; + if ("1419-1".equals(codeString)) + return V3Race._14191; + if ("1420-9".equals(codeString)) + return V3Race._14209; + if ("1421-7".equals(codeString)) + return V3Race._14217; + if ("1422-5".equals(codeString)) + return V3Race._14225; + if ("1423-3".equals(codeString)) + return V3Race._14233; + if ("1424-1".equals(codeString)) + return V3Race._14241; + if ("1425-8".equals(codeString)) + return V3Race._14258; + if ("1426-6".equals(codeString)) + return V3Race._14266; + if ("1427-4".equals(codeString)) + return V3Race._14274; + if ("1428-2".equals(codeString)) + return V3Race._14282; + if ("1429-0".equals(codeString)) + return V3Race._14290; + if ("1430-8".equals(codeString)) + return V3Race._14308; + if ("1431-6".equals(codeString)) + return V3Race._14316; + if ("1432-4".equals(codeString)) + return V3Race._14324; + if ("1433-2".equals(codeString)) + return V3Race._14332; + if ("1434-0".equals(codeString)) + return V3Race._14340; + if ("1435-7".equals(codeString)) + return V3Race._14357; + if ("1436-5".equals(codeString)) + return V3Race._14365; + if ("1437-3".equals(codeString)) + return V3Race._14373; + if ("1439-9".equals(codeString)) + return V3Race._14399; + if ("1441-5".equals(codeString)) + return V3Race._14415; + if ("1442-3".equals(codeString)) + return V3Race._14423; + if ("1443-1".equals(codeString)) + return V3Race._14431; + if ("1445-6".equals(codeString)) + return V3Race._14456; + if ("1446-4".equals(codeString)) + return V3Race._14464; + if ("1448-0".equals(codeString)) + return V3Race._14480; + if ("1450-6".equals(codeString)) + return V3Race._14506; + if ("1451-4".equals(codeString)) + return V3Race._14514; + if ("1453-0".equals(codeString)) + return V3Race._14530; + if ("1454-8".equals(codeString)) + return V3Race._14548; + if ("1456-3".equals(codeString)) + return V3Race._14563; + if ("1457-1".equals(codeString)) + return V3Race._14571; + if ("1458-9".equals(codeString)) + return V3Race._14589; + if ("1460-5".equals(codeString)) + return V3Race._14605; + if ("1462-1".equals(codeString)) + return V3Race._14621; + if ("1464-7".equals(codeString)) + return V3Race._14647; + if ("1465-4".equals(codeString)) + return V3Race._14654; + if ("1466-2".equals(codeString)) + return V3Race._14662; + if ("1467-0".equals(codeString)) + return V3Race._14670; + if ("1468-8".equals(codeString)) + return V3Race._14688; + if ("1469-6".equals(codeString)) + return V3Race._14696; + if ("1470-4".equals(codeString)) + return V3Race._14704; + if ("1471-2".equals(codeString)) + return V3Race._14712; + if ("1472-0".equals(codeString)) + return V3Race._14720; + if ("1474-6".equals(codeString)) + return V3Race._14746; + if ("1475-3".equals(codeString)) + return V3Race._14753; + if ("1476-1".equals(codeString)) + return V3Race._14761; + if ("1478-7".equals(codeString)) + return V3Race._14787; + if ("1479-5".equals(codeString)) + return V3Race._14795; + if ("1480-3".equals(codeString)) + return V3Race._14803; + if ("1481-1".equals(codeString)) + return V3Race._14811; + if ("1482-9".equals(codeString)) + return V3Race._14829; + if ("1483-7".equals(codeString)) + return V3Race._14837; + if ("1484-5".equals(codeString)) + return V3Race._14845; + if ("1485-2".equals(codeString)) + return V3Race._14852; + if ("1487-8".equals(codeString)) + return V3Race._14878; + if ("1489-4".equals(codeString)) + return V3Race._14894; + if ("1490-2".equals(codeString)) + return V3Race._14902; + if ("1491-0".equals(codeString)) + return V3Race._14910; + if ("1492-8".equals(codeString)) + return V3Race._14928; + if ("1493-6".equals(codeString)) + return V3Race._14936; + if ("1494-4".equals(codeString)) + return V3Race._14944; + if ("1495-1".equals(codeString)) + return V3Race._14951; + if ("1496-9".equals(codeString)) + return V3Race._14969; + if ("1497-7".equals(codeString)) + return V3Race._14977; + if ("1498-5".equals(codeString)) + return V3Race._14985; + if ("1499-3".equals(codeString)) + return V3Race._14993; + if ("1500-8".equals(codeString)) + return V3Race._15008; + if ("1501-6".equals(codeString)) + return V3Race._15016; + if ("1502-4".equals(codeString)) + return V3Race._15024; + if ("1503-2".equals(codeString)) + return V3Race._15032; + if ("1504-0".equals(codeString)) + return V3Race._15040; + if ("1505-7".equals(codeString)) + return V3Race._15057; + if ("1506-5".equals(codeString)) + return V3Race._15065; + if ("1507-3".equals(codeString)) + return V3Race._15073; + if ("1508-1".equals(codeString)) + return V3Race._15081; + if ("1509-9".equals(codeString)) + return V3Race._15099; + if ("1510-7".equals(codeString)) + return V3Race._15107; + if ("1511-5".equals(codeString)) + return V3Race._15115; + if ("1512-3".equals(codeString)) + return V3Race._15123; + if ("1513-1".equals(codeString)) + return V3Race._15131; + if ("1514-9".equals(codeString)) + return V3Race._15149; + if ("1515-6".equals(codeString)) + return V3Race._15156; + if ("1516-4".equals(codeString)) + return V3Race._15164; + if ("1518-0".equals(codeString)) + return V3Race._15180; + if ("1519-8".equals(codeString)) + return V3Race._15198; + if ("1520-6".equals(codeString)) + return V3Race._15206; + if ("1521-4".equals(codeString)) + return V3Race._15214; + if ("1522-2".equals(codeString)) + return V3Race._15222; + if ("1523-0".equals(codeString)) + return V3Race._15230; + if ("1524-8".equals(codeString)) + return V3Race._15248; + if ("1525-5".equals(codeString)) + return V3Race._15255; + if ("1526-3".equals(codeString)) + return V3Race._15263; + if ("1527-1".equals(codeString)) + return V3Race._15271; + if ("1528-9".equals(codeString)) + return V3Race._15289; + if ("1529-7".equals(codeString)) + return V3Race._15297; + if ("1530-5".equals(codeString)) + return V3Race._15305; + if ("1531-3".equals(codeString)) + return V3Race._15313; + if ("1532-1".equals(codeString)) + return V3Race._15321; + if ("1533-9".equals(codeString)) + return V3Race._15339; + if ("1534-7".equals(codeString)) + return V3Race._15347; + if ("1535-4".equals(codeString)) + return V3Race._15354; + if ("1536-2".equals(codeString)) + return V3Race._15362; + if ("1537-0".equals(codeString)) + return V3Race._15370; + if ("1538-8".equals(codeString)) + return V3Race._15388; + if ("1539-6".equals(codeString)) + return V3Race._15396; + if ("1541-2".equals(codeString)) + return V3Race._15412; + if ("1543-8".equals(codeString)) + return V3Race._15438; + if ("1545-3".equals(codeString)) + return V3Race._15453; + if ("1547-9".equals(codeString)) + return V3Race._15479; + if ("1549-5".equals(codeString)) + return V3Race._15495; + if ("1551-1".equals(codeString)) + return V3Race._15511; + if ("1552-9".equals(codeString)) + return V3Race._15529; + if ("1553-7".equals(codeString)) + return V3Race._15537; + if ("1554-5".equals(codeString)) + return V3Race._15545; + if ("1556-0".equals(codeString)) + return V3Race._15560; + if ("1558-6".equals(codeString)) + return V3Race._15586; + if ("1560-2".equals(codeString)) + return V3Race._15602; + if ("1562-8".equals(codeString)) + return V3Race._15628; + if ("1564-4".equals(codeString)) + return V3Race._15644; + if ("1566-9".equals(codeString)) + return V3Race._15669; + if ("1567-7".equals(codeString)) + return V3Race._15677; + if ("1568-5".equals(codeString)) + return V3Race._15685; + if ("1569-3".equals(codeString)) + return V3Race._15693; + if ("1570-1".equals(codeString)) + return V3Race._15701; + if ("1571-9".equals(codeString)) + return V3Race._15719; + if ("1573-5".equals(codeString)) + return V3Race._15735; + if ("1574-3".equals(codeString)) + return V3Race._15743; + if ("1576-8".equals(codeString)) + return V3Race._15768; + if ("1578-4".equals(codeString)) + return V3Race._15784; + if ("1579-2".equals(codeString)) + return V3Race._15792; + if ("1580-0".equals(codeString)) + return V3Race._15800; + if ("1582-6".equals(codeString)) + return V3Race._15826; + if ("1584-2".equals(codeString)) + return V3Race._15842; + if ("1586-7".equals(codeString)) + return V3Race._15867; + if ("1587-5".equals(codeString)) + return V3Race._15875; + if ("1588-3".equals(codeString)) + return V3Race._15883; + if ("1589-1".equals(codeString)) + return V3Race._15891; + if ("1590-9".equals(codeString)) + return V3Race._15909; + if ("1591-7".equals(codeString)) + return V3Race._15917; + if ("1592-5".equals(codeString)) + return V3Race._15925; + if ("1593-3".equals(codeString)) + return V3Race._15933; + if ("1594-1".equals(codeString)) + return V3Race._15941; + if ("1595-8".equals(codeString)) + return V3Race._15958; + if ("1596-6".equals(codeString)) + return V3Race._15966; + if ("1597-4".equals(codeString)) + return V3Race._15974; + if ("1598-2".equals(codeString)) + return V3Race._15982; + if ("1599-0".equals(codeString)) + return V3Race._15990; + if ("1600-6".equals(codeString)) + return V3Race._16006; + if ("1602-2".equals(codeString)) + return V3Race._16022; + if ("1603-0".equals(codeString)) + return V3Race._16030; + if ("1604-8".equals(codeString)) + return V3Race._16048; + if ("1605-5".equals(codeString)) + return V3Race._16055; + if ("1607-1".equals(codeString)) + return V3Race._16071; + if ("1609-7".equals(codeString)) + return V3Race._16097; + if ("1610-5".equals(codeString)) + return V3Race._16105; + if ("1611-3".equals(codeString)) + return V3Race._16113; + if ("1612-1".equals(codeString)) + return V3Race._16121; + if ("1613-9".equals(codeString)) + return V3Race._16139; + if ("1614-7".equals(codeString)) + return V3Race._16147; + if ("1615-4".equals(codeString)) + return V3Race._16154; + if ("1616-2".equals(codeString)) + return V3Race._16162; + if ("1617-0".equals(codeString)) + return V3Race._16170; + if ("1618-8".equals(codeString)) + return V3Race._16188; + if ("1619-6".equals(codeString)) + return V3Race._16196; + if ("1620-4".equals(codeString)) + return V3Race._16204; + if ("1621-2".equals(codeString)) + return V3Race._16212; + if ("1622-0".equals(codeString)) + return V3Race._16220; + if ("1623-8".equals(codeString)) + return V3Race._16238; + if ("1624-6".equals(codeString)) + return V3Race._16246; + if ("1625-3".equals(codeString)) + return V3Race._16253; + if ("1626-1".equals(codeString)) + return V3Race._16261; + if ("1627-9".equals(codeString)) + return V3Race._16279; + if ("1628-7".equals(codeString)) + return V3Race._16287; + if ("1629-5".equals(codeString)) + return V3Race._16295; + if ("1630-3".equals(codeString)) + return V3Race._16303; + if ("1631-1".equals(codeString)) + return V3Race._16311; + if ("1632-9".equals(codeString)) + return V3Race._16329; + if ("1633-7".equals(codeString)) + return V3Race._16337; + if ("1634-5".equals(codeString)) + return V3Race._16345; + if ("1635-2".equals(codeString)) + return V3Race._16352; + if ("1636-0".equals(codeString)) + return V3Race._16360; + if ("1637-8".equals(codeString)) + return V3Race._16378; + if ("1638-6".equals(codeString)) + return V3Race._16386; + if ("1639-4".equals(codeString)) + return V3Race._16394; + if ("1640-2".equals(codeString)) + return V3Race._16402; + if ("1641-0".equals(codeString)) + return V3Race._16410; + if ("1643-6".equals(codeString)) + return V3Race._16436; + if ("1645-1".equals(codeString)) + return V3Race._16451; + if ("1647-7".equals(codeString)) + return V3Race._16477; + if ("1649-3".equals(codeString)) + return V3Race._16493; + if ("1651-9".equals(codeString)) + return V3Race._16519; + if ("1653-5".equals(codeString)) + return V3Race._16535; + if ("1654-3".equals(codeString)) + return V3Race._16543; + if ("1655-0".equals(codeString)) + return V3Race._16550; + if ("1656-8".equals(codeString)) + return V3Race._16568; + if ("1657-6".equals(codeString)) + return V3Race._16576; + if ("1659-2".equals(codeString)) + return V3Race._16592; + if ("1661-8".equals(codeString)) + return V3Race._16618; + if ("1663-4".equals(codeString)) + return V3Race._16634; + if ("1665-9".equals(codeString)) + return V3Race._16659; + if ("1667-5".equals(codeString)) + return V3Race._16675; + if ("1668-3".equals(codeString)) + return V3Race._16683; + if ("1670-9".equals(codeString)) + return V3Race._16709; + if ("1671-7".equals(codeString)) + return V3Race._16717; + if ("1672-5".equals(codeString)) + return V3Race._16725; + if ("1673-3".equals(codeString)) + return V3Race._16733; + if ("1675-8".equals(codeString)) + return V3Race._16758; + if ("1677-4".equals(codeString)) + return V3Race._16774; + if ("1679-0".equals(codeString)) + return V3Race._16790; + if ("1680-8".equals(codeString)) + return V3Race._16808; + if ("1681-6".equals(codeString)) + return V3Race._16816; + if ("1683-2".equals(codeString)) + return V3Race._16832; + if ("1685-7".equals(codeString)) + return V3Race._16857; + if ("1687-3".equals(codeString)) + return V3Race._16873; + if ("1688-1".equals(codeString)) + return V3Race._16881; + if ("1689-9".equals(codeString)) + return V3Race._16899; + if ("1690-7".equals(codeString)) + return V3Race._16907; + if ("1692-3".equals(codeString)) + return V3Race._16923; + if ("1694-9".equals(codeString)) + return V3Race._16949; + if ("1696-4".equals(codeString)) + return V3Race._16964; + if ("1697-2".equals(codeString)) + return V3Race._16972; + if ("1698-0".equals(codeString)) + return V3Race._16980; + if ("1700-4".equals(codeString)) + return V3Race._17004; + if ("1702-0".equals(codeString)) + return V3Race._17020; + if ("1704-6".equals(codeString)) + return V3Race._17046; + if ("1705-3".equals(codeString)) + return V3Race._17053; + if ("1707-9".equals(codeString)) + return V3Race._17079; + if ("1709-5".equals(codeString)) + return V3Race._17095; + if ("1711-1".equals(codeString)) + return V3Race._17111; + if ("1712-9".equals(codeString)) + return V3Race._17129; + if ("1713-7".equals(codeString)) + return V3Race._17137; + if ("1715-2".equals(codeString)) + return V3Race._17152; + if ("1717-8".equals(codeString)) + return V3Race._17178; + if ("1718-6".equals(codeString)) + return V3Race._17186; + if ("1719-4".equals(codeString)) + return V3Race._17194; + if ("1720-2".equals(codeString)) + return V3Race._17202; + if ("1722-8".equals(codeString)) + return V3Race._17228; + if ("1724-4".equals(codeString)) + return V3Race._17244; + if ("1725-1".equals(codeString)) + return V3Race._17251; + if ("1726-9".equals(codeString)) + return V3Race._17269; + if ("1727-7".equals(codeString)) + return V3Race._17277; + if ("1728-5".equals(codeString)) + return V3Race._17285; + if ("1729-3".equals(codeString)) + return V3Race._17293; + if ("1730-1".equals(codeString)) + return V3Race._17301; + if ("1731-9".equals(codeString)) + return V3Race._17319; + if ("1732-7".equals(codeString)) + return V3Race._17327; + if ("1733-5".equals(codeString)) + return V3Race._17335; + if ("1735-0".equals(codeString)) + return V3Race._17350; + if ("1737-6".equals(codeString)) + return V3Race._17376; + if ("1739-2".equals(codeString)) + return V3Race._17392; + if ("1740-0".equals(codeString)) + return V3Race._17400; + if ("1811-9".equals(codeString)) + return V3Race._18119; + if ("1813-5".equals(codeString)) + return V3Race._18135; + if ("1814-3".equals(codeString)) + return V3Race._18143; + if ("1815-0".equals(codeString)) + return V3Race._18150; + if ("1816-8".equals(codeString)) + return V3Race._18168; + if ("1817-6".equals(codeString)) + return V3Race._18176; + if ("1818-4".equals(codeString)) + return V3Race._18184; + if ("1819-2".equals(codeString)) + return V3Race._18192; + if ("1820-0".equals(codeString)) + return V3Race._18200; + if ("1821-8".equals(codeString)) + return V3Race._18218; + if ("1822-6".equals(codeString)) + return V3Race._18226; + if ("1823-4".equals(codeString)) + return V3Race._18234; + if ("1824-2".equals(codeString)) + return V3Race._18242; + if ("1825-9".equals(codeString)) + return V3Race._18259; + if ("1826-7".equals(codeString)) + return V3Race._18267; + if ("1827-5".equals(codeString)) + return V3Race._18275; + if ("1828-3".equals(codeString)) + return V3Race._18283; + if ("1829-1".equals(codeString)) + return V3Race._18291; + if ("1830-9".equals(codeString)) + return V3Race._18309; + if ("1831-7".equals(codeString)) + return V3Race._18317; + if ("1832-5".equals(codeString)) + return V3Race._18325; + if ("1833-3".equals(codeString)) + return V3Race._18333; + if ("1834-1".equals(codeString)) + return V3Race._18341; + if ("1835-8".equals(codeString)) + return V3Race._18358; + if ("1837-4".equals(codeString)) + return V3Race._18374; + if ("1838-2".equals(codeString)) + return V3Race._18382; + if ("1840-8".equals(codeString)) + return V3Race._18408; + if ("1842-4".equals(codeString)) + return V3Race._18424; + if ("1844-0".equals(codeString)) + return V3Race._18440; + if ("1845-7".equals(codeString)) + return V3Race._18457; + if ("1846-5".equals(codeString)) + return V3Race._18465; + if ("1847-3".equals(codeString)) + return V3Race._18473; + if ("1848-1".equals(codeString)) + return V3Race._18481; + if ("1849-9".equals(codeString)) + return V3Race._18499; + if ("1850-7".equals(codeString)) + return V3Race._18507; + if ("1851-5".equals(codeString)) + return V3Race._18515; + if ("1852-3".equals(codeString)) + return V3Race._18523; + if ("1853-1".equals(codeString)) + return V3Race._18531; + if ("1854-9".equals(codeString)) + return V3Race._18549; + if ("1855-6".equals(codeString)) + return V3Race._18556; + if ("1856-4".equals(codeString)) + return V3Race._18564; + if ("1857-2".equals(codeString)) + return V3Race._18572; + if ("1858-0".equals(codeString)) + return V3Race._18580; + if ("1859-8".equals(codeString)) + return V3Race._18598; + if ("1860-6".equals(codeString)) + return V3Race._18606; + if ("1861-4".equals(codeString)) + return V3Race._18614; + if ("1862-2".equals(codeString)) + return V3Race._18622; + if ("1863-0".equals(codeString)) + return V3Race._18630; + if ("1864-8".equals(codeString)) + return V3Race._18648; + if ("1865-5".equals(codeString)) + return V3Race._18655; + if ("1866-3".equals(codeString)) + return V3Race._18663; + if ("1867-1".equals(codeString)) + return V3Race._18671; + if ("1868-9".equals(codeString)) + return V3Race._18689; + if ("1869-7".equals(codeString)) + return V3Race._18697; + if ("1870-5".equals(codeString)) + return V3Race._18705; + if ("1871-3".equals(codeString)) + return V3Race._18713; + if ("1872-1".equals(codeString)) + return V3Race._18721; + if ("1873-9".equals(codeString)) + return V3Race._18739; + if ("1874-7".equals(codeString)) + return V3Race._18747; + if ("1875-4".equals(codeString)) + return V3Race._18754; + if ("1876-2".equals(codeString)) + return V3Race._18762; + if ("1877-0".equals(codeString)) + return V3Race._18770; + if ("1878-8".equals(codeString)) + return V3Race._18788; + if ("1879-6".equals(codeString)) + return V3Race._18796; + if ("1880-4".equals(codeString)) + return V3Race._18804; + if ("1881-2".equals(codeString)) + return V3Race._18812; + if ("1882-0".equals(codeString)) + return V3Race._18820; + if ("1883-8".equals(codeString)) + return V3Race._18838; + if ("1884-6".equals(codeString)) + return V3Race._18846; + if ("1885-3".equals(codeString)) + return V3Race._18853; + if ("1886-1".equals(codeString)) + return V3Race._18861; + if ("1887-9".equals(codeString)) + return V3Race._18879; + if ("1888-7".equals(codeString)) + return V3Race._18887; + if ("1889-5".equals(codeString)) + return V3Race._18895; + if ("1891-1".equals(codeString)) + return V3Race._18911; + if ("1892-9".equals(codeString)) + return V3Race._18929; + if ("1893-7".equals(codeString)) + return V3Race._18937; + if ("1894-5".equals(codeString)) + return V3Race._18945; + if ("1896-0".equals(codeString)) + return V3Race._18960; + if ("1897-8".equals(codeString)) + return V3Race._18978; + if ("1898-6".equals(codeString)) + return V3Race._18986; + if ("1899-4".equals(codeString)) + return V3Race._18994; + if ("1900-0".equals(codeString)) + return V3Race._19000; + if ("1901-8".equals(codeString)) + return V3Race._19018; + if ("1902-6".equals(codeString)) + return V3Race._19026; + if ("1903-4".equals(codeString)) + return V3Race._19034; + if ("1904-2".equals(codeString)) + return V3Race._19042; + if ("1905-9".equals(codeString)) + return V3Race._19059; + if ("1906-7".equals(codeString)) + return V3Race._19067; + if ("1907-5".equals(codeString)) + return V3Race._19075; + if ("1908-3".equals(codeString)) + return V3Race._19083; + if ("1909-1".equals(codeString)) + return V3Race._19091; + if ("1910-9".equals(codeString)) + return V3Race._19109; + if ("1911-7".equals(codeString)) + return V3Race._19117; + if ("1912-5".equals(codeString)) + return V3Race._19125; + if ("1913-3".equals(codeString)) + return V3Race._19133; + if ("1914-1".equals(codeString)) + return V3Race._19141; + if ("1915-8".equals(codeString)) + return V3Race._19158; + if ("1916-6".equals(codeString)) + return V3Race._19166; + if ("1917-4".equals(codeString)) + return V3Race._19174; + if ("1918-2".equals(codeString)) + return V3Race._19182; + if ("1919-0".equals(codeString)) + return V3Race._19190; + if ("1920-8".equals(codeString)) + return V3Race._19208; + if ("1921-6".equals(codeString)) + return V3Race._19216; + if ("1922-4".equals(codeString)) + return V3Race._19224; + if ("1923-2".equals(codeString)) + return V3Race._19232; + if ("1924-0".equals(codeString)) + return V3Race._19240; + if ("1925-7".equals(codeString)) + return V3Race._19257; + if ("1926-5".equals(codeString)) + return V3Race._19265; + if ("1927-3".equals(codeString)) + return V3Race._19273; + if ("1928-1".equals(codeString)) + return V3Race._19281; + if ("1929-9".equals(codeString)) + return V3Race._19299; + if ("1930-7".equals(codeString)) + return V3Race._19307; + if ("1931-5".equals(codeString)) + return V3Race._19315; + if ("1932-3".equals(codeString)) + return V3Race._19323; + if ("1933-1".equals(codeString)) + return V3Race._19331; + if ("1934-9".equals(codeString)) + return V3Race._19349; + if ("1935-6".equals(codeString)) + return V3Race._19356; + if ("1936-4".equals(codeString)) + return V3Race._19364; + if ("1937-2".equals(codeString)) + return V3Race._19372; + if ("1938-0".equals(codeString)) + return V3Race._19380; + if ("1939-8".equals(codeString)) + return V3Race._19398; + if ("1940-6".equals(codeString)) + return V3Race._19406; + if ("1941-4".equals(codeString)) + return V3Race._19414; + if ("1942-2".equals(codeString)) + return V3Race._19422; + if ("1943-0".equals(codeString)) + return V3Race._19430; + if ("1944-8".equals(codeString)) + return V3Race._19448; + if ("1945-5".equals(codeString)) + return V3Race._19455; + if ("1946-3".equals(codeString)) + return V3Race._19463; + if ("1947-1".equals(codeString)) + return V3Race._19471; + if ("1948-9".equals(codeString)) + return V3Race._19489; + if ("1949-7".equals(codeString)) + return V3Race._19497; + if ("1950-5".equals(codeString)) + return V3Race._19505; + if ("1951-3".equals(codeString)) + return V3Race._19513; + if ("1952-1".equals(codeString)) + return V3Race._19521; + if ("1953-9".equals(codeString)) + return V3Race._19539; + if ("1954-7".equals(codeString)) + return V3Race._19547; + if ("1955-4".equals(codeString)) + return V3Race._19554; + if ("1956-2".equals(codeString)) + return V3Race._19562; + if ("1957-0".equals(codeString)) + return V3Race._19570; + if ("1958-8".equals(codeString)) + return V3Race._19588; + if ("1959-6".equals(codeString)) + return V3Race._19596; + if ("1960-4".equals(codeString)) + return V3Race._19604; + if ("1961-2".equals(codeString)) + return V3Race._19612; + if ("1962-0".equals(codeString)) + return V3Race._19620; + if ("1963-8".equals(codeString)) + return V3Race._19638; + if ("1964-6".equals(codeString)) + return V3Race._19646; + if ("1966-1".equals(codeString)) + return V3Race._19661; + if ("1968-7".equals(codeString)) + return V3Race._19687; + if ("1969-5".equals(codeString)) + return V3Race._19695; + if ("1970-3".equals(codeString)) + return V3Race._19703; + if ("1972-9".equals(codeString)) + return V3Race._19729; + if ("1973-7".equals(codeString)) + return V3Race._19737; + if ("1974-5".equals(codeString)) + return V3Race._19745; + if ("1975-2".equals(codeString)) + return V3Race._19752; + if ("1976-0".equals(codeString)) + return V3Race._19760; + if ("1977-8".equals(codeString)) + return V3Race._19778; + if ("1978-6".equals(codeString)) + return V3Race._19786; + if ("1979-4".equals(codeString)) + return V3Race._19794; + if ("1980-2".equals(codeString)) + return V3Race._19802; + if ("1981-0".equals(codeString)) + return V3Race._19810; + if ("1982-8".equals(codeString)) + return V3Race._19828; + if ("1984-4".equals(codeString)) + return V3Race._19844; + if ("1985-1".equals(codeString)) + return V3Race._19851; + if ("1986-9".equals(codeString)) + return V3Race._19869; + if ("1987-7".equals(codeString)) + return V3Race._19877; + if ("1988-5".equals(codeString)) + return V3Race._19885; + if ("1990-1".equals(codeString)) + return V3Race._19901; + if ("1992-7".equals(codeString)) + return V3Race._19927; + if ("1993-5".equals(codeString)) + return V3Race._19935; + if ("1994-3".equals(codeString)) + return V3Race._19943; + if ("1995-0".equals(codeString)) + return V3Race._19950; + if ("1996-8".equals(codeString)) + return V3Race._19968; + if ("1997-6".equals(codeString)) + return V3Race._19976; + if ("1998-4".equals(codeString)) + return V3Race._19984; + if ("1999-2".equals(codeString)) + return V3Race._19992; + if ("2000-8".equals(codeString)) + return V3Race._20008; + if ("2002-4".equals(codeString)) + return V3Race._20024; + if ("2004-0".equals(codeString)) + return V3Race._20040; + if ("2006-5".equals(codeString)) + return V3Race._20065; + if ("2007-3".equals(codeString)) + return V3Race._20073; + if ("2008-1".equals(codeString)) + return V3Race._20081; + if ("2009-9".equals(codeString)) + return V3Race._20099; + if ("2010-7".equals(codeString)) + return V3Race._20107; + if ("2011-5".equals(codeString)) + return V3Race._20115; + if ("2012-3".equals(codeString)) + return V3Race._20123; + if ("2013-1".equals(codeString)) + return V3Race._20131; + if ("2014-9".equals(codeString)) + return V3Race._20149; + if ("2015-6".equals(codeString)) + return V3Race._20156; + if ("2016-4".equals(codeString)) + return V3Race._20164; + if ("2017-2".equals(codeString)) + return V3Race._20172; + if ("2018-0".equals(codeString)) + return V3Race._20180; + if ("2019-8".equals(codeString)) + return V3Race._20198; + if ("2020-6".equals(codeString)) + return V3Race._20206; + if ("2021-4".equals(codeString)) + return V3Race._20214; + if ("2022-2".equals(codeString)) + return V3Race._20222; + if ("2023-0".equals(codeString)) + return V3Race._20230; + if ("2024-8".equals(codeString)) + return V3Race._20248; + if ("2025-5".equals(codeString)) + return V3Race._20255; + if ("2026-3".equals(codeString)) + return V3Race._20263; + if ("2028-9".equals(codeString)) + return V3Race._20289; + if ("2029-7".equals(codeString)) + return V3Race._20297; + if ("2030-5".equals(codeString)) + return V3Race._20305; + if ("2031-3".equals(codeString)) + return V3Race._20313; + if ("2032-1".equals(codeString)) + return V3Race._20321; + if ("2033-9".equals(codeString)) + return V3Race._20339; + if ("2034-7".equals(codeString)) + return V3Race._20347; + if ("2035-4".equals(codeString)) + return V3Race._20354; + if ("2036-2".equals(codeString)) + return V3Race._20362; + if ("2037-0".equals(codeString)) + return V3Race._20370; + if ("2038-8".equals(codeString)) + return V3Race._20388; + if ("2039-6".equals(codeString)) + return V3Race._20396; + if ("2040-4".equals(codeString)) + return V3Race._20404; + if ("2041-2".equals(codeString)) + return V3Race._20412; + if ("2042-0".equals(codeString)) + return V3Race._20420; + if ("2043-8".equals(codeString)) + return V3Race._20438; + if ("2044-6".equals(codeString)) + return V3Race._20446; + if ("2045-3".equals(codeString)) + return V3Race._20453; + if ("2046-1".equals(codeString)) + return V3Race._20461; + if ("2047-9".equals(codeString)) + return V3Race._20479; + if ("2048-7".equals(codeString)) + return V3Race._20487; + if ("2049-5".equals(codeString)) + return V3Race._20495; + if ("2050-3".equals(codeString)) + return V3Race._20503; + if ("2051-1".equals(codeString)) + return V3Race._20511; + if ("2052-9".equals(codeString)) + return V3Race._20529; + if ("2054-5".equals(codeString)) + return V3Race._20545; + if ("2056-0".equals(codeString)) + return V3Race._20560; + if ("2058-6".equals(codeString)) + return V3Race._20586; + if ("2060-2".equals(codeString)) + return V3Race._20602; + if ("2061-0".equals(codeString)) + return V3Race._20610; + if ("2062-8".equals(codeString)) + return V3Race._20628; + if ("2063-6".equals(codeString)) + return V3Race._20636; + if ("2064-4".equals(codeString)) + return V3Race._20644; + if ("2065-1".equals(codeString)) + return V3Race._20651; + if ("2066-9".equals(codeString)) + return V3Race._20669; + if ("2067-7".equals(codeString)) + return V3Race._20677; + if ("2068-5".equals(codeString)) + return V3Race._20685; + if ("2069-3".equals(codeString)) + return V3Race._20693; + if ("2070-1".equals(codeString)) + return V3Race._20701; + if ("2071-9".equals(codeString)) + return V3Race._20719; + if ("2072-7".equals(codeString)) + return V3Race._20727; + if ("2073-5".equals(codeString)) + return V3Race._20735; + if ("2074-3".equals(codeString)) + return V3Race._20743; + if ("2075-0".equals(codeString)) + return V3Race._20750; + if ("2076-8".equals(codeString)) + return V3Race._20768; + if ("2078-4".equals(codeString)) + return V3Race._20784; + if ("2079-2".equals(codeString)) + return V3Race._20792; + if ("2080-0".equals(codeString)) + return V3Race._20800; + if ("2081-8".equals(codeString)) + return V3Race._20818; + if ("2082-6".equals(codeString)) + return V3Race._20826; + if ("2083-4".equals(codeString)) + return V3Race._20834; + if ("2085-9".equals(codeString)) + return V3Race._20859; + if ("2086-7".equals(codeString)) + return V3Race._20867; + if ("2087-5".equals(codeString)) + return V3Race._20875; + if ("2088-3".equals(codeString)) + return V3Race._20883; + if ("2089-1".equals(codeString)) + return V3Race._20891; + if ("2090-9".equals(codeString)) + return V3Race._20909; + if ("2091-7".equals(codeString)) + return V3Race._20917; + if ("2092-5".equals(codeString)) + return V3Race._20925; + if ("2093-3".equals(codeString)) + return V3Race._20933; + if ("2094-1".equals(codeString)) + return V3Race._20941; + if ("2095-8".equals(codeString)) + return V3Race._20958; + if ("2096-6".equals(codeString)) + return V3Race._20966; + if ("2097-4".equals(codeString)) + return V3Race._20974; + if ("2098-2".equals(codeString)) + return V3Race._20982; + if ("2100-6".equals(codeString)) + return V3Race._21006; + if ("2101-4".equals(codeString)) + return V3Race._21014; + if ("2102-2".equals(codeString)) + return V3Race._21022; + if ("2103-0".equals(codeString)) + return V3Race._21030; + if ("2104-8".equals(codeString)) + return V3Race._21048; + if ("2500-7".equals(codeString)) + return V3Race._25007; + if ("2106-3".equals(codeString)) + return V3Race._21063; + if ("2108-9".equals(codeString)) + return V3Race._21089; + if ("2109-7".equals(codeString)) + return V3Race._21097; + if ("2110-5".equals(codeString)) + return V3Race._21105; + if ("2111-3".equals(codeString)) + return V3Race._21113; + if ("2112-1".equals(codeString)) + return V3Race._21121; + if ("2113-9".equals(codeString)) + return V3Race._21139; + if ("2114-7".equals(codeString)) + return V3Race._21147; + if ("2115-4".equals(codeString)) + return V3Race._21154; + if ("2116-2".equals(codeString)) + return V3Race._21162; + if ("2118-8".equals(codeString)) + return V3Race._21188; + if ("2119-6".equals(codeString)) + return V3Race._21196; + if ("2120-4".equals(codeString)) + return V3Race._21204; + if ("2121-2".equals(codeString)) + return V3Race._21212; + if ("2122-0".equals(codeString)) + return V3Race._21220; + if ("2123-8".equals(codeString)) + return V3Race._21238; + if ("2124-6".equals(codeString)) + return V3Race._21246; + if ("2125-3".equals(codeString)) + return V3Race._21253; + if ("2126-1".equals(codeString)) + return V3Race._21261; + if ("2127-9".equals(codeString)) + return V3Race._21279; + if ("2129-5".equals(codeString)) + return V3Race._21295; + if ("2131-1".equals(codeString)) + return V3Race._21311; + throw new IllegalArgumentException("Unknown V3Race code '"+codeString+"'"); + } + + public String toCode(V3Race code) { + if (code == V3Race._10025) + return "1002-5"; + if (code == V3Race._10041) + return "1004-1"; + if (code == V3Race._10066) + return "1006-6"; + if (code == V3Race._10082) + return "1008-2"; + if (code == V3Race._10108) + return "1010-8"; + if (code == V3Race._10116) + return "1011-6"; + if (code == V3Race._10124) + return "1012-4"; + if (code == V3Race._10132) + return "1013-2"; + if (code == V3Race._10140) + return "1014-0"; + if (code == V3Race._10157) + return "1015-7"; + if (code == V3Race._10165) + return "1016-5"; + if (code == V3Race._10173) + return "1017-3"; + if (code == V3Race._10181) + return "1018-1"; + if (code == V3Race._10199) + return "1019-9"; + if (code == V3Race._10215) + return "1021-5"; + if (code == V3Race._10223) + return "1022-3"; + if (code == V3Race._10231) + return "1023-1"; + if (code == V3Race._10249) + return "1024-9"; + if (code == V3Race._10264) + return "1026-4"; + if (code == V3Race._10280) + return "1028-0"; + if (code == V3Race._10306) + return "1030-6"; + if (code == V3Race._10314) + return "1031-4"; + if (code == V3Race._10330) + return "1033-0"; + if (code == V3Race._10355) + return "1035-5"; + if (code == V3Race._10371) + return "1037-1"; + if (code == V3Race._10397) + return "1039-7"; + if (code == V3Race._10413) + return "1041-3"; + if (code == V3Race._10421) + return "1042-1"; + if (code == V3Race._10447) + return "1044-7"; + if (code == V3Race._10454) + return "1045-4"; + if (code == V3Race._10462) + return "1046-2"; + if (code == V3Race._10470) + return "1047-0"; + if (code == V3Race._10488) + return "1048-8"; + if (code == V3Race._10496) + return "1049-6"; + if (code == V3Race._10504) + return "1050-4"; + if (code == V3Race._10512) + return "1051-2"; + if (code == V3Race._10538) + return "1053-8"; + if (code == V3Race._10546) + return "1054-6"; + if (code == V3Race._10553) + return "1055-3"; + if (code == V3Race._10561) + return "1056-1"; + if (code == V3Race._10579) + return "1057-9"; + if (code == V3Race._10587) + return "1058-7"; + if (code == V3Race._10595) + return "1059-5"; + if (code == V3Race._10603) + return "1060-3"; + if (code == V3Race._10611) + return "1061-1"; + if (code == V3Race._10629) + return "1062-9"; + if (code == V3Race._10637) + return "1063-7"; + if (code == V3Race._10645) + return "1064-5"; + if (code == V3Race._10652) + return "1065-2"; + if (code == V3Race._10660) + return "1066-0"; + if (code == V3Race._10686) + return "1068-6"; + if (code == V3Race._10694) + return "1069-4"; + if (code == V3Race._10702) + return "1070-2"; + if (code == V3Race._10710) + return "1071-0"; + if (code == V3Race._10728) + return "1072-8"; + if (code == V3Race._10736) + return "1073-6"; + if (code == V3Race._10744) + return "1074-4"; + if (code == V3Race._10769) + return "1076-9"; + if (code == V3Race._17418) + return "1741-8"; + if (code == V3Race._17426) + return "1742-6"; + if (code == V3Race._17434) + return "1743-4"; + if (code == V3Race._17442) + return "1744-2"; + if (code == V3Race._17459) + return "1745-9"; + if (code == V3Race._17467) + return "1746-7"; + if (code == V3Race._17475) + return "1747-5"; + if (code == V3Race._17483) + return "1748-3"; + if (code == V3Race._17491) + return "1749-1"; + if (code == V3Race._17509) + return "1750-9"; + if (code == V3Race._17517) + return "1751-7"; + if (code == V3Race._17525) + return "1752-5"; + if (code == V3Race._17533) + return "1753-3"; + if (code == V3Race._17541) + return "1754-1"; + if (code == V3Race._17558) + return "1755-8"; + if (code == V3Race._17566) + return "1756-6"; + if (code == V3Race._17574) + return "1757-4"; + if (code == V3Race._17582) + return "1758-2"; + if (code == V3Race._17590) + return "1759-0"; + if (code == V3Race._17608) + return "1760-8"; + if (code == V3Race._17616) + return "1761-6"; + if (code == V3Race._17624) + return "1762-4"; + if (code == V3Race._17632) + return "1763-2"; + if (code == V3Race._17640) + return "1764-0"; + if (code == V3Race._17657) + return "1765-7"; + if (code == V3Race._17665) + return "1766-5"; + if (code == V3Race._17673) + return "1767-3"; + if (code == V3Race._17681) + return "1768-1"; + if (code == V3Race._17699) + return "1769-9"; + if (code == V3Race._17707) + return "1770-7"; + if (code == V3Race._17715) + return "1771-5"; + if (code == V3Race._17723) + return "1772-3"; + if (code == V3Race._17731) + return "1773-1"; + if (code == V3Race._17749) + return "1774-9"; + if (code == V3Race._17756) + return "1775-6"; + if (code == V3Race._17764) + return "1776-4"; + if (code == V3Race._17772) + return "1777-2"; + if (code == V3Race._17780) + return "1778-0"; + if (code == V3Race._17798) + return "1779-8"; + if (code == V3Race._17806) + return "1780-6"; + if (code == V3Race._17814) + return "1781-4"; + if (code == V3Race._17822) + return "1782-2"; + if (code == V3Race._17830) + return "1783-0"; + if (code == V3Race._17848) + return "1784-8"; + if (code == V3Race._17855) + return "1785-5"; + if (code == V3Race._17863) + return "1786-3"; + if (code == V3Race._17871) + return "1787-1"; + if (code == V3Race._17889) + return "1788-9"; + if (code == V3Race._17897) + return "1789-7"; + if (code == V3Race._17905) + return "1790-5"; + if (code == V3Race._17913) + return "1791-3"; + if (code == V3Race._17921) + return "1792-1"; + if (code == V3Race._17939) + return "1793-9"; + if (code == V3Race._17947) + return "1794-7"; + if (code == V3Race._17954) + return "1795-4"; + if (code == V3Race._17962) + return "1796-2"; + if (code == V3Race._17970) + return "1797-0"; + if (code == V3Race._17988) + return "1798-8"; + if (code == V3Race._17996) + return "1799-6"; + if (code == V3Race._18002) + return "1800-2"; + if (code == V3Race._18010) + return "1801-0"; + if (code == V3Race._18028) + return "1802-8"; + if (code == V3Race._18036) + return "1803-6"; + if (code == V3Race._18044) + return "1804-4"; + if (code == V3Race._18051) + return "1805-1"; + if (code == V3Race._18069) + return "1806-9"; + if (code == V3Race._18077) + return "1807-7"; + if (code == V3Race._18085) + return "1808-5"; + if (code == V3Race._18093) + return "1809-3"; + if (code == V3Race._10785) + return "1078-5"; + if (code == V3Race._10801) + return "1080-1"; + if (code == V3Race._10827) + return "1082-7"; + if (code == V3Race._10835) + return "1083-5"; + if (code == V3Race._10843) + return "1084-3"; + if (code == V3Race._10868) + return "1086-8"; + if (code == V3Race._10884) + return "1088-4"; + if (code == V3Race._10892) + return "1089-2"; + if (code == V3Race._10900) + return "1090-0"; + if (code == V3Race._10918) + return "1091-8"; + if (code == V3Race._10926) + return "1092-6"; + if (code == V3Race._10934) + return "1093-4"; + if (code == V3Race._10942) + return "1094-2"; + if (code == V3Race._10959) + return "1095-9"; + if (code == V3Race._10967) + return "1096-7"; + if (code == V3Race._10975) + return "1097-5"; + if (code == V3Race._10983) + return "1098-3"; + if (code == V3Race._11007) + return "1100-7"; + if (code == V3Race._11023) + return "1102-3"; + if (code == V3Race._11031) + return "1103-1"; + if (code == V3Race._11049) + return "1104-9"; + if (code == V3Race._11064) + return "1106-4"; + if (code == V3Race._11080) + return "1108-0"; + if (code == V3Race._11098) + return "1109-8"; + if (code == V3Race._11106) + return "1110-6"; + if (code == V3Race._11122) + return "1112-2"; + if (code == V3Race._11148) + return "1114-8"; + if (code == V3Race._11155) + return "1115-5"; + if (code == V3Race._11163) + return "1116-3"; + if (code == V3Race._11171) + return "1117-1"; + if (code == V3Race._11189) + return "1118-9"; + if (code == V3Race._11197) + return "1119-7"; + if (code == V3Race._11205) + return "1120-5"; + if (code == V3Race._11213) + return "1121-3"; + if (code == V3Race._11239) + return "1123-9"; + if (code == V3Race._11247) + return "1124-7"; + if (code == V3Race._11254) + return "1125-4"; + if (code == V3Race._11262) + return "1126-2"; + if (code == V3Race._11270) + return "1127-0"; + if (code == V3Race._11288) + return "1128-8"; + if (code == V3Race._11296) + return "1129-6"; + if (code == V3Race._11304) + return "1130-4"; + if (code == V3Race._11312) + return "1131-2"; + if (code == V3Race._11320) + return "1132-0"; + if (code == V3Race._11338) + return "1133-8"; + if (code == V3Race._11346) + return "1134-6"; + if (code == V3Race._11353) + return "1135-3"; + if (code == V3Race._11361) + return "1136-1"; + if (code == V3Race._11379) + return "1137-9"; + if (code == V3Race._11387) + return "1138-7"; + if (code == V3Race._11395) + return "1139-5"; + if (code == V3Race._11403) + return "1140-3"; + if (code == V3Race._11411) + return "1141-1"; + if (code == V3Race._11429) + return "1142-9"; + if (code == V3Race._11437) + return "1143-7"; + if (code == V3Race._11445) + return "1144-5"; + if (code == V3Race._11452) + return "1145-2"; + if (code == V3Race._11460) + return "1146-0"; + if (code == V3Race._11478) + return "1147-8"; + if (code == V3Race._11486) + return "1148-6"; + if (code == V3Race._11502) + return "1150-2"; + if (code == V3Race._11510) + return "1151-0"; + if (code == V3Race._11536) + return "1153-6"; + if (code == V3Race._11551) + return "1155-1"; + if (code == V3Race._11569) + return "1156-9"; + if (code == V3Race._11577) + return "1157-7"; + if (code == V3Race._11585) + return "1158-5"; + if (code == V3Race._11593) + return "1159-3"; + if (code == V3Race._11601) + return "1160-1"; + if (code == V3Race._11627) + return "1162-7"; + if (code == V3Race._11635) + return "1163-5"; + if (code == V3Race._11650) + return "1165-0"; + if (code == V3Race._11676) + return "1167-6"; + if (code == V3Race._11692) + return "1169-2"; + if (code == V3Race._11718) + return "1171-8"; + if (code == V3Race._11734) + return "1173-4"; + if (code == V3Race._11759) + return "1175-9"; + if (code == V3Race._11767) + return "1176-7"; + if (code == V3Race._11783) + return "1178-3"; + if (code == V3Race._11809) + return "1180-9"; + if (code == V3Race._11825) + return "1182-5"; + if (code == V3Race._11841) + return "1184-1"; + if (code == V3Race._11866) + return "1186-6"; + if (code == V3Race._11874) + return "1187-4"; + if (code == V3Race._11890) + return "1189-0"; + if (code == V3Race._11916) + return "1191-6"; + if (code == V3Race._11932) + return "1193-2"; + if (code == V3Race._11940) + return "1194-0"; + if (code == V3Race._11957) + return "1195-7"; + if (code == V3Race._11965) + return "1196-5"; + if (code == V3Race._11973) + return "1197-3"; + if (code == V3Race._11981) + return "1198-1"; + if (code == V3Race._11999) + return "1199-9"; + if (code == V3Race._12005) + return "1200-5"; + if (code == V3Race._12013) + return "1201-3"; + if (code == V3Race._12021) + return "1202-1"; + if (code == V3Race._12039) + return "1203-9"; + if (code == V3Race._12047) + return "1204-7"; + if (code == V3Race._12054) + return "1205-4"; + if (code == V3Race._12070) + return "1207-0"; + if (code == V3Race._12096) + return "1209-6"; + if (code == V3Race._12112) + return "1211-2"; + if (code == V3Race._12120) + return "1212-0"; + if (code == V3Race._12146) + return "1214-6"; + if (code == V3Race._12153) + return "1215-3"; + if (code == V3Race._12161) + return "1216-1"; + if (code == V3Race._12179) + return "1217-9"; + if (code == V3Race._12187) + return "1218-7"; + if (code == V3Race._12195) + return "1219-5"; + if (code == V3Race._12203) + return "1220-3"; + if (code == V3Race._12229) + return "1222-9"; + if (code == V3Race._12237) + return "1223-7"; + if (code == V3Race._12245) + return "1224-5"; + if (code == V3Race._12252) + return "1225-2"; + if (code == V3Race._12260) + return "1226-0"; + if (code == V3Race._12278) + return "1227-8"; + if (code == V3Race._12286) + return "1228-6"; + if (code == V3Race._12294) + return "1229-4"; + if (code == V3Race._12302) + return "1230-2"; + if (code == V3Race._12310) + return "1231-0"; + if (code == V3Race._12336) + return "1233-6"; + if (code == V3Race._12344) + return "1234-4"; + if (code == V3Race._12351) + return "1235-1"; + if (code == V3Race._12369) + return "1236-9"; + if (code == V3Race._12377) + return "1237-7"; + if (code == V3Race._12385) + return "1238-5"; + if (code == V3Race._12393) + return "1239-3"; + if (code == V3Race._12401) + return "1240-1"; + if (code == V3Race._12419) + return "1241-9"; + if (code == V3Race._12427) + return "1242-7"; + if (code == V3Race._12435) + return "1243-5"; + if (code == V3Race._12443) + return "1244-3"; + if (code == V3Race._12450) + return "1245-0"; + if (code == V3Race._12468) + return "1246-8"; + if (code == V3Race._12476) + return "1247-6"; + if (code == V3Race._12484) + return "1248-4"; + if (code == V3Race._12500) + return "1250-0"; + if (code == V3Race._12526) + return "1252-6"; + if (code == V3Race._12542) + return "1254-2"; + if (code == V3Race._12567) + return "1256-7"; + if (code == V3Race._12583) + return "1258-3"; + if (code == V3Race._12609) + return "1260-9"; + if (code == V3Race._12625) + return "1262-5"; + if (code == V3Race._12641) + return "1264-1"; + if (code == V3Race._12658) + return "1265-8"; + if (code == V3Race._12674) + return "1267-4"; + if (code == V3Race._12690) + return "1269-0"; + if (code == V3Race._12716) + return "1271-6"; + if (code == V3Race._12724) + return "1272-4"; + if (code == V3Race._12732) + return "1273-2"; + if (code == V3Race._12757) + return "1275-7"; + if (code == V3Race._12773) + return "1277-3"; + if (code == V3Race._12799) + return "1279-9"; + if (code == V3Race._12815) + return "1281-5"; + if (code == V3Race._12823) + return "1282-3"; + if (code == V3Race._12831) + return "1283-1"; + if (code == V3Race._12856) + return "1285-6"; + if (code == V3Race._12864) + return "1286-4"; + if (code == V3Race._12872) + return "1287-2"; + if (code == V3Race._12880) + return "1288-0"; + if (code == V3Race._12898) + return "1289-8"; + if (code == V3Race._12906) + return "1290-6"; + if (code == V3Race._12914) + return "1291-4"; + if (code == V3Race._12922) + return "1292-2"; + if (code == V3Race._12930) + return "1293-0"; + if (code == V3Race._12948) + return "1294-8"; + if (code == V3Race._12955) + return "1295-5"; + if (code == V3Race._12971) + return "1297-1"; + if (code == V3Race._12997) + return "1299-7"; + if (code == V3Race._13011) + return "1301-1"; + if (code == V3Race._13037) + return "1303-7"; + if (code == V3Race._13052) + return "1305-2"; + if (code == V3Race._13060) + return "1306-0"; + if (code == V3Race._13078) + return "1307-8"; + if (code == V3Race._13094) + return "1309-4"; + if (code == V3Race._13102) + return "1310-2"; + if (code == V3Race._13128) + return "1312-8"; + if (code == V3Race._13136) + return "1313-6"; + if (code == V3Race._13144) + return "1314-4"; + if (code == V3Race._13151) + return "1315-1"; + if (code == V3Race._13177) + return "1317-7"; + if (code == V3Race._13193) + return "1319-3"; + if (code == V3Race._13219) + return "1321-9"; + if (code == V3Race._13235) + return "1323-5"; + if (code == V3Race._13250) + return "1325-0"; + if (code == V3Race._13268) + return "1326-8"; + if (code == V3Race._13276) + return "1327-6"; + if (code == V3Race._13284) + return "1328-4"; + if (code == V3Race._13292) + return "1329-2"; + if (code == V3Race._13318) + return "1331-8"; + if (code == V3Race._13326) + return "1332-6"; + if (code == V3Race._13334) + return "1333-4"; + if (code == V3Race._13342) + return "1334-2"; + if (code == V3Race._13359) + return "1335-9"; + if (code == V3Race._13367) + return "1336-7"; + if (code == V3Race._13375) + return "1337-5"; + if (code == V3Race._13383) + return "1338-3"; + if (code == V3Race._13409) + return "1340-9"; + if (code == V3Race._13425) + return "1342-5"; + if (code == V3Race._13441) + return "1344-1"; + if (code == V3Race._13458) + return "1345-8"; + if (code == V3Race._13466) + return "1346-6"; + if (code == V3Race._13482) + return "1348-2"; + if (code == V3Race._13508) + return "1350-8"; + if (code == V3Race._13524) + return "1352-4"; + if (code == V3Race._13540) + return "1354-0"; + if (code == V3Race._13565) + return "1356-5"; + if (code == V3Race._13581) + return "1358-1"; + if (code == V3Race._13599) + return "1359-9"; + if (code == V3Race._13607) + return "1360-7"; + if (code == V3Race._13615) + return "1361-5"; + if (code == V3Race._13631) + return "1363-1"; + if (code == V3Race._13656) + return "1365-6"; + if (code == V3Race._13664) + return "1366-4"; + if (code == V3Race._13680) + return "1368-0"; + if (code == V3Race._13706) + return "1370-6"; + if (code == V3Race._13722) + return "1372-2"; + if (code == V3Race._13748) + return "1374-8"; + if (code == V3Race._13763) + return "1376-3"; + if (code == V3Race._13789) + return "1378-9"; + if (code == V3Race._13805) + return "1380-5"; + if (code == V3Race._13821) + return "1382-1"; + if (code == V3Race._13839) + return "1383-9"; + if (code == V3Race._13847) + return "1384-7"; + if (code == V3Race._13854) + return "1385-4"; + if (code == V3Race._13870) + return "1387-0"; + if (code == V3Race._13896) + return "1389-6"; + if (code == V3Race._13912) + return "1391-2"; + if (code == V3Race._13920) + return "1392-0"; + if (code == V3Race._13938) + return "1393-8"; + if (code == V3Race._13946) + return "1394-6"; + if (code == V3Race._13953) + return "1395-3"; + if (code == V3Race._13961) + return "1396-1"; + if (code == V3Race._13979) + return "1397-9"; + if (code == V3Race._13987) + return "1398-7"; + if (code == V3Race._13995) + return "1399-5"; + if (code == V3Race._14001) + return "1400-1"; + if (code == V3Race._14019) + return "1401-9"; + if (code == V3Race._14035) + return "1403-5"; + if (code == V3Race._14050) + return "1405-0"; + if (code == V3Race._14076) + return "1407-6"; + if (code == V3Race._14092) + return "1409-2"; + if (code == V3Race._14118) + return "1411-8"; + if (code == V3Race._14126) + return "1412-6"; + if (code == V3Race._14134) + return "1413-4"; + if (code == V3Race._14142) + return "1414-2"; + if (code == V3Race._14167) + return "1416-7"; + if (code == V3Race._14175) + return "1417-5"; + if (code == V3Race._14183) + return "1418-3"; + if (code == V3Race._14191) + return "1419-1"; + if (code == V3Race._14209) + return "1420-9"; + if (code == V3Race._14217) + return "1421-7"; + if (code == V3Race._14225) + return "1422-5"; + if (code == V3Race._14233) + return "1423-3"; + if (code == V3Race._14241) + return "1424-1"; + if (code == V3Race._14258) + return "1425-8"; + if (code == V3Race._14266) + return "1426-6"; + if (code == V3Race._14274) + return "1427-4"; + if (code == V3Race._14282) + return "1428-2"; + if (code == V3Race._14290) + return "1429-0"; + if (code == V3Race._14308) + return "1430-8"; + if (code == V3Race._14316) + return "1431-6"; + if (code == V3Race._14324) + return "1432-4"; + if (code == V3Race._14332) + return "1433-2"; + if (code == V3Race._14340) + return "1434-0"; + if (code == V3Race._14357) + return "1435-7"; + if (code == V3Race._14365) + return "1436-5"; + if (code == V3Race._14373) + return "1437-3"; + if (code == V3Race._14399) + return "1439-9"; + if (code == V3Race._14415) + return "1441-5"; + if (code == V3Race._14423) + return "1442-3"; + if (code == V3Race._14431) + return "1443-1"; + if (code == V3Race._14456) + return "1445-6"; + if (code == V3Race._14464) + return "1446-4"; + if (code == V3Race._14480) + return "1448-0"; + if (code == V3Race._14506) + return "1450-6"; + if (code == V3Race._14514) + return "1451-4"; + if (code == V3Race._14530) + return "1453-0"; + if (code == V3Race._14548) + return "1454-8"; + if (code == V3Race._14563) + return "1456-3"; + if (code == V3Race._14571) + return "1457-1"; + if (code == V3Race._14589) + return "1458-9"; + if (code == V3Race._14605) + return "1460-5"; + if (code == V3Race._14621) + return "1462-1"; + if (code == V3Race._14647) + return "1464-7"; + if (code == V3Race._14654) + return "1465-4"; + if (code == V3Race._14662) + return "1466-2"; + if (code == V3Race._14670) + return "1467-0"; + if (code == V3Race._14688) + return "1468-8"; + if (code == V3Race._14696) + return "1469-6"; + if (code == V3Race._14704) + return "1470-4"; + if (code == V3Race._14712) + return "1471-2"; + if (code == V3Race._14720) + return "1472-0"; + if (code == V3Race._14746) + return "1474-6"; + if (code == V3Race._14753) + return "1475-3"; + if (code == V3Race._14761) + return "1476-1"; + if (code == V3Race._14787) + return "1478-7"; + if (code == V3Race._14795) + return "1479-5"; + if (code == V3Race._14803) + return "1480-3"; + if (code == V3Race._14811) + return "1481-1"; + if (code == V3Race._14829) + return "1482-9"; + if (code == V3Race._14837) + return "1483-7"; + if (code == V3Race._14845) + return "1484-5"; + if (code == V3Race._14852) + return "1485-2"; + if (code == V3Race._14878) + return "1487-8"; + if (code == V3Race._14894) + return "1489-4"; + if (code == V3Race._14902) + return "1490-2"; + if (code == V3Race._14910) + return "1491-0"; + if (code == V3Race._14928) + return "1492-8"; + if (code == V3Race._14936) + return "1493-6"; + if (code == V3Race._14944) + return "1494-4"; + if (code == V3Race._14951) + return "1495-1"; + if (code == V3Race._14969) + return "1496-9"; + if (code == V3Race._14977) + return "1497-7"; + if (code == V3Race._14985) + return "1498-5"; + if (code == V3Race._14993) + return "1499-3"; + if (code == V3Race._15008) + return "1500-8"; + if (code == V3Race._15016) + return "1501-6"; + if (code == V3Race._15024) + return "1502-4"; + if (code == V3Race._15032) + return "1503-2"; + if (code == V3Race._15040) + return "1504-0"; + if (code == V3Race._15057) + return "1505-7"; + if (code == V3Race._15065) + return "1506-5"; + if (code == V3Race._15073) + return "1507-3"; + if (code == V3Race._15081) + return "1508-1"; + if (code == V3Race._15099) + return "1509-9"; + if (code == V3Race._15107) + return "1510-7"; + if (code == V3Race._15115) + return "1511-5"; + if (code == V3Race._15123) + return "1512-3"; + if (code == V3Race._15131) + return "1513-1"; + if (code == V3Race._15149) + return "1514-9"; + if (code == V3Race._15156) + return "1515-6"; + if (code == V3Race._15164) + return "1516-4"; + if (code == V3Race._15180) + return "1518-0"; + if (code == V3Race._15198) + return "1519-8"; + if (code == V3Race._15206) + return "1520-6"; + if (code == V3Race._15214) + return "1521-4"; + if (code == V3Race._15222) + return "1522-2"; + if (code == V3Race._15230) + return "1523-0"; + if (code == V3Race._15248) + return "1524-8"; + if (code == V3Race._15255) + return "1525-5"; + if (code == V3Race._15263) + return "1526-3"; + if (code == V3Race._15271) + return "1527-1"; + if (code == V3Race._15289) + return "1528-9"; + if (code == V3Race._15297) + return "1529-7"; + if (code == V3Race._15305) + return "1530-5"; + if (code == V3Race._15313) + return "1531-3"; + if (code == V3Race._15321) + return "1532-1"; + if (code == V3Race._15339) + return "1533-9"; + if (code == V3Race._15347) + return "1534-7"; + if (code == V3Race._15354) + return "1535-4"; + if (code == V3Race._15362) + return "1536-2"; + if (code == V3Race._15370) + return "1537-0"; + if (code == V3Race._15388) + return "1538-8"; + if (code == V3Race._15396) + return "1539-6"; + if (code == V3Race._15412) + return "1541-2"; + if (code == V3Race._15438) + return "1543-8"; + if (code == V3Race._15453) + return "1545-3"; + if (code == V3Race._15479) + return "1547-9"; + if (code == V3Race._15495) + return "1549-5"; + if (code == V3Race._15511) + return "1551-1"; + if (code == V3Race._15529) + return "1552-9"; + if (code == V3Race._15537) + return "1553-7"; + if (code == V3Race._15545) + return "1554-5"; + if (code == V3Race._15560) + return "1556-0"; + if (code == V3Race._15586) + return "1558-6"; + if (code == V3Race._15602) + return "1560-2"; + if (code == V3Race._15628) + return "1562-8"; + if (code == V3Race._15644) + return "1564-4"; + if (code == V3Race._15669) + return "1566-9"; + if (code == V3Race._15677) + return "1567-7"; + if (code == V3Race._15685) + return "1568-5"; + if (code == V3Race._15693) + return "1569-3"; + if (code == V3Race._15701) + return "1570-1"; + if (code == V3Race._15719) + return "1571-9"; + if (code == V3Race._15735) + return "1573-5"; + if (code == V3Race._15743) + return "1574-3"; + if (code == V3Race._15768) + return "1576-8"; + if (code == V3Race._15784) + return "1578-4"; + if (code == V3Race._15792) + return "1579-2"; + if (code == V3Race._15800) + return "1580-0"; + if (code == V3Race._15826) + return "1582-6"; + if (code == V3Race._15842) + return "1584-2"; + if (code == V3Race._15867) + return "1586-7"; + if (code == V3Race._15875) + return "1587-5"; + if (code == V3Race._15883) + return "1588-3"; + if (code == V3Race._15891) + return "1589-1"; + if (code == V3Race._15909) + return "1590-9"; + if (code == V3Race._15917) + return "1591-7"; + if (code == V3Race._15925) + return "1592-5"; + if (code == V3Race._15933) + return "1593-3"; + if (code == V3Race._15941) + return "1594-1"; + if (code == V3Race._15958) + return "1595-8"; + if (code == V3Race._15966) + return "1596-6"; + if (code == V3Race._15974) + return "1597-4"; + if (code == V3Race._15982) + return "1598-2"; + if (code == V3Race._15990) + return "1599-0"; + if (code == V3Race._16006) + return "1600-6"; + if (code == V3Race._16022) + return "1602-2"; + if (code == V3Race._16030) + return "1603-0"; + if (code == V3Race._16048) + return "1604-8"; + if (code == V3Race._16055) + return "1605-5"; + if (code == V3Race._16071) + return "1607-1"; + if (code == V3Race._16097) + return "1609-7"; + if (code == V3Race._16105) + return "1610-5"; + if (code == V3Race._16113) + return "1611-3"; + if (code == V3Race._16121) + return "1612-1"; + if (code == V3Race._16139) + return "1613-9"; + if (code == V3Race._16147) + return "1614-7"; + if (code == V3Race._16154) + return "1615-4"; + if (code == V3Race._16162) + return "1616-2"; + if (code == V3Race._16170) + return "1617-0"; + if (code == V3Race._16188) + return "1618-8"; + if (code == V3Race._16196) + return "1619-6"; + if (code == V3Race._16204) + return "1620-4"; + if (code == V3Race._16212) + return "1621-2"; + if (code == V3Race._16220) + return "1622-0"; + if (code == V3Race._16238) + return "1623-8"; + if (code == V3Race._16246) + return "1624-6"; + if (code == V3Race._16253) + return "1625-3"; + if (code == V3Race._16261) + return "1626-1"; + if (code == V3Race._16279) + return "1627-9"; + if (code == V3Race._16287) + return "1628-7"; + if (code == V3Race._16295) + return "1629-5"; + if (code == V3Race._16303) + return "1630-3"; + if (code == V3Race._16311) + return "1631-1"; + if (code == V3Race._16329) + return "1632-9"; + if (code == V3Race._16337) + return "1633-7"; + if (code == V3Race._16345) + return "1634-5"; + if (code == V3Race._16352) + return "1635-2"; + if (code == V3Race._16360) + return "1636-0"; + if (code == V3Race._16378) + return "1637-8"; + if (code == V3Race._16386) + return "1638-6"; + if (code == V3Race._16394) + return "1639-4"; + if (code == V3Race._16402) + return "1640-2"; + if (code == V3Race._16410) + return "1641-0"; + if (code == V3Race._16436) + return "1643-6"; + if (code == V3Race._16451) + return "1645-1"; + if (code == V3Race._16477) + return "1647-7"; + if (code == V3Race._16493) + return "1649-3"; + if (code == V3Race._16519) + return "1651-9"; + if (code == V3Race._16535) + return "1653-5"; + if (code == V3Race._16543) + return "1654-3"; + if (code == V3Race._16550) + return "1655-0"; + if (code == V3Race._16568) + return "1656-8"; + if (code == V3Race._16576) + return "1657-6"; + if (code == V3Race._16592) + return "1659-2"; + if (code == V3Race._16618) + return "1661-8"; + if (code == V3Race._16634) + return "1663-4"; + if (code == V3Race._16659) + return "1665-9"; + if (code == V3Race._16675) + return "1667-5"; + if (code == V3Race._16683) + return "1668-3"; + if (code == V3Race._16709) + return "1670-9"; + if (code == V3Race._16717) + return "1671-7"; + if (code == V3Race._16725) + return "1672-5"; + if (code == V3Race._16733) + return "1673-3"; + if (code == V3Race._16758) + return "1675-8"; + if (code == V3Race._16774) + return "1677-4"; + if (code == V3Race._16790) + return "1679-0"; + if (code == V3Race._16808) + return "1680-8"; + if (code == V3Race._16816) + return "1681-6"; + if (code == V3Race._16832) + return "1683-2"; + if (code == V3Race._16857) + return "1685-7"; + if (code == V3Race._16873) + return "1687-3"; + if (code == V3Race._16881) + return "1688-1"; + if (code == V3Race._16899) + return "1689-9"; + if (code == V3Race._16907) + return "1690-7"; + if (code == V3Race._16923) + return "1692-3"; + if (code == V3Race._16949) + return "1694-9"; + if (code == V3Race._16964) + return "1696-4"; + if (code == V3Race._16972) + return "1697-2"; + if (code == V3Race._16980) + return "1698-0"; + if (code == V3Race._17004) + return "1700-4"; + if (code == V3Race._17020) + return "1702-0"; + if (code == V3Race._17046) + return "1704-6"; + if (code == V3Race._17053) + return "1705-3"; + if (code == V3Race._17079) + return "1707-9"; + if (code == V3Race._17095) + return "1709-5"; + if (code == V3Race._17111) + return "1711-1"; + if (code == V3Race._17129) + return "1712-9"; + if (code == V3Race._17137) + return "1713-7"; + if (code == V3Race._17152) + return "1715-2"; + if (code == V3Race._17178) + return "1717-8"; + if (code == V3Race._17186) + return "1718-6"; + if (code == V3Race._17194) + return "1719-4"; + if (code == V3Race._17202) + return "1720-2"; + if (code == V3Race._17228) + return "1722-8"; + if (code == V3Race._17244) + return "1724-4"; + if (code == V3Race._17251) + return "1725-1"; + if (code == V3Race._17269) + return "1726-9"; + if (code == V3Race._17277) + return "1727-7"; + if (code == V3Race._17285) + return "1728-5"; + if (code == V3Race._17293) + return "1729-3"; + if (code == V3Race._17301) + return "1730-1"; + if (code == V3Race._17319) + return "1731-9"; + if (code == V3Race._17327) + return "1732-7"; + if (code == V3Race._17335) + return "1733-5"; + if (code == V3Race._17350) + return "1735-0"; + if (code == V3Race._17376) + return "1737-6"; + if (code == V3Race._17392) + return "1739-2"; + if (code == V3Race._17400) + return "1740-0"; + if (code == V3Race._18119) + return "1811-9"; + if (code == V3Race._18135) + return "1813-5"; + if (code == V3Race._18143) + return "1814-3"; + if (code == V3Race._18150) + return "1815-0"; + if (code == V3Race._18168) + return "1816-8"; + if (code == V3Race._18176) + return "1817-6"; + if (code == V3Race._18184) + return "1818-4"; + if (code == V3Race._18192) + return "1819-2"; + if (code == V3Race._18200) + return "1820-0"; + if (code == V3Race._18218) + return "1821-8"; + if (code == V3Race._18226) + return "1822-6"; + if (code == V3Race._18234) + return "1823-4"; + if (code == V3Race._18242) + return "1824-2"; + if (code == V3Race._18259) + return "1825-9"; + if (code == V3Race._18267) + return "1826-7"; + if (code == V3Race._18275) + return "1827-5"; + if (code == V3Race._18283) + return "1828-3"; + if (code == V3Race._18291) + return "1829-1"; + if (code == V3Race._18309) + return "1830-9"; + if (code == V3Race._18317) + return "1831-7"; + if (code == V3Race._18325) + return "1832-5"; + if (code == V3Race._18333) + return "1833-3"; + if (code == V3Race._18341) + return "1834-1"; + if (code == V3Race._18358) + return "1835-8"; + if (code == V3Race._18374) + return "1837-4"; + if (code == V3Race._18382) + return "1838-2"; + if (code == V3Race._18408) + return "1840-8"; + if (code == V3Race._18424) + return "1842-4"; + if (code == V3Race._18440) + return "1844-0"; + if (code == V3Race._18457) + return "1845-7"; + if (code == V3Race._18465) + return "1846-5"; + if (code == V3Race._18473) + return "1847-3"; + if (code == V3Race._18481) + return "1848-1"; + if (code == V3Race._18499) + return "1849-9"; + if (code == V3Race._18507) + return "1850-7"; + if (code == V3Race._18515) + return "1851-5"; + if (code == V3Race._18523) + return "1852-3"; + if (code == V3Race._18531) + return "1853-1"; + if (code == V3Race._18549) + return "1854-9"; + if (code == V3Race._18556) + return "1855-6"; + if (code == V3Race._18564) + return "1856-4"; + if (code == V3Race._18572) + return "1857-2"; + if (code == V3Race._18580) + return "1858-0"; + if (code == V3Race._18598) + return "1859-8"; + if (code == V3Race._18606) + return "1860-6"; + if (code == V3Race._18614) + return "1861-4"; + if (code == V3Race._18622) + return "1862-2"; + if (code == V3Race._18630) + return "1863-0"; + if (code == V3Race._18648) + return "1864-8"; + if (code == V3Race._18655) + return "1865-5"; + if (code == V3Race._18663) + return "1866-3"; + if (code == V3Race._18671) + return "1867-1"; + if (code == V3Race._18689) + return "1868-9"; + if (code == V3Race._18697) + return "1869-7"; + if (code == V3Race._18705) + return "1870-5"; + if (code == V3Race._18713) + return "1871-3"; + if (code == V3Race._18721) + return "1872-1"; + if (code == V3Race._18739) + return "1873-9"; + if (code == V3Race._18747) + return "1874-7"; + if (code == V3Race._18754) + return "1875-4"; + if (code == V3Race._18762) + return "1876-2"; + if (code == V3Race._18770) + return "1877-0"; + if (code == V3Race._18788) + return "1878-8"; + if (code == V3Race._18796) + return "1879-6"; + if (code == V3Race._18804) + return "1880-4"; + if (code == V3Race._18812) + return "1881-2"; + if (code == V3Race._18820) + return "1882-0"; + if (code == V3Race._18838) + return "1883-8"; + if (code == V3Race._18846) + return "1884-6"; + if (code == V3Race._18853) + return "1885-3"; + if (code == V3Race._18861) + return "1886-1"; + if (code == V3Race._18879) + return "1887-9"; + if (code == V3Race._18887) + return "1888-7"; + if (code == V3Race._18895) + return "1889-5"; + if (code == V3Race._18911) + return "1891-1"; + if (code == V3Race._18929) + return "1892-9"; + if (code == V3Race._18937) + return "1893-7"; + if (code == V3Race._18945) + return "1894-5"; + if (code == V3Race._18960) + return "1896-0"; + if (code == V3Race._18978) + return "1897-8"; + if (code == V3Race._18986) + return "1898-6"; + if (code == V3Race._18994) + return "1899-4"; + if (code == V3Race._19000) + return "1900-0"; + if (code == V3Race._19018) + return "1901-8"; + if (code == V3Race._19026) + return "1902-6"; + if (code == V3Race._19034) + return "1903-4"; + if (code == V3Race._19042) + return "1904-2"; + if (code == V3Race._19059) + return "1905-9"; + if (code == V3Race._19067) + return "1906-7"; + if (code == V3Race._19075) + return "1907-5"; + if (code == V3Race._19083) + return "1908-3"; + if (code == V3Race._19091) + return "1909-1"; + if (code == V3Race._19109) + return "1910-9"; + if (code == V3Race._19117) + return "1911-7"; + if (code == V3Race._19125) + return "1912-5"; + if (code == V3Race._19133) + return "1913-3"; + if (code == V3Race._19141) + return "1914-1"; + if (code == V3Race._19158) + return "1915-8"; + if (code == V3Race._19166) + return "1916-6"; + if (code == V3Race._19174) + return "1917-4"; + if (code == V3Race._19182) + return "1918-2"; + if (code == V3Race._19190) + return "1919-0"; + if (code == V3Race._19208) + return "1920-8"; + if (code == V3Race._19216) + return "1921-6"; + if (code == V3Race._19224) + return "1922-4"; + if (code == V3Race._19232) + return "1923-2"; + if (code == V3Race._19240) + return "1924-0"; + if (code == V3Race._19257) + return "1925-7"; + if (code == V3Race._19265) + return "1926-5"; + if (code == V3Race._19273) + return "1927-3"; + if (code == V3Race._19281) + return "1928-1"; + if (code == V3Race._19299) + return "1929-9"; + if (code == V3Race._19307) + return "1930-7"; + if (code == V3Race._19315) + return "1931-5"; + if (code == V3Race._19323) + return "1932-3"; + if (code == V3Race._19331) + return "1933-1"; + if (code == V3Race._19349) + return "1934-9"; + if (code == V3Race._19356) + return "1935-6"; + if (code == V3Race._19364) + return "1936-4"; + if (code == V3Race._19372) + return "1937-2"; + if (code == V3Race._19380) + return "1938-0"; + if (code == V3Race._19398) + return "1939-8"; + if (code == V3Race._19406) + return "1940-6"; + if (code == V3Race._19414) + return "1941-4"; + if (code == V3Race._19422) + return "1942-2"; + if (code == V3Race._19430) + return "1943-0"; + if (code == V3Race._19448) + return "1944-8"; + if (code == V3Race._19455) + return "1945-5"; + if (code == V3Race._19463) + return "1946-3"; + if (code == V3Race._19471) + return "1947-1"; + if (code == V3Race._19489) + return "1948-9"; + if (code == V3Race._19497) + return "1949-7"; + if (code == V3Race._19505) + return "1950-5"; + if (code == V3Race._19513) + return "1951-3"; + if (code == V3Race._19521) + return "1952-1"; + if (code == V3Race._19539) + return "1953-9"; + if (code == V3Race._19547) + return "1954-7"; + if (code == V3Race._19554) + return "1955-4"; + if (code == V3Race._19562) + return "1956-2"; + if (code == V3Race._19570) + return "1957-0"; + if (code == V3Race._19588) + return "1958-8"; + if (code == V3Race._19596) + return "1959-6"; + if (code == V3Race._19604) + return "1960-4"; + if (code == V3Race._19612) + return "1961-2"; + if (code == V3Race._19620) + return "1962-0"; + if (code == V3Race._19638) + return "1963-8"; + if (code == V3Race._19646) + return "1964-6"; + if (code == V3Race._19661) + return "1966-1"; + if (code == V3Race._19687) + return "1968-7"; + if (code == V3Race._19695) + return "1969-5"; + if (code == V3Race._19703) + return "1970-3"; + if (code == V3Race._19729) + return "1972-9"; + if (code == V3Race._19737) + return "1973-7"; + if (code == V3Race._19745) + return "1974-5"; + if (code == V3Race._19752) + return "1975-2"; + if (code == V3Race._19760) + return "1976-0"; + if (code == V3Race._19778) + return "1977-8"; + if (code == V3Race._19786) + return "1978-6"; + if (code == V3Race._19794) + return "1979-4"; + if (code == V3Race._19802) + return "1980-2"; + if (code == V3Race._19810) + return "1981-0"; + if (code == V3Race._19828) + return "1982-8"; + if (code == V3Race._19844) + return "1984-4"; + if (code == V3Race._19851) + return "1985-1"; + if (code == V3Race._19869) + return "1986-9"; + if (code == V3Race._19877) + return "1987-7"; + if (code == V3Race._19885) + return "1988-5"; + if (code == V3Race._19901) + return "1990-1"; + if (code == V3Race._19927) + return "1992-7"; + if (code == V3Race._19935) + return "1993-5"; + if (code == V3Race._19943) + return "1994-3"; + if (code == V3Race._19950) + return "1995-0"; + if (code == V3Race._19968) + return "1996-8"; + if (code == V3Race._19976) + return "1997-6"; + if (code == V3Race._19984) + return "1998-4"; + if (code == V3Race._19992) + return "1999-2"; + if (code == V3Race._20008) + return "2000-8"; + if (code == V3Race._20024) + return "2002-4"; + if (code == V3Race._20040) + return "2004-0"; + if (code == V3Race._20065) + return "2006-5"; + if (code == V3Race._20073) + return "2007-3"; + if (code == V3Race._20081) + return "2008-1"; + if (code == V3Race._20099) + return "2009-9"; + if (code == V3Race._20107) + return "2010-7"; + if (code == V3Race._20115) + return "2011-5"; + if (code == V3Race._20123) + return "2012-3"; + if (code == V3Race._20131) + return "2013-1"; + if (code == V3Race._20149) + return "2014-9"; + if (code == V3Race._20156) + return "2015-6"; + if (code == V3Race._20164) + return "2016-4"; + if (code == V3Race._20172) + return "2017-2"; + if (code == V3Race._20180) + return "2018-0"; + if (code == V3Race._20198) + return "2019-8"; + if (code == V3Race._20206) + return "2020-6"; + if (code == V3Race._20214) + return "2021-4"; + if (code == V3Race._20222) + return "2022-2"; + if (code == V3Race._20230) + return "2023-0"; + if (code == V3Race._20248) + return "2024-8"; + if (code == V3Race._20255) + return "2025-5"; + if (code == V3Race._20263) + return "2026-3"; + if (code == V3Race._20289) + return "2028-9"; + if (code == V3Race._20297) + return "2029-7"; + if (code == V3Race._20305) + return "2030-5"; + if (code == V3Race._20313) + return "2031-3"; + if (code == V3Race._20321) + return "2032-1"; + if (code == V3Race._20339) + return "2033-9"; + if (code == V3Race._20347) + return "2034-7"; + if (code == V3Race._20354) + return "2035-4"; + if (code == V3Race._20362) + return "2036-2"; + if (code == V3Race._20370) + return "2037-0"; + if (code == V3Race._20388) + return "2038-8"; + if (code == V3Race._20396) + return "2039-6"; + if (code == V3Race._20404) + return "2040-4"; + if (code == V3Race._20412) + return "2041-2"; + if (code == V3Race._20420) + return "2042-0"; + if (code == V3Race._20438) + return "2043-8"; + if (code == V3Race._20446) + return "2044-6"; + if (code == V3Race._20453) + return "2045-3"; + if (code == V3Race._20461) + return "2046-1"; + if (code == V3Race._20479) + return "2047-9"; + if (code == V3Race._20487) + return "2048-7"; + if (code == V3Race._20495) + return "2049-5"; + if (code == V3Race._20503) + return "2050-3"; + if (code == V3Race._20511) + return "2051-1"; + if (code == V3Race._20529) + return "2052-9"; + if (code == V3Race._20545) + return "2054-5"; + if (code == V3Race._20560) + return "2056-0"; + if (code == V3Race._20586) + return "2058-6"; + if (code == V3Race._20602) + return "2060-2"; + if (code == V3Race._20610) + return "2061-0"; + if (code == V3Race._20628) + return "2062-8"; + if (code == V3Race._20636) + return "2063-6"; + if (code == V3Race._20644) + return "2064-4"; + if (code == V3Race._20651) + return "2065-1"; + if (code == V3Race._20669) + return "2066-9"; + if (code == V3Race._20677) + return "2067-7"; + if (code == V3Race._20685) + return "2068-5"; + if (code == V3Race._20693) + return "2069-3"; + if (code == V3Race._20701) + return "2070-1"; + if (code == V3Race._20719) + return "2071-9"; + if (code == V3Race._20727) + return "2072-7"; + if (code == V3Race._20735) + return "2073-5"; + if (code == V3Race._20743) + return "2074-3"; + if (code == V3Race._20750) + return "2075-0"; + if (code == V3Race._20768) + return "2076-8"; + if (code == V3Race._20784) + return "2078-4"; + if (code == V3Race._20792) + return "2079-2"; + if (code == V3Race._20800) + return "2080-0"; + if (code == V3Race._20818) + return "2081-8"; + if (code == V3Race._20826) + return "2082-6"; + if (code == V3Race._20834) + return "2083-4"; + if (code == V3Race._20859) + return "2085-9"; + if (code == V3Race._20867) + return "2086-7"; + if (code == V3Race._20875) + return "2087-5"; + if (code == V3Race._20883) + return "2088-3"; + if (code == V3Race._20891) + return "2089-1"; + if (code == V3Race._20909) + return "2090-9"; + if (code == V3Race._20917) + return "2091-7"; + if (code == V3Race._20925) + return "2092-5"; + if (code == V3Race._20933) + return "2093-3"; + if (code == V3Race._20941) + return "2094-1"; + if (code == V3Race._20958) + return "2095-8"; + if (code == V3Race._20966) + return "2096-6"; + if (code == V3Race._20974) + return "2097-4"; + if (code == V3Race._20982) + return "2098-2"; + if (code == V3Race._21006) + return "2100-6"; + if (code == V3Race._21014) + return "2101-4"; + if (code == V3Race._21022) + return "2102-2"; + if (code == V3Race._21030) + return "2103-0"; + if (code == V3Race._21048) + return "2104-8"; + if (code == V3Race._25007) + return "2500-7"; + if (code == V3Race._21063) + return "2106-3"; + if (code == V3Race._21089) + return "2108-9"; + if (code == V3Race._21097) + return "2109-7"; + if (code == V3Race._21105) + return "2110-5"; + if (code == V3Race._21113) + return "2111-3"; + if (code == V3Race._21121) + return "2112-1"; + if (code == V3Race._21139) + return "2113-9"; + if (code == V3Race._21147) + return "2114-7"; + if (code == V3Race._21154) + return "2115-4"; + if (code == V3Race._21162) + return "2116-2"; + if (code == V3Race._21188) + return "2118-8"; + if (code == V3Race._21196) + return "2119-6"; + if (code == V3Race._21204) + return "2120-4"; + if (code == V3Race._21212) + return "2121-2"; + if (code == V3Race._21220) + return "2122-0"; + if (code == V3Race._21238) + return "2123-8"; + if (code == V3Race._21246) + return "2124-6"; + if (code == V3Race._21253) + return "2125-3"; + if (code == V3Race._21261) + return "2126-1"; + if (code == V3Race._21279) + return "2127-9"; + if (code == V3Race._21295) + return "2129-5"; + if (code == V3Race._21311) + return "2131-1"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperator.java new file mode 100644 index 00000000000..76aacdf412f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperator.java @@ -0,0 +1,139 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RelationalOperator { + + /** + * Specified set of things includes value being evaluated. + */ + CT, + /** + * Equal condition applied to comparisons. + */ + EQ, + /** + * Greater than or equal condition applied to comparisons. + */ + GE, + /** + * A generic comparison selects a record for inclusion in the response if the beginning of the designated element value matches the select string. + */ + GN, + /** + * Greater than condition applied to comparisons. + */ + GT, + /** + * Less than or equal condition applied to comparisons. + */ + LE, + /** + * Less than condition applied to comparisons. + */ + LT, + /** + * Not equal condition applied to comparisons. + */ + NE, + /** + * added to help the parsers + */ + NULL; + public static V3RelationalOperator fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("CT".equals(codeString)) + return CT; + if ("EQ".equals(codeString)) + return EQ; + if ("GE".equals(codeString)) + return GE; + if ("GN".equals(codeString)) + return GN; + if ("GT".equals(codeString)) + return GT; + if ("LE".equals(codeString)) + return LE; + if ("LT".equals(codeString)) + return LT; + if ("NE".equals(codeString)) + return NE; + throw new Exception("Unknown V3RelationalOperator code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CT: return "CT"; + case EQ: return "EQ"; + case GE: return "GE"; + case GN: return "GN"; + case GT: return "GT"; + case LE: return "LE"; + case LT: return "LT"; + case NE: return "NE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RelationalOperator"; + } + public String getDefinition() { + switch (this) { + case CT: return "Specified set of things includes value being evaluated."; + case EQ: return "Equal condition applied to comparisons."; + case GE: return "Greater than or equal condition applied to comparisons."; + case GN: return "A generic comparison selects a record for inclusion in the response if the beginning of the designated element value matches the select string."; + case GT: return "Greater than condition applied to comparisons."; + case LE: return "Less than or equal condition applied to comparisons."; + case LT: return "Less than condition applied to comparisons."; + case NE: return "Not equal condition applied to comparisons."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CT: return "Contains"; + case EQ: return "Equal"; + case GE: return "Greater than or equal"; + case GN: return "Generic"; + case GT: return "Greater than"; + case LE: return "Less than or equal"; + case LT: return "Less than"; + case NE: return "Not Equal"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperatorEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperatorEnumFactory.java new file mode 100644 index 00000000000..eda2bc6861f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationalOperatorEnumFactory.java @@ -0,0 +1,83 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RelationalOperatorEnumFactory implements EnumFactory { + + public V3RelationalOperator fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("CT".equals(codeString)) + return V3RelationalOperator.CT; + if ("EQ".equals(codeString)) + return V3RelationalOperator.EQ; + if ("GE".equals(codeString)) + return V3RelationalOperator.GE; + if ("GN".equals(codeString)) + return V3RelationalOperator.GN; + if ("GT".equals(codeString)) + return V3RelationalOperator.GT; + if ("LE".equals(codeString)) + return V3RelationalOperator.LE; + if ("LT".equals(codeString)) + return V3RelationalOperator.LT; + if ("NE".equals(codeString)) + return V3RelationalOperator.NE; + throw new IllegalArgumentException("Unknown V3RelationalOperator code '"+codeString+"'"); + } + + public String toCode(V3RelationalOperator code) { + if (code == V3RelationalOperator.CT) + return "CT"; + if (code == V3RelationalOperator.EQ) + return "EQ"; + if (code == V3RelationalOperator.GE) + return "GE"; + if (code == V3RelationalOperator.GN) + return "GN"; + if (code == V3RelationalOperator.GT) + return "GT"; + if (code == V3RelationalOperator.LE) + return "LE"; + if (code == V3RelationalOperator.LT) + return "LT"; + if (code == V3RelationalOperator.NE) + return "NE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunction.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunction.java new file mode 100644 index 00000000000..0501dbdee0a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunction.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RelationshipConjunction { + + /** + * This condition must be true. + */ + AND, + /** + * At least one of the condition among all OR conditions must be true. + */ + OR, + /** + * One and only one of the XOR conditions must be true. + */ + XOR, + /** + * added to help the parsers + */ + NULL; + public static V3RelationshipConjunction fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AND".equals(codeString)) + return AND; + if ("OR".equals(codeString)) + return OR; + if ("XOR".equals(codeString)) + return XOR; + throw new Exception("Unknown V3RelationshipConjunction code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AND: return "AND"; + case OR: return "OR"; + case XOR: return "XOR"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RelationshipConjunction"; + } + public String getDefinition() { + switch (this) { + case AND: return "This condition must be true."; + case OR: return "At least one of the condition among all OR conditions must be true."; + case XOR: return "One and only one of the XOR conditions must be true."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AND: return "and"; + case OR: return "or"; + case XOR: return "exclusive or"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunctionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunctionEnumFactory.java new file mode 100644 index 00000000000..9773e2874c9 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RelationshipConjunctionEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RelationshipConjunctionEnumFactory implements EnumFactory { + + public V3RelationshipConjunction fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AND".equals(codeString)) + return V3RelationshipConjunction.AND; + if ("OR".equals(codeString)) + return V3RelationshipConjunction.OR; + if ("XOR".equals(codeString)) + return V3RelationshipConjunction.XOR; + throw new IllegalArgumentException("Unknown V3RelationshipConjunction code '"+codeString+"'"); + } + + public String toCode(V3RelationshipConjunction code) { + if (code == V3RelationshipConjunction.AND) + return "AND"; + if (code == V3RelationshipConjunction.OR) + return "OR"; + if (code == V3RelationshipConjunction.XOR) + return "XOR"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliation.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliation.java new file mode 100644 index 00000000000..105ab10abfb --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliation.java @@ -0,0 +1,805 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ReligiousAffiliation { + + /** + * Adventist + */ + _1001, + /** + * African Religions + */ + _1002, + /** + * Afro-Caribbean Religions + */ + _1003, + /** + * Agnosticism + */ + _1004, + /** + * Anglican + */ + _1005, + /** + * Animism + */ + _1006, + /** + * Atheism + */ + _1007, + /** + * Babi & Baha'I faiths + */ + _1008, + /** + * Baptist + */ + _1009, + /** + * Bon + */ + _1010, + /** + * Cao Dai + */ + _1011, + /** + * Celticism + */ + _1012, + /** + * Christian (non-Catholic, non-specific) + */ + _1013, + /** + * Confucianism + */ + _1014, + /** + * Cyberculture Religions + */ + _1015, + /** + * Divination + */ + _1016, + /** + * Fourth Way + */ + _1017, + /** + * Free Daism + */ + _1018, + /** + * Gnosis + */ + _1019, + /** + * Hinduism + */ + _1020, + /** + * Humanism + */ + _1021, + /** + * Independent + */ + _1022, + /** + * Islam + */ + _1023, + /** + * Jainism + */ + _1024, + /** + * Jehovah's Witnesses + */ + _1025, + /** + * Judaism + */ + _1026, + /** + * Latter Day Saints + */ + _1027, + /** + * Lutheran + */ + _1028, + /** + * Mahayana + */ + _1029, + /** + * Meditation + */ + _1030, + /** + * Messianic Judaism + */ + _1031, + /** + * Mitraism + */ + _1032, + /** + * New Age + */ + _1033, + /** + * non-Roman Catholic + */ + _1034, + /** + * Occult + */ + _1035, + /** + * Orthodox + */ + _1036, + /** + * Paganism + */ + _1037, + /** + * Pentecostal + */ + _1038, + /** + * Process, The + */ + _1039, + /** + * Reformed/Presbyterian + */ + _1040, + /** + * Roman Catholic Church + */ + _1041, + /** + * Satanism + */ + _1042, + /** + * Scientology + */ + _1043, + /** + * Shamanism + */ + _1044, + /** + * Shiite (Islam) + */ + _1045, + /** + * Shinto + */ + _1046, + /** + * Sikism + */ + _1047, + /** + * Spiritualism + */ + _1048, + /** + * Sunni (Islam) + */ + _1049, + /** + * Taoism + */ + _1050, + /** + * Theravada + */ + _1051, + /** + * Unitarian-Universalism + */ + _1052, + /** + * Universal Life Church + */ + _1053, + /** + * Vajrayana (Tibetan) + */ + _1054, + /** + * Veda + */ + _1055, + /** + * Voodoo + */ + _1056, + /** + * Wicca + */ + _1057, + /** + * Yaohushua + */ + _1058, + /** + * Zen Buddhism + */ + _1059, + /** + * Zoroastrianism + */ + _1060, + /** + * Assembly of God + */ + _1061, + /** + * Brethren + */ + _1062, + /** + * Christian Scientist + */ + _1063, + /** + * Church of Christ + */ + _1064, + /** + * Church of God + */ + _1065, + /** + * Congregational + */ + _1066, + /** + * Disciples of Christ + */ + _1067, + /** + * Eastern Orthodox + */ + _1068, + /** + * Episcopalian + */ + _1069, + /** + * Evangelical Covenant + */ + _1070, + /** + * Friends + */ + _1071, + /** + * Full Gospel + */ + _1072, + /** + * Methodist + */ + _1073, + /** + * Native American + */ + _1074, + /** + * Nazarene + */ + _1075, + /** + * Presbyterian + */ + _1076, + /** + * Protestant + */ + _1077, + /** + * Protestant, No Denomination + */ + _1078, + /** + * Reformed + */ + _1079, + /** + * Salvation Army + */ + _1080, + /** + * Unitarian Universalist + */ + _1081, + /** + * United Church of Christ + */ + _1082, + /** + * added to help the parsers + */ + NULL; + public static V3ReligiousAffiliation fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("1001".equals(codeString)) + return _1001; + if ("1002".equals(codeString)) + return _1002; + if ("1003".equals(codeString)) + return _1003; + if ("1004".equals(codeString)) + return _1004; + if ("1005".equals(codeString)) + return _1005; + if ("1006".equals(codeString)) + return _1006; + if ("1007".equals(codeString)) + return _1007; + if ("1008".equals(codeString)) + return _1008; + if ("1009".equals(codeString)) + return _1009; + if ("1010".equals(codeString)) + return _1010; + if ("1011".equals(codeString)) + return _1011; + if ("1012".equals(codeString)) + return _1012; + if ("1013".equals(codeString)) + return _1013; + if ("1014".equals(codeString)) + return _1014; + if ("1015".equals(codeString)) + return _1015; + if ("1016".equals(codeString)) + return _1016; + if ("1017".equals(codeString)) + return _1017; + if ("1018".equals(codeString)) + return _1018; + if ("1019".equals(codeString)) + return _1019; + if ("1020".equals(codeString)) + return _1020; + if ("1021".equals(codeString)) + return _1021; + if ("1022".equals(codeString)) + return _1022; + if ("1023".equals(codeString)) + return _1023; + if ("1024".equals(codeString)) + return _1024; + if ("1025".equals(codeString)) + return _1025; + if ("1026".equals(codeString)) + return _1026; + if ("1027".equals(codeString)) + return _1027; + if ("1028".equals(codeString)) + return _1028; + if ("1029".equals(codeString)) + return _1029; + if ("1030".equals(codeString)) + return _1030; + if ("1031".equals(codeString)) + return _1031; + if ("1032".equals(codeString)) + return _1032; + if ("1033".equals(codeString)) + return _1033; + if ("1034".equals(codeString)) + return _1034; + if ("1035".equals(codeString)) + return _1035; + if ("1036".equals(codeString)) + return _1036; + if ("1037".equals(codeString)) + return _1037; + if ("1038".equals(codeString)) + return _1038; + if ("1039".equals(codeString)) + return _1039; + if ("1040".equals(codeString)) + return _1040; + if ("1041".equals(codeString)) + return _1041; + if ("1042".equals(codeString)) + return _1042; + if ("1043".equals(codeString)) + return _1043; + if ("1044".equals(codeString)) + return _1044; + if ("1045".equals(codeString)) + return _1045; + if ("1046".equals(codeString)) + return _1046; + if ("1047".equals(codeString)) + return _1047; + if ("1048".equals(codeString)) + return _1048; + if ("1049".equals(codeString)) + return _1049; + if ("1050".equals(codeString)) + return _1050; + if ("1051".equals(codeString)) + return _1051; + if ("1052".equals(codeString)) + return _1052; + if ("1053".equals(codeString)) + return _1053; + if ("1054".equals(codeString)) + return _1054; + if ("1055".equals(codeString)) + return _1055; + if ("1056".equals(codeString)) + return _1056; + if ("1057".equals(codeString)) + return _1057; + if ("1058".equals(codeString)) + return _1058; + if ("1059".equals(codeString)) + return _1059; + if ("1060".equals(codeString)) + return _1060; + if ("1061".equals(codeString)) + return _1061; + if ("1062".equals(codeString)) + return _1062; + if ("1063".equals(codeString)) + return _1063; + if ("1064".equals(codeString)) + return _1064; + if ("1065".equals(codeString)) + return _1065; + if ("1066".equals(codeString)) + return _1066; + if ("1067".equals(codeString)) + return _1067; + if ("1068".equals(codeString)) + return _1068; + if ("1069".equals(codeString)) + return _1069; + if ("1070".equals(codeString)) + return _1070; + if ("1071".equals(codeString)) + return _1071; + if ("1072".equals(codeString)) + return _1072; + if ("1073".equals(codeString)) + return _1073; + if ("1074".equals(codeString)) + return _1074; + if ("1075".equals(codeString)) + return _1075; + if ("1076".equals(codeString)) + return _1076; + if ("1077".equals(codeString)) + return _1077; + if ("1078".equals(codeString)) + return _1078; + if ("1079".equals(codeString)) + return _1079; + if ("1080".equals(codeString)) + return _1080; + if ("1081".equals(codeString)) + return _1081; + if ("1082".equals(codeString)) + return _1082; + throw new Exception("Unknown V3ReligiousAffiliation code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _1001: return "1001"; + case _1002: return "1002"; + case _1003: return "1003"; + case _1004: return "1004"; + case _1005: return "1005"; + case _1006: return "1006"; + case _1007: return "1007"; + case _1008: return "1008"; + case _1009: return "1009"; + case _1010: return "1010"; + case _1011: return "1011"; + case _1012: return "1012"; + case _1013: return "1013"; + case _1014: return "1014"; + case _1015: return "1015"; + case _1016: return "1016"; + case _1017: return "1017"; + case _1018: return "1018"; + case _1019: return "1019"; + case _1020: return "1020"; + case _1021: return "1021"; + case _1022: return "1022"; + case _1023: return "1023"; + case _1024: return "1024"; + case _1025: return "1025"; + case _1026: return "1026"; + case _1027: return "1027"; + case _1028: return "1028"; + case _1029: return "1029"; + case _1030: return "1030"; + case _1031: return "1031"; + case _1032: return "1032"; + case _1033: return "1033"; + case _1034: return "1034"; + case _1035: return "1035"; + case _1036: return "1036"; + case _1037: return "1037"; + case _1038: return "1038"; + case _1039: return "1039"; + case _1040: return "1040"; + case _1041: return "1041"; + case _1042: return "1042"; + case _1043: return "1043"; + case _1044: return "1044"; + case _1045: return "1045"; + case _1046: return "1046"; + case _1047: return "1047"; + case _1048: return "1048"; + case _1049: return "1049"; + case _1050: return "1050"; + case _1051: return "1051"; + case _1052: return "1052"; + case _1053: return "1053"; + case _1054: return "1054"; + case _1055: return "1055"; + case _1056: return "1056"; + case _1057: return "1057"; + case _1058: return "1058"; + case _1059: return "1059"; + case _1060: return "1060"; + case _1061: return "1061"; + case _1062: return "1062"; + case _1063: return "1063"; + case _1064: return "1064"; + case _1065: return "1065"; + case _1066: return "1066"; + case _1067: return "1067"; + case _1068: return "1068"; + case _1069: return "1069"; + case _1070: return "1070"; + case _1071: return "1071"; + case _1072: return "1072"; + case _1073: return "1073"; + case _1074: return "1074"; + case _1075: return "1075"; + case _1076: return "1076"; + case _1077: return "1077"; + case _1078: return "1078"; + case _1079: return "1079"; + case _1080: return "1080"; + case _1081: return "1081"; + case _1082: return "1082"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ReligiousAffiliation"; + } + public String getDefinition() { + switch (this) { + case _1001: return "Adventist"; + case _1002: return "African Religions"; + case _1003: return "Afro-Caribbean Religions"; + case _1004: return "Agnosticism"; + case _1005: return "Anglican"; + case _1006: return "Animism"; + case _1007: return "Atheism"; + case _1008: return "Babi & Baha'I faiths"; + case _1009: return "Baptist"; + case _1010: return "Bon"; + case _1011: return "Cao Dai"; + case _1012: return "Celticism"; + case _1013: return "Christian (non-Catholic, non-specific)"; + case _1014: return "Confucianism"; + case _1015: return "Cyberculture Religions"; + case _1016: return "Divination"; + case _1017: return "Fourth Way"; + case _1018: return "Free Daism"; + case _1019: return "Gnosis"; + case _1020: return "Hinduism"; + case _1021: return "Humanism"; + case _1022: return "Independent"; + case _1023: return "Islam"; + case _1024: return "Jainism"; + case _1025: return "Jehovah's Witnesses"; + case _1026: return "Judaism"; + case _1027: return "Latter Day Saints"; + case _1028: return "Lutheran"; + case _1029: return "Mahayana"; + case _1030: return "Meditation"; + case _1031: return "Messianic Judaism"; + case _1032: return "Mitraism"; + case _1033: return "New Age"; + case _1034: return "non-Roman Catholic"; + case _1035: return "Occult"; + case _1036: return "Orthodox"; + case _1037: return "Paganism"; + case _1038: return "Pentecostal"; + case _1039: return "Process, The"; + case _1040: return "Reformed/Presbyterian"; + case _1041: return "Roman Catholic Church"; + case _1042: return "Satanism"; + case _1043: return "Scientology"; + case _1044: return "Shamanism"; + case _1045: return "Shiite (Islam)"; + case _1046: return "Shinto"; + case _1047: return "Sikism"; + case _1048: return "Spiritualism"; + case _1049: return "Sunni (Islam)"; + case _1050: return "Taoism"; + case _1051: return "Theravada"; + case _1052: return "Unitarian-Universalism"; + case _1053: return "Universal Life Church"; + case _1054: return "Vajrayana (Tibetan)"; + case _1055: return "Veda"; + case _1056: return "Voodoo"; + case _1057: return "Wicca"; + case _1058: return "Yaohushua"; + case _1059: return "Zen Buddhism"; + case _1060: return "Zoroastrianism"; + case _1061: return "Assembly of God"; + case _1062: return "Brethren"; + case _1063: return "Christian Scientist"; + case _1064: return "Church of Christ"; + case _1065: return "Church of God"; + case _1066: return "Congregational"; + case _1067: return "Disciples of Christ"; + case _1068: return "Eastern Orthodox"; + case _1069: return "Episcopalian"; + case _1070: return "Evangelical Covenant"; + case _1071: return "Friends"; + case _1072: return "Full Gospel"; + case _1073: return "Methodist"; + case _1074: return "Native American"; + case _1075: return "Nazarene"; + case _1076: return "Presbyterian"; + case _1077: return "Protestant"; + case _1078: return "Protestant, No Denomination"; + case _1079: return "Reformed"; + case _1080: return "Salvation Army"; + case _1081: return "Unitarian Universalist"; + case _1082: return "United Church of Christ"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _1001: return "Adventist"; + case _1002: return "African Religions"; + case _1003: return "Afro-Caribbean Religions"; + case _1004: return "Agnosticism"; + case _1005: return "Anglican"; + case _1006: return "Animism"; + case _1007: return "Atheism"; + case _1008: return "Babi & Baha'I faiths"; + case _1009: return "Baptist"; + case _1010: return "Bon"; + case _1011: return "Cao Dai"; + case _1012: return "Celticism"; + case _1013: return "Christian (non-Catholic, non-specific)"; + case _1014: return "Confucianism"; + case _1015: return "Cyberculture Religions"; + case _1016: return "Divination"; + case _1017: return "Fourth Way"; + case _1018: return "Free Daism"; + case _1019: return "Gnosis"; + case _1020: return "Hinduism"; + case _1021: return "Humanism"; + case _1022: return "Independent"; + case _1023: return "Islam"; + case _1024: return "Jainism"; + case _1025: return "Jehovah's Witnesses"; + case _1026: return "Judaism"; + case _1027: return "Latter Day Saints"; + case _1028: return "Lutheran"; + case _1029: return "Mahayana"; + case _1030: return "Meditation"; + case _1031: return "Messianic Judaism"; + case _1032: return "Mitraism"; + case _1033: return "New Age"; + case _1034: return "non-Roman Catholic"; + case _1035: return "Occult"; + case _1036: return "Orthodox"; + case _1037: return "Paganism"; + case _1038: return "Pentecostal"; + case _1039: return "Process, The"; + case _1040: return "Reformed/Presbyterian"; + case _1041: return "Roman Catholic Church"; + case _1042: return "Satanism"; + case _1043: return "Scientology"; + case _1044: return "Shamanism"; + case _1045: return "Shiite (Islam)"; + case _1046: return "Shinto"; + case _1047: return "Sikism"; + case _1048: return "Spiritualism"; + case _1049: return "Sunni (Islam)"; + case _1050: return "Taoism"; + case _1051: return "Theravada"; + case _1052: return "Unitarian-Universalism"; + case _1053: return "Universal Life Church"; + case _1054: return "Vajrayana (Tibetan)"; + case _1055: return "Veda"; + case _1056: return "Voodoo"; + case _1057: return "Wicca"; + case _1058: return "Yaohushua"; + case _1059: return "Zen Buddhism"; + case _1060: return "Zoroastrianism"; + case _1061: return "Assembly of God"; + case _1062: return "Brethren"; + case _1063: return "Christian Scientist"; + case _1064: return "Church of Christ"; + case _1065: return "Church of God"; + case _1066: return "Congregational"; + case _1067: return "Disciples of Christ"; + case _1068: return "Eastern Orthodox"; + case _1069: return "Episcopalian"; + case _1070: return "Evangelical Covenant"; + case _1071: return "Friends"; + case _1072: return "Full Gospel"; + case _1073: return "Methodist"; + case _1074: return "Native American"; + case _1075: return "Nazarene"; + case _1076: return "Presbyterian"; + case _1077: return "Protestant"; + case _1078: return "Protestant, No Denomination"; + case _1079: return "Reformed"; + case _1080: return "Salvation Army"; + case _1081: return "Unitarian Universalist"; + case _1082: return "United Church of Christ"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliationEnumFactory.java new file mode 100644 index 00000000000..7ca610014c2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ReligiousAffiliationEnumFactory.java @@ -0,0 +1,379 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ReligiousAffiliationEnumFactory implements EnumFactory { + + public V3ReligiousAffiliation fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("1001".equals(codeString)) + return V3ReligiousAffiliation._1001; + if ("1002".equals(codeString)) + return V3ReligiousAffiliation._1002; + if ("1003".equals(codeString)) + return V3ReligiousAffiliation._1003; + if ("1004".equals(codeString)) + return V3ReligiousAffiliation._1004; + if ("1005".equals(codeString)) + return V3ReligiousAffiliation._1005; + if ("1006".equals(codeString)) + return V3ReligiousAffiliation._1006; + if ("1007".equals(codeString)) + return V3ReligiousAffiliation._1007; + if ("1008".equals(codeString)) + return V3ReligiousAffiliation._1008; + if ("1009".equals(codeString)) + return V3ReligiousAffiliation._1009; + if ("1010".equals(codeString)) + return V3ReligiousAffiliation._1010; + if ("1011".equals(codeString)) + return V3ReligiousAffiliation._1011; + if ("1012".equals(codeString)) + return V3ReligiousAffiliation._1012; + if ("1013".equals(codeString)) + return V3ReligiousAffiliation._1013; + if ("1014".equals(codeString)) + return V3ReligiousAffiliation._1014; + if ("1015".equals(codeString)) + return V3ReligiousAffiliation._1015; + if ("1016".equals(codeString)) + return V3ReligiousAffiliation._1016; + if ("1017".equals(codeString)) + return V3ReligiousAffiliation._1017; + if ("1018".equals(codeString)) + return V3ReligiousAffiliation._1018; + if ("1019".equals(codeString)) + return V3ReligiousAffiliation._1019; + if ("1020".equals(codeString)) + return V3ReligiousAffiliation._1020; + if ("1021".equals(codeString)) + return V3ReligiousAffiliation._1021; + if ("1022".equals(codeString)) + return V3ReligiousAffiliation._1022; + if ("1023".equals(codeString)) + return V3ReligiousAffiliation._1023; + if ("1024".equals(codeString)) + return V3ReligiousAffiliation._1024; + if ("1025".equals(codeString)) + return V3ReligiousAffiliation._1025; + if ("1026".equals(codeString)) + return V3ReligiousAffiliation._1026; + if ("1027".equals(codeString)) + return V3ReligiousAffiliation._1027; + if ("1028".equals(codeString)) + return V3ReligiousAffiliation._1028; + if ("1029".equals(codeString)) + return V3ReligiousAffiliation._1029; + if ("1030".equals(codeString)) + return V3ReligiousAffiliation._1030; + if ("1031".equals(codeString)) + return V3ReligiousAffiliation._1031; + if ("1032".equals(codeString)) + return V3ReligiousAffiliation._1032; + if ("1033".equals(codeString)) + return V3ReligiousAffiliation._1033; + if ("1034".equals(codeString)) + return V3ReligiousAffiliation._1034; + if ("1035".equals(codeString)) + return V3ReligiousAffiliation._1035; + if ("1036".equals(codeString)) + return V3ReligiousAffiliation._1036; + if ("1037".equals(codeString)) + return V3ReligiousAffiliation._1037; + if ("1038".equals(codeString)) + return V3ReligiousAffiliation._1038; + if ("1039".equals(codeString)) + return V3ReligiousAffiliation._1039; + if ("1040".equals(codeString)) + return V3ReligiousAffiliation._1040; + if ("1041".equals(codeString)) + return V3ReligiousAffiliation._1041; + if ("1042".equals(codeString)) + return V3ReligiousAffiliation._1042; + if ("1043".equals(codeString)) + return V3ReligiousAffiliation._1043; + if ("1044".equals(codeString)) + return V3ReligiousAffiliation._1044; + if ("1045".equals(codeString)) + return V3ReligiousAffiliation._1045; + if ("1046".equals(codeString)) + return V3ReligiousAffiliation._1046; + if ("1047".equals(codeString)) + return V3ReligiousAffiliation._1047; + if ("1048".equals(codeString)) + return V3ReligiousAffiliation._1048; + if ("1049".equals(codeString)) + return V3ReligiousAffiliation._1049; + if ("1050".equals(codeString)) + return V3ReligiousAffiliation._1050; + if ("1051".equals(codeString)) + return V3ReligiousAffiliation._1051; + if ("1052".equals(codeString)) + return V3ReligiousAffiliation._1052; + if ("1053".equals(codeString)) + return V3ReligiousAffiliation._1053; + if ("1054".equals(codeString)) + return V3ReligiousAffiliation._1054; + if ("1055".equals(codeString)) + return V3ReligiousAffiliation._1055; + if ("1056".equals(codeString)) + return V3ReligiousAffiliation._1056; + if ("1057".equals(codeString)) + return V3ReligiousAffiliation._1057; + if ("1058".equals(codeString)) + return V3ReligiousAffiliation._1058; + if ("1059".equals(codeString)) + return V3ReligiousAffiliation._1059; + if ("1060".equals(codeString)) + return V3ReligiousAffiliation._1060; + if ("1061".equals(codeString)) + return V3ReligiousAffiliation._1061; + if ("1062".equals(codeString)) + return V3ReligiousAffiliation._1062; + if ("1063".equals(codeString)) + return V3ReligiousAffiliation._1063; + if ("1064".equals(codeString)) + return V3ReligiousAffiliation._1064; + if ("1065".equals(codeString)) + return V3ReligiousAffiliation._1065; + if ("1066".equals(codeString)) + return V3ReligiousAffiliation._1066; + if ("1067".equals(codeString)) + return V3ReligiousAffiliation._1067; + if ("1068".equals(codeString)) + return V3ReligiousAffiliation._1068; + if ("1069".equals(codeString)) + return V3ReligiousAffiliation._1069; + if ("1070".equals(codeString)) + return V3ReligiousAffiliation._1070; + if ("1071".equals(codeString)) + return V3ReligiousAffiliation._1071; + if ("1072".equals(codeString)) + return V3ReligiousAffiliation._1072; + if ("1073".equals(codeString)) + return V3ReligiousAffiliation._1073; + if ("1074".equals(codeString)) + return V3ReligiousAffiliation._1074; + if ("1075".equals(codeString)) + return V3ReligiousAffiliation._1075; + if ("1076".equals(codeString)) + return V3ReligiousAffiliation._1076; + if ("1077".equals(codeString)) + return V3ReligiousAffiliation._1077; + if ("1078".equals(codeString)) + return V3ReligiousAffiliation._1078; + if ("1079".equals(codeString)) + return V3ReligiousAffiliation._1079; + if ("1080".equals(codeString)) + return V3ReligiousAffiliation._1080; + if ("1081".equals(codeString)) + return V3ReligiousAffiliation._1081; + if ("1082".equals(codeString)) + return V3ReligiousAffiliation._1082; + throw new IllegalArgumentException("Unknown V3ReligiousAffiliation code '"+codeString+"'"); + } + + public String toCode(V3ReligiousAffiliation code) { + if (code == V3ReligiousAffiliation._1001) + return "1001"; + if (code == V3ReligiousAffiliation._1002) + return "1002"; + if (code == V3ReligiousAffiliation._1003) + return "1003"; + if (code == V3ReligiousAffiliation._1004) + return "1004"; + if (code == V3ReligiousAffiliation._1005) + return "1005"; + if (code == V3ReligiousAffiliation._1006) + return "1006"; + if (code == V3ReligiousAffiliation._1007) + return "1007"; + if (code == V3ReligiousAffiliation._1008) + return "1008"; + if (code == V3ReligiousAffiliation._1009) + return "1009"; + if (code == V3ReligiousAffiliation._1010) + return "1010"; + if (code == V3ReligiousAffiliation._1011) + return "1011"; + if (code == V3ReligiousAffiliation._1012) + return "1012"; + if (code == V3ReligiousAffiliation._1013) + return "1013"; + if (code == V3ReligiousAffiliation._1014) + return "1014"; + if (code == V3ReligiousAffiliation._1015) + return "1015"; + if (code == V3ReligiousAffiliation._1016) + return "1016"; + if (code == V3ReligiousAffiliation._1017) + return "1017"; + if (code == V3ReligiousAffiliation._1018) + return "1018"; + if (code == V3ReligiousAffiliation._1019) + return "1019"; + if (code == V3ReligiousAffiliation._1020) + return "1020"; + if (code == V3ReligiousAffiliation._1021) + return "1021"; + if (code == V3ReligiousAffiliation._1022) + return "1022"; + if (code == V3ReligiousAffiliation._1023) + return "1023"; + if (code == V3ReligiousAffiliation._1024) + return "1024"; + if (code == V3ReligiousAffiliation._1025) + return "1025"; + if (code == V3ReligiousAffiliation._1026) + return "1026"; + if (code == V3ReligiousAffiliation._1027) + return "1027"; + if (code == V3ReligiousAffiliation._1028) + return "1028"; + if (code == V3ReligiousAffiliation._1029) + return "1029"; + if (code == V3ReligiousAffiliation._1030) + return "1030"; + if (code == V3ReligiousAffiliation._1031) + return "1031"; + if (code == V3ReligiousAffiliation._1032) + return "1032"; + if (code == V3ReligiousAffiliation._1033) + return "1033"; + if (code == V3ReligiousAffiliation._1034) + return "1034"; + if (code == V3ReligiousAffiliation._1035) + return "1035"; + if (code == V3ReligiousAffiliation._1036) + return "1036"; + if (code == V3ReligiousAffiliation._1037) + return "1037"; + if (code == V3ReligiousAffiliation._1038) + return "1038"; + if (code == V3ReligiousAffiliation._1039) + return "1039"; + if (code == V3ReligiousAffiliation._1040) + return "1040"; + if (code == V3ReligiousAffiliation._1041) + return "1041"; + if (code == V3ReligiousAffiliation._1042) + return "1042"; + if (code == V3ReligiousAffiliation._1043) + return "1043"; + if (code == V3ReligiousAffiliation._1044) + return "1044"; + if (code == V3ReligiousAffiliation._1045) + return "1045"; + if (code == V3ReligiousAffiliation._1046) + return "1046"; + if (code == V3ReligiousAffiliation._1047) + return "1047"; + if (code == V3ReligiousAffiliation._1048) + return "1048"; + if (code == V3ReligiousAffiliation._1049) + return "1049"; + if (code == V3ReligiousAffiliation._1050) + return "1050"; + if (code == V3ReligiousAffiliation._1051) + return "1051"; + if (code == V3ReligiousAffiliation._1052) + return "1052"; + if (code == V3ReligiousAffiliation._1053) + return "1053"; + if (code == V3ReligiousAffiliation._1054) + return "1054"; + if (code == V3ReligiousAffiliation._1055) + return "1055"; + if (code == V3ReligiousAffiliation._1056) + return "1056"; + if (code == V3ReligiousAffiliation._1057) + return "1057"; + if (code == V3ReligiousAffiliation._1058) + return "1058"; + if (code == V3ReligiousAffiliation._1059) + return "1059"; + if (code == V3ReligiousAffiliation._1060) + return "1060"; + if (code == V3ReligiousAffiliation._1061) + return "1061"; + if (code == V3ReligiousAffiliation._1062) + return "1062"; + if (code == V3ReligiousAffiliation._1063) + return "1063"; + if (code == V3ReligiousAffiliation._1064) + return "1064"; + if (code == V3ReligiousAffiliation._1065) + return "1065"; + if (code == V3ReligiousAffiliation._1066) + return "1066"; + if (code == V3ReligiousAffiliation._1067) + return "1067"; + if (code == V3ReligiousAffiliation._1068) + return "1068"; + if (code == V3ReligiousAffiliation._1069) + return "1069"; + if (code == V3ReligiousAffiliation._1070) + return "1070"; + if (code == V3ReligiousAffiliation._1071) + return "1071"; + if (code == V3ReligiousAffiliation._1072) + return "1072"; + if (code == V3ReligiousAffiliation._1073) + return "1073"; + if (code == V3ReligiousAffiliation._1074) + return "1074"; + if (code == V3ReligiousAffiliation._1075) + return "1075"; + if (code == V3ReligiousAffiliation._1076) + return "1076"; + if (code == V3ReligiousAffiliation._1077) + return "1077"; + if (code == V3ReligiousAffiliation._1078) + return "1078"; + if (code == V3ReligiousAffiliation._1079) + return "1079"; + if (code == V3ReligiousAffiliation._1080) + return "1080"; + if (code == V3ReligiousAffiliation._1081) + return "1081"; + if (code == V3ReligiousAffiliation._1082) + return "1082"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevel.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevel.java new file mode 100644 index 00000000000..608f2020501 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevel.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ResponseLevel { + + /** + * Respond with exceptions and a notification of completion + */ + C, + /** + * Respond with exceptions, completion, modifications and include more detail information (if applicable) + */ + D, + /** + * Respond with exceptions only + */ + E, + /** + * Respond with exceptions, completion, and modification with detail (as above), and send positive confirmations even if no modifications are being made. + */ + F, + /** + * Respond only with message level acknowledgements, i.e., only notify acceptance or rejection of the message, do not include any application-level detail + */ + N, + /** + * Respond with exceptions, completions and modifications or revisions done before completion + */ + R, + /** + * Do not send any kind of response + */ + X, + /** + * added to help the parsers + */ + NULL; + public static V3ResponseLevel fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("C".equals(codeString)) + return C; + if ("D".equals(codeString)) + return D; + if ("E".equals(codeString)) + return E; + if ("F".equals(codeString)) + return F; + if ("N".equals(codeString)) + return N; + if ("R".equals(codeString)) + return R; + if ("X".equals(codeString)) + return X; + throw new Exception("Unknown V3ResponseLevel code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case C: return "C"; + case D: return "D"; + case E: return "E"; + case F: return "F"; + case N: return "N"; + case R: return "R"; + case X: return "X"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ResponseLevel"; + } + public String getDefinition() { + switch (this) { + case C: return "Respond with exceptions and a notification of completion"; + case D: return "Respond with exceptions, completion, modifications and include more detail information (if applicable)"; + case E: return "Respond with exceptions only"; + case F: return "Respond with exceptions, completion, and modification with detail (as above), and send positive confirmations even if no modifications are being made."; + case N: return "Respond only with message level acknowledgements, i.e., only notify acceptance or rejection of the message, do not include any application-level detail"; + case R: return "Respond with exceptions, completions and modifications or revisions done before completion"; + case X: return "Do not send any kind of response"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case C: return "completion"; + case D: return "detail"; + case E: return "exception"; + case F: return "confirmation"; + case N: return "message-control"; + case R: return "modification"; + case X: return "none"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevelEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevelEnumFactory.java new file mode 100644 index 00000000000..9846eadcf3d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseLevelEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ResponseLevelEnumFactory implements EnumFactory { + + public V3ResponseLevel fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("C".equals(codeString)) + return V3ResponseLevel.C; + if ("D".equals(codeString)) + return V3ResponseLevel.D; + if ("E".equals(codeString)) + return V3ResponseLevel.E; + if ("F".equals(codeString)) + return V3ResponseLevel.F; + if ("N".equals(codeString)) + return V3ResponseLevel.N; + if ("R".equals(codeString)) + return V3ResponseLevel.R; + if ("X".equals(codeString)) + return V3ResponseLevel.X; + throw new IllegalArgumentException("Unknown V3ResponseLevel code '"+codeString+"'"); + } + + public String toCode(V3ResponseLevel code) { + if (code == V3ResponseLevel.C) + return "C"; + if (code == V3ResponseLevel.D) + return "D"; + if (code == V3ResponseLevel.E) + return "E"; + if (code == V3ResponseLevel.F) + return "F"; + if (code == V3ResponseLevel.N) + return "N"; + if (code == V3ResponseLevel.R) + return "R"; + if (code == V3ResponseLevel.X) + return "X"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModality.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModality.java new file mode 100644 index 00000000000..35a1fedece5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModality.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ResponseModality { + + /** + * Query response to be sent as an HL7 Batch. + */ + B, + /** + * Query response to occur in real time. + */ + R, + /** + * Query response to sent as a series of responses at the same time without the use of batch formatting. + */ + T, + /** + * added to help the parsers + */ + NULL; + public static V3ResponseModality fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("B".equals(codeString)) + return B; + if ("R".equals(codeString)) + return R; + if ("T".equals(codeString)) + return T; + throw new Exception("Unknown V3ResponseModality code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case B: return "B"; + case R: return "R"; + case T: return "T"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ResponseModality"; + } + public String getDefinition() { + switch (this) { + case B: return "Query response to be sent as an HL7 Batch."; + case R: return "Query response to occur in real time."; + case T: return "Query response to sent as a series of responses at the same time without the use of batch formatting."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case B: return "Batch"; + case R: return "Real Time"; + case T: return "Bolus"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModalityEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModalityEnumFactory.java new file mode 100644 index 00000000000..cfef6720012 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModalityEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ResponseModalityEnumFactory implements EnumFactory { + + public V3ResponseModality fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("B".equals(codeString)) + return V3ResponseModality.B; + if ("R".equals(codeString)) + return V3ResponseModality.R; + if ("T".equals(codeString)) + return V3ResponseModality.T; + throw new IllegalArgumentException("Unknown V3ResponseModality code '"+codeString+"'"); + } + + public String toCode(V3ResponseModality code) { + if (code == V3ResponseModality.B) + return "B"; + if (code == V3ResponseModality.R) + return "R"; + if (code == V3ResponseModality.T) + return "T"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseMode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseMode.java new file mode 100644 index 00000000000..ea0629306d8 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseMode.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3ResponseMode { + + /** + * The receiver may respond in a non-immediate manner. Note: this will be the default value. + */ + D, + /** + * The receiver is required to assume that the sender is blocking and behave appropriately by sending an immediate response. + */ + I, + /** + * The receiver shall keep any application responses in a queue until such time as the queue is polled. + */ + Q, + /** + * added to help the parsers + */ + NULL; + public static V3ResponseMode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return D; + if ("I".equals(codeString)) + return I; + if ("Q".equals(codeString)) + return Q; + throw new Exception("Unknown V3ResponseMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case D: return "D"; + case I: return "I"; + case Q: return "Q"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/ResponseMode"; + } + public String getDefinition() { + switch (this) { + case D: return "The receiver may respond in a non-immediate manner. Note: this will be the default value."; + case I: return "The receiver is required to assume that the sender is blocking and behave appropriately by sending an immediate response."; + case Q: return "The receiver shall keep any application responses in a queue until such time as the queue is polled."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case D: return "deferred"; + case I: return "immediate"; + case Q: return "queue"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModeEnumFactory.java new file mode 100644 index 00000000000..cb0e183e679 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ResponseModeEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3ResponseModeEnumFactory implements EnumFactory { + + public V3ResponseMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return V3ResponseMode.D; + if ("I".equals(codeString)) + return V3ResponseMode.I; + if ("Q".equals(codeString)) + return V3ResponseMode.Q; + throw new IllegalArgumentException("Unknown V3ResponseMode code '"+codeString+"'"); + } + + public String toCode(V3ResponseMode code) { + if (code == V3ResponseMode.D) + return "D"; + if (code == V3ResponseMode.I) + return "I"; + if (code == V3ResponseMode.Q) + return "Q"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClass.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClass.java new file mode 100644 index 00000000000..4d93b1f247a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClass.java @@ -0,0 +1,1190 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RoleClass { + + /** + * Corresponds to the Role class + */ + ROL, + /** + * A general association between two entities that is neither partitive nor ontological. + */ + _ROLECLASSASSOCIATIVE, + /** + * A relationship that is based on mutual behavior of the two Entities as being related. The basis of such relationship may be agreements (e.g., spouses, contract parties) or they may be de facto behavior (e.g. friends) or may be an incidental involvement with each other (e.g. parties over a dispute, siblings, children). + */ + _ROLECLASSMUTUALRELATIONSHIP, + /** + * A relationship between two entities that is formally recognized, frequently by a contract or similar agreement. + */ + _ROLECLASSRELATIONSHIPFORMAL, + /** + * Player of the Affiliate role has a business/professional relationship with scoper. Player and scoper may be persons or organization. The Affiliate relationship does not imply membership in a group, nor does it exist for resource scheduling purposes. + + + Example: A healthcare provider is affiliated with another provider as a business associate. + */ + AFFL, + /** + * An entity (player) that acts or is authorized to act on behalf of another entity (scoper). + */ + AGNT, + /** + * An agent role in which the agent is an Entity acting in the employ of an organization. The focus is on functional role on behalf of the organization, unlike the Employee role where the focus is on the 'Human Resources' relationship between the employee and the organization. + */ + ASSIGNED, + /** + * An Entity that is authorized to issue or instantiate permissions, privileges, credentials or other formal/legal authorizations. + */ + COMPAR, + /** + * The role of a person (player) who is the officer or signature authority for of a scoping entity, usually an organization (scoper). + */ + SGNOFF, + /** + * A person or an organization (player) which provides or receives information regarding another entity (scoper). Examples; patient NOK and emergency contacts; guarantor contact; employer contact. + */ + CON, + /** + * An entity to be contacted in the event of an emergency. + */ + ECON, + /** + * An individual designated for notification as the next of kin for a given entity. + */ + NOK, + /** + * Guardian of a ward + */ + GUARD, + /** + * Citizen of apolitical entity + */ + CIT, + /** + * A role class played by a person who receives benefit coverage under the terms of a particular insurance policy. The underwriter of that policy is the scoping entity. The covered party receives coverage because of some contractual or other relationship with the holder of that policy. + + + Discussion:This reason for coverage is captured in 'Role.code' and a relationship link with type code of indirect authority should be included using the policy holder role as the source, and the covered party role as the target. + + Note that a particular policy may cover several individuals one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder. + */ + COVPTY, + /** + * Description: A role played by a party making a claim for coverage under a policy or program. A claimant must be either a person or organization, or a group of persons or organizations. A claimant is not a named insured or a program eligible. + + + Discussion: With respect to liability insurance such as property and casualty insurance, a claimant must file a claim requesting indemnification for a loss that the claimant considers covered under the policy of a named insured. The claims adjuster for the policy underwriter will review the claim to determine whether the loss meets the benefit coverage criteria under a policy, and base any indemnification or coverage payment on that review. If a third party is liable in whole or part for the loss, the underwriter may pursue third party liability recovery. A claimant may be involved in civil or criminal legal proceedings involving claims against a defendant party that is indemnified by an insurance policy or to protest the finding of a claims adjustor. With respect to life insurance, a beneficiary designated by a named insured becomes a claimant of the proceeds of coverage, as in the case of a life insurance policy. However, a claimant for coverage under life insurance is not necessarily a designated beneficiary. + + + Note: A claimant is not a named insured. However, a named insured may make a claim under a policy, e.g., an insured driver may make a claim for an injury under his or her comprehensive automobile insurance policy. Similarly, a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants. + + In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that either a named insured or an individual insured has filed a claim for a loss. In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a "claim" under the program for benefits. Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits. + + + Example: A claimant under automobile policy that is not the named insured. + */ + CLAIM, + /** + * Description: A role played by a party to an insurance policy to which the insurer agrees to indemnify for losses, provides benefits for, or renders services. A named insured may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations. + + + Discussion: The coded concept NAMED should not be used where a more specific child concept in this Specializable value set applies. In some cases, the named insured may not be the policy holder, e.g., where a policy holder purchases life insurance policy in which another party is the named insured and the policy holder is the beneficiary of the policy. + + + Note: The party playing the role of a named insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a named insured may make a claim under a policy, e.g., e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy e.g., if injured in an automobile accident and there is no liable third party. In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that a named insured has filed a claim for a loss. + + + Example: The named insured under a comprehensive automobile, disability, or property and casualty policy that is the named insured and may or may not be the policy holder. + */ + NAMED, + /** + * Description: A role played by a person covered under a policy or program based on an association with a subscriber, which is recognized by the policy holder. + + + Note: The party playing the role of a dependent is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a dependent may make a claim under a policy, e.g., a dependent under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party. In the case of a dependent making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the dependent has filed a claim for services covered under the health insurance policy. + + + Example: The dependent has an association with the subscriber such as a financial dependency or personal relationship such as that of a spouse, or a natural or adopted child. The policy holder may be required by law to recognize certain associations or may have discretion about the associations. For example, a policy holder may dictate the criteria for the dependent status of adult children who are students, such as requiring full time enrollment, or may recognize domestic partners as dependents. Under certain circumstances, the dependent may be under the indirect authority of a responsible party acting as a surrogate for the subscriber, for example, if the subscriber is differently abled or deceased, a guardian ad Lidem or estate executor may be appointed to assume the subscriberaTMs legal standing in the relationship with the dependent. + */ + DEPEN, + /** + * Description: A role played by a party covered under a policy as the policy holder. An individual may be either a person or an organization. + + + Note: The party playing the role of an individual insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a named insured may make a claim under a policy, e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy if injured in an automobile accident and there is no liable third party. In the case of an individual insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that an individual insured has filed a claim for a loss. + + + Example: The individual insured under a comprehensive automobile, disability, or property and casualty policy that is the policy holder. + */ + INDIV, + /** + * Description: A role played by a person covered under a policy based on association with a sponsor who is the policy holder, and whose association may provide for the eligibility of dependents for coverage. + + + Discussion: The policy holder holds the contract with the policy or program underwriter. The subscriber holds a certificate of coverage under the contract. In legal proceedings concerning the policy or program, the terms of the contract takes precedence over the terms of the certificate of coverage if there are any inconsistencies. + + + Note: The party playing the role of a subscriber is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a subscriber may make a claim under a policy, e.g., a subscriber under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party. In the case of a subscriber making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the subscriber has filed a claim for services covered under the health insurance policy. + + + Example: An employee or a member of an association. + */ + SUBSCR, + /** + * Description: A role played by a party that meets the eligibility criteria for coverage under a program. A program eligible may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations. + + + Discussion: A program as typically government administered coverage for parties determined eligible under the terms of the program. + + + Note: The party playing a program eligible is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants. + + In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a "claim" under the program for benefits. Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits. + + + Example: A party meeting eligibility criteria related to health or financial status, e.g., in the U.S., persons meeting health, demographic, or financial criteria established by state and federal law are eligible for Medicaid. + */ + PROG, + /** + * A role played by a provider, always a person, who has agency authority from a Clinical Research Sponsor to direct the conduct of a clinical research trial or study on behalf of the sponsor. + */ + CRINV, + /** + * A role played by an entity, usually an organization, that is the sponsor of a clinical research trial or study. The sponsor commissions the study, bears the expenses, is responsible for satisfying all legal requirements concerning subject safety and privacy, and is generally responsible for collection, storage and analysis of the data generated during the trial. No scoper is necessary, as a clinical research sponsor undertakes the role on its own authority and declaration. Clinical research sponsors are usually educational or other research organizations, government agencies or biopharmaceutical companies. + */ + CRSPNSR, + /** + * A relationship between a person or organization and a person or organization formed for the purpose of exchanging work for compensation. The purpose of the role is to identify the type of relationship the employee has to the employer, rather than the nature of the work actually performed. (Contrast with AssignedEntity.) + */ + EMP, + /** + * A role played by a member of a military service. Scoper is the military service (e.g. Army, Navy, Air Force, etc.) or, more specifically, the unit (e.g. Company C, 3rd Battalion, 4th Division, etc.) + */ + MIL, + /** + * A person or organization (player) that serves as a financial guarantor for another person or organization (scoper). + */ + GUAR, + /** + * An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation. + */ + INVSBJ, + /** + * A person, non-person living subject, or place that is the subject of an investigation related to a notifiable condition (health circumstance that is reportable within the applicable public health jurisdiction) + */ + CASEBJ, + /** + * Definition:Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established. + + + Examples: Screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the experimental portion of the design. + */ + RESBJ, + /** + * A relationship in which the scoper certifies the player ( e. g. a medical care giver, a medical device or a provider organization) to perform certain activities that fall under the jurisdiction of the scoper (e.g., a health authority licensing healthcare providers, a medical quality authority certifying healthcare professionals). + */ + LIC, + /** + * notary public + */ + NOT, + /** + * An Entity (player) that is authorized to provide health care services by some authorizing agency (scoper). + */ + PROV, + /** + * A Role of a LivingSubject (player) as an actual or potential recipient of health care services from a healthcare provider organization (scoper). + + + Usage Note: Communication about relationships between patients and specific healthcare practitioners (people) is not done via scoper. Instead this is generally done using the CareProvision act. This allows linkage between patient and a particular healthcare practitioner role and also allows description of the type of care involved in the relationship. + */ + PAT, + /** + * The role of an organization or individual designated to receive payment for a claim against a particular coverage. The scoping entity is the organization that is the submitter of the invoice in question. + */ + PAYEE, + /** + * The role of an organization that undertakes to accept claims invoices, assess the coverage or payments due for those invoices and pay to the designated payees for those invoices. This role may be either the underwriter or a third-party organization authorized by the underwriter. The scoping entity is the organization that underwrites the claimed coverage. + */ + PAYOR, + /** + * A role played by a person or organization that holds an insurance policy. The underwriter of that policy is the scoping entity. + + + Discussion:The identifier of the policy is captured in 'Role.id' when the Role is a policy holder. + + A particular policy may cover several individuals one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder. + */ + POLHOLD, + /** + * An entity (player) that has been recognized as having certain training/experience or other characteristics that would make said entity an appropriate performer for a certain activity. The scoper is an organization that educates or qualifies entities. + */ + QUAL, + /** + * A role played by an entity, usually an organization that is the sponsor of an insurance plan or a health program. A sponsor is the party that is ultimately accountable for the coverage by employment contract or by law. A sponsor can be an employer, union, government agency, or association. Fully insured sponsors establish the terms of the plan and contract with health insurance plans to assume the risk and to administer the plan. Self-insured sponsors delegate coverage administration, but not risk, to third-party administrators. Program sponsors designate services to be covered in accordance with statute. Program sponsors may administer the coverage themselves, delegate coverage administration, but not risk to third-party administrators, or contract with health insurance plans to assume the risk and administrator a program. Sponsors qualify individuals who may become + + + + a policy holder of the plan; + + + + where the sponsor is the policy holder, who may become a subscriber or a dependent to a policy under the plan; or + + + + where the sponsor is a government agency, who may become program eligibles under a program. + + + + The sponsor role may be further qualified by the SponsorRole.code. Entities playing the sponsor role may also play the role of a Coverage Administrator. + + + Example: An employer, union, government agency, or association. + */ + SPNSR, + /** + * A role played by an individual who is a student of a school, which is the scoping entity. + */ + STD, + /** + * A role played by a person or an organization. It is the party that + + + + accepts fiscal responsibility for insurance plans and the policies created under those plans; + + + + administers and accepts fiscal responsibility for a program that provides coverage for services to eligible individuals; and/or + + + + has the responsibility to assess the merits of each risk and decide a suitable premium for accepting all or part of the risk. If played by an organization, this role may be further specified by an appropriate RoleCode. + + + + + Example: + + + + + A health insurer; + + + + Medicaid Program; + + + + Lloyd's of London + */ + UNDWRT, + /** + * A person responsible for the primary care of a patient at home. + */ + CAREGIVER, + /** + * Links two entities with classCode PSN (person) in a personal relationship. The character of the relationship must be defined by a PersonalRelationshipRoleType code. The player and scoper are determined by PersonalRelationshipRoleType code as well. + */ + PRS, + /** + * An association for a playing Entity that is used, known, treated, handled, built, or destroyed, etc. under the auspices of the scoping Entity. The playing Entity is passive in these roles (even though it may be active in other roles), in the sense that the kinds of things done to it in this role happen without an agreement from the playing Entity. + */ + _ROLECLASSPASSIVE, + /** + * A role in which the playing entity (material) provides access to another entity. The principal use case is intravenous (or other bodily) access lines that preexist and need to be referred to for medication routing instructions. + */ + ACCESS, + /** + * A physical association whereby two Entities are in some (even lose) spatial relationship with each other such that they touch each other in some way. + + + Examples: the colon is connected (and therefore adjacent) to the jejunum; the colon is adjacent to the liver (even if not actually connected.) + + + UsageConstraints: Adjacency is in principle a symmetrical connection, but scoper and player of the role should, where applicable, be assigned to have scoper be the larger, more central Entity and player the smaller, more distant, appendage. + */ + ADJY, + /** + * An adjacency of two Entities held together by a bond which attaches to each of the two entities. + + + Examples: biceps brachii muscle connected to the radius bone, port 3 on a network switch connected to port 5 on a patch panel. + + + UsageConstraints: See Adjacency for the assignment of scoper (larger, more central) and player (smaller, more distant). + */ + CONC, + /** + * A connection between two atoms of a molecule. + + + Examples: double bond between first and second C in ethane, peptide bond between two amino-acid, disulfide bridge between two proteins, chelate and ion associations, even the much weaker van-der-Waals bonds can be considered molecular bonds. + + + UsageConstraints: See connection and adjacency for the assignment of player and scoper. + */ + BOND, + /** + * A connection between two regional parts. + + + Examples: the connection between ascending aorta and the aortic arc, connection between descending colon and sigmoid. + + + UsageConstraints: See connection and adjacency for the assignment of player and scoper. + */ + CONY, + /** + * A material (player) that can be administered to an Entity (scoper). + */ + ADMM, + /** + * Relates a place (playing Entity) as the location where a living subject (scoping Entity) was born. + */ + BIRTHPL, + /** + * Definition: Relates a place (playing Entity) as the location where a living subject (scoping Entity) died. + */ + DEATHPLC, + /** + * A material (player) distributed by a distributor (scoper) who functions between a manufacturer and a buyer or retailer. + */ + DST, + /** + * Material (player) sold by a retailer (scoper), who also give advice to prospective buyers. + */ + RET, + /** + * A role played by a place at which the location of an event may be recorded. + */ + EXLOC, + /** + * A role played by a place at which services may be provided. + */ + SDLOC, + /** + * A role of a place (player) that is intended to house the provision of services. Scoper is the Entity (typically Organization) that provides these services. This is not synonymous with "ownership." + */ + DSDLOC, + /** + * A role played by a place at which health care services may be provided without prior designation or authorization. + */ + ISDLOC, + /** + * A role played by an entity that has been exposed to a person or animal suffering a contagious disease, or with a location from which a toxin has been distributed. The player of the role is normally a person or animal, but it is possible that other entity types could become exposed. The role is scoped by the source of the exposure, and it is quite possible for a person playing the role of exposed party to also become the scoper a role played by another person. That is to say, once a person has become infected, it is possible, perhaps likely, for that person to infect others. + + Management of exposures and tracking exposed parties is a key function within public health, and within most public health contexts - exposed parties are known as "contacts." + */ + EXPR, + /** + * Entity that is currently in the possession of a holder (scoper), who holds, or uses it, usually based on some agreement with the owner. + */ + HLD, + /** + * The role of a material (player) that is the physical health chart belonging to an organization (scoper). + */ + HLTHCHRT, + /** + * A role in which the scoping entity designates an identifier for a playing entity. + */ + IDENT, + /** + * Scoped by the manufacturer + */ + MANU, + /** + * A manufactured material (player) that is used for its therapeutic properties. The manufacturer is the scoper. + */ + THER, + /** + * An entity (player) that is maintained by another entity (scoper). This is typical role held by durable equipment. The scoper assumes responsibility for proper operation, quality, and safety. + */ + MNT, + /** + * An Entity (player) for which someone (scoper) is granted by law the right to call the material (player) his own. This entitles the scoper to make decisions about the disposition of that material. + */ + OWN, + /** + * A product regulated by some governmentatl orgnization. The role is played by Material and scoped by Organization. + + Rationale: To support an entity clone used to identify the NDC number for a drug product. + */ + RGPR, + /** + * Relates a place entity (player) as the region over which the scoper (typically an Organization) has certain authority (jurisdiction). For example, the Calgary Regional Health Authority (scoper) has authority over the territory "Region 4 of Alberta" (player) in matters of health. + */ + TERR, + /** + * Description:An entity (player) that is used by another entity (scoper) + */ + USED, + /** + * A role a product plays when a guarantee is given to the purchaser by the seller (scoping entity) stating that the product is reliable and free from known defects and that the seller will repair or replace defective parts within a given time limit and under certain conditions. + */ + WRTE, + /** + * A relationship in which the scoping Entity defines or specifies what the playing Entity is. Thus, the player's "being" (Greek: ontos) is specified. + */ + _ROLECLASSONTOLOGICAL, + /** + * Description: Specifies the player Entity (the equivalent Entity) as an Entity that is considered to be equivalent to a reference Entity (scoper). The equivalence is in principle a symmetric relationship, however, it is expected that the scoper is a reference entity which serves as reference entity for multiple different equivalent entities. + + + Examples: An innovator's medicine formulation is the reference for "generics", i.e., formulations manufactured differently but having been proven to be biologically equivalent to the reference medicine. Another example is a reference ingredient that serves as basis for quantity specifications (basis of strength, e.g., metoprolol succinate specified in terms of metoprolol tartrate.) + */ + EQUIV, + /** + * The "same" role asserts an identity between playing and scoping entities, i.e., that they are in fact two records of the same entity instance, and, in the case of discrepancies (e.g different DOB, gender), that one or both are in error. + + + Usage: + + + playing and scoping entities must have same classCode, but need not have identical attributes or values. + + + Example: + + + a provider registry maintains sets of conflicting demographic data for what is reported to be the same individual. + */ + SAME, + /** + * Relates a prevailing record of an Entity (scoper) with another record (player) that it subsumes. + + + Examples: Show a correct new Person object (scoper) that subsumes one or more duplicate Person objects that had accidentally been created for the same physical person. + + + Constraints: Both the player and scoper must have the same classCode. + */ + SUBY, + /** + * Relates a specialized material concept (player) to its generalization (scoper). + */ + GEN, + /** + * A special link between pharmaceuticals indicating that the target (scoper) is a generic for the source (player). + */ + GRIC, + /** + * An individual piece of material (player) instantiating a class of material (scoper). + */ + INST, + /** + * An association between two Entities where the playing Entity is considered in some way "part" of the scoping Entity, e.g., as a member, component, ingredient, or content. Being "part" in the broadest sense of the word can mean anything from being an integral structural component to a mere incidental temporary association of a playing Entity with a (generally larger) scoping Entity. + */ + _ROLECLASSPARTITIVE, + /** + * Relates a material as the content (player) to a container (scoper). Unlike ingredients, the content and a container remain separate (not mixed) and the content can be removed from the container. A content is not part of an empty container. + */ + CONT, + /** + * An exposure agent carrier is an entity that is capable of conveying an exposure agent from one entity to another. The scoper of the role must be the exposure agent (e.g., pathogen). + */ + EXPAGTCAR, + /** + * Description: A vector is a living subject that carries an exposure agent. The vector does not cause the disease itself, but exposes targets to the exposure agent. A mosquito carrying malaria is an example of a vector. The scoper of the role must be the exposure agent (e.g., pathogen). + */ + EXPVECTOR, + /** + * Description: A fomite is a non-living entity that is capable of conveying exposure agent from one entity to another. A doorknob contaminated with a Norovirus is an example of a fomite. Anyone touching the doorknob would be exposed to the virus. The scoper of the role must be the exposure agent (e.g., pathogen). + */ + FOMITE, + /** + * Relates a component (player) to a mixture (scoper). E.g., Glucose and Water are ingredients of D5W, latex may be an ingredient in a tracheal tube. + */ + INGR, + /** + * Definition: a therapeutically active ingredient (player) in a mixture (scoper), where the mixture is typically a manufactured pharmaceutical. It is unknown if the quantity of such an ingredient is expressed precisely in terms of the playing ingredient substance, or, if it is specified in terms of a closely related substance (active moiety or reference substance). + */ + ACTI, + /** + * Description: Active ingredient, where the ingredient substance (player) is itself the "basis of strength", i.e., where the Role.quantity specifies exactly the quantity of the player substance in the medicine formulation. + + + Examples: Lopressor 50 mg actually contains 50 mg of metoprolol succinate, even though the active moiety is metoprolol, but also: Tenormin 50 mg contain 50 mg of atenolol, as free base, i.e., where the active ingredient atenolol is also the active moiety. + */ + ACTIB, + /** + * Description: Active ingredient, where not the ingredient substance (player), but itaTMs active moiety is the "basis of strength", i.e., where the Role.quantity specifies the quantity of the player substance's active moiety in the medicine formulation. + + + Examples: 1 mL of Betopic 5mg/mL eye drops contains 5.6 mg betaxolol hydrochloride equivalent to betaxolol base 5 mg. + */ + ACTIM, + /** + * Description: Active ingredient, where not the ingredient substance (player) but another reference substance with the same active moiety, is the "basis of strength", i.e., where the Role.quantity specifies the quantity of a reference substance, similar but different from the player substance's in the medicine formulation. + + + Examples: Toprol-XL 50 mg contains 47.5 mg of metoprolol succinate equivalent to 50 mg of metoprolol tartrate. + */ + ACTIR, + /** + * A component (player) added to enhance the action of an active ingredient (scoper) (in the manner of a catalyst) but which has no active effect in and of itself. Such ingredients are significant in defining equivalence of products in a way that inactive ingredients are not. + */ + ADJV, + /** + * An ingredient (player) that is added to a base (scoper), that amounts to a minor part of the overall mixture. + */ + ADTV, + /** + * A base ingredient (player) is what comprises the major part of a mixture (scoper). E.g., Water in most i.v. solutions, or Vaseline in salves. Among all ingredients of a material, there should be only one base. A base substance can, in turn, be a mixture. + */ + BASE, + /** + * An ingredient whose presence is not intended but may not be reasonably avoided given the circumstances of the mixture's nature or origin. + */ + CNTM, + /** + * An ingredient which is not considered therapeutically active, e.g., colors, flavors, stabilizers, or preservatives, fillers, or structural components added to an active ingredient in order to facilitate administration of the active ingredient but without being considered therapeutically active. An inactive ingredient need not be biologically inert, e.g., might be active as an allergen or might have a pleasant taste, but is not an essential constituent delivering the therapeutic effect. + */ + IACT, + /** + * A substance (player) influencing the optical aspect of material (scoper). + */ + COLR, + /** + * A substance (player) added to a mixture (scoper) to make it taste a certain way. In food the use is obvious, in pharmaceuticals flavors can hide disgusting taste of the active ingredient (important in pediatric treatments). + */ + FLVR, + /** + * A substance (player) added to a mixture (scoper) to prevent microorganisms (fungi, bacteria) to spoil the mixture. + */ + PRSV, + /** + * A stabilizer (player) added to a mixture (scoper) in order to prevent the molecular disintegration of the main substance. + */ + STBL, + /** + * An ingredient (player) of a medication (scoper) that is inseparable from the active ingredients, but has no intended chemical or pharmaceutical effect itself, but which may have some systemic effect on the patient. + + An example is a collagen matrix used as a base for transplanting skin cells. The collagen matrix can be left permanently in the graft site. Because it is of bovine origin, the patient may exhibit allergies or may have cultural objections to its use. + */ + MECH, + /** + * Relates an entity (player) to a location (scoper) at which it is present in some way. This presence may be limited in time. + */ + LOCE, + /** + * Relates an entity (player) (e.g. a device) to a location (scoper) at which it is normally found or stored when not used. + */ + STOR, + /** + * A role played by an entity that is a member of a group. The group provides the scope for this role. + + Among other uses, groups as used in insurance (groups of covered individuals) and in scheduling where resources may be grouped for scheduling and logistical purposes. + */ + MBR, + /** + * Definition: an association between two Entities where the playing Entity (the part) is a component of the whole (scoper) in the sense of an integral structural component, that is distinct from other parts in the same whole, has a distinct function in the whole, and, as an effect, the full integrity of the whole depends (to some degree) on the presence of this part, even though the part may often be separable from the whole. + + + Discussion: Part is defined in opposition to (a) ingredient (not separable), (b) content (not a functional component), and (c) member (not functionally distinct from other members). + */ + PART, + /** + * The molecule or ion that is responsible for the intended pharmacological action of the drug substance, excluding those appended or associated parts of the molecule that make the molecule an ester, salt (including a salt with hydrogen or coordination bonds), or other noncovalent derivative (such as a complex, chelate, or clathrate). + + Examples: heparin-sodium and heparin-potassium have the same active moiety, heparin; the active moiety of morphine-hydrochloride is morphine. + */ + ACTM, + /** + * A role played by a material entity that is a specimen for an act. It is scoped by the source of the specimen. + */ + SPEC, + /** + * A portion (player) of an original or source specimen (scoper) used for testing or transportation. + */ + ALQT, + /** + * A microorganism that has been isolated from other microorganisms or a source matrix. + */ + ISLT, + /** + * added to help the parsers + */ + NULL; + public static V3RoleClass fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("ROL".equals(codeString)) + return ROL; + if ("_RoleClassAssociative".equals(codeString)) + return _ROLECLASSASSOCIATIVE; + if ("_RoleClassMutualRelationship".equals(codeString)) + return _ROLECLASSMUTUALRELATIONSHIP; + if ("_RoleClassRelationshipFormal".equals(codeString)) + return _ROLECLASSRELATIONSHIPFORMAL; + if ("AFFL".equals(codeString)) + return AFFL; + if ("AGNT".equals(codeString)) + return AGNT; + if ("ASSIGNED".equals(codeString)) + return ASSIGNED; + if ("COMPAR".equals(codeString)) + return COMPAR; + if ("SGNOFF".equals(codeString)) + return SGNOFF; + if ("CON".equals(codeString)) + return CON; + if ("ECON".equals(codeString)) + return ECON; + if ("NOK".equals(codeString)) + return NOK; + if ("GUARD".equals(codeString)) + return GUARD; + if ("CIT".equals(codeString)) + return CIT; + if ("COVPTY".equals(codeString)) + return COVPTY; + if ("CLAIM".equals(codeString)) + return CLAIM; + if ("NAMED".equals(codeString)) + return NAMED; + if ("DEPEN".equals(codeString)) + return DEPEN; + if ("INDIV".equals(codeString)) + return INDIV; + if ("SUBSCR".equals(codeString)) + return SUBSCR; + if ("PROG".equals(codeString)) + return PROG; + if ("CRINV".equals(codeString)) + return CRINV; + if ("CRSPNSR".equals(codeString)) + return CRSPNSR; + if ("EMP".equals(codeString)) + return EMP; + if ("MIL".equals(codeString)) + return MIL; + if ("GUAR".equals(codeString)) + return GUAR; + if ("INVSBJ".equals(codeString)) + return INVSBJ; + if ("CASEBJ".equals(codeString)) + return CASEBJ; + if ("RESBJ".equals(codeString)) + return RESBJ; + if ("LIC".equals(codeString)) + return LIC; + if ("NOT".equals(codeString)) + return NOT; + if ("PROV".equals(codeString)) + return PROV; + if ("PAT".equals(codeString)) + return PAT; + if ("PAYEE".equals(codeString)) + return PAYEE; + if ("PAYOR".equals(codeString)) + return PAYOR; + if ("POLHOLD".equals(codeString)) + return POLHOLD; + if ("QUAL".equals(codeString)) + return QUAL; + if ("SPNSR".equals(codeString)) + return SPNSR; + if ("STD".equals(codeString)) + return STD; + if ("UNDWRT".equals(codeString)) + return UNDWRT; + if ("CAREGIVER".equals(codeString)) + return CAREGIVER; + if ("PRS".equals(codeString)) + return PRS; + if ("_RoleClassPassive".equals(codeString)) + return _ROLECLASSPASSIVE; + if ("ACCESS".equals(codeString)) + return ACCESS; + if ("ADJY".equals(codeString)) + return ADJY; + if ("CONC".equals(codeString)) + return CONC; + if ("BOND".equals(codeString)) + return BOND; + if ("CONY".equals(codeString)) + return CONY; + if ("ADMM".equals(codeString)) + return ADMM; + if ("BIRTHPL".equals(codeString)) + return BIRTHPL; + if ("DEATHPLC".equals(codeString)) + return DEATHPLC; + if ("DST".equals(codeString)) + return DST; + if ("RET".equals(codeString)) + return RET; + if ("EXLOC".equals(codeString)) + return EXLOC; + if ("SDLOC".equals(codeString)) + return SDLOC; + if ("DSDLOC".equals(codeString)) + return DSDLOC; + if ("ISDLOC".equals(codeString)) + return ISDLOC; + if ("EXPR".equals(codeString)) + return EXPR; + if ("HLD".equals(codeString)) + return HLD; + if ("HLTHCHRT".equals(codeString)) + return HLTHCHRT; + if ("IDENT".equals(codeString)) + return IDENT; + if ("MANU".equals(codeString)) + return MANU; + if ("THER".equals(codeString)) + return THER; + if ("MNT".equals(codeString)) + return MNT; + if ("OWN".equals(codeString)) + return OWN; + if ("RGPR".equals(codeString)) + return RGPR; + if ("TERR".equals(codeString)) + return TERR; + if ("USED".equals(codeString)) + return USED; + if ("WRTE".equals(codeString)) + return WRTE; + if ("_RoleClassOntological".equals(codeString)) + return _ROLECLASSONTOLOGICAL; + if ("EQUIV".equals(codeString)) + return EQUIV; + if ("SAME".equals(codeString)) + return SAME; + if ("SUBY".equals(codeString)) + return SUBY; + if ("GEN".equals(codeString)) + return GEN; + if ("GRIC".equals(codeString)) + return GRIC; + if ("INST".equals(codeString)) + return INST; + if ("_RoleClassPartitive".equals(codeString)) + return _ROLECLASSPARTITIVE; + if ("CONT".equals(codeString)) + return CONT; + if ("EXPAGTCAR".equals(codeString)) + return EXPAGTCAR; + if ("EXPVECTOR".equals(codeString)) + return EXPVECTOR; + if ("FOMITE".equals(codeString)) + return FOMITE; + if ("INGR".equals(codeString)) + return INGR; + if ("ACTI".equals(codeString)) + return ACTI; + if ("ACTIB".equals(codeString)) + return ACTIB; + if ("ACTIM".equals(codeString)) + return ACTIM; + if ("ACTIR".equals(codeString)) + return ACTIR; + if ("ADJV".equals(codeString)) + return ADJV; + if ("ADTV".equals(codeString)) + return ADTV; + if ("BASE".equals(codeString)) + return BASE; + if ("CNTM".equals(codeString)) + return CNTM; + if ("IACT".equals(codeString)) + return IACT; + if ("COLR".equals(codeString)) + return COLR; + if ("FLVR".equals(codeString)) + return FLVR; + if ("PRSV".equals(codeString)) + return PRSV; + if ("STBL".equals(codeString)) + return STBL; + if ("MECH".equals(codeString)) + return MECH; + if ("LOCE".equals(codeString)) + return LOCE; + if ("STOR".equals(codeString)) + return STOR; + if ("MBR".equals(codeString)) + return MBR; + if ("PART".equals(codeString)) + return PART; + if ("ACTM".equals(codeString)) + return ACTM; + if ("SPEC".equals(codeString)) + return SPEC; + if ("ALQT".equals(codeString)) + return ALQT; + if ("ISLT".equals(codeString)) + return ISLT; + throw new Exception("Unknown V3RoleClass code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ROL: return "ROL"; + case _ROLECLASSASSOCIATIVE: return "_RoleClassAssociative"; + case _ROLECLASSMUTUALRELATIONSHIP: return "_RoleClassMutualRelationship"; + case _ROLECLASSRELATIONSHIPFORMAL: return "_RoleClassRelationshipFormal"; + case AFFL: return "AFFL"; + case AGNT: return "AGNT"; + case ASSIGNED: return "ASSIGNED"; + case COMPAR: return "COMPAR"; + case SGNOFF: return "SGNOFF"; + case CON: return "CON"; + case ECON: return "ECON"; + case NOK: return "NOK"; + case GUARD: return "GUARD"; + case CIT: return "CIT"; + case COVPTY: return "COVPTY"; + case CLAIM: return "CLAIM"; + case NAMED: return "NAMED"; + case DEPEN: return "DEPEN"; + case INDIV: return "INDIV"; + case SUBSCR: return "SUBSCR"; + case PROG: return "PROG"; + case CRINV: return "CRINV"; + case CRSPNSR: return "CRSPNSR"; + case EMP: return "EMP"; + case MIL: return "MIL"; + case GUAR: return "GUAR"; + case INVSBJ: return "INVSBJ"; + case CASEBJ: return "CASEBJ"; + case RESBJ: return "RESBJ"; + case LIC: return "LIC"; + case NOT: return "NOT"; + case PROV: return "PROV"; + case PAT: return "PAT"; + case PAYEE: return "PAYEE"; + case PAYOR: return "PAYOR"; + case POLHOLD: return "POLHOLD"; + case QUAL: return "QUAL"; + case SPNSR: return "SPNSR"; + case STD: return "STD"; + case UNDWRT: return "UNDWRT"; + case CAREGIVER: return "CAREGIVER"; + case PRS: return "PRS"; + case _ROLECLASSPASSIVE: return "_RoleClassPassive"; + case ACCESS: return "ACCESS"; + case ADJY: return "ADJY"; + case CONC: return "CONC"; + case BOND: return "BOND"; + case CONY: return "CONY"; + case ADMM: return "ADMM"; + case BIRTHPL: return "BIRTHPL"; + case DEATHPLC: return "DEATHPLC"; + case DST: return "DST"; + case RET: return "RET"; + case EXLOC: return "EXLOC"; + case SDLOC: return "SDLOC"; + case DSDLOC: return "DSDLOC"; + case ISDLOC: return "ISDLOC"; + case EXPR: return "EXPR"; + case HLD: return "HLD"; + case HLTHCHRT: return "HLTHCHRT"; + case IDENT: return "IDENT"; + case MANU: return "MANU"; + case THER: return "THER"; + case MNT: return "MNT"; + case OWN: return "OWN"; + case RGPR: return "RGPR"; + case TERR: return "TERR"; + case USED: return "USED"; + case WRTE: return "WRTE"; + case _ROLECLASSONTOLOGICAL: return "_RoleClassOntological"; + case EQUIV: return "EQUIV"; + case SAME: return "SAME"; + case SUBY: return "SUBY"; + case GEN: return "GEN"; + case GRIC: return "GRIC"; + case INST: return "INST"; + case _ROLECLASSPARTITIVE: return "_RoleClassPartitive"; + case CONT: return "CONT"; + case EXPAGTCAR: return "EXPAGTCAR"; + case EXPVECTOR: return "EXPVECTOR"; + case FOMITE: return "FOMITE"; + case INGR: return "INGR"; + case ACTI: return "ACTI"; + case ACTIB: return "ACTIB"; + case ACTIM: return "ACTIM"; + case ACTIR: return "ACTIR"; + case ADJV: return "ADJV"; + case ADTV: return "ADTV"; + case BASE: return "BASE"; + case CNTM: return "CNTM"; + case IACT: return "IACT"; + case COLR: return "COLR"; + case FLVR: return "FLVR"; + case PRSV: return "PRSV"; + case STBL: return "STBL"; + case MECH: return "MECH"; + case LOCE: return "LOCE"; + case STOR: return "STOR"; + case MBR: return "MBR"; + case PART: return "PART"; + case ACTM: return "ACTM"; + case SPEC: return "SPEC"; + case ALQT: return "ALQT"; + case ISLT: return "ISLT"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RoleClass"; + } + public String getDefinition() { + switch (this) { + case ROL: return "Corresponds to the Role class"; + case _ROLECLASSASSOCIATIVE: return "A general association between two entities that is neither partitive nor ontological."; + case _ROLECLASSMUTUALRELATIONSHIP: return "A relationship that is based on mutual behavior of the two Entities as being related. The basis of such relationship may be agreements (e.g., spouses, contract parties) or they may be de facto behavior (e.g. friends) or may be an incidental involvement with each other (e.g. parties over a dispute, siblings, children)."; + case _ROLECLASSRELATIONSHIPFORMAL: return "A relationship between two entities that is formally recognized, frequently by a contract or similar agreement."; + case AFFL: return "Player of the Affiliate role has a business/professional relationship with scoper. Player and scoper may be persons or organization. The Affiliate relationship does not imply membership in a group, nor does it exist for resource scheduling purposes.\r\n\n \n Example: A healthcare provider is affiliated with another provider as a business associate."; + case AGNT: return "An entity (player) that acts or is authorized to act on behalf of another entity (scoper)."; + case ASSIGNED: return "An agent role in which the agent is an Entity acting in the employ of an organization. The focus is on functional role on behalf of the organization, unlike the Employee role where the focus is on the 'Human Resources' relationship between the employee and the organization."; + case COMPAR: return "An Entity that is authorized to issue or instantiate permissions, privileges, credentials or other formal/legal authorizations."; + case SGNOFF: return "The role of a person (player) who is the officer or signature authority for of a scoping entity, usually an organization (scoper)."; + case CON: return "A person or an organization (player) which provides or receives information regarding another entity (scoper). Examples; patient NOK and emergency contacts; guarantor contact; employer contact."; + case ECON: return "An entity to be contacted in the event of an emergency."; + case NOK: return "An individual designated for notification as the next of kin for a given entity."; + case GUARD: return "Guardian of a ward"; + case CIT: return "Citizen of apolitical entity"; + case COVPTY: return "A role class played by a person who receives benefit coverage under the terms of a particular insurance policy. The underwriter of that policy is the scoping entity. The covered party receives coverage because of some contractual or other relationship with the holder of that policy.\r\n\n \n Discussion:This reason for coverage is captured in 'Role.code' and a relationship link with type code of indirect authority should be included using the policy holder role as the source, and the covered party role as the target.\r\n\n Note that a particular policy may cover several individuals one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder."; + case CLAIM: return "Description: A role played by a party making a claim for coverage under a policy or program. A claimant must be either a person or organization, or a group of persons or organizations. A claimant is not a named insured or a program eligible.\r\n\n \n Discussion: With respect to liability insurance such as property and casualty insurance, a claimant must file a claim requesting indemnification for a loss that the claimant considers covered under the policy of a named insured. The claims adjuster for the policy underwriter will review the claim to determine whether the loss meets the benefit coverage criteria under a policy, and base any indemnification or coverage payment on that review. If a third party is liable in whole or part for the loss, the underwriter may pursue third party liability recovery. A claimant may be involved in civil or criminal legal proceedings involving claims against a defendant party that is indemnified by an insurance policy or to protest the finding of a claims adjustor. With respect to life insurance, a beneficiary designated by a named insured becomes a claimant of the proceeds of coverage, as in the case of a life insurance policy. However, a claimant for coverage under life insurance is not necessarily a designated beneficiary.\r\n\n \n Note: A claimant is not a named insured. However, a named insured may make a claim under a policy, e.g., an insured driver may make a claim for an injury under his or her comprehensive automobile insurance policy. Similarly, a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants.\r\n\n In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that either a named insured or an individual insured has filed a claim for a loss. In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a 'claim' under the program for benefits. Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits.\r\n\n \n Example: A claimant under automobile policy that is not the named insured."; + case NAMED: return "Description: A role played by a party to an insurance policy to which the insurer agrees to indemnify for losses, provides benefits for, or renders services. A named insured may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations.\r\n\n \n Discussion: The coded concept NAMED should not be used where a more specific child concept in this Specializable value set applies. In some cases, the named insured may not be the policy holder, e.g., where a policy holder purchases life insurance policy in which another party is the named insured and the policy holder is the beneficiary of the policy.\r\n\n \n Note: The party playing the role of a named insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a named insured may make a claim under a policy, e.g., e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy e.g., if injured in an automobile accident and there is no liable third party. In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that a named insured has filed a claim for a loss.\r\n\n \n Example: The named insured under a comprehensive automobile, disability, or property and casualty policy that is the named insured and may or may not be the policy holder."; + case DEPEN: return "Description: A role played by a person covered under a policy or program based on an association with a subscriber, which is recognized by the policy holder.\r\n\n \n Note: The party playing the role of a dependent is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a dependent may make a claim under a policy, e.g., a dependent under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party. In the case of a dependent making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the dependent has filed a claim for services covered under the health insurance policy.\r\n\n \n Example: The dependent has an association with the subscriber such as a financial dependency or personal relationship such as that of a spouse, or a natural or adopted child. The policy holder may be required by law to recognize certain associations or may have discretion about the associations. For example, a policy holder may dictate the criteria for the dependent status of adult children who are students, such as requiring full time enrollment, or may recognize domestic partners as dependents. Under certain circumstances, the dependent may be under the indirect authority of a responsible party acting as a surrogate for the subscriber, for example, if the subscriber is differently abled or deceased, a guardian ad Lidem or estate executor may be appointed to assume the subscriberaTMs legal standing in the relationship with the dependent."; + case INDIV: return "Description: A role played by a party covered under a policy as the policy holder. An individual may be either a person or an organization.\r\n\n \n Note: The party playing the role of an individual insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a named insured may make a claim under a policy, e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy if injured in an automobile accident and there is no liable third party. In the case of an individual insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that an individual insured has filed a claim for a loss.\r\n\n \n Example: The individual insured under a comprehensive automobile, disability, or property and casualty policy that is the policy holder."; + case SUBSCR: return "Description: A role played by a person covered under a policy based on association with a sponsor who is the policy holder, and whose association may provide for the eligibility of dependents for coverage.\r\n\n \n Discussion: The policy holder holds the contract with the policy or program underwriter. The subscriber holds a certificate of coverage under the contract. In legal proceedings concerning the policy or program, the terms of the contract takes precedence over the terms of the certificate of coverage if there are any inconsistencies.\r\n\n \n Note: The party playing the role of a subscriber is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However, a subscriber may make a claim under a policy, e.g., a subscriber under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party. In the case of a subscriber making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the subscriber has filed a claim for services covered under the health insurance policy.\r\n\n \n Example: An employee or a member of an association."; + case PROG: return "Description: A role played by a party that meets the eligibility criteria for coverage under a program. A program eligible may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations.\r\n\n \n Discussion: A program as typically government administered coverage for parties determined eligible under the terms of the program.\r\n\n \n Note: The party playing a program eligible is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant). However a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants.\r\n\n In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a 'claim' under the program for benefits. Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits.\r\n\n \n Example: A party meeting eligibility criteria related to health or financial status, e.g., in the U.S., persons meeting health, demographic, or financial criteria established by state and federal law are eligible for Medicaid."; + case CRINV: return "A role played by a provider, always a person, who has agency authority from a Clinical Research Sponsor to direct the conduct of a clinical research trial or study on behalf of the sponsor."; + case CRSPNSR: return "A role played by an entity, usually an organization, that is the sponsor of a clinical research trial or study. The sponsor commissions the study, bears the expenses, is responsible for satisfying all legal requirements concerning subject safety and privacy, and is generally responsible for collection, storage and analysis of the data generated during the trial. No scoper is necessary, as a clinical research sponsor undertakes the role on its own authority and declaration. Clinical research sponsors are usually educational or other research organizations, government agencies or biopharmaceutical companies."; + case EMP: return "A relationship between a person or organization and a person or organization formed for the purpose of exchanging work for compensation. The purpose of the role is to identify the type of relationship the employee has to the employer, rather than the nature of the work actually performed. (Contrast with AssignedEntity.)"; + case MIL: return "A role played by a member of a military service. Scoper is the military service (e.g. Army, Navy, Air Force, etc.) or, more specifically, the unit (e.g. Company C, 3rd Battalion, 4th Division, etc.)"; + case GUAR: return "A person or organization (player) that serves as a financial guarantor for another person or organization (scoper)."; + case INVSBJ: return "An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation."; + case CASEBJ: return "A person, non-person living subject, or place that is the subject of an investigation related to a notifiable condition (health circumstance that is reportable within the applicable public health jurisdiction)"; + case RESBJ: return "Definition:Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established.\r\n\n \n Examples: Screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the experimental portion of the design."; + case LIC: return "A relationship in which the scoper certifies the player ( e. g. a medical care giver, a medical device or a provider organization) to perform certain activities that fall under the jurisdiction of the scoper (e.g., a health authority licensing healthcare providers, a medical quality authority certifying healthcare professionals)."; + case NOT: return "notary public"; + case PROV: return "An Entity (player) that is authorized to provide health care services by some authorizing agency (scoper)."; + case PAT: return "A Role of a LivingSubject (player) as an actual or potential recipient of health care services from a healthcare provider organization (scoper).\r\n\n \n Usage Note: Communication about relationships between patients and specific healthcare practitioners (people) is not done via scoper. Instead this is generally done using the CareProvision act. This allows linkage between patient and a particular healthcare practitioner role and also allows description of the type of care involved in the relationship."; + case PAYEE: return "The role of an organization or individual designated to receive payment for a claim against a particular coverage. The scoping entity is the organization that is the submitter of the invoice in question."; + case PAYOR: return "The role of an organization that undertakes to accept claims invoices, assess the coverage or payments due for those invoices and pay to the designated payees for those invoices. This role may be either the underwriter or a third-party organization authorized by the underwriter. The scoping entity is the organization that underwrites the claimed coverage."; + case POLHOLD: return "A role played by a person or organization that holds an insurance policy. The underwriter of that policy is the scoping entity.\r\n\n \n Discussion:The identifier of the policy is captured in 'Role.id' when the Role is a policy holder.\r\n\n A particular policy may cover several individuals one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder."; + case QUAL: return "An entity (player) that has been recognized as having certain training/experience or other characteristics that would make said entity an appropriate performer for a certain activity. The scoper is an organization that educates or qualifies entities."; + case SPNSR: return "A role played by an entity, usually an organization that is the sponsor of an insurance plan or a health program. A sponsor is the party that is ultimately accountable for the coverage by employment contract or by law. A sponsor can be an employer, union, government agency, or association. Fully insured sponsors establish the terms of the plan and contract with health insurance plans to assume the risk and to administer the plan. Self-insured sponsors delegate coverage administration, but not risk, to third-party administrators. Program sponsors designate services to be covered in accordance with statute. Program sponsors may administer the coverage themselves, delegate coverage administration, but not risk to third-party administrators, or contract with health insurance plans to assume the risk and administrator a program. Sponsors qualify individuals who may become \r\n\n \n \n a policy holder of the plan;\r\n\n \n \n where the sponsor is the policy holder, who may become a subscriber or a dependent to a policy under the plan; or\r\n\n \n \n where the sponsor is a government agency, who may become program eligibles under a program. \r\n\n \n \n The sponsor role may be further qualified by the SponsorRole.code. Entities playing the sponsor role may also play the role of a Coverage Administrator.\r\n\n \n Example: An employer, union, government agency, or association."; + case STD: return "A role played by an individual who is a student of a school, which is the scoping entity."; + case UNDWRT: return "A role played by a person or an organization. It is the party that \r\n\n \n \n accepts fiscal responsibility for insurance plans and the policies created under those plans;\r\n\n \n \n administers and accepts fiscal responsibility for a program that provides coverage for services to eligible individuals; and/or\r\n\n \n \n has the responsibility to assess the merits of each risk and decide a suitable premium for accepting all or part of the risk. If played by an organization, this role may be further specified by an appropriate RoleCode.\r\n\n \n \n \n Example:\n \r\n\n \n \n A health insurer; \r\n\n \n \n Medicaid Program;\r\n\n \n \n Lloyd's of London"; + case CAREGIVER: return "A person responsible for the primary care of a patient at home."; + case PRS: return "Links two entities with classCode PSN (person) in a personal relationship. The character of the relationship must be defined by a PersonalRelationshipRoleType code. The player and scoper are determined by PersonalRelationshipRoleType code as well."; + case _ROLECLASSPASSIVE: return "An association for a playing Entity that is used, known, treated, handled, built, or destroyed, etc. under the auspices of the scoping Entity. The playing Entity is passive in these roles (even though it may be active in other roles), in the sense that the kinds of things done to it in this role happen without an agreement from the playing Entity."; + case ACCESS: return "A role in which the playing entity (material) provides access to another entity. The principal use case is intravenous (or other bodily) access lines that preexist and need to be referred to for medication routing instructions."; + case ADJY: return "A physical association whereby two Entities are in some (even lose) spatial relationship with each other such that they touch each other in some way.\r\n\n \n Examples: the colon is connected (and therefore adjacent) to the jejunum; the colon is adjacent to the liver (even if not actually connected.)\r\n\n \n UsageConstraints: Adjacency is in principle a symmetrical connection, but scoper and player of the role should, where applicable, be assigned to have scoper be the larger, more central Entity and player the smaller, more distant, appendage."; + case CONC: return "An adjacency of two Entities held together by a bond which attaches to each of the two entities. \r\n\n \n Examples: biceps brachii muscle connected to the radius bone, port 3 on a network switch connected to port 5 on a patch panel.\r\n\n \n UsageConstraints: See Adjacency for the assignment of scoper (larger, more central) and player (smaller, more distant)."; + case BOND: return "A connection between two atoms of a molecule.\r\n\n \n Examples: double bond between first and second C in ethane, peptide bond between two amino-acid, disulfide bridge between two proteins, chelate and ion associations, even the much weaker van-der-Waals bonds can be considered molecular bonds.\r\n\n \n UsageConstraints: See connection and adjacency for the assignment of player and scoper."; + case CONY: return "A connection between two regional parts.\r\n\n \n Examples: the connection between ascending aorta and the aortic arc, connection between descending colon and sigmoid.\r\n\n \n UsageConstraints: See connection and adjacency for the assignment of player and scoper."; + case ADMM: return "A material (player) that can be administered to an Entity (scoper)."; + case BIRTHPL: return "Relates a place (playing Entity) as the location where a living subject (scoping Entity) was born."; + case DEATHPLC: return "Definition: Relates a place (playing Entity) as the location where a living subject (scoping Entity) died."; + case DST: return "A material (player) distributed by a distributor (scoper) who functions between a manufacturer and a buyer or retailer."; + case RET: return "Material (player) sold by a retailer (scoper), who also give advice to prospective buyers."; + case EXLOC: return "A role played by a place at which the location of an event may be recorded."; + case SDLOC: return "A role played by a place at which services may be provided."; + case DSDLOC: return "A role of a place (player) that is intended to house the provision of services. Scoper is the Entity (typically Organization) that provides these services. This is not synonymous with 'ownership.'"; + case ISDLOC: return "A role played by a place at which health care services may be provided without prior designation or authorization."; + case EXPR: return "A role played by an entity that has been exposed to a person or animal suffering a contagious disease, or with a location from which a toxin has been distributed. The player of the role is normally a person or animal, but it is possible that other entity types could become exposed. The role is scoped by the source of the exposure, and it is quite possible for a person playing the role of exposed party to also become the scoper a role played by another person. That is to say, once a person has become infected, it is possible, perhaps likely, for that person to infect others.\r\n\n Management of exposures and tracking exposed parties is a key function within public health, and within most public health contexts - exposed parties are known as 'contacts.'"; + case HLD: return "Entity that is currently in the possession of a holder (scoper), who holds, or uses it, usually based on some agreement with the owner."; + case HLTHCHRT: return "The role of a material (player) that is the physical health chart belonging to an organization (scoper)."; + case IDENT: return "A role in which the scoping entity designates an identifier for a playing entity."; + case MANU: return "Scoped by the manufacturer"; + case THER: return "A manufactured material (player) that is used for its therapeutic properties. The manufacturer is the scoper."; + case MNT: return "An entity (player) that is maintained by another entity (scoper). This is typical role held by durable equipment. The scoper assumes responsibility for proper operation, quality, and safety."; + case OWN: return "An Entity (player) for which someone (scoper) is granted by law the right to call the material (player) his own. This entitles the scoper to make decisions about the disposition of that material."; + case RGPR: return "A product regulated by some governmentatl orgnization. The role is played by Material and scoped by Organization.\r\n\n Rationale: To support an entity clone used to identify the NDC number for a drug product."; + case TERR: return "Relates a place entity (player) as the region over which the scoper (typically an Organization) has certain authority (jurisdiction). For example, the Calgary Regional Health Authority (scoper) has authority over the territory 'Region 4 of Alberta' (player) in matters of health."; + case USED: return "Description:An entity (player) that is used by another entity (scoper)"; + case WRTE: return "A role a product plays when a guarantee is given to the purchaser by the seller (scoping entity) stating that the product is reliable and free from known defects and that the seller will repair or replace defective parts within a given time limit and under certain conditions."; + case _ROLECLASSONTOLOGICAL: return "A relationship in which the scoping Entity defines or specifies what the playing Entity is. Thus, the player's 'being' (Greek: ontos) is specified."; + case EQUIV: return "Description: Specifies the player Entity (the equivalent Entity) as an Entity that is considered to be equivalent to a reference Entity (scoper). The equivalence is in principle a symmetric relationship, however, it is expected that the scoper is a reference entity which serves as reference entity for multiple different equivalent entities. \r\n\n \n Examples: An innovator's medicine formulation is the reference for 'generics', i.e., formulations manufactured differently but having been proven to be biologically equivalent to the reference medicine. Another example is a reference ingredient that serves as basis for quantity specifications (basis of strength, e.g., metoprolol succinate specified in terms of metoprolol tartrate.)"; + case SAME: return "The 'same' role asserts an identity between playing and scoping entities, i.e., that they are in fact two records of the same entity instance, and, in the case of discrepancies (e.g different DOB, gender), that one or both are in error.\r\n\n \n Usage:\n \r\n\n playing and scoping entities must have same classCode, but need not have identical attributes or values.\r\n\n \n Example: \n \r\n\n a provider registry maintains sets of conflicting demographic data for what is reported to be the same individual."; + case SUBY: return "Relates a prevailing record of an Entity (scoper) with another record (player) that it subsumes.\r\n\n \n Examples: Show a correct new Person object (scoper) that subsumes one or more duplicate Person objects that had accidentally been created for the same physical person.\r\n\n \n Constraints: Both the player and scoper must have the same classCode."; + case GEN: return "Relates a specialized material concept (player) to its generalization (scoper)."; + case GRIC: return "A special link between pharmaceuticals indicating that the target (scoper) is a generic for the source (player)."; + case INST: return "An individual piece of material (player) instantiating a class of material (scoper)."; + case _ROLECLASSPARTITIVE: return "An association between two Entities where the playing Entity is considered in some way 'part' of the scoping Entity, e.g., as a member, component, ingredient, or content. Being 'part' in the broadest sense of the word can mean anything from being an integral structural component to a mere incidental temporary association of a playing Entity with a (generally larger) scoping Entity."; + case CONT: return "Relates a material as the content (player) to a container (scoper). Unlike ingredients, the content and a container remain separate (not mixed) and the content can be removed from the container. A content is not part of an empty container."; + case EXPAGTCAR: return "An exposure agent carrier is an entity that is capable of conveying an exposure agent from one entity to another. The scoper of the role must be the exposure agent (e.g., pathogen)."; + case EXPVECTOR: return "Description: A vector is a living subject that carries an exposure agent. The vector does not cause the disease itself, but exposes targets to the exposure agent. A mosquito carrying malaria is an example of a vector. The scoper of the role must be the exposure agent (e.g., pathogen)."; + case FOMITE: return "Description: A fomite is a non-living entity that is capable of conveying exposure agent from one entity to another. A doorknob contaminated with a Norovirus is an example of a fomite. Anyone touching the doorknob would be exposed to the virus. The scoper of the role must be the exposure agent (e.g., pathogen)."; + case INGR: return "Relates a component (player) to a mixture (scoper). E.g., Glucose and Water are ingredients of D5W, latex may be an ingredient in a tracheal tube."; + case ACTI: return "Definition: a therapeutically active ingredient (player) in a mixture (scoper), where the mixture is typically a manufactured pharmaceutical. It is unknown if the quantity of such an ingredient is expressed precisely in terms of the playing ingredient substance, or, if it is specified in terms of a closely related substance (active moiety or reference substance)."; + case ACTIB: return "Description: Active ingredient, where the ingredient substance (player) is itself the 'basis of strength', i.e., where the Role.quantity specifies exactly the quantity of the player substance in the medicine formulation. \r\n\n \n Examples: Lopressor 50 mg actually contains 50 mg of metoprolol succinate, even though the active moiety is metoprolol, but also: Tenormin 50 mg contain 50 mg of atenolol, as free base, i.e., where the active ingredient atenolol is also the active moiety."; + case ACTIM: return "Description: Active ingredient, where not the ingredient substance (player), but itaTMs active moiety is the 'basis of strength', i.e., where the Role.quantity specifies the quantity of the player substance's active moiety in the medicine formulation.\r\n\n \n Examples: 1 mL of Betopic 5mg/mL eye drops contains 5.6 mg betaxolol hydrochloride equivalent to betaxolol base 5 mg."; + case ACTIR: return "Description: Active ingredient, where not the ingredient substance (player) but another reference substance with the same active moiety, is the 'basis of strength', i.e., where the Role.quantity specifies the quantity of a reference substance, similar but different from the player substance's in the medicine formulation.\r\n\n \n Examples: Toprol-XL 50 mg contains 47.5 mg of metoprolol succinate equivalent to 50 mg of metoprolol tartrate."; + case ADJV: return "A component (player) added to enhance the action of an active ingredient (scoper) (in the manner of a catalyst) but which has no active effect in and of itself. Such ingredients are significant in defining equivalence of products in a way that inactive ingredients are not."; + case ADTV: return "An ingredient (player) that is added to a base (scoper), that amounts to a minor part of the overall mixture."; + case BASE: return "A base ingredient (player) is what comprises the major part of a mixture (scoper). E.g., Water in most i.v. solutions, or Vaseline in salves. Among all ingredients of a material, there should be only one base. A base substance can, in turn, be a mixture."; + case CNTM: return "An ingredient whose presence is not intended but may not be reasonably avoided given the circumstances of the mixture's nature or origin."; + case IACT: return "An ingredient which is not considered therapeutically active, e.g., colors, flavors, stabilizers, or preservatives, fillers, or structural components added to an active ingredient in order to facilitate administration of the active ingredient but without being considered therapeutically active. An inactive ingredient need not be biologically inert, e.g., might be active as an allergen or might have a pleasant taste, but is not an essential constituent delivering the therapeutic effect."; + case COLR: return "A substance (player) influencing the optical aspect of material (scoper)."; + case FLVR: return "A substance (player) added to a mixture (scoper) to make it taste a certain way. In food the use is obvious, in pharmaceuticals flavors can hide disgusting taste of the active ingredient (important in pediatric treatments)."; + case PRSV: return "A substance (player) added to a mixture (scoper) to prevent microorganisms (fungi, bacteria) to spoil the mixture."; + case STBL: return "A stabilizer (player) added to a mixture (scoper) in order to prevent the molecular disintegration of the main substance."; + case MECH: return "An ingredient (player) of a medication (scoper) that is inseparable from the active ingredients, but has no intended chemical or pharmaceutical effect itself, but which may have some systemic effect on the patient.\r\n\n An example is a collagen matrix used as a base for transplanting skin cells. The collagen matrix can be left permanently in the graft site. Because it is of bovine origin, the patient may exhibit allergies or may have cultural objections to its use."; + case LOCE: return "Relates an entity (player) to a location (scoper) at which it is present in some way. This presence may be limited in time."; + case STOR: return "Relates an entity (player) (e.g. a device) to a location (scoper) at which it is normally found or stored when not used."; + case MBR: return "A role played by an entity that is a member of a group. The group provides the scope for this role.\r\n\n Among other uses, groups as used in insurance (groups of covered individuals) and in scheduling where resources may be grouped for scheduling and logistical purposes."; + case PART: return "Definition: an association between two Entities where the playing Entity (the part) is a component of the whole (scoper) in the sense of an integral structural component, that is distinct from other parts in the same whole, has a distinct function in the whole, and, as an effect, the full integrity of the whole depends (to some degree) on the presence of this part, even though the part may often be separable from the whole.\r\n\n \n Discussion: Part is defined in opposition to (a) ingredient (not separable), (b) content (not a functional component), and (c) member (not functionally distinct from other members)."; + case ACTM: return "The molecule or ion that is responsible for the intended pharmacological action of the drug substance, excluding those appended or associated parts of the molecule that make the molecule an ester, salt (including a salt with hydrogen or coordination bonds), or other noncovalent derivative (such as a complex, chelate, or clathrate).\r\n\n Examples: heparin-sodium and heparin-potassium have the same active moiety, heparin; the active moiety of morphine-hydrochloride is morphine."; + case SPEC: return "A role played by a material entity that is a specimen for an act. It is scoped by the source of the specimen."; + case ALQT: return "A portion (player) of an original or source specimen (scoper) used for testing or transportation."; + case ISLT: return "A microorganism that has been isolated from other microorganisms or a source matrix."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ROL: return "role"; + case _ROLECLASSASSOCIATIVE: return "RoleClassAssociative"; + case _ROLECLASSMUTUALRELATIONSHIP: return "RoleClassMutualRelationship"; + case _ROLECLASSRELATIONSHIPFORMAL: return "RoleClassRelationshipFormal"; + case AFFL: return "affiliate"; + case AGNT: return "agent"; + case ASSIGNED: return "assigned entity"; + case COMPAR: return "commissioning party"; + case SGNOFF: return "signing authority or officer"; + case CON: return "contact"; + case ECON: return "emergency contact"; + case NOK: return "next of kin"; + case GUARD: return "guardian"; + case CIT: return "citizen"; + case COVPTY: return "covered party"; + case CLAIM: return "claimant"; + case NAMED: return "named insured"; + case DEPEN: return "dependent"; + case INDIV: return "individual"; + case SUBSCR: return "subscriber"; + case PROG: return "program eligible"; + case CRINV: return "clinical research investigator"; + case CRSPNSR: return "clinical research sponsor"; + case EMP: return "employee"; + case MIL: return "military person"; + case GUAR: return "guarantor"; + case INVSBJ: return "Investigation Subject"; + case CASEBJ: return "Case Subject"; + case RESBJ: return "research subject"; + case LIC: return "licensed entity"; + case NOT: return "notary public"; + case PROV: return "healthcare provider"; + case PAT: return "patient"; + case PAYEE: return "payee"; + case PAYOR: return "invoice payor"; + case POLHOLD: return "policy holder"; + case QUAL: return "qualified entity"; + case SPNSR: return "coverage sponsor"; + case STD: return "student"; + case UNDWRT: return "underwriter"; + case CAREGIVER: return "caregiver"; + case PRS: return "personal relationship"; + case _ROLECLASSPASSIVE: return "RoleClassPassive"; + case ACCESS: return "access"; + case ADJY: return "adjacency"; + case CONC: return "connection"; + case BOND: return "molecular bond"; + case CONY: return "continuity"; + case ADMM: return "Administerable Material"; + case BIRTHPL: return "birthplace"; + case DEATHPLC: return "place of death"; + case DST: return "distributed material"; + case RET: return "retailed material"; + case EXLOC: return "event location"; + case SDLOC: return "service delivery location"; + case DSDLOC: return "dedicated service delivery location"; + case ISDLOC: return "incidental service delivery location"; + case EXPR: return "exposed entity"; + case HLD: return "held entity"; + case HLTHCHRT: return "health chart"; + case IDENT: return "identified entity"; + case MANU: return "manufactured product"; + case THER: return "therapeutic agent"; + case MNT: return "maintained entity"; + case OWN: return "owned entity"; + case RGPR: return "regulated product"; + case TERR: return "territory of authority"; + case USED: return "used entity"; + case WRTE: return "warranted product"; + case _ROLECLASSONTOLOGICAL: return "RoleClassOntological"; + case EQUIV: return "equivalent entity"; + case SAME: return "same"; + case SUBY: return "subsumed by"; + case GEN: return "has generalization"; + case GRIC: return "has generic"; + case INST: return "instance"; + case _ROLECLASSPARTITIVE: return "RoleClassPartitive"; + case CONT: return "content"; + case EXPAGTCAR: return "exposure agent carrier"; + case EXPVECTOR: return "exposure vector"; + case FOMITE: return "fomite"; + case INGR: return "ingredient"; + case ACTI: return "active ingredient"; + case ACTIB: return "active ingredient - basis of strength"; + case ACTIM: return "active ingredient - moiety is basis of strength"; + case ACTIR: return "active ingredient - reference substance is basis of strength"; + case ADJV: return "adjuvant"; + case ADTV: return "additive"; + case BASE: return "base"; + case CNTM: return "contaminant ingredient"; + case IACT: return "inactive ingredient"; + case COLR: return "color additive"; + case FLVR: return "flavor additive"; + case PRSV: return "preservative"; + case STBL: return "stabilizer"; + case MECH: return "mechanical ingredient"; + case LOCE: return "located entity"; + case STOR: return "stored entity"; + case MBR: return "member"; + case PART: return "part"; + case ACTM: return "active moiety"; + case SPEC: return "specimen"; + case ALQT: return "aliquot"; + case ISLT: return "isolate"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClassEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClassEnumFactory.java new file mode 100644 index 00000000000..4a6cb1a7bd4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleClassEnumFactory.java @@ -0,0 +1,467 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RoleClassEnumFactory implements EnumFactory { + + public V3RoleClass fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("ROL".equals(codeString)) + return V3RoleClass.ROL; + if ("_RoleClassAssociative".equals(codeString)) + return V3RoleClass._ROLECLASSASSOCIATIVE; + if ("_RoleClassMutualRelationship".equals(codeString)) + return V3RoleClass._ROLECLASSMUTUALRELATIONSHIP; + if ("_RoleClassRelationshipFormal".equals(codeString)) + return V3RoleClass._ROLECLASSRELATIONSHIPFORMAL; + if ("AFFL".equals(codeString)) + return V3RoleClass.AFFL; + if ("AGNT".equals(codeString)) + return V3RoleClass.AGNT; + if ("ASSIGNED".equals(codeString)) + return V3RoleClass.ASSIGNED; + if ("COMPAR".equals(codeString)) + return V3RoleClass.COMPAR; + if ("SGNOFF".equals(codeString)) + return V3RoleClass.SGNOFF; + if ("CON".equals(codeString)) + return V3RoleClass.CON; + if ("ECON".equals(codeString)) + return V3RoleClass.ECON; + if ("NOK".equals(codeString)) + return V3RoleClass.NOK; + if ("GUARD".equals(codeString)) + return V3RoleClass.GUARD; + if ("CIT".equals(codeString)) + return V3RoleClass.CIT; + if ("COVPTY".equals(codeString)) + return V3RoleClass.COVPTY; + if ("CLAIM".equals(codeString)) + return V3RoleClass.CLAIM; + if ("NAMED".equals(codeString)) + return V3RoleClass.NAMED; + if ("DEPEN".equals(codeString)) + return V3RoleClass.DEPEN; + if ("INDIV".equals(codeString)) + return V3RoleClass.INDIV; + if ("SUBSCR".equals(codeString)) + return V3RoleClass.SUBSCR; + if ("PROG".equals(codeString)) + return V3RoleClass.PROG; + if ("CRINV".equals(codeString)) + return V3RoleClass.CRINV; + if ("CRSPNSR".equals(codeString)) + return V3RoleClass.CRSPNSR; + if ("EMP".equals(codeString)) + return V3RoleClass.EMP; + if ("MIL".equals(codeString)) + return V3RoleClass.MIL; + if ("GUAR".equals(codeString)) + return V3RoleClass.GUAR; + if ("INVSBJ".equals(codeString)) + return V3RoleClass.INVSBJ; + if ("CASEBJ".equals(codeString)) + return V3RoleClass.CASEBJ; + if ("RESBJ".equals(codeString)) + return V3RoleClass.RESBJ; + if ("LIC".equals(codeString)) + return V3RoleClass.LIC; + if ("NOT".equals(codeString)) + return V3RoleClass.NOT; + if ("PROV".equals(codeString)) + return V3RoleClass.PROV; + if ("PAT".equals(codeString)) + return V3RoleClass.PAT; + if ("PAYEE".equals(codeString)) + return V3RoleClass.PAYEE; + if ("PAYOR".equals(codeString)) + return V3RoleClass.PAYOR; + if ("POLHOLD".equals(codeString)) + return V3RoleClass.POLHOLD; + if ("QUAL".equals(codeString)) + return V3RoleClass.QUAL; + if ("SPNSR".equals(codeString)) + return V3RoleClass.SPNSR; + if ("STD".equals(codeString)) + return V3RoleClass.STD; + if ("UNDWRT".equals(codeString)) + return V3RoleClass.UNDWRT; + if ("CAREGIVER".equals(codeString)) + return V3RoleClass.CAREGIVER; + if ("PRS".equals(codeString)) + return V3RoleClass.PRS; + if ("_RoleClassPassive".equals(codeString)) + return V3RoleClass._ROLECLASSPASSIVE; + if ("ACCESS".equals(codeString)) + return V3RoleClass.ACCESS; + if ("ADJY".equals(codeString)) + return V3RoleClass.ADJY; + if ("CONC".equals(codeString)) + return V3RoleClass.CONC; + if ("BOND".equals(codeString)) + return V3RoleClass.BOND; + if ("CONY".equals(codeString)) + return V3RoleClass.CONY; + if ("ADMM".equals(codeString)) + return V3RoleClass.ADMM; + if ("BIRTHPL".equals(codeString)) + return V3RoleClass.BIRTHPL; + if ("DEATHPLC".equals(codeString)) + return V3RoleClass.DEATHPLC; + if ("DST".equals(codeString)) + return V3RoleClass.DST; + if ("RET".equals(codeString)) + return V3RoleClass.RET; + if ("EXLOC".equals(codeString)) + return V3RoleClass.EXLOC; + if ("SDLOC".equals(codeString)) + return V3RoleClass.SDLOC; + if ("DSDLOC".equals(codeString)) + return V3RoleClass.DSDLOC; + if ("ISDLOC".equals(codeString)) + return V3RoleClass.ISDLOC; + if ("EXPR".equals(codeString)) + return V3RoleClass.EXPR; + if ("HLD".equals(codeString)) + return V3RoleClass.HLD; + if ("HLTHCHRT".equals(codeString)) + return V3RoleClass.HLTHCHRT; + if ("IDENT".equals(codeString)) + return V3RoleClass.IDENT; + if ("MANU".equals(codeString)) + return V3RoleClass.MANU; + if ("THER".equals(codeString)) + return V3RoleClass.THER; + if ("MNT".equals(codeString)) + return V3RoleClass.MNT; + if ("OWN".equals(codeString)) + return V3RoleClass.OWN; + if ("RGPR".equals(codeString)) + return V3RoleClass.RGPR; + if ("TERR".equals(codeString)) + return V3RoleClass.TERR; + if ("USED".equals(codeString)) + return V3RoleClass.USED; + if ("WRTE".equals(codeString)) + return V3RoleClass.WRTE; + if ("_RoleClassOntological".equals(codeString)) + return V3RoleClass._ROLECLASSONTOLOGICAL; + if ("EQUIV".equals(codeString)) + return V3RoleClass.EQUIV; + if ("SAME".equals(codeString)) + return V3RoleClass.SAME; + if ("SUBY".equals(codeString)) + return V3RoleClass.SUBY; + if ("GEN".equals(codeString)) + return V3RoleClass.GEN; + if ("GRIC".equals(codeString)) + return V3RoleClass.GRIC; + if ("INST".equals(codeString)) + return V3RoleClass.INST; + if ("_RoleClassPartitive".equals(codeString)) + return V3RoleClass._ROLECLASSPARTITIVE; + if ("CONT".equals(codeString)) + return V3RoleClass.CONT; + if ("EXPAGTCAR".equals(codeString)) + return V3RoleClass.EXPAGTCAR; + if ("EXPVECTOR".equals(codeString)) + return V3RoleClass.EXPVECTOR; + if ("FOMITE".equals(codeString)) + return V3RoleClass.FOMITE; + if ("INGR".equals(codeString)) + return V3RoleClass.INGR; + if ("ACTI".equals(codeString)) + return V3RoleClass.ACTI; + if ("ACTIB".equals(codeString)) + return V3RoleClass.ACTIB; + if ("ACTIM".equals(codeString)) + return V3RoleClass.ACTIM; + if ("ACTIR".equals(codeString)) + return V3RoleClass.ACTIR; + if ("ADJV".equals(codeString)) + return V3RoleClass.ADJV; + if ("ADTV".equals(codeString)) + return V3RoleClass.ADTV; + if ("BASE".equals(codeString)) + return V3RoleClass.BASE; + if ("CNTM".equals(codeString)) + return V3RoleClass.CNTM; + if ("IACT".equals(codeString)) + return V3RoleClass.IACT; + if ("COLR".equals(codeString)) + return V3RoleClass.COLR; + if ("FLVR".equals(codeString)) + return V3RoleClass.FLVR; + if ("PRSV".equals(codeString)) + return V3RoleClass.PRSV; + if ("STBL".equals(codeString)) + return V3RoleClass.STBL; + if ("MECH".equals(codeString)) + return V3RoleClass.MECH; + if ("LOCE".equals(codeString)) + return V3RoleClass.LOCE; + if ("STOR".equals(codeString)) + return V3RoleClass.STOR; + if ("MBR".equals(codeString)) + return V3RoleClass.MBR; + if ("PART".equals(codeString)) + return V3RoleClass.PART; + if ("ACTM".equals(codeString)) + return V3RoleClass.ACTM; + if ("SPEC".equals(codeString)) + return V3RoleClass.SPEC; + if ("ALQT".equals(codeString)) + return V3RoleClass.ALQT; + if ("ISLT".equals(codeString)) + return V3RoleClass.ISLT; + throw new IllegalArgumentException("Unknown V3RoleClass code '"+codeString+"'"); + } + + public String toCode(V3RoleClass code) { + if (code == V3RoleClass.ROL) + return "ROL"; + if (code == V3RoleClass._ROLECLASSASSOCIATIVE) + return "_RoleClassAssociative"; + if (code == V3RoleClass._ROLECLASSMUTUALRELATIONSHIP) + return "_RoleClassMutualRelationship"; + if (code == V3RoleClass._ROLECLASSRELATIONSHIPFORMAL) + return "_RoleClassRelationshipFormal"; + if (code == V3RoleClass.AFFL) + return "AFFL"; + if (code == V3RoleClass.AGNT) + return "AGNT"; + if (code == V3RoleClass.ASSIGNED) + return "ASSIGNED"; + if (code == V3RoleClass.COMPAR) + return "COMPAR"; + if (code == V3RoleClass.SGNOFF) + return "SGNOFF"; + if (code == V3RoleClass.CON) + return "CON"; + if (code == V3RoleClass.ECON) + return "ECON"; + if (code == V3RoleClass.NOK) + return "NOK"; + if (code == V3RoleClass.GUARD) + return "GUARD"; + if (code == V3RoleClass.CIT) + return "CIT"; + if (code == V3RoleClass.COVPTY) + return "COVPTY"; + if (code == V3RoleClass.CLAIM) + return "CLAIM"; + if (code == V3RoleClass.NAMED) + return "NAMED"; + if (code == V3RoleClass.DEPEN) + return "DEPEN"; + if (code == V3RoleClass.INDIV) + return "INDIV"; + if (code == V3RoleClass.SUBSCR) + return "SUBSCR"; + if (code == V3RoleClass.PROG) + return "PROG"; + if (code == V3RoleClass.CRINV) + return "CRINV"; + if (code == V3RoleClass.CRSPNSR) + return "CRSPNSR"; + if (code == V3RoleClass.EMP) + return "EMP"; + if (code == V3RoleClass.MIL) + return "MIL"; + if (code == V3RoleClass.GUAR) + return "GUAR"; + if (code == V3RoleClass.INVSBJ) + return "INVSBJ"; + if (code == V3RoleClass.CASEBJ) + return "CASEBJ"; + if (code == V3RoleClass.RESBJ) + return "RESBJ"; + if (code == V3RoleClass.LIC) + return "LIC"; + if (code == V3RoleClass.NOT) + return "NOT"; + if (code == V3RoleClass.PROV) + return "PROV"; + if (code == V3RoleClass.PAT) + return "PAT"; + if (code == V3RoleClass.PAYEE) + return "PAYEE"; + if (code == V3RoleClass.PAYOR) + return "PAYOR"; + if (code == V3RoleClass.POLHOLD) + return "POLHOLD"; + if (code == V3RoleClass.QUAL) + return "QUAL"; + if (code == V3RoleClass.SPNSR) + return "SPNSR"; + if (code == V3RoleClass.STD) + return "STD"; + if (code == V3RoleClass.UNDWRT) + return "UNDWRT"; + if (code == V3RoleClass.CAREGIVER) + return "CAREGIVER"; + if (code == V3RoleClass.PRS) + return "PRS"; + if (code == V3RoleClass._ROLECLASSPASSIVE) + return "_RoleClassPassive"; + if (code == V3RoleClass.ACCESS) + return "ACCESS"; + if (code == V3RoleClass.ADJY) + return "ADJY"; + if (code == V3RoleClass.CONC) + return "CONC"; + if (code == V3RoleClass.BOND) + return "BOND"; + if (code == V3RoleClass.CONY) + return "CONY"; + if (code == V3RoleClass.ADMM) + return "ADMM"; + if (code == V3RoleClass.BIRTHPL) + return "BIRTHPL"; + if (code == V3RoleClass.DEATHPLC) + return "DEATHPLC"; + if (code == V3RoleClass.DST) + return "DST"; + if (code == V3RoleClass.RET) + return "RET"; + if (code == V3RoleClass.EXLOC) + return "EXLOC"; + if (code == V3RoleClass.SDLOC) + return "SDLOC"; + if (code == V3RoleClass.DSDLOC) + return "DSDLOC"; + if (code == V3RoleClass.ISDLOC) + return "ISDLOC"; + if (code == V3RoleClass.EXPR) + return "EXPR"; + if (code == V3RoleClass.HLD) + return "HLD"; + if (code == V3RoleClass.HLTHCHRT) + return "HLTHCHRT"; + if (code == V3RoleClass.IDENT) + return "IDENT"; + if (code == V3RoleClass.MANU) + return "MANU"; + if (code == V3RoleClass.THER) + return "THER"; + if (code == V3RoleClass.MNT) + return "MNT"; + if (code == V3RoleClass.OWN) + return "OWN"; + if (code == V3RoleClass.RGPR) + return "RGPR"; + if (code == V3RoleClass.TERR) + return "TERR"; + if (code == V3RoleClass.USED) + return "USED"; + if (code == V3RoleClass.WRTE) + return "WRTE"; + if (code == V3RoleClass._ROLECLASSONTOLOGICAL) + return "_RoleClassOntological"; + if (code == V3RoleClass.EQUIV) + return "EQUIV"; + if (code == V3RoleClass.SAME) + return "SAME"; + if (code == V3RoleClass.SUBY) + return "SUBY"; + if (code == V3RoleClass.GEN) + return "GEN"; + if (code == V3RoleClass.GRIC) + return "GRIC"; + if (code == V3RoleClass.INST) + return "INST"; + if (code == V3RoleClass._ROLECLASSPARTITIVE) + return "_RoleClassPartitive"; + if (code == V3RoleClass.CONT) + return "CONT"; + if (code == V3RoleClass.EXPAGTCAR) + return "EXPAGTCAR"; + if (code == V3RoleClass.EXPVECTOR) + return "EXPVECTOR"; + if (code == V3RoleClass.FOMITE) + return "FOMITE"; + if (code == V3RoleClass.INGR) + return "INGR"; + if (code == V3RoleClass.ACTI) + return "ACTI"; + if (code == V3RoleClass.ACTIB) + return "ACTIB"; + if (code == V3RoleClass.ACTIM) + return "ACTIM"; + if (code == V3RoleClass.ACTIR) + return "ACTIR"; + if (code == V3RoleClass.ADJV) + return "ADJV"; + if (code == V3RoleClass.ADTV) + return "ADTV"; + if (code == V3RoleClass.BASE) + return "BASE"; + if (code == V3RoleClass.CNTM) + return "CNTM"; + if (code == V3RoleClass.IACT) + return "IACT"; + if (code == V3RoleClass.COLR) + return "COLR"; + if (code == V3RoleClass.FLVR) + return "FLVR"; + if (code == V3RoleClass.PRSV) + return "PRSV"; + if (code == V3RoleClass.STBL) + return "STBL"; + if (code == V3RoleClass.MECH) + return "MECH"; + if (code == V3RoleClass.LOCE) + return "LOCE"; + if (code == V3RoleClass.STOR) + return "STOR"; + if (code == V3RoleClass.MBR) + return "MBR"; + if (code == V3RoleClass.PART) + return "PART"; + if (code == V3RoleClass.ACTM) + return "ACTM"; + if (code == V3RoleClass.SPEC) + return "SPEC"; + if (code == V3RoleClass.ALQT) + return "ALQT"; + if (code == V3RoleClass.ISLT) + return "ISLT"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCode.java new file mode 100644 index 00000000000..10be544dc23 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCode.java @@ -0,0 +1,3450 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RoleCode { + + /** + * Concepts characterizing the type of association formed by player and scoper when there is a recognized Affiliate role by which the two parties are related. + + + Examples: Business Partner, Business Associate, Colleague + */ + _AFFILIATIONROLETYPE, + /** + * Description:Codes that indicate a specific type of sponsor. Used when the sponsor's role is only either as a fully insured sponsor or only as a self-insured sponsor. NOTE: Where a sponsor may be either, use the SponsorParticipationFunction.code (fully insured or self insured) to indicate the type of responsibility. (CO6-0057) + */ + _COVERAGESPONSORROLETYPE, + /** + * Description:An employer or organization that contracts with an underwriter to assumes the financial risk and administrative responsibility for coverage of health services for covered parties. + */ + FULLINS, + /** + * Description:An employer or organization that assumes the financial risk and administrative responsibility for coverage of health services for covered parties. + */ + SELFINS, + /** + * Description:PayorRoleType for a particular type of policy or program benefit package or plan where more detail about the coverage administration role of the Payor is required. The functions performed by a Payor qualified by a PayorRoleType may be specified by the PayorParticpationFunction value set. + + + Examples:A Payor that is a TPA may administer a managed care plan without underwriting the risk. + */ + _PAYORROLETYPE, + /** + * Description:A payor that is responsible for functions related to the enrollment of covered parties. + */ + ENROLBKR, + /** + * Description:Third party administrator (TPA) is a payor organization that processes health care claims without carrying insurance risk. Third party administrators are prominent players in the managed care industry and have the expertise and capability to administer all or a portion of the claims process. They are normally contracted by a health insurer or self-insuring companies to administer services, including claims administration, premium collection, enrollment and other administrative activities. + + Self-insured employers often contract with third party administrator to handle their insurance functions. Insurance companies oftentimes outsource the claims, utilization review or membership functions to a TPA. Sometimes TPAs only manage provider networks, only claims or only utilization review. + + While some third-party administrators may operate as units of insurance companies, they are often independent. However, hospitals or provider organizations desiring to set up their own health plans will often outsource certain responsibilities to TPAs. TPAs may perform one or several payor functions, specified by the PayorParticipationFunction value set, such as provider management, enrollment, utilization management, and fee for service claims adjudication management. + */ + TPA, + /** + * Description:A payor that is responsible for review and case management of health services covered under a policy or program. + */ + UMO, + /** + * The role played by a party who has legal responsibility for another party. + */ + RESPRSN, + /** + * The role played by a person acting as the estate executor for a deceased subscriber or policyholder who was the responsible party + */ + EXCEST, + /** + * The role played by a person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings. + */ + GUADLTM, + /** + * The role played by a person or institution legally empowered with responsibility for the care of a ward. + */ + GUARD, + /** + * A relationship between two people in which one person authorizes another to act for him in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts. + */ + POWATT, + /** + * A relationship between two people in which one person authorizes another, usually a family member or relative, to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned. Unlike ordinary powers of attorney, durable powers can survive for long periods of time, and again, unlike standard powers of attorney, durable powers can continue after incompetency. + */ + DPOWATT, + /** + * A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that continues (by its terms) to be effective even though the grantor has become mentally incompetent after signing the document. + */ + HPOWATT, + /** + * A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned. + */ + SPOWATT, + /** + * AssignedRoleType + */ + _ASSIGNEDROLETYPE, + /** + * Description:A role type that is used to further qualify a non-person subject playing a role where the role class attribute is set to RoleClass AssignedEntity + */ + _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE, + /** + * Description:Dogs trained to assist the ill or physically challenged. + */ + ASSIST, + /** + * Description:Animals, including fish and insects, and microorganisms which may participate as assigned entities in biotherapies. + */ + BIOTH, + /** + * Description:Non-person living subject used as antibiotic. + + + Examples:Bacteriophage, is a virus that infects bacteria. + */ + ANTIBIOT, + /** + * Description:Maggots raised for biodebridement. + + + Discussion: Maggot Debridement Therapy is the medical use of live maggots for cleaning non-healing wounds. + + + Examples:Removal of burnt skin. + */ + DEBR, + /** + * Description:Companion animals, such as dogs, cats, and rabbits, which may be provided to patients to improve general mood, decrease depression and loneliness, and distract from stress-inducing concerns to improve quality of life. + */ + CCO, + /** + * Description:Dogs trained to assist persons who are seeing impaired or blind. + */ + SEE, + /** + * Description:Dogs trained or having the ability to detect imminent seizures or cancers in humans, probably as a result of volatile chemical (odors) given off by the malignancy of the host. + */ + SNIFF, + /** + * A role type used to qualify a person's legal status within a country or nation. + */ + _CITIZENROLETYPE, + /** + * A person who has fled his or her home country to find a safe place elsewhere. + */ + CAS, + /** + * A person who is someone of below legal age who has fled his or her home country, without his or her parents, to find a safe place elsewhere at time of categorization. + */ + CASM, + /** + * A person who is legally recognized as a member of a nation or country, with associated rights and obligations. + */ + CN, + /** + * A foreigner who is present in a country (which is foreign to him/her) unlawfully or without the country's authorization (may be called an illegal alien). + */ + CNRP, + /** + * A person who is below legal age present in a country, without his or her parents, (which is foreign to him/her) unlawfully or without the country's authorization. + */ + CNRPM, + /** + * A non-country member admitted to the territory of a nation or country as a non-resident for an explicit purpose. + */ + CPCA, + /** + * A foreigner who is a resident of the country but does not have citizenship. + */ + CRP, + /** + * A person who is a resident below legal age of the country without his or her parents and does not have citizenship. + */ + CRPM, + /** + * Types of contact for Role code "CON" + */ + _CONTACTROLETYPE, + /** + * A contact role used for business and/or administrative purposes. + */ + _ADMINISTRATIVECONTACTROLETYPE, + /** + * A contact role used to identify a person within a Provider organization that can be contacted for billing purposes (e.g. about the content of the Invoice). + */ + BILL, + /** + * A contact for an organization for administrative purposes. Contact role specifies a person acting as a liason for the organization. + + Example: HR Department representative. + */ + ORG, + /** + * A contact role used to identify a person within a Payor organization to whom this communication is addressed. + */ + PAYOR, + /** + * A contact designated for contact in emergent situations. + */ + ECON, + /** + * Played by an individual who is designated as the next of kin for another individual which scopes the role. + */ + NOK, + /** + * Definition: A code representing the type of identifier that has been assigned to the identified entity (IDENT). + + + Examples: Example values include Social Insurance Number, Product Catalog ID, Product Model Number. + */ + _IDENTIFIEDENTITYTYPE, + /** + * Description:Describes types of identifiers other than the primary location registry identifier for a service delivery location. Identifiers may be assigned by a local service delivery organization, a formal body capable of accrediting the location for the capability to provide specific services or the identifier may be assigned at a jurisdictional level. + */ + _LOCATIONIDENTIFIEDENTITYROLECODE, + /** + * Description:Identifier assigned to a location by the organization responsible for accrediting the location. + */ + ACHFID, + /** + * Description:Identifier assigned to a location by a jurisdiction. + */ + JURID, + /** + * Description:Identifier assigned to a location by a local party (which could be the facility itself or organization overseeing a group of facilities). + */ + LOCHFID, + /** + * Code indicating the primary use for which a living subject is bred or grown + */ + _LIVINGSUBJECTPRODUCTIONCLASS, + /** + * Cattle used for meat production + */ + BF, + /** + * Chickens raised for meat + */ + BL, + /** + * Breeding/genetic stock + */ + BR, + /** + * Companion animals + */ + CO, + /** + * Milk production + */ + DA, + /** + * Draft animals + */ + DR, + /** + * Dual purpose. Defined purposes based on species and breed + */ + DU, + /** + * Animals raised for their fur, hair or skins + */ + FI, + /** + * Chickens raised for egg production + */ + LY, + /** + * Animals raised for meat production + */ + MT, + /** + * Poultry flocks used for chick/poult production + */ + MU, + /** + * Animals rasied for recreation + */ + PL, + /** + * Animals raised for racing perfomance + */ + RC, + /** + * Animals raised for shows + */ + SH, + /** + * Cattle raised for veal meat production. Implicit is the husbandry method. + */ + VL, + /** + * Sheep, goats and other mammals raised for their fiber + */ + WL, + /** + * Animals used to perform work + */ + WO, + /** + * Identifies the specific hierarchical relationship between the playing and scoping medications. + + + Examples: Generic, Generic Formulation, Therapeutic Class, etc. + */ + _MEDICATIONGENERALIZATIONROLETYPE, + /** + * Description:A categorization of medicinal products by their therapeutic properties and/or main therapeutic use. + */ + DC, + /** + * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients independent of strength, and form. + + The scoping entity identifies a unique combination of medicine ingredients; sometimes referred to as "ingredient set". + */ + GD, + /** + * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients and dose form, independent of strength of the ingredients. The scoping entity identifies a unique combination of medicine ingredients in a specific dose form. + */ + GDF, + /** + * Relates a manufactured drug product to the non-proprietary (generic) representation of is ingredients with their strength. The scoping entity identifies a unique combination of medicine ingredients with their strength. + */ + GDS, + /** + * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form. + */ + GDSF, + /** + * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form. + */ + MGDSF, + /** + * Types of membership for Role code "MBR" + */ + _MEMBERROLETYPE, + /** + * A person who is a member of a tribe. + */ + TRB, + /** + * PersonalRelationshipRoleType + */ + _PERSONALRELATIONSHIPROLETYPE, + /** + * A relationship between two people characterizing their "familial" relationship + */ + FAMMEMB, + /** + * The player of the role is a child of the scoping entity. + */ + CHILD, + /** + * The player of the role is a child taken into a family through legal means and raised by the scoping person (parent) as his or her own child. + */ + CHLDADOPT, + /** + * The player of the role is a female child taken into a family through legal means and raised by the scoping person (parent) as his or her own child. + */ + DAUADOPT, + /** + * The player of the role is a male child taken into a family through legal means and raised by the scoping person (parent) as his or her own child. + */ + SONADOPT, + /** + * The player of the role is a child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties. + */ + CHLDFOST, + /** + * The player of the role is a female child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties. + */ + DAUFOST, + /** + * The player of the role is a male child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties. + */ + SONFOST, + /** + * Description: The player of the role is a female child (of any type) of scoping entity (parent) + */ + DAUC, + /** + * The player of the role is a female offspring of the scoping entity (parent). + */ + DAU, + /** + * The player of the role is a daughter of the scoping person's spouse by a previous union. + */ + STPDAU, + /** + * The player of the role is an offspring of the scoping entity as determined by birth. + */ + NCHILD, + /** + * The player of the role is a male offspring of the scoping entity (parent). + */ + SON, + /** + * Description: The player of the role is a male child (of any type) of scoping entity (parent) + */ + SONC, + /** + * The player of the role is a son of the scoping person's spouse by a previous union. + */ + STPSON, + /** + * The player of the role is a child of the scoping person's spouse by a previous union. + */ + STPCHLD, + /** + * Description: A family member not having an immediate genetic or legal relationship e.g. Aunt, cousin, great grandparent, grandchild, grandparent, niece, nephew or uncle. + */ + EXT, + /** + * The player of the role is a sister of the scoping person's mother or father. + */ + AUNT, + /** + * Description:The player of the role is a biological sister of the scoping person's biological mother. + */ + MAUNT, + /** + * Description:The player of the role is a biological sister of the scoping person's biological father. + */ + PAUNT, + /** + * The player of the role is a relative of the scoping person descended from a common ancestor, such as a grandparent, by two or more steps in a diverging line. + */ + COUSN, + /** + * Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's mother's side, such as a grandparent, by two or more steps in a diverging line. + */ + MCOUSN, + /** + * Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's father's side, such as a grandparent, by two or more steps in a diverging line. + */ + PCOUSN, + /** + * The player of the role is a parent of the scoping person's grandparent. + */ + GGRPRN, + /** + * The player of the role is the father of the scoping person's grandparent. + */ + GGRFTH, + /** + * Description:The player of the role is the biological father of the scoping person's biological mother's parent. + */ + MGGRFTH, + /** + * Description:The player of the role is the biological father of the scoping person's biological father's parent. + */ + PGGRFTH, + /** + * The player of the role is the mother of the scoping person's grandparent. + */ + GGRMTH, + /** + * Description:The player of the role is the biological mother of the scoping person's biological mother's parent. + */ + MGGRMTH, + /** + * Description:The player of the role is the biological mother of the scoping person's biological father's parent. + */ + PGGRMTH, + /** + * Description:The player of the role is a biological parent of the scoping person's biological mother's parent. + */ + MGGRPRN, + /** + * Description:The player of the role is a biological parent of the scoping person's biological father's parent. + */ + PGGRPRN, + /** + * The player of the role is a child of the scoping person's son or daughter. + */ + GRNDCHILD, + /** + * The player of the role is a daughter of the scoping person's son or daughter. + */ + GRNDDAU, + /** + * The player of the role is a son of the scoping person's son or daughter. + */ + GRNDSON, + /** + * The player of the role is a parent of the scoping person's mother or father. + */ + GRPRN, + /** + * The player of the role is the father of the scoping person's mother or father. + */ + GRFTH, + /** + * Description:The player of the role is the biological father of the scoping person's biological mother. + */ + MGRFTH, + /** + * Description:The player of the role is the biological father of the scoping person's biological father. + */ + PGRFTH, + /** + * The player of the role is the mother of the scoping person's mother or father. + */ + GRMTH, + /** + * Description:The player of the role is the biological mother of the scoping person's biological mother. + */ + MGRMTH, + /** + * Description:The player of the role is the biological mother of the scoping person's biological father. + */ + PGRMTH, + /** + * Description:The player of the role is the biological parent of the scoping person's biological mother. + */ + MGRPRN, + /** + * Description:The player of the role is the biological parent of the scoping person's biological father. + */ + PGRPRN, + /** + * A relationship between an individual and a member of their spousal partner's immediate family. + */ + INLAW, + /** + * The player of the role is the spouse of scoping person's child. + */ + CHLDINLAW, + /** + * The player of the role is the wife of scoping person's son. + */ + DAUINLAW, + /** + * The player of the role is the husband of scoping person's daughter. + */ + SONINLAW, + /** + * The player of the role is the parent of scoping person's husband or wife. + */ + PRNINLAW, + /** + * The player of the role is the father of the scoping person's husband or wife. + */ + FTHINLAW, + /** + * The player of the role is the mother of the scoping person's husband or wife. + */ + MTHINLAW, + /** + * The player of the role is: (1) a sibling of the scoping person's spouse, or (2) the spouse of the scoping person's sibling, or (3) the spouse of a sibling of the scoping person's spouse. + */ + SIBINLAW, + /** + * The player of the role is: (1) a brother of the scoping person's spouse, or (2) the husband of the scoping person's sister, or (3) the husband of a sister of the scoping person's spouse. + */ + BROINLAW, + /** + * The player of the role is: (1) a sister of the scoping person's spouse, or (2) the wife of the scoping person's brother, or (3) the wife of a brother of the scoping person's spouse. + */ + SISINLAW, + /** + * The player of the role is a child of scoping person's brother or sister or of the brother or sister of the scoping person's spouse. + */ + NIENEPH, + /** + * The player of the role is a son of the scoping person's brother or sister or of the brother or sister of the scoping person's spouse. + */ + NEPHEW, + /** + * The player of the role is a daughter of the scoping person's brother or sister or of the brother or sister of the scoping person's spouse. + */ + NIECE, + /** + * The player of the role is a brother of the scoping person's mother or father. + */ + UNCLE, + /** + * Description:The player of the role is a biological brother of the scoping person's biological mother. + */ + MUNCLE, + /** + * Description:The player of the role is a biological brother of the scoping person's biological father. + */ + PUNCLE, + /** + * The player of the role is one who begets, gives birth to, or nurtures and raises the scoping entity (child). + */ + PRN, + /** + * The player of the role (parent) has taken the scoper (child) into their family through legal means and raises them as his or her own child. + */ + ADOPTP, + /** + * The player of the role (father) is a male who has taken the scoper (child) into their family through legal means and raises them as his own child. + */ + ADOPTF, + /** + * The player of the role (father) is a female who has taken the scoper (child) into their family through legal means and raises them as her own child. + */ + ADOPTM, + /** + * The player of the role is a male who begets or raises or nurtures the scoping entity (child). + */ + FTH, + /** + * The player of the role (parent) who is a male state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary. + + The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child. + */ + FTHFOST, + /** + * The player of the role is a male who begets the scoping entity (child). + */ + NFTH, + /** + * Indicates the biologic male parent of a fetus. + */ + NFTHF, + /** + * The player of the role is the husband of scoping person's mother and not the scoping person's natural father. + */ + STPFTH, + /** + * The player of the role is a female who conceives, gives birth to, or raises and nurtures the scoping entity (child). + */ + MTH, + /** + * The player is a female whose womb carries the fetus of the scoper. Generally used when the gestational mother and natural mother are not the same. + */ + GESTM, + /** + * The player of the role (parent) who is a female state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary. + + The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child. + */ + MTHFOST, + /** + * The player of the role is a female who conceives or gives birth to the scoping entity (child). + */ + NMTH, + /** + * The player is the biologic female parent of the scoping fetus. + */ + NMTHF, + /** + * The player of the role is the wife of scoping person's father and not the scoping person's natural mother. + */ + STPMTH, + /** + * natural parent + */ + NPRN, + /** + * The player of the role (parent) who is a state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary. + + The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child. + */ + PRNFOST, + /** + * The player of the role is the spouse of the scoping person's parent and not the scoping person's natural parent. + */ + STPPRN, + /** + * The player of the role shares one or both parents in common with the scoping entity. + */ + SIB, + /** + * The player of the role is a male sharing one or both parents in common with the scoping entity. + */ + BRO, + /** + * The player of the role is a male related to the scoping entity by sharing only one biological parent. + */ + HBRO, + /** + * The player of the role is a male having the same biological parents as the scoping entity. + */ + NBRO, + /** + * The scoper was carried in the same womb as the male player and shares common biological parents. + */ + TWINBRO, + /** + * The scoper was carried in the same womb as the male player and shares common biological parents but is the product of a distinct egg/sperm pair. + */ + FTWINBRO, + /** + * The male scoper is an offspring of the same egg-sperm pair as the male player. + */ + ITWINBRO, + /** + * The player of the role is a son of the scoping person's stepparent. + */ + STPBRO, + /** + * The player of the role is related to the scoping entity by sharing only one biological parent. + */ + HSIB, + /** + * The player of the role is a female related to the scoping entity by sharing only one biological parent. + */ + HSIS, + /** + * The player of the role has both biological parents in common with the scoping entity. + */ + NSIB, + /** + * The player of the role is a female having the same biological parents as the scoping entity. + */ + NSIS, + /** + * The scoper was carried in the same womb as the female player and shares common biological parents. + */ + TWINSIS, + /** + * The scoper was carried in the same womb as the female player and shares common biological parents but is the product of a distinct egg/sperm pair. + */ + FTWINSIS, + /** + * The female scoper is an offspring of the same egg-sperm pair as the female player. + */ + ITWINSIS, + /** + * The scoper and player were carried in the same womb and shared common biological parents. + */ + TWIN, + /** + * The scoper and player were carried in the same womb and share common biological parents but are the product of distinct egg/sperm pairs. + */ + FTWIN, + /** + * The scoper and player are offspring of the same egg-sperm pair. + */ + ITWIN, + /** + * The player of the role is a female sharing one or both parents in common with the scoping entity. + */ + SIS, + /** + * The player of the role is a daughter of the scoping person's stepparent. + */ + STPSIS, + /** + * The player of the role is a child of the scoping person's stepparent. + */ + STPSIB, + /** + * A person who is important to one's well being; especially a spouse or one in a similar relationship. (The player is the one who is important) + */ + SIGOTHR, + /** + * The player of the role cohabits with the scoping person but is not the scoping person's spouse. + */ + DOMPART, + /** + * Player of the role was previously joined to the scoping person in marriage and this marriage is now dissolved and inactive. + + + Usage Note: This is significant to indicate as some jurisdictions have different legal requirements for former spouse to access the patient's record, from a general friend. + */ + FMRSPS, + /** + * The player of the role is a marriage partner of the scoping person. + */ + SPS, + /** + * The player of the role is a man joined to a woman (scoping person) in marriage. + */ + HUSB, + /** + * The player of the role is a woman joined to a man (scoping person) in marriage. + */ + WIFE, + /** + * The player of the role is a person who is known, liked, and trusted by the scoping person. + */ + FRND, + /** + * The player of the role lives near or next to the scoping person. + */ + NBOR, + /** + * The relationship that a person has with his or her self. + */ + ONESELF, + /** + * One who shares living quarters with the subject. + */ + ROOM, + /** + * Description: A role recognized through the eligibility of an identified party for benefits covered under an insurance policy or a program based on meeting eligibility criteria. + + Eligibility as a covered party may be conditioned on the party meeting criteria to qualify for coverage under a policy or program, which may be mandated by law. These criteria may be: + + + + The sole basis for coverage, e.g., being differently abled may qualify a person for disability coverage + + + + May more fully qualify a covered party role e.g, being differently abled may qualify an adult child as a dependent + + + + May impact the level of coverage for a covered party under a policy or program, e.g., being differently abled may qualify a program eligible for additional benefits. + + + + + Discussion: The Abstract Value Set "CoverageRoleType", which was developed for use in the Canadian realm "pre-coordinate" coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., "handicapped dependent". These role.codes may only be used with COVPTY to avoid overlapping concepts that would result from using them to specify the specializations of COVPTY, e.g., the role.class DEPEN should not be used with the role.code family dependent because that relationship has overlapping concepts due to the role.code precoodination and is conveyed in FICO with the personal relationship role that has a PART role link to the covered party role. For the same reasons, the role.class DEPEN should not be used with the role.code HANDIC (handicapped dependent); the role.code DIFFABLE (differently abled) should be used instead. + + In summary, the coded concepts in the Abstract Value Set "CoveredPartyRoleType" can be "post-coordinated" with the "RoleClassCoveredParty" Abstract Value Set. Decoupling these concepts is intended to support an expansive range of covered party concepts and their semantic comparability. + */ + _POLICYORPROGRAMCOVERAGEROLETYPE, + /** + * Role recognized through the issuance of insurance coverage to an identified covered party who has this relationship with the policy holder such as the policy holder themselves (self), spouse, child, etc + */ + _COVERAGEROLETYPE, + /** + * The player of the role is dependent of the scoping entity. + */ + FAMDEP, + /** + * Covered party is a dependent of the policy holder with a physical or mental disability causing a disadvantage that makes independent achievement unusually difficult. + */ + HANDIC, + /** + * Covered party is an injured party with a legal claim for compensation against a policy holder under an insurance policy. + */ + INJ, + /** + * Covered party is the policy holder. Also known as the subscriber. + */ + SELF, + /** + * Covered party is an individual that the policy holder has assumed responsibility for, such as foster child or legal ward. + */ + SPON, + /** + * Covered party to an insurance policy has coverage through full-time or part-time attendance at a recognized educational institution as defined by a particular insurance policy. + */ + STUD, + /** + * Covered party to an insurance policy has coverage through full-time attendance at a recognized educational institution as defined by a particular insurance policy. + */ + FSTUD, + /** + * Covered party to an insurance policy has coverage through part-time attendance at a recognized educational institution as defined by a particular insurance policy. + */ + PSTUD, + /** + * A role recognized through the eligibility of an identified living subject for benefits covered under an insurance policy or a program. Eligibility as a covered party may be conditioned on a relationship with (1) the policy holder such as the policy holder who is covered as an individual under a poliy or as a party sponsored for coverage by the policy holder. + + + Example:An employee as a subscriber; or (2) on being scoped another covered party such as the subscriber, as in the case of a dependent. + + + Discussion: The Abstract Value Set "CoverageRoleType", which was developed for use in the Canadian realm "pre-coordinate" coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., "handicapped dependent". Other codes in the Abstract Value Set CoveredPartyRoleType domain can be "post-coordinated" with the EligiblePartyRoleType codes to denote comparable concepts. Decoupling the concepts is intended to support a wider range of concepts and semantic comparability of coded concepts. + */ + _COVEREDPARTYROLETYPE, + /** + * DescriptionA role recognized through the eligibility of a party play a claimant for benefits covered or provided under an insurance policy. + */ + _CLAIMANTCOVEREDPARTYROLETYPE, + /** + * Description: A person playing the role of program eligible under a program based on allegations of being the victim of a crime. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is "program eligible" and the person's status as a crime victim meets jurisdictional or program criteria. + */ + CRIMEVIC, + /** + * Description: A person playing the role of program eligible under a workers compensation program based on the filing of work-related injury claim. + + + Discussion: This CoveredPartyRoleType.code is used when the CoveredPartyRole class code is either "program eligible", a "named insured", and "individual insured", or "dependent", and the person's status as differently abled or "handicapped" meets jurisdictional, policy, or program criteria. + */ + INJWKR, + /** + * Description: A role recognized through the eligibility of a party to play a dependent for benefits covered or provided under a health insurance policy because of an association with the subscriber that is recognized by the policy underwriter. + */ + _DEPENDENTCOVEREDPARTYROLETYPE, + /** + * Description: A person playing the role of an individual insured with continuity of coverage under a policy which is being terminated based on loss of original status that was the basis for coverage. Criteria for qualifying for continuity of coverage may be set by law. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the person's status as a continuity of coverage beneficiary meets jurisdictional or policy criteria. + */ + COCBEN, + /** + * Description: A person playing the role of program eligible under a program based on meeting criteria for health or functional limitation set by law or by the program. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible", "named insured", "individual insured", or "dependent", and the person's status as differently abled meets jurisdictional, policy, or program criteria. + */ + DIFFABL, + /** + * Description: A person, who is a minor or is deemed incompetent, who plays the role of a program eligible where eligibility for coverage is based on meeting program eligibility criteria for status as a ward of a court or jurisdiction. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is a "claimant", "program eligible", a "named insured", an "individual Insured" or a "dependent", and the person's status as a ward meets program or policy criteria. In the case of a ward covered under a program providing financial or health benefits, a governmental agency may take temporary custody of a minor or incompetent for his/her protection and care, e.g., if the ward is suffering from neglect or abuse, or has been in trouble with the law. + */ + WARD, + /** + * A role recognized through the eligibility of a party to play an individual insured for benefits covered or provided under an insurance policy where the party is also the policy holder. + */ + _INDIVIDUALINSUREDPARTYROLETYPE, + /** + * Description: A person playing the role of an individual insured under a policy based on meeting criteria for the employment status of retired set by law or the policy. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the person's status as a retiree meets jurisdictional or policy criteria. + */ + RETIREE, + /** + * Description:A role recognized through the eligibility of a party to play a program eligible for benefits covered or provided under a program. + */ + _PROGRAMELIGIBLEPARTYROLETYPE, + /** + * Description: A person playing the role of program eligible under a program based on aboriginal ancestry or as a member of an aboriginal community. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is "program eligible" and the person's status as a member of an indigenous people meets jurisdictional or program criteria. + */ + INDIG, + /** + * Definition: A person playing the role of program eligible under a program based on military status. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the person's status as a member of the military meets jurisdictional or program criteria + */ + MIL, + /** + * Description: A person playing the role of program eligible under a program based on active military status. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the persons status as active duty military meets jurisdictional or program criteria. + */ + ACTMIL, + /** + * Description: A person playing the role of program eligible under a program based on retired military status. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the persons status as retired military meets jurisdictional or program criteria. + */ + RETMIL, + /** + * Description: A person playing the role of program eligible under a program based on status as a military veteran. + + + Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the persons status as a veteran meets jurisdictional or program criteria. + */ + VET, + /** + * Description: A role recognized through the eligibility of a party to play a subscriber for benefits covered or provided under a health insurance policy. + */ + _SUBSCRIBERCOVEREDPARTYROLETYPE, + /** + * Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established. Examples: screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the active treatment portion of the design. + */ + _RESEARCHSUBJECTROLEBASIS, + /** + * Definition:The specific role being played by a research subject participating in the active treatment or primary data collection portion of a research study. + */ + ERL, + /** + * Definition:The specific role being played by a research subject participating in the pre-enrollment evaluation portion of a research study. + */ + SCN, + /** + * A role of a place that further classifies the setting (e.g., accident site, road side, work site, community location) in which services are delivered. + */ + _SERVICEDELIVERYLOCATIONROLETYPE, + /** + * A role of a place that further classifies a setting that is intended to house the provision of services. + */ + _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE, + /** + * A role of a place that further classifies the clinical setting (e.g., cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) in which care is delivered during an encounter. + */ + _DEDICATEDCLINICALLOCATIONROLETYPE, + /** + * A practice setting where diagnostic procedures or therapeutic interventions are performed + */ + DX, + /** + * A practice setting where cardiovascular diagnostic procedures or therapeutic interventions are performed (e.g., cardiac catheterization lab, echocardiography suite) + */ + CVDX, + /** + * Cardiac catheterization lab + */ + CATH, + /** + * Echocardiography lab + */ + ECHO, + /** + * A practice setting where GI procedures (such as endoscopies) are performed + */ + GIDX, + /** + * (X12N 261QD0000N) + */ + ENDOS, + /** + * A practice setting where radiology services (diagnostic or therapeutic) are provided (X12N 261QR0200N) + */ + RADDX, + /** + * (X12N 261QX0203N) + */ + RADO, + /** + * Neuroradiology unit + */ + RNEU, + /** + * An acute care institution that provides medical, surgical, or psychiatric care and treatment for the sick or the injured. + */ + HOSP, + /** + * (1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases that have one or more of the following characteristics: is permanent; leaves residual disability; is caused by nonreversible pathological alteration; requires special training of the patient for rehabilitation; and/or may be expected to require a long period of supervision or care. In addition, patients require the safety, security, and shelter of these specialized inpatient or partial hospitalization settings. (2) A hospital that provides medical and skilled nursing services to patients with long-term illnesses who are not in an acute phase but who require an intensity of services not available in nursing homes + */ + CHR, + /** + * (X12N 282N00000N) + */ + GACH, + /** + * A health care facility operated by the Department of Defense or other military operation. + */ + MHSP, + /** + * Healthcare facility that cares for patients with psychiatric illness(s). + */ + PSYCHF, + /** + * (X12N 283X00000N) + */ + RH, + /** + * Description: A location that plays the role of delivering services which may include life training and/or social support to people with addictions. + */ + RHAT, + /** + * Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with intellectual and/or pervasive development disorders such as autism or severe behaviour disorder. + */ + RHII, + /** + * Description: A location that plays the role of delivering services which may social support services for adolescents who are pregnant or have child and are experiencing adaptation issues/difficulties in their current or eventual parenting role. + */ + RHMAD, + /** + * Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with physical impairments. + */ + RHPI, + /** + * Description: A location that plays the role of delivering services for people with hearing impairments. + */ + RHPIH, + /** + * Description: A location that plays the role of delivering services for people with motor skill impairments. + */ + RHPIMS, + /** + * Description: A location that plays the role of delivering services for people with visual skill impairments. + */ + RHPIVS, + /** + * Description: A location that plays the role of delivering services which may include life training and/or social support services for the adaption, rehabilitation and social integration of youths with adjustment difficulties. + */ + RHYAD, + /** + * Hospital unit + */ + HU, + /** + * Bone marrow transplant unit + */ + BMTU, + /** + * Coronary care unit + */ + CCU, + /** + * A specialty unit in hospital that focuses on chronic respirator patients and pulmonary failure + */ + CHEST, + /** + * Epilepsy unit + */ + EPIL, + /** + * The section of a health care facility for providing rapid treatment to victims of sudden illness or trauma. + */ + ER, + /** + * Emergency trauma unit + */ + ETU, + /** + * Hemodialysis unit + */ + HD, + /** + * Description: A location that plays the role of delivering services which may include tests done based on clinical specimens to get health information about a patient as pertaining to the diagnosis, treatment and prevention of disease. Hospital laboratories may be further divided into specialized units such as Anatomic Pathology, Microbiology, and Biochemistry. + */ + HLAB, + /** + * Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for a hospital visit longer than one day. + */ + INLAB, + /** + * Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for same day visits. + */ + OUTLAB, + /** + * Description: A location that plays the role of delivering services which may include the branch of medicine that uses ionizing and non-ionizing radiation to diagnose and treat diseases. The radiology unit may be further divided into subspecialties such as Imaging, Cardiovascular, Thoracic, and Ultrasound. + */ + HRAD, + /** + * Description: A location that plays the role of delivering services which may include collecting specimens and/or samples from patients for laboratory testing purposes, but does not perform any tests or analysis functions. + */ + HUSCS, + /** + * Intensive care unit + */ + ICU, + /** + * Pediatric intensive care unit + */ + PEDICU, + /** + * Pediatric neonatal intensive care unit + */ + PEDNICU, + /** + * Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for visits longer than one day. The distinction between inpatient pharmacies and retail (or outpatient) pharmacies is that they are part of a patient's continuity of care while staying in the hospital. + */ + INPHARM, + /** + * Description: A location that plays the role of delivering services which include biochemistry, hematology, microbiology, immunochemistry, and toxicology. + */ + MBL, + /** + * Neurology critical care and stroke unit + */ + NCCS, + /** + * Neurosurgery unit + */ + NS, + /** + * Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for outpatient visits and may also be used for discharge prescriptions. + */ + OUTPHARM, + /** + * Pediatric unit + */ + PEDU, + /** + * (X12N 273R00000N) + */ + PHU, + /** + * Rehabilitation hospital unit + */ + RHU, + /** + * (X12N 261QA1200N) + */ + SLEEP, + /** + * Nursing or custodial care facility + */ + NCCF, + /** + * (X12N 314000000N) + */ + SNF, + /** + * Outpatient facility + */ + OF, + /** + * Allergy clinic + */ + ALL, + /** + * Amputee clinic + */ + AMPUT, + /** + * Bone marrow transplant clinic + */ + BMTC, + /** + * Breast clinic + */ + BREAST, + /** + * Child and adolescent neurology clinic + */ + CANC, + /** + * Child and adolescent psychiatry clinic + */ + CAPC, + /** + * Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities + */ + CARD, + /** + * Pediatric cardiology clinic + */ + PEDCARD, + /** + * Coagulation clinic + */ + COAG, + /** + * Colon and rectal surgery clinic + */ + CRS, + /** + * Dermatology clinic + */ + DERM, + /** + * Endocrinology clinic + */ + ENDO, + /** + * Pediatric endocrinology clinic + */ + PEDE, + /** + * Otorhinolaryngology clinic + */ + ENT, + /** + * Family medicine clinic + */ + FMC, + /** + * Gastroenterology clinic + */ + GI, + /** + * Pediatric gastroenterology clinic + */ + PEDGI, + /** + * General internal medicine clinic + */ + GIM, + /** + * Gynecology clinic + */ + GYN, + /** + * Hematology clinic + */ + HEM, + /** + * Pediatric hematology clinic + */ + PEDHEM, + /** + * Hypertension clinic + */ + HTN, + /** + * Focuses on assessing disability + */ + IEC, + /** + * Infectious disease clinic + */ + INFD, + /** + * Pediatric infectious disease clinic + */ + PEDID, + /** + * Infertility clinic + */ + INV, + /** + * Lympedema clinic + */ + LYMPH, + /** + * Medical genetics clinic + */ + MGEN, + /** + * Nephrology clinic + */ + NEPH, + /** + * Pediatric nephrology clinic + */ + PEDNEPH, + /** + * Neurology clinic + */ + NEUR, + /** + * Obstetrics clinic + */ + OB, + /** + * Oral and maxillofacial surgery clinic + */ + OMS, + /** + * Medical oncology clinic + */ + ONCL, + /** + * Pediatric oncology clinic + */ + PEDHO, + /** + * Opthalmology clinic + */ + OPH, + /** + * Description: A location that plays the role of delivering services which may include examination, diagnosis, treatment, management, and prevention of diseases and disorders of the eye as well as prescribing and fitting appropriate corrective lenses (glasses or contact lenses) as needed. Optometry clinics may also provide tests for visual field screening, measuring intra-ocular pressure and ophthalmoscopy, as and when required. + */ + OPTC, + /** + * Orthopedics clinic + */ + ORTHO, + /** + * Hand clinic + */ + HAND, + /** + * (X12N 261QP3300N) + */ + PAINCL, + /** + * (X12N 261QP2300N) + */ + PC, + /** + * Pediatrics clinic + */ + PEDC, + /** + * Pediatric rheumatology clinic + */ + PEDRHEUM, + /** + * (X12N 261QP1100N) + */ + POD, + /** + * Preventive medicine clinic + */ + PREV, + /** + * Proctology clinic + */ + PROCTO, + /** + * Location where healthcare service was delivered, identified as the healthcare provider's practice office. + */ + PROFF, + /** + * Prosthodontics clinic + */ + PROS, + /** + * Psychology clinic + */ + PSI, + /** + * Psychiatry clinic + */ + PSY, + /** + * Rheumatology clinic + */ + RHEUM, + /** + * Sports medicine clinic + */ + SPMED, + /** + * Surgery clinic + */ + SU, + /** + * Plastic surgery clinic + */ + PLS, + /** + * Urology clinic + */ + URO, + /** + * Transplant clinic + */ + TR, + /** + * Travel and geographic medicine clinic + */ + TRAVEL, + /** + * Wound clinic + */ + WND, + /** + * Residential treatment facility + */ + RTF, + /** + * Pain rehabilitation center + */ + PRC, + /** + * (X12N 324500000N) + */ + SURF, + /** + * A role of a place that further classifies a setting that is intended to house the provision of non-clinical services. + */ + _DEDICATEDNONCLINICALLOCATIONROLETYPE, + /** + * Location address where medical supplies were transported to for use. + */ + DADDR, + /** + * Location (mobile) where healthcare service was delivered. + */ + MOBL, + /** + * Location (mobile) where healthcare service was delivered, identified specifically as an ambulance. + */ + AMB, + /** + * Location where healthcare service was delivered, identified as a pharmacy. + */ + PHARM, + /** + * IncidentalServiceDeliveryLocationRoleType + */ + _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE, + /** + * Location of an accident where healthcare service was delivered, such as a roadside. + */ + ACC, + /** + * Community location where healthcare is delivered. + */ + COMM, + /** + * Description: A location that plays the role of delivering services which may include providing front-line services to the population of a defined geographic area such as: healthcare services and social services, preventive or curative, rehabilitation or reintegration. + */ + CSC, + /** + * location where healthcare was delivered which is the residence of the Patient. + */ + PTRES, + /** + * Location where healthcare service was delivered, identified as a school or educational facility. + */ + SCHOOL, + /** + * Description: A location that plays the role of delivering services which may include: social emergency services required for a young person as required under any jurisdictional youth laws, child placement, and family mediation in the defined geographical area the SDL is responsible for. It may provide expertise in a judiciary setting on child custody, adoption and biological history research. + */ + UPC, + /** + * Location where healthcare service was delivered, identified as a work place. + */ + WORK, + /** + * SpecimenRoleType + */ + _SPECIMENROLETYPE, + /** + * A specimen used for initial calibration settings of an instrument + */ + C, + /** + * A set of patient samples in which the individuals of the group may or may not be identified. + */ + G, + /** + * Aliquots of individual specimens combined to form a single specimen representing all of the included individuals. + */ + L, + /** + * A specimen that has been collected from a patient. + */ + P, + /** + * A specimen specifically used to verify the sensitivity, specificity, accuracy or other perfomance parameter of a diagnostic test. + */ + Q, + /** + * Quality Control specimen submitted to the lab whose identity and composition is not known to the lab. + */ + B, + /** + * An electronically simulated QC specimen + */ + E, + /** + * Specimen used for testing proficiency of an organization performing testing (how does this differ from O?) + */ + F, + /** + * A specimen used for evaluation of operator proficiency (operator in what context?) + */ + O, + /** + * A specimen used for periodic calibration checks of instruments + */ + V, + /** + * A portion of an original patent sample that is tested at the same time as the original sample + */ + R, + /** + * A party that makes a claim for coverage under a policy. + */ + CLAIM, + /** + * Community Laboratory + */ + COMMUNITYLABORATORY, + /** + * An individual or organization that makes or gives a promise, assurance, pledge to pay or has paid the healthcare service provider. + */ + GT, + /** + * Home Health + */ + HOMEHEALTH, + /** + * Laboratory + */ + LABORATORY, + /** + * Pathologist + */ + PATHOLOGIST, + /** + * Policy holder for the insurance policy. + */ + PH, + /** + * Phlebotomist + */ + PHLEBOTOMIST, + /** + * A party that meets the eligibility criteria for coverage under a program. + */ + PROG, + /** + * The recipient for the service(s) and/or product(s) when they are not the covered party. + */ + PT, + /** + * Self + */ + SUBJECT, + /** + * Third Party + */ + THIRDPARTY, + /** + * added to help the parsers + */ + NULL; + public static V3RoleCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AffiliationRoleType".equals(codeString)) + return _AFFILIATIONROLETYPE; + if ("_CoverageSponsorRoleType".equals(codeString)) + return _COVERAGESPONSORROLETYPE; + if ("FULLINS".equals(codeString)) + return FULLINS; + if ("SELFINS".equals(codeString)) + return SELFINS; + if ("_PayorRoleType".equals(codeString)) + return _PAYORROLETYPE; + if ("ENROLBKR".equals(codeString)) + return ENROLBKR; + if ("TPA".equals(codeString)) + return TPA; + if ("UMO".equals(codeString)) + return UMO; + if ("RESPRSN".equals(codeString)) + return RESPRSN; + if ("EXCEST".equals(codeString)) + return EXCEST; + if ("GUADLTM".equals(codeString)) + return GUADLTM; + if ("GUARD".equals(codeString)) + return GUARD; + if ("POWATT".equals(codeString)) + return POWATT; + if ("DPOWATT".equals(codeString)) + return DPOWATT; + if ("HPOWATT".equals(codeString)) + return HPOWATT; + if ("SPOWATT".equals(codeString)) + return SPOWATT; + if ("_AssignedRoleType".equals(codeString)) + return _ASSIGNEDROLETYPE; + if ("_AssignedNonPersonLivingSubjectRoleType".equals(codeString)) + return _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE; + if ("ASSIST".equals(codeString)) + return ASSIST; + if ("BIOTH".equals(codeString)) + return BIOTH; + if ("ANTIBIOT".equals(codeString)) + return ANTIBIOT; + if ("DEBR".equals(codeString)) + return DEBR; + if ("CCO".equals(codeString)) + return CCO; + if ("SEE".equals(codeString)) + return SEE; + if ("SNIFF".equals(codeString)) + return SNIFF; + if ("_CitizenRoleType".equals(codeString)) + return _CITIZENROLETYPE; + if ("CAS".equals(codeString)) + return CAS; + if ("CASM".equals(codeString)) + return CASM; + if ("CN".equals(codeString)) + return CN; + if ("CNRP".equals(codeString)) + return CNRP; + if ("CNRPM".equals(codeString)) + return CNRPM; + if ("CPCA".equals(codeString)) + return CPCA; + if ("CRP".equals(codeString)) + return CRP; + if ("CRPM".equals(codeString)) + return CRPM; + if ("_ContactRoleType".equals(codeString)) + return _CONTACTROLETYPE; + if ("_AdministrativeContactRoleType".equals(codeString)) + return _ADMINISTRATIVECONTACTROLETYPE; + if ("BILL".equals(codeString)) + return BILL; + if ("ORG".equals(codeString)) + return ORG; + if ("PAYOR".equals(codeString)) + return PAYOR; + if ("ECON".equals(codeString)) + return ECON; + if ("NOK".equals(codeString)) + return NOK; + if ("_IdentifiedEntityType".equals(codeString)) + return _IDENTIFIEDENTITYTYPE; + if ("_LocationIdentifiedEntityRoleCode".equals(codeString)) + return _LOCATIONIDENTIFIEDENTITYROLECODE; + if ("ACHFID".equals(codeString)) + return ACHFID; + if ("JURID".equals(codeString)) + return JURID; + if ("LOCHFID".equals(codeString)) + return LOCHFID; + if ("_LivingSubjectProductionClass".equals(codeString)) + return _LIVINGSUBJECTPRODUCTIONCLASS; + if ("BF".equals(codeString)) + return BF; + if ("BL".equals(codeString)) + return BL; + if ("BR".equals(codeString)) + return BR; + if ("CO".equals(codeString)) + return CO; + if ("DA".equals(codeString)) + return DA; + if ("DR".equals(codeString)) + return DR; + if ("DU".equals(codeString)) + return DU; + if ("FI".equals(codeString)) + return FI; + if ("LY".equals(codeString)) + return LY; + if ("MT".equals(codeString)) + return MT; + if ("MU".equals(codeString)) + return MU; + if ("PL".equals(codeString)) + return PL; + if ("RC".equals(codeString)) + return RC; + if ("SH".equals(codeString)) + return SH; + if ("VL".equals(codeString)) + return VL; + if ("WL".equals(codeString)) + return WL; + if ("WO".equals(codeString)) + return WO; + if ("_MedicationGeneralizationRoleType".equals(codeString)) + return _MEDICATIONGENERALIZATIONROLETYPE; + if ("DC".equals(codeString)) + return DC; + if ("GD".equals(codeString)) + return GD; + if ("GDF".equals(codeString)) + return GDF; + if ("GDS".equals(codeString)) + return GDS; + if ("GDSF".equals(codeString)) + return GDSF; + if ("MGDSF".equals(codeString)) + return MGDSF; + if ("_MemberRoleType".equals(codeString)) + return _MEMBERROLETYPE; + if ("TRB".equals(codeString)) + return TRB; + if ("_PersonalRelationshipRoleType".equals(codeString)) + return _PERSONALRELATIONSHIPROLETYPE; + if ("FAMMEMB".equals(codeString)) + return FAMMEMB; + if ("CHILD".equals(codeString)) + return CHILD; + if ("CHLDADOPT".equals(codeString)) + return CHLDADOPT; + if ("DAUADOPT".equals(codeString)) + return DAUADOPT; + if ("SONADOPT".equals(codeString)) + return SONADOPT; + if ("CHLDFOST".equals(codeString)) + return CHLDFOST; + if ("DAUFOST".equals(codeString)) + return DAUFOST; + if ("SONFOST".equals(codeString)) + return SONFOST; + if ("DAUC".equals(codeString)) + return DAUC; + if ("DAU".equals(codeString)) + return DAU; + if ("STPDAU".equals(codeString)) + return STPDAU; + if ("NCHILD".equals(codeString)) + return NCHILD; + if ("SON".equals(codeString)) + return SON; + if ("SONC".equals(codeString)) + return SONC; + if ("STPSON".equals(codeString)) + return STPSON; + if ("STPCHLD".equals(codeString)) + return STPCHLD; + if ("EXT".equals(codeString)) + return EXT; + if ("AUNT".equals(codeString)) + return AUNT; + if ("MAUNT".equals(codeString)) + return MAUNT; + if ("PAUNT".equals(codeString)) + return PAUNT; + if ("COUSN".equals(codeString)) + return COUSN; + if ("MCOUSN".equals(codeString)) + return MCOUSN; + if ("PCOUSN".equals(codeString)) + return PCOUSN; + if ("GGRPRN".equals(codeString)) + return GGRPRN; + if ("GGRFTH".equals(codeString)) + return GGRFTH; + if ("MGGRFTH".equals(codeString)) + return MGGRFTH; + if ("PGGRFTH".equals(codeString)) + return PGGRFTH; + if ("GGRMTH".equals(codeString)) + return GGRMTH; + if ("MGGRMTH".equals(codeString)) + return MGGRMTH; + if ("PGGRMTH".equals(codeString)) + return PGGRMTH; + if ("MGGRPRN".equals(codeString)) + return MGGRPRN; + if ("PGGRPRN".equals(codeString)) + return PGGRPRN; + if ("GRNDCHILD".equals(codeString)) + return GRNDCHILD; + if ("GRNDDAU".equals(codeString)) + return GRNDDAU; + if ("GRNDSON".equals(codeString)) + return GRNDSON; + if ("GRPRN".equals(codeString)) + return GRPRN; + if ("GRFTH".equals(codeString)) + return GRFTH; + if ("MGRFTH".equals(codeString)) + return MGRFTH; + if ("PGRFTH".equals(codeString)) + return PGRFTH; + if ("GRMTH".equals(codeString)) + return GRMTH; + if ("MGRMTH".equals(codeString)) + return MGRMTH; + if ("PGRMTH".equals(codeString)) + return PGRMTH; + if ("MGRPRN".equals(codeString)) + return MGRPRN; + if ("PGRPRN".equals(codeString)) + return PGRPRN; + if ("INLAW".equals(codeString)) + return INLAW; + if ("CHLDINLAW".equals(codeString)) + return CHLDINLAW; + if ("DAUINLAW".equals(codeString)) + return DAUINLAW; + if ("SONINLAW".equals(codeString)) + return SONINLAW; + if ("PRNINLAW".equals(codeString)) + return PRNINLAW; + if ("FTHINLAW".equals(codeString)) + return FTHINLAW; + if ("MTHINLAW".equals(codeString)) + return MTHINLAW; + if ("SIBINLAW".equals(codeString)) + return SIBINLAW; + if ("BROINLAW".equals(codeString)) + return BROINLAW; + if ("SISINLAW".equals(codeString)) + return SISINLAW; + if ("NIENEPH".equals(codeString)) + return NIENEPH; + if ("NEPHEW".equals(codeString)) + return NEPHEW; + if ("NIECE".equals(codeString)) + return NIECE; + if ("UNCLE".equals(codeString)) + return UNCLE; + if ("MUNCLE".equals(codeString)) + return MUNCLE; + if ("PUNCLE".equals(codeString)) + return PUNCLE; + if ("PRN".equals(codeString)) + return PRN; + if ("ADOPTP".equals(codeString)) + return ADOPTP; + if ("ADOPTF".equals(codeString)) + return ADOPTF; + if ("ADOPTM".equals(codeString)) + return ADOPTM; + if ("FTH".equals(codeString)) + return FTH; + if ("FTHFOST".equals(codeString)) + return FTHFOST; + if ("NFTH".equals(codeString)) + return NFTH; + if ("NFTHF".equals(codeString)) + return NFTHF; + if ("STPFTH".equals(codeString)) + return STPFTH; + if ("MTH".equals(codeString)) + return MTH; + if ("GESTM".equals(codeString)) + return GESTM; + if ("MTHFOST".equals(codeString)) + return MTHFOST; + if ("NMTH".equals(codeString)) + return NMTH; + if ("NMTHF".equals(codeString)) + return NMTHF; + if ("STPMTH".equals(codeString)) + return STPMTH; + if ("NPRN".equals(codeString)) + return NPRN; + if ("PRNFOST".equals(codeString)) + return PRNFOST; + if ("STPPRN".equals(codeString)) + return STPPRN; + if ("SIB".equals(codeString)) + return SIB; + if ("BRO".equals(codeString)) + return BRO; + if ("HBRO".equals(codeString)) + return HBRO; + if ("NBRO".equals(codeString)) + return NBRO; + if ("TWINBRO".equals(codeString)) + return TWINBRO; + if ("FTWINBRO".equals(codeString)) + return FTWINBRO; + if ("ITWINBRO".equals(codeString)) + return ITWINBRO; + if ("STPBRO".equals(codeString)) + return STPBRO; + if ("HSIB".equals(codeString)) + return HSIB; + if ("HSIS".equals(codeString)) + return HSIS; + if ("NSIB".equals(codeString)) + return NSIB; + if ("NSIS".equals(codeString)) + return NSIS; + if ("TWINSIS".equals(codeString)) + return TWINSIS; + if ("FTWINSIS".equals(codeString)) + return FTWINSIS; + if ("ITWINSIS".equals(codeString)) + return ITWINSIS; + if ("TWIN".equals(codeString)) + return TWIN; + if ("FTWIN".equals(codeString)) + return FTWIN; + if ("ITWIN".equals(codeString)) + return ITWIN; + if ("SIS".equals(codeString)) + return SIS; + if ("STPSIS".equals(codeString)) + return STPSIS; + if ("STPSIB".equals(codeString)) + return STPSIB; + if ("SIGOTHR".equals(codeString)) + return SIGOTHR; + if ("DOMPART".equals(codeString)) + return DOMPART; + if ("FMRSPS".equals(codeString)) + return FMRSPS; + if ("SPS".equals(codeString)) + return SPS; + if ("HUSB".equals(codeString)) + return HUSB; + if ("WIFE".equals(codeString)) + return WIFE; + if ("FRND".equals(codeString)) + return FRND; + if ("NBOR".equals(codeString)) + return NBOR; + if ("ONESELF".equals(codeString)) + return ONESELF; + if ("ROOM".equals(codeString)) + return ROOM; + if ("_PolicyOrProgramCoverageRoleType".equals(codeString)) + return _POLICYORPROGRAMCOVERAGEROLETYPE; + if ("_CoverageRoleType".equals(codeString)) + return _COVERAGEROLETYPE; + if ("FAMDEP".equals(codeString)) + return FAMDEP; + if ("HANDIC".equals(codeString)) + return HANDIC; + if ("INJ".equals(codeString)) + return INJ; + if ("SELF".equals(codeString)) + return SELF; + if ("SPON".equals(codeString)) + return SPON; + if ("STUD".equals(codeString)) + return STUD; + if ("FSTUD".equals(codeString)) + return FSTUD; + if ("PSTUD".equals(codeString)) + return PSTUD; + if ("_CoveredPartyRoleType".equals(codeString)) + return _COVEREDPARTYROLETYPE; + if ("_ClaimantCoveredPartyRoleType".equals(codeString)) + return _CLAIMANTCOVEREDPARTYROLETYPE; + if ("CRIMEVIC".equals(codeString)) + return CRIMEVIC; + if ("INJWKR".equals(codeString)) + return INJWKR; + if ("_DependentCoveredPartyRoleType".equals(codeString)) + return _DEPENDENTCOVEREDPARTYROLETYPE; + if ("COCBEN".equals(codeString)) + return COCBEN; + if ("DIFFABL".equals(codeString)) + return DIFFABL; + if ("WARD".equals(codeString)) + return WARD; + if ("_IndividualInsuredPartyRoleType".equals(codeString)) + return _INDIVIDUALINSUREDPARTYROLETYPE; + if ("RETIREE".equals(codeString)) + return RETIREE; + if ("_ProgramEligiblePartyRoleType".equals(codeString)) + return _PROGRAMELIGIBLEPARTYROLETYPE; + if ("INDIG".equals(codeString)) + return INDIG; + if ("MIL".equals(codeString)) + return MIL; + if ("ACTMIL".equals(codeString)) + return ACTMIL; + if ("RETMIL".equals(codeString)) + return RETMIL; + if ("VET".equals(codeString)) + return VET; + if ("_SubscriberCoveredPartyRoleType".equals(codeString)) + return _SUBSCRIBERCOVEREDPARTYROLETYPE; + if ("_ResearchSubjectRoleBasis".equals(codeString)) + return _RESEARCHSUBJECTROLEBASIS; + if ("ERL".equals(codeString)) + return ERL; + if ("SCN".equals(codeString)) + return SCN; + if ("_ServiceDeliveryLocationRoleType".equals(codeString)) + return _SERVICEDELIVERYLOCATIONROLETYPE; + if ("_DedicatedServiceDeliveryLocationRoleType".equals(codeString)) + return _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE; + if ("_DedicatedClinicalLocationRoleType".equals(codeString)) + return _DEDICATEDCLINICALLOCATIONROLETYPE; + if ("DX".equals(codeString)) + return DX; + if ("CVDX".equals(codeString)) + return CVDX; + if ("CATH".equals(codeString)) + return CATH; + if ("ECHO".equals(codeString)) + return ECHO; + if ("GIDX".equals(codeString)) + return GIDX; + if ("ENDOS".equals(codeString)) + return ENDOS; + if ("RADDX".equals(codeString)) + return RADDX; + if ("RADO".equals(codeString)) + return RADO; + if ("RNEU".equals(codeString)) + return RNEU; + if ("HOSP".equals(codeString)) + return HOSP; + if ("CHR".equals(codeString)) + return CHR; + if ("GACH".equals(codeString)) + return GACH; + if ("MHSP".equals(codeString)) + return MHSP; + if ("PSYCHF".equals(codeString)) + return PSYCHF; + if ("RH".equals(codeString)) + return RH; + if ("RHAT".equals(codeString)) + return RHAT; + if ("RHII".equals(codeString)) + return RHII; + if ("RHMAD".equals(codeString)) + return RHMAD; + if ("RHPI".equals(codeString)) + return RHPI; + if ("RHPIH".equals(codeString)) + return RHPIH; + if ("RHPIMS".equals(codeString)) + return RHPIMS; + if ("RHPIVS".equals(codeString)) + return RHPIVS; + if ("RHYAD".equals(codeString)) + return RHYAD; + if ("HU".equals(codeString)) + return HU; + if ("BMTU".equals(codeString)) + return BMTU; + if ("CCU".equals(codeString)) + return CCU; + if ("CHEST".equals(codeString)) + return CHEST; + if ("EPIL".equals(codeString)) + return EPIL; + if ("ER".equals(codeString)) + return ER; + if ("ETU".equals(codeString)) + return ETU; + if ("HD".equals(codeString)) + return HD; + if ("HLAB".equals(codeString)) + return HLAB; + if ("INLAB".equals(codeString)) + return INLAB; + if ("OUTLAB".equals(codeString)) + return OUTLAB; + if ("HRAD".equals(codeString)) + return HRAD; + if ("HUSCS".equals(codeString)) + return HUSCS; + if ("ICU".equals(codeString)) + return ICU; + if ("PEDICU".equals(codeString)) + return PEDICU; + if ("PEDNICU".equals(codeString)) + return PEDNICU; + if ("INPHARM".equals(codeString)) + return INPHARM; + if ("MBL".equals(codeString)) + return MBL; + if ("NCCS".equals(codeString)) + return NCCS; + if ("NS".equals(codeString)) + return NS; + if ("OUTPHARM".equals(codeString)) + return OUTPHARM; + if ("PEDU".equals(codeString)) + return PEDU; + if ("PHU".equals(codeString)) + return PHU; + if ("RHU".equals(codeString)) + return RHU; + if ("SLEEP".equals(codeString)) + return SLEEP; + if ("NCCF".equals(codeString)) + return NCCF; + if ("SNF".equals(codeString)) + return SNF; + if ("OF".equals(codeString)) + return OF; + if ("ALL".equals(codeString)) + return ALL; + if ("AMPUT".equals(codeString)) + return AMPUT; + if ("BMTC".equals(codeString)) + return BMTC; + if ("BREAST".equals(codeString)) + return BREAST; + if ("CANC".equals(codeString)) + return CANC; + if ("CAPC".equals(codeString)) + return CAPC; + if ("CARD".equals(codeString)) + return CARD; + if ("PEDCARD".equals(codeString)) + return PEDCARD; + if ("COAG".equals(codeString)) + return COAG; + if ("CRS".equals(codeString)) + return CRS; + if ("DERM".equals(codeString)) + return DERM; + if ("ENDO".equals(codeString)) + return ENDO; + if ("PEDE".equals(codeString)) + return PEDE; + if ("ENT".equals(codeString)) + return ENT; + if ("FMC".equals(codeString)) + return FMC; + if ("GI".equals(codeString)) + return GI; + if ("PEDGI".equals(codeString)) + return PEDGI; + if ("GIM".equals(codeString)) + return GIM; + if ("GYN".equals(codeString)) + return GYN; + if ("HEM".equals(codeString)) + return HEM; + if ("PEDHEM".equals(codeString)) + return PEDHEM; + if ("HTN".equals(codeString)) + return HTN; + if ("IEC".equals(codeString)) + return IEC; + if ("INFD".equals(codeString)) + return INFD; + if ("PEDID".equals(codeString)) + return PEDID; + if ("INV".equals(codeString)) + return INV; + if ("LYMPH".equals(codeString)) + return LYMPH; + if ("MGEN".equals(codeString)) + return MGEN; + if ("NEPH".equals(codeString)) + return NEPH; + if ("PEDNEPH".equals(codeString)) + return PEDNEPH; + if ("NEUR".equals(codeString)) + return NEUR; + if ("OB".equals(codeString)) + return OB; + if ("OMS".equals(codeString)) + return OMS; + if ("ONCL".equals(codeString)) + return ONCL; + if ("PEDHO".equals(codeString)) + return PEDHO; + if ("OPH".equals(codeString)) + return OPH; + if ("OPTC".equals(codeString)) + return OPTC; + if ("ORTHO".equals(codeString)) + return ORTHO; + if ("HAND".equals(codeString)) + return HAND; + if ("PAINCL".equals(codeString)) + return PAINCL; + if ("PC".equals(codeString)) + return PC; + if ("PEDC".equals(codeString)) + return PEDC; + if ("PEDRHEUM".equals(codeString)) + return PEDRHEUM; + if ("POD".equals(codeString)) + return POD; + if ("PREV".equals(codeString)) + return PREV; + if ("PROCTO".equals(codeString)) + return PROCTO; + if ("PROFF".equals(codeString)) + return PROFF; + if ("PROS".equals(codeString)) + return PROS; + if ("PSI".equals(codeString)) + return PSI; + if ("PSY".equals(codeString)) + return PSY; + if ("RHEUM".equals(codeString)) + return RHEUM; + if ("SPMED".equals(codeString)) + return SPMED; + if ("SU".equals(codeString)) + return SU; + if ("PLS".equals(codeString)) + return PLS; + if ("URO".equals(codeString)) + return URO; + if ("TR".equals(codeString)) + return TR; + if ("TRAVEL".equals(codeString)) + return TRAVEL; + if ("WND".equals(codeString)) + return WND; + if ("RTF".equals(codeString)) + return RTF; + if ("PRC".equals(codeString)) + return PRC; + if ("SURF".equals(codeString)) + return SURF; + if ("_DedicatedNonClinicalLocationRoleType".equals(codeString)) + return _DEDICATEDNONCLINICALLOCATIONROLETYPE; + if ("DADDR".equals(codeString)) + return DADDR; + if ("MOBL".equals(codeString)) + return MOBL; + if ("AMB".equals(codeString)) + return AMB; + if ("PHARM".equals(codeString)) + return PHARM; + if ("_IncidentalServiceDeliveryLocationRoleType".equals(codeString)) + return _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE; + if ("ACC".equals(codeString)) + return ACC; + if ("COMM".equals(codeString)) + return COMM; + if ("CSC".equals(codeString)) + return CSC; + if ("PTRES".equals(codeString)) + return PTRES; + if ("SCHOOL".equals(codeString)) + return SCHOOL; + if ("UPC".equals(codeString)) + return UPC; + if ("WORK".equals(codeString)) + return WORK; + if ("_SpecimenRoleType".equals(codeString)) + return _SPECIMENROLETYPE; + if ("C".equals(codeString)) + return C; + if ("G".equals(codeString)) + return G; + if ("L".equals(codeString)) + return L; + if ("P".equals(codeString)) + return P; + if ("Q".equals(codeString)) + return Q; + if ("B".equals(codeString)) + return B; + if ("E".equals(codeString)) + return E; + if ("F".equals(codeString)) + return F; + if ("O".equals(codeString)) + return O; + if ("V".equals(codeString)) + return V; + if ("R".equals(codeString)) + return R; + if ("CLAIM".equals(codeString)) + return CLAIM; + if ("communityLaboratory".equals(codeString)) + return COMMUNITYLABORATORY; + if ("GT".equals(codeString)) + return GT; + if ("homeHealth".equals(codeString)) + return HOMEHEALTH; + if ("laboratory".equals(codeString)) + return LABORATORY; + if ("pathologist".equals(codeString)) + return PATHOLOGIST; + if ("PH".equals(codeString)) + return PH; + if ("phlebotomist".equals(codeString)) + return PHLEBOTOMIST; + if ("PROG".equals(codeString)) + return PROG; + if ("PT".equals(codeString)) + return PT; + if ("subject".equals(codeString)) + return SUBJECT; + if ("thirdParty".equals(codeString)) + return THIRDPARTY; + throw new Exception("Unknown V3RoleCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _AFFILIATIONROLETYPE: return "_AffiliationRoleType"; + case _COVERAGESPONSORROLETYPE: return "_CoverageSponsorRoleType"; + case FULLINS: return "FULLINS"; + case SELFINS: return "SELFINS"; + case _PAYORROLETYPE: return "_PayorRoleType"; + case ENROLBKR: return "ENROLBKR"; + case TPA: return "TPA"; + case UMO: return "UMO"; + case RESPRSN: return "RESPRSN"; + case EXCEST: return "EXCEST"; + case GUADLTM: return "GUADLTM"; + case GUARD: return "GUARD"; + case POWATT: return "POWATT"; + case DPOWATT: return "DPOWATT"; + case HPOWATT: return "HPOWATT"; + case SPOWATT: return "SPOWATT"; + case _ASSIGNEDROLETYPE: return "_AssignedRoleType"; + case _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE: return "_AssignedNonPersonLivingSubjectRoleType"; + case ASSIST: return "ASSIST"; + case BIOTH: return "BIOTH"; + case ANTIBIOT: return "ANTIBIOT"; + case DEBR: return "DEBR"; + case CCO: return "CCO"; + case SEE: return "SEE"; + case SNIFF: return "SNIFF"; + case _CITIZENROLETYPE: return "_CitizenRoleType"; + case CAS: return "CAS"; + case CASM: return "CASM"; + case CN: return "CN"; + case CNRP: return "CNRP"; + case CNRPM: return "CNRPM"; + case CPCA: return "CPCA"; + case CRP: return "CRP"; + case CRPM: return "CRPM"; + case _CONTACTROLETYPE: return "_ContactRoleType"; + case _ADMINISTRATIVECONTACTROLETYPE: return "_AdministrativeContactRoleType"; + case BILL: return "BILL"; + case ORG: return "ORG"; + case PAYOR: return "PAYOR"; + case ECON: return "ECON"; + case NOK: return "NOK"; + case _IDENTIFIEDENTITYTYPE: return "_IdentifiedEntityType"; + case _LOCATIONIDENTIFIEDENTITYROLECODE: return "_LocationIdentifiedEntityRoleCode"; + case ACHFID: return "ACHFID"; + case JURID: return "JURID"; + case LOCHFID: return "LOCHFID"; + case _LIVINGSUBJECTPRODUCTIONCLASS: return "_LivingSubjectProductionClass"; + case BF: return "BF"; + case BL: return "BL"; + case BR: return "BR"; + case CO: return "CO"; + case DA: return "DA"; + case DR: return "DR"; + case DU: return "DU"; + case FI: return "FI"; + case LY: return "LY"; + case MT: return "MT"; + case MU: return "MU"; + case PL: return "PL"; + case RC: return "RC"; + case SH: return "SH"; + case VL: return "VL"; + case WL: return "WL"; + case WO: return "WO"; + case _MEDICATIONGENERALIZATIONROLETYPE: return "_MedicationGeneralizationRoleType"; + case DC: return "DC"; + case GD: return "GD"; + case GDF: return "GDF"; + case GDS: return "GDS"; + case GDSF: return "GDSF"; + case MGDSF: return "MGDSF"; + case _MEMBERROLETYPE: return "_MemberRoleType"; + case TRB: return "TRB"; + case _PERSONALRELATIONSHIPROLETYPE: return "_PersonalRelationshipRoleType"; + case FAMMEMB: return "FAMMEMB"; + case CHILD: return "CHILD"; + case CHLDADOPT: return "CHLDADOPT"; + case DAUADOPT: return "DAUADOPT"; + case SONADOPT: return "SONADOPT"; + case CHLDFOST: return "CHLDFOST"; + case DAUFOST: return "DAUFOST"; + case SONFOST: return "SONFOST"; + case DAUC: return "DAUC"; + case DAU: return "DAU"; + case STPDAU: return "STPDAU"; + case NCHILD: return "NCHILD"; + case SON: return "SON"; + case SONC: return "SONC"; + case STPSON: return "STPSON"; + case STPCHLD: return "STPCHLD"; + case EXT: return "EXT"; + case AUNT: return "AUNT"; + case MAUNT: return "MAUNT"; + case PAUNT: return "PAUNT"; + case COUSN: return "COUSN"; + case MCOUSN: return "MCOUSN"; + case PCOUSN: return "PCOUSN"; + case GGRPRN: return "GGRPRN"; + case GGRFTH: return "GGRFTH"; + case MGGRFTH: return "MGGRFTH"; + case PGGRFTH: return "PGGRFTH"; + case GGRMTH: return "GGRMTH"; + case MGGRMTH: return "MGGRMTH"; + case PGGRMTH: return "PGGRMTH"; + case MGGRPRN: return "MGGRPRN"; + case PGGRPRN: return "PGGRPRN"; + case GRNDCHILD: return "GRNDCHILD"; + case GRNDDAU: return "GRNDDAU"; + case GRNDSON: return "GRNDSON"; + case GRPRN: return "GRPRN"; + case GRFTH: return "GRFTH"; + case MGRFTH: return "MGRFTH"; + case PGRFTH: return "PGRFTH"; + case GRMTH: return "GRMTH"; + case MGRMTH: return "MGRMTH"; + case PGRMTH: return "PGRMTH"; + case MGRPRN: return "MGRPRN"; + case PGRPRN: return "PGRPRN"; + case INLAW: return "INLAW"; + case CHLDINLAW: return "CHLDINLAW"; + case DAUINLAW: return "DAUINLAW"; + case SONINLAW: return "SONINLAW"; + case PRNINLAW: return "PRNINLAW"; + case FTHINLAW: return "FTHINLAW"; + case MTHINLAW: return "MTHINLAW"; + case SIBINLAW: return "SIBINLAW"; + case BROINLAW: return "BROINLAW"; + case SISINLAW: return "SISINLAW"; + case NIENEPH: return "NIENEPH"; + case NEPHEW: return "NEPHEW"; + case NIECE: return "NIECE"; + case UNCLE: return "UNCLE"; + case MUNCLE: return "MUNCLE"; + case PUNCLE: return "PUNCLE"; + case PRN: return "PRN"; + case ADOPTP: return "ADOPTP"; + case ADOPTF: return "ADOPTF"; + case ADOPTM: return "ADOPTM"; + case FTH: return "FTH"; + case FTHFOST: return "FTHFOST"; + case NFTH: return "NFTH"; + case NFTHF: return "NFTHF"; + case STPFTH: return "STPFTH"; + case MTH: return "MTH"; + case GESTM: return "GESTM"; + case MTHFOST: return "MTHFOST"; + case NMTH: return "NMTH"; + case NMTHF: return "NMTHF"; + case STPMTH: return "STPMTH"; + case NPRN: return "NPRN"; + case PRNFOST: return "PRNFOST"; + case STPPRN: return "STPPRN"; + case SIB: return "SIB"; + case BRO: return "BRO"; + case HBRO: return "HBRO"; + case NBRO: return "NBRO"; + case TWINBRO: return "TWINBRO"; + case FTWINBRO: return "FTWINBRO"; + case ITWINBRO: return "ITWINBRO"; + case STPBRO: return "STPBRO"; + case HSIB: return "HSIB"; + case HSIS: return "HSIS"; + case NSIB: return "NSIB"; + case NSIS: return "NSIS"; + case TWINSIS: return "TWINSIS"; + case FTWINSIS: return "FTWINSIS"; + case ITWINSIS: return "ITWINSIS"; + case TWIN: return "TWIN"; + case FTWIN: return "FTWIN"; + case ITWIN: return "ITWIN"; + case SIS: return "SIS"; + case STPSIS: return "STPSIS"; + case STPSIB: return "STPSIB"; + case SIGOTHR: return "SIGOTHR"; + case DOMPART: return "DOMPART"; + case FMRSPS: return "FMRSPS"; + case SPS: return "SPS"; + case HUSB: return "HUSB"; + case WIFE: return "WIFE"; + case FRND: return "FRND"; + case NBOR: return "NBOR"; + case ONESELF: return "ONESELF"; + case ROOM: return "ROOM"; + case _POLICYORPROGRAMCOVERAGEROLETYPE: return "_PolicyOrProgramCoverageRoleType"; + case _COVERAGEROLETYPE: return "_CoverageRoleType"; + case FAMDEP: return "FAMDEP"; + case HANDIC: return "HANDIC"; + case INJ: return "INJ"; + case SELF: return "SELF"; + case SPON: return "SPON"; + case STUD: return "STUD"; + case FSTUD: return "FSTUD"; + case PSTUD: return "PSTUD"; + case _COVEREDPARTYROLETYPE: return "_CoveredPartyRoleType"; + case _CLAIMANTCOVEREDPARTYROLETYPE: return "_ClaimantCoveredPartyRoleType"; + case CRIMEVIC: return "CRIMEVIC"; + case INJWKR: return "INJWKR"; + case _DEPENDENTCOVEREDPARTYROLETYPE: return "_DependentCoveredPartyRoleType"; + case COCBEN: return "COCBEN"; + case DIFFABL: return "DIFFABL"; + case WARD: return "WARD"; + case _INDIVIDUALINSUREDPARTYROLETYPE: return "_IndividualInsuredPartyRoleType"; + case RETIREE: return "RETIREE"; + case _PROGRAMELIGIBLEPARTYROLETYPE: return "_ProgramEligiblePartyRoleType"; + case INDIG: return "INDIG"; + case MIL: return "MIL"; + case ACTMIL: return "ACTMIL"; + case RETMIL: return "RETMIL"; + case VET: return "VET"; + case _SUBSCRIBERCOVEREDPARTYROLETYPE: return "_SubscriberCoveredPartyRoleType"; + case _RESEARCHSUBJECTROLEBASIS: return "_ResearchSubjectRoleBasis"; + case ERL: return "ERL"; + case SCN: return "SCN"; + case _SERVICEDELIVERYLOCATIONROLETYPE: return "_ServiceDeliveryLocationRoleType"; + case _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE: return "_DedicatedServiceDeliveryLocationRoleType"; + case _DEDICATEDCLINICALLOCATIONROLETYPE: return "_DedicatedClinicalLocationRoleType"; + case DX: return "DX"; + case CVDX: return "CVDX"; + case CATH: return "CATH"; + case ECHO: return "ECHO"; + case GIDX: return "GIDX"; + case ENDOS: return "ENDOS"; + case RADDX: return "RADDX"; + case RADO: return "RADO"; + case RNEU: return "RNEU"; + case HOSP: return "HOSP"; + case CHR: return "CHR"; + case GACH: return "GACH"; + case MHSP: return "MHSP"; + case PSYCHF: return "PSYCHF"; + case RH: return "RH"; + case RHAT: return "RHAT"; + case RHII: return "RHII"; + case RHMAD: return "RHMAD"; + case RHPI: return "RHPI"; + case RHPIH: return "RHPIH"; + case RHPIMS: return "RHPIMS"; + case RHPIVS: return "RHPIVS"; + case RHYAD: return "RHYAD"; + case HU: return "HU"; + case BMTU: return "BMTU"; + case CCU: return "CCU"; + case CHEST: return "CHEST"; + case EPIL: return "EPIL"; + case ER: return "ER"; + case ETU: return "ETU"; + case HD: return "HD"; + case HLAB: return "HLAB"; + case INLAB: return "INLAB"; + case OUTLAB: return "OUTLAB"; + case HRAD: return "HRAD"; + case HUSCS: return "HUSCS"; + case ICU: return "ICU"; + case PEDICU: return "PEDICU"; + case PEDNICU: return "PEDNICU"; + case INPHARM: return "INPHARM"; + case MBL: return "MBL"; + case NCCS: return "NCCS"; + case NS: return "NS"; + case OUTPHARM: return "OUTPHARM"; + case PEDU: return "PEDU"; + case PHU: return "PHU"; + case RHU: return "RHU"; + case SLEEP: return "SLEEP"; + case NCCF: return "NCCF"; + case SNF: return "SNF"; + case OF: return "OF"; + case ALL: return "ALL"; + case AMPUT: return "AMPUT"; + case BMTC: return "BMTC"; + case BREAST: return "BREAST"; + case CANC: return "CANC"; + case CAPC: return "CAPC"; + case CARD: return "CARD"; + case PEDCARD: return "PEDCARD"; + case COAG: return "COAG"; + case CRS: return "CRS"; + case DERM: return "DERM"; + case ENDO: return "ENDO"; + case PEDE: return "PEDE"; + case ENT: return "ENT"; + case FMC: return "FMC"; + case GI: return "GI"; + case PEDGI: return "PEDGI"; + case GIM: return "GIM"; + case GYN: return "GYN"; + case HEM: return "HEM"; + case PEDHEM: return "PEDHEM"; + case HTN: return "HTN"; + case IEC: return "IEC"; + case INFD: return "INFD"; + case PEDID: return "PEDID"; + case INV: return "INV"; + case LYMPH: return "LYMPH"; + case MGEN: return "MGEN"; + case NEPH: return "NEPH"; + case PEDNEPH: return "PEDNEPH"; + case NEUR: return "NEUR"; + case OB: return "OB"; + case OMS: return "OMS"; + case ONCL: return "ONCL"; + case PEDHO: return "PEDHO"; + case OPH: return "OPH"; + case OPTC: return "OPTC"; + case ORTHO: return "ORTHO"; + case HAND: return "HAND"; + case PAINCL: return "PAINCL"; + case PC: return "PC"; + case PEDC: return "PEDC"; + case PEDRHEUM: return "PEDRHEUM"; + case POD: return "POD"; + case PREV: return "PREV"; + case PROCTO: return "PROCTO"; + case PROFF: return "PROFF"; + case PROS: return "PROS"; + case PSI: return "PSI"; + case PSY: return "PSY"; + case RHEUM: return "RHEUM"; + case SPMED: return "SPMED"; + case SU: return "SU"; + case PLS: return "PLS"; + case URO: return "URO"; + case TR: return "TR"; + case TRAVEL: return "TRAVEL"; + case WND: return "WND"; + case RTF: return "RTF"; + case PRC: return "PRC"; + case SURF: return "SURF"; + case _DEDICATEDNONCLINICALLOCATIONROLETYPE: return "_DedicatedNonClinicalLocationRoleType"; + case DADDR: return "DADDR"; + case MOBL: return "MOBL"; + case AMB: return "AMB"; + case PHARM: return "PHARM"; + case _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE: return "_IncidentalServiceDeliveryLocationRoleType"; + case ACC: return "ACC"; + case COMM: return "COMM"; + case CSC: return "CSC"; + case PTRES: return "PTRES"; + case SCHOOL: return "SCHOOL"; + case UPC: return "UPC"; + case WORK: return "WORK"; + case _SPECIMENROLETYPE: return "_SpecimenRoleType"; + case C: return "C"; + case G: return "G"; + case L: return "L"; + case P: return "P"; + case Q: return "Q"; + case B: return "B"; + case E: return "E"; + case F: return "F"; + case O: return "O"; + case V: return "V"; + case R: return "R"; + case CLAIM: return "CLAIM"; + case COMMUNITYLABORATORY: return "communityLaboratory"; + case GT: return "GT"; + case HOMEHEALTH: return "homeHealth"; + case LABORATORY: return "laboratory"; + case PATHOLOGIST: return "pathologist"; + case PH: return "PH"; + case PHLEBOTOMIST: return "phlebotomist"; + case PROG: return "PROG"; + case PT: return "PT"; + case SUBJECT: return "subject"; + case THIRDPARTY: return "thirdParty"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RoleCode"; + } + public String getDefinition() { + switch (this) { + case _AFFILIATIONROLETYPE: return "Concepts characterizing the type of association formed by player and scoper when there is a recognized Affiliate role by which the two parties are related.\r\n\n \n Examples: Business Partner, Business Associate, Colleague"; + case _COVERAGESPONSORROLETYPE: return "Description:Codes that indicate a specific type of sponsor. Used when the sponsor's role is only either as a fully insured sponsor or only as a self-insured sponsor. NOTE: Where a sponsor may be either, use the SponsorParticipationFunction.code (fully insured or self insured) to indicate the type of responsibility. (CO6-0057)"; + case FULLINS: return "Description:An employer or organization that contracts with an underwriter to assumes the financial risk and administrative responsibility for coverage of health services for covered parties."; + case SELFINS: return "Description:An employer or organization that assumes the financial risk and administrative responsibility for coverage of health services for covered parties."; + case _PAYORROLETYPE: return "Description:PayorRoleType for a particular type of policy or program benefit package or plan where more detail about the coverage administration role of the Payor is required. The functions performed by a Payor qualified by a PayorRoleType may be specified by the PayorParticpationFunction value set.\r\n\n \n Examples:A Payor that is a TPA may administer a managed care plan without underwriting the risk."; + case ENROLBKR: return "Description:A payor that is responsible for functions related to the enrollment of covered parties."; + case TPA: return "Description:Third party administrator (TPA) is a payor organization that processes health care claims without carrying insurance risk. Third party administrators are prominent players in the managed care industry and have the expertise and capability to administer all or a portion of the claims process. They are normally contracted by a health insurer or self-insuring companies to administer services, including claims administration, premium collection, enrollment and other administrative activities.\r\n\n Self-insured employers often contract with third party administrator to handle their insurance functions. Insurance companies oftentimes outsource the claims, utilization review or membership functions to a TPA. Sometimes TPAs only manage provider networks, only claims or only utilization review.\r\n\n While some third-party administrators may operate as units of insurance companies, they are often independent. However, hospitals or provider organizations desiring to set up their own health plans will often outsource certain responsibilities to TPAs. TPAs may perform one or several payor functions, specified by the PayorParticipationFunction value set, such as provider management, enrollment, utilization management, and fee for service claims adjudication management."; + case UMO: return "Description:A payor that is responsible for review and case management of health services covered under a policy or program."; + case RESPRSN: return "The role played by a party who has legal responsibility for another party."; + case EXCEST: return "The role played by a person acting as the estate executor for a deceased subscriber or policyholder who was the responsible party"; + case GUADLTM: return "The role played by a person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings."; + case GUARD: return "The role played by a person or institution legally empowered with responsibility for the care of a ward."; + case POWATT: return "A relationship between two people in which one person authorizes another to act for him in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts."; + case DPOWATT: return "A relationship between two people in which one person authorizes another, usually a family member or relative, to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned. Unlike ordinary powers of attorney, durable powers can survive for long periods of time, and again, unlike standard powers of attorney, durable powers can continue after incompetency."; + case HPOWATT: return "A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that continues (by its terms) to be effective even though the grantor has become mentally incompetent after signing the document."; + case SPOWATT: return "A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned."; + case _ASSIGNEDROLETYPE: return "AssignedRoleType"; + case _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE: return "Description:A role type that is used to further qualify a non-person subject playing a role where the role class attribute is set to RoleClass AssignedEntity"; + case ASSIST: return "Description:Dogs trained to assist the ill or physically challenged."; + case BIOTH: return "Description:Animals, including fish and insects, and microorganisms which may participate as assigned entities in biotherapies."; + case ANTIBIOT: return "Description:Non-person living subject used as antibiotic.\r\n\n \n Examples:Bacteriophage, is a virus that infects bacteria."; + case DEBR: return "Description:Maggots raised for biodebridement.\r\n\n \n Discussion: Maggot Debridement Therapy is the medical use of live maggots for cleaning non-healing wounds.\r\n\n \n Examples:Removal of burnt skin."; + case CCO: return "Description:Companion animals, such as dogs, cats, and rabbits, which may be provided to patients to improve general mood, decrease depression and loneliness, and distract from stress-inducing concerns to improve quality of life."; + case SEE: return "Description:Dogs trained to assist persons who are seeing impaired or blind."; + case SNIFF: return "Description:Dogs trained or having the ability to detect imminent seizures or cancers in humans, probably as a result of volatile chemical (odors) given off by the malignancy of the host."; + case _CITIZENROLETYPE: return "A role type used to qualify a person's legal status within a country or nation."; + case CAS: return "A person who has fled his or her home country to find a safe place elsewhere."; + case CASM: return "A person who is someone of below legal age who has fled his or her home country, without his or her parents, to find a safe place elsewhere at time of categorization."; + case CN: return "A person who is legally recognized as a member of a nation or country, with associated rights and obligations."; + case CNRP: return "A foreigner who is present in a country (which is foreign to him/her) unlawfully or without the country's authorization (may be called an illegal alien)."; + case CNRPM: return "A person who is below legal age present in a country, without his or her parents, (which is foreign to him/her) unlawfully or without the country's authorization."; + case CPCA: return "A non-country member admitted to the territory of a nation or country as a non-resident for an explicit purpose."; + case CRP: return "A foreigner who is a resident of the country but does not have citizenship."; + case CRPM: return "A person who is a resident below legal age of the country without his or her parents and does not have citizenship."; + case _CONTACTROLETYPE: return "Types of contact for Role code 'CON'"; + case _ADMINISTRATIVECONTACTROLETYPE: return "A contact role used for business and/or administrative purposes."; + case BILL: return "A contact role used to identify a person within a Provider organization that can be contacted for billing purposes (e.g. about the content of the Invoice)."; + case ORG: return "A contact for an organization for administrative purposes. Contact role specifies a person acting as a liason for the organization.\r\n\n Example: HR Department representative."; + case PAYOR: return "A contact role used to identify a person within a Payor organization to whom this communication is addressed."; + case ECON: return "A contact designated for contact in emergent situations."; + case NOK: return "Played by an individual who is designated as the next of kin for another individual which scopes the role."; + case _IDENTIFIEDENTITYTYPE: return "Definition: A code representing the type of identifier that has been assigned to the identified entity (IDENT).\r\n\n \n Examples: Example values include Social Insurance Number, Product Catalog ID, Product Model Number."; + case _LOCATIONIDENTIFIEDENTITYROLECODE: return "Description:Describes types of identifiers other than the primary location registry identifier for a service delivery location. Identifiers may be assigned by a local service delivery organization, a formal body capable of accrediting the location for the capability to provide specific services or the identifier may be assigned at a jurisdictional level."; + case ACHFID: return "Description:Identifier assigned to a location by the organization responsible for accrediting the location."; + case JURID: return "Description:Identifier assigned to a location by a jurisdiction."; + case LOCHFID: return "Description:Identifier assigned to a location by a local party (which could be the facility itself or organization overseeing a group of facilities)."; + case _LIVINGSUBJECTPRODUCTIONCLASS: return "Code indicating the primary use for which a living subject is bred or grown"; + case BF: return "Cattle used for meat production"; + case BL: return "Chickens raised for meat"; + case BR: return "Breeding/genetic stock"; + case CO: return "Companion animals"; + case DA: return "Milk production"; + case DR: return "Draft animals"; + case DU: return "Dual purpose. Defined purposes based on species and breed"; + case FI: return "Animals raised for their fur, hair or skins"; + case LY: return "Chickens raised for egg production"; + case MT: return "Animals raised for meat production"; + case MU: return "Poultry flocks used for chick/poult production"; + case PL: return "Animals rasied for recreation"; + case RC: return "Animals raised for racing perfomance"; + case SH: return "Animals raised for shows"; + case VL: return "Cattle raised for veal meat production. Implicit is the husbandry method."; + case WL: return "Sheep, goats and other mammals raised for their fiber"; + case WO: return "Animals used to perform work"; + case _MEDICATIONGENERALIZATIONROLETYPE: return "Identifies the specific hierarchical relationship between the playing and scoping medications. \r\n\n \n Examples: Generic, Generic Formulation, Therapeutic Class, etc."; + case DC: return "Description:A categorization of medicinal products by their therapeutic properties and/or main therapeutic use."; + case GD: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients independent of strength, and form.\r\n\n The scoping entity identifies a unique combination of medicine ingredients; sometimes referred to as 'ingredient set'."; + case GDF: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients and dose form, independent of strength of the ingredients. The scoping entity identifies a unique combination of medicine ingredients in a specific dose form."; + case GDS: return "Relates a manufactured drug product to the non-proprietary (generic) representation of is ingredients with their strength. The scoping entity identifies a unique combination of medicine ingredients with their strength."; + case GDSF: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form."; + case MGDSF: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form."; + case _MEMBERROLETYPE: return "Types of membership for Role code 'MBR'"; + case TRB: return "A person who is a member of a tribe."; + case _PERSONALRELATIONSHIPROLETYPE: return "PersonalRelationshipRoleType"; + case FAMMEMB: return "A relationship between two people characterizing their 'familial' relationship"; + case CHILD: return "The player of the role is a child of the scoping entity."; + case CHLDADOPT: return "The player of the role is a child taken into a family through legal means and raised by the scoping person (parent) as his or her own child."; + case DAUADOPT: return "The player of the role is a female child taken into a family through legal means and raised by the scoping person (parent) as his or her own child."; + case SONADOPT: return "The player of the role is a male child taken into a family through legal means and raised by the scoping person (parent) as his or her own child."; + case CHLDFOST: return "The player of the role is a child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties."; + case DAUFOST: return "The player of the role is a female child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties."; + case SONFOST: return "The player of the role is a male child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties."; + case DAUC: return "Description: The player of the role is a female child (of any type) of scoping entity (parent)"; + case DAU: return "The player of the role is a female offspring of the scoping entity (parent)."; + case STPDAU: return "The player of the role is a daughter of the scoping person's spouse by a previous union."; + case NCHILD: return "The player of the role is an offspring of the scoping entity as determined by birth."; + case SON: return "The player of the role is a male offspring of the scoping entity (parent)."; + case SONC: return "Description: The player of the role is a male child (of any type) of scoping entity (parent)"; + case STPSON: return "The player of the role is a son of the scoping person's spouse by a previous union."; + case STPCHLD: return "The player of the role is a child of the scoping person's spouse by a previous union."; + case EXT: return "Description: A family member not having an immediate genetic or legal relationship e.g. Aunt, cousin, great grandparent, grandchild, grandparent, niece, nephew or uncle."; + case AUNT: return "The player of the role is a sister of the scoping person's mother or father."; + case MAUNT: return "Description:The player of the role is a biological sister of the scoping person's biological mother."; + case PAUNT: return "Description:The player of the role is a biological sister of the scoping person's biological father."; + case COUSN: return "The player of the role is a relative of the scoping person descended from a common ancestor, such as a grandparent, by two or more steps in a diverging line."; + case MCOUSN: return "Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's mother's side, such as a grandparent, by two or more steps in a diverging line."; + case PCOUSN: return "Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's father's side, such as a grandparent, by two or more steps in a diverging line."; + case GGRPRN: return "The player of the role is a parent of the scoping person's grandparent."; + case GGRFTH: return "The player of the role is the father of the scoping person's grandparent."; + case MGGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological mother's parent."; + case PGGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological father's parent."; + case GGRMTH: return "The player of the role is the mother of the scoping person's grandparent."; + case MGGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological mother's parent."; + case PGGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological father's parent."; + case MGGRPRN: return "Description:The player of the role is a biological parent of the scoping person's biological mother's parent."; + case PGGRPRN: return "Description:The player of the role is a biological parent of the scoping person's biological father's parent."; + case GRNDCHILD: return "The player of the role is a child of the scoping person's son or daughter."; + case GRNDDAU: return "The player of the role is a daughter of the scoping person's son or daughter."; + case GRNDSON: return "The player of the role is a son of the scoping person's son or daughter."; + case GRPRN: return "The player of the role is a parent of the scoping person's mother or father."; + case GRFTH: return "The player of the role is the father of the scoping person's mother or father."; + case MGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological mother."; + case PGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological father."; + case GRMTH: return "The player of the role is the mother of the scoping person's mother or father."; + case MGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological mother."; + case PGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological father."; + case MGRPRN: return "Description:The player of the role is the biological parent of the scoping person's biological mother."; + case PGRPRN: return "Description:The player of the role is the biological parent of the scoping person's biological father."; + case INLAW: return "A relationship between an individual and a member of their spousal partner's immediate family."; + case CHLDINLAW: return "The player of the role is the spouse of scoping person's child."; + case DAUINLAW: return "The player of the role is the wife of scoping person's son."; + case SONINLAW: return "The player of the role is the husband of scoping person's daughter."; + case PRNINLAW: return "The player of the role is the parent of scoping person's husband or wife."; + case FTHINLAW: return "The player of the role is the father of the scoping person's husband or wife."; + case MTHINLAW: return "The player of the role is the mother of the scoping person's husband or wife."; + case SIBINLAW: return "The player of the role is: (1) a sibling of the scoping person's spouse, or (2) the spouse of the scoping person's sibling, or (3) the spouse of a sibling of the scoping person's spouse."; + case BROINLAW: return "The player of the role is: (1) a brother of the scoping person's spouse, or (2) the husband of the scoping person's sister, or (3) the husband of a sister of the scoping person's spouse."; + case SISINLAW: return "The player of the role is: (1) a sister of the scoping person's spouse, or (2) the wife of the scoping person's brother, or (3) the wife of a brother of the scoping person's spouse."; + case NIENEPH: return "The player of the role is a child of scoping person's brother or sister or of the brother or sister of the scoping person's spouse."; + case NEPHEW: return "The player of the role is a son of the scoping person's brother or sister or of the brother or sister of the scoping person's spouse."; + case NIECE: return "The player of the role is a daughter of the scoping person's brother or sister or of the brother or sister of the scoping person's spouse."; + case UNCLE: return "The player of the role is a brother of the scoping person's mother or father."; + case MUNCLE: return "Description:The player of the role is a biological brother of the scoping person's biological mother."; + case PUNCLE: return "Description:The player of the role is a biological brother of the scoping person's biological father."; + case PRN: return "The player of the role is one who begets, gives birth to, or nurtures and raises the scoping entity (child)."; + case ADOPTP: return "The player of the role (parent) has taken the scoper (child) into their family through legal means and raises them as his or her own child."; + case ADOPTF: return "The player of the role (father) is a male who has taken the scoper (child) into their family through legal means and raises them as his own child."; + case ADOPTM: return "The player of the role (father) is a female who has taken the scoper (child) into their family through legal means and raises them as her own child."; + case FTH: return "The player of the role is a male who begets or raises or nurtures the scoping entity (child)."; + case FTHFOST: return "The player of the role (parent) who is a male state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.\r\n\n The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child."; + case NFTH: return "The player of the role is a male who begets the scoping entity (child)."; + case NFTHF: return "Indicates the biologic male parent of a fetus."; + case STPFTH: return "The player of the role is the husband of scoping person's mother and not the scoping person's natural father."; + case MTH: return "The player of the role is a female who conceives, gives birth to, or raises and nurtures the scoping entity (child)."; + case GESTM: return "The player is a female whose womb carries the fetus of the scoper. Generally used when the gestational mother and natural mother are not the same."; + case MTHFOST: return "The player of the role (parent) who is a female state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.\r\n\n The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child."; + case NMTH: return "The player of the role is a female who conceives or gives birth to the scoping entity (child)."; + case NMTHF: return "The player is the biologic female parent of the scoping fetus."; + case STPMTH: return "The player of the role is the wife of scoping person's father and not the scoping person's natural mother."; + case NPRN: return "natural parent"; + case PRNFOST: return "The player of the role (parent) who is a state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.\r\n\n The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child."; + case STPPRN: return "The player of the role is the spouse of the scoping person's parent and not the scoping person's natural parent."; + case SIB: return "The player of the role shares one or both parents in common with the scoping entity."; + case BRO: return "The player of the role is a male sharing one or both parents in common with the scoping entity."; + case HBRO: return "The player of the role is a male related to the scoping entity by sharing only one biological parent."; + case NBRO: return "The player of the role is a male having the same biological parents as the scoping entity."; + case TWINBRO: return "The scoper was carried in the same womb as the male player and shares common biological parents."; + case FTWINBRO: return "The scoper was carried in the same womb as the male player and shares common biological parents but is the product of a distinct egg/sperm pair."; + case ITWINBRO: return "The male scoper is an offspring of the same egg-sperm pair as the male player."; + case STPBRO: return "The player of the role is a son of the scoping person's stepparent."; + case HSIB: return "The player of the role is related to the scoping entity by sharing only one biological parent."; + case HSIS: return "The player of the role is a female related to the scoping entity by sharing only one biological parent."; + case NSIB: return "The player of the role has both biological parents in common with the scoping entity."; + case NSIS: return "The player of the role is a female having the same biological parents as the scoping entity."; + case TWINSIS: return "The scoper was carried in the same womb as the female player and shares common biological parents."; + case FTWINSIS: return "The scoper was carried in the same womb as the female player and shares common biological parents but is the product of a distinct egg/sperm pair."; + case ITWINSIS: return "The female scoper is an offspring of the same egg-sperm pair as the female player."; + case TWIN: return "The scoper and player were carried in the same womb and shared common biological parents."; + case FTWIN: return "The scoper and player were carried in the same womb and share common biological parents but are the product of distinct egg/sperm pairs."; + case ITWIN: return "The scoper and player are offspring of the same egg-sperm pair."; + case SIS: return "The player of the role is a female sharing one or both parents in common with the scoping entity."; + case STPSIS: return "The player of the role is a daughter of the scoping person's stepparent."; + case STPSIB: return "The player of the role is a child of the scoping person's stepparent."; + case SIGOTHR: return "A person who is important to one's well being; especially a spouse or one in a similar relationship. (The player is the one who is important)"; + case DOMPART: return "The player of the role cohabits with the scoping person but is not the scoping person's spouse."; + case FMRSPS: return "Player of the role was previously joined to the scoping person in marriage and this marriage is now dissolved and inactive.\r\n\n \n Usage Note: This is significant to indicate as some jurisdictions have different legal requirements for former spouse to access the patient's record, from a general friend."; + case SPS: return "The player of the role is a marriage partner of the scoping person."; + case HUSB: return "The player of the role is a man joined to a woman (scoping person) in marriage."; + case WIFE: return "The player of the role is a woman joined to a man (scoping person) in marriage."; + case FRND: return "The player of the role is a person who is known, liked, and trusted by the scoping person."; + case NBOR: return "The player of the role lives near or next to the scoping person."; + case ONESELF: return "The relationship that a person has with his or her self."; + case ROOM: return "One who shares living quarters with the subject."; + case _POLICYORPROGRAMCOVERAGEROLETYPE: return "Description: A role recognized through the eligibility of an identified party for benefits covered under an insurance policy or a program based on meeting eligibility criteria.\r\n\n Eligibility as a covered party may be conditioned on the party meeting criteria to qualify for coverage under a policy or program, which may be mandated by law. These criteria may be: \r\n\n \n \n The sole basis for coverage, e.g., being differently abled may qualify a person for disability coverage\r\n\n \n \n May more fully qualify a covered party role e.g, being differently abled may qualify an adult child as a dependent\r\n\n \n \n May impact the level of coverage for a covered party under a policy or program, e.g., being differently abled may qualify a program eligible for additional benefits.\r\n\n \n \n \n Discussion: The Abstract Value Set 'CoverageRoleType', which was developed for use in the Canadian realm 'pre-coordinate' coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., 'handicapped dependent'. These role.codes may only be used with COVPTY to avoid overlapping concepts that would result from using them to specify the specializations of COVPTY, e.g., the role.class DEPEN should not be used with the role.code family dependent because that relationship has overlapping concepts due to the role.code precoodination and is conveyed in FICO with the personal relationship role that has a PART role link to the covered party role. For the same reasons, the role.class DEPEN should not be used with the role.code HANDIC (handicapped dependent); the role.code DIFFABLE (differently abled) should be used instead.\r\n\n In summary, the coded concepts in the Abstract Value Set 'CoveredPartyRoleType' can be 'post-coordinated' with the 'RoleClassCoveredParty' Abstract Value Set. Decoupling these concepts is intended to support an expansive range of covered party concepts and their semantic comparability."; + case _COVERAGEROLETYPE: return "Role recognized through the issuance of insurance coverage to an identified covered party who has this relationship with the policy holder such as the policy holder themselves (self), spouse, child, etc"; + case FAMDEP: return "The player of the role is dependent of the scoping entity."; + case HANDIC: return "Covered party is a dependent of the policy holder with a physical or mental disability causing a disadvantage that makes independent achievement unusually difficult."; + case INJ: return "Covered party is an injured party with a legal claim for compensation against a policy holder under an insurance policy."; + case SELF: return "Covered party is the policy holder. Also known as the subscriber."; + case SPON: return "Covered party is an individual that the policy holder has assumed responsibility for, such as foster child or legal ward."; + case STUD: return "Covered party to an insurance policy has coverage through full-time or part-time attendance at a recognized educational institution as defined by a particular insurance policy."; + case FSTUD: return "Covered party to an insurance policy has coverage through full-time attendance at a recognized educational institution as defined by a particular insurance policy."; + case PSTUD: return "Covered party to an insurance policy has coverage through part-time attendance at a recognized educational institution as defined by a particular insurance policy."; + case _COVEREDPARTYROLETYPE: return "A role recognized through the eligibility of an identified living subject for benefits covered under an insurance policy or a program. Eligibility as a covered party may be conditioned on a relationship with (1) the policy holder such as the policy holder who is covered as an individual under a poliy or as a party sponsored for coverage by the policy holder.\r\n\n \n Example:An employee as a subscriber; or (2) on being scoped another covered party such as the subscriber, as in the case of a dependent. \r\n\n \n Discussion: The Abstract Value Set 'CoverageRoleType', which was developed for use in the Canadian realm 'pre-coordinate' coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., 'handicapped dependent'. Other codes in the Abstract Value Set CoveredPartyRoleType domain can be 'post-coordinated' with the EligiblePartyRoleType codes to denote comparable concepts. Decoupling the concepts is intended to support a wider range of concepts and semantic comparability of coded concepts."; + case _CLAIMANTCOVEREDPARTYROLETYPE: return "DescriptionA role recognized through the eligibility of a party play a claimant for benefits covered or provided under an insurance policy."; + case CRIMEVIC: return "Description: A person playing the role of program eligible under a program based on allegations of being the victim of a crime.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is 'program eligible' and the person's status as a crime victim meets jurisdictional or program criteria."; + case INJWKR: return "Description: A person playing the role of program eligible under a workers compensation program based on the filing of work-related injury claim.\r\n\n \n Discussion: This CoveredPartyRoleType.code is used when the CoveredPartyRole class code is either 'program eligible', a 'named insured', and 'individual insured', or 'dependent', and the person's status as differently abled or 'handicapped' meets jurisdictional, policy, or program criteria."; + case _DEPENDENTCOVEREDPARTYROLETYPE: return "Description: A role recognized through the eligibility of a party to play a dependent for benefits covered or provided under a health insurance policy because of an association with the subscriber that is recognized by the policy underwriter."; + case COCBEN: return "Description: A person playing the role of an individual insured with continuity of coverage under a policy which is being terminated based on loss of original status that was the basis for coverage. Criteria for qualifying for continuity of coverage may be set by law.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible' or 'subscriber' and the person's status as a continuity of coverage beneficiary meets jurisdictional or policy criteria."; + case DIFFABL: return "Description: A person playing the role of program eligible under a program based on meeting criteria for health or functional limitation set by law or by the program.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible', 'named insured', 'individual insured', or 'dependent', and the person's status as differently abled meets jurisdictional, policy, or program criteria."; + case WARD: return "Description: A person, who is a minor or is deemed incompetent, who plays the role of a program eligible where eligibility for coverage is based on meeting program eligibility criteria for status as a ward of a court or jurisdiction.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is a 'claimant', 'program eligible', a 'named insured', an 'individual Insured' or a 'dependent', and the person's status as a ward meets program or policy criteria. In the case of a ward covered under a program providing financial or health benefits, a governmental agency may take temporary custody of a minor or incompetent for his/her protection and care, e.g., if the ward is suffering from neglect or abuse, or has been in trouble with the law."; + case _INDIVIDUALINSUREDPARTYROLETYPE: return "A role recognized through the eligibility of a party to play an individual insured for benefits covered or provided under an insurance policy where the party is also the policy holder."; + case RETIREE: return "Description: A person playing the role of an individual insured under a policy based on meeting criteria for the employment status of retired set by law or the policy.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible' or 'subscriber' and the person's status as a retiree meets jurisdictional or policy criteria."; + case _PROGRAMELIGIBLEPARTYROLETYPE: return "Description:A role recognized through the eligibility of a party to play a program eligible for benefits covered or provided under a program."; + case INDIG: return "Description: A person playing the role of program eligible under a program based on aboriginal ancestry or as a member of an aboriginal community.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is 'program eligible' and the person's status as a member of an indigenous people meets jurisdictional or program criteria."; + case MIL: return "Definition: A person playing the role of program eligible under a program based on military status.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible' or 'subscriber' and the person's status as a member of the military meets jurisdictional or program criteria"; + case ACTMIL: return "Description: A person playing the role of program eligible under a program based on active military status.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible' or 'subscriber' and the persons status as active duty military meets jurisdictional or program criteria."; + case RETMIL: return "Description: A person playing the role of program eligible under a program based on retired military status.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible' or 'subscriber' and the persons status as retired military meets jurisdictional or program criteria."; + case VET: return "Description: A person playing the role of program eligible under a program based on status as a military veteran.\r\n\n \n Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either 'program eligible' or 'subscriber' and the persons status as a veteran meets jurisdictional or program criteria."; + case _SUBSCRIBERCOVEREDPARTYROLETYPE: return "Description: A role recognized through the eligibility of a party to play a subscriber for benefits covered or provided under a health insurance policy."; + case _RESEARCHSUBJECTROLEBASIS: return "Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established. Examples: screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the active treatment portion of the design."; + case ERL: return "Definition:The specific role being played by a research subject participating in the active treatment or primary data collection portion of a research study."; + case SCN: return "Definition:The specific role being played by a research subject participating in the pre-enrollment evaluation portion of a research study."; + case _SERVICEDELIVERYLOCATIONROLETYPE: return "A role of a place that further classifies the setting (e.g., accident site, road side, work site, community location) in which services are delivered."; + case _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE: return "A role of a place that further classifies a setting that is intended to house the provision of services."; + case _DEDICATEDCLINICALLOCATIONROLETYPE: return "A role of a place that further classifies the clinical setting (e.g., cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) in which care is delivered during an encounter."; + case DX: return "A practice setting where diagnostic procedures or therapeutic interventions are performed"; + case CVDX: return "A practice setting where cardiovascular diagnostic procedures or therapeutic interventions are performed (e.g., cardiac catheterization lab, echocardiography suite)"; + case CATH: return "Cardiac catheterization lab"; + case ECHO: return "Echocardiography lab"; + case GIDX: return "A practice setting where GI procedures (such as endoscopies) are performed"; + case ENDOS: return "(X12N 261QD0000N)"; + case RADDX: return "A practice setting where radiology services (diagnostic or therapeutic) are provided (X12N 261QR0200N)"; + case RADO: return "(X12N 261QX0203N)"; + case RNEU: return "Neuroradiology unit"; + case HOSP: return "An acute care institution that provides medical, surgical, or psychiatric care and treatment for the sick or the injured."; + case CHR: return "(1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases that have one or more of the following characteristics: is permanent; leaves residual disability; is caused by nonreversible pathological alteration; requires special training of the patient for rehabilitation; and/or may be expected to require a long period of supervision or care. In addition, patients require the safety, security, and shelter of these specialized inpatient or partial hospitalization settings. (2) A hospital that provides medical and skilled nursing services to patients with long-term illnesses who are not in an acute phase but who require an intensity of services not available in nursing homes"; + case GACH: return "(X12N 282N00000N)"; + case MHSP: return "A health care facility operated by the Department of Defense or other military operation."; + case PSYCHF: return "Healthcare facility that cares for patients with psychiatric illness(s)."; + case RH: return "(X12N 283X00000N)"; + case RHAT: return "Description: A location that plays the role of delivering services which may include life training and/or social support to people with addictions."; + case RHII: return "Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with intellectual and/or pervasive development disorders such as autism or severe behaviour disorder."; + case RHMAD: return "Description: A location that plays the role of delivering services which may social support services for adolescents who are pregnant or have child and are experiencing adaptation issues/difficulties in their current or eventual parenting role."; + case RHPI: return "Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with physical impairments."; + case RHPIH: return "Description: A location that plays the role of delivering services for people with hearing impairments."; + case RHPIMS: return "Description: A location that plays the role of delivering services for people with motor skill impairments."; + case RHPIVS: return "Description: A location that plays the role of delivering services for people with visual skill impairments."; + case RHYAD: return "Description: A location that plays the role of delivering services which may include life training and/or social support services for the adaption, rehabilitation and social integration of youths with adjustment difficulties."; + case HU: return "Hospital unit"; + case BMTU: return "Bone marrow transplant unit"; + case CCU: return "Coronary care unit"; + case CHEST: return "A specialty unit in hospital that focuses on chronic respirator patients and pulmonary failure"; + case EPIL: return "Epilepsy unit"; + case ER: return "The section of a health care facility for providing rapid treatment to victims of sudden illness or trauma."; + case ETU: return "Emergency trauma unit"; + case HD: return "Hemodialysis unit"; + case HLAB: return "Description: A location that plays the role of delivering services which may include tests done based on clinical specimens to get health information about a patient as pertaining to the diagnosis, treatment and prevention of disease. Hospital laboratories may be further divided into specialized units such as Anatomic Pathology, Microbiology, and Biochemistry."; + case INLAB: return "Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for a hospital visit longer than one day."; + case OUTLAB: return "Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for same day visits."; + case HRAD: return "Description: A location that plays the role of delivering services which may include the branch of medicine that uses ionizing and non-ionizing radiation to diagnose and treat diseases. The radiology unit may be further divided into subspecialties such as Imaging, Cardiovascular, Thoracic, and Ultrasound."; + case HUSCS: return "Description: A location that plays the role of delivering services which may include collecting specimens and/or samples from patients for laboratory testing purposes, but does not perform any tests or analysis functions."; + case ICU: return "Intensive care unit"; + case PEDICU: return "Pediatric intensive care unit"; + case PEDNICU: return "Pediatric neonatal intensive care unit"; + case INPHARM: return "Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for visits longer than one day. The distinction between inpatient pharmacies and retail (or outpatient) pharmacies is that they are part of a patient's continuity of care while staying in the hospital."; + case MBL: return "Description: A location that plays the role of delivering services which include biochemistry, hematology, microbiology, immunochemistry, and toxicology."; + case NCCS: return "Neurology critical care and stroke unit"; + case NS: return "Neurosurgery unit"; + case OUTPHARM: return "Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for outpatient visits and may also be used for discharge prescriptions."; + case PEDU: return "Pediatric unit"; + case PHU: return "(X12N 273R00000N)"; + case RHU: return "Rehabilitation hospital unit"; + case SLEEP: return "(X12N 261QA1200N)"; + case NCCF: return "Nursing or custodial care facility"; + case SNF: return "(X12N 314000000N)"; + case OF: return "Outpatient facility"; + case ALL: return "Allergy clinic"; + case AMPUT: return "Amputee clinic"; + case BMTC: return "Bone marrow transplant clinic"; + case BREAST: return "Breast clinic"; + case CANC: return "Child and adolescent neurology clinic"; + case CAPC: return "Child and adolescent psychiatry clinic"; + case CARD: return "Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities"; + case PEDCARD: return "Pediatric cardiology clinic"; + case COAG: return "Coagulation clinic"; + case CRS: return "Colon and rectal surgery clinic"; + case DERM: return "Dermatology clinic"; + case ENDO: return "Endocrinology clinic"; + case PEDE: return "Pediatric endocrinology clinic"; + case ENT: return "Otorhinolaryngology clinic"; + case FMC: return "Family medicine clinic"; + case GI: return "Gastroenterology clinic"; + case PEDGI: return "Pediatric gastroenterology clinic"; + case GIM: return "General internal medicine clinic"; + case GYN: return "Gynecology clinic"; + case HEM: return "Hematology clinic"; + case PEDHEM: return "Pediatric hematology clinic"; + case HTN: return "Hypertension clinic"; + case IEC: return "Focuses on assessing disability"; + case INFD: return "Infectious disease clinic"; + case PEDID: return "Pediatric infectious disease clinic"; + case INV: return "Infertility clinic"; + case LYMPH: return "Lympedema clinic"; + case MGEN: return "Medical genetics clinic"; + case NEPH: return "Nephrology clinic"; + case PEDNEPH: return "Pediatric nephrology clinic"; + case NEUR: return "Neurology clinic"; + case OB: return "Obstetrics clinic"; + case OMS: return "Oral and maxillofacial surgery clinic"; + case ONCL: return "Medical oncology clinic"; + case PEDHO: return "Pediatric oncology clinic"; + case OPH: return "Opthalmology clinic"; + case OPTC: return "Description: A location that plays the role of delivering services which may include examination, diagnosis, treatment, management, and prevention of diseases and disorders of the eye as well as prescribing and fitting appropriate corrective lenses (glasses or contact lenses) as needed. Optometry clinics may also provide tests for visual field screening, measuring intra-ocular pressure and ophthalmoscopy, as and when required."; + case ORTHO: return "Orthopedics clinic"; + case HAND: return "Hand clinic"; + case PAINCL: return "(X12N 261QP3300N)"; + case PC: return "(X12N 261QP2300N)"; + case PEDC: return "Pediatrics clinic"; + case PEDRHEUM: return "Pediatric rheumatology clinic"; + case POD: return "(X12N 261QP1100N)"; + case PREV: return "Preventive medicine clinic"; + case PROCTO: return "Proctology clinic"; + case PROFF: return "Location where healthcare service was delivered, identified as the healthcare provider's practice office."; + case PROS: return "Prosthodontics clinic"; + case PSI: return "Psychology clinic"; + case PSY: return "Psychiatry clinic"; + case RHEUM: return "Rheumatology clinic"; + case SPMED: return "Sports medicine clinic"; + case SU: return "Surgery clinic"; + case PLS: return "Plastic surgery clinic"; + case URO: return "Urology clinic"; + case TR: return "Transplant clinic"; + case TRAVEL: return "Travel and geographic medicine clinic"; + case WND: return "Wound clinic"; + case RTF: return "Residential treatment facility"; + case PRC: return "Pain rehabilitation center"; + case SURF: return "(X12N 324500000N)"; + case _DEDICATEDNONCLINICALLOCATIONROLETYPE: return "A role of a place that further classifies a setting that is intended to house the provision of non-clinical services."; + case DADDR: return "Location address where medical supplies were transported to for use."; + case MOBL: return "Location (mobile) where healthcare service was delivered."; + case AMB: return "Location (mobile) where healthcare service was delivered, identified specifically as an ambulance."; + case PHARM: return "Location where healthcare service was delivered, identified as a pharmacy."; + case _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE: return "IncidentalServiceDeliveryLocationRoleType"; + case ACC: return "Location of an accident where healthcare service was delivered, such as a roadside."; + case COMM: return "Community location where healthcare is delivered."; + case CSC: return "Description: A location that plays the role of delivering services which may include providing front-line services to the population of a defined geographic area such as: healthcare services and social services, preventive or curative, rehabilitation or reintegration."; + case PTRES: return "location where healthcare was delivered which is the residence of the Patient."; + case SCHOOL: return "Location where healthcare service was delivered, identified as a school or educational facility."; + case UPC: return "Description: A location that plays the role of delivering services which may include: social emergency services required for a young person as required under any jurisdictional youth laws, child placement, and family mediation in the defined geographical area the SDL is responsible for. It may provide expertise in a judiciary setting on child custody, adoption and biological history research."; + case WORK: return "Location where healthcare service was delivered, identified as a work place."; + case _SPECIMENROLETYPE: return "SpecimenRoleType"; + case C: return "A specimen used for initial calibration settings of an instrument"; + case G: return "A set of patient samples in which the individuals of the group may or may not be identified."; + case L: return "Aliquots of individual specimens combined to form a single specimen representing all of the included individuals."; + case P: return "A specimen that has been collected from a patient."; + case Q: return "A specimen specifically used to verify the sensitivity, specificity, accuracy or other perfomance parameter of a diagnostic test."; + case B: return "Quality Control specimen submitted to the lab whose identity and composition is not known to the lab."; + case E: return "An electronically simulated QC specimen"; + case F: return "Specimen used for testing proficiency of an organization performing testing (how does this differ from O?)"; + case O: return "A specimen used for evaluation of operator proficiency (operator in what context?)"; + case V: return "A specimen used for periodic calibration checks of instruments"; + case R: return "A portion of an original patent sample that is tested at the same time as the original sample"; + case CLAIM: return "A party that makes a claim for coverage under a policy."; + case COMMUNITYLABORATORY: return "Community Laboratory"; + case GT: return "An individual or organization that makes or gives a promise, assurance, pledge to pay or has paid the healthcare service provider."; + case HOMEHEALTH: return "Home Health"; + case LABORATORY: return "Laboratory"; + case PATHOLOGIST: return "Pathologist"; + case PH: return "Policy holder for the insurance policy."; + case PHLEBOTOMIST: return "Phlebotomist"; + case PROG: return "A party that meets the eligibility criteria for coverage under a program."; + case PT: return "The recipient for the service(s) and/or product(s) when they are not the covered party."; + case SUBJECT: return "Self"; + case THIRDPARTY: return "Third Party"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _AFFILIATIONROLETYPE: return "AffiliationRoleType"; + case _COVERAGESPONSORROLETYPE: return "CoverageSponsorRoleType"; + case FULLINS: return "Fully insured coverage sponsor"; + case SELFINS: return "Self insured coverage sponsor"; + case _PAYORROLETYPE: return "PayorRoleType"; + case ENROLBKR: return "Enrollment Broker"; + case TPA: return "Third party administrator"; + case UMO: return "Utilization management organization"; + case RESPRSN: return "responsible party"; + case EXCEST: return "executor of estate"; + case GUADLTM: return "guardian ad lidem"; + case GUARD: return "guardian"; + case POWATT: return "power of attorney"; + case DPOWATT: return "durable power of attorney"; + case HPOWATT: return "healthcare power of attorney"; + case SPOWATT: return "special power of attorney"; + case _ASSIGNEDROLETYPE: return "AssignedRoleType"; + case _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE: return "AssignedNonPersonLivingSubjectRoleType"; + case ASSIST: return "Assistive non-person living subject"; + case BIOTH: return "Biotherapeutic non-person living subject"; + case ANTIBIOT: return "Antibiotic"; + case DEBR: return "Debridement"; + case CCO: return "Clinical Companion"; + case SEE: return "Seeing"; + case SNIFF: return "Sniffing"; + case _CITIZENROLETYPE: return "CitizenRoleType"; + case CAS: return "asylum seeker"; + case CASM: return "single minor asylum seeker"; + case CN: return "national"; + case CNRP: return "non-country member without residence permit"; + case CNRPM: return "non-country member minor without residence permit"; + case CPCA: return "permit card applicant"; + case CRP: return "non-country member with residence permit"; + case CRPM: return "non-country member minor with residence permit"; + case _CONTACTROLETYPE: return "ContactRoleType"; + case _ADMINISTRATIVECONTACTROLETYPE: return "AdministrativeContactRoleType"; + case BILL: return "Billing Contact"; + case ORG: return "organizational contact"; + case PAYOR: return "Payor Contact"; + case ECON: return "emergency contact"; + case NOK: return "next of kin"; + case _IDENTIFIEDENTITYTYPE: return "IdentifiedEntityType"; + case _LOCATIONIDENTIFIEDENTITYROLECODE: return "LocationIdentifiedEntityRoleCode"; + case ACHFID: return "accreditation location identifier"; + case JURID: return "jurisdiction location identifier"; + case LOCHFID: return "local location identifier"; + case _LIVINGSUBJECTPRODUCTIONCLASS: return "LivingSubjectProductionClass"; + case BF: return "Beef"; + case BL: return "Broiler"; + case BR: return "Breeder"; + case CO: return "Companion"; + case DA: return "Dairy"; + case DR: return "Draft"; + case DU: return "Dual"; + case FI: return "Fiber"; + case LY: return "Layer"; + case MT: return "Meat"; + case MU: return "Multiplier"; + case PL: return "Pleasure"; + case RC: return "Racing"; + case SH: return "Show"; + case VL: return "Veal"; + case WL: return "Wool"; + case WO: return "Working"; + case _MEDICATIONGENERALIZATIONROLETYPE: return "MedicationGeneralizationRoleType"; + case DC: return "therapeutic class"; + case GD: return "generic drug"; + case GDF: return "generic drug form"; + case GDS: return "generic drug strength"; + case GDSF: return "generic drug strength form"; + case MGDSF: return "manufactured drug strength form"; + case _MEMBERROLETYPE: return "MemberRoleType"; + case TRB: return "Tribal Member"; + case _PERSONALRELATIONSHIPROLETYPE: return "PersonalRelationshipRoleType"; + case FAMMEMB: return "family member"; + case CHILD: return "child"; + case CHLDADOPT: return "adopted child"; + case DAUADOPT: return "adopted daughter"; + case SONADOPT: return "adopted son"; + case CHLDFOST: return "foster child"; + case DAUFOST: return "foster daughter"; + case SONFOST: return "foster son"; + case DAUC: return "daughter"; + case DAU: return "natural daughter"; + case STPDAU: return "stepdaughter"; + case NCHILD: return "natural child"; + case SON: return "natural son"; + case SONC: return "son"; + case STPSON: return "stepson"; + case STPCHLD: return "step child"; + case EXT: return "extended family member"; + case AUNT: return "aunt"; + case MAUNT: return "maternal aunt"; + case PAUNT: return "paternal aunt"; + case COUSN: return "cousin"; + case MCOUSN: return "maternal cousin"; + case PCOUSN: return "paternal cousin"; + case GGRPRN: return "great grandparent"; + case GGRFTH: return "great grandfather"; + case MGGRFTH: return "maternal great-grandfather"; + case PGGRFTH: return "paternal great-grandfather"; + case GGRMTH: return "great grandmother"; + case MGGRMTH: return "maternal great-grandmother"; + case PGGRMTH: return "paternal great-grandmother"; + case MGGRPRN: return "maternal great-grandparent"; + case PGGRPRN: return "paternal great-grandparent"; + case GRNDCHILD: return "grandchild"; + case GRNDDAU: return "granddaughter"; + case GRNDSON: return "grandson"; + case GRPRN: return "grandparent"; + case GRFTH: return "grandfather"; + case MGRFTH: return "maternal grandfather"; + case PGRFTH: return "paternal grandfather"; + case GRMTH: return "grandmother"; + case MGRMTH: return "maternal grandmother"; + case PGRMTH: return "paternal grandmother"; + case MGRPRN: return "maternal grandparent"; + case PGRPRN: return "paternal grandparent"; + case INLAW: return "inlaw"; + case CHLDINLAW: return "child-in-law"; + case DAUINLAW: return "daughter in-law"; + case SONINLAW: return "son in-law"; + case PRNINLAW: return "parent in-law"; + case FTHINLAW: return "father-in-law"; + case MTHINLAW: return "mother-in-law"; + case SIBINLAW: return "sibling in-law"; + case BROINLAW: return "brother-in-law"; + case SISINLAW: return "sister-in-law"; + case NIENEPH: return "niece/nephew"; + case NEPHEW: return "nephew"; + case NIECE: return "niece"; + case UNCLE: return "uncle"; + case MUNCLE: return "maternal uncle"; + case PUNCLE: return "paternal uncle"; + case PRN: return "parent"; + case ADOPTP: return "adoptive parent"; + case ADOPTF: return "adoptive father"; + case ADOPTM: return "adoptive mother"; + case FTH: return "father"; + case FTHFOST: return "foster father"; + case NFTH: return "natural father"; + case NFTHF: return "natural father of fetus"; + case STPFTH: return "stepfather"; + case MTH: return "mother"; + case GESTM: return "gestational mother"; + case MTHFOST: return "foster mother"; + case NMTH: return "natural mother"; + case NMTHF: return "natural mother of fetus"; + case STPMTH: return "stepmother"; + case NPRN: return "natural parent"; + case PRNFOST: return "foster parent"; + case STPPRN: return "step parent"; + case SIB: return "sibling"; + case BRO: return "brother"; + case HBRO: return "half-brother"; + case NBRO: return "natural brother"; + case TWINBRO: return "twin brother"; + case FTWINBRO: return "fraternal twin brother"; + case ITWINBRO: return "identical twin brother"; + case STPBRO: return "stepbrother"; + case HSIB: return "half-sibling"; + case HSIS: return "half-sister"; + case NSIB: return "natural sibling"; + case NSIS: return "natural sister"; + case TWINSIS: return "twin sister"; + case FTWINSIS: return "fraternal twin sister"; + case ITWINSIS: return "identical twin sister"; + case TWIN: return "twin"; + case FTWIN: return "fraternal twin"; + case ITWIN: return "identical twin"; + case SIS: return "sister"; + case STPSIS: return "stepsister"; + case STPSIB: return "step sibling"; + case SIGOTHR: return "significant other"; + case DOMPART: return "domestic partner"; + case FMRSPS: return "former spouse"; + case SPS: return "spouse"; + case HUSB: return "husband"; + case WIFE: return "wife"; + case FRND: return "unrelated friend"; + case NBOR: return "neighbor"; + case ONESELF: return "self"; + case ROOM: return "Roommate"; + case _POLICYORPROGRAMCOVERAGEROLETYPE: return "PolicyOrProgramCoverageRoleType"; + case _COVERAGEROLETYPE: return "CoverageRoleType"; + case FAMDEP: return "family dependent"; + case HANDIC: return "handicapped dependent"; + case INJ: return "injured plaintiff"; + case SELF: return "self"; + case SPON: return "sponsored dependent"; + case STUD: return "student"; + case FSTUD: return "full-time student"; + case PSTUD: return "part-time student"; + case _COVEREDPARTYROLETYPE: return "covered party role type"; + case _CLAIMANTCOVEREDPARTYROLETYPE: return "ClaimantCoveredPartyRoleType"; + case CRIMEVIC: return "crime victim"; + case INJWKR: return "injured worker"; + case _DEPENDENTCOVEREDPARTYROLETYPE: return "DependentCoveredPartyRoleType"; + case COCBEN: return "continuity of coverage beneficiary"; + case DIFFABL: return "differently abled"; + case WARD: return "ward"; + case _INDIVIDUALINSUREDPARTYROLETYPE: return "IndividualInsuredPartyRoleType"; + case RETIREE: return "retiree"; + case _PROGRAMELIGIBLEPARTYROLETYPE: return "ProgramEligiblePartyRoleType"; + case INDIG: return "member of an indigenous people"; + case MIL: return "military"; + case ACTMIL: return "active duty military"; + case RETMIL: return "retired military"; + case VET: return "veteran"; + case _SUBSCRIBERCOVEREDPARTYROLETYPE: return "SubscriberCoveredPartyRoleType"; + case _RESEARCHSUBJECTROLEBASIS: return "ResearchSubjectRoleBasis"; + case ERL: return "enrollment"; + case SCN: return "screening"; + case _SERVICEDELIVERYLOCATIONROLETYPE: return "ServiceDeliveryLocationRoleType"; + case _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE: return "DedicatedServiceDeliveryLocationRoleType"; + case _DEDICATEDCLINICALLOCATIONROLETYPE: return "DedicatedClinicalLocationRoleType"; + case DX: return "Diagnostics or therapeutics unit"; + case CVDX: return "Cardiovascular diagnostics or therapeutics unit"; + case CATH: return "Cardiac catheterization lab"; + case ECHO: return "Echocardiography lab"; + case GIDX: return "Gastroenterology diagnostics or therapeutics lab"; + case ENDOS: return "Endoscopy lab"; + case RADDX: return "Radiology diagnostics or therapeutics unit"; + case RADO: return "Radiation oncology unit"; + case RNEU: return "Neuroradiology unit"; + case HOSP: return "Hospital"; + case CHR: return "Chronic Care Facility"; + case GACH: return "Hospitals; General Acute Care Hospital"; + case MHSP: return "Military Hospital"; + case PSYCHF: return "Psychatric Care Facility"; + case RH: return "Rehabilitation hospital"; + case RHAT: return "addiction treatment center"; + case RHII: return "intellectual impairment center"; + case RHMAD: return "parents with adjustment difficulties center"; + case RHPI: return "physical impairment center"; + case RHPIH: return "physical impairment - hearing center"; + case RHPIMS: return "physical impairment - motor skills center"; + case RHPIVS: return "physical impairment - visual skills center"; + case RHYAD: return "youths with adjustment difficulties center"; + case HU: return "Hospital unit"; + case BMTU: return "Bone marrow transplant unit"; + case CCU: return "Coronary care unit"; + case CHEST: return "Chest unit"; + case EPIL: return "Epilepsy unit"; + case ER: return "Emergency room"; + case ETU: return "Emergency trauma unit"; + case HD: return "Hemodialysis unit"; + case HLAB: return "hospital laboratory"; + case INLAB: return "inpatient laboratory"; + case OUTLAB: return "outpatient laboratory"; + case HRAD: return "radiology unit"; + case HUSCS: return "specimen collection site"; + case ICU: return "Intensive care unit"; + case PEDICU: return "Pediatric intensive care unit"; + case PEDNICU: return "Pediatric neonatal intensive care unit"; + case INPHARM: return "inpatient pharmacy"; + case MBL: return "medical laboratory"; + case NCCS: return "Neurology critical care and stroke unit"; + case NS: return "Neurosurgery unit"; + case OUTPHARM: return "outpatient pharmacy"; + case PEDU: return "Pediatric unit"; + case PHU: return "Psychiatric hospital unit"; + case RHU: return "Rehabilitation hospital unit"; + case SLEEP: return "Sleep disorders unit"; + case NCCF: return "Nursing or custodial care facility"; + case SNF: return "Skilled nursing facility"; + case OF: return "Outpatient facility"; + case ALL: return "Allergy clinic"; + case AMPUT: return "Amputee clinic"; + case BMTC: return "Bone marrow transplant clinic"; + case BREAST: return "Breast clinic"; + case CANC: return "Child and adolescent neurology clinic"; + case CAPC: return "Child and adolescent psychiatry clinic"; + case CARD: return "Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities"; + case PEDCARD: return "Pediatric cardiology clinic"; + case COAG: return "Coagulation clinic"; + case CRS: return "Colon and rectal surgery clinic"; + case DERM: return "Dermatology clinic"; + case ENDO: return "Endocrinology clinic"; + case PEDE: return "Pediatric endocrinology clinic"; + case ENT: return "Otorhinolaryngology clinic"; + case FMC: return "Family medicine clinic"; + case GI: return "Gastroenterology clinic"; + case PEDGI: return "Pediatric gastroenterology clinic"; + case GIM: return "General internal medicine clinic"; + case GYN: return "Gynecology clinic"; + case HEM: return "Hematology clinic"; + case PEDHEM: return "Pediatric hematology clinic"; + case HTN: return "Hypertension clinic"; + case IEC: return "Impairment evaluation center"; + case INFD: return "Infectious disease clinic"; + case PEDID: return "Pediatric infectious disease clinic"; + case INV: return "Infertility clinic"; + case LYMPH: return "Lympedema clinic"; + case MGEN: return "Medical genetics clinic"; + case NEPH: return "Nephrology clinic"; + case PEDNEPH: return "Pediatric nephrology clinic"; + case NEUR: return "Neurology clinic"; + case OB: return "Obstetrics clinic"; + case OMS: return "Oral and maxillofacial surgery clinic"; + case ONCL: return "Medical oncology clinic"; + case PEDHO: return "Pediatric oncology clinic"; + case OPH: return "Opthalmology clinic"; + case OPTC: return "optometry clinic"; + case ORTHO: return "Orthopedics clinic"; + case HAND: return "Hand clinic"; + case PAINCL: return "Pain clinic"; + case PC: return "Primary care clinic"; + case PEDC: return "Pediatrics clinic"; + case PEDRHEUM: return "Pediatric rheumatology clinic"; + case POD: return "Podiatry clinic"; + case PREV: return "Preventive medicine clinic"; + case PROCTO: return "Proctology clinic"; + case PROFF: return "Provider's Office"; + case PROS: return "Prosthodontics clinic"; + case PSI: return "Psychology clinic"; + case PSY: return "Psychiatry clinic"; + case RHEUM: return "Rheumatology clinic"; + case SPMED: return "Sports medicine clinic"; + case SU: return "Surgery clinic"; + case PLS: return "Plastic surgery clinic"; + case URO: return "Urology clinic"; + case TR: return "Transplant clinic"; + case TRAVEL: return "Travel and geographic medicine clinic"; + case WND: return "Wound clinic"; + case RTF: return "Residential treatment facility"; + case PRC: return "Pain rehabilitation center"; + case SURF: return "Substance use rehabilitation facility"; + case _DEDICATEDNONCLINICALLOCATIONROLETYPE: return "DedicatedNonClinicalLocationRoleType"; + case DADDR: return "Delivery Address"; + case MOBL: return "Mobile Unit"; + case AMB: return "Ambulance"; + case PHARM: return "Pharmacy"; + case _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE: return "IncidentalServiceDeliveryLocationRoleType"; + case ACC: return "accident site"; + case COMM: return "Community Location"; + case CSC: return "community service center"; + case PTRES: return "Patient's Residence"; + case SCHOOL: return "school"; + case UPC: return "underage protection center"; + case WORK: return "work site"; + case _SPECIMENROLETYPE: return "SpecimenRoleType"; + case C: return "Calibrator"; + case G: return "Group"; + case L: return "Pool"; + case P: return "Patient"; + case Q: return "Quality Control"; + case B: return "Blind"; + case E: return "Electronic QC"; + case F: return "Filler Proficiency"; + case O: return "Operator Proficiency"; + case V: return "Verifying"; + case R: return "Replicate"; + case CLAIM: return "claimant"; + case COMMUNITYLABORATORY: return "Community Laboratory"; + case GT: return "Guarantor"; + case HOMEHEALTH: return "Home Health"; + case LABORATORY: return "Laboratory"; + case PATHOLOGIST: return "Pathologist"; + case PH: return "Policy Holder"; + case PHLEBOTOMIST: return "Phlebotomist"; + case PROG: return "program eligible"; + case PT: return "Patient"; + case SUBJECT: return "Self"; + case THIRDPARTY: return "Third Party"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCodeEnumFactory.java new file mode 100644 index 00000000000..2f0d720ad5d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleCodeEnumFactory.java @@ -0,0 +1,1511 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RoleCodeEnumFactory implements EnumFactory { + + public V3RoleCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_AffiliationRoleType".equals(codeString)) + return V3RoleCode._AFFILIATIONROLETYPE; + if ("_CoverageSponsorRoleType".equals(codeString)) + return V3RoleCode._COVERAGESPONSORROLETYPE; + if ("FULLINS".equals(codeString)) + return V3RoleCode.FULLINS; + if ("SELFINS".equals(codeString)) + return V3RoleCode.SELFINS; + if ("_PayorRoleType".equals(codeString)) + return V3RoleCode._PAYORROLETYPE; + if ("ENROLBKR".equals(codeString)) + return V3RoleCode.ENROLBKR; + if ("TPA".equals(codeString)) + return V3RoleCode.TPA; + if ("UMO".equals(codeString)) + return V3RoleCode.UMO; + if ("RESPRSN".equals(codeString)) + return V3RoleCode.RESPRSN; + if ("EXCEST".equals(codeString)) + return V3RoleCode.EXCEST; + if ("GUADLTM".equals(codeString)) + return V3RoleCode.GUADLTM; + if ("GUARD".equals(codeString)) + return V3RoleCode.GUARD; + if ("POWATT".equals(codeString)) + return V3RoleCode.POWATT; + if ("DPOWATT".equals(codeString)) + return V3RoleCode.DPOWATT; + if ("HPOWATT".equals(codeString)) + return V3RoleCode.HPOWATT; + if ("SPOWATT".equals(codeString)) + return V3RoleCode.SPOWATT; + if ("_AssignedRoleType".equals(codeString)) + return V3RoleCode._ASSIGNEDROLETYPE; + if ("_AssignedNonPersonLivingSubjectRoleType".equals(codeString)) + return V3RoleCode._ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE; + if ("ASSIST".equals(codeString)) + return V3RoleCode.ASSIST; + if ("BIOTH".equals(codeString)) + return V3RoleCode.BIOTH; + if ("ANTIBIOT".equals(codeString)) + return V3RoleCode.ANTIBIOT; + if ("DEBR".equals(codeString)) + return V3RoleCode.DEBR; + if ("CCO".equals(codeString)) + return V3RoleCode.CCO; + if ("SEE".equals(codeString)) + return V3RoleCode.SEE; + if ("SNIFF".equals(codeString)) + return V3RoleCode.SNIFF; + if ("_CitizenRoleType".equals(codeString)) + return V3RoleCode._CITIZENROLETYPE; + if ("CAS".equals(codeString)) + return V3RoleCode.CAS; + if ("CASM".equals(codeString)) + return V3RoleCode.CASM; + if ("CN".equals(codeString)) + return V3RoleCode.CN; + if ("CNRP".equals(codeString)) + return V3RoleCode.CNRP; + if ("CNRPM".equals(codeString)) + return V3RoleCode.CNRPM; + if ("CPCA".equals(codeString)) + return V3RoleCode.CPCA; + if ("CRP".equals(codeString)) + return V3RoleCode.CRP; + if ("CRPM".equals(codeString)) + return V3RoleCode.CRPM; + if ("_ContactRoleType".equals(codeString)) + return V3RoleCode._CONTACTROLETYPE; + if ("_AdministrativeContactRoleType".equals(codeString)) + return V3RoleCode._ADMINISTRATIVECONTACTROLETYPE; + if ("BILL".equals(codeString)) + return V3RoleCode.BILL; + if ("ORG".equals(codeString)) + return V3RoleCode.ORG; + if ("PAYOR".equals(codeString)) + return V3RoleCode.PAYOR; + if ("ECON".equals(codeString)) + return V3RoleCode.ECON; + if ("NOK".equals(codeString)) + return V3RoleCode.NOK; + if ("_IdentifiedEntityType".equals(codeString)) + return V3RoleCode._IDENTIFIEDENTITYTYPE; + if ("_LocationIdentifiedEntityRoleCode".equals(codeString)) + return V3RoleCode._LOCATIONIDENTIFIEDENTITYROLECODE; + if ("ACHFID".equals(codeString)) + return V3RoleCode.ACHFID; + if ("JURID".equals(codeString)) + return V3RoleCode.JURID; + if ("LOCHFID".equals(codeString)) + return V3RoleCode.LOCHFID; + if ("_LivingSubjectProductionClass".equals(codeString)) + return V3RoleCode._LIVINGSUBJECTPRODUCTIONCLASS; + if ("BF".equals(codeString)) + return V3RoleCode.BF; + if ("BL".equals(codeString)) + return V3RoleCode.BL; + if ("BR".equals(codeString)) + return V3RoleCode.BR; + if ("CO".equals(codeString)) + return V3RoleCode.CO; + if ("DA".equals(codeString)) + return V3RoleCode.DA; + if ("DR".equals(codeString)) + return V3RoleCode.DR; + if ("DU".equals(codeString)) + return V3RoleCode.DU; + if ("FI".equals(codeString)) + return V3RoleCode.FI; + if ("LY".equals(codeString)) + return V3RoleCode.LY; + if ("MT".equals(codeString)) + return V3RoleCode.MT; + if ("MU".equals(codeString)) + return V3RoleCode.MU; + if ("PL".equals(codeString)) + return V3RoleCode.PL; + if ("RC".equals(codeString)) + return V3RoleCode.RC; + if ("SH".equals(codeString)) + return V3RoleCode.SH; + if ("VL".equals(codeString)) + return V3RoleCode.VL; + if ("WL".equals(codeString)) + return V3RoleCode.WL; + if ("WO".equals(codeString)) + return V3RoleCode.WO; + if ("_MedicationGeneralizationRoleType".equals(codeString)) + return V3RoleCode._MEDICATIONGENERALIZATIONROLETYPE; + if ("DC".equals(codeString)) + return V3RoleCode.DC; + if ("GD".equals(codeString)) + return V3RoleCode.GD; + if ("GDF".equals(codeString)) + return V3RoleCode.GDF; + if ("GDS".equals(codeString)) + return V3RoleCode.GDS; + if ("GDSF".equals(codeString)) + return V3RoleCode.GDSF; + if ("MGDSF".equals(codeString)) + return V3RoleCode.MGDSF; + if ("_MemberRoleType".equals(codeString)) + return V3RoleCode._MEMBERROLETYPE; + if ("TRB".equals(codeString)) + return V3RoleCode.TRB; + if ("_PersonalRelationshipRoleType".equals(codeString)) + return V3RoleCode._PERSONALRELATIONSHIPROLETYPE; + if ("FAMMEMB".equals(codeString)) + return V3RoleCode.FAMMEMB; + if ("CHILD".equals(codeString)) + return V3RoleCode.CHILD; + if ("CHLDADOPT".equals(codeString)) + return V3RoleCode.CHLDADOPT; + if ("DAUADOPT".equals(codeString)) + return V3RoleCode.DAUADOPT; + if ("SONADOPT".equals(codeString)) + return V3RoleCode.SONADOPT; + if ("CHLDFOST".equals(codeString)) + return V3RoleCode.CHLDFOST; + if ("DAUFOST".equals(codeString)) + return V3RoleCode.DAUFOST; + if ("SONFOST".equals(codeString)) + return V3RoleCode.SONFOST; + if ("DAUC".equals(codeString)) + return V3RoleCode.DAUC; + if ("DAU".equals(codeString)) + return V3RoleCode.DAU; + if ("STPDAU".equals(codeString)) + return V3RoleCode.STPDAU; + if ("NCHILD".equals(codeString)) + return V3RoleCode.NCHILD; + if ("SON".equals(codeString)) + return V3RoleCode.SON; + if ("SONC".equals(codeString)) + return V3RoleCode.SONC; + if ("STPSON".equals(codeString)) + return V3RoleCode.STPSON; + if ("STPCHLD".equals(codeString)) + return V3RoleCode.STPCHLD; + if ("EXT".equals(codeString)) + return V3RoleCode.EXT; + if ("AUNT".equals(codeString)) + return V3RoleCode.AUNT; + if ("MAUNT".equals(codeString)) + return V3RoleCode.MAUNT; + if ("PAUNT".equals(codeString)) + return V3RoleCode.PAUNT; + if ("COUSN".equals(codeString)) + return V3RoleCode.COUSN; + if ("MCOUSN".equals(codeString)) + return V3RoleCode.MCOUSN; + if ("PCOUSN".equals(codeString)) + return V3RoleCode.PCOUSN; + if ("GGRPRN".equals(codeString)) + return V3RoleCode.GGRPRN; + if ("GGRFTH".equals(codeString)) + return V3RoleCode.GGRFTH; + if ("MGGRFTH".equals(codeString)) + return V3RoleCode.MGGRFTH; + if ("PGGRFTH".equals(codeString)) + return V3RoleCode.PGGRFTH; + if ("GGRMTH".equals(codeString)) + return V3RoleCode.GGRMTH; + if ("MGGRMTH".equals(codeString)) + return V3RoleCode.MGGRMTH; + if ("PGGRMTH".equals(codeString)) + return V3RoleCode.PGGRMTH; + if ("MGGRPRN".equals(codeString)) + return V3RoleCode.MGGRPRN; + if ("PGGRPRN".equals(codeString)) + return V3RoleCode.PGGRPRN; + if ("GRNDCHILD".equals(codeString)) + return V3RoleCode.GRNDCHILD; + if ("GRNDDAU".equals(codeString)) + return V3RoleCode.GRNDDAU; + if ("GRNDSON".equals(codeString)) + return V3RoleCode.GRNDSON; + if ("GRPRN".equals(codeString)) + return V3RoleCode.GRPRN; + if ("GRFTH".equals(codeString)) + return V3RoleCode.GRFTH; + if ("MGRFTH".equals(codeString)) + return V3RoleCode.MGRFTH; + if ("PGRFTH".equals(codeString)) + return V3RoleCode.PGRFTH; + if ("GRMTH".equals(codeString)) + return V3RoleCode.GRMTH; + if ("MGRMTH".equals(codeString)) + return V3RoleCode.MGRMTH; + if ("PGRMTH".equals(codeString)) + return V3RoleCode.PGRMTH; + if ("MGRPRN".equals(codeString)) + return V3RoleCode.MGRPRN; + if ("PGRPRN".equals(codeString)) + return V3RoleCode.PGRPRN; + if ("INLAW".equals(codeString)) + return V3RoleCode.INLAW; + if ("CHLDINLAW".equals(codeString)) + return V3RoleCode.CHLDINLAW; + if ("DAUINLAW".equals(codeString)) + return V3RoleCode.DAUINLAW; + if ("SONINLAW".equals(codeString)) + return V3RoleCode.SONINLAW; + if ("PRNINLAW".equals(codeString)) + return V3RoleCode.PRNINLAW; + if ("FTHINLAW".equals(codeString)) + return V3RoleCode.FTHINLAW; + if ("MTHINLAW".equals(codeString)) + return V3RoleCode.MTHINLAW; + if ("SIBINLAW".equals(codeString)) + return V3RoleCode.SIBINLAW; + if ("BROINLAW".equals(codeString)) + return V3RoleCode.BROINLAW; + if ("SISINLAW".equals(codeString)) + return V3RoleCode.SISINLAW; + if ("NIENEPH".equals(codeString)) + return V3RoleCode.NIENEPH; + if ("NEPHEW".equals(codeString)) + return V3RoleCode.NEPHEW; + if ("NIECE".equals(codeString)) + return V3RoleCode.NIECE; + if ("UNCLE".equals(codeString)) + return V3RoleCode.UNCLE; + if ("MUNCLE".equals(codeString)) + return V3RoleCode.MUNCLE; + if ("PUNCLE".equals(codeString)) + return V3RoleCode.PUNCLE; + if ("PRN".equals(codeString)) + return V3RoleCode.PRN; + if ("ADOPTP".equals(codeString)) + return V3RoleCode.ADOPTP; + if ("ADOPTF".equals(codeString)) + return V3RoleCode.ADOPTF; + if ("ADOPTM".equals(codeString)) + return V3RoleCode.ADOPTM; + if ("FTH".equals(codeString)) + return V3RoleCode.FTH; + if ("FTHFOST".equals(codeString)) + return V3RoleCode.FTHFOST; + if ("NFTH".equals(codeString)) + return V3RoleCode.NFTH; + if ("NFTHF".equals(codeString)) + return V3RoleCode.NFTHF; + if ("STPFTH".equals(codeString)) + return V3RoleCode.STPFTH; + if ("MTH".equals(codeString)) + return V3RoleCode.MTH; + if ("GESTM".equals(codeString)) + return V3RoleCode.GESTM; + if ("MTHFOST".equals(codeString)) + return V3RoleCode.MTHFOST; + if ("NMTH".equals(codeString)) + return V3RoleCode.NMTH; + if ("NMTHF".equals(codeString)) + return V3RoleCode.NMTHF; + if ("STPMTH".equals(codeString)) + return V3RoleCode.STPMTH; + if ("NPRN".equals(codeString)) + return V3RoleCode.NPRN; + if ("PRNFOST".equals(codeString)) + return V3RoleCode.PRNFOST; + if ("STPPRN".equals(codeString)) + return V3RoleCode.STPPRN; + if ("SIB".equals(codeString)) + return V3RoleCode.SIB; + if ("BRO".equals(codeString)) + return V3RoleCode.BRO; + if ("HBRO".equals(codeString)) + return V3RoleCode.HBRO; + if ("NBRO".equals(codeString)) + return V3RoleCode.NBRO; + if ("TWINBRO".equals(codeString)) + return V3RoleCode.TWINBRO; + if ("FTWINBRO".equals(codeString)) + return V3RoleCode.FTWINBRO; + if ("ITWINBRO".equals(codeString)) + return V3RoleCode.ITWINBRO; + if ("STPBRO".equals(codeString)) + return V3RoleCode.STPBRO; + if ("HSIB".equals(codeString)) + return V3RoleCode.HSIB; + if ("HSIS".equals(codeString)) + return V3RoleCode.HSIS; + if ("NSIB".equals(codeString)) + return V3RoleCode.NSIB; + if ("NSIS".equals(codeString)) + return V3RoleCode.NSIS; + if ("TWINSIS".equals(codeString)) + return V3RoleCode.TWINSIS; + if ("FTWINSIS".equals(codeString)) + return V3RoleCode.FTWINSIS; + if ("ITWINSIS".equals(codeString)) + return V3RoleCode.ITWINSIS; + if ("TWIN".equals(codeString)) + return V3RoleCode.TWIN; + if ("FTWIN".equals(codeString)) + return V3RoleCode.FTWIN; + if ("ITWIN".equals(codeString)) + return V3RoleCode.ITWIN; + if ("SIS".equals(codeString)) + return V3RoleCode.SIS; + if ("STPSIS".equals(codeString)) + return V3RoleCode.STPSIS; + if ("STPSIB".equals(codeString)) + return V3RoleCode.STPSIB; + if ("SIGOTHR".equals(codeString)) + return V3RoleCode.SIGOTHR; + if ("DOMPART".equals(codeString)) + return V3RoleCode.DOMPART; + if ("FMRSPS".equals(codeString)) + return V3RoleCode.FMRSPS; + if ("SPS".equals(codeString)) + return V3RoleCode.SPS; + if ("HUSB".equals(codeString)) + return V3RoleCode.HUSB; + if ("WIFE".equals(codeString)) + return V3RoleCode.WIFE; + if ("FRND".equals(codeString)) + return V3RoleCode.FRND; + if ("NBOR".equals(codeString)) + return V3RoleCode.NBOR; + if ("ONESELF".equals(codeString)) + return V3RoleCode.ONESELF; + if ("ROOM".equals(codeString)) + return V3RoleCode.ROOM; + if ("_PolicyOrProgramCoverageRoleType".equals(codeString)) + return V3RoleCode._POLICYORPROGRAMCOVERAGEROLETYPE; + if ("_CoverageRoleType".equals(codeString)) + return V3RoleCode._COVERAGEROLETYPE; + if ("FAMDEP".equals(codeString)) + return V3RoleCode.FAMDEP; + if ("HANDIC".equals(codeString)) + return V3RoleCode.HANDIC; + if ("INJ".equals(codeString)) + return V3RoleCode.INJ; + if ("SELF".equals(codeString)) + return V3RoleCode.SELF; + if ("SPON".equals(codeString)) + return V3RoleCode.SPON; + if ("STUD".equals(codeString)) + return V3RoleCode.STUD; + if ("FSTUD".equals(codeString)) + return V3RoleCode.FSTUD; + if ("PSTUD".equals(codeString)) + return V3RoleCode.PSTUD; + if ("_CoveredPartyRoleType".equals(codeString)) + return V3RoleCode._COVEREDPARTYROLETYPE; + if ("_ClaimantCoveredPartyRoleType".equals(codeString)) + return V3RoleCode._CLAIMANTCOVEREDPARTYROLETYPE; + if ("CRIMEVIC".equals(codeString)) + return V3RoleCode.CRIMEVIC; + if ("INJWKR".equals(codeString)) + return V3RoleCode.INJWKR; + if ("_DependentCoveredPartyRoleType".equals(codeString)) + return V3RoleCode._DEPENDENTCOVEREDPARTYROLETYPE; + if ("COCBEN".equals(codeString)) + return V3RoleCode.COCBEN; + if ("DIFFABL".equals(codeString)) + return V3RoleCode.DIFFABL; + if ("WARD".equals(codeString)) + return V3RoleCode.WARD; + if ("_IndividualInsuredPartyRoleType".equals(codeString)) + return V3RoleCode._INDIVIDUALINSUREDPARTYROLETYPE; + if ("RETIREE".equals(codeString)) + return V3RoleCode.RETIREE; + if ("_ProgramEligiblePartyRoleType".equals(codeString)) + return V3RoleCode._PROGRAMELIGIBLEPARTYROLETYPE; + if ("INDIG".equals(codeString)) + return V3RoleCode.INDIG; + if ("MIL".equals(codeString)) + return V3RoleCode.MIL; + if ("ACTMIL".equals(codeString)) + return V3RoleCode.ACTMIL; + if ("RETMIL".equals(codeString)) + return V3RoleCode.RETMIL; + if ("VET".equals(codeString)) + return V3RoleCode.VET; + if ("_SubscriberCoveredPartyRoleType".equals(codeString)) + return V3RoleCode._SUBSCRIBERCOVEREDPARTYROLETYPE; + if ("_ResearchSubjectRoleBasis".equals(codeString)) + return V3RoleCode._RESEARCHSUBJECTROLEBASIS; + if ("ERL".equals(codeString)) + return V3RoleCode.ERL; + if ("SCN".equals(codeString)) + return V3RoleCode.SCN; + if ("_ServiceDeliveryLocationRoleType".equals(codeString)) + return V3RoleCode._SERVICEDELIVERYLOCATIONROLETYPE; + if ("_DedicatedServiceDeliveryLocationRoleType".equals(codeString)) + return V3RoleCode._DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE; + if ("_DedicatedClinicalLocationRoleType".equals(codeString)) + return V3RoleCode._DEDICATEDCLINICALLOCATIONROLETYPE; + if ("DX".equals(codeString)) + return V3RoleCode.DX; + if ("CVDX".equals(codeString)) + return V3RoleCode.CVDX; + if ("CATH".equals(codeString)) + return V3RoleCode.CATH; + if ("ECHO".equals(codeString)) + return V3RoleCode.ECHO; + if ("GIDX".equals(codeString)) + return V3RoleCode.GIDX; + if ("ENDOS".equals(codeString)) + return V3RoleCode.ENDOS; + if ("RADDX".equals(codeString)) + return V3RoleCode.RADDX; + if ("RADO".equals(codeString)) + return V3RoleCode.RADO; + if ("RNEU".equals(codeString)) + return V3RoleCode.RNEU; + if ("HOSP".equals(codeString)) + return V3RoleCode.HOSP; + if ("CHR".equals(codeString)) + return V3RoleCode.CHR; + if ("GACH".equals(codeString)) + return V3RoleCode.GACH; + if ("MHSP".equals(codeString)) + return V3RoleCode.MHSP; + if ("PSYCHF".equals(codeString)) + return V3RoleCode.PSYCHF; + if ("RH".equals(codeString)) + return V3RoleCode.RH; + if ("RHAT".equals(codeString)) + return V3RoleCode.RHAT; + if ("RHII".equals(codeString)) + return V3RoleCode.RHII; + if ("RHMAD".equals(codeString)) + return V3RoleCode.RHMAD; + if ("RHPI".equals(codeString)) + return V3RoleCode.RHPI; + if ("RHPIH".equals(codeString)) + return V3RoleCode.RHPIH; + if ("RHPIMS".equals(codeString)) + return V3RoleCode.RHPIMS; + if ("RHPIVS".equals(codeString)) + return V3RoleCode.RHPIVS; + if ("RHYAD".equals(codeString)) + return V3RoleCode.RHYAD; + if ("HU".equals(codeString)) + return V3RoleCode.HU; + if ("BMTU".equals(codeString)) + return V3RoleCode.BMTU; + if ("CCU".equals(codeString)) + return V3RoleCode.CCU; + if ("CHEST".equals(codeString)) + return V3RoleCode.CHEST; + if ("EPIL".equals(codeString)) + return V3RoleCode.EPIL; + if ("ER".equals(codeString)) + return V3RoleCode.ER; + if ("ETU".equals(codeString)) + return V3RoleCode.ETU; + if ("HD".equals(codeString)) + return V3RoleCode.HD; + if ("HLAB".equals(codeString)) + return V3RoleCode.HLAB; + if ("INLAB".equals(codeString)) + return V3RoleCode.INLAB; + if ("OUTLAB".equals(codeString)) + return V3RoleCode.OUTLAB; + if ("HRAD".equals(codeString)) + return V3RoleCode.HRAD; + if ("HUSCS".equals(codeString)) + return V3RoleCode.HUSCS; + if ("ICU".equals(codeString)) + return V3RoleCode.ICU; + if ("PEDICU".equals(codeString)) + return V3RoleCode.PEDICU; + if ("PEDNICU".equals(codeString)) + return V3RoleCode.PEDNICU; + if ("INPHARM".equals(codeString)) + return V3RoleCode.INPHARM; + if ("MBL".equals(codeString)) + return V3RoleCode.MBL; + if ("NCCS".equals(codeString)) + return V3RoleCode.NCCS; + if ("NS".equals(codeString)) + return V3RoleCode.NS; + if ("OUTPHARM".equals(codeString)) + return V3RoleCode.OUTPHARM; + if ("PEDU".equals(codeString)) + return V3RoleCode.PEDU; + if ("PHU".equals(codeString)) + return V3RoleCode.PHU; + if ("RHU".equals(codeString)) + return V3RoleCode.RHU; + if ("SLEEP".equals(codeString)) + return V3RoleCode.SLEEP; + if ("NCCF".equals(codeString)) + return V3RoleCode.NCCF; + if ("SNF".equals(codeString)) + return V3RoleCode.SNF; + if ("OF".equals(codeString)) + return V3RoleCode.OF; + if ("ALL".equals(codeString)) + return V3RoleCode.ALL; + if ("AMPUT".equals(codeString)) + return V3RoleCode.AMPUT; + if ("BMTC".equals(codeString)) + return V3RoleCode.BMTC; + if ("BREAST".equals(codeString)) + return V3RoleCode.BREAST; + if ("CANC".equals(codeString)) + return V3RoleCode.CANC; + if ("CAPC".equals(codeString)) + return V3RoleCode.CAPC; + if ("CARD".equals(codeString)) + return V3RoleCode.CARD; + if ("PEDCARD".equals(codeString)) + return V3RoleCode.PEDCARD; + if ("COAG".equals(codeString)) + return V3RoleCode.COAG; + if ("CRS".equals(codeString)) + return V3RoleCode.CRS; + if ("DERM".equals(codeString)) + return V3RoleCode.DERM; + if ("ENDO".equals(codeString)) + return V3RoleCode.ENDO; + if ("PEDE".equals(codeString)) + return V3RoleCode.PEDE; + if ("ENT".equals(codeString)) + return V3RoleCode.ENT; + if ("FMC".equals(codeString)) + return V3RoleCode.FMC; + if ("GI".equals(codeString)) + return V3RoleCode.GI; + if ("PEDGI".equals(codeString)) + return V3RoleCode.PEDGI; + if ("GIM".equals(codeString)) + return V3RoleCode.GIM; + if ("GYN".equals(codeString)) + return V3RoleCode.GYN; + if ("HEM".equals(codeString)) + return V3RoleCode.HEM; + if ("PEDHEM".equals(codeString)) + return V3RoleCode.PEDHEM; + if ("HTN".equals(codeString)) + return V3RoleCode.HTN; + if ("IEC".equals(codeString)) + return V3RoleCode.IEC; + if ("INFD".equals(codeString)) + return V3RoleCode.INFD; + if ("PEDID".equals(codeString)) + return V3RoleCode.PEDID; + if ("INV".equals(codeString)) + return V3RoleCode.INV; + if ("LYMPH".equals(codeString)) + return V3RoleCode.LYMPH; + if ("MGEN".equals(codeString)) + return V3RoleCode.MGEN; + if ("NEPH".equals(codeString)) + return V3RoleCode.NEPH; + if ("PEDNEPH".equals(codeString)) + return V3RoleCode.PEDNEPH; + if ("NEUR".equals(codeString)) + return V3RoleCode.NEUR; + if ("OB".equals(codeString)) + return V3RoleCode.OB; + if ("OMS".equals(codeString)) + return V3RoleCode.OMS; + if ("ONCL".equals(codeString)) + return V3RoleCode.ONCL; + if ("PEDHO".equals(codeString)) + return V3RoleCode.PEDHO; + if ("OPH".equals(codeString)) + return V3RoleCode.OPH; + if ("OPTC".equals(codeString)) + return V3RoleCode.OPTC; + if ("ORTHO".equals(codeString)) + return V3RoleCode.ORTHO; + if ("HAND".equals(codeString)) + return V3RoleCode.HAND; + if ("PAINCL".equals(codeString)) + return V3RoleCode.PAINCL; + if ("PC".equals(codeString)) + return V3RoleCode.PC; + if ("PEDC".equals(codeString)) + return V3RoleCode.PEDC; + if ("PEDRHEUM".equals(codeString)) + return V3RoleCode.PEDRHEUM; + if ("POD".equals(codeString)) + return V3RoleCode.POD; + if ("PREV".equals(codeString)) + return V3RoleCode.PREV; + if ("PROCTO".equals(codeString)) + return V3RoleCode.PROCTO; + if ("PROFF".equals(codeString)) + return V3RoleCode.PROFF; + if ("PROS".equals(codeString)) + return V3RoleCode.PROS; + if ("PSI".equals(codeString)) + return V3RoleCode.PSI; + if ("PSY".equals(codeString)) + return V3RoleCode.PSY; + if ("RHEUM".equals(codeString)) + return V3RoleCode.RHEUM; + if ("SPMED".equals(codeString)) + return V3RoleCode.SPMED; + if ("SU".equals(codeString)) + return V3RoleCode.SU; + if ("PLS".equals(codeString)) + return V3RoleCode.PLS; + if ("URO".equals(codeString)) + return V3RoleCode.URO; + if ("TR".equals(codeString)) + return V3RoleCode.TR; + if ("TRAVEL".equals(codeString)) + return V3RoleCode.TRAVEL; + if ("WND".equals(codeString)) + return V3RoleCode.WND; + if ("RTF".equals(codeString)) + return V3RoleCode.RTF; + if ("PRC".equals(codeString)) + return V3RoleCode.PRC; + if ("SURF".equals(codeString)) + return V3RoleCode.SURF; + if ("_DedicatedNonClinicalLocationRoleType".equals(codeString)) + return V3RoleCode._DEDICATEDNONCLINICALLOCATIONROLETYPE; + if ("DADDR".equals(codeString)) + return V3RoleCode.DADDR; + if ("MOBL".equals(codeString)) + return V3RoleCode.MOBL; + if ("AMB".equals(codeString)) + return V3RoleCode.AMB; + if ("PHARM".equals(codeString)) + return V3RoleCode.PHARM; + if ("_IncidentalServiceDeliveryLocationRoleType".equals(codeString)) + return V3RoleCode._INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE; + if ("ACC".equals(codeString)) + return V3RoleCode.ACC; + if ("COMM".equals(codeString)) + return V3RoleCode.COMM; + if ("CSC".equals(codeString)) + return V3RoleCode.CSC; + if ("PTRES".equals(codeString)) + return V3RoleCode.PTRES; + if ("SCHOOL".equals(codeString)) + return V3RoleCode.SCHOOL; + if ("UPC".equals(codeString)) + return V3RoleCode.UPC; + if ("WORK".equals(codeString)) + return V3RoleCode.WORK; + if ("_SpecimenRoleType".equals(codeString)) + return V3RoleCode._SPECIMENROLETYPE; + if ("C".equals(codeString)) + return V3RoleCode.C; + if ("G".equals(codeString)) + return V3RoleCode.G; + if ("L".equals(codeString)) + return V3RoleCode.L; + if ("P".equals(codeString)) + return V3RoleCode.P; + if ("Q".equals(codeString)) + return V3RoleCode.Q; + if ("B".equals(codeString)) + return V3RoleCode.B; + if ("E".equals(codeString)) + return V3RoleCode.E; + if ("F".equals(codeString)) + return V3RoleCode.F; + if ("O".equals(codeString)) + return V3RoleCode.O; + if ("V".equals(codeString)) + return V3RoleCode.V; + if ("R".equals(codeString)) + return V3RoleCode.R; + if ("CLAIM".equals(codeString)) + return V3RoleCode.CLAIM; + if ("communityLaboratory".equals(codeString)) + return V3RoleCode.COMMUNITYLABORATORY; + if ("GT".equals(codeString)) + return V3RoleCode.GT; + if ("homeHealth".equals(codeString)) + return V3RoleCode.HOMEHEALTH; + if ("laboratory".equals(codeString)) + return V3RoleCode.LABORATORY; + if ("pathologist".equals(codeString)) + return V3RoleCode.PATHOLOGIST; + if ("PH".equals(codeString)) + return V3RoleCode.PH; + if ("phlebotomist".equals(codeString)) + return V3RoleCode.PHLEBOTOMIST; + if ("PROG".equals(codeString)) + return V3RoleCode.PROG; + if ("PT".equals(codeString)) + return V3RoleCode.PT; + if ("subject".equals(codeString)) + return V3RoleCode.SUBJECT; + if ("thirdParty".equals(codeString)) + return V3RoleCode.THIRDPARTY; + throw new IllegalArgumentException("Unknown V3RoleCode code '"+codeString+"'"); + } + + public String toCode(V3RoleCode code) { + if (code == V3RoleCode._AFFILIATIONROLETYPE) + return "_AffiliationRoleType"; + if (code == V3RoleCode._COVERAGESPONSORROLETYPE) + return "_CoverageSponsorRoleType"; + if (code == V3RoleCode.FULLINS) + return "FULLINS"; + if (code == V3RoleCode.SELFINS) + return "SELFINS"; + if (code == V3RoleCode._PAYORROLETYPE) + return "_PayorRoleType"; + if (code == V3RoleCode.ENROLBKR) + return "ENROLBKR"; + if (code == V3RoleCode.TPA) + return "TPA"; + if (code == V3RoleCode.UMO) + return "UMO"; + if (code == V3RoleCode.RESPRSN) + return "RESPRSN"; + if (code == V3RoleCode.EXCEST) + return "EXCEST"; + if (code == V3RoleCode.GUADLTM) + return "GUADLTM"; + if (code == V3RoleCode.GUARD) + return "GUARD"; + if (code == V3RoleCode.POWATT) + return "POWATT"; + if (code == V3RoleCode.DPOWATT) + return "DPOWATT"; + if (code == V3RoleCode.HPOWATT) + return "HPOWATT"; + if (code == V3RoleCode.SPOWATT) + return "SPOWATT"; + if (code == V3RoleCode._ASSIGNEDROLETYPE) + return "_AssignedRoleType"; + if (code == V3RoleCode._ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE) + return "_AssignedNonPersonLivingSubjectRoleType"; + if (code == V3RoleCode.ASSIST) + return "ASSIST"; + if (code == V3RoleCode.BIOTH) + return "BIOTH"; + if (code == V3RoleCode.ANTIBIOT) + return "ANTIBIOT"; + if (code == V3RoleCode.DEBR) + return "DEBR"; + if (code == V3RoleCode.CCO) + return "CCO"; + if (code == V3RoleCode.SEE) + return "SEE"; + if (code == V3RoleCode.SNIFF) + return "SNIFF"; + if (code == V3RoleCode._CITIZENROLETYPE) + return "_CitizenRoleType"; + if (code == V3RoleCode.CAS) + return "CAS"; + if (code == V3RoleCode.CASM) + return "CASM"; + if (code == V3RoleCode.CN) + return "CN"; + if (code == V3RoleCode.CNRP) + return "CNRP"; + if (code == V3RoleCode.CNRPM) + return "CNRPM"; + if (code == V3RoleCode.CPCA) + return "CPCA"; + if (code == V3RoleCode.CRP) + return "CRP"; + if (code == V3RoleCode.CRPM) + return "CRPM"; + if (code == V3RoleCode._CONTACTROLETYPE) + return "_ContactRoleType"; + if (code == V3RoleCode._ADMINISTRATIVECONTACTROLETYPE) + return "_AdministrativeContactRoleType"; + if (code == V3RoleCode.BILL) + return "BILL"; + if (code == V3RoleCode.ORG) + return "ORG"; + if (code == V3RoleCode.PAYOR) + return "PAYOR"; + if (code == V3RoleCode.ECON) + return "ECON"; + if (code == V3RoleCode.NOK) + return "NOK"; + if (code == V3RoleCode._IDENTIFIEDENTITYTYPE) + return "_IdentifiedEntityType"; + if (code == V3RoleCode._LOCATIONIDENTIFIEDENTITYROLECODE) + return "_LocationIdentifiedEntityRoleCode"; + if (code == V3RoleCode.ACHFID) + return "ACHFID"; + if (code == V3RoleCode.JURID) + return "JURID"; + if (code == V3RoleCode.LOCHFID) + return "LOCHFID"; + if (code == V3RoleCode._LIVINGSUBJECTPRODUCTIONCLASS) + return "_LivingSubjectProductionClass"; + if (code == V3RoleCode.BF) + return "BF"; + if (code == V3RoleCode.BL) + return "BL"; + if (code == V3RoleCode.BR) + return "BR"; + if (code == V3RoleCode.CO) + return "CO"; + if (code == V3RoleCode.DA) + return "DA"; + if (code == V3RoleCode.DR) + return "DR"; + if (code == V3RoleCode.DU) + return "DU"; + if (code == V3RoleCode.FI) + return "FI"; + if (code == V3RoleCode.LY) + return "LY"; + if (code == V3RoleCode.MT) + return "MT"; + if (code == V3RoleCode.MU) + return "MU"; + if (code == V3RoleCode.PL) + return "PL"; + if (code == V3RoleCode.RC) + return "RC"; + if (code == V3RoleCode.SH) + return "SH"; + if (code == V3RoleCode.VL) + return "VL"; + if (code == V3RoleCode.WL) + return "WL"; + if (code == V3RoleCode.WO) + return "WO"; + if (code == V3RoleCode._MEDICATIONGENERALIZATIONROLETYPE) + return "_MedicationGeneralizationRoleType"; + if (code == V3RoleCode.DC) + return "DC"; + if (code == V3RoleCode.GD) + return "GD"; + if (code == V3RoleCode.GDF) + return "GDF"; + if (code == V3RoleCode.GDS) + return "GDS"; + if (code == V3RoleCode.GDSF) + return "GDSF"; + if (code == V3RoleCode.MGDSF) + return "MGDSF"; + if (code == V3RoleCode._MEMBERROLETYPE) + return "_MemberRoleType"; + if (code == V3RoleCode.TRB) + return "TRB"; + if (code == V3RoleCode._PERSONALRELATIONSHIPROLETYPE) + return "_PersonalRelationshipRoleType"; + if (code == V3RoleCode.FAMMEMB) + return "FAMMEMB"; + if (code == V3RoleCode.CHILD) + return "CHILD"; + if (code == V3RoleCode.CHLDADOPT) + return "CHLDADOPT"; + if (code == V3RoleCode.DAUADOPT) + return "DAUADOPT"; + if (code == V3RoleCode.SONADOPT) + return "SONADOPT"; + if (code == V3RoleCode.CHLDFOST) + return "CHLDFOST"; + if (code == V3RoleCode.DAUFOST) + return "DAUFOST"; + if (code == V3RoleCode.SONFOST) + return "SONFOST"; + if (code == V3RoleCode.DAUC) + return "DAUC"; + if (code == V3RoleCode.DAU) + return "DAU"; + if (code == V3RoleCode.STPDAU) + return "STPDAU"; + if (code == V3RoleCode.NCHILD) + return "NCHILD"; + if (code == V3RoleCode.SON) + return "SON"; + if (code == V3RoleCode.SONC) + return "SONC"; + if (code == V3RoleCode.STPSON) + return "STPSON"; + if (code == V3RoleCode.STPCHLD) + return "STPCHLD"; + if (code == V3RoleCode.EXT) + return "EXT"; + if (code == V3RoleCode.AUNT) + return "AUNT"; + if (code == V3RoleCode.MAUNT) + return "MAUNT"; + if (code == V3RoleCode.PAUNT) + return "PAUNT"; + if (code == V3RoleCode.COUSN) + return "COUSN"; + if (code == V3RoleCode.MCOUSN) + return "MCOUSN"; + if (code == V3RoleCode.PCOUSN) + return "PCOUSN"; + if (code == V3RoleCode.GGRPRN) + return "GGRPRN"; + if (code == V3RoleCode.GGRFTH) + return "GGRFTH"; + if (code == V3RoleCode.MGGRFTH) + return "MGGRFTH"; + if (code == V3RoleCode.PGGRFTH) + return "PGGRFTH"; + if (code == V3RoleCode.GGRMTH) + return "GGRMTH"; + if (code == V3RoleCode.MGGRMTH) + return "MGGRMTH"; + if (code == V3RoleCode.PGGRMTH) + return "PGGRMTH"; + if (code == V3RoleCode.MGGRPRN) + return "MGGRPRN"; + if (code == V3RoleCode.PGGRPRN) + return "PGGRPRN"; + if (code == V3RoleCode.GRNDCHILD) + return "GRNDCHILD"; + if (code == V3RoleCode.GRNDDAU) + return "GRNDDAU"; + if (code == V3RoleCode.GRNDSON) + return "GRNDSON"; + if (code == V3RoleCode.GRPRN) + return "GRPRN"; + if (code == V3RoleCode.GRFTH) + return "GRFTH"; + if (code == V3RoleCode.MGRFTH) + return "MGRFTH"; + if (code == V3RoleCode.PGRFTH) + return "PGRFTH"; + if (code == V3RoleCode.GRMTH) + return "GRMTH"; + if (code == V3RoleCode.MGRMTH) + return "MGRMTH"; + if (code == V3RoleCode.PGRMTH) + return "PGRMTH"; + if (code == V3RoleCode.MGRPRN) + return "MGRPRN"; + if (code == V3RoleCode.PGRPRN) + return "PGRPRN"; + if (code == V3RoleCode.INLAW) + return "INLAW"; + if (code == V3RoleCode.CHLDINLAW) + return "CHLDINLAW"; + if (code == V3RoleCode.DAUINLAW) + return "DAUINLAW"; + if (code == V3RoleCode.SONINLAW) + return "SONINLAW"; + if (code == V3RoleCode.PRNINLAW) + return "PRNINLAW"; + if (code == V3RoleCode.FTHINLAW) + return "FTHINLAW"; + if (code == V3RoleCode.MTHINLAW) + return "MTHINLAW"; + if (code == V3RoleCode.SIBINLAW) + return "SIBINLAW"; + if (code == V3RoleCode.BROINLAW) + return "BROINLAW"; + if (code == V3RoleCode.SISINLAW) + return "SISINLAW"; + if (code == V3RoleCode.NIENEPH) + return "NIENEPH"; + if (code == V3RoleCode.NEPHEW) + return "NEPHEW"; + if (code == V3RoleCode.NIECE) + return "NIECE"; + if (code == V3RoleCode.UNCLE) + return "UNCLE"; + if (code == V3RoleCode.MUNCLE) + return "MUNCLE"; + if (code == V3RoleCode.PUNCLE) + return "PUNCLE"; + if (code == V3RoleCode.PRN) + return "PRN"; + if (code == V3RoleCode.ADOPTP) + return "ADOPTP"; + if (code == V3RoleCode.ADOPTF) + return "ADOPTF"; + if (code == V3RoleCode.ADOPTM) + return "ADOPTM"; + if (code == V3RoleCode.FTH) + return "FTH"; + if (code == V3RoleCode.FTHFOST) + return "FTHFOST"; + if (code == V3RoleCode.NFTH) + return "NFTH"; + if (code == V3RoleCode.NFTHF) + return "NFTHF"; + if (code == V3RoleCode.STPFTH) + return "STPFTH"; + if (code == V3RoleCode.MTH) + return "MTH"; + if (code == V3RoleCode.GESTM) + return "GESTM"; + if (code == V3RoleCode.MTHFOST) + return "MTHFOST"; + if (code == V3RoleCode.NMTH) + return "NMTH"; + if (code == V3RoleCode.NMTHF) + return "NMTHF"; + if (code == V3RoleCode.STPMTH) + return "STPMTH"; + if (code == V3RoleCode.NPRN) + return "NPRN"; + if (code == V3RoleCode.PRNFOST) + return "PRNFOST"; + if (code == V3RoleCode.STPPRN) + return "STPPRN"; + if (code == V3RoleCode.SIB) + return "SIB"; + if (code == V3RoleCode.BRO) + return "BRO"; + if (code == V3RoleCode.HBRO) + return "HBRO"; + if (code == V3RoleCode.NBRO) + return "NBRO"; + if (code == V3RoleCode.TWINBRO) + return "TWINBRO"; + if (code == V3RoleCode.FTWINBRO) + return "FTWINBRO"; + if (code == V3RoleCode.ITWINBRO) + return "ITWINBRO"; + if (code == V3RoleCode.STPBRO) + return "STPBRO"; + if (code == V3RoleCode.HSIB) + return "HSIB"; + if (code == V3RoleCode.HSIS) + return "HSIS"; + if (code == V3RoleCode.NSIB) + return "NSIB"; + if (code == V3RoleCode.NSIS) + return "NSIS"; + if (code == V3RoleCode.TWINSIS) + return "TWINSIS"; + if (code == V3RoleCode.FTWINSIS) + return "FTWINSIS"; + if (code == V3RoleCode.ITWINSIS) + return "ITWINSIS"; + if (code == V3RoleCode.TWIN) + return "TWIN"; + if (code == V3RoleCode.FTWIN) + return "FTWIN"; + if (code == V3RoleCode.ITWIN) + return "ITWIN"; + if (code == V3RoleCode.SIS) + return "SIS"; + if (code == V3RoleCode.STPSIS) + return "STPSIS"; + if (code == V3RoleCode.STPSIB) + return "STPSIB"; + if (code == V3RoleCode.SIGOTHR) + return "SIGOTHR"; + if (code == V3RoleCode.DOMPART) + return "DOMPART"; + if (code == V3RoleCode.FMRSPS) + return "FMRSPS"; + if (code == V3RoleCode.SPS) + return "SPS"; + if (code == V3RoleCode.HUSB) + return "HUSB"; + if (code == V3RoleCode.WIFE) + return "WIFE"; + if (code == V3RoleCode.FRND) + return "FRND"; + if (code == V3RoleCode.NBOR) + return "NBOR"; + if (code == V3RoleCode.ONESELF) + return "ONESELF"; + if (code == V3RoleCode.ROOM) + return "ROOM"; + if (code == V3RoleCode._POLICYORPROGRAMCOVERAGEROLETYPE) + return "_PolicyOrProgramCoverageRoleType"; + if (code == V3RoleCode._COVERAGEROLETYPE) + return "_CoverageRoleType"; + if (code == V3RoleCode.FAMDEP) + return "FAMDEP"; + if (code == V3RoleCode.HANDIC) + return "HANDIC"; + if (code == V3RoleCode.INJ) + return "INJ"; + if (code == V3RoleCode.SELF) + return "SELF"; + if (code == V3RoleCode.SPON) + return "SPON"; + if (code == V3RoleCode.STUD) + return "STUD"; + if (code == V3RoleCode.FSTUD) + return "FSTUD"; + if (code == V3RoleCode.PSTUD) + return "PSTUD"; + if (code == V3RoleCode._COVEREDPARTYROLETYPE) + return "_CoveredPartyRoleType"; + if (code == V3RoleCode._CLAIMANTCOVEREDPARTYROLETYPE) + return "_ClaimantCoveredPartyRoleType"; + if (code == V3RoleCode.CRIMEVIC) + return "CRIMEVIC"; + if (code == V3RoleCode.INJWKR) + return "INJWKR"; + if (code == V3RoleCode._DEPENDENTCOVEREDPARTYROLETYPE) + return "_DependentCoveredPartyRoleType"; + if (code == V3RoleCode.COCBEN) + return "COCBEN"; + if (code == V3RoleCode.DIFFABL) + return "DIFFABL"; + if (code == V3RoleCode.WARD) + return "WARD"; + if (code == V3RoleCode._INDIVIDUALINSUREDPARTYROLETYPE) + return "_IndividualInsuredPartyRoleType"; + if (code == V3RoleCode.RETIREE) + return "RETIREE"; + if (code == V3RoleCode._PROGRAMELIGIBLEPARTYROLETYPE) + return "_ProgramEligiblePartyRoleType"; + if (code == V3RoleCode.INDIG) + return "INDIG"; + if (code == V3RoleCode.MIL) + return "MIL"; + if (code == V3RoleCode.ACTMIL) + return "ACTMIL"; + if (code == V3RoleCode.RETMIL) + return "RETMIL"; + if (code == V3RoleCode.VET) + return "VET"; + if (code == V3RoleCode._SUBSCRIBERCOVEREDPARTYROLETYPE) + return "_SubscriberCoveredPartyRoleType"; + if (code == V3RoleCode._RESEARCHSUBJECTROLEBASIS) + return "_ResearchSubjectRoleBasis"; + if (code == V3RoleCode.ERL) + return "ERL"; + if (code == V3RoleCode.SCN) + return "SCN"; + if (code == V3RoleCode._SERVICEDELIVERYLOCATIONROLETYPE) + return "_ServiceDeliveryLocationRoleType"; + if (code == V3RoleCode._DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE) + return "_DedicatedServiceDeliveryLocationRoleType"; + if (code == V3RoleCode._DEDICATEDCLINICALLOCATIONROLETYPE) + return "_DedicatedClinicalLocationRoleType"; + if (code == V3RoleCode.DX) + return "DX"; + if (code == V3RoleCode.CVDX) + return "CVDX"; + if (code == V3RoleCode.CATH) + return "CATH"; + if (code == V3RoleCode.ECHO) + return "ECHO"; + if (code == V3RoleCode.GIDX) + return "GIDX"; + if (code == V3RoleCode.ENDOS) + return "ENDOS"; + if (code == V3RoleCode.RADDX) + return "RADDX"; + if (code == V3RoleCode.RADO) + return "RADO"; + if (code == V3RoleCode.RNEU) + return "RNEU"; + if (code == V3RoleCode.HOSP) + return "HOSP"; + if (code == V3RoleCode.CHR) + return "CHR"; + if (code == V3RoleCode.GACH) + return "GACH"; + if (code == V3RoleCode.MHSP) + return "MHSP"; + if (code == V3RoleCode.PSYCHF) + return "PSYCHF"; + if (code == V3RoleCode.RH) + return "RH"; + if (code == V3RoleCode.RHAT) + return "RHAT"; + if (code == V3RoleCode.RHII) + return "RHII"; + if (code == V3RoleCode.RHMAD) + return "RHMAD"; + if (code == V3RoleCode.RHPI) + return "RHPI"; + if (code == V3RoleCode.RHPIH) + return "RHPIH"; + if (code == V3RoleCode.RHPIMS) + return "RHPIMS"; + if (code == V3RoleCode.RHPIVS) + return "RHPIVS"; + if (code == V3RoleCode.RHYAD) + return "RHYAD"; + if (code == V3RoleCode.HU) + return "HU"; + if (code == V3RoleCode.BMTU) + return "BMTU"; + if (code == V3RoleCode.CCU) + return "CCU"; + if (code == V3RoleCode.CHEST) + return "CHEST"; + if (code == V3RoleCode.EPIL) + return "EPIL"; + if (code == V3RoleCode.ER) + return "ER"; + if (code == V3RoleCode.ETU) + return "ETU"; + if (code == V3RoleCode.HD) + return "HD"; + if (code == V3RoleCode.HLAB) + return "HLAB"; + if (code == V3RoleCode.INLAB) + return "INLAB"; + if (code == V3RoleCode.OUTLAB) + return "OUTLAB"; + if (code == V3RoleCode.HRAD) + return "HRAD"; + if (code == V3RoleCode.HUSCS) + return "HUSCS"; + if (code == V3RoleCode.ICU) + return "ICU"; + if (code == V3RoleCode.PEDICU) + return "PEDICU"; + if (code == V3RoleCode.PEDNICU) + return "PEDNICU"; + if (code == V3RoleCode.INPHARM) + return "INPHARM"; + if (code == V3RoleCode.MBL) + return "MBL"; + if (code == V3RoleCode.NCCS) + return "NCCS"; + if (code == V3RoleCode.NS) + return "NS"; + if (code == V3RoleCode.OUTPHARM) + return "OUTPHARM"; + if (code == V3RoleCode.PEDU) + return "PEDU"; + if (code == V3RoleCode.PHU) + return "PHU"; + if (code == V3RoleCode.RHU) + return "RHU"; + if (code == V3RoleCode.SLEEP) + return "SLEEP"; + if (code == V3RoleCode.NCCF) + return "NCCF"; + if (code == V3RoleCode.SNF) + return "SNF"; + if (code == V3RoleCode.OF) + return "OF"; + if (code == V3RoleCode.ALL) + return "ALL"; + if (code == V3RoleCode.AMPUT) + return "AMPUT"; + if (code == V3RoleCode.BMTC) + return "BMTC"; + if (code == V3RoleCode.BREAST) + return "BREAST"; + if (code == V3RoleCode.CANC) + return "CANC"; + if (code == V3RoleCode.CAPC) + return "CAPC"; + if (code == V3RoleCode.CARD) + return "CARD"; + if (code == V3RoleCode.PEDCARD) + return "PEDCARD"; + if (code == V3RoleCode.COAG) + return "COAG"; + if (code == V3RoleCode.CRS) + return "CRS"; + if (code == V3RoleCode.DERM) + return "DERM"; + if (code == V3RoleCode.ENDO) + return "ENDO"; + if (code == V3RoleCode.PEDE) + return "PEDE"; + if (code == V3RoleCode.ENT) + return "ENT"; + if (code == V3RoleCode.FMC) + return "FMC"; + if (code == V3RoleCode.GI) + return "GI"; + if (code == V3RoleCode.PEDGI) + return "PEDGI"; + if (code == V3RoleCode.GIM) + return "GIM"; + if (code == V3RoleCode.GYN) + return "GYN"; + if (code == V3RoleCode.HEM) + return "HEM"; + if (code == V3RoleCode.PEDHEM) + return "PEDHEM"; + if (code == V3RoleCode.HTN) + return "HTN"; + if (code == V3RoleCode.IEC) + return "IEC"; + if (code == V3RoleCode.INFD) + return "INFD"; + if (code == V3RoleCode.PEDID) + return "PEDID"; + if (code == V3RoleCode.INV) + return "INV"; + if (code == V3RoleCode.LYMPH) + return "LYMPH"; + if (code == V3RoleCode.MGEN) + return "MGEN"; + if (code == V3RoleCode.NEPH) + return "NEPH"; + if (code == V3RoleCode.PEDNEPH) + return "PEDNEPH"; + if (code == V3RoleCode.NEUR) + return "NEUR"; + if (code == V3RoleCode.OB) + return "OB"; + if (code == V3RoleCode.OMS) + return "OMS"; + if (code == V3RoleCode.ONCL) + return "ONCL"; + if (code == V3RoleCode.PEDHO) + return "PEDHO"; + if (code == V3RoleCode.OPH) + return "OPH"; + if (code == V3RoleCode.OPTC) + return "OPTC"; + if (code == V3RoleCode.ORTHO) + return "ORTHO"; + if (code == V3RoleCode.HAND) + return "HAND"; + if (code == V3RoleCode.PAINCL) + return "PAINCL"; + if (code == V3RoleCode.PC) + return "PC"; + if (code == V3RoleCode.PEDC) + return "PEDC"; + if (code == V3RoleCode.PEDRHEUM) + return "PEDRHEUM"; + if (code == V3RoleCode.POD) + return "POD"; + if (code == V3RoleCode.PREV) + return "PREV"; + if (code == V3RoleCode.PROCTO) + return "PROCTO"; + if (code == V3RoleCode.PROFF) + return "PROFF"; + if (code == V3RoleCode.PROS) + return "PROS"; + if (code == V3RoleCode.PSI) + return "PSI"; + if (code == V3RoleCode.PSY) + return "PSY"; + if (code == V3RoleCode.RHEUM) + return "RHEUM"; + if (code == V3RoleCode.SPMED) + return "SPMED"; + if (code == V3RoleCode.SU) + return "SU"; + if (code == V3RoleCode.PLS) + return "PLS"; + if (code == V3RoleCode.URO) + return "URO"; + if (code == V3RoleCode.TR) + return "TR"; + if (code == V3RoleCode.TRAVEL) + return "TRAVEL"; + if (code == V3RoleCode.WND) + return "WND"; + if (code == V3RoleCode.RTF) + return "RTF"; + if (code == V3RoleCode.PRC) + return "PRC"; + if (code == V3RoleCode.SURF) + return "SURF"; + if (code == V3RoleCode._DEDICATEDNONCLINICALLOCATIONROLETYPE) + return "_DedicatedNonClinicalLocationRoleType"; + if (code == V3RoleCode.DADDR) + return "DADDR"; + if (code == V3RoleCode.MOBL) + return "MOBL"; + if (code == V3RoleCode.AMB) + return "AMB"; + if (code == V3RoleCode.PHARM) + return "PHARM"; + if (code == V3RoleCode._INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE) + return "_IncidentalServiceDeliveryLocationRoleType"; + if (code == V3RoleCode.ACC) + return "ACC"; + if (code == V3RoleCode.COMM) + return "COMM"; + if (code == V3RoleCode.CSC) + return "CSC"; + if (code == V3RoleCode.PTRES) + return "PTRES"; + if (code == V3RoleCode.SCHOOL) + return "SCHOOL"; + if (code == V3RoleCode.UPC) + return "UPC"; + if (code == V3RoleCode.WORK) + return "WORK"; + if (code == V3RoleCode._SPECIMENROLETYPE) + return "_SpecimenRoleType"; + if (code == V3RoleCode.C) + return "C"; + if (code == V3RoleCode.G) + return "G"; + if (code == V3RoleCode.L) + return "L"; + if (code == V3RoleCode.P) + return "P"; + if (code == V3RoleCode.Q) + return "Q"; + if (code == V3RoleCode.B) + return "B"; + if (code == V3RoleCode.E) + return "E"; + if (code == V3RoleCode.F) + return "F"; + if (code == V3RoleCode.O) + return "O"; + if (code == V3RoleCode.V) + return "V"; + if (code == V3RoleCode.R) + return "R"; + if (code == V3RoleCode.CLAIM) + return "CLAIM"; + if (code == V3RoleCode.COMMUNITYLABORATORY) + return "communityLaboratory"; + if (code == V3RoleCode.GT) + return "GT"; + if (code == V3RoleCode.HOMEHEALTH) + return "homeHealth"; + if (code == V3RoleCode.LABORATORY) + return "laboratory"; + if (code == V3RoleCode.PATHOLOGIST) + return "pathologist"; + if (code == V3RoleCode.PH) + return "PH"; + if (code == V3RoleCode.PHLEBOTOMIST) + return "phlebotomist"; + if (code == V3RoleCode.PROG) + return "PROG"; + if (code == V3RoleCode.PT) + return "PT"; + if (code == V3RoleCode.SUBJECT) + return "subject"; + if (code == V3RoleCode.THIRDPARTY) + return "thirdParty"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatus.java new file mode 100644 index 00000000000..868ef647651 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatus.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RoleLinkStatus { + + /** + * Description: The 'typical' state. Excludes "nullified" which represents the termination state of a RoleLink instance that was created in error. + */ + NORMAL, + /** + * Description: The state indicates the RoleLink is in progress. + */ + ACTIVE, + /** + * Description: The terminal state resulting from abandoning the RoleLink prior to or after activation. + */ + CANCELLED, + /** + * Description: The terminal state representing the successful completion of the RoleLink. + */ + COMPLETED, + /** + * Description: The state indicates the RoleLink has not yet become active. + */ + PENDING, + /** + * Description: The state representing the termination of a RoleLink instance that was created in error. + */ + NULLIFIED, + /** + * added to help the parsers + */ + NULL; + public static V3RoleLinkStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("NORMAL".equals(codeString)) + return NORMAL; + if ("ACTIVE".equals(codeString)) + return ACTIVE; + if ("CANCELLED".equals(codeString)) + return CANCELLED; + if ("COMPLETED".equals(codeString)) + return COMPLETED; + if ("PENDING".equals(codeString)) + return PENDING; + if ("NULLIFIED".equals(codeString)) + return NULLIFIED; + throw new Exception("Unknown V3RoleLinkStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NORMAL: return "NORMAL"; + case ACTIVE: return "ACTIVE"; + case CANCELLED: return "CANCELLED"; + case COMPLETED: return "COMPLETED"; + case PENDING: return "PENDING"; + case NULLIFIED: return "NULLIFIED"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RoleLinkStatus"; + } + public String getDefinition() { + switch (this) { + case NORMAL: return "Description: The 'typical' state. Excludes 'nullified' which represents the termination state of a RoleLink instance that was created in error."; + case ACTIVE: return "Description: The state indicates the RoleLink is in progress."; + case CANCELLED: return "Description: The terminal state resulting from abandoning the RoleLink prior to or after activation."; + case COMPLETED: return "Description: The terminal state representing the successful completion of the RoleLink."; + case PENDING: return "Description: The state indicates the RoleLink has not yet become active."; + case NULLIFIED: return "Description: The state representing the termination of a RoleLink instance that was created in error."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case COMPLETED: return "completed"; + case PENDING: return "pending"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatusEnumFactory.java new file mode 100644 index 00000000000..718b50def7b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkStatusEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RoleLinkStatusEnumFactory implements EnumFactory { + + public V3RoleLinkStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("NORMAL".equals(codeString)) + return V3RoleLinkStatus.NORMAL; + if ("ACTIVE".equals(codeString)) + return V3RoleLinkStatus.ACTIVE; + if ("CANCELLED".equals(codeString)) + return V3RoleLinkStatus.CANCELLED; + if ("COMPLETED".equals(codeString)) + return V3RoleLinkStatus.COMPLETED; + if ("PENDING".equals(codeString)) + return V3RoleLinkStatus.PENDING; + if ("NULLIFIED".equals(codeString)) + return V3RoleLinkStatus.NULLIFIED; + throw new IllegalArgumentException("Unknown V3RoleLinkStatus code '"+codeString+"'"); + } + + public String toCode(V3RoleLinkStatus code) { + if (code == V3RoleLinkStatus.NORMAL) + return "NORMAL"; + if (code == V3RoleLinkStatus.ACTIVE) + return "ACTIVE"; + if (code == V3RoleLinkStatus.CANCELLED) + return "CANCELLED"; + if (code == V3RoleLinkStatus.COMPLETED) + return "COMPLETED"; + if (code == V3RoleLinkStatus.PENDING) + return "PENDING"; + if (code == V3RoleLinkStatus.NULLIFIED) + return "NULLIFIED"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkType.java new file mode 100644 index 00000000000..96996c74083 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkType.java @@ -0,0 +1,141 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RoleLinkType { + + /** + * An action taken with respect to a subject Entity by a regulatory or authoritative body with supervisory capacity over that entity. The action is taken in response to behavior by the subject Entity that body finds to be undesirable. + + Suspension, license restrictions, monetary fine, letter of reprimand, mandated training, mandated supervision, etc.Examples: + */ + REL, + /** + * This relationship indicates the source Role is available to the target Role as a backup. An entity in a backup role will be available as a substitute or replacement in the event that the entity assigned the role is unavailable. In medical roles where it is critical that the function be performed and there is a possibility that the individual assigned may be ill or otherwise indisposed, another individual is assigned to cover for the individual originally assigned the role. A backup may be required to be identified, but unless the backup is actually used, he/she would not assume the assigned entity role. + */ + BACKUP, + /** + * This relationship indicates the target Role provides or receives information regarding the target role. For example, AssignedEntity is a contact for a ServiceDeliveryLocation. + */ + CONT, + /** + * The source Role has direct authority over the target role in a chain of authority. + */ + DIRAUTH, + /** + * Description: The source role provides identification for the target role. The source role must be IDENT. The player entity of the source role is constrained to be the same as (i.e. the equivalent of, or equal to) the player of the target role if present. If the player is absent from the source role, then it is assumed to be the same as the player of the target role. + */ + IDENT, + /** + * The source Role has indirect authority over the target role in a chain of authority. + */ + INDAUTH, + /** + * The target Role is part of the Source Role. + */ + PART, + /** + * This relationship indicates that the source Role replaces (or subsumes) the target Role. Allows for new identifiers and/or new effective time for a registry entry or a certification, etc. + */ + REPL, + /** + * added to help the parsers + */ + NULL; + public static V3RoleLinkType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("REL".equals(codeString)) + return REL; + if ("BACKUP".equals(codeString)) + return BACKUP; + if ("CONT".equals(codeString)) + return CONT; + if ("DIRAUTH".equals(codeString)) + return DIRAUTH; + if ("IDENT".equals(codeString)) + return IDENT; + if ("INDAUTH".equals(codeString)) + return INDAUTH; + if ("PART".equals(codeString)) + return PART; + if ("REPL".equals(codeString)) + return REPL; + throw new Exception("Unknown V3RoleLinkType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case REL: return "REL"; + case BACKUP: return "BACKUP"; + case CONT: return "CONT"; + case DIRAUTH: return "DIRAUTH"; + case IDENT: return "IDENT"; + case INDAUTH: return "INDAUTH"; + case PART: return "PART"; + case REPL: return "REPL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RoleLinkType"; + } + public String getDefinition() { + switch (this) { + case REL: return "An action taken with respect to a subject Entity by a regulatory or authoritative body with supervisory capacity over that entity. The action is taken in response to behavior by the subject Entity that body finds to be undesirable.\r\n\n Suspension, license restrictions, monetary fine, letter of reprimand, mandated training, mandated supervision, etc.Examples:"; + case BACKUP: return "This relationship indicates the source Role is available to the target Role as a backup. An entity in a backup role will be available as a substitute or replacement in the event that the entity assigned the role is unavailable. In medical roles where it is critical that the function be performed and there is a possibility that the individual assigned may be ill or otherwise indisposed, another individual is assigned to cover for the individual originally assigned the role. A backup may be required to be identified, but unless the backup is actually used, he/she would not assume the assigned entity role."; + case CONT: return "This relationship indicates the target Role provides or receives information regarding the target role. For example, AssignedEntity is a contact for a ServiceDeliveryLocation."; + case DIRAUTH: return "The source Role has direct authority over the target role in a chain of authority."; + case IDENT: return "Description: The source role provides identification for the target role. The source role must be IDENT. The player entity of the source role is constrained to be the same as (i.e. the equivalent of, or equal to) the player of the target role if present. If the player is absent from the source role, then it is assumed to be the same as the player of the target role."; + case INDAUTH: return "The source Role has indirect authority over the target role in a chain of authority."; + case PART: return "The target Role is part of the Source Role."; + case REPL: return "This relationship indicates that the source Role replaces (or subsumes) the target Role. Allows for new identifiers and/or new effective time for a registry entry or a certification, etc."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case REL: return "related"; + case BACKUP: return "is backup for"; + case CONT: return "has contact"; + case DIRAUTH: return "has direct authority over"; + case IDENT: return "Identification"; + case INDAUTH: return "has indirect authority over"; + case PART: return "has part"; + case REPL: return "replaces"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkTypeEnumFactory.java new file mode 100644 index 00000000000..57e94950258 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleLinkTypeEnumFactory.java @@ -0,0 +1,83 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RoleLinkTypeEnumFactory implements EnumFactory { + + public V3RoleLinkType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("REL".equals(codeString)) + return V3RoleLinkType.REL; + if ("BACKUP".equals(codeString)) + return V3RoleLinkType.BACKUP; + if ("CONT".equals(codeString)) + return V3RoleLinkType.CONT; + if ("DIRAUTH".equals(codeString)) + return V3RoleLinkType.DIRAUTH; + if ("IDENT".equals(codeString)) + return V3RoleLinkType.IDENT; + if ("INDAUTH".equals(codeString)) + return V3RoleLinkType.INDAUTH; + if ("PART".equals(codeString)) + return V3RoleLinkType.PART; + if ("REPL".equals(codeString)) + return V3RoleLinkType.REPL; + throw new IllegalArgumentException("Unknown V3RoleLinkType code '"+codeString+"'"); + } + + public String toCode(V3RoleLinkType code) { + if (code == V3RoleLinkType.REL) + return "REL"; + if (code == V3RoleLinkType.BACKUP) + return "BACKUP"; + if (code == V3RoleLinkType.CONT) + return "CONT"; + if (code == V3RoleLinkType.DIRAUTH) + return "DIRAUTH"; + if (code == V3RoleLinkType.IDENT) + return "IDENT"; + if (code == V3RoleLinkType.INDAUTH) + return "INDAUTH"; + if (code == V3RoleLinkType.PART) + return "PART"; + if (code == V3RoleLinkType.REPL) + return "REPL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatus.java new file mode 100644 index 00000000000..7e8bd9d9dfd --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatus.java @@ -0,0 +1,130 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RoleStatus { + + /** + * The 'typical' state. Excludes "nullified" which represents the termination state of a Role instance that was created in error. + */ + NORMAL, + /** + * The state representing the fact that the Entity is currently active in the Role. + */ + ACTIVE, + /** + * The terminal state resulting from cancellation of the role prior to activation. + */ + CANCELLED, + /** + * The state representing that fact that the role has not yet become active. + */ + PENDING, + /** + * The state that represents a suspension of the Entity playing the Role. This state is arrived at from the "active" state. + */ + SUSPENDED, + /** + * The state representing the successful termination of the Role. + */ + TERMINATED, + /** + * The state representing the termination of a Role instance that was created in error. + */ + NULLIFIED, + /** + * added to help the parsers + */ + NULL; + public static V3RoleStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return NORMAL; + if ("active".equals(codeString)) + return ACTIVE; + if ("cancelled".equals(codeString)) + return CANCELLED; + if ("pending".equals(codeString)) + return PENDING; + if ("suspended".equals(codeString)) + return SUSPENDED; + if ("terminated".equals(codeString)) + return TERMINATED; + if ("nullified".equals(codeString)) + return NULLIFIED; + throw new Exception("Unknown V3RoleStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case PENDING: return "pending"; + case SUSPENDED: return "suspended"; + case TERMINATED: return "terminated"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RoleStatus"; + } + public String getDefinition() { + switch (this) { + case NORMAL: return "The 'typical' state. Excludes 'nullified' which represents the termination state of a Role instance that was created in error."; + case ACTIVE: return "The state representing the fact that the Entity is currently active in the Role."; + case CANCELLED: return "The terminal state resulting from cancellation of the role prior to activation."; + case PENDING: return "The state representing that fact that the role has not yet become active."; + case SUSPENDED: return "The state that represents a suspension of the Entity playing the Role. This state is arrived at from the 'active' state."; + case TERMINATED: return "The state representing the successful termination of the Role."; + case NULLIFIED: return "The state representing the termination of a Role instance that was created in error."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case NORMAL: return "normal"; + case ACTIVE: return "active"; + case CANCELLED: return "cancelled"; + case PENDING: return "pending"; + case SUSPENDED: return "suspended"; + case TERMINATED: return "terminated"; + case NULLIFIED: return "nullified"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatusEnumFactory.java new file mode 100644 index 00000000000..788a8591f68 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RoleStatusEnumFactory.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RoleStatusEnumFactory implements EnumFactory { + + public V3RoleStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("normal".equals(codeString)) + return V3RoleStatus.NORMAL; + if ("active".equals(codeString)) + return V3RoleStatus.ACTIVE; + if ("cancelled".equals(codeString)) + return V3RoleStatus.CANCELLED; + if ("pending".equals(codeString)) + return V3RoleStatus.PENDING; + if ("suspended".equals(codeString)) + return V3RoleStatus.SUSPENDED; + if ("terminated".equals(codeString)) + return V3RoleStatus.TERMINATED; + if ("nullified".equals(codeString)) + return V3RoleStatus.NULLIFIED; + throw new IllegalArgumentException("Unknown V3RoleStatus code '"+codeString+"'"); + } + + public String toCode(V3RoleStatus code) { + if (code == V3RoleStatus.NORMAL) + return "normal"; + if (code == V3RoleStatus.ACTIVE) + return "active"; + if (code == V3RoleStatus.CANCELLED) + return "cancelled"; + if (code == V3RoleStatus.PENDING) + return "pending"; + if (code == V3RoleStatus.SUSPENDED) + return "suspended"; + if (code == V3RoleStatus.TERMINATED) + return "terminated"; + if (code == V3RoleStatus.NULLIFIED) + return "nullified"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministration.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministration.java new file mode 100644 index 00000000000..437fd1adcf2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministration.java @@ -0,0 +1,3541 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3RouteOfAdministration { + + /** + * Route of substance administration classified by administration method. + */ + _ROUTEBYMETHOD, + /** + * Immersion (soak) + */ + SOAK, + /** + * Shampoo + */ + SHAMPOO, + /** + * Translingual + */ + TRNSLING, + /** + * Swallow, oral + */ + PO, + /** + * Gargle + */ + GARGLE, + /** + * Suck, oromucosal + */ + SUCK, + /** + * Chew + */ + _CHEW, + /** + * Chew, oral + */ + CHEW, + /** + * Diffusion + */ + _DIFFUSION, + /** + * Diffusion, extracorporeal + */ + EXTCORPDIF, + /** + * Diffusion, hemodialysis + */ + HEMODIFF, + /** + * Diffusion, transdermal + */ + TRNSDERMD, + /** + * Dissolve + */ + _DISSOLVE, + /** + * Dissolve, oral + */ + DISSOLVE, + /** + * Dissolve, sublingual + */ + SL, + /** + * Douche + */ + _DOUCHE, + /** + * Douche, vaginal + */ + DOUCHE, + /** + * Electro-osmosis + */ + _ELECTROOSMOSISROUTE, + /** + * Electro-osmosis + */ + ELECTOSMOS, + /** + * Enema + */ + _ENEMA, + /** + * Enema, rectal + */ + ENEMA, + /** + * Enema, rectal retention + */ + RETENEMA, + /** + * Flush + */ + _FLUSH, + /** + * Flush, intravenous catheter + */ + IVFLUSH, + /** + * Implantation + */ + _IMPLANTATION, + /** + * Implantation, intradermal + */ + IDIMPLNT, + /** + * Implantation, intravitreal + */ + IVITIMPLNT, + /** + * Implantation, subcutaneous + */ + SQIMPLNT, + /** + * Infusion + */ + _INFUSION, + /** + * Infusion, epidural + */ + EPI, + /** + * Infusion, intraarterial catheter + */ + IA, + /** + * Infusion, intracardiac + */ + IC, + /** + * Infusion, intracoronary + */ + ICOR, + /** + * Infusion, intraosseous, continuous + */ + IOSSC, + /** + * Infusion, intrathecal + */ + IT, + /** + * Infusion, intravenous + */ + IV, + /** + * Infusion, intravenous catheter + */ + IVC, + /** + * Infusion, intravenous catheter, continuous + */ + IVCC, + /** + * Infusion, intravenous catheter, intermittent + */ + IVCI, + /** + * Infusion, intravenous catheter, pca pump + */ + PCA, + /** + * Infusion, intravascular + */ + IVASCINFUS, + /** + * Infusion, subcutaneous + */ + SQINFUS, + /** + * Inhalation + */ + _INHALATION, + /** + * Inhalation, oral + */ + IPINHL, + /** + * Inhalation, oral intermittent flow + */ + ORIFINHL, + /** + * Inhalation, oral rebreather mask + */ + REBREATH, + /** + * Inhalation, intermittent positive pressure breathing (ippb) + */ + IPPB, + /** + * Inhalation, nasal + */ + NASINHL, + /** + * Inhalation, nasal, prongs + */ + NASINHLC, + /** + * Inhalation, nebulization + */ + NEB, + /** + * Inhalation, nebulization, nasal + */ + NASNEB, + /** + * Inhalation, nebulization, oral + */ + ORNEB, + /** + * Inhalation, tracheostomy + */ + TRACH, + /** + * Inhalation, ventilator + */ + VENT, + /** + * Inhalation, ventimask + */ + VENTMASK, + /** + * Injection + */ + _INJECTION, + /** + * Injection, amniotic fluid + */ + AMNINJ, + /** + * Injection, biliary tract + */ + BILINJ, + /** + * Injection, for cholangiography + */ + CHOLINJ, + /** + * Injection, cervical + */ + CERVINJ, + /** + * Injection, epidural + */ + EPIDURINJ, + /** + * Injection, epidural, push + */ + EPIINJ, + /** + * Injection, epidural, slow push + */ + EPINJSP, + /** + * Injection, extra-amniotic + */ + EXTRAMNINJ, + /** + * Injection, extracorporeal + */ + EXTCORPINJ, + /** + * Injection, gastric button + */ + GBINJ, + /** + * Injection, gingival + */ + GINGINJ, + /** + * Injection, urinary bladder + */ + BLADINJ, + /** + * Injection, endosinusial + */ + ENDOSININJ, + /** + * Injection, hemodialysis port + */ + HEMOPORT, + /** + * Injection, intra-abdominal + */ + IABDINJ, + /** + * Injection, intraarterial + */ + IAINJ, + /** + * Injection, intraarterial, push + */ + IAINJP, + /** + * Injection, intraarterial, slow push + */ + IAINJSP, + /** + * Injection, intraarticular + */ + IARTINJ, + /** + * Injection, intrabursal + */ + IBURSINJ, + /** + * Injection, intracardiac + */ + ICARDINJ, + /** + * Injection, intracardiac, rapid push + */ + ICARDINJRP, + /** + * Injection, intracardiac, slow push + */ + ICARDINJSP, + /** + * Injection, intracardiac, push + */ + ICARINJP, + /** + * Injection, intracartilaginous + */ + ICARTINJ, + /** + * Injection, intracaudal + */ + ICAUDINJ, + /** + * Injection, intracavernous + */ + ICAVINJ, + /** + * Injection, intracavitary + */ + ICAVITINJ, + /** + * Injection, intracerebral + */ + ICEREBINJ, + /** + * Injection, intracisternal + */ + ICISTERNINJ, + /** + * Injection, intracoronary + */ + ICORONINJ, + /** + * Injection, intracoronary, push + */ + ICORONINJP, + /** + * Injection, intracorpus cavernosum + */ + ICORPCAVINJ, + /** + * Injection, intradermal + */ + IDINJ, + /** + * Injection, intradiscal + */ + IDISCINJ, + /** + * Injection, intraductal + */ + IDUCTINJ, + /** + * Injection, intradural + */ + IDURINJ, + /** + * Injection, intraepidermal + */ + IEPIDINJ, + /** + * Injection, intraepithelial + */ + IEPITHINJ, + /** + * Injection, intralesional + */ + ILESINJ, + /** + * Injection, intraluminal + */ + ILUMINJ, + /** + * Injection, intralymphatic + */ + ILYMPJINJ, + /** + * Injection, intramuscular + */ + IM, + /** + * Injection, intramuscular, deep + */ + IMD, + /** + * Injection, intramuscular, z track + */ + IMZ, + /** + * Injection, intramedullary + */ + IMEDULINJ, + /** + * Injection, interameningeal + */ + INTERMENINJ, + /** + * Injection, interstitial + */ + INTERSTITINJ, + /** + * Injection, intraocular + */ + IOINJ, + /** + * Injection, intraosseous + */ + IOSSINJ, + /** + * Injection, intraovarian + */ + IOVARINJ, + /** + * Injection, intrapericardial + */ + IPCARDINJ, + /** + * Injection, intraperitoneal + */ + IPERINJ, + /** + * Injection, intrapulmonary + */ + IPINJ, + /** + * Injection, intrapleural + */ + IPLRINJ, + /** + * Injection, intraprostatic + */ + IPROSTINJ, + /** + * Injection, insulin pump + */ + IPUMPINJ, + /** + * Injection, intraspinal + */ + ISINJ, + /** + * Injection, intrasternal + */ + ISTERINJ, + /** + * Injection, intrasynovial + */ + ISYNINJ, + /** + * Injection, intratendinous + */ + ITENDINJ, + /** + * Injection, intratesticular + */ + ITESTINJ, + /** + * Injection, intrathoracic + */ + ITHORINJ, + /** + * Injection, intrathecal + */ + ITINJ, + /** + * Injection, intratubular + */ + ITUBINJ, + /** + * Injection, intratumor + */ + ITUMINJ, + /** + * Injection, intratympanic + */ + ITYMPINJ, + /** + * Injection, intracervical (uterus) + */ + IUINJ, + /** + * Injection, intracervical (uterus) + */ + IUINJC, + /** + * Injection, intraureteral, retrograde + */ + IURETINJ, + /** + * Injection, intravascular + */ + IVASCINJ, + /** + * Injection, intraventricular (heart) + */ + IVENTINJ, + /** + * Injection, intravesicle + */ + IVESINJ, + /** + * Injection, intravenous + */ + IVINJ, + /** + * Injection, intravenous, bolus + */ + IVINJBOL, + /** + * Injection, intravenous, push + */ + IVPUSH, + /** + * Injection, intravenous, rapid push + */ + IVRPUSH, + /** + * Injection, intravenous, slow push + */ + IVSPUSH, + /** + * Injection, intravitreal + */ + IVITINJ, + /** + * Injection, periarticular + */ + PAINJ, + /** + * Injection, parenteral + */ + PARENTINJ, + /** + * Injection, periodontal + */ + PDONTINJ, + /** + * Injection, peritoneal dialysis port + */ + PDPINJ, + /** + * Injection, peridural + */ + PDURINJ, + /** + * Injection, perineural + */ + PNINJ, + /** + * Injection, paranasal sinuses + */ + PNSINJ, + /** + * Injection, retrobulbar + */ + RBINJ, + /** + * Injection, subconjunctival + */ + SCINJ, + /** + * Injection, sublesional + */ + SLESINJ, + /** + * Injection, soft tissue + */ + SOFTISINJ, + /** + * Injection, subcutaneous + */ + SQ, + /** + * Injection, subarachnoid + */ + SUBARACHINJ, + /** + * Injection, submucosal + */ + SUBMUCINJ, + /** + * Injection, transplacental + */ + TRPLACINJ, + /** + * Injection, transtracheal + */ + TRTRACHINJ, + /** + * Injection, urethral + */ + URETHINJ, + /** + * Injection, ureteral + */ + URETINJ, + /** + * Insertion + */ + _INSERTION, + /** + * Insertion, cervical (uterine) + */ + CERVINS, + /** + * Insertion, intraocular, surgical + */ + IOSURGINS, + /** + * Insertion, intrauterine + */ + IU, + /** + * Insertion, lacrimal puncta + */ + LPINS, + /** + * Insertion, rectal + */ + PR, + /** + * Insertion, subcutaneous, surgical + */ + SQSURGINS, + /** + * Insertion, urethral + */ + URETHINS, + /** + * Insertion, vaginal + */ + VAGINSI, + /** + * Instillation + */ + _INSTILLATION, + /** + * Instillation, cecostomy + */ + CECINSTL, + /** + * Instillation, enteral feeding tube + */ + EFT, + /** + * Instillation, enteral + */ + ENTINSTL, + /** + * Instillation, gastrostomy tube + */ + GT, + /** + * Instillation, nasogastric tube + */ + NGT, + /** + * Instillation, orogastric tube + */ + OGT, + /** + * Instillation, urinary catheter + */ + BLADINSTL, + /** + * Instillation, continuous ambulatory peritoneal dialysis port + */ + CAPDINSTL, + /** + * Instillation, chest tube + */ + CTINSTL, + /** + * Instillation, endotracheal tube + */ + ETINSTL, + /** + * Instillation, gastro-jejunostomy tube + */ + GJT, + /** + * Instillation, intrabronchial + */ + IBRONCHINSTIL, + /** + * Instillation, intraduodenal + */ + IDUODINSTIL, + /** + * Instillation, intraesophageal + */ + IESOPHINSTIL, + /** + * Instillation, intragastric + */ + IGASTINSTIL, + /** + * Instillation, intraileal + */ + IILEALINJ, + /** + * Instillation, intraocular + */ + IOINSTL, + /** + * Instillation, intrasinal + */ + ISININSTIL, + /** + * Instillation, intratracheal + */ + ITRACHINSTIL, + /** + * Instillation, intrauterine + */ + IUINSTL, + /** + * Instillation, jejunostomy tube + */ + JJTINSTL, + /** + * Instillation, laryngeal + */ + LARYNGINSTIL, + /** + * Instillation, nasal + */ + NASALINSTIL, + /** + * Instillation, nasogastric + */ + NASOGASINSTIL, + /** + * Instillation, nasotracheal tube + */ + NTT, + /** + * Instillation, orojejunum tube + */ + OJJ, + /** + * Instillation, otic + */ + OT, + /** + * Instillation, peritoneal dialysis port + */ + PDPINSTL, + /** + * Instillation, paranasal sinuses + */ + PNSINSTL, + /** + * Instillation, rectal + */ + RECINSTL, + /** + * Instillation, rectal tube + */ + RECTINSTL, + /** + * Instillation, sinus, unspecified + */ + SININSTIL, + /** + * Instillation, soft tissue + */ + SOFTISINSTIL, + /** + * Instillation, tracheostomy + */ + TRACHINSTL, + /** + * Instillation, transtympanic + */ + TRTYMPINSTIL, + /** + * Instillation, urethral + */ + URETHINSTL, + /** + * Iontophoresis + */ + _IONTOPHORESISROUTE, + /** + * Topical application, iontophoresis + */ + IONTO, + /** + * Irrigation + */ + _IRRIGATION, + /** + * Irrigation, genitourinary + */ + GUIRR, + /** + * Irrigation, intragastric + */ + IGASTIRR, + /** + * Irrigation, intralesional + */ + ILESIRR, + /** + * Irrigation, intraocular + */ + IOIRR, + /** + * Irrigation, urinary bladder + */ + BLADIRR, + /** + * Irrigation, urinary bladder, continuous + */ + BLADIRRC, + /** + * Irrigation, urinary bladder, tidal + */ + BLADIRRT, + /** + * Irrigation, rectal + */ + RECIRR, + /** + * Lavage + */ + _LAVAGEROUTE, + /** + * Lavage, intragastric + */ + IGASTLAV, + /** + * Mucosal absorption + */ + _MUCOSALABSORPTIONROUTE, + /** + * Mucosal absorption, intraduodenal + */ + IDOUDMAB, + /** + * Mucosal absorption, intratracheal + */ + ITRACHMAB, + /** + * Mucosal absorption, submucosal + */ + SMUCMAB, + /** + * Nebulization + */ + _NEBULIZATION, + /** + * Nebulization, endotracheal tube + */ + ETNEB, + /** + * Rinse + */ + _RINSE, + /** + * Rinse, dental + */ + DENRINSE, + /** + * Rinse, oral + */ + ORRINSE, + /** + * Suppository + */ + _SUPPOSITORYROUTE, + /** + * Suppository, urethral + */ + URETHSUP, + /** + * Swish + */ + _SWISH, + /** + * Swish and spit out, oromucosal + */ + SWISHSPIT, + /** + * Swish and swallow, oromucosal + */ + SWISHSWAL, + /** + * Topical absorption + */ + _TOPICALABSORPTIONROUTE, + /** + * Topical absorption, transtympanic + */ + TTYMPTABSORP, + /** + * Topical application + */ + _TOPICALAPPLICATION, + /** + * Topical application, soaked dressing + */ + DRESS, + /** + * Topical application, swab + */ + SWAB, + /** + * Topical + */ + TOPICAL, + /** + * Topical application, buccal + */ + BUC, + /** + * Topical application, cervical + */ + CERV, + /** + * Topical application, dental + */ + DEN, + /** + * Topical application, gingival + */ + GIN, + /** + * Topical application, hair + */ + HAIR, + /** + * Topical application, intracorneal + */ + ICORNTA, + /** + * Topical application, intracoronal (dental) + */ + ICORONTA, + /** + * Topical application, intraesophageal + */ + IESOPHTA, + /** + * Topical application, intraileal + */ + IILEALTA, + /** + * Topical application, intralesional + */ + ILTOP, + /** + * Topical application, intraluminal + */ + ILUMTA, + /** + * Topical application, intraocular + */ + IOTOP, + /** + * Topical application, laryngeal + */ + LARYNGTA, + /** + * Topical application, mucous membrane + */ + MUC, + /** + * Topical application, nail + */ + NAIL, + /** + * Topical application, nasal + */ + NASAL, + /** + * Topical application, ophthalmic + */ + OPTHALTA, + /** + * Topical application, oral + */ + ORALTA, + /** + * Topical application, oromucosal + */ + ORMUC, + /** + * Topical application, oropharyngeal + */ + OROPHARTA, + /** + * Topical application, perianal + */ + PERIANAL, + /** + * Topical application, perineal + */ + PERINEAL, + /** + * Topical application, periodontal + */ + PDONTTA, + /** + * Topical application, rectal + */ + RECTAL, + /** + * Topical application, scalp + */ + SCALP, + /** + * Occlusive dressing technique + */ + OCDRESTA, + /** + * Topical application, skin + */ + SKIN, + /** + * Subconjunctival + */ + SUBCONJTA, + /** + * Topical application, transmucosal + */ + TMUCTA, + /** + * Insertion, vaginal + */ + VAGINS, + /** + * Insufflation + */ + INSUF, + /** + * Transdermal + */ + TRNSDERM, + /** + * Route of substance administration classified by site. + */ + _ROUTEBYSITE, + /** + * Amniotic fluid sac + */ + _AMNIOTICFLUIDSACROUTE, + /** + * Biliary tract + */ + _BILIARYROUTE, + /** + * Body surface + */ + _BODYSURFACEROUTE, + /** + * Buccal mucosa + */ + _BUCCALMUCOSAROUTE, + /** + * Cecostomy + */ + _CECOSTOMYROUTE, + /** + * Cervix of the uterus + */ + _CERVICALROUTE, + /** + * Endocervical + */ + _ENDOCERVICALROUTE, + /** + * Enteral + */ + _ENTERALROUTE, + /** + * Epidural + */ + _EPIDURALROUTE, + /** + * Extra-amniotic + */ + _EXTRAAMNIOTICROUTE, + /** + * Extracorporeal circulation + */ + _EXTRACORPOREALCIRCULATIONROUTE, + /** + * Gastric + */ + _GASTRICROUTE, + /** + * Genitourinary + */ + _GENITOURINARYROUTE, + /** + * Gingival + */ + _GINGIVALROUTE, + /** + * Hair + */ + _HAIRROUTE, + /** + * Interameningeal + */ + _INTERAMENINGEALROUTE, + /** + * Interstitial + */ + _INTERSTITIALROUTE, + /** + * Intra-abdominal + */ + _INTRAABDOMINALROUTE, + /** + * Intra-arterial + */ + _INTRAARTERIALROUTE, + /** + * Intraarticular + */ + _INTRAARTICULARROUTE, + /** + * Intrabronchial + */ + _INTRABRONCHIALROUTE, + /** + * Intrabursal + */ + _INTRABURSALROUTE, + /** + * Intracardiac + */ + _INTRACARDIACROUTE, + /** + * Intracartilaginous + */ + _INTRACARTILAGINOUSROUTE, + /** + * Intracaudal + */ + _INTRACAUDALROUTE, + /** + * Intracavernosal + */ + _INTRACAVERNOSALROUTE, + /** + * Intracavitary + */ + _INTRACAVITARYROUTE, + /** + * Intracerebral + */ + _INTRACEREBRALROUTE, + /** + * Intracervical + */ + _INTRACERVICALROUTE, + /** + * Intracisternal + */ + _INTRACISTERNALROUTE, + /** + * Intracorneal + */ + _INTRACORNEALROUTE, + /** + * Intracoronal (dental) + */ + _INTRACORONALROUTE, + /** + * Intracoronary + */ + _INTRACORONARYROUTE, + /** + * Intracorpus cavernosum + */ + _INTRACORPUSCAVERNOSUMROUTE, + /** + * Intradermal + */ + _INTRADERMALROUTE, + /** + * Intradiscal + */ + _INTRADISCALROUTE, + /** + * Intraductal + */ + _INTRADUCTALROUTE, + /** + * Intraduodenal + */ + _INTRADUODENALROUTE, + /** + * Intradural + */ + _INTRADURALROUTE, + /** + * Intraepidermal + */ + _INTRAEPIDERMALROUTE, + /** + * Intraepithelial + */ + _INTRAEPITHELIALROUTE, + /** + * Intraesophageal + */ + _INTRAESOPHAGEALROUTE, + /** + * Intragastric + */ + _INTRAGASTRICROUTE, + /** + * Intraileal + */ + _INTRAILEALROUTE, + /** + * Intralesional + */ + _INTRALESIONALROUTE, + /** + * Intraluminal + */ + _INTRALUMINALROUTE, + /** + * Intralymphatic + */ + _INTRALYMPHATICROUTE, + /** + * Intramedullary + */ + _INTRAMEDULLARYROUTE, + /** + * Intramuscular + */ + _INTRAMUSCULARROUTE, + /** + * Intraocular + */ + _INTRAOCULARROUTE, + /** + * Intraosseous + */ + _INTRAOSSEOUSROUTE, + /** + * Intraovarian + */ + _INTRAOVARIANROUTE, + /** + * Intrapericardial + */ + _INTRAPERICARDIALROUTE, + /** + * Intraperitoneal + */ + _INTRAPERITONEALROUTE, + /** + * Intrapleural + */ + _INTRAPLEURALROUTE, + /** + * Intraprostatic + */ + _INTRAPROSTATICROUTE, + /** + * Intrapulmonary + */ + _INTRAPULMONARYROUTE, + /** + * Intrasinal + */ + _INTRASINALROUTE, + /** + * Intraspinal + */ + _INTRASPINALROUTE, + /** + * Intrasternal + */ + _INTRASTERNALROUTE, + /** + * Intrasynovial + */ + _INTRASYNOVIALROUTE, + /** + * Intratendinous + */ + _INTRATENDINOUSROUTE, + /** + * Intratesticular + */ + _INTRATESTICULARROUTE, + /** + * Intrathecal + */ + _INTRATHECALROUTE, + /** + * Intrathoracic + */ + _INTRATHORACICROUTE, + /** + * Intratracheal + */ + _INTRATRACHEALROUTE, + /** + * Intratubular + */ + _INTRATUBULARROUTE, + /** + * Intratumor + */ + _INTRATUMORROUTE, + /** + * Intratympanic + */ + _INTRATYMPANICROUTE, + /** + * Intrauterine + */ + _INTRAUTERINEROUTE, + /** + * Intravascular + */ + _INTRAVASCULARROUTE, + /** + * Intravenous + */ + _INTRAVENOUSROUTE, + /** + * Intraventricular + */ + _INTRAVENTRICULARROUTE, + /** + * Intravesicle + */ + _INTRAVESICLEROUTE, + /** + * Intravitreal + */ + _INTRAVITREALROUTE, + /** + * Jejunum + */ + _JEJUNUMROUTE, + /** + * Lacrimal puncta + */ + _LACRIMALPUNCTAROUTE, + /** + * Laryngeal + */ + _LARYNGEALROUTE, + /** + * Lingual + */ + _LINGUALROUTE, + /** + * Mucous membrane + */ + _MUCOUSMEMBRANEROUTE, + /** + * Nail + */ + _NAILROUTE, + /** + * Nasal + */ + _NASALROUTE, + /** + * Ophthalmic + */ + _OPHTHALMICROUTE, + /** + * Oral + */ + _ORALROUTE, + /** + * Oromucosal + */ + _OROMUCOSALROUTE, + /** + * Oropharyngeal + */ + _OROPHARYNGEALROUTE, + /** + * Otic + */ + _OTICROUTE, + /** + * Paranasal sinuses + */ + _PARANASALSINUSESROUTE, + /** + * Parenteral + */ + _PARENTERALROUTE, + /** + * Perianal + */ + _PERIANALROUTE, + /** + * Periarticular + */ + _PERIARTICULARROUTE, + /** + * Peridural + */ + _PERIDURALROUTE, + /** + * Perineal + */ + _PERINEALROUTE, + /** + * Perineural + */ + _PERINEURALROUTE, + /** + * Periodontal + */ + _PERIODONTALROUTE, + /** + * Pulmonary + */ + _PULMONARYROUTE, + /** + * Rectal + */ + _RECTALROUTE, + /** + * Respiratory tract + */ + _RESPIRATORYTRACTROUTE, + /** + * Retrobulbar + */ + _RETROBULBARROUTE, + /** + * Scalp + */ + _SCALPROUTE, + /** + * Sinus, unspecified + */ + _SINUSUNSPECIFIEDROUTE, + /** + * Skin + */ + _SKINROUTE, + /** + * Soft tissue + */ + _SOFTTISSUEROUTE, + /** + * Subarachnoid + */ + _SUBARACHNOIDROUTE, + /** + * Subconjunctival + */ + _SUBCONJUNCTIVALROUTE, + /** + * Subcutaneous + */ + _SUBCUTANEOUSROUTE, + /** + * Sublesional + */ + _SUBLESIONALROUTE, + /** + * Sublingual + */ + _SUBLINGUALROUTE, + /** + * Submucosal + */ + _SUBMUCOSALROUTE, + /** + * Tracheostomy + */ + _TRACHEOSTOMYROUTE, + /** + * Transmucosal + */ + _TRANSMUCOSALROUTE, + /** + * Transplacental + */ + _TRANSPLACENTALROUTE, + /** + * Transtracheal + */ + _TRANSTRACHEALROUTE, + /** + * Transtympanic + */ + _TRANSTYMPANICROUTE, + /** + * Ureteral + */ + _URETERALROUTE, + /** + * Urethral + */ + _URETHRALROUTE, + /** + * Urinary bladder + */ + _URINARYBLADDERROUTE, + /** + * Urinary tract + */ + _URINARYTRACTROUTE, + /** + * Vaginal + */ + _VAGINALROUTE, + /** + * Vitreous humour + */ + _VITREOUSHUMOURROUTE, + /** + * added to help the parsers + */ + NULL; + public static V3RouteOfAdministration fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_RouteByMethod".equals(codeString)) + return _ROUTEBYMETHOD; + if ("SOAK".equals(codeString)) + return SOAK; + if ("SHAMPOO".equals(codeString)) + return SHAMPOO; + if ("TRNSLING".equals(codeString)) + return TRNSLING; + if ("PO".equals(codeString)) + return PO; + if ("GARGLE".equals(codeString)) + return GARGLE; + if ("SUCK".equals(codeString)) + return SUCK; + if ("_Chew".equals(codeString)) + return _CHEW; + if ("CHEW".equals(codeString)) + return CHEW; + if ("_Diffusion".equals(codeString)) + return _DIFFUSION; + if ("EXTCORPDIF".equals(codeString)) + return EXTCORPDIF; + if ("HEMODIFF".equals(codeString)) + return HEMODIFF; + if ("TRNSDERMD".equals(codeString)) + return TRNSDERMD; + if ("_Dissolve".equals(codeString)) + return _DISSOLVE; + if ("DISSOLVE".equals(codeString)) + return DISSOLVE; + if ("SL".equals(codeString)) + return SL; + if ("_Douche".equals(codeString)) + return _DOUCHE; + if ("DOUCHE".equals(codeString)) + return DOUCHE; + if ("_ElectroOsmosisRoute".equals(codeString)) + return _ELECTROOSMOSISROUTE; + if ("ELECTOSMOS".equals(codeString)) + return ELECTOSMOS; + if ("_Enema".equals(codeString)) + return _ENEMA; + if ("ENEMA".equals(codeString)) + return ENEMA; + if ("RETENEMA".equals(codeString)) + return RETENEMA; + if ("_Flush".equals(codeString)) + return _FLUSH; + if ("IVFLUSH".equals(codeString)) + return IVFLUSH; + if ("_Implantation".equals(codeString)) + return _IMPLANTATION; + if ("IDIMPLNT".equals(codeString)) + return IDIMPLNT; + if ("IVITIMPLNT".equals(codeString)) + return IVITIMPLNT; + if ("SQIMPLNT".equals(codeString)) + return SQIMPLNT; + if ("_Infusion".equals(codeString)) + return _INFUSION; + if ("EPI".equals(codeString)) + return EPI; + if ("IA".equals(codeString)) + return IA; + if ("IC".equals(codeString)) + return IC; + if ("ICOR".equals(codeString)) + return ICOR; + if ("IOSSC".equals(codeString)) + return IOSSC; + if ("IT".equals(codeString)) + return IT; + if ("IV".equals(codeString)) + return IV; + if ("IVC".equals(codeString)) + return IVC; + if ("IVCC".equals(codeString)) + return IVCC; + if ("IVCI".equals(codeString)) + return IVCI; + if ("PCA".equals(codeString)) + return PCA; + if ("IVASCINFUS".equals(codeString)) + return IVASCINFUS; + if ("SQINFUS".equals(codeString)) + return SQINFUS; + if ("_Inhalation".equals(codeString)) + return _INHALATION; + if ("IPINHL".equals(codeString)) + return IPINHL; + if ("ORIFINHL".equals(codeString)) + return ORIFINHL; + if ("REBREATH".equals(codeString)) + return REBREATH; + if ("IPPB".equals(codeString)) + return IPPB; + if ("NASINHL".equals(codeString)) + return NASINHL; + if ("NASINHLC".equals(codeString)) + return NASINHLC; + if ("NEB".equals(codeString)) + return NEB; + if ("NASNEB".equals(codeString)) + return NASNEB; + if ("ORNEB".equals(codeString)) + return ORNEB; + if ("TRACH".equals(codeString)) + return TRACH; + if ("VENT".equals(codeString)) + return VENT; + if ("VENTMASK".equals(codeString)) + return VENTMASK; + if ("_Injection".equals(codeString)) + return _INJECTION; + if ("AMNINJ".equals(codeString)) + return AMNINJ; + if ("BILINJ".equals(codeString)) + return BILINJ; + if ("CHOLINJ".equals(codeString)) + return CHOLINJ; + if ("CERVINJ".equals(codeString)) + return CERVINJ; + if ("EPIDURINJ".equals(codeString)) + return EPIDURINJ; + if ("EPIINJ".equals(codeString)) + return EPIINJ; + if ("EPINJSP".equals(codeString)) + return EPINJSP; + if ("EXTRAMNINJ".equals(codeString)) + return EXTRAMNINJ; + if ("EXTCORPINJ".equals(codeString)) + return EXTCORPINJ; + if ("GBINJ".equals(codeString)) + return GBINJ; + if ("GINGINJ".equals(codeString)) + return GINGINJ; + if ("BLADINJ".equals(codeString)) + return BLADINJ; + if ("ENDOSININJ".equals(codeString)) + return ENDOSININJ; + if ("HEMOPORT".equals(codeString)) + return HEMOPORT; + if ("IABDINJ".equals(codeString)) + return IABDINJ; + if ("IAINJ".equals(codeString)) + return IAINJ; + if ("IAINJP".equals(codeString)) + return IAINJP; + if ("IAINJSP".equals(codeString)) + return IAINJSP; + if ("IARTINJ".equals(codeString)) + return IARTINJ; + if ("IBURSINJ".equals(codeString)) + return IBURSINJ; + if ("ICARDINJ".equals(codeString)) + return ICARDINJ; + if ("ICARDINJRP".equals(codeString)) + return ICARDINJRP; + if ("ICARDINJSP".equals(codeString)) + return ICARDINJSP; + if ("ICARINJP".equals(codeString)) + return ICARINJP; + if ("ICARTINJ".equals(codeString)) + return ICARTINJ; + if ("ICAUDINJ".equals(codeString)) + return ICAUDINJ; + if ("ICAVINJ".equals(codeString)) + return ICAVINJ; + if ("ICAVITINJ".equals(codeString)) + return ICAVITINJ; + if ("ICEREBINJ".equals(codeString)) + return ICEREBINJ; + if ("ICISTERNINJ".equals(codeString)) + return ICISTERNINJ; + if ("ICORONINJ".equals(codeString)) + return ICORONINJ; + if ("ICORONINJP".equals(codeString)) + return ICORONINJP; + if ("ICORPCAVINJ".equals(codeString)) + return ICORPCAVINJ; + if ("IDINJ".equals(codeString)) + return IDINJ; + if ("IDISCINJ".equals(codeString)) + return IDISCINJ; + if ("IDUCTINJ".equals(codeString)) + return IDUCTINJ; + if ("IDURINJ".equals(codeString)) + return IDURINJ; + if ("IEPIDINJ".equals(codeString)) + return IEPIDINJ; + if ("IEPITHINJ".equals(codeString)) + return IEPITHINJ; + if ("ILESINJ".equals(codeString)) + return ILESINJ; + if ("ILUMINJ".equals(codeString)) + return ILUMINJ; + if ("ILYMPJINJ".equals(codeString)) + return ILYMPJINJ; + if ("IM".equals(codeString)) + return IM; + if ("IMD".equals(codeString)) + return IMD; + if ("IMZ".equals(codeString)) + return IMZ; + if ("IMEDULINJ".equals(codeString)) + return IMEDULINJ; + if ("INTERMENINJ".equals(codeString)) + return INTERMENINJ; + if ("INTERSTITINJ".equals(codeString)) + return INTERSTITINJ; + if ("IOINJ".equals(codeString)) + return IOINJ; + if ("IOSSINJ".equals(codeString)) + return IOSSINJ; + if ("IOVARINJ".equals(codeString)) + return IOVARINJ; + if ("IPCARDINJ".equals(codeString)) + return IPCARDINJ; + if ("IPERINJ".equals(codeString)) + return IPERINJ; + if ("IPINJ".equals(codeString)) + return IPINJ; + if ("IPLRINJ".equals(codeString)) + return IPLRINJ; + if ("IPROSTINJ".equals(codeString)) + return IPROSTINJ; + if ("IPUMPINJ".equals(codeString)) + return IPUMPINJ; + if ("ISINJ".equals(codeString)) + return ISINJ; + if ("ISTERINJ".equals(codeString)) + return ISTERINJ; + if ("ISYNINJ".equals(codeString)) + return ISYNINJ; + if ("ITENDINJ".equals(codeString)) + return ITENDINJ; + if ("ITESTINJ".equals(codeString)) + return ITESTINJ; + if ("ITHORINJ".equals(codeString)) + return ITHORINJ; + if ("ITINJ".equals(codeString)) + return ITINJ; + if ("ITUBINJ".equals(codeString)) + return ITUBINJ; + if ("ITUMINJ".equals(codeString)) + return ITUMINJ; + if ("ITYMPINJ".equals(codeString)) + return ITYMPINJ; + if ("IUINJ".equals(codeString)) + return IUINJ; + if ("IUINJC".equals(codeString)) + return IUINJC; + if ("IURETINJ".equals(codeString)) + return IURETINJ; + if ("IVASCINJ".equals(codeString)) + return IVASCINJ; + if ("IVENTINJ".equals(codeString)) + return IVENTINJ; + if ("IVESINJ".equals(codeString)) + return IVESINJ; + if ("IVINJ".equals(codeString)) + return IVINJ; + if ("IVINJBOL".equals(codeString)) + return IVINJBOL; + if ("IVPUSH".equals(codeString)) + return IVPUSH; + if ("IVRPUSH".equals(codeString)) + return IVRPUSH; + if ("IVSPUSH".equals(codeString)) + return IVSPUSH; + if ("IVITINJ".equals(codeString)) + return IVITINJ; + if ("PAINJ".equals(codeString)) + return PAINJ; + if ("PARENTINJ".equals(codeString)) + return PARENTINJ; + if ("PDONTINJ".equals(codeString)) + return PDONTINJ; + if ("PDPINJ".equals(codeString)) + return PDPINJ; + if ("PDURINJ".equals(codeString)) + return PDURINJ; + if ("PNINJ".equals(codeString)) + return PNINJ; + if ("PNSINJ".equals(codeString)) + return PNSINJ; + if ("RBINJ".equals(codeString)) + return RBINJ; + if ("SCINJ".equals(codeString)) + return SCINJ; + if ("SLESINJ".equals(codeString)) + return SLESINJ; + if ("SOFTISINJ".equals(codeString)) + return SOFTISINJ; + if ("SQ".equals(codeString)) + return SQ; + if ("SUBARACHINJ".equals(codeString)) + return SUBARACHINJ; + if ("SUBMUCINJ".equals(codeString)) + return SUBMUCINJ; + if ("TRPLACINJ".equals(codeString)) + return TRPLACINJ; + if ("TRTRACHINJ".equals(codeString)) + return TRTRACHINJ; + if ("URETHINJ".equals(codeString)) + return URETHINJ; + if ("URETINJ".equals(codeString)) + return URETINJ; + if ("_Insertion".equals(codeString)) + return _INSERTION; + if ("CERVINS".equals(codeString)) + return CERVINS; + if ("IOSURGINS".equals(codeString)) + return IOSURGINS; + if ("IU".equals(codeString)) + return IU; + if ("LPINS".equals(codeString)) + return LPINS; + if ("PR".equals(codeString)) + return PR; + if ("SQSURGINS".equals(codeString)) + return SQSURGINS; + if ("URETHINS".equals(codeString)) + return URETHINS; + if ("VAGINSI".equals(codeString)) + return VAGINSI; + if ("_Instillation".equals(codeString)) + return _INSTILLATION; + if ("CECINSTL".equals(codeString)) + return CECINSTL; + if ("EFT".equals(codeString)) + return EFT; + if ("ENTINSTL".equals(codeString)) + return ENTINSTL; + if ("GT".equals(codeString)) + return GT; + if ("NGT".equals(codeString)) + return NGT; + if ("OGT".equals(codeString)) + return OGT; + if ("BLADINSTL".equals(codeString)) + return BLADINSTL; + if ("CAPDINSTL".equals(codeString)) + return CAPDINSTL; + if ("CTINSTL".equals(codeString)) + return CTINSTL; + if ("ETINSTL".equals(codeString)) + return ETINSTL; + if ("GJT".equals(codeString)) + return GJT; + if ("IBRONCHINSTIL".equals(codeString)) + return IBRONCHINSTIL; + if ("IDUODINSTIL".equals(codeString)) + return IDUODINSTIL; + if ("IESOPHINSTIL".equals(codeString)) + return IESOPHINSTIL; + if ("IGASTINSTIL".equals(codeString)) + return IGASTINSTIL; + if ("IILEALINJ".equals(codeString)) + return IILEALINJ; + if ("IOINSTL".equals(codeString)) + return IOINSTL; + if ("ISININSTIL".equals(codeString)) + return ISININSTIL; + if ("ITRACHINSTIL".equals(codeString)) + return ITRACHINSTIL; + if ("IUINSTL".equals(codeString)) + return IUINSTL; + if ("JJTINSTL".equals(codeString)) + return JJTINSTL; + if ("LARYNGINSTIL".equals(codeString)) + return LARYNGINSTIL; + if ("NASALINSTIL".equals(codeString)) + return NASALINSTIL; + if ("NASOGASINSTIL".equals(codeString)) + return NASOGASINSTIL; + if ("NTT".equals(codeString)) + return NTT; + if ("OJJ".equals(codeString)) + return OJJ; + if ("OT".equals(codeString)) + return OT; + if ("PDPINSTL".equals(codeString)) + return PDPINSTL; + if ("PNSINSTL".equals(codeString)) + return PNSINSTL; + if ("RECINSTL".equals(codeString)) + return RECINSTL; + if ("RECTINSTL".equals(codeString)) + return RECTINSTL; + if ("SININSTIL".equals(codeString)) + return SININSTIL; + if ("SOFTISINSTIL".equals(codeString)) + return SOFTISINSTIL; + if ("TRACHINSTL".equals(codeString)) + return TRACHINSTL; + if ("TRTYMPINSTIL".equals(codeString)) + return TRTYMPINSTIL; + if ("URETHINSTL".equals(codeString)) + return URETHINSTL; + if ("_IontophoresisRoute".equals(codeString)) + return _IONTOPHORESISROUTE; + if ("IONTO".equals(codeString)) + return IONTO; + if ("_Irrigation".equals(codeString)) + return _IRRIGATION; + if ("GUIRR".equals(codeString)) + return GUIRR; + if ("IGASTIRR".equals(codeString)) + return IGASTIRR; + if ("ILESIRR".equals(codeString)) + return ILESIRR; + if ("IOIRR".equals(codeString)) + return IOIRR; + if ("BLADIRR".equals(codeString)) + return BLADIRR; + if ("BLADIRRC".equals(codeString)) + return BLADIRRC; + if ("BLADIRRT".equals(codeString)) + return BLADIRRT; + if ("RECIRR".equals(codeString)) + return RECIRR; + if ("_LavageRoute".equals(codeString)) + return _LAVAGEROUTE; + if ("IGASTLAV".equals(codeString)) + return IGASTLAV; + if ("_MucosalAbsorptionRoute".equals(codeString)) + return _MUCOSALABSORPTIONROUTE; + if ("IDOUDMAB".equals(codeString)) + return IDOUDMAB; + if ("ITRACHMAB".equals(codeString)) + return ITRACHMAB; + if ("SMUCMAB".equals(codeString)) + return SMUCMAB; + if ("_Nebulization".equals(codeString)) + return _NEBULIZATION; + if ("ETNEB".equals(codeString)) + return ETNEB; + if ("_Rinse".equals(codeString)) + return _RINSE; + if ("DENRINSE".equals(codeString)) + return DENRINSE; + if ("ORRINSE".equals(codeString)) + return ORRINSE; + if ("_SuppositoryRoute".equals(codeString)) + return _SUPPOSITORYROUTE; + if ("URETHSUP".equals(codeString)) + return URETHSUP; + if ("_Swish".equals(codeString)) + return _SWISH; + if ("SWISHSPIT".equals(codeString)) + return SWISHSPIT; + if ("SWISHSWAL".equals(codeString)) + return SWISHSWAL; + if ("_TopicalAbsorptionRoute".equals(codeString)) + return _TOPICALABSORPTIONROUTE; + if ("TTYMPTABSORP".equals(codeString)) + return TTYMPTABSORP; + if ("_TopicalApplication".equals(codeString)) + return _TOPICALAPPLICATION; + if ("DRESS".equals(codeString)) + return DRESS; + if ("SWAB".equals(codeString)) + return SWAB; + if ("TOPICAL".equals(codeString)) + return TOPICAL; + if ("BUC".equals(codeString)) + return BUC; + if ("CERV".equals(codeString)) + return CERV; + if ("DEN".equals(codeString)) + return DEN; + if ("GIN".equals(codeString)) + return GIN; + if ("HAIR".equals(codeString)) + return HAIR; + if ("ICORNTA".equals(codeString)) + return ICORNTA; + if ("ICORONTA".equals(codeString)) + return ICORONTA; + if ("IESOPHTA".equals(codeString)) + return IESOPHTA; + if ("IILEALTA".equals(codeString)) + return IILEALTA; + if ("ILTOP".equals(codeString)) + return ILTOP; + if ("ILUMTA".equals(codeString)) + return ILUMTA; + if ("IOTOP".equals(codeString)) + return IOTOP; + if ("LARYNGTA".equals(codeString)) + return LARYNGTA; + if ("MUC".equals(codeString)) + return MUC; + if ("NAIL".equals(codeString)) + return NAIL; + if ("NASAL".equals(codeString)) + return NASAL; + if ("OPTHALTA".equals(codeString)) + return OPTHALTA; + if ("ORALTA".equals(codeString)) + return ORALTA; + if ("ORMUC".equals(codeString)) + return ORMUC; + if ("OROPHARTA".equals(codeString)) + return OROPHARTA; + if ("PERIANAL".equals(codeString)) + return PERIANAL; + if ("PERINEAL".equals(codeString)) + return PERINEAL; + if ("PDONTTA".equals(codeString)) + return PDONTTA; + if ("RECTAL".equals(codeString)) + return RECTAL; + if ("SCALP".equals(codeString)) + return SCALP; + if ("OCDRESTA".equals(codeString)) + return OCDRESTA; + if ("SKIN".equals(codeString)) + return SKIN; + if ("SUBCONJTA".equals(codeString)) + return SUBCONJTA; + if ("TMUCTA".equals(codeString)) + return TMUCTA; + if ("VAGINS".equals(codeString)) + return VAGINS; + if ("INSUF".equals(codeString)) + return INSUF; + if ("TRNSDERM".equals(codeString)) + return TRNSDERM; + if ("_RouteBySite".equals(codeString)) + return _ROUTEBYSITE; + if ("_AmnioticFluidSacRoute".equals(codeString)) + return _AMNIOTICFLUIDSACROUTE; + if ("_BiliaryRoute".equals(codeString)) + return _BILIARYROUTE; + if ("_BodySurfaceRoute".equals(codeString)) + return _BODYSURFACEROUTE; + if ("_BuccalMucosaRoute".equals(codeString)) + return _BUCCALMUCOSAROUTE; + if ("_CecostomyRoute".equals(codeString)) + return _CECOSTOMYROUTE; + if ("_CervicalRoute".equals(codeString)) + return _CERVICALROUTE; + if ("_EndocervicalRoute".equals(codeString)) + return _ENDOCERVICALROUTE; + if ("_EnteralRoute".equals(codeString)) + return _ENTERALROUTE; + if ("_EpiduralRoute".equals(codeString)) + return _EPIDURALROUTE; + if ("_ExtraAmnioticRoute".equals(codeString)) + return _EXTRAAMNIOTICROUTE; + if ("_ExtracorporealCirculationRoute".equals(codeString)) + return _EXTRACORPOREALCIRCULATIONROUTE; + if ("_GastricRoute".equals(codeString)) + return _GASTRICROUTE; + if ("_GenitourinaryRoute".equals(codeString)) + return _GENITOURINARYROUTE; + if ("_GingivalRoute".equals(codeString)) + return _GINGIVALROUTE; + if ("_HairRoute".equals(codeString)) + return _HAIRROUTE; + if ("_InterameningealRoute".equals(codeString)) + return _INTERAMENINGEALROUTE; + if ("_InterstitialRoute".equals(codeString)) + return _INTERSTITIALROUTE; + if ("_IntraabdominalRoute".equals(codeString)) + return _INTRAABDOMINALROUTE; + if ("_IntraarterialRoute".equals(codeString)) + return _INTRAARTERIALROUTE; + if ("_IntraarticularRoute".equals(codeString)) + return _INTRAARTICULARROUTE; + if ("_IntrabronchialRoute".equals(codeString)) + return _INTRABRONCHIALROUTE; + if ("_IntrabursalRoute".equals(codeString)) + return _INTRABURSALROUTE; + if ("_IntracardiacRoute".equals(codeString)) + return _INTRACARDIACROUTE; + if ("_IntracartilaginousRoute".equals(codeString)) + return _INTRACARTILAGINOUSROUTE; + if ("_IntracaudalRoute".equals(codeString)) + return _INTRACAUDALROUTE; + if ("_IntracavernosalRoute".equals(codeString)) + return _INTRACAVERNOSALROUTE; + if ("_IntracavitaryRoute".equals(codeString)) + return _INTRACAVITARYROUTE; + if ("_IntracerebralRoute".equals(codeString)) + return _INTRACEREBRALROUTE; + if ("_IntracervicalRoute".equals(codeString)) + return _INTRACERVICALROUTE; + if ("_IntracisternalRoute".equals(codeString)) + return _INTRACISTERNALROUTE; + if ("_IntracornealRoute".equals(codeString)) + return _INTRACORNEALROUTE; + if ("_IntracoronalRoute".equals(codeString)) + return _INTRACORONALROUTE; + if ("_IntracoronaryRoute".equals(codeString)) + return _INTRACORONARYROUTE; + if ("_IntracorpusCavernosumRoute".equals(codeString)) + return _INTRACORPUSCAVERNOSUMROUTE; + if ("_IntradermalRoute".equals(codeString)) + return _INTRADERMALROUTE; + if ("_IntradiscalRoute".equals(codeString)) + return _INTRADISCALROUTE; + if ("_IntraductalRoute".equals(codeString)) + return _INTRADUCTALROUTE; + if ("_IntraduodenalRoute".equals(codeString)) + return _INTRADUODENALROUTE; + if ("_IntraduralRoute".equals(codeString)) + return _INTRADURALROUTE; + if ("_IntraepidermalRoute".equals(codeString)) + return _INTRAEPIDERMALROUTE; + if ("_IntraepithelialRoute".equals(codeString)) + return _INTRAEPITHELIALROUTE; + if ("_IntraesophagealRoute".equals(codeString)) + return _INTRAESOPHAGEALROUTE; + if ("_IntragastricRoute".equals(codeString)) + return _INTRAGASTRICROUTE; + if ("_IntrailealRoute".equals(codeString)) + return _INTRAILEALROUTE; + if ("_IntralesionalRoute".equals(codeString)) + return _INTRALESIONALROUTE; + if ("_IntraluminalRoute".equals(codeString)) + return _INTRALUMINALROUTE; + if ("_IntralymphaticRoute".equals(codeString)) + return _INTRALYMPHATICROUTE; + if ("_IntramedullaryRoute".equals(codeString)) + return _INTRAMEDULLARYROUTE; + if ("_IntramuscularRoute".equals(codeString)) + return _INTRAMUSCULARROUTE; + if ("_IntraocularRoute".equals(codeString)) + return _INTRAOCULARROUTE; + if ("_IntraosseousRoute".equals(codeString)) + return _INTRAOSSEOUSROUTE; + if ("_IntraovarianRoute".equals(codeString)) + return _INTRAOVARIANROUTE; + if ("_IntrapericardialRoute".equals(codeString)) + return _INTRAPERICARDIALROUTE; + if ("_IntraperitonealRoute".equals(codeString)) + return _INTRAPERITONEALROUTE; + if ("_IntrapleuralRoute".equals(codeString)) + return _INTRAPLEURALROUTE; + if ("_IntraprostaticRoute".equals(codeString)) + return _INTRAPROSTATICROUTE; + if ("_IntrapulmonaryRoute".equals(codeString)) + return _INTRAPULMONARYROUTE; + if ("_IntrasinalRoute".equals(codeString)) + return _INTRASINALROUTE; + if ("_IntraspinalRoute".equals(codeString)) + return _INTRASPINALROUTE; + if ("_IntrasternalRoute".equals(codeString)) + return _INTRASTERNALROUTE; + if ("_IntrasynovialRoute".equals(codeString)) + return _INTRASYNOVIALROUTE; + if ("_IntratendinousRoute".equals(codeString)) + return _INTRATENDINOUSROUTE; + if ("_IntratesticularRoute".equals(codeString)) + return _INTRATESTICULARROUTE; + if ("_IntrathecalRoute".equals(codeString)) + return _INTRATHECALROUTE; + if ("_IntrathoracicRoute".equals(codeString)) + return _INTRATHORACICROUTE; + if ("_IntratrachealRoute".equals(codeString)) + return _INTRATRACHEALROUTE; + if ("_IntratubularRoute".equals(codeString)) + return _INTRATUBULARROUTE; + if ("_IntratumorRoute".equals(codeString)) + return _INTRATUMORROUTE; + if ("_IntratympanicRoute".equals(codeString)) + return _INTRATYMPANICROUTE; + if ("_IntrauterineRoute".equals(codeString)) + return _INTRAUTERINEROUTE; + if ("_IntravascularRoute".equals(codeString)) + return _INTRAVASCULARROUTE; + if ("_IntravenousRoute".equals(codeString)) + return _INTRAVENOUSROUTE; + if ("_IntraventricularRoute".equals(codeString)) + return _INTRAVENTRICULARROUTE; + if ("_IntravesicleRoute".equals(codeString)) + return _INTRAVESICLEROUTE; + if ("_IntravitrealRoute".equals(codeString)) + return _INTRAVITREALROUTE; + if ("_JejunumRoute".equals(codeString)) + return _JEJUNUMROUTE; + if ("_LacrimalPunctaRoute".equals(codeString)) + return _LACRIMALPUNCTAROUTE; + if ("_LaryngealRoute".equals(codeString)) + return _LARYNGEALROUTE; + if ("_LingualRoute".equals(codeString)) + return _LINGUALROUTE; + if ("_MucousMembraneRoute".equals(codeString)) + return _MUCOUSMEMBRANEROUTE; + if ("_NailRoute".equals(codeString)) + return _NAILROUTE; + if ("_NasalRoute".equals(codeString)) + return _NASALROUTE; + if ("_OphthalmicRoute".equals(codeString)) + return _OPHTHALMICROUTE; + if ("_OralRoute".equals(codeString)) + return _ORALROUTE; + if ("_OromucosalRoute".equals(codeString)) + return _OROMUCOSALROUTE; + if ("_OropharyngealRoute".equals(codeString)) + return _OROPHARYNGEALROUTE; + if ("_OticRoute".equals(codeString)) + return _OTICROUTE; + if ("_ParanasalSinusesRoute".equals(codeString)) + return _PARANASALSINUSESROUTE; + if ("_ParenteralRoute".equals(codeString)) + return _PARENTERALROUTE; + if ("_PerianalRoute".equals(codeString)) + return _PERIANALROUTE; + if ("_PeriarticularRoute".equals(codeString)) + return _PERIARTICULARROUTE; + if ("_PeriduralRoute".equals(codeString)) + return _PERIDURALROUTE; + if ("_PerinealRoute".equals(codeString)) + return _PERINEALROUTE; + if ("_PerineuralRoute".equals(codeString)) + return _PERINEURALROUTE; + if ("_PeriodontalRoute".equals(codeString)) + return _PERIODONTALROUTE; + if ("_PulmonaryRoute".equals(codeString)) + return _PULMONARYROUTE; + if ("_RectalRoute".equals(codeString)) + return _RECTALROUTE; + if ("_RespiratoryTractRoute".equals(codeString)) + return _RESPIRATORYTRACTROUTE; + if ("_RetrobulbarRoute".equals(codeString)) + return _RETROBULBARROUTE; + if ("_ScalpRoute".equals(codeString)) + return _SCALPROUTE; + if ("_SinusUnspecifiedRoute".equals(codeString)) + return _SINUSUNSPECIFIEDROUTE; + if ("_SkinRoute".equals(codeString)) + return _SKINROUTE; + if ("_SoftTissueRoute".equals(codeString)) + return _SOFTTISSUEROUTE; + if ("_SubarachnoidRoute".equals(codeString)) + return _SUBARACHNOIDROUTE; + if ("_SubconjunctivalRoute".equals(codeString)) + return _SUBCONJUNCTIVALROUTE; + if ("_SubcutaneousRoute".equals(codeString)) + return _SUBCUTANEOUSROUTE; + if ("_SublesionalRoute".equals(codeString)) + return _SUBLESIONALROUTE; + if ("_SublingualRoute".equals(codeString)) + return _SUBLINGUALROUTE; + if ("_SubmucosalRoute".equals(codeString)) + return _SUBMUCOSALROUTE; + if ("_TracheostomyRoute".equals(codeString)) + return _TRACHEOSTOMYROUTE; + if ("_TransmucosalRoute".equals(codeString)) + return _TRANSMUCOSALROUTE; + if ("_TransplacentalRoute".equals(codeString)) + return _TRANSPLACENTALROUTE; + if ("_TranstrachealRoute".equals(codeString)) + return _TRANSTRACHEALROUTE; + if ("_TranstympanicRoute".equals(codeString)) + return _TRANSTYMPANICROUTE; + if ("_UreteralRoute".equals(codeString)) + return _URETERALROUTE; + if ("_UrethralRoute".equals(codeString)) + return _URETHRALROUTE; + if ("_UrinaryBladderRoute".equals(codeString)) + return _URINARYBLADDERROUTE; + if ("_UrinaryTractRoute".equals(codeString)) + return _URINARYTRACTROUTE; + if ("_VaginalRoute".equals(codeString)) + return _VAGINALROUTE; + if ("_VitreousHumourRoute".equals(codeString)) + return _VITREOUSHUMOURROUTE; + throw new Exception("Unknown V3RouteOfAdministration code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ROUTEBYMETHOD: return "_RouteByMethod"; + case SOAK: return "SOAK"; + case SHAMPOO: return "SHAMPOO"; + case TRNSLING: return "TRNSLING"; + case PO: return "PO"; + case GARGLE: return "GARGLE"; + case SUCK: return "SUCK"; + case _CHEW: return "_Chew"; + case CHEW: return "CHEW"; + case _DIFFUSION: return "_Diffusion"; + case EXTCORPDIF: return "EXTCORPDIF"; + case HEMODIFF: return "HEMODIFF"; + case TRNSDERMD: return "TRNSDERMD"; + case _DISSOLVE: return "_Dissolve"; + case DISSOLVE: return "DISSOLVE"; + case SL: return "SL"; + case _DOUCHE: return "_Douche"; + case DOUCHE: return "DOUCHE"; + case _ELECTROOSMOSISROUTE: return "_ElectroOsmosisRoute"; + case ELECTOSMOS: return "ELECTOSMOS"; + case _ENEMA: return "_Enema"; + case ENEMA: return "ENEMA"; + case RETENEMA: return "RETENEMA"; + case _FLUSH: return "_Flush"; + case IVFLUSH: return "IVFLUSH"; + case _IMPLANTATION: return "_Implantation"; + case IDIMPLNT: return "IDIMPLNT"; + case IVITIMPLNT: return "IVITIMPLNT"; + case SQIMPLNT: return "SQIMPLNT"; + case _INFUSION: return "_Infusion"; + case EPI: return "EPI"; + case IA: return "IA"; + case IC: return "IC"; + case ICOR: return "ICOR"; + case IOSSC: return "IOSSC"; + case IT: return "IT"; + case IV: return "IV"; + case IVC: return "IVC"; + case IVCC: return "IVCC"; + case IVCI: return "IVCI"; + case PCA: return "PCA"; + case IVASCINFUS: return "IVASCINFUS"; + case SQINFUS: return "SQINFUS"; + case _INHALATION: return "_Inhalation"; + case IPINHL: return "IPINHL"; + case ORIFINHL: return "ORIFINHL"; + case REBREATH: return "REBREATH"; + case IPPB: return "IPPB"; + case NASINHL: return "NASINHL"; + case NASINHLC: return "NASINHLC"; + case NEB: return "NEB"; + case NASNEB: return "NASNEB"; + case ORNEB: return "ORNEB"; + case TRACH: return "TRACH"; + case VENT: return "VENT"; + case VENTMASK: return "VENTMASK"; + case _INJECTION: return "_Injection"; + case AMNINJ: return "AMNINJ"; + case BILINJ: return "BILINJ"; + case CHOLINJ: return "CHOLINJ"; + case CERVINJ: return "CERVINJ"; + case EPIDURINJ: return "EPIDURINJ"; + case EPIINJ: return "EPIINJ"; + case EPINJSP: return "EPINJSP"; + case EXTRAMNINJ: return "EXTRAMNINJ"; + case EXTCORPINJ: return "EXTCORPINJ"; + case GBINJ: return "GBINJ"; + case GINGINJ: return "GINGINJ"; + case BLADINJ: return "BLADINJ"; + case ENDOSININJ: return "ENDOSININJ"; + case HEMOPORT: return "HEMOPORT"; + case IABDINJ: return "IABDINJ"; + case IAINJ: return "IAINJ"; + case IAINJP: return "IAINJP"; + case IAINJSP: return "IAINJSP"; + case IARTINJ: return "IARTINJ"; + case IBURSINJ: return "IBURSINJ"; + case ICARDINJ: return "ICARDINJ"; + case ICARDINJRP: return "ICARDINJRP"; + case ICARDINJSP: return "ICARDINJSP"; + case ICARINJP: return "ICARINJP"; + case ICARTINJ: return "ICARTINJ"; + case ICAUDINJ: return "ICAUDINJ"; + case ICAVINJ: return "ICAVINJ"; + case ICAVITINJ: return "ICAVITINJ"; + case ICEREBINJ: return "ICEREBINJ"; + case ICISTERNINJ: return "ICISTERNINJ"; + case ICORONINJ: return "ICORONINJ"; + case ICORONINJP: return "ICORONINJP"; + case ICORPCAVINJ: return "ICORPCAVINJ"; + case IDINJ: return "IDINJ"; + case IDISCINJ: return "IDISCINJ"; + case IDUCTINJ: return "IDUCTINJ"; + case IDURINJ: return "IDURINJ"; + case IEPIDINJ: return "IEPIDINJ"; + case IEPITHINJ: return "IEPITHINJ"; + case ILESINJ: return "ILESINJ"; + case ILUMINJ: return "ILUMINJ"; + case ILYMPJINJ: return "ILYMPJINJ"; + case IM: return "IM"; + case IMD: return "IMD"; + case IMZ: return "IMZ"; + case IMEDULINJ: return "IMEDULINJ"; + case INTERMENINJ: return "INTERMENINJ"; + case INTERSTITINJ: return "INTERSTITINJ"; + case IOINJ: return "IOINJ"; + case IOSSINJ: return "IOSSINJ"; + case IOVARINJ: return "IOVARINJ"; + case IPCARDINJ: return "IPCARDINJ"; + case IPERINJ: return "IPERINJ"; + case IPINJ: return "IPINJ"; + case IPLRINJ: return "IPLRINJ"; + case IPROSTINJ: return "IPROSTINJ"; + case IPUMPINJ: return "IPUMPINJ"; + case ISINJ: return "ISINJ"; + case ISTERINJ: return "ISTERINJ"; + case ISYNINJ: return "ISYNINJ"; + case ITENDINJ: return "ITENDINJ"; + case ITESTINJ: return "ITESTINJ"; + case ITHORINJ: return "ITHORINJ"; + case ITINJ: return "ITINJ"; + case ITUBINJ: return "ITUBINJ"; + case ITUMINJ: return "ITUMINJ"; + case ITYMPINJ: return "ITYMPINJ"; + case IUINJ: return "IUINJ"; + case IUINJC: return "IUINJC"; + case IURETINJ: return "IURETINJ"; + case IVASCINJ: return "IVASCINJ"; + case IVENTINJ: return "IVENTINJ"; + case IVESINJ: return "IVESINJ"; + case IVINJ: return "IVINJ"; + case IVINJBOL: return "IVINJBOL"; + case IVPUSH: return "IVPUSH"; + case IVRPUSH: return "IVRPUSH"; + case IVSPUSH: return "IVSPUSH"; + case IVITINJ: return "IVITINJ"; + case PAINJ: return "PAINJ"; + case PARENTINJ: return "PARENTINJ"; + case PDONTINJ: return "PDONTINJ"; + case PDPINJ: return "PDPINJ"; + case PDURINJ: return "PDURINJ"; + case PNINJ: return "PNINJ"; + case PNSINJ: return "PNSINJ"; + case RBINJ: return "RBINJ"; + case SCINJ: return "SCINJ"; + case SLESINJ: return "SLESINJ"; + case SOFTISINJ: return "SOFTISINJ"; + case SQ: return "SQ"; + case SUBARACHINJ: return "SUBARACHINJ"; + case SUBMUCINJ: return "SUBMUCINJ"; + case TRPLACINJ: return "TRPLACINJ"; + case TRTRACHINJ: return "TRTRACHINJ"; + case URETHINJ: return "URETHINJ"; + case URETINJ: return "URETINJ"; + case _INSERTION: return "_Insertion"; + case CERVINS: return "CERVINS"; + case IOSURGINS: return "IOSURGINS"; + case IU: return "IU"; + case LPINS: return "LPINS"; + case PR: return "PR"; + case SQSURGINS: return "SQSURGINS"; + case URETHINS: return "URETHINS"; + case VAGINSI: return "VAGINSI"; + case _INSTILLATION: return "_Instillation"; + case CECINSTL: return "CECINSTL"; + case EFT: return "EFT"; + case ENTINSTL: return "ENTINSTL"; + case GT: return "GT"; + case NGT: return "NGT"; + case OGT: return "OGT"; + case BLADINSTL: return "BLADINSTL"; + case CAPDINSTL: return "CAPDINSTL"; + case CTINSTL: return "CTINSTL"; + case ETINSTL: return "ETINSTL"; + case GJT: return "GJT"; + case IBRONCHINSTIL: return "IBRONCHINSTIL"; + case IDUODINSTIL: return "IDUODINSTIL"; + case IESOPHINSTIL: return "IESOPHINSTIL"; + case IGASTINSTIL: return "IGASTINSTIL"; + case IILEALINJ: return "IILEALINJ"; + case IOINSTL: return "IOINSTL"; + case ISININSTIL: return "ISININSTIL"; + case ITRACHINSTIL: return "ITRACHINSTIL"; + case IUINSTL: return "IUINSTL"; + case JJTINSTL: return "JJTINSTL"; + case LARYNGINSTIL: return "LARYNGINSTIL"; + case NASALINSTIL: return "NASALINSTIL"; + case NASOGASINSTIL: return "NASOGASINSTIL"; + case NTT: return "NTT"; + case OJJ: return "OJJ"; + case OT: return "OT"; + case PDPINSTL: return "PDPINSTL"; + case PNSINSTL: return "PNSINSTL"; + case RECINSTL: return "RECINSTL"; + case RECTINSTL: return "RECTINSTL"; + case SININSTIL: return "SININSTIL"; + case SOFTISINSTIL: return "SOFTISINSTIL"; + case TRACHINSTL: return "TRACHINSTL"; + case TRTYMPINSTIL: return "TRTYMPINSTIL"; + case URETHINSTL: return "URETHINSTL"; + case _IONTOPHORESISROUTE: return "_IontophoresisRoute"; + case IONTO: return "IONTO"; + case _IRRIGATION: return "_Irrigation"; + case GUIRR: return "GUIRR"; + case IGASTIRR: return "IGASTIRR"; + case ILESIRR: return "ILESIRR"; + case IOIRR: return "IOIRR"; + case BLADIRR: return "BLADIRR"; + case BLADIRRC: return "BLADIRRC"; + case BLADIRRT: return "BLADIRRT"; + case RECIRR: return "RECIRR"; + case _LAVAGEROUTE: return "_LavageRoute"; + case IGASTLAV: return "IGASTLAV"; + case _MUCOSALABSORPTIONROUTE: return "_MucosalAbsorptionRoute"; + case IDOUDMAB: return "IDOUDMAB"; + case ITRACHMAB: return "ITRACHMAB"; + case SMUCMAB: return "SMUCMAB"; + case _NEBULIZATION: return "_Nebulization"; + case ETNEB: return "ETNEB"; + case _RINSE: return "_Rinse"; + case DENRINSE: return "DENRINSE"; + case ORRINSE: return "ORRINSE"; + case _SUPPOSITORYROUTE: return "_SuppositoryRoute"; + case URETHSUP: return "URETHSUP"; + case _SWISH: return "_Swish"; + case SWISHSPIT: return "SWISHSPIT"; + case SWISHSWAL: return "SWISHSWAL"; + case _TOPICALABSORPTIONROUTE: return "_TopicalAbsorptionRoute"; + case TTYMPTABSORP: return "TTYMPTABSORP"; + case _TOPICALAPPLICATION: return "_TopicalApplication"; + case DRESS: return "DRESS"; + case SWAB: return "SWAB"; + case TOPICAL: return "TOPICAL"; + case BUC: return "BUC"; + case CERV: return "CERV"; + case DEN: return "DEN"; + case GIN: return "GIN"; + case HAIR: return "HAIR"; + case ICORNTA: return "ICORNTA"; + case ICORONTA: return "ICORONTA"; + case IESOPHTA: return "IESOPHTA"; + case IILEALTA: return "IILEALTA"; + case ILTOP: return "ILTOP"; + case ILUMTA: return "ILUMTA"; + case IOTOP: return "IOTOP"; + case LARYNGTA: return "LARYNGTA"; + case MUC: return "MUC"; + case NAIL: return "NAIL"; + case NASAL: return "NASAL"; + case OPTHALTA: return "OPTHALTA"; + case ORALTA: return "ORALTA"; + case ORMUC: return "ORMUC"; + case OROPHARTA: return "OROPHARTA"; + case PERIANAL: return "PERIANAL"; + case PERINEAL: return "PERINEAL"; + case PDONTTA: return "PDONTTA"; + case RECTAL: return "RECTAL"; + case SCALP: return "SCALP"; + case OCDRESTA: return "OCDRESTA"; + case SKIN: return "SKIN"; + case SUBCONJTA: return "SUBCONJTA"; + case TMUCTA: return "TMUCTA"; + case VAGINS: return "VAGINS"; + case INSUF: return "INSUF"; + case TRNSDERM: return "TRNSDERM"; + case _ROUTEBYSITE: return "_RouteBySite"; + case _AMNIOTICFLUIDSACROUTE: return "_AmnioticFluidSacRoute"; + case _BILIARYROUTE: return "_BiliaryRoute"; + case _BODYSURFACEROUTE: return "_BodySurfaceRoute"; + case _BUCCALMUCOSAROUTE: return "_BuccalMucosaRoute"; + case _CECOSTOMYROUTE: return "_CecostomyRoute"; + case _CERVICALROUTE: return "_CervicalRoute"; + case _ENDOCERVICALROUTE: return "_EndocervicalRoute"; + case _ENTERALROUTE: return "_EnteralRoute"; + case _EPIDURALROUTE: return "_EpiduralRoute"; + case _EXTRAAMNIOTICROUTE: return "_ExtraAmnioticRoute"; + case _EXTRACORPOREALCIRCULATIONROUTE: return "_ExtracorporealCirculationRoute"; + case _GASTRICROUTE: return "_GastricRoute"; + case _GENITOURINARYROUTE: return "_GenitourinaryRoute"; + case _GINGIVALROUTE: return "_GingivalRoute"; + case _HAIRROUTE: return "_HairRoute"; + case _INTERAMENINGEALROUTE: return "_InterameningealRoute"; + case _INTERSTITIALROUTE: return "_InterstitialRoute"; + case _INTRAABDOMINALROUTE: return "_IntraabdominalRoute"; + case _INTRAARTERIALROUTE: return "_IntraarterialRoute"; + case _INTRAARTICULARROUTE: return "_IntraarticularRoute"; + case _INTRABRONCHIALROUTE: return "_IntrabronchialRoute"; + case _INTRABURSALROUTE: return "_IntrabursalRoute"; + case _INTRACARDIACROUTE: return "_IntracardiacRoute"; + case _INTRACARTILAGINOUSROUTE: return "_IntracartilaginousRoute"; + case _INTRACAUDALROUTE: return "_IntracaudalRoute"; + case _INTRACAVERNOSALROUTE: return "_IntracavernosalRoute"; + case _INTRACAVITARYROUTE: return "_IntracavitaryRoute"; + case _INTRACEREBRALROUTE: return "_IntracerebralRoute"; + case _INTRACERVICALROUTE: return "_IntracervicalRoute"; + case _INTRACISTERNALROUTE: return "_IntracisternalRoute"; + case _INTRACORNEALROUTE: return "_IntracornealRoute"; + case _INTRACORONALROUTE: return "_IntracoronalRoute"; + case _INTRACORONARYROUTE: return "_IntracoronaryRoute"; + case _INTRACORPUSCAVERNOSUMROUTE: return "_IntracorpusCavernosumRoute"; + case _INTRADERMALROUTE: return "_IntradermalRoute"; + case _INTRADISCALROUTE: return "_IntradiscalRoute"; + case _INTRADUCTALROUTE: return "_IntraductalRoute"; + case _INTRADUODENALROUTE: return "_IntraduodenalRoute"; + case _INTRADURALROUTE: return "_IntraduralRoute"; + case _INTRAEPIDERMALROUTE: return "_IntraepidermalRoute"; + case _INTRAEPITHELIALROUTE: return "_IntraepithelialRoute"; + case _INTRAESOPHAGEALROUTE: return "_IntraesophagealRoute"; + case _INTRAGASTRICROUTE: return "_IntragastricRoute"; + case _INTRAILEALROUTE: return "_IntrailealRoute"; + case _INTRALESIONALROUTE: return "_IntralesionalRoute"; + case _INTRALUMINALROUTE: return "_IntraluminalRoute"; + case _INTRALYMPHATICROUTE: return "_IntralymphaticRoute"; + case _INTRAMEDULLARYROUTE: return "_IntramedullaryRoute"; + case _INTRAMUSCULARROUTE: return "_IntramuscularRoute"; + case _INTRAOCULARROUTE: return "_IntraocularRoute"; + case _INTRAOSSEOUSROUTE: return "_IntraosseousRoute"; + case _INTRAOVARIANROUTE: return "_IntraovarianRoute"; + case _INTRAPERICARDIALROUTE: return "_IntrapericardialRoute"; + case _INTRAPERITONEALROUTE: return "_IntraperitonealRoute"; + case _INTRAPLEURALROUTE: return "_IntrapleuralRoute"; + case _INTRAPROSTATICROUTE: return "_IntraprostaticRoute"; + case _INTRAPULMONARYROUTE: return "_IntrapulmonaryRoute"; + case _INTRASINALROUTE: return "_IntrasinalRoute"; + case _INTRASPINALROUTE: return "_IntraspinalRoute"; + case _INTRASTERNALROUTE: return "_IntrasternalRoute"; + case _INTRASYNOVIALROUTE: return "_IntrasynovialRoute"; + case _INTRATENDINOUSROUTE: return "_IntratendinousRoute"; + case _INTRATESTICULARROUTE: return "_IntratesticularRoute"; + case _INTRATHECALROUTE: return "_IntrathecalRoute"; + case _INTRATHORACICROUTE: return "_IntrathoracicRoute"; + case _INTRATRACHEALROUTE: return "_IntratrachealRoute"; + case _INTRATUBULARROUTE: return "_IntratubularRoute"; + case _INTRATUMORROUTE: return "_IntratumorRoute"; + case _INTRATYMPANICROUTE: return "_IntratympanicRoute"; + case _INTRAUTERINEROUTE: return "_IntrauterineRoute"; + case _INTRAVASCULARROUTE: return "_IntravascularRoute"; + case _INTRAVENOUSROUTE: return "_IntravenousRoute"; + case _INTRAVENTRICULARROUTE: return "_IntraventricularRoute"; + case _INTRAVESICLEROUTE: return "_IntravesicleRoute"; + case _INTRAVITREALROUTE: return "_IntravitrealRoute"; + case _JEJUNUMROUTE: return "_JejunumRoute"; + case _LACRIMALPUNCTAROUTE: return "_LacrimalPunctaRoute"; + case _LARYNGEALROUTE: return "_LaryngealRoute"; + case _LINGUALROUTE: return "_LingualRoute"; + case _MUCOUSMEMBRANEROUTE: return "_MucousMembraneRoute"; + case _NAILROUTE: return "_NailRoute"; + case _NASALROUTE: return "_NasalRoute"; + case _OPHTHALMICROUTE: return "_OphthalmicRoute"; + case _ORALROUTE: return "_OralRoute"; + case _OROMUCOSALROUTE: return "_OromucosalRoute"; + case _OROPHARYNGEALROUTE: return "_OropharyngealRoute"; + case _OTICROUTE: return "_OticRoute"; + case _PARANASALSINUSESROUTE: return "_ParanasalSinusesRoute"; + case _PARENTERALROUTE: return "_ParenteralRoute"; + case _PERIANALROUTE: return "_PerianalRoute"; + case _PERIARTICULARROUTE: return "_PeriarticularRoute"; + case _PERIDURALROUTE: return "_PeriduralRoute"; + case _PERINEALROUTE: return "_PerinealRoute"; + case _PERINEURALROUTE: return "_PerineuralRoute"; + case _PERIODONTALROUTE: return "_PeriodontalRoute"; + case _PULMONARYROUTE: return "_PulmonaryRoute"; + case _RECTALROUTE: return "_RectalRoute"; + case _RESPIRATORYTRACTROUTE: return "_RespiratoryTractRoute"; + case _RETROBULBARROUTE: return "_RetrobulbarRoute"; + case _SCALPROUTE: return "_ScalpRoute"; + case _SINUSUNSPECIFIEDROUTE: return "_SinusUnspecifiedRoute"; + case _SKINROUTE: return "_SkinRoute"; + case _SOFTTISSUEROUTE: return "_SoftTissueRoute"; + case _SUBARACHNOIDROUTE: return "_SubarachnoidRoute"; + case _SUBCONJUNCTIVALROUTE: return "_SubconjunctivalRoute"; + case _SUBCUTANEOUSROUTE: return "_SubcutaneousRoute"; + case _SUBLESIONALROUTE: return "_SublesionalRoute"; + case _SUBLINGUALROUTE: return "_SublingualRoute"; + case _SUBMUCOSALROUTE: return "_SubmucosalRoute"; + case _TRACHEOSTOMYROUTE: return "_TracheostomyRoute"; + case _TRANSMUCOSALROUTE: return "_TransmucosalRoute"; + case _TRANSPLACENTALROUTE: return "_TransplacentalRoute"; + case _TRANSTRACHEALROUTE: return "_TranstrachealRoute"; + case _TRANSTYMPANICROUTE: return "_TranstympanicRoute"; + case _URETERALROUTE: return "_UreteralRoute"; + case _URETHRALROUTE: return "_UrethralRoute"; + case _URINARYBLADDERROUTE: return "_UrinaryBladderRoute"; + case _URINARYTRACTROUTE: return "_UrinaryTractRoute"; + case _VAGINALROUTE: return "_VaginalRoute"; + case _VITREOUSHUMOURROUTE: return "_VitreousHumourRoute"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/RouteOfAdministration"; + } + public String getDefinition() { + switch (this) { + case _ROUTEBYMETHOD: return "Route of substance administration classified by administration method."; + case SOAK: return "Immersion (soak)"; + case SHAMPOO: return "Shampoo"; + case TRNSLING: return "Translingual"; + case PO: return "Swallow, oral"; + case GARGLE: return "Gargle"; + case SUCK: return "Suck, oromucosal"; + case _CHEW: return "Chew"; + case CHEW: return "Chew, oral"; + case _DIFFUSION: return "Diffusion"; + case EXTCORPDIF: return "Diffusion, extracorporeal"; + case HEMODIFF: return "Diffusion, hemodialysis"; + case TRNSDERMD: return "Diffusion, transdermal"; + case _DISSOLVE: return "Dissolve"; + case DISSOLVE: return "Dissolve, oral"; + case SL: return "Dissolve, sublingual"; + case _DOUCHE: return "Douche"; + case DOUCHE: return "Douche, vaginal"; + case _ELECTROOSMOSISROUTE: return "Electro-osmosis"; + case ELECTOSMOS: return "Electro-osmosis"; + case _ENEMA: return "Enema"; + case ENEMA: return "Enema, rectal"; + case RETENEMA: return "Enema, rectal retention"; + case _FLUSH: return "Flush"; + case IVFLUSH: return "Flush, intravenous catheter"; + case _IMPLANTATION: return "Implantation"; + case IDIMPLNT: return "Implantation, intradermal"; + case IVITIMPLNT: return "Implantation, intravitreal"; + case SQIMPLNT: return "Implantation, subcutaneous"; + case _INFUSION: return "Infusion"; + case EPI: return "Infusion, epidural"; + case IA: return "Infusion, intraarterial catheter"; + case IC: return "Infusion, intracardiac"; + case ICOR: return "Infusion, intracoronary"; + case IOSSC: return "Infusion, intraosseous, continuous"; + case IT: return "Infusion, intrathecal"; + case IV: return "Infusion, intravenous"; + case IVC: return "Infusion, intravenous catheter"; + case IVCC: return "Infusion, intravenous catheter, continuous"; + case IVCI: return "Infusion, intravenous catheter, intermittent"; + case PCA: return "Infusion, intravenous catheter, pca pump"; + case IVASCINFUS: return "Infusion, intravascular"; + case SQINFUS: return "Infusion, subcutaneous"; + case _INHALATION: return "Inhalation"; + case IPINHL: return "Inhalation, oral"; + case ORIFINHL: return "Inhalation, oral intermittent flow"; + case REBREATH: return "Inhalation, oral rebreather mask"; + case IPPB: return "Inhalation, intermittent positive pressure breathing (ippb)"; + case NASINHL: return "Inhalation, nasal"; + case NASINHLC: return "Inhalation, nasal, prongs"; + case NEB: return "Inhalation, nebulization"; + case NASNEB: return "Inhalation, nebulization, nasal"; + case ORNEB: return "Inhalation, nebulization, oral"; + case TRACH: return "Inhalation, tracheostomy"; + case VENT: return "Inhalation, ventilator"; + case VENTMASK: return "Inhalation, ventimask"; + case _INJECTION: return "Injection"; + case AMNINJ: return "Injection, amniotic fluid"; + case BILINJ: return "Injection, biliary tract"; + case CHOLINJ: return "Injection, for cholangiography"; + case CERVINJ: return "Injection, cervical"; + case EPIDURINJ: return "Injection, epidural"; + case EPIINJ: return "Injection, epidural, push"; + case EPINJSP: return "Injection, epidural, slow push"; + case EXTRAMNINJ: return "Injection, extra-amniotic"; + case EXTCORPINJ: return "Injection, extracorporeal"; + case GBINJ: return "Injection, gastric button"; + case GINGINJ: return "Injection, gingival"; + case BLADINJ: return "Injection, urinary bladder"; + case ENDOSININJ: return "Injection, endosinusial"; + case HEMOPORT: return "Injection, hemodialysis port"; + case IABDINJ: return "Injection, intra-abdominal"; + case IAINJ: return "Injection, intraarterial"; + case IAINJP: return "Injection, intraarterial, push"; + case IAINJSP: return "Injection, intraarterial, slow push"; + case IARTINJ: return "Injection, intraarticular"; + case IBURSINJ: return "Injection, intrabursal"; + case ICARDINJ: return "Injection, intracardiac"; + case ICARDINJRP: return "Injection, intracardiac, rapid push"; + case ICARDINJSP: return "Injection, intracardiac, slow push"; + case ICARINJP: return "Injection, intracardiac, push"; + case ICARTINJ: return "Injection, intracartilaginous"; + case ICAUDINJ: return "Injection, intracaudal"; + case ICAVINJ: return "Injection, intracavernous"; + case ICAVITINJ: return "Injection, intracavitary"; + case ICEREBINJ: return "Injection, intracerebral"; + case ICISTERNINJ: return "Injection, intracisternal"; + case ICORONINJ: return "Injection, intracoronary"; + case ICORONINJP: return "Injection, intracoronary, push"; + case ICORPCAVINJ: return "Injection, intracorpus cavernosum"; + case IDINJ: return "Injection, intradermal"; + case IDISCINJ: return "Injection, intradiscal"; + case IDUCTINJ: return "Injection, intraductal"; + case IDURINJ: return "Injection, intradural"; + case IEPIDINJ: return "Injection, intraepidermal"; + case IEPITHINJ: return "Injection, intraepithelial"; + case ILESINJ: return "Injection, intralesional"; + case ILUMINJ: return "Injection, intraluminal"; + case ILYMPJINJ: return "Injection, intralymphatic"; + case IM: return "Injection, intramuscular"; + case IMD: return "Injection, intramuscular, deep"; + case IMZ: return "Injection, intramuscular, z track"; + case IMEDULINJ: return "Injection, intramedullary"; + case INTERMENINJ: return "Injection, interameningeal"; + case INTERSTITINJ: return "Injection, interstitial"; + case IOINJ: return "Injection, intraocular"; + case IOSSINJ: return "Injection, intraosseous"; + case IOVARINJ: return "Injection, intraovarian"; + case IPCARDINJ: return "Injection, intrapericardial"; + case IPERINJ: return "Injection, intraperitoneal"; + case IPINJ: return "Injection, intrapulmonary"; + case IPLRINJ: return "Injection, intrapleural"; + case IPROSTINJ: return "Injection, intraprostatic"; + case IPUMPINJ: return "Injection, insulin pump"; + case ISINJ: return "Injection, intraspinal"; + case ISTERINJ: return "Injection, intrasternal"; + case ISYNINJ: return "Injection, intrasynovial"; + case ITENDINJ: return "Injection, intratendinous"; + case ITESTINJ: return "Injection, intratesticular"; + case ITHORINJ: return "Injection, intrathoracic"; + case ITINJ: return "Injection, intrathecal"; + case ITUBINJ: return "Injection, intratubular"; + case ITUMINJ: return "Injection, intratumor"; + case ITYMPINJ: return "Injection, intratympanic"; + case IUINJ: return "Injection, intracervical (uterus)"; + case IUINJC: return "Injection, intracervical (uterus)"; + case IURETINJ: return "Injection, intraureteral, retrograde"; + case IVASCINJ: return "Injection, intravascular"; + case IVENTINJ: return "Injection, intraventricular (heart)"; + case IVESINJ: return "Injection, intravesicle"; + case IVINJ: return "Injection, intravenous"; + case IVINJBOL: return "Injection, intravenous, bolus"; + case IVPUSH: return "Injection, intravenous, push"; + case IVRPUSH: return "Injection, intravenous, rapid push"; + case IVSPUSH: return "Injection, intravenous, slow push"; + case IVITINJ: return "Injection, intravitreal"; + case PAINJ: return "Injection, periarticular"; + case PARENTINJ: return "Injection, parenteral"; + case PDONTINJ: return "Injection, periodontal"; + case PDPINJ: return "Injection, peritoneal dialysis port"; + case PDURINJ: return "Injection, peridural"; + case PNINJ: return "Injection, perineural"; + case PNSINJ: return "Injection, paranasal sinuses"; + case RBINJ: return "Injection, retrobulbar"; + case SCINJ: return "Injection, subconjunctival"; + case SLESINJ: return "Injection, sublesional"; + case SOFTISINJ: return "Injection, soft tissue"; + case SQ: return "Injection, subcutaneous"; + case SUBARACHINJ: return "Injection, subarachnoid"; + case SUBMUCINJ: return "Injection, submucosal"; + case TRPLACINJ: return "Injection, transplacental"; + case TRTRACHINJ: return "Injection, transtracheal"; + case URETHINJ: return "Injection, urethral"; + case URETINJ: return "Injection, ureteral"; + case _INSERTION: return "Insertion"; + case CERVINS: return "Insertion, cervical (uterine)"; + case IOSURGINS: return "Insertion, intraocular, surgical"; + case IU: return "Insertion, intrauterine"; + case LPINS: return "Insertion, lacrimal puncta"; + case PR: return "Insertion, rectal"; + case SQSURGINS: return "Insertion, subcutaneous, surgical"; + case URETHINS: return "Insertion, urethral"; + case VAGINSI: return "Insertion, vaginal"; + case _INSTILLATION: return "Instillation"; + case CECINSTL: return "Instillation, cecostomy"; + case EFT: return "Instillation, enteral feeding tube"; + case ENTINSTL: return "Instillation, enteral"; + case GT: return "Instillation, gastrostomy tube"; + case NGT: return "Instillation, nasogastric tube"; + case OGT: return "Instillation, orogastric tube"; + case BLADINSTL: return "Instillation, urinary catheter"; + case CAPDINSTL: return "Instillation, continuous ambulatory peritoneal dialysis port"; + case CTINSTL: return "Instillation, chest tube"; + case ETINSTL: return "Instillation, endotracheal tube"; + case GJT: return "Instillation, gastro-jejunostomy tube"; + case IBRONCHINSTIL: return "Instillation, intrabronchial"; + case IDUODINSTIL: return "Instillation, intraduodenal"; + case IESOPHINSTIL: return "Instillation, intraesophageal"; + case IGASTINSTIL: return "Instillation, intragastric"; + case IILEALINJ: return "Instillation, intraileal"; + case IOINSTL: return "Instillation, intraocular"; + case ISININSTIL: return "Instillation, intrasinal"; + case ITRACHINSTIL: return "Instillation, intratracheal"; + case IUINSTL: return "Instillation, intrauterine"; + case JJTINSTL: return "Instillation, jejunostomy tube"; + case LARYNGINSTIL: return "Instillation, laryngeal"; + case NASALINSTIL: return "Instillation, nasal"; + case NASOGASINSTIL: return "Instillation, nasogastric"; + case NTT: return "Instillation, nasotracheal tube"; + case OJJ: return "Instillation, orojejunum tube"; + case OT: return "Instillation, otic"; + case PDPINSTL: return "Instillation, peritoneal dialysis port"; + case PNSINSTL: return "Instillation, paranasal sinuses"; + case RECINSTL: return "Instillation, rectal"; + case RECTINSTL: return "Instillation, rectal tube"; + case SININSTIL: return "Instillation, sinus, unspecified"; + case SOFTISINSTIL: return "Instillation, soft tissue"; + case TRACHINSTL: return "Instillation, tracheostomy"; + case TRTYMPINSTIL: return "Instillation, transtympanic"; + case URETHINSTL: return "Instillation, urethral"; + case _IONTOPHORESISROUTE: return "Iontophoresis"; + case IONTO: return "Topical application, iontophoresis"; + case _IRRIGATION: return "Irrigation"; + case GUIRR: return "Irrigation, genitourinary"; + case IGASTIRR: return "Irrigation, intragastric"; + case ILESIRR: return "Irrigation, intralesional"; + case IOIRR: return "Irrigation, intraocular"; + case BLADIRR: return "Irrigation, urinary bladder"; + case BLADIRRC: return "Irrigation, urinary bladder, continuous"; + case BLADIRRT: return "Irrigation, urinary bladder, tidal"; + case RECIRR: return "Irrigation, rectal"; + case _LAVAGEROUTE: return "Lavage"; + case IGASTLAV: return "Lavage, intragastric"; + case _MUCOSALABSORPTIONROUTE: return "Mucosal absorption"; + case IDOUDMAB: return "Mucosal absorption, intraduodenal"; + case ITRACHMAB: return "Mucosal absorption, intratracheal"; + case SMUCMAB: return "Mucosal absorption, submucosal"; + case _NEBULIZATION: return "Nebulization"; + case ETNEB: return "Nebulization, endotracheal tube"; + case _RINSE: return "Rinse"; + case DENRINSE: return "Rinse, dental"; + case ORRINSE: return "Rinse, oral"; + case _SUPPOSITORYROUTE: return "Suppository"; + case URETHSUP: return "Suppository, urethral"; + case _SWISH: return "Swish"; + case SWISHSPIT: return "Swish and spit out, oromucosal"; + case SWISHSWAL: return "Swish and swallow, oromucosal"; + case _TOPICALABSORPTIONROUTE: return "Topical absorption"; + case TTYMPTABSORP: return "Topical absorption, transtympanic"; + case _TOPICALAPPLICATION: return "Topical application"; + case DRESS: return "Topical application, soaked dressing"; + case SWAB: return "Topical application, swab"; + case TOPICAL: return "Topical"; + case BUC: return "Topical application, buccal"; + case CERV: return "Topical application, cervical"; + case DEN: return "Topical application, dental"; + case GIN: return "Topical application, gingival"; + case HAIR: return "Topical application, hair"; + case ICORNTA: return "Topical application, intracorneal"; + case ICORONTA: return "Topical application, intracoronal (dental)"; + case IESOPHTA: return "Topical application, intraesophageal"; + case IILEALTA: return "Topical application, intraileal"; + case ILTOP: return "Topical application, intralesional"; + case ILUMTA: return "Topical application, intraluminal"; + case IOTOP: return "Topical application, intraocular"; + case LARYNGTA: return "Topical application, laryngeal"; + case MUC: return "Topical application, mucous membrane"; + case NAIL: return "Topical application, nail"; + case NASAL: return "Topical application, nasal"; + case OPTHALTA: return "Topical application, ophthalmic"; + case ORALTA: return "Topical application, oral"; + case ORMUC: return "Topical application, oromucosal"; + case OROPHARTA: return "Topical application, oropharyngeal"; + case PERIANAL: return "Topical application, perianal"; + case PERINEAL: return "Topical application, perineal"; + case PDONTTA: return "Topical application, periodontal"; + case RECTAL: return "Topical application, rectal"; + case SCALP: return "Topical application, scalp"; + case OCDRESTA: return "Occlusive dressing technique"; + case SKIN: return "Topical application, skin"; + case SUBCONJTA: return "Subconjunctival"; + case TMUCTA: return "Topical application, transmucosal"; + case VAGINS: return "Insertion, vaginal"; + case INSUF: return "Insufflation"; + case TRNSDERM: return "Transdermal"; + case _ROUTEBYSITE: return "Route of substance administration classified by site."; + case _AMNIOTICFLUIDSACROUTE: return "Amniotic fluid sac"; + case _BILIARYROUTE: return "Biliary tract"; + case _BODYSURFACEROUTE: return "Body surface"; + case _BUCCALMUCOSAROUTE: return "Buccal mucosa"; + case _CECOSTOMYROUTE: return "Cecostomy"; + case _CERVICALROUTE: return "Cervix of the uterus"; + case _ENDOCERVICALROUTE: return "Endocervical"; + case _ENTERALROUTE: return "Enteral"; + case _EPIDURALROUTE: return "Epidural"; + case _EXTRAAMNIOTICROUTE: return "Extra-amniotic"; + case _EXTRACORPOREALCIRCULATIONROUTE: return "Extracorporeal circulation"; + case _GASTRICROUTE: return "Gastric"; + case _GENITOURINARYROUTE: return "Genitourinary"; + case _GINGIVALROUTE: return "Gingival"; + case _HAIRROUTE: return "Hair"; + case _INTERAMENINGEALROUTE: return "Interameningeal"; + case _INTERSTITIALROUTE: return "Interstitial"; + case _INTRAABDOMINALROUTE: return "Intra-abdominal"; + case _INTRAARTERIALROUTE: return "Intra-arterial"; + case _INTRAARTICULARROUTE: return "Intraarticular"; + case _INTRABRONCHIALROUTE: return "Intrabronchial"; + case _INTRABURSALROUTE: return "Intrabursal"; + case _INTRACARDIACROUTE: return "Intracardiac"; + case _INTRACARTILAGINOUSROUTE: return "Intracartilaginous"; + case _INTRACAUDALROUTE: return "Intracaudal"; + case _INTRACAVERNOSALROUTE: return "Intracavernosal"; + case _INTRACAVITARYROUTE: return "Intracavitary"; + case _INTRACEREBRALROUTE: return "Intracerebral"; + case _INTRACERVICALROUTE: return "Intracervical"; + case _INTRACISTERNALROUTE: return "Intracisternal"; + case _INTRACORNEALROUTE: return "Intracorneal"; + case _INTRACORONALROUTE: return "Intracoronal (dental)"; + case _INTRACORONARYROUTE: return "Intracoronary"; + case _INTRACORPUSCAVERNOSUMROUTE: return "Intracorpus cavernosum"; + case _INTRADERMALROUTE: return "Intradermal"; + case _INTRADISCALROUTE: return "Intradiscal"; + case _INTRADUCTALROUTE: return "Intraductal"; + case _INTRADUODENALROUTE: return "Intraduodenal"; + case _INTRADURALROUTE: return "Intradural"; + case _INTRAEPIDERMALROUTE: return "Intraepidermal"; + case _INTRAEPITHELIALROUTE: return "Intraepithelial"; + case _INTRAESOPHAGEALROUTE: return "Intraesophageal"; + case _INTRAGASTRICROUTE: return "Intragastric"; + case _INTRAILEALROUTE: return "Intraileal"; + case _INTRALESIONALROUTE: return "Intralesional"; + case _INTRALUMINALROUTE: return "Intraluminal"; + case _INTRALYMPHATICROUTE: return "Intralymphatic"; + case _INTRAMEDULLARYROUTE: return "Intramedullary"; + case _INTRAMUSCULARROUTE: return "Intramuscular"; + case _INTRAOCULARROUTE: return "Intraocular"; + case _INTRAOSSEOUSROUTE: return "Intraosseous"; + case _INTRAOVARIANROUTE: return "Intraovarian"; + case _INTRAPERICARDIALROUTE: return "Intrapericardial"; + case _INTRAPERITONEALROUTE: return "Intraperitoneal"; + case _INTRAPLEURALROUTE: return "Intrapleural"; + case _INTRAPROSTATICROUTE: return "Intraprostatic"; + case _INTRAPULMONARYROUTE: return "Intrapulmonary"; + case _INTRASINALROUTE: return "Intrasinal"; + case _INTRASPINALROUTE: return "Intraspinal"; + case _INTRASTERNALROUTE: return "Intrasternal"; + case _INTRASYNOVIALROUTE: return "Intrasynovial"; + case _INTRATENDINOUSROUTE: return "Intratendinous"; + case _INTRATESTICULARROUTE: return "Intratesticular"; + case _INTRATHECALROUTE: return "Intrathecal"; + case _INTRATHORACICROUTE: return "Intrathoracic"; + case _INTRATRACHEALROUTE: return "Intratracheal"; + case _INTRATUBULARROUTE: return "Intratubular"; + case _INTRATUMORROUTE: return "Intratumor"; + case _INTRATYMPANICROUTE: return "Intratympanic"; + case _INTRAUTERINEROUTE: return "Intrauterine"; + case _INTRAVASCULARROUTE: return "Intravascular"; + case _INTRAVENOUSROUTE: return "Intravenous"; + case _INTRAVENTRICULARROUTE: return "Intraventricular"; + case _INTRAVESICLEROUTE: return "Intravesicle"; + case _INTRAVITREALROUTE: return "Intravitreal"; + case _JEJUNUMROUTE: return "Jejunum"; + case _LACRIMALPUNCTAROUTE: return "Lacrimal puncta"; + case _LARYNGEALROUTE: return "Laryngeal"; + case _LINGUALROUTE: return "Lingual"; + case _MUCOUSMEMBRANEROUTE: return "Mucous membrane"; + case _NAILROUTE: return "Nail"; + case _NASALROUTE: return "Nasal"; + case _OPHTHALMICROUTE: return "Ophthalmic"; + case _ORALROUTE: return "Oral"; + case _OROMUCOSALROUTE: return "Oromucosal"; + case _OROPHARYNGEALROUTE: return "Oropharyngeal"; + case _OTICROUTE: return "Otic"; + case _PARANASALSINUSESROUTE: return "Paranasal sinuses"; + case _PARENTERALROUTE: return "Parenteral"; + case _PERIANALROUTE: return "Perianal"; + case _PERIARTICULARROUTE: return "Periarticular"; + case _PERIDURALROUTE: return "Peridural"; + case _PERINEALROUTE: return "Perineal"; + case _PERINEURALROUTE: return "Perineural"; + case _PERIODONTALROUTE: return "Periodontal"; + case _PULMONARYROUTE: return "Pulmonary"; + case _RECTALROUTE: return "Rectal"; + case _RESPIRATORYTRACTROUTE: return "Respiratory tract"; + case _RETROBULBARROUTE: return "Retrobulbar"; + case _SCALPROUTE: return "Scalp"; + case _SINUSUNSPECIFIEDROUTE: return "Sinus, unspecified"; + case _SKINROUTE: return "Skin"; + case _SOFTTISSUEROUTE: return "Soft tissue"; + case _SUBARACHNOIDROUTE: return "Subarachnoid"; + case _SUBCONJUNCTIVALROUTE: return "Subconjunctival"; + case _SUBCUTANEOUSROUTE: return "Subcutaneous"; + case _SUBLESIONALROUTE: return "Sublesional"; + case _SUBLINGUALROUTE: return "Sublingual"; + case _SUBMUCOSALROUTE: return "Submucosal"; + case _TRACHEOSTOMYROUTE: return "Tracheostomy"; + case _TRANSMUCOSALROUTE: return "Transmucosal"; + case _TRANSPLACENTALROUTE: return "Transplacental"; + case _TRANSTRACHEALROUTE: return "Transtracheal"; + case _TRANSTYMPANICROUTE: return "Transtympanic"; + case _URETERALROUTE: return "Ureteral"; + case _URETHRALROUTE: return "Urethral"; + case _URINARYBLADDERROUTE: return "Urinary bladder"; + case _URINARYTRACTROUTE: return "Urinary tract"; + case _VAGINALROUTE: return "Vaginal"; + case _VITREOUSHUMOURROUTE: return "Vitreous humour"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ROUTEBYMETHOD: return "RouteByMethod"; + case SOAK: return "Immersion (soak)"; + case SHAMPOO: return "Shampoo"; + case TRNSLING: return "Translingual"; + case PO: return "Swallow, oral"; + case GARGLE: return "Gargle"; + case SUCK: return "Suck, oromucosal"; + case _CHEW: return "Chew"; + case CHEW: return "Chew, oral"; + case _DIFFUSION: return "Diffusion"; + case EXTCORPDIF: return "Diffusion, extracorporeal"; + case HEMODIFF: return "Diffusion, hemodialysis"; + case TRNSDERMD: return "Diffusion, transdermal"; + case _DISSOLVE: return "Dissolve"; + case DISSOLVE: return "Dissolve, oral"; + case SL: return "Dissolve, sublingual"; + case _DOUCHE: return "Douche"; + case DOUCHE: return "Douche, vaginal"; + case _ELECTROOSMOSISROUTE: return "ElectroOsmosisRoute"; + case ELECTOSMOS: return "Electro-osmosis"; + case _ENEMA: return "Enema"; + case ENEMA: return "Enema, rectal"; + case RETENEMA: return "Enema, rectal retention"; + case _FLUSH: return "Flush"; + case IVFLUSH: return "Flush, intravenous catheter"; + case _IMPLANTATION: return "Implantation"; + case IDIMPLNT: return "Implantation, intradermal"; + case IVITIMPLNT: return "Implantation, intravitreal"; + case SQIMPLNT: return "Implantation, subcutaneous"; + case _INFUSION: return "Infusion"; + case EPI: return "Infusion, epidural"; + case IA: return "Infusion, intraarterial catheter"; + case IC: return "Infusion, intracardiac"; + case ICOR: return "Infusion, intracoronary"; + case IOSSC: return "Infusion, intraosseous, continuous"; + case IT: return "Infusion, intrathecal"; + case IV: return "Infusion, intravenous"; + case IVC: return "Infusion, intravenous catheter"; + case IVCC: return "Infusion, intravenous catheter, continuous"; + case IVCI: return "Infusion, intravenous catheter, intermittent"; + case PCA: return "Infusion, intravenous catheter, pca pump"; + case IVASCINFUS: return "Infusion, intravascular"; + case SQINFUS: return "Infusion, subcutaneous"; + case _INHALATION: return "Inhalation"; + case IPINHL: return "Inhalation, respiratory"; + case ORIFINHL: return "Inhalation, oral intermittent flow"; + case REBREATH: return "Inhalation, oral rebreather mask"; + case IPPB: return "Inhalation, intermittent positive pressure breathing (ippb)"; + case NASINHL: return "Inhalation, nasal"; + case NASINHLC: return "Inhalation, nasal cannula"; + case NEB: return "Inhalation, nebulization"; + case NASNEB: return "Inhalation, nebulization, nasal"; + case ORNEB: return "Inhalation, nebulization, oral"; + case TRACH: return "Inhalation, tracheostomy"; + case VENT: return "Inhalation, ventilator"; + case VENTMASK: return "Inhalation, ventimask"; + case _INJECTION: return "Injection"; + case AMNINJ: return "Injection, amniotic fluid"; + case BILINJ: return "Injection, biliary tract"; + case CHOLINJ: return "Injection, for cholangiography"; + case CERVINJ: return "Injection, cervical"; + case EPIDURINJ: return "Injection, epidural"; + case EPIINJ: return "Injection, epidural, push"; + case EPINJSP: return "Injection, epidural, slow push"; + case EXTRAMNINJ: return "Injection, extra-amniotic"; + case EXTCORPINJ: return "Injection, extracorporeal"; + case GBINJ: return "Injection, gastric button"; + case GINGINJ: return "Injection, gingival"; + case BLADINJ: return "Injection, urinary bladder"; + case ENDOSININJ: return "Injection, endosinusial"; + case HEMOPORT: return "Injection, hemodialysis port"; + case IABDINJ: return "Injection, intra-abdominal"; + case IAINJ: return "Injection, intraarterial"; + case IAINJP: return "Injection, intraarterial, push"; + case IAINJSP: return "Injection, intraarterial, slow push"; + case IARTINJ: return "Injection, intraarticular"; + case IBURSINJ: return "Injection, intrabursal"; + case ICARDINJ: return "Injection, intracardiac"; + case ICARDINJRP: return "Injection, intracardiac, rapid push"; + case ICARDINJSP: return "Injection, intracardiac, slow push"; + case ICARINJP: return "Injection, intracardiac, push"; + case ICARTINJ: return "Injection, intracartilaginous"; + case ICAUDINJ: return "Injection, intracaudal"; + case ICAVINJ: return "Injection, intracavernous"; + case ICAVITINJ: return "Injection, intracavitary"; + case ICEREBINJ: return "Injection, intracerebral"; + case ICISTERNINJ: return "Injection, intracisternal"; + case ICORONINJ: return "Injection, intracoronary"; + case ICORONINJP: return "Injection, intracoronary, push"; + case ICORPCAVINJ: return "Injection, intracorpus cavernosum"; + case IDINJ: return "Injection, intradermal"; + case IDISCINJ: return "Injection, intradiscal"; + case IDUCTINJ: return "Injection, intraductal"; + case IDURINJ: return "Injection, intradural"; + case IEPIDINJ: return "Injection, intraepidermal"; + case IEPITHINJ: return "Injection, intraepithelial"; + case ILESINJ: return "Injection, intralesional"; + case ILUMINJ: return "Injection, intraluminal"; + case ILYMPJINJ: return "Injection, intralymphatic"; + case IM: return "Injection, intramuscular"; + case IMD: return "Injection, intramuscular, deep"; + case IMZ: return "Injection, intramuscular, z track"; + case IMEDULINJ: return "Injection, intramedullary"; + case INTERMENINJ: return "Injection, interameningeal"; + case INTERSTITINJ: return "Injection, interstitial"; + case IOINJ: return "Injection, intraocular"; + case IOSSINJ: return "Injection, intraosseous"; + case IOVARINJ: return "Injection, intraovarian"; + case IPCARDINJ: return "Injection, intrapericardial"; + case IPERINJ: return "Injection, intraperitoneal"; + case IPINJ: return "Injection, intrapulmonary"; + case IPLRINJ: return "Injection, intrapleural"; + case IPROSTINJ: return "Injection, intraprostatic"; + case IPUMPINJ: return "Injection, insulin pump"; + case ISINJ: return "Injection, intraspinal"; + case ISTERINJ: return "Injection, intrasternal"; + case ISYNINJ: return "Injection, intrasynovial"; + case ITENDINJ: return "Injection, intratendinous"; + case ITESTINJ: return "Injection, intratesticular"; + case ITHORINJ: return "Injection, intrathoracic"; + case ITINJ: return "Injection, intrathecal"; + case ITUBINJ: return "Injection, intratubular"; + case ITUMINJ: return "Injection, intratumor"; + case ITYMPINJ: return "Injection, intratympanic"; + case IUINJ: return "Injection, intrauterine"; + case IUINJC: return "Injection, intracervical (uterus)"; + case IURETINJ: return "Injection, intraureteral, retrograde"; + case IVASCINJ: return "Injection, intravascular"; + case IVENTINJ: return "Injection, intraventricular (heart)"; + case IVESINJ: return "Injection, intravesicle"; + case IVINJ: return "Injection, intravenous"; + case IVINJBOL: return "Injection, intravenous, bolus"; + case IVPUSH: return "Injection, intravenous, push"; + case IVRPUSH: return "Injection, intravenous, rapid push"; + case IVSPUSH: return "Injection, intravenous, slow push"; + case IVITINJ: return "Injection, intravitreal"; + case PAINJ: return "Injection, periarticular"; + case PARENTINJ: return "Injection, parenteral"; + case PDONTINJ: return "Injection, periodontal"; + case PDPINJ: return "Injection, peritoneal dialysis port"; + case PDURINJ: return "Injection, peridural"; + case PNINJ: return "Injection, perineural"; + case PNSINJ: return "Injection, paranasal sinuses"; + case RBINJ: return "Injection, retrobulbar"; + case SCINJ: return "Injection, subconjunctival"; + case SLESINJ: return "Injection, sublesional"; + case SOFTISINJ: return "Injection, soft tissue"; + case SQ: return "Injection, subcutaneous"; + case SUBARACHINJ: return "Injection, subarachnoid"; + case SUBMUCINJ: return "Injection, submucosal"; + case TRPLACINJ: return "Injection, transplacental"; + case TRTRACHINJ: return "Injection, transtracheal"; + case URETHINJ: return "Injection, urethral"; + case URETINJ: return "Injection, ureteral"; + case _INSERTION: return "Insertion"; + case CERVINS: return "Insertion, cervical (uterine)"; + case IOSURGINS: return "Insertion, intraocular, surgical"; + case IU: return "Insertion, intrauterine"; + case LPINS: return "Insertion, lacrimal puncta"; + case PR: return "Insertion, rectal"; + case SQSURGINS: return "Insertion, subcutaneous, surgical"; + case URETHINS: return "Insertion, urethral"; + case VAGINSI: return "Insertion, vaginal"; + case _INSTILLATION: return "Instillation"; + case CECINSTL: return "Instillation, cecostomy"; + case EFT: return "Instillation, enteral feeding tube"; + case ENTINSTL: return "Instillation, enteral"; + case GT: return "Instillation, gastrostomy tube"; + case NGT: return "Instillation, nasogastric tube"; + case OGT: return "Instillation, orogastric tube"; + case BLADINSTL: return "Instillation, urinary catheter"; + case CAPDINSTL: return "Instillation, continuous ambulatory peritoneal dialysis port"; + case CTINSTL: return "Instillation, chest tube"; + case ETINSTL: return "Instillation, endotracheal tube"; + case GJT: return "Instillation, gastro-jejunostomy tube"; + case IBRONCHINSTIL: return "Instillation, intrabronchial"; + case IDUODINSTIL: return "Instillation, intraduodenal"; + case IESOPHINSTIL: return "Instillation, intraesophageal"; + case IGASTINSTIL: return "Instillation, intragastric"; + case IILEALINJ: return "Instillation, intraileal"; + case IOINSTL: return "Instillation, intraocular"; + case ISININSTIL: return "Instillation, intrasinal"; + case ITRACHINSTIL: return "Instillation, intratracheal"; + case IUINSTL: return "Instillation, intrauterine"; + case JJTINSTL: return "Instillation, jejunostomy tube"; + case LARYNGINSTIL: return "Instillation, laryngeal"; + case NASALINSTIL: return "Instillation, nasal"; + case NASOGASINSTIL: return "Instillation, nasogastric"; + case NTT: return "Instillation, nasotracheal tube"; + case OJJ: return "Instillation, orojejunum tube"; + case OT: return "Instillation, otic"; + case PDPINSTL: return "Instillation, peritoneal dialysis port"; + case PNSINSTL: return "Instillation, paranasal sinuses"; + case RECINSTL: return "Instillation, rectal"; + case RECTINSTL: return "Instillation, rectal tube"; + case SININSTIL: return "Instillation, sinus, unspecified"; + case SOFTISINSTIL: return "Instillation, soft tissue"; + case TRACHINSTL: return "Instillation, tracheostomy"; + case TRTYMPINSTIL: return "Instillation, transtympanic"; + case URETHINSTL: return "instillation, urethral"; + case _IONTOPHORESISROUTE: return "IontophoresisRoute"; + case IONTO: return "Topical application, iontophoresis"; + case _IRRIGATION: return "Irrigation"; + case GUIRR: return "Irrigation, genitourinary"; + case IGASTIRR: return "Irrigation, intragastric"; + case ILESIRR: return "Irrigation, intralesional"; + case IOIRR: return "Irrigation, intraocular"; + case BLADIRR: return "Irrigation, urinary bladder"; + case BLADIRRC: return "Irrigation, urinary bladder, continuous"; + case BLADIRRT: return "Irrigation, urinary bladder, tidal"; + case RECIRR: return "Irrigation, rectal"; + case _LAVAGEROUTE: return "LavageRoute"; + case IGASTLAV: return "Lavage, intragastric"; + case _MUCOSALABSORPTIONROUTE: return "MucosalAbsorptionRoute"; + case IDOUDMAB: return "Mucosal absorption, intraduodenal"; + case ITRACHMAB: return "Mucosal absorption, intratracheal"; + case SMUCMAB: return "Mucosal absorption, submucosal"; + case _NEBULIZATION: return "Nebulization"; + case ETNEB: return "Nebulization, endotracheal tube"; + case _RINSE: return "Rinse"; + case DENRINSE: return "Rinse, dental"; + case ORRINSE: return "Rinse, oral"; + case _SUPPOSITORYROUTE: return "SuppositoryRoute"; + case URETHSUP: return "Suppository, urethral"; + case _SWISH: return "Swish"; + case SWISHSPIT: return "Swish and spit out, oromucosal"; + case SWISHSWAL: return "Swish and swallow, oromucosal"; + case _TOPICALABSORPTIONROUTE: return "TopicalAbsorptionRoute"; + case TTYMPTABSORP: return "Topical absorption, transtympanic"; + case _TOPICALAPPLICATION: return "TopicalApplication"; + case DRESS: return "Topical application, soaked dressing"; + case SWAB: return "Topical application, swab"; + case TOPICAL: return "Topical"; + case BUC: return "Topical application, buccal"; + case CERV: return "Topical application, cervical"; + case DEN: return "Topical application, dental"; + case GIN: return "Topical application, gingival"; + case HAIR: return "Topical application, hair"; + case ICORNTA: return "Topical application, intracorneal"; + case ICORONTA: return "Topical application, intracoronal (dental)"; + case IESOPHTA: return "Topical application, intraesophageal"; + case IILEALTA: return "Topical application, intraileal"; + case ILTOP: return "Topical application, intralesional"; + case ILUMTA: return "Topical application, intraluminal"; + case IOTOP: return "Topical application, intraocular"; + case LARYNGTA: return "Topical application, laryngeal"; + case MUC: return "Topical application, mucous membrane"; + case NAIL: return "Topical application, nail"; + case NASAL: return "Topical application, nasal"; + case OPTHALTA: return "Topical application, ophthalmic"; + case ORALTA: return "Topical application, oral"; + case ORMUC: return "Topical application, oromucosal"; + case OROPHARTA: return "Topical application, oropharyngeal"; + case PERIANAL: return "Topical application, perianal"; + case PERINEAL: return "Topical application, perineal"; + case PDONTTA: return "Topical application, periodontal"; + case RECTAL: return "Topical application, rectal"; + case SCALP: return "Topical application, scalp"; + case OCDRESTA: return "Occlusive dressing technique"; + case SKIN: return "Topical application, skin"; + case SUBCONJTA: return "Subconjunctival"; + case TMUCTA: return "Topical application, transmucosal"; + case VAGINS: return "Topical application, vaginal"; + case INSUF: return "Insufflation"; + case TRNSDERM: return "Transdermal"; + case _ROUTEBYSITE: return "RouteBySite"; + case _AMNIOTICFLUIDSACROUTE: return "AmnioticFluidSacRoute"; + case _BILIARYROUTE: return "BiliaryRoute"; + case _BODYSURFACEROUTE: return "BodySurfaceRoute"; + case _BUCCALMUCOSAROUTE: return "BuccalMucosaRoute"; + case _CECOSTOMYROUTE: return "CecostomyRoute"; + case _CERVICALROUTE: return "CervicalRoute"; + case _ENDOCERVICALROUTE: return "EndocervicalRoute"; + case _ENTERALROUTE: return "EnteralRoute"; + case _EPIDURALROUTE: return "EpiduralRoute"; + case _EXTRAAMNIOTICROUTE: return "ExtraAmnioticRoute"; + case _EXTRACORPOREALCIRCULATIONROUTE: return "ExtracorporealCirculationRoute"; + case _GASTRICROUTE: return "GastricRoute"; + case _GENITOURINARYROUTE: return "GenitourinaryRoute"; + case _GINGIVALROUTE: return "GingivalRoute"; + case _HAIRROUTE: return "HairRoute"; + case _INTERAMENINGEALROUTE: return "InterameningealRoute"; + case _INTERSTITIALROUTE: return "InterstitialRoute"; + case _INTRAABDOMINALROUTE: return "IntraabdominalRoute"; + case _INTRAARTERIALROUTE: return "IntraarterialRoute"; + case _INTRAARTICULARROUTE: return "IntraarticularRoute"; + case _INTRABRONCHIALROUTE: return "IntrabronchialRoute"; + case _INTRABURSALROUTE: return "IntrabursalRoute"; + case _INTRACARDIACROUTE: return "IntracardiacRoute"; + case _INTRACARTILAGINOUSROUTE: return "IntracartilaginousRoute"; + case _INTRACAUDALROUTE: return "IntracaudalRoute"; + case _INTRACAVERNOSALROUTE: return "IntracavernosalRoute"; + case _INTRACAVITARYROUTE: return "IntracavitaryRoute"; + case _INTRACEREBRALROUTE: return "IntracerebralRoute"; + case _INTRACERVICALROUTE: return "IntracervicalRoute"; + case _INTRACISTERNALROUTE: return "IntracisternalRoute"; + case _INTRACORNEALROUTE: return "IntracornealRoute"; + case _INTRACORONALROUTE: return "IntracoronalRoute"; + case _INTRACORONARYROUTE: return "IntracoronaryRoute"; + case _INTRACORPUSCAVERNOSUMROUTE: return "IntracorpusCavernosumRoute"; + case _INTRADERMALROUTE: return "IntradermalRoute"; + case _INTRADISCALROUTE: return "IntradiscalRoute"; + case _INTRADUCTALROUTE: return "IntraductalRoute"; + case _INTRADUODENALROUTE: return "IntraduodenalRoute"; + case _INTRADURALROUTE: return "IntraduralRoute"; + case _INTRAEPIDERMALROUTE: return "IntraepidermalRoute"; + case _INTRAEPITHELIALROUTE: return "IntraepithelialRoute"; + case _INTRAESOPHAGEALROUTE: return "IntraesophagealRoute"; + case _INTRAGASTRICROUTE: return "IntragastricRoute"; + case _INTRAILEALROUTE: return "IntrailealRoute"; + case _INTRALESIONALROUTE: return "IntralesionalRoute"; + case _INTRALUMINALROUTE: return "IntraluminalRoute"; + case _INTRALYMPHATICROUTE: return "IntralymphaticRoute"; + case _INTRAMEDULLARYROUTE: return "IntramedullaryRoute"; + case _INTRAMUSCULARROUTE: return "IntramuscularRoute"; + case _INTRAOCULARROUTE: return "IntraocularRoute"; + case _INTRAOSSEOUSROUTE: return "IntraosseousRoute"; + case _INTRAOVARIANROUTE: return "IntraovarianRoute"; + case _INTRAPERICARDIALROUTE: return "IntrapericardialRoute"; + case _INTRAPERITONEALROUTE: return "IntraperitonealRoute"; + case _INTRAPLEURALROUTE: return "IntrapleuralRoute"; + case _INTRAPROSTATICROUTE: return "IntraprostaticRoute"; + case _INTRAPULMONARYROUTE: return "IntrapulmonaryRoute"; + case _INTRASINALROUTE: return "IntrasinalRoute"; + case _INTRASPINALROUTE: return "IntraspinalRoute"; + case _INTRASTERNALROUTE: return "IntrasternalRoute"; + case _INTRASYNOVIALROUTE: return "IntrasynovialRoute"; + case _INTRATENDINOUSROUTE: return "IntratendinousRoute"; + case _INTRATESTICULARROUTE: return "IntratesticularRoute"; + case _INTRATHECALROUTE: return "IntrathecalRoute"; + case _INTRATHORACICROUTE: return "IntrathoracicRoute"; + case _INTRATRACHEALROUTE: return "IntratrachealRoute"; + case _INTRATUBULARROUTE: return "IntratubularRoute"; + case _INTRATUMORROUTE: return "IntratumorRoute"; + case _INTRATYMPANICROUTE: return "IntratympanicRoute"; + case _INTRAUTERINEROUTE: return "IntrauterineRoute"; + case _INTRAVASCULARROUTE: return "IntravascularRoute"; + case _INTRAVENOUSROUTE: return "IntravenousRoute"; + case _INTRAVENTRICULARROUTE: return "IntraventricularRoute"; + case _INTRAVESICLEROUTE: return "IntravesicleRoute"; + case _INTRAVITREALROUTE: return "IntravitrealRoute"; + case _JEJUNUMROUTE: return "JejunumRoute"; + case _LACRIMALPUNCTAROUTE: return "LacrimalPunctaRoute"; + case _LARYNGEALROUTE: return "LaryngealRoute"; + case _LINGUALROUTE: return "LingualRoute"; + case _MUCOUSMEMBRANEROUTE: return "MucousMembraneRoute"; + case _NAILROUTE: return "NailRoute"; + case _NASALROUTE: return "NasalRoute"; + case _OPHTHALMICROUTE: return "OphthalmicRoute"; + case _ORALROUTE: return "OralRoute"; + case _OROMUCOSALROUTE: return "OromucosalRoute"; + case _OROPHARYNGEALROUTE: return "OropharyngealRoute"; + case _OTICROUTE: return "OticRoute"; + case _PARANASALSINUSESROUTE: return "ParanasalSinusesRoute"; + case _PARENTERALROUTE: return "ParenteralRoute"; + case _PERIANALROUTE: return "PerianalRoute"; + case _PERIARTICULARROUTE: return "PeriarticularRoute"; + case _PERIDURALROUTE: return "PeriduralRoute"; + case _PERINEALROUTE: return "PerinealRoute"; + case _PERINEURALROUTE: return "PerineuralRoute"; + case _PERIODONTALROUTE: return "PeriodontalRoute"; + case _PULMONARYROUTE: return "PulmonaryRoute"; + case _RECTALROUTE: return "RectalRoute"; + case _RESPIRATORYTRACTROUTE: return "RespiratoryTractRoute"; + case _RETROBULBARROUTE: return "RetrobulbarRoute"; + case _SCALPROUTE: return "ScalpRoute"; + case _SINUSUNSPECIFIEDROUTE: return "SinusUnspecifiedRoute"; + case _SKINROUTE: return "SkinRoute"; + case _SOFTTISSUEROUTE: return "SoftTissueRoute"; + case _SUBARACHNOIDROUTE: return "SubarachnoidRoute"; + case _SUBCONJUNCTIVALROUTE: return "SubconjunctivalRoute"; + case _SUBCUTANEOUSROUTE: return "SubcutaneousRoute"; + case _SUBLESIONALROUTE: return "SublesionalRoute"; + case _SUBLINGUALROUTE: return "SublingualRoute"; + case _SUBMUCOSALROUTE: return "SubmucosalRoute"; + case _TRACHEOSTOMYROUTE: return "TracheostomyRoute"; + case _TRANSMUCOSALROUTE: return "TransmucosalRoute"; + case _TRANSPLACENTALROUTE: return "TransplacentalRoute"; + case _TRANSTRACHEALROUTE: return "TranstrachealRoute"; + case _TRANSTYMPANICROUTE: return "TranstympanicRoute"; + case _URETERALROUTE: return "UreteralRoute"; + case _URETHRALROUTE: return "UrethralRoute"; + case _URINARYBLADDERROUTE: return "UrinaryBladderRoute"; + case _URINARYTRACTROUTE: return "UrinaryTractRoute"; + case _VAGINALROUTE: return "VaginalRoute"; + case _VITREOUSHUMOURROUTE: return "VitreousHumourRoute"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministrationEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministrationEnumFactory.java new file mode 100644 index 00000000000..e3cfa92c9ae --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3RouteOfAdministrationEnumFactory.java @@ -0,0 +1,1595 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3RouteOfAdministrationEnumFactory implements EnumFactory { + + public V3RouteOfAdministration fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_RouteByMethod".equals(codeString)) + return V3RouteOfAdministration._ROUTEBYMETHOD; + if ("SOAK".equals(codeString)) + return V3RouteOfAdministration.SOAK; + if ("SHAMPOO".equals(codeString)) + return V3RouteOfAdministration.SHAMPOO; + if ("TRNSLING".equals(codeString)) + return V3RouteOfAdministration.TRNSLING; + if ("PO".equals(codeString)) + return V3RouteOfAdministration.PO; + if ("GARGLE".equals(codeString)) + return V3RouteOfAdministration.GARGLE; + if ("SUCK".equals(codeString)) + return V3RouteOfAdministration.SUCK; + if ("_Chew".equals(codeString)) + return V3RouteOfAdministration._CHEW; + if ("CHEW".equals(codeString)) + return V3RouteOfAdministration.CHEW; + if ("_Diffusion".equals(codeString)) + return V3RouteOfAdministration._DIFFUSION; + if ("EXTCORPDIF".equals(codeString)) + return V3RouteOfAdministration.EXTCORPDIF; + if ("HEMODIFF".equals(codeString)) + return V3RouteOfAdministration.HEMODIFF; + if ("TRNSDERMD".equals(codeString)) + return V3RouteOfAdministration.TRNSDERMD; + if ("_Dissolve".equals(codeString)) + return V3RouteOfAdministration._DISSOLVE; + if ("DISSOLVE".equals(codeString)) + return V3RouteOfAdministration.DISSOLVE; + if ("SL".equals(codeString)) + return V3RouteOfAdministration.SL; + if ("_Douche".equals(codeString)) + return V3RouteOfAdministration._DOUCHE; + if ("DOUCHE".equals(codeString)) + return V3RouteOfAdministration.DOUCHE; + if ("_ElectroOsmosisRoute".equals(codeString)) + return V3RouteOfAdministration._ELECTROOSMOSISROUTE; + if ("ELECTOSMOS".equals(codeString)) + return V3RouteOfAdministration.ELECTOSMOS; + if ("_Enema".equals(codeString)) + return V3RouteOfAdministration._ENEMA; + if ("ENEMA".equals(codeString)) + return V3RouteOfAdministration.ENEMA; + if ("RETENEMA".equals(codeString)) + return V3RouteOfAdministration.RETENEMA; + if ("_Flush".equals(codeString)) + return V3RouteOfAdministration._FLUSH; + if ("IVFLUSH".equals(codeString)) + return V3RouteOfAdministration.IVFLUSH; + if ("_Implantation".equals(codeString)) + return V3RouteOfAdministration._IMPLANTATION; + if ("IDIMPLNT".equals(codeString)) + return V3RouteOfAdministration.IDIMPLNT; + if ("IVITIMPLNT".equals(codeString)) + return V3RouteOfAdministration.IVITIMPLNT; + if ("SQIMPLNT".equals(codeString)) + return V3RouteOfAdministration.SQIMPLNT; + if ("_Infusion".equals(codeString)) + return V3RouteOfAdministration._INFUSION; + if ("EPI".equals(codeString)) + return V3RouteOfAdministration.EPI; + if ("IA".equals(codeString)) + return V3RouteOfAdministration.IA; + if ("IC".equals(codeString)) + return V3RouteOfAdministration.IC; + if ("ICOR".equals(codeString)) + return V3RouteOfAdministration.ICOR; + if ("IOSSC".equals(codeString)) + return V3RouteOfAdministration.IOSSC; + if ("IT".equals(codeString)) + return V3RouteOfAdministration.IT; + if ("IV".equals(codeString)) + return V3RouteOfAdministration.IV; + if ("IVC".equals(codeString)) + return V3RouteOfAdministration.IVC; + if ("IVCC".equals(codeString)) + return V3RouteOfAdministration.IVCC; + if ("IVCI".equals(codeString)) + return V3RouteOfAdministration.IVCI; + if ("PCA".equals(codeString)) + return V3RouteOfAdministration.PCA; + if ("IVASCINFUS".equals(codeString)) + return V3RouteOfAdministration.IVASCINFUS; + if ("SQINFUS".equals(codeString)) + return V3RouteOfAdministration.SQINFUS; + if ("_Inhalation".equals(codeString)) + return V3RouteOfAdministration._INHALATION; + if ("IPINHL".equals(codeString)) + return V3RouteOfAdministration.IPINHL; + if ("ORIFINHL".equals(codeString)) + return V3RouteOfAdministration.ORIFINHL; + if ("REBREATH".equals(codeString)) + return V3RouteOfAdministration.REBREATH; + if ("IPPB".equals(codeString)) + return V3RouteOfAdministration.IPPB; + if ("NASINHL".equals(codeString)) + return V3RouteOfAdministration.NASINHL; + if ("NASINHLC".equals(codeString)) + return V3RouteOfAdministration.NASINHLC; + if ("NEB".equals(codeString)) + return V3RouteOfAdministration.NEB; + if ("NASNEB".equals(codeString)) + return V3RouteOfAdministration.NASNEB; + if ("ORNEB".equals(codeString)) + return V3RouteOfAdministration.ORNEB; + if ("TRACH".equals(codeString)) + return V3RouteOfAdministration.TRACH; + if ("VENT".equals(codeString)) + return V3RouteOfAdministration.VENT; + if ("VENTMASK".equals(codeString)) + return V3RouteOfAdministration.VENTMASK; + if ("_Injection".equals(codeString)) + return V3RouteOfAdministration._INJECTION; + if ("AMNINJ".equals(codeString)) + return V3RouteOfAdministration.AMNINJ; + if ("BILINJ".equals(codeString)) + return V3RouteOfAdministration.BILINJ; + if ("CHOLINJ".equals(codeString)) + return V3RouteOfAdministration.CHOLINJ; + if ("CERVINJ".equals(codeString)) + return V3RouteOfAdministration.CERVINJ; + if ("EPIDURINJ".equals(codeString)) + return V3RouteOfAdministration.EPIDURINJ; + if ("EPIINJ".equals(codeString)) + return V3RouteOfAdministration.EPIINJ; + if ("EPINJSP".equals(codeString)) + return V3RouteOfAdministration.EPINJSP; + if ("EXTRAMNINJ".equals(codeString)) + return V3RouteOfAdministration.EXTRAMNINJ; + if ("EXTCORPINJ".equals(codeString)) + return V3RouteOfAdministration.EXTCORPINJ; + if ("GBINJ".equals(codeString)) + return V3RouteOfAdministration.GBINJ; + if ("GINGINJ".equals(codeString)) + return V3RouteOfAdministration.GINGINJ; + if ("BLADINJ".equals(codeString)) + return V3RouteOfAdministration.BLADINJ; + if ("ENDOSININJ".equals(codeString)) + return V3RouteOfAdministration.ENDOSININJ; + if ("HEMOPORT".equals(codeString)) + return V3RouteOfAdministration.HEMOPORT; + if ("IABDINJ".equals(codeString)) + return V3RouteOfAdministration.IABDINJ; + if ("IAINJ".equals(codeString)) + return V3RouteOfAdministration.IAINJ; + if ("IAINJP".equals(codeString)) + return V3RouteOfAdministration.IAINJP; + if ("IAINJSP".equals(codeString)) + return V3RouteOfAdministration.IAINJSP; + if ("IARTINJ".equals(codeString)) + return V3RouteOfAdministration.IARTINJ; + if ("IBURSINJ".equals(codeString)) + return V3RouteOfAdministration.IBURSINJ; + if ("ICARDINJ".equals(codeString)) + return V3RouteOfAdministration.ICARDINJ; + if ("ICARDINJRP".equals(codeString)) + return V3RouteOfAdministration.ICARDINJRP; + if ("ICARDINJSP".equals(codeString)) + return V3RouteOfAdministration.ICARDINJSP; + if ("ICARINJP".equals(codeString)) + return V3RouteOfAdministration.ICARINJP; + if ("ICARTINJ".equals(codeString)) + return V3RouteOfAdministration.ICARTINJ; + if ("ICAUDINJ".equals(codeString)) + return V3RouteOfAdministration.ICAUDINJ; + if ("ICAVINJ".equals(codeString)) + return V3RouteOfAdministration.ICAVINJ; + if ("ICAVITINJ".equals(codeString)) + return V3RouteOfAdministration.ICAVITINJ; + if ("ICEREBINJ".equals(codeString)) + return V3RouteOfAdministration.ICEREBINJ; + if ("ICISTERNINJ".equals(codeString)) + return V3RouteOfAdministration.ICISTERNINJ; + if ("ICORONINJ".equals(codeString)) + return V3RouteOfAdministration.ICORONINJ; + if ("ICORONINJP".equals(codeString)) + return V3RouteOfAdministration.ICORONINJP; + if ("ICORPCAVINJ".equals(codeString)) + return V3RouteOfAdministration.ICORPCAVINJ; + if ("IDINJ".equals(codeString)) + return V3RouteOfAdministration.IDINJ; + if ("IDISCINJ".equals(codeString)) + return V3RouteOfAdministration.IDISCINJ; + if ("IDUCTINJ".equals(codeString)) + return V3RouteOfAdministration.IDUCTINJ; + if ("IDURINJ".equals(codeString)) + return V3RouteOfAdministration.IDURINJ; + if ("IEPIDINJ".equals(codeString)) + return V3RouteOfAdministration.IEPIDINJ; + if ("IEPITHINJ".equals(codeString)) + return V3RouteOfAdministration.IEPITHINJ; + if ("ILESINJ".equals(codeString)) + return V3RouteOfAdministration.ILESINJ; + if ("ILUMINJ".equals(codeString)) + return V3RouteOfAdministration.ILUMINJ; + if ("ILYMPJINJ".equals(codeString)) + return V3RouteOfAdministration.ILYMPJINJ; + if ("IM".equals(codeString)) + return V3RouteOfAdministration.IM; + if ("IMD".equals(codeString)) + return V3RouteOfAdministration.IMD; + if ("IMZ".equals(codeString)) + return V3RouteOfAdministration.IMZ; + if ("IMEDULINJ".equals(codeString)) + return V3RouteOfAdministration.IMEDULINJ; + if ("INTERMENINJ".equals(codeString)) + return V3RouteOfAdministration.INTERMENINJ; + if ("INTERSTITINJ".equals(codeString)) + return V3RouteOfAdministration.INTERSTITINJ; + if ("IOINJ".equals(codeString)) + return V3RouteOfAdministration.IOINJ; + if ("IOSSINJ".equals(codeString)) + return V3RouteOfAdministration.IOSSINJ; + if ("IOVARINJ".equals(codeString)) + return V3RouteOfAdministration.IOVARINJ; + if ("IPCARDINJ".equals(codeString)) + return V3RouteOfAdministration.IPCARDINJ; + if ("IPERINJ".equals(codeString)) + return V3RouteOfAdministration.IPERINJ; + if ("IPINJ".equals(codeString)) + return V3RouteOfAdministration.IPINJ; + if ("IPLRINJ".equals(codeString)) + return V3RouteOfAdministration.IPLRINJ; + if ("IPROSTINJ".equals(codeString)) + return V3RouteOfAdministration.IPROSTINJ; + if ("IPUMPINJ".equals(codeString)) + return V3RouteOfAdministration.IPUMPINJ; + if ("ISINJ".equals(codeString)) + return V3RouteOfAdministration.ISINJ; + if ("ISTERINJ".equals(codeString)) + return V3RouteOfAdministration.ISTERINJ; + if ("ISYNINJ".equals(codeString)) + return V3RouteOfAdministration.ISYNINJ; + if ("ITENDINJ".equals(codeString)) + return V3RouteOfAdministration.ITENDINJ; + if ("ITESTINJ".equals(codeString)) + return V3RouteOfAdministration.ITESTINJ; + if ("ITHORINJ".equals(codeString)) + return V3RouteOfAdministration.ITHORINJ; + if ("ITINJ".equals(codeString)) + return V3RouteOfAdministration.ITINJ; + if ("ITUBINJ".equals(codeString)) + return V3RouteOfAdministration.ITUBINJ; + if ("ITUMINJ".equals(codeString)) + return V3RouteOfAdministration.ITUMINJ; + if ("ITYMPINJ".equals(codeString)) + return V3RouteOfAdministration.ITYMPINJ; + if ("IUINJ".equals(codeString)) + return V3RouteOfAdministration.IUINJ; + if ("IUINJC".equals(codeString)) + return V3RouteOfAdministration.IUINJC; + if ("IURETINJ".equals(codeString)) + return V3RouteOfAdministration.IURETINJ; + if ("IVASCINJ".equals(codeString)) + return V3RouteOfAdministration.IVASCINJ; + if ("IVENTINJ".equals(codeString)) + return V3RouteOfAdministration.IVENTINJ; + if ("IVESINJ".equals(codeString)) + return V3RouteOfAdministration.IVESINJ; + if ("IVINJ".equals(codeString)) + return V3RouteOfAdministration.IVINJ; + if ("IVINJBOL".equals(codeString)) + return V3RouteOfAdministration.IVINJBOL; + if ("IVPUSH".equals(codeString)) + return V3RouteOfAdministration.IVPUSH; + if ("IVRPUSH".equals(codeString)) + return V3RouteOfAdministration.IVRPUSH; + if ("IVSPUSH".equals(codeString)) + return V3RouteOfAdministration.IVSPUSH; + if ("IVITINJ".equals(codeString)) + return V3RouteOfAdministration.IVITINJ; + if ("PAINJ".equals(codeString)) + return V3RouteOfAdministration.PAINJ; + if ("PARENTINJ".equals(codeString)) + return V3RouteOfAdministration.PARENTINJ; + if ("PDONTINJ".equals(codeString)) + return V3RouteOfAdministration.PDONTINJ; + if ("PDPINJ".equals(codeString)) + return V3RouteOfAdministration.PDPINJ; + if ("PDURINJ".equals(codeString)) + return V3RouteOfAdministration.PDURINJ; + if ("PNINJ".equals(codeString)) + return V3RouteOfAdministration.PNINJ; + if ("PNSINJ".equals(codeString)) + return V3RouteOfAdministration.PNSINJ; + if ("RBINJ".equals(codeString)) + return V3RouteOfAdministration.RBINJ; + if ("SCINJ".equals(codeString)) + return V3RouteOfAdministration.SCINJ; + if ("SLESINJ".equals(codeString)) + return V3RouteOfAdministration.SLESINJ; + if ("SOFTISINJ".equals(codeString)) + return V3RouteOfAdministration.SOFTISINJ; + if ("SQ".equals(codeString)) + return V3RouteOfAdministration.SQ; + if ("SUBARACHINJ".equals(codeString)) + return V3RouteOfAdministration.SUBARACHINJ; + if ("SUBMUCINJ".equals(codeString)) + return V3RouteOfAdministration.SUBMUCINJ; + if ("TRPLACINJ".equals(codeString)) + return V3RouteOfAdministration.TRPLACINJ; + if ("TRTRACHINJ".equals(codeString)) + return V3RouteOfAdministration.TRTRACHINJ; + if ("URETHINJ".equals(codeString)) + return V3RouteOfAdministration.URETHINJ; + if ("URETINJ".equals(codeString)) + return V3RouteOfAdministration.URETINJ; + if ("_Insertion".equals(codeString)) + return V3RouteOfAdministration._INSERTION; + if ("CERVINS".equals(codeString)) + return V3RouteOfAdministration.CERVINS; + if ("IOSURGINS".equals(codeString)) + return V3RouteOfAdministration.IOSURGINS; + if ("IU".equals(codeString)) + return V3RouteOfAdministration.IU; + if ("LPINS".equals(codeString)) + return V3RouteOfAdministration.LPINS; + if ("PR".equals(codeString)) + return V3RouteOfAdministration.PR; + if ("SQSURGINS".equals(codeString)) + return V3RouteOfAdministration.SQSURGINS; + if ("URETHINS".equals(codeString)) + return V3RouteOfAdministration.URETHINS; + if ("VAGINSI".equals(codeString)) + return V3RouteOfAdministration.VAGINSI; + if ("_Instillation".equals(codeString)) + return V3RouteOfAdministration._INSTILLATION; + if ("CECINSTL".equals(codeString)) + return V3RouteOfAdministration.CECINSTL; + if ("EFT".equals(codeString)) + return V3RouteOfAdministration.EFT; + if ("ENTINSTL".equals(codeString)) + return V3RouteOfAdministration.ENTINSTL; + if ("GT".equals(codeString)) + return V3RouteOfAdministration.GT; + if ("NGT".equals(codeString)) + return V3RouteOfAdministration.NGT; + if ("OGT".equals(codeString)) + return V3RouteOfAdministration.OGT; + if ("BLADINSTL".equals(codeString)) + return V3RouteOfAdministration.BLADINSTL; + if ("CAPDINSTL".equals(codeString)) + return V3RouteOfAdministration.CAPDINSTL; + if ("CTINSTL".equals(codeString)) + return V3RouteOfAdministration.CTINSTL; + if ("ETINSTL".equals(codeString)) + return V3RouteOfAdministration.ETINSTL; + if ("GJT".equals(codeString)) + return V3RouteOfAdministration.GJT; + if ("IBRONCHINSTIL".equals(codeString)) + return V3RouteOfAdministration.IBRONCHINSTIL; + if ("IDUODINSTIL".equals(codeString)) + return V3RouteOfAdministration.IDUODINSTIL; + if ("IESOPHINSTIL".equals(codeString)) + return V3RouteOfAdministration.IESOPHINSTIL; + if ("IGASTINSTIL".equals(codeString)) + return V3RouteOfAdministration.IGASTINSTIL; + if ("IILEALINJ".equals(codeString)) + return V3RouteOfAdministration.IILEALINJ; + if ("IOINSTL".equals(codeString)) + return V3RouteOfAdministration.IOINSTL; + if ("ISININSTIL".equals(codeString)) + return V3RouteOfAdministration.ISININSTIL; + if ("ITRACHINSTIL".equals(codeString)) + return V3RouteOfAdministration.ITRACHINSTIL; + if ("IUINSTL".equals(codeString)) + return V3RouteOfAdministration.IUINSTL; + if ("JJTINSTL".equals(codeString)) + return V3RouteOfAdministration.JJTINSTL; + if ("LARYNGINSTIL".equals(codeString)) + return V3RouteOfAdministration.LARYNGINSTIL; + if ("NASALINSTIL".equals(codeString)) + return V3RouteOfAdministration.NASALINSTIL; + if ("NASOGASINSTIL".equals(codeString)) + return V3RouteOfAdministration.NASOGASINSTIL; + if ("NTT".equals(codeString)) + return V3RouteOfAdministration.NTT; + if ("OJJ".equals(codeString)) + return V3RouteOfAdministration.OJJ; + if ("OT".equals(codeString)) + return V3RouteOfAdministration.OT; + if ("PDPINSTL".equals(codeString)) + return V3RouteOfAdministration.PDPINSTL; + if ("PNSINSTL".equals(codeString)) + return V3RouteOfAdministration.PNSINSTL; + if ("RECINSTL".equals(codeString)) + return V3RouteOfAdministration.RECINSTL; + if ("RECTINSTL".equals(codeString)) + return V3RouteOfAdministration.RECTINSTL; + if ("SININSTIL".equals(codeString)) + return V3RouteOfAdministration.SININSTIL; + if ("SOFTISINSTIL".equals(codeString)) + return V3RouteOfAdministration.SOFTISINSTIL; + if ("TRACHINSTL".equals(codeString)) + return V3RouteOfAdministration.TRACHINSTL; + if ("TRTYMPINSTIL".equals(codeString)) + return V3RouteOfAdministration.TRTYMPINSTIL; + if ("URETHINSTL".equals(codeString)) + return V3RouteOfAdministration.URETHINSTL; + if ("_IontophoresisRoute".equals(codeString)) + return V3RouteOfAdministration._IONTOPHORESISROUTE; + if ("IONTO".equals(codeString)) + return V3RouteOfAdministration.IONTO; + if ("_Irrigation".equals(codeString)) + return V3RouteOfAdministration._IRRIGATION; + if ("GUIRR".equals(codeString)) + return V3RouteOfAdministration.GUIRR; + if ("IGASTIRR".equals(codeString)) + return V3RouteOfAdministration.IGASTIRR; + if ("ILESIRR".equals(codeString)) + return V3RouteOfAdministration.ILESIRR; + if ("IOIRR".equals(codeString)) + return V3RouteOfAdministration.IOIRR; + if ("BLADIRR".equals(codeString)) + return V3RouteOfAdministration.BLADIRR; + if ("BLADIRRC".equals(codeString)) + return V3RouteOfAdministration.BLADIRRC; + if ("BLADIRRT".equals(codeString)) + return V3RouteOfAdministration.BLADIRRT; + if ("RECIRR".equals(codeString)) + return V3RouteOfAdministration.RECIRR; + if ("_LavageRoute".equals(codeString)) + return V3RouteOfAdministration._LAVAGEROUTE; + if ("IGASTLAV".equals(codeString)) + return V3RouteOfAdministration.IGASTLAV; + if ("_MucosalAbsorptionRoute".equals(codeString)) + return V3RouteOfAdministration._MUCOSALABSORPTIONROUTE; + if ("IDOUDMAB".equals(codeString)) + return V3RouteOfAdministration.IDOUDMAB; + if ("ITRACHMAB".equals(codeString)) + return V3RouteOfAdministration.ITRACHMAB; + if ("SMUCMAB".equals(codeString)) + return V3RouteOfAdministration.SMUCMAB; + if ("_Nebulization".equals(codeString)) + return V3RouteOfAdministration._NEBULIZATION; + if ("ETNEB".equals(codeString)) + return V3RouteOfAdministration.ETNEB; + if ("_Rinse".equals(codeString)) + return V3RouteOfAdministration._RINSE; + if ("DENRINSE".equals(codeString)) + return V3RouteOfAdministration.DENRINSE; + if ("ORRINSE".equals(codeString)) + return V3RouteOfAdministration.ORRINSE; + if ("_SuppositoryRoute".equals(codeString)) + return V3RouteOfAdministration._SUPPOSITORYROUTE; + if ("URETHSUP".equals(codeString)) + return V3RouteOfAdministration.URETHSUP; + if ("_Swish".equals(codeString)) + return V3RouteOfAdministration._SWISH; + if ("SWISHSPIT".equals(codeString)) + return V3RouteOfAdministration.SWISHSPIT; + if ("SWISHSWAL".equals(codeString)) + return V3RouteOfAdministration.SWISHSWAL; + if ("_TopicalAbsorptionRoute".equals(codeString)) + return V3RouteOfAdministration._TOPICALABSORPTIONROUTE; + if ("TTYMPTABSORP".equals(codeString)) + return V3RouteOfAdministration.TTYMPTABSORP; + if ("_TopicalApplication".equals(codeString)) + return V3RouteOfAdministration._TOPICALAPPLICATION; + if ("DRESS".equals(codeString)) + return V3RouteOfAdministration.DRESS; + if ("SWAB".equals(codeString)) + return V3RouteOfAdministration.SWAB; + if ("TOPICAL".equals(codeString)) + return V3RouteOfAdministration.TOPICAL; + if ("BUC".equals(codeString)) + return V3RouteOfAdministration.BUC; + if ("CERV".equals(codeString)) + return V3RouteOfAdministration.CERV; + if ("DEN".equals(codeString)) + return V3RouteOfAdministration.DEN; + if ("GIN".equals(codeString)) + return V3RouteOfAdministration.GIN; + if ("HAIR".equals(codeString)) + return V3RouteOfAdministration.HAIR; + if ("ICORNTA".equals(codeString)) + return V3RouteOfAdministration.ICORNTA; + if ("ICORONTA".equals(codeString)) + return V3RouteOfAdministration.ICORONTA; + if ("IESOPHTA".equals(codeString)) + return V3RouteOfAdministration.IESOPHTA; + if ("IILEALTA".equals(codeString)) + return V3RouteOfAdministration.IILEALTA; + if ("ILTOP".equals(codeString)) + return V3RouteOfAdministration.ILTOP; + if ("ILUMTA".equals(codeString)) + return V3RouteOfAdministration.ILUMTA; + if ("IOTOP".equals(codeString)) + return V3RouteOfAdministration.IOTOP; + if ("LARYNGTA".equals(codeString)) + return V3RouteOfAdministration.LARYNGTA; + if ("MUC".equals(codeString)) + return V3RouteOfAdministration.MUC; + if ("NAIL".equals(codeString)) + return V3RouteOfAdministration.NAIL; + if ("NASAL".equals(codeString)) + return V3RouteOfAdministration.NASAL; + if ("OPTHALTA".equals(codeString)) + return V3RouteOfAdministration.OPTHALTA; + if ("ORALTA".equals(codeString)) + return V3RouteOfAdministration.ORALTA; + if ("ORMUC".equals(codeString)) + return V3RouteOfAdministration.ORMUC; + if ("OROPHARTA".equals(codeString)) + return V3RouteOfAdministration.OROPHARTA; + if ("PERIANAL".equals(codeString)) + return V3RouteOfAdministration.PERIANAL; + if ("PERINEAL".equals(codeString)) + return V3RouteOfAdministration.PERINEAL; + if ("PDONTTA".equals(codeString)) + return V3RouteOfAdministration.PDONTTA; + if ("RECTAL".equals(codeString)) + return V3RouteOfAdministration.RECTAL; + if ("SCALP".equals(codeString)) + return V3RouteOfAdministration.SCALP; + if ("OCDRESTA".equals(codeString)) + return V3RouteOfAdministration.OCDRESTA; + if ("SKIN".equals(codeString)) + return V3RouteOfAdministration.SKIN; + if ("SUBCONJTA".equals(codeString)) + return V3RouteOfAdministration.SUBCONJTA; + if ("TMUCTA".equals(codeString)) + return V3RouteOfAdministration.TMUCTA; + if ("VAGINS".equals(codeString)) + return V3RouteOfAdministration.VAGINS; + if ("INSUF".equals(codeString)) + return V3RouteOfAdministration.INSUF; + if ("TRNSDERM".equals(codeString)) + return V3RouteOfAdministration.TRNSDERM; + if ("_RouteBySite".equals(codeString)) + return V3RouteOfAdministration._ROUTEBYSITE; + if ("_AmnioticFluidSacRoute".equals(codeString)) + return V3RouteOfAdministration._AMNIOTICFLUIDSACROUTE; + if ("_BiliaryRoute".equals(codeString)) + return V3RouteOfAdministration._BILIARYROUTE; + if ("_BodySurfaceRoute".equals(codeString)) + return V3RouteOfAdministration._BODYSURFACEROUTE; + if ("_BuccalMucosaRoute".equals(codeString)) + return V3RouteOfAdministration._BUCCALMUCOSAROUTE; + if ("_CecostomyRoute".equals(codeString)) + return V3RouteOfAdministration._CECOSTOMYROUTE; + if ("_CervicalRoute".equals(codeString)) + return V3RouteOfAdministration._CERVICALROUTE; + if ("_EndocervicalRoute".equals(codeString)) + return V3RouteOfAdministration._ENDOCERVICALROUTE; + if ("_EnteralRoute".equals(codeString)) + return V3RouteOfAdministration._ENTERALROUTE; + if ("_EpiduralRoute".equals(codeString)) + return V3RouteOfAdministration._EPIDURALROUTE; + if ("_ExtraAmnioticRoute".equals(codeString)) + return V3RouteOfAdministration._EXTRAAMNIOTICROUTE; + if ("_ExtracorporealCirculationRoute".equals(codeString)) + return V3RouteOfAdministration._EXTRACORPOREALCIRCULATIONROUTE; + if ("_GastricRoute".equals(codeString)) + return V3RouteOfAdministration._GASTRICROUTE; + if ("_GenitourinaryRoute".equals(codeString)) + return V3RouteOfAdministration._GENITOURINARYROUTE; + if ("_GingivalRoute".equals(codeString)) + return V3RouteOfAdministration._GINGIVALROUTE; + if ("_HairRoute".equals(codeString)) + return V3RouteOfAdministration._HAIRROUTE; + if ("_InterameningealRoute".equals(codeString)) + return V3RouteOfAdministration._INTERAMENINGEALROUTE; + if ("_InterstitialRoute".equals(codeString)) + return V3RouteOfAdministration._INTERSTITIALROUTE; + if ("_IntraabdominalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAABDOMINALROUTE; + if ("_IntraarterialRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAARTERIALROUTE; + if ("_IntraarticularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAARTICULARROUTE; + if ("_IntrabronchialRoute".equals(codeString)) + return V3RouteOfAdministration._INTRABRONCHIALROUTE; + if ("_IntrabursalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRABURSALROUTE; + if ("_IntracardiacRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACARDIACROUTE; + if ("_IntracartilaginousRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACARTILAGINOUSROUTE; + if ("_IntracaudalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACAUDALROUTE; + if ("_IntracavernosalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACAVERNOSALROUTE; + if ("_IntracavitaryRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACAVITARYROUTE; + if ("_IntracerebralRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACEREBRALROUTE; + if ("_IntracervicalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACERVICALROUTE; + if ("_IntracisternalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACISTERNALROUTE; + if ("_IntracornealRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACORNEALROUTE; + if ("_IntracoronalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACORONALROUTE; + if ("_IntracoronaryRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACORONARYROUTE; + if ("_IntracorpusCavernosumRoute".equals(codeString)) + return V3RouteOfAdministration._INTRACORPUSCAVERNOSUMROUTE; + if ("_IntradermalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRADERMALROUTE; + if ("_IntradiscalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRADISCALROUTE; + if ("_IntraductalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRADUCTALROUTE; + if ("_IntraduodenalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRADUODENALROUTE; + if ("_IntraduralRoute".equals(codeString)) + return V3RouteOfAdministration._INTRADURALROUTE; + if ("_IntraepidermalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAEPIDERMALROUTE; + if ("_IntraepithelialRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAEPITHELIALROUTE; + if ("_IntraesophagealRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAESOPHAGEALROUTE; + if ("_IntragastricRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAGASTRICROUTE; + if ("_IntrailealRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAILEALROUTE; + if ("_IntralesionalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRALESIONALROUTE; + if ("_IntraluminalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRALUMINALROUTE; + if ("_IntralymphaticRoute".equals(codeString)) + return V3RouteOfAdministration._INTRALYMPHATICROUTE; + if ("_IntramedullaryRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAMEDULLARYROUTE; + if ("_IntramuscularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAMUSCULARROUTE; + if ("_IntraocularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAOCULARROUTE; + if ("_IntraosseousRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAOSSEOUSROUTE; + if ("_IntraovarianRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAOVARIANROUTE; + if ("_IntrapericardialRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAPERICARDIALROUTE; + if ("_IntraperitonealRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAPERITONEALROUTE; + if ("_IntrapleuralRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAPLEURALROUTE; + if ("_IntraprostaticRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAPROSTATICROUTE; + if ("_IntrapulmonaryRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAPULMONARYROUTE; + if ("_IntrasinalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRASINALROUTE; + if ("_IntraspinalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRASPINALROUTE; + if ("_IntrasternalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRASTERNALROUTE; + if ("_IntrasynovialRoute".equals(codeString)) + return V3RouteOfAdministration._INTRASYNOVIALROUTE; + if ("_IntratendinousRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATENDINOUSROUTE; + if ("_IntratesticularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATESTICULARROUTE; + if ("_IntrathecalRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATHECALROUTE; + if ("_IntrathoracicRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATHORACICROUTE; + if ("_IntratrachealRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATRACHEALROUTE; + if ("_IntratubularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATUBULARROUTE; + if ("_IntratumorRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATUMORROUTE; + if ("_IntratympanicRoute".equals(codeString)) + return V3RouteOfAdministration._INTRATYMPANICROUTE; + if ("_IntrauterineRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAUTERINEROUTE; + if ("_IntravascularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAVASCULARROUTE; + if ("_IntravenousRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAVENOUSROUTE; + if ("_IntraventricularRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAVENTRICULARROUTE; + if ("_IntravesicleRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAVESICLEROUTE; + if ("_IntravitrealRoute".equals(codeString)) + return V3RouteOfAdministration._INTRAVITREALROUTE; + if ("_JejunumRoute".equals(codeString)) + return V3RouteOfAdministration._JEJUNUMROUTE; + if ("_LacrimalPunctaRoute".equals(codeString)) + return V3RouteOfAdministration._LACRIMALPUNCTAROUTE; + if ("_LaryngealRoute".equals(codeString)) + return V3RouteOfAdministration._LARYNGEALROUTE; + if ("_LingualRoute".equals(codeString)) + return V3RouteOfAdministration._LINGUALROUTE; + if ("_MucousMembraneRoute".equals(codeString)) + return V3RouteOfAdministration._MUCOUSMEMBRANEROUTE; + if ("_NailRoute".equals(codeString)) + return V3RouteOfAdministration._NAILROUTE; + if ("_NasalRoute".equals(codeString)) + return V3RouteOfAdministration._NASALROUTE; + if ("_OphthalmicRoute".equals(codeString)) + return V3RouteOfAdministration._OPHTHALMICROUTE; + if ("_OralRoute".equals(codeString)) + return V3RouteOfAdministration._ORALROUTE; + if ("_OromucosalRoute".equals(codeString)) + return V3RouteOfAdministration._OROMUCOSALROUTE; + if ("_OropharyngealRoute".equals(codeString)) + return V3RouteOfAdministration._OROPHARYNGEALROUTE; + if ("_OticRoute".equals(codeString)) + return V3RouteOfAdministration._OTICROUTE; + if ("_ParanasalSinusesRoute".equals(codeString)) + return V3RouteOfAdministration._PARANASALSINUSESROUTE; + if ("_ParenteralRoute".equals(codeString)) + return V3RouteOfAdministration._PARENTERALROUTE; + if ("_PerianalRoute".equals(codeString)) + return V3RouteOfAdministration._PERIANALROUTE; + if ("_PeriarticularRoute".equals(codeString)) + return V3RouteOfAdministration._PERIARTICULARROUTE; + if ("_PeriduralRoute".equals(codeString)) + return V3RouteOfAdministration._PERIDURALROUTE; + if ("_PerinealRoute".equals(codeString)) + return V3RouteOfAdministration._PERINEALROUTE; + if ("_PerineuralRoute".equals(codeString)) + return V3RouteOfAdministration._PERINEURALROUTE; + if ("_PeriodontalRoute".equals(codeString)) + return V3RouteOfAdministration._PERIODONTALROUTE; + if ("_PulmonaryRoute".equals(codeString)) + return V3RouteOfAdministration._PULMONARYROUTE; + if ("_RectalRoute".equals(codeString)) + return V3RouteOfAdministration._RECTALROUTE; + if ("_RespiratoryTractRoute".equals(codeString)) + return V3RouteOfAdministration._RESPIRATORYTRACTROUTE; + if ("_RetrobulbarRoute".equals(codeString)) + return V3RouteOfAdministration._RETROBULBARROUTE; + if ("_ScalpRoute".equals(codeString)) + return V3RouteOfAdministration._SCALPROUTE; + if ("_SinusUnspecifiedRoute".equals(codeString)) + return V3RouteOfAdministration._SINUSUNSPECIFIEDROUTE; + if ("_SkinRoute".equals(codeString)) + return V3RouteOfAdministration._SKINROUTE; + if ("_SoftTissueRoute".equals(codeString)) + return V3RouteOfAdministration._SOFTTISSUEROUTE; + if ("_SubarachnoidRoute".equals(codeString)) + return V3RouteOfAdministration._SUBARACHNOIDROUTE; + if ("_SubconjunctivalRoute".equals(codeString)) + return V3RouteOfAdministration._SUBCONJUNCTIVALROUTE; + if ("_SubcutaneousRoute".equals(codeString)) + return V3RouteOfAdministration._SUBCUTANEOUSROUTE; + if ("_SublesionalRoute".equals(codeString)) + return V3RouteOfAdministration._SUBLESIONALROUTE; + if ("_SublingualRoute".equals(codeString)) + return V3RouteOfAdministration._SUBLINGUALROUTE; + if ("_SubmucosalRoute".equals(codeString)) + return V3RouteOfAdministration._SUBMUCOSALROUTE; + if ("_TracheostomyRoute".equals(codeString)) + return V3RouteOfAdministration._TRACHEOSTOMYROUTE; + if ("_TransmucosalRoute".equals(codeString)) + return V3RouteOfAdministration._TRANSMUCOSALROUTE; + if ("_TransplacentalRoute".equals(codeString)) + return V3RouteOfAdministration._TRANSPLACENTALROUTE; + if ("_TranstrachealRoute".equals(codeString)) + return V3RouteOfAdministration._TRANSTRACHEALROUTE; + if ("_TranstympanicRoute".equals(codeString)) + return V3RouteOfAdministration._TRANSTYMPANICROUTE; + if ("_UreteralRoute".equals(codeString)) + return V3RouteOfAdministration._URETERALROUTE; + if ("_UrethralRoute".equals(codeString)) + return V3RouteOfAdministration._URETHRALROUTE; + if ("_UrinaryBladderRoute".equals(codeString)) + return V3RouteOfAdministration._URINARYBLADDERROUTE; + if ("_UrinaryTractRoute".equals(codeString)) + return V3RouteOfAdministration._URINARYTRACTROUTE; + if ("_VaginalRoute".equals(codeString)) + return V3RouteOfAdministration._VAGINALROUTE; + if ("_VitreousHumourRoute".equals(codeString)) + return V3RouteOfAdministration._VITREOUSHUMOURROUTE; + throw new IllegalArgumentException("Unknown V3RouteOfAdministration code '"+codeString+"'"); + } + + public String toCode(V3RouteOfAdministration code) { + if (code == V3RouteOfAdministration._ROUTEBYMETHOD) + return "_RouteByMethod"; + if (code == V3RouteOfAdministration.SOAK) + return "SOAK"; + if (code == V3RouteOfAdministration.SHAMPOO) + return "SHAMPOO"; + if (code == V3RouteOfAdministration.TRNSLING) + return "TRNSLING"; + if (code == V3RouteOfAdministration.PO) + return "PO"; + if (code == V3RouteOfAdministration.GARGLE) + return "GARGLE"; + if (code == V3RouteOfAdministration.SUCK) + return "SUCK"; + if (code == V3RouteOfAdministration._CHEW) + return "_Chew"; + if (code == V3RouteOfAdministration.CHEW) + return "CHEW"; + if (code == V3RouteOfAdministration._DIFFUSION) + return "_Diffusion"; + if (code == V3RouteOfAdministration.EXTCORPDIF) + return "EXTCORPDIF"; + if (code == V3RouteOfAdministration.HEMODIFF) + return "HEMODIFF"; + if (code == V3RouteOfAdministration.TRNSDERMD) + return "TRNSDERMD"; + if (code == V3RouteOfAdministration._DISSOLVE) + return "_Dissolve"; + if (code == V3RouteOfAdministration.DISSOLVE) + return "DISSOLVE"; + if (code == V3RouteOfAdministration.SL) + return "SL"; + if (code == V3RouteOfAdministration._DOUCHE) + return "_Douche"; + if (code == V3RouteOfAdministration.DOUCHE) + return "DOUCHE"; + if (code == V3RouteOfAdministration._ELECTROOSMOSISROUTE) + return "_ElectroOsmosisRoute"; + if (code == V3RouteOfAdministration.ELECTOSMOS) + return "ELECTOSMOS"; + if (code == V3RouteOfAdministration._ENEMA) + return "_Enema"; + if (code == V3RouteOfAdministration.ENEMA) + return "ENEMA"; + if (code == V3RouteOfAdministration.RETENEMA) + return "RETENEMA"; + if (code == V3RouteOfAdministration._FLUSH) + return "_Flush"; + if (code == V3RouteOfAdministration.IVFLUSH) + return "IVFLUSH"; + if (code == V3RouteOfAdministration._IMPLANTATION) + return "_Implantation"; + if (code == V3RouteOfAdministration.IDIMPLNT) + return "IDIMPLNT"; + if (code == V3RouteOfAdministration.IVITIMPLNT) + return "IVITIMPLNT"; + if (code == V3RouteOfAdministration.SQIMPLNT) + return "SQIMPLNT"; + if (code == V3RouteOfAdministration._INFUSION) + return "_Infusion"; + if (code == V3RouteOfAdministration.EPI) + return "EPI"; + if (code == V3RouteOfAdministration.IA) + return "IA"; + if (code == V3RouteOfAdministration.IC) + return "IC"; + if (code == V3RouteOfAdministration.ICOR) + return "ICOR"; + if (code == V3RouteOfAdministration.IOSSC) + return "IOSSC"; + if (code == V3RouteOfAdministration.IT) + return "IT"; + if (code == V3RouteOfAdministration.IV) + return "IV"; + if (code == V3RouteOfAdministration.IVC) + return "IVC"; + if (code == V3RouteOfAdministration.IVCC) + return "IVCC"; + if (code == V3RouteOfAdministration.IVCI) + return "IVCI"; + if (code == V3RouteOfAdministration.PCA) + return "PCA"; + if (code == V3RouteOfAdministration.IVASCINFUS) + return "IVASCINFUS"; + if (code == V3RouteOfAdministration.SQINFUS) + return "SQINFUS"; + if (code == V3RouteOfAdministration._INHALATION) + return "_Inhalation"; + if (code == V3RouteOfAdministration.IPINHL) + return "IPINHL"; + if (code == V3RouteOfAdministration.ORIFINHL) + return "ORIFINHL"; + if (code == V3RouteOfAdministration.REBREATH) + return "REBREATH"; + if (code == V3RouteOfAdministration.IPPB) + return "IPPB"; + if (code == V3RouteOfAdministration.NASINHL) + return "NASINHL"; + if (code == V3RouteOfAdministration.NASINHLC) + return "NASINHLC"; + if (code == V3RouteOfAdministration.NEB) + return "NEB"; + if (code == V3RouteOfAdministration.NASNEB) + return "NASNEB"; + if (code == V3RouteOfAdministration.ORNEB) + return "ORNEB"; + if (code == V3RouteOfAdministration.TRACH) + return "TRACH"; + if (code == V3RouteOfAdministration.VENT) + return "VENT"; + if (code == V3RouteOfAdministration.VENTMASK) + return "VENTMASK"; + if (code == V3RouteOfAdministration._INJECTION) + return "_Injection"; + if (code == V3RouteOfAdministration.AMNINJ) + return "AMNINJ"; + if (code == V3RouteOfAdministration.BILINJ) + return "BILINJ"; + if (code == V3RouteOfAdministration.CHOLINJ) + return "CHOLINJ"; + if (code == V3RouteOfAdministration.CERVINJ) + return "CERVINJ"; + if (code == V3RouteOfAdministration.EPIDURINJ) + return "EPIDURINJ"; + if (code == V3RouteOfAdministration.EPIINJ) + return "EPIINJ"; + if (code == V3RouteOfAdministration.EPINJSP) + return "EPINJSP"; + if (code == V3RouteOfAdministration.EXTRAMNINJ) + return "EXTRAMNINJ"; + if (code == V3RouteOfAdministration.EXTCORPINJ) + return "EXTCORPINJ"; + if (code == V3RouteOfAdministration.GBINJ) + return "GBINJ"; + if (code == V3RouteOfAdministration.GINGINJ) + return "GINGINJ"; + if (code == V3RouteOfAdministration.BLADINJ) + return "BLADINJ"; + if (code == V3RouteOfAdministration.ENDOSININJ) + return "ENDOSININJ"; + if (code == V3RouteOfAdministration.HEMOPORT) + return "HEMOPORT"; + if (code == V3RouteOfAdministration.IABDINJ) + return "IABDINJ"; + if (code == V3RouteOfAdministration.IAINJ) + return "IAINJ"; + if (code == V3RouteOfAdministration.IAINJP) + return "IAINJP"; + if (code == V3RouteOfAdministration.IAINJSP) + return "IAINJSP"; + if (code == V3RouteOfAdministration.IARTINJ) + return "IARTINJ"; + if (code == V3RouteOfAdministration.IBURSINJ) + return "IBURSINJ"; + if (code == V3RouteOfAdministration.ICARDINJ) + return "ICARDINJ"; + if (code == V3RouteOfAdministration.ICARDINJRP) + return "ICARDINJRP"; + if (code == V3RouteOfAdministration.ICARDINJSP) + return "ICARDINJSP"; + if (code == V3RouteOfAdministration.ICARINJP) + return "ICARINJP"; + if (code == V3RouteOfAdministration.ICARTINJ) + return "ICARTINJ"; + if (code == V3RouteOfAdministration.ICAUDINJ) + return "ICAUDINJ"; + if (code == V3RouteOfAdministration.ICAVINJ) + return "ICAVINJ"; + if (code == V3RouteOfAdministration.ICAVITINJ) + return "ICAVITINJ"; + if (code == V3RouteOfAdministration.ICEREBINJ) + return "ICEREBINJ"; + if (code == V3RouteOfAdministration.ICISTERNINJ) + return "ICISTERNINJ"; + if (code == V3RouteOfAdministration.ICORONINJ) + return "ICORONINJ"; + if (code == V3RouteOfAdministration.ICORONINJP) + return "ICORONINJP"; + if (code == V3RouteOfAdministration.ICORPCAVINJ) + return "ICORPCAVINJ"; + if (code == V3RouteOfAdministration.IDINJ) + return "IDINJ"; + if (code == V3RouteOfAdministration.IDISCINJ) + return "IDISCINJ"; + if (code == V3RouteOfAdministration.IDUCTINJ) + return "IDUCTINJ"; + if (code == V3RouteOfAdministration.IDURINJ) + return "IDURINJ"; + if (code == V3RouteOfAdministration.IEPIDINJ) + return "IEPIDINJ"; + if (code == V3RouteOfAdministration.IEPITHINJ) + return "IEPITHINJ"; + if (code == V3RouteOfAdministration.ILESINJ) + return "ILESINJ"; + if (code == V3RouteOfAdministration.ILUMINJ) + return "ILUMINJ"; + if (code == V3RouteOfAdministration.ILYMPJINJ) + return "ILYMPJINJ"; + if (code == V3RouteOfAdministration.IM) + return "IM"; + if (code == V3RouteOfAdministration.IMD) + return "IMD"; + if (code == V3RouteOfAdministration.IMZ) + return "IMZ"; + if (code == V3RouteOfAdministration.IMEDULINJ) + return "IMEDULINJ"; + if (code == V3RouteOfAdministration.INTERMENINJ) + return "INTERMENINJ"; + if (code == V3RouteOfAdministration.INTERSTITINJ) + return "INTERSTITINJ"; + if (code == V3RouteOfAdministration.IOINJ) + return "IOINJ"; + if (code == V3RouteOfAdministration.IOSSINJ) + return "IOSSINJ"; + if (code == V3RouteOfAdministration.IOVARINJ) + return "IOVARINJ"; + if (code == V3RouteOfAdministration.IPCARDINJ) + return "IPCARDINJ"; + if (code == V3RouteOfAdministration.IPERINJ) + return "IPERINJ"; + if (code == V3RouteOfAdministration.IPINJ) + return "IPINJ"; + if (code == V3RouteOfAdministration.IPLRINJ) + return "IPLRINJ"; + if (code == V3RouteOfAdministration.IPROSTINJ) + return "IPROSTINJ"; + if (code == V3RouteOfAdministration.IPUMPINJ) + return "IPUMPINJ"; + if (code == V3RouteOfAdministration.ISINJ) + return "ISINJ"; + if (code == V3RouteOfAdministration.ISTERINJ) + return "ISTERINJ"; + if (code == V3RouteOfAdministration.ISYNINJ) + return "ISYNINJ"; + if (code == V3RouteOfAdministration.ITENDINJ) + return "ITENDINJ"; + if (code == V3RouteOfAdministration.ITESTINJ) + return "ITESTINJ"; + if (code == V3RouteOfAdministration.ITHORINJ) + return "ITHORINJ"; + if (code == V3RouteOfAdministration.ITINJ) + return "ITINJ"; + if (code == V3RouteOfAdministration.ITUBINJ) + return "ITUBINJ"; + if (code == V3RouteOfAdministration.ITUMINJ) + return "ITUMINJ"; + if (code == V3RouteOfAdministration.ITYMPINJ) + return "ITYMPINJ"; + if (code == V3RouteOfAdministration.IUINJ) + return "IUINJ"; + if (code == V3RouteOfAdministration.IUINJC) + return "IUINJC"; + if (code == V3RouteOfAdministration.IURETINJ) + return "IURETINJ"; + if (code == V3RouteOfAdministration.IVASCINJ) + return "IVASCINJ"; + if (code == V3RouteOfAdministration.IVENTINJ) + return "IVENTINJ"; + if (code == V3RouteOfAdministration.IVESINJ) + return "IVESINJ"; + if (code == V3RouteOfAdministration.IVINJ) + return "IVINJ"; + if (code == V3RouteOfAdministration.IVINJBOL) + return "IVINJBOL"; + if (code == V3RouteOfAdministration.IVPUSH) + return "IVPUSH"; + if (code == V3RouteOfAdministration.IVRPUSH) + return "IVRPUSH"; + if (code == V3RouteOfAdministration.IVSPUSH) + return "IVSPUSH"; + if (code == V3RouteOfAdministration.IVITINJ) + return "IVITINJ"; + if (code == V3RouteOfAdministration.PAINJ) + return "PAINJ"; + if (code == V3RouteOfAdministration.PARENTINJ) + return "PARENTINJ"; + if (code == V3RouteOfAdministration.PDONTINJ) + return "PDONTINJ"; + if (code == V3RouteOfAdministration.PDPINJ) + return "PDPINJ"; + if (code == V3RouteOfAdministration.PDURINJ) + return "PDURINJ"; + if (code == V3RouteOfAdministration.PNINJ) + return "PNINJ"; + if (code == V3RouteOfAdministration.PNSINJ) + return "PNSINJ"; + if (code == V3RouteOfAdministration.RBINJ) + return "RBINJ"; + if (code == V3RouteOfAdministration.SCINJ) + return "SCINJ"; + if (code == V3RouteOfAdministration.SLESINJ) + return "SLESINJ"; + if (code == V3RouteOfAdministration.SOFTISINJ) + return "SOFTISINJ"; + if (code == V3RouteOfAdministration.SQ) + return "SQ"; + if (code == V3RouteOfAdministration.SUBARACHINJ) + return "SUBARACHINJ"; + if (code == V3RouteOfAdministration.SUBMUCINJ) + return "SUBMUCINJ"; + if (code == V3RouteOfAdministration.TRPLACINJ) + return "TRPLACINJ"; + if (code == V3RouteOfAdministration.TRTRACHINJ) + return "TRTRACHINJ"; + if (code == V3RouteOfAdministration.URETHINJ) + return "URETHINJ"; + if (code == V3RouteOfAdministration.URETINJ) + return "URETINJ"; + if (code == V3RouteOfAdministration._INSERTION) + return "_Insertion"; + if (code == V3RouteOfAdministration.CERVINS) + return "CERVINS"; + if (code == V3RouteOfAdministration.IOSURGINS) + return "IOSURGINS"; + if (code == V3RouteOfAdministration.IU) + return "IU"; + if (code == V3RouteOfAdministration.LPINS) + return "LPINS"; + if (code == V3RouteOfAdministration.PR) + return "PR"; + if (code == V3RouteOfAdministration.SQSURGINS) + return "SQSURGINS"; + if (code == V3RouteOfAdministration.URETHINS) + return "URETHINS"; + if (code == V3RouteOfAdministration.VAGINSI) + return "VAGINSI"; + if (code == V3RouteOfAdministration._INSTILLATION) + return "_Instillation"; + if (code == V3RouteOfAdministration.CECINSTL) + return "CECINSTL"; + if (code == V3RouteOfAdministration.EFT) + return "EFT"; + if (code == V3RouteOfAdministration.ENTINSTL) + return "ENTINSTL"; + if (code == V3RouteOfAdministration.GT) + return "GT"; + if (code == V3RouteOfAdministration.NGT) + return "NGT"; + if (code == V3RouteOfAdministration.OGT) + return "OGT"; + if (code == V3RouteOfAdministration.BLADINSTL) + return "BLADINSTL"; + if (code == V3RouteOfAdministration.CAPDINSTL) + return "CAPDINSTL"; + if (code == V3RouteOfAdministration.CTINSTL) + return "CTINSTL"; + if (code == V3RouteOfAdministration.ETINSTL) + return "ETINSTL"; + if (code == V3RouteOfAdministration.GJT) + return "GJT"; + if (code == V3RouteOfAdministration.IBRONCHINSTIL) + return "IBRONCHINSTIL"; + if (code == V3RouteOfAdministration.IDUODINSTIL) + return "IDUODINSTIL"; + if (code == V3RouteOfAdministration.IESOPHINSTIL) + return "IESOPHINSTIL"; + if (code == V3RouteOfAdministration.IGASTINSTIL) + return "IGASTINSTIL"; + if (code == V3RouteOfAdministration.IILEALINJ) + return "IILEALINJ"; + if (code == V3RouteOfAdministration.IOINSTL) + return "IOINSTL"; + if (code == V3RouteOfAdministration.ISININSTIL) + return "ISININSTIL"; + if (code == V3RouteOfAdministration.ITRACHINSTIL) + return "ITRACHINSTIL"; + if (code == V3RouteOfAdministration.IUINSTL) + return "IUINSTL"; + if (code == V3RouteOfAdministration.JJTINSTL) + return "JJTINSTL"; + if (code == V3RouteOfAdministration.LARYNGINSTIL) + return "LARYNGINSTIL"; + if (code == V3RouteOfAdministration.NASALINSTIL) + return "NASALINSTIL"; + if (code == V3RouteOfAdministration.NASOGASINSTIL) + return "NASOGASINSTIL"; + if (code == V3RouteOfAdministration.NTT) + return "NTT"; + if (code == V3RouteOfAdministration.OJJ) + return "OJJ"; + if (code == V3RouteOfAdministration.OT) + return "OT"; + if (code == V3RouteOfAdministration.PDPINSTL) + return "PDPINSTL"; + if (code == V3RouteOfAdministration.PNSINSTL) + return "PNSINSTL"; + if (code == V3RouteOfAdministration.RECINSTL) + return "RECINSTL"; + if (code == V3RouteOfAdministration.RECTINSTL) + return "RECTINSTL"; + if (code == V3RouteOfAdministration.SININSTIL) + return "SININSTIL"; + if (code == V3RouteOfAdministration.SOFTISINSTIL) + return "SOFTISINSTIL"; + if (code == V3RouteOfAdministration.TRACHINSTL) + return "TRACHINSTL"; + if (code == V3RouteOfAdministration.TRTYMPINSTIL) + return "TRTYMPINSTIL"; + if (code == V3RouteOfAdministration.URETHINSTL) + return "URETHINSTL"; + if (code == V3RouteOfAdministration._IONTOPHORESISROUTE) + return "_IontophoresisRoute"; + if (code == V3RouteOfAdministration.IONTO) + return "IONTO"; + if (code == V3RouteOfAdministration._IRRIGATION) + return "_Irrigation"; + if (code == V3RouteOfAdministration.GUIRR) + return "GUIRR"; + if (code == V3RouteOfAdministration.IGASTIRR) + return "IGASTIRR"; + if (code == V3RouteOfAdministration.ILESIRR) + return "ILESIRR"; + if (code == V3RouteOfAdministration.IOIRR) + return "IOIRR"; + if (code == V3RouteOfAdministration.BLADIRR) + return "BLADIRR"; + if (code == V3RouteOfAdministration.BLADIRRC) + return "BLADIRRC"; + if (code == V3RouteOfAdministration.BLADIRRT) + return "BLADIRRT"; + if (code == V3RouteOfAdministration.RECIRR) + return "RECIRR"; + if (code == V3RouteOfAdministration._LAVAGEROUTE) + return "_LavageRoute"; + if (code == V3RouteOfAdministration.IGASTLAV) + return "IGASTLAV"; + if (code == V3RouteOfAdministration._MUCOSALABSORPTIONROUTE) + return "_MucosalAbsorptionRoute"; + if (code == V3RouteOfAdministration.IDOUDMAB) + return "IDOUDMAB"; + if (code == V3RouteOfAdministration.ITRACHMAB) + return "ITRACHMAB"; + if (code == V3RouteOfAdministration.SMUCMAB) + return "SMUCMAB"; + if (code == V3RouteOfAdministration._NEBULIZATION) + return "_Nebulization"; + if (code == V3RouteOfAdministration.ETNEB) + return "ETNEB"; + if (code == V3RouteOfAdministration._RINSE) + return "_Rinse"; + if (code == V3RouteOfAdministration.DENRINSE) + return "DENRINSE"; + if (code == V3RouteOfAdministration.ORRINSE) + return "ORRINSE"; + if (code == V3RouteOfAdministration._SUPPOSITORYROUTE) + return "_SuppositoryRoute"; + if (code == V3RouteOfAdministration.URETHSUP) + return "URETHSUP"; + if (code == V3RouteOfAdministration._SWISH) + return "_Swish"; + if (code == V3RouteOfAdministration.SWISHSPIT) + return "SWISHSPIT"; + if (code == V3RouteOfAdministration.SWISHSWAL) + return "SWISHSWAL"; + if (code == V3RouteOfAdministration._TOPICALABSORPTIONROUTE) + return "_TopicalAbsorptionRoute"; + if (code == V3RouteOfAdministration.TTYMPTABSORP) + return "TTYMPTABSORP"; + if (code == V3RouteOfAdministration._TOPICALAPPLICATION) + return "_TopicalApplication"; + if (code == V3RouteOfAdministration.DRESS) + return "DRESS"; + if (code == V3RouteOfAdministration.SWAB) + return "SWAB"; + if (code == V3RouteOfAdministration.TOPICAL) + return "TOPICAL"; + if (code == V3RouteOfAdministration.BUC) + return "BUC"; + if (code == V3RouteOfAdministration.CERV) + return "CERV"; + if (code == V3RouteOfAdministration.DEN) + return "DEN"; + if (code == V3RouteOfAdministration.GIN) + return "GIN"; + if (code == V3RouteOfAdministration.HAIR) + return "HAIR"; + if (code == V3RouteOfAdministration.ICORNTA) + return "ICORNTA"; + if (code == V3RouteOfAdministration.ICORONTA) + return "ICORONTA"; + if (code == V3RouteOfAdministration.IESOPHTA) + return "IESOPHTA"; + if (code == V3RouteOfAdministration.IILEALTA) + return "IILEALTA"; + if (code == V3RouteOfAdministration.ILTOP) + return "ILTOP"; + if (code == V3RouteOfAdministration.ILUMTA) + return "ILUMTA"; + if (code == V3RouteOfAdministration.IOTOP) + return "IOTOP"; + if (code == V3RouteOfAdministration.LARYNGTA) + return "LARYNGTA"; + if (code == V3RouteOfAdministration.MUC) + return "MUC"; + if (code == V3RouteOfAdministration.NAIL) + return "NAIL"; + if (code == V3RouteOfAdministration.NASAL) + return "NASAL"; + if (code == V3RouteOfAdministration.OPTHALTA) + return "OPTHALTA"; + if (code == V3RouteOfAdministration.ORALTA) + return "ORALTA"; + if (code == V3RouteOfAdministration.ORMUC) + return "ORMUC"; + if (code == V3RouteOfAdministration.OROPHARTA) + return "OROPHARTA"; + if (code == V3RouteOfAdministration.PERIANAL) + return "PERIANAL"; + if (code == V3RouteOfAdministration.PERINEAL) + return "PERINEAL"; + if (code == V3RouteOfAdministration.PDONTTA) + return "PDONTTA"; + if (code == V3RouteOfAdministration.RECTAL) + return "RECTAL"; + if (code == V3RouteOfAdministration.SCALP) + return "SCALP"; + if (code == V3RouteOfAdministration.OCDRESTA) + return "OCDRESTA"; + if (code == V3RouteOfAdministration.SKIN) + return "SKIN"; + if (code == V3RouteOfAdministration.SUBCONJTA) + return "SUBCONJTA"; + if (code == V3RouteOfAdministration.TMUCTA) + return "TMUCTA"; + if (code == V3RouteOfAdministration.VAGINS) + return "VAGINS"; + if (code == V3RouteOfAdministration.INSUF) + return "INSUF"; + if (code == V3RouteOfAdministration.TRNSDERM) + return "TRNSDERM"; + if (code == V3RouteOfAdministration._ROUTEBYSITE) + return "_RouteBySite"; + if (code == V3RouteOfAdministration._AMNIOTICFLUIDSACROUTE) + return "_AmnioticFluidSacRoute"; + if (code == V3RouteOfAdministration._BILIARYROUTE) + return "_BiliaryRoute"; + if (code == V3RouteOfAdministration._BODYSURFACEROUTE) + return "_BodySurfaceRoute"; + if (code == V3RouteOfAdministration._BUCCALMUCOSAROUTE) + return "_BuccalMucosaRoute"; + if (code == V3RouteOfAdministration._CECOSTOMYROUTE) + return "_CecostomyRoute"; + if (code == V3RouteOfAdministration._CERVICALROUTE) + return "_CervicalRoute"; + if (code == V3RouteOfAdministration._ENDOCERVICALROUTE) + return "_EndocervicalRoute"; + if (code == V3RouteOfAdministration._ENTERALROUTE) + return "_EnteralRoute"; + if (code == V3RouteOfAdministration._EPIDURALROUTE) + return "_EpiduralRoute"; + if (code == V3RouteOfAdministration._EXTRAAMNIOTICROUTE) + return "_ExtraAmnioticRoute"; + if (code == V3RouteOfAdministration._EXTRACORPOREALCIRCULATIONROUTE) + return "_ExtracorporealCirculationRoute"; + if (code == V3RouteOfAdministration._GASTRICROUTE) + return "_GastricRoute"; + if (code == V3RouteOfAdministration._GENITOURINARYROUTE) + return "_GenitourinaryRoute"; + if (code == V3RouteOfAdministration._GINGIVALROUTE) + return "_GingivalRoute"; + if (code == V3RouteOfAdministration._HAIRROUTE) + return "_HairRoute"; + if (code == V3RouteOfAdministration._INTERAMENINGEALROUTE) + return "_InterameningealRoute"; + if (code == V3RouteOfAdministration._INTERSTITIALROUTE) + return "_InterstitialRoute"; + if (code == V3RouteOfAdministration._INTRAABDOMINALROUTE) + return "_IntraabdominalRoute"; + if (code == V3RouteOfAdministration._INTRAARTERIALROUTE) + return "_IntraarterialRoute"; + if (code == V3RouteOfAdministration._INTRAARTICULARROUTE) + return "_IntraarticularRoute"; + if (code == V3RouteOfAdministration._INTRABRONCHIALROUTE) + return "_IntrabronchialRoute"; + if (code == V3RouteOfAdministration._INTRABURSALROUTE) + return "_IntrabursalRoute"; + if (code == V3RouteOfAdministration._INTRACARDIACROUTE) + return "_IntracardiacRoute"; + if (code == V3RouteOfAdministration._INTRACARTILAGINOUSROUTE) + return "_IntracartilaginousRoute"; + if (code == V3RouteOfAdministration._INTRACAUDALROUTE) + return "_IntracaudalRoute"; + if (code == V3RouteOfAdministration._INTRACAVERNOSALROUTE) + return "_IntracavernosalRoute"; + if (code == V3RouteOfAdministration._INTRACAVITARYROUTE) + return "_IntracavitaryRoute"; + if (code == V3RouteOfAdministration._INTRACEREBRALROUTE) + return "_IntracerebralRoute"; + if (code == V3RouteOfAdministration._INTRACERVICALROUTE) + return "_IntracervicalRoute"; + if (code == V3RouteOfAdministration._INTRACISTERNALROUTE) + return "_IntracisternalRoute"; + if (code == V3RouteOfAdministration._INTRACORNEALROUTE) + return "_IntracornealRoute"; + if (code == V3RouteOfAdministration._INTRACORONALROUTE) + return "_IntracoronalRoute"; + if (code == V3RouteOfAdministration._INTRACORONARYROUTE) + return "_IntracoronaryRoute"; + if (code == V3RouteOfAdministration._INTRACORPUSCAVERNOSUMROUTE) + return "_IntracorpusCavernosumRoute"; + if (code == V3RouteOfAdministration._INTRADERMALROUTE) + return "_IntradermalRoute"; + if (code == V3RouteOfAdministration._INTRADISCALROUTE) + return "_IntradiscalRoute"; + if (code == V3RouteOfAdministration._INTRADUCTALROUTE) + return "_IntraductalRoute"; + if (code == V3RouteOfAdministration._INTRADUODENALROUTE) + return "_IntraduodenalRoute"; + if (code == V3RouteOfAdministration._INTRADURALROUTE) + return "_IntraduralRoute"; + if (code == V3RouteOfAdministration._INTRAEPIDERMALROUTE) + return "_IntraepidermalRoute"; + if (code == V3RouteOfAdministration._INTRAEPITHELIALROUTE) + return "_IntraepithelialRoute"; + if (code == V3RouteOfAdministration._INTRAESOPHAGEALROUTE) + return "_IntraesophagealRoute"; + if (code == V3RouteOfAdministration._INTRAGASTRICROUTE) + return "_IntragastricRoute"; + if (code == V3RouteOfAdministration._INTRAILEALROUTE) + return "_IntrailealRoute"; + if (code == V3RouteOfAdministration._INTRALESIONALROUTE) + return "_IntralesionalRoute"; + if (code == V3RouteOfAdministration._INTRALUMINALROUTE) + return "_IntraluminalRoute"; + if (code == V3RouteOfAdministration._INTRALYMPHATICROUTE) + return "_IntralymphaticRoute"; + if (code == V3RouteOfAdministration._INTRAMEDULLARYROUTE) + return "_IntramedullaryRoute"; + if (code == V3RouteOfAdministration._INTRAMUSCULARROUTE) + return "_IntramuscularRoute"; + if (code == V3RouteOfAdministration._INTRAOCULARROUTE) + return "_IntraocularRoute"; + if (code == V3RouteOfAdministration._INTRAOSSEOUSROUTE) + return "_IntraosseousRoute"; + if (code == V3RouteOfAdministration._INTRAOVARIANROUTE) + return "_IntraovarianRoute"; + if (code == V3RouteOfAdministration._INTRAPERICARDIALROUTE) + return "_IntrapericardialRoute"; + if (code == V3RouteOfAdministration._INTRAPERITONEALROUTE) + return "_IntraperitonealRoute"; + if (code == V3RouteOfAdministration._INTRAPLEURALROUTE) + return "_IntrapleuralRoute"; + if (code == V3RouteOfAdministration._INTRAPROSTATICROUTE) + return "_IntraprostaticRoute"; + if (code == V3RouteOfAdministration._INTRAPULMONARYROUTE) + return "_IntrapulmonaryRoute"; + if (code == V3RouteOfAdministration._INTRASINALROUTE) + return "_IntrasinalRoute"; + if (code == V3RouteOfAdministration._INTRASPINALROUTE) + return "_IntraspinalRoute"; + if (code == V3RouteOfAdministration._INTRASTERNALROUTE) + return "_IntrasternalRoute"; + if (code == V3RouteOfAdministration._INTRASYNOVIALROUTE) + return "_IntrasynovialRoute"; + if (code == V3RouteOfAdministration._INTRATENDINOUSROUTE) + return "_IntratendinousRoute"; + if (code == V3RouteOfAdministration._INTRATESTICULARROUTE) + return "_IntratesticularRoute"; + if (code == V3RouteOfAdministration._INTRATHECALROUTE) + return "_IntrathecalRoute"; + if (code == V3RouteOfAdministration._INTRATHORACICROUTE) + return "_IntrathoracicRoute"; + if (code == V3RouteOfAdministration._INTRATRACHEALROUTE) + return "_IntratrachealRoute"; + if (code == V3RouteOfAdministration._INTRATUBULARROUTE) + return "_IntratubularRoute"; + if (code == V3RouteOfAdministration._INTRATUMORROUTE) + return "_IntratumorRoute"; + if (code == V3RouteOfAdministration._INTRATYMPANICROUTE) + return "_IntratympanicRoute"; + if (code == V3RouteOfAdministration._INTRAUTERINEROUTE) + return "_IntrauterineRoute"; + if (code == V3RouteOfAdministration._INTRAVASCULARROUTE) + return "_IntravascularRoute"; + if (code == V3RouteOfAdministration._INTRAVENOUSROUTE) + return "_IntravenousRoute"; + if (code == V3RouteOfAdministration._INTRAVENTRICULARROUTE) + return "_IntraventricularRoute"; + if (code == V3RouteOfAdministration._INTRAVESICLEROUTE) + return "_IntravesicleRoute"; + if (code == V3RouteOfAdministration._INTRAVITREALROUTE) + return "_IntravitrealRoute"; + if (code == V3RouteOfAdministration._JEJUNUMROUTE) + return "_JejunumRoute"; + if (code == V3RouteOfAdministration._LACRIMALPUNCTAROUTE) + return "_LacrimalPunctaRoute"; + if (code == V3RouteOfAdministration._LARYNGEALROUTE) + return "_LaryngealRoute"; + if (code == V3RouteOfAdministration._LINGUALROUTE) + return "_LingualRoute"; + if (code == V3RouteOfAdministration._MUCOUSMEMBRANEROUTE) + return "_MucousMembraneRoute"; + if (code == V3RouteOfAdministration._NAILROUTE) + return "_NailRoute"; + if (code == V3RouteOfAdministration._NASALROUTE) + return "_NasalRoute"; + if (code == V3RouteOfAdministration._OPHTHALMICROUTE) + return "_OphthalmicRoute"; + if (code == V3RouteOfAdministration._ORALROUTE) + return "_OralRoute"; + if (code == V3RouteOfAdministration._OROMUCOSALROUTE) + return "_OromucosalRoute"; + if (code == V3RouteOfAdministration._OROPHARYNGEALROUTE) + return "_OropharyngealRoute"; + if (code == V3RouteOfAdministration._OTICROUTE) + return "_OticRoute"; + if (code == V3RouteOfAdministration._PARANASALSINUSESROUTE) + return "_ParanasalSinusesRoute"; + if (code == V3RouteOfAdministration._PARENTERALROUTE) + return "_ParenteralRoute"; + if (code == V3RouteOfAdministration._PERIANALROUTE) + return "_PerianalRoute"; + if (code == V3RouteOfAdministration._PERIARTICULARROUTE) + return "_PeriarticularRoute"; + if (code == V3RouteOfAdministration._PERIDURALROUTE) + return "_PeriduralRoute"; + if (code == V3RouteOfAdministration._PERINEALROUTE) + return "_PerinealRoute"; + if (code == V3RouteOfAdministration._PERINEURALROUTE) + return "_PerineuralRoute"; + if (code == V3RouteOfAdministration._PERIODONTALROUTE) + return "_PeriodontalRoute"; + if (code == V3RouteOfAdministration._PULMONARYROUTE) + return "_PulmonaryRoute"; + if (code == V3RouteOfAdministration._RECTALROUTE) + return "_RectalRoute"; + if (code == V3RouteOfAdministration._RESPIRATORYTRACTROUTE) + return "_RespiratoryTractRoute"; + if (code == V3RouteOfAdministration._RETROBULBARROUTE) + return "_RetrobulbarRoute"; + if (code == V3RouteOfAdministration._SCALPROUTE) + return "_ScalpRoute"; + if (code == V3RouteOfAdministration._SINUSUNSPECIFIEDROUTE) + return "_SinusUnspecifiedRoute"; + if (code == V3RouteOfAdministration._SKINROUTE) + return "_SkinRoute"; + if (code == V3RouteOfAdministration._SOFTTISSUEROUTE) + return "_SoftTissueRoute"; + if (code == V3RouteOfAdministration._SUBARACHNOIDROUTE) + return "_SubarachnoidRoute"; + if (code == V3RouteOfAdministration._SUBCONJUNCTIVALROUTE) + return "_SubconjunctivalRoute"; + if (code == V3RouteOfAdministration._SUBCUTANEOUSROUTE) + return "_SubcutaneousRoute"; + if (code == V3RouteOfAdministration._SUBLESIONALROUTE) + return "_SublesionalRoute"; + if (code == V3RouteOfAdministration._SUBLINGUALROUTE) + return "_SublingualRoute"; + if (code == V3RouteOfAdministration._SUBMUCOSALROUTE) + return "_SubmucosalRoute"; + if (code == V3RouteOfAdministration._TRACHEOSTOMYROUTE) + return "_TracheostomyRoute"; + if (code == V3RouteOfAdministration._TRANSMUCOSALROUTE) + return "_TransmucosalRoute"; + if (code == V3RouteOfAdministration._TRANSPLACENTALROUTE) + return "_TransplacentalRoute"; + if (code == V3RouteOfAdministration._TRANSTRACHEALROUTE) + return "_TranstrachealRoute"; + if (code == V3RouteOfAdministration._TRANSTYMPANICROUTE) + return "_TranstympanicRoute"; + if (code == V3RouteOfAdministration._URETERALROUTE) + return "_UreteralRoute"; + if (code == V3RouteOfAdministration._URETHRALROUTE) + return "_UrethralRoute"; + if (code == V3RouteOfAdministration._URINARYBLADDERROUTE) + return "_UrinaryBladderRoute"; + if (code == V3RouteOfAdministration._URINARYTRACTROUTE) + return "_UrinaryTractRoute"; + if (code == V3RouteOfAdministration._VAGINALROUTE) + return "_VaginalRoute"; + if (code == V3RouteOfAdministration._VITREOUSHUMOURROUTE) + return "_VitreousHumourRoute"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Sequencing.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Sequencing.java new file mode 100644 index 00000000000..622d21696c2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3Sequencing.java @@ -0,0 +1,94 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3Sequencing { + + /** + * Ascending sequence order. + */ + A, + /** + * Descending sequence order. + */ + D, + /** + * No enforced sequence order. + */ + N, + /** + * added to help the parsers + */ + NULL; + public static V3Sequencing fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return A; + if ("D".equals(codeString)) + return D; + if ("N".equals(codeString)) + return N; + throw new Exception("Unknown V3Sequencing code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case A: return "A"; + case D: return "D"; + case N: return "N"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/Sequencing"; + } + public String getDefinition() { + switch (this) { + case A: return "Ascending sequence order."; + case D: return "Descending sequence order."; + case N: return "No enforced sequence order."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case A: return "Ascending"; + case D: return "Descending"; + case N: return "None"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SequencingEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SequencingEnumFactory.java new file mode 100644 index 00000000000..2721591ca71 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SequencingEnumFactory.java @@ -0,0 +1,63 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3SequencingEnumFactory implements EnumFactory { + + public V3Sequencing fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("A".equals(codeString)) + return V3Sequencing.A; + if ("D".equals(codeString)) + return V3Sequencing.D; + if ("N".equals(codeString)) + return V3Sequencing.N; + throw new IllegalArgumentException("Unknown V3Sequencing code '"+codeString+"'"); + } + + public String toCode(V3Sequencing code) { + if (code == V3Sequencing.A) + return "A"; + if (code == V3Sequencing.D) + return "D"; + if (code == V3Sequencing.N) + return "N"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperator.java new file mode 100644 index 00000000000..e0ff4f8309a --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperator.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3SetOperator { + + /** + * Operations that can be used to associate concepts in a terminology. + */ + _VALUESETOPERATOR, + /** + * Form the set-difference with this value, i.e., exclude this element or set from the resulting set. + */ + E, + /** + * Form the union with this value, i.e., include this element or set in the resulting set. + */ + I, + /** + * Form the intersection with the value. + */ + A, + /** + * Form the convex hull with the value. The convex hull is defined over ordered domains and is the smallest contiguous superset (interval) that of all the operand sets. + */ + H, + /** + * Form the periodic hull with the value. The periodic hull is defined over ordered domains and is the periodic set that contains all contiguous supersets of pairs of intervals generated by the operand periodic intervals. + */ + P, + /** + * added to help the parsers + */ + NULL; + public static V3SetOperator fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ValueSetOperator".equals(codeString)) + return _VALUESETOPERATOR; + if ("E".equals(codeString)) + return E; + if ("I".equals(codeString)) + return I; + if ("A".equals(codeString)) + return A; + if ("H".equals(codeString)) + return H; + if ("P".equals(codeString)) + return P; + throw new Exception("Unknown V3SetOperator code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _VALUESETOPERATOR: return "_ValueSetOperator"; + case E: return "E"; + case I: return "I"; + case A: return "A"; + case H: return "H"; + case P: return "P"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/SetOperator"; + } + public String getDefinition() { + switch (this) { + case _VALUESETOPERATOR: return "Operations that can be used to associate concepts in a terminology."; + case E: return "Form the set-difference with this value, i.e., exclude this element or set from the resulting set."; + case I: return "Form the union with this value, i.e., include this element or set in the resulting set."; + case A: return "Form the intersection with the value."; + case H: return "Form the convex hull with the value. The convex hull is defined over ordered domains and is the smallest contiguous superset (interval) that of all the operand sets."; + case P: return "Form the periodic hull with the value. The periodic hull is defined over ordered domains and is the periodic set that contains all contiguous supersets of pairs of intervals generated by the operand periodic intervals."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _VALUESETOPERATOR: return "ValueSetOperator"; + case E: return "exclude"; + case I: return "include"; + case A: return "intersect"; + case H: return "convex hull"; + case P: return "periodic hull"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperatorEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperatorEnumFactory.java new file mode 100644 index 00000000000..02c4911c37e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SetOperatorEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3SetOperatorEnumFactory implements EnumFactory { + + public V3SetOperator fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ValueSetOperator".equals(codeString)) + return V3SetOperator._VALUESETOPERATOR; + if ("E".equals(codeString)) + return V3SetOperator.E; + if ("I".equals(codeString)) + return V3SetOperator.I; + if ("A".equals(codeString)) + return V3SetOperator.A; + if ("H".equals(codeString)) + return V3SetOperator.H; + if ("P".equals(codeString)) + return V3SetOperator.P; + throw new IllegalArgumentException("Unknown V3SetOperator code '"+codeString+"'"); + } + + public String toCode(V3SetOperator code) { + if (code == V3SetOperator._VALUESETOPERATOR) + return "_ValueSetOperator"; + if (code == V3SetOperator.E) + return "E"; + if (code == V3SetOperator.I) + return "I"; + if (code == V3SetOperator.A) + return "A"; + if (code == V3SetOperator.H) + return "H"; + if (code == V3SetOperator.P) + return "P"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangement.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangement.java new file mode 100644 index 00000000000..cba91202b4f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangement.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3SpecialArrangement { + + /** + * added to help the parsers + */ + NULL; + public static V3SpecialArrangement fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + throw new Exception("Unknown V3SpecialArrangement code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/SpecialArrangement"; + } + public String getDefinition() { + switch (this) { + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangementEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangementEnumFactory.java new file mode 100644 index 00000000000..89cf8c2b17d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecialArrangementEnumFactory.java @@ -0,0 +1,51 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3SpecialArrangementEnumFactory implements EnumFactory { + + public V3SpecialArrangement fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + throw new IllegalArgumentException("Unknown V3SpecialArrangement code '"+codeString+"'"); + } + + public String toCode(V3SpecialArrangement code) { + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenType.java new file mode 100644 index 00000000000..3931a470eae --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenType.java @@ -0,0 +1,1183 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3SpecimenType { + + /** + * SpecimenEntityType + */ + _SPECIMENENTITYTYPE, + /** + * Abcess + */ + ABS, + /** + * Amniotic fluid + */ + AMN, + /** + * Aspirate + */ + ASP, + /** + * Blood bag + */ + BBL, + /** + * Whole body + */ + BDY, + /** + * Bile fluid + */ + BIFL, + /** + * Whole blood + */ + BLD, + /** + * Blood arterial + */ + BLDA, + /** + * Blood capillary + */ + BLDC, + /** + * Blood - cord + */ + BLDCO, + /** + * Blood venous + */ + BLDV, + /** + * Bone + */ + BON, + /** + * Basophils + */ + BPH, + /** + * Blood product unit + */ + BPU, + /** + * Burn + */ + BRN, + /** + * Bronchial + */ + BRO, + /** + * Exhaled gas (=breath) + */ + BRTH, + /** + * Calculus (=Stone) + */ + CALC, + /** + * Cardiac muscle + */ + CDM, + /** + * Conjunctiva + */ + CNJT, + /** + * Cannula + */ + CNL, + /** + * Colostrum + */ + COL, + /** + * Cornea + */ + CRN, + /** + * Cerebral spinal fluid + */ + CSF, + /** + * Catheter tip + */ + CTP, + /** + * Curettage + */ + CUR, + /** + * Cervical mucus + */ + CVM, + /** + * Cervix + */ + CVX, + /** + * Cyst + */ + CYST, + /** + * Dialysis fluid + */ + DIAF, + /** + * Dose med or substance + */ + DOSE, + /** + * Drain + */ + DRN, + /** + * Duodenal fluid + */ + DUFL, + /** + * Ear + */ + EAR, + /** + * Ear wax (cerumen) + */ + EARW, + /** + * Electrode + */ + ELT, + /** + * Endocardium + */ + ENDC, + /** + * Endometrium + */ + ENDM, + /** + * Eosinophils + */ + EOS, + /** + * Eye + */ + EYE, + /** + * Fibroblasts + */ + FIB, + /** + * Fistula + */ + FIST, + /** + * Filter + */ + FLT, + /** + * Body fluid, unsp + */ + FLU, + /** + * Food sample + */ + FOOD, + /** + * Gas + */ + GAS, + /** + * Gastric fluid/contents + */ + GAST, + /** + * Genital + */ + GEN, + /** + * Genital cervix + */ + GENC, + /** + * Genital fluid + */ + GENF, + /** + * Genital lochia + */ + GENL, + /** + * Genital vaginal + */ + GENV, + /** + * Hair + */ + HAR, + /** + * Inhaled Gas + */ + IHG, + /** + * Isolate + */ + ISLT, + /** + * Intubation tube + */ + IT, + /** + * Lamella + */ + LAM, + /** + * Liquid NOS + */ + LIQ, + /** + * Line + */ + LN, + /** + * Line arterial + */ + LNA, + /** + * Line venous + */ + LNV, + /** + * Lymphocytes + */ + LYM, + /** + * Macrophages + */ + MAC, + /** + * Marrow (bone) + */ + MAR, + /** + * Menstrual blood + */ + MBLD, + /** + * Meconium + */ + MEC, + /** + * Breast milk + */ + MILK, + /** + * Milk + */ + MLK, + /** + * Nail + */ + NAIL, + /** + * Nose (nasal passage) + */ + NOS, + /** + * Pancreatic fluid + */ + PAFL, + /** + * Patient + */ + PAT, + /** + * Plasma + */ + PLAS, + /** + * Plasma bag + */ + PLB, + /** + * Placenta + */ + PLC, + /** + * Pleural fluid (thoracentesis fld) + */ + PLR, + /** + * Polymorphonuclear neutrophils + */ + PMN, + /** + * Platelet poor plasma + */ + PPP, + /** + * Platelet rich plasma + */ + PRP, + /** + * Peritoneal fluid /ascites + */ + PRT, + /** + * Pus + */ + PUS, + /** + * Erythrocytes + */ + RBC, + /** + * Saliva + */ + SAL, + /** + * Serum + */ + SER, + /** + * Skeletal muscle + */ + SKM, + /** + * Skin + */ + SKN, + /** + * Seminal fluid + */ + SMN, + /** + * Seminal plasma + */ + SMPLS, + /** + * Synovial fluid (Joint fluid) + */ + SNV, + /** + * Spermatozoa + */ + SPRM, + /** + * Sputum + */ + SPT, + /** + * Sputum - coughed + */ + SPTC, + /** + * Sputum - tracheal aspirate + */ + SPTT, + /** + * Stool = Fecal + */ + STL, + /** + * Sweat + */ + SWT, + /** + * Tears + */ + TEAR, + /** + * Thrombocyte (platelet) + */ + THRB, + /** + * Throat + */ + THRT, + /** + * Tissue gall bladder + */ + TISG, + /** + * Tissue placenta + */ + TISPL, + /** + * Tissue, unspecified + */ + TISS, + /** + * Tissue ulcer + */ + TISU, + /** + * Tissue large intestine + */ + TLGI, + /** + * Tissue lung + */ + TLNG, + /** + * Tissue small intestine Tissue ulcer + */ + TSMI, + /** + * Tube, unspecified + */ + TUB, + /** + * Ulcer + */ + ULC, + /** + * Umbilical blood + */ + UMB, + /** + * Unknown medicine + */ + UMED, + /** + * Urine + */ + UR, + /** + * Urine clean catch + */ + URC, + /** + * Urine sediment + */ + URNS, + /** + * Urine catheter + */ + URT, + /** + * Urethra + */ + URTH, + /** + * Unknown substance + */ + USUB, + /** + * Vomitus + */ + VOM, + /** + * Water + */ + WAT, + /** + * Leukocytes + */ + WBC, + /** + * Wick + */ + WICK, + /** + * Wound + */ + WND, + /** + * Wound abscess + */ + WNDA, + /** + * Wound drainage + */ + WNDD, + /** + * Wound exudate + */ + WNDE, + /** + * added to help the parsers + */ + NULL; + public static V3SpecimenType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_SpecimenEntityType".equals(codeString)) + return _SPECIMENENTITYTYPE; + if ("ABS".equals(codeString)) + return ABS; + if ("AMN".equals(codeString)) + return AMN; + if ("ASP".equals(codeString)) + return ASP; + if ("BBL".equals(codeString)) + return BBL; + if ("BDY".equals(codeString)) + return BDY; + if ("BIFL".equals(codeString)) + return BIFL; + if ("BLD".equals(codeString)) + return BLD; + if ("BLDA".equals(codeString)) + return BLDA; + if ("BLDC".equals(codeString)) + return BLDC; + if ("BLDCO".equals(codeString)) + return BLDCO; + if ("BLDV".equals(codeString)) + return BLDV; + if ("BON".equals(codeString)) + return BON; + if ("BPH".equals(codeString)) + return BPH; + if ("BPU".equals(codeString)) + return BPU; + if ("BRN".equals(codeString)) + return BRN; + if ("BRO".equals(codeString)) + return BRO; + if ("BRTH".equals(codeString)) + return BRTH; + if ("CALC".equals(codeString)) + return CALC; + if ("CDM".equals(codeString)) + return CDM; + if ("CNJT".equals(codeString)) + return CNJT; + if ("CNL".equals(codeString)) + return CNL; + if ("COL".equals(codeString)) + return COL; + if ("CRN".equals(codeString)) + return CRN; + if ("CSF".equals(codeString)) + return CSF; + if ("CTP".equals(codeString)) + return CTP; + if ("CUR".equals(codeString)) + return CUR; + if ("CVM".equals(codeString)) + return CVM; + if ("CVX".equals(codeString)) + return CVX; + if ("CYST".equals(codeString)) + return CYST; + if ("DIAF".equals(codeString)) + return DIAF; + if ("DOSE".equals(codeString)) + return DOSE; + if ("DRN".equals(codeString)) + return DRN; + if ("DUFL".equals(codeString)) + return DUFL; + if ("EAR".equals(codeString)) + return EAR; + if ("EARW".equals(codeString)) + return EARW; + if ("ELT".equals(codeString)) + return ELT; + if ("ENDC".equals(codeString)) + return ENDC; + if ("ENDM".equals(codeString)) + return ENDM; + if ("EOS".equals(codeString)) + return EOS; + if ("EYE".equals(codeString)) + return EYE; + if ("FIB".equals(codeString)) + return FIB; + if ("FIST".equals(codeString)) + return FIST; + if ("FLT".equals(codeString)) + return FLT; + if ("FLU".equals(codeString)) + return FLU; + if ("FOOD".equals(codeString)) + return FOOD; + if ("GAS".equals(codeString)) + return GAS; + if ("GAST".equals(codeString)) + return GAST; + if ("GEN".equals(codeString)) + return GEN; + if ("GENC".equals(codeString)) + return GENC; + if ("GENF".equals(codeString)) + return GENF; + if ("GENL".equals(codeString)) + return GENL; + if ("GENV".equals(codeString)) + return GENV; + if ("HAR".equals(codeString)) + return HAR; + if ("IHG".equals(codeString)) + return IHG; + if ("ISLT".equals(codeString)) + return ISLT; + if ("IT".equals(codeString)) + return IT; + if ("LAM".equals(codeString)) + return LAM; + if ("LIQ".equals(codeString)) + return LIQ; + if ("LN".equals(codeString)) + return LN; + if ("LNA".equals(codeString)) + return LNA; + if ("LNV".equals(codeString)) + return LNV; + if ("LYM".equals(codeString)) + return LYM; + if ("MAC".equals(codeString)) + return MAC; + if ("MAR".equals(codeString)) + return MAR; + if ("MBLD".equals(codeString)) + return MBLD; + if ("MEC".equals(codeString)) + return MEC; + if ("MILK".equals(codeString)) + return MILK; + if ("MLK".equals(codeString)) + return MLK; + if ("NAIL".equals(codeString)) + return NAIL; + if ("NOS".equals(codeString)) + return NOS; + if ("PAFL".equals(codeString)) + return PAFL; + if ("PAT".equals(codeString)) + return PAT; + if ("PLAS".equals(codeString)) + return PLAS; + if ("PLB".equals(codeString)) + return PLB; + if ("PLC".equals(codeString)) + return PLC; + if ("PLR".equals(codeString)) + return PLR; + if ("PMN".equals(codeString)) + return PMN; + if ("PPP".equals(codeString)) + return PPP; + if ("PRP".equals(codeString)) + return PRP; + if ("PRT".equals(codeString)) + return PRT; + if ("PUS".equals(codeString)) + return PUS; + if ("RBC".equals(codeString)) + return RBC; + if ("SAL".equals(codeString)) + return SAL; + if ("SER".equals(codeString)) + return SER; + if ("SKM".equals(codeString)) + return SKM; + if ("SKN".equals(codeString)) + return SKN; + if ("SMN".equals(codeString)) + return SMN; + if ("SMPLS".equals(codeString)) + return SMPLS; + if ("SNV".equals(codeString)) + return SNV; + if ("SPRM".equals(codeString)) + return SPRM; + if ("SPT".equals(codeString)) + return SPT; + if ("SPTC".equals(codeString)) + return SPTC; + if ("SPTT".equals(codeString)) + return SPTT; + if ("STL".equals(codeString)) + return STL; + if ("SWT".equals(codeString)) + return SWT; + if ("TEAR".equals(codeString)) + return TEAR; + if ("THRB".equals(codeString)) + return THRB; + if ("THRT".equals(codeString)) + return THRT; + if ("TISG".equals(codeString)) + return TISG; + if ("TISPL".equals(codeString)) + return TISPL; + if ("TISS".equals(codeString)) + return TISS; + if ("TISU".equals(codeString)) + return TISU; + if ("TLGI".equals(codeString)) + return TLGI; + if ("TLNG".equals(codeString)) + return TLNG; + if ("TSMI".equals(codeString)) + return TSMI; + if ("TUB".equals(codeString)) + return TUB; + if ("ULC".equals(codeString)) + return ULC; + if ("UMB".equals(codeString)) + return UMB; + if ("UMED".equals(codeString)) + return UMED; + if ("UR".equals(codeString)) + return UR; + if ("URC".equals(codeString)) + return URC; + if ("URNS".equals(codeString)) + return URNS; + if ("URT".equals(codeString)) + return URT; + if ("URTH".equals(codeString)) + return URTH; + if ("USUB".equals(codeString)) + return USUB; + if ("VOM".equals(codeString)) + return VOM; + if ("WAT".equals(codeString)) + return WAT; + if ("WBC".equals(codeString)) + return WBC; + if ("WICK".equals(codeString)) + return WICK; + if ("WND".equals(codeString)) + return WND; + if ("WNDA".equals(codeString)) + return WNDA; + if ("WNDD".equals(codeString)) + return WNDD; + if ("WNDE".equals(codeString)) + return WNDE; + throw new Exception("Unknown V3SpecimenType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _SPECIMENENTITYTYPE: return "_SpecimenEntityType"; + case ABS: return "ABS"; + case AMN: return "AMN"; + case ASP: return "ASP"; + case BBL: return "BBL"; + case BDY: return "BDY"; + case BIFL: return "BIFL"; + case BLD: return "BLD"; + case BLDA: return "BLDA"; + case BLDC: return "BLDC"; + case BLDCO: return "BLDCO"; + case BLDV: return "BLDV"; + case BON: return "BON"; + case BPH: return "BPH"; + case BPU: return "BPU"; + case BRN: return "BRN"; + case BRO: return "BRO"; + case BRTH: return "BRTH"; + case CALC: return "CALC"; + case CDM: return "CDM"; + case CNJT: return "CNJT"; + case CNL: return "CNL"; + case COL: return "COL"; + case CRN: return "CRN"; + case CSF: return "CSF"; + case CTP: return "CTP"; + case CUR: return "CUR"; + case CVM: return "CVM"; + case CVX: return "CVX"; + case CYST: return "CYST"; + case DIAF: return "DIAF"; + case DOSE: return "DOSE"; + case DRN: return "DRN"; + case DUFL: return "DUFL"; + case EAR: return "EAR"; + case EARW: return "EARW"; + case ELT: return "ELT"; + case ENDC: return "ENDC"; + case ENDM: return "ENDM"; + case EOS: return "EOS"; + case EYE: return "EYE"; + case FIB: return "FIB"; + case FIST: return "FIST"; + case FLT: return "FLT"; + case FLU: return "FLU"; + case FOOD: return "FOOD"; + case GAS: return "GAS"; + case GAST: return "GAST"; + case GEN: return "GEN"; + case GENC: return "GENC"; + case GENF: return "GENF"; + case GENL: return "GENL"; + case GENV: return "GENV"; + case HAR: return "HAR"; + case IHG: return "IHG"; + case ISLT: return "ISLT"; + case IT: return "IT"; + case LAM: return "LAM"; + case LIQ: return "LIQ"; + case LN: return "LN"; + case LNA: return "LNA"; + case LNV: return "LNV"; + case LYM: return "LYM"; + case MAC: return "MAC"; + case MAR: return "MAR"; + case MBLD: return "MBLD"; + case MEC: return "MEC"; + case MILK: return "MILK"; + case MLK: return "MLK"; + case NAIL: return "NAIL"; + case NOS: return "NOS"; + case PAFL: return "PAFL"; + case PAT: return "PAT"; + case PLAS: return "PLAS"; + case PLB: return "PLB"; + case PLC: return "PLC"; + case PLR: return "PLR"; + case PMN: return "PMN"; + case PPP: return "PPP"; + case PRP: return "PRP"; + case PRT: return "PRT"; + case PUS: return "PUS"; + case RBC: return "RBC"; + case SAL: return "SAL"; + case SER: return "SER"; + case SKM: return "SKM"; + case SKN: return "SKN"; + case SMN: return "SMN"; + case SMPLS: return "SMPLS"; + case SNV: return "SNV"; + case SPRM: return "SPRM"; + case SPT: return "SPT"; + case SPTC: return "SPTC"; + case SPTT: return "SPTT"; + case STL: return "STL"; + case SWT: return "SWT"; + case TEAR: return "TEAR"; + case THRB: return "THRB"; + case THRT: return "THRT"; + case TISG: return "TISG"; + case TISPL: return "TISPL"; + case TISS: return "TISS"; + case TISU: return "TISU"; + case TLGI: return "TLGI"; + case TLNG: return "TLNG"; + case TSMI: return "TSMI"; + case TUB: return "TUB"; + case ULC: return "ULC"; + case UMB: return "UMB"; + case UMED: return "UMED"; + case UR: return "UR"; + case URC: return "URC"; + case URNS: return "URNS"; + case URT: return "URT"; + case URTH: return "URTH"; + case USUB: return "USUB"; + case VOM: return "VOM"; + case WAT: return "WAT"; + case WBC: return "WBC"; + case WICK: return "WICK"; + case WND: return "WND"; + case WNDA: return "WNDA"; + case WNDD: return "WNDD"; + case WNDE: return "WNDE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/SpecimenType"; + } + public String getDefinition() { + switch (this) { + case _SPECIMENENTITYTYPE: return "SpecimenEntityType"; + case ABS: return "Abcess"; + case AMN: return "Amniotic fluid"; + case ASP: return "Aspirate"; + case BBL: return "Blood bag"; + case BDY: return "Whole body"; + case BIFL: return "Bile fluid"; + case BLD: return "Whole blood"; + case BLDA: return "Blood arterial"; + case BLDC: return "Blood capillary"; + case BLDCO: return "Blood - cord"; + case BLDV: return "Blood venous"; + case BON: return "Bone"; + case BPH: return "Basophils"; + case BPU: return "Blood product unit"; + case BRN: return "Burn"; + case BRO: return "Bronchial"; + case BRTH: return "Exhaled gas (=breath)"; + case CALC: return "Calculus (=Stone)"; + case CDM: return "Cardiac muscle"; + case CNJT: return "Conjunctiva"; + case CNL: return "Cannula"; + case COL: return "Colostrum"; + case CRN: return "Cornea"; + case CSF: return "Cerebral spinal fluid"; + case CTP: return "Catheter tip"; + case CUR: return "Curettage"; + case CVM: return "Cervical mucus"; + case CVX: return "Cervix"; + case CYST: return "Cyst"; + case DIAF: return "Dialysis fluid"; + case DOSE: return "Dose med or substance"; + case DRN: return "Drain"; + case DUFL: return "Duodenal fluid"; + case EAR: return "Ear"; + case EARW: return "Ear wax (cerumen)"; + case ELT: return "Electrode"; + case ENDC: return "Endocardium"; + case ENDM: return "Endometrium"; + case EOS: return "Eosinophils"; + case EYE: return "Eye"; + case FIB: return "Fibroblasts"; + case FIST: return "Fistula"; + case FLT: return "Filter"; + case FLU: return "Body fluid, unsp"; + case FOOD: return "Food sample"; + case GAS: return "Gas"; + case GAST: return "Gastric fluid/contents"; + case GEN: return "Genital"; + case GENC: return "Genital cervix"; + case GENF: return "Genital fluid"; + case GENL: return "Genital lochia"; + case GENV: return "Genital vaginal"; + case HAR: return "Hair"; + case IHG: return "Inhaled Gas"; + case ISLT: return "Isolate"; + case IT: return "Intubation tube"; + case LAM: return "Lamella"; + case LIQ: return "Liquid NOS"; + case LN: return "Line"; + case LNA: return "Line arterial"; + case LNV: return "Line venous"; + case LYM: return "Lymphocytes"; + case MAC: return "Macrophages"; + case MAR: return "Marrow (bone)"; + case MBLD: return "Menstrual blood"; + case MEC: return "Meconium"; + case MILK: return "Breast milk"; + case MLK: return "Milk"; + case NAIL: return "Nail"; + case NOS: return "Nose (nasal passage)"; + case PAFL: return "Pancreatic fluid"; + case PAT: return "Patient"; + case PLAS: return "Plasma"; + case PLB: return "Plasma bag"; + case PLC: return "Placenta"; + case PLR: return "Pleural fluid (thoracentesis fld)"; + case PMN: return "Polymorphonuclear neutrophils"; + case PPP: return "Platelet poor plasma"; + case PRP: return "Platelet rich plasma"; + case PRT: return "Peritoneal fluid /ascites"; + case PUS: return "Pus"; + case RBC: return "Erythrocytes"; + case SAL: return "Saliva"; + case SER: return "Serum"; + case SKM: return "Skeletal muscle"; + case SKN: return "Skin"; + case SMN: return "Seminal fluid"; + case SMPLS: return "Seminal plasma"; + case SNV: return "Synovial fluid (Joint fluid)"; + case SPRM: return "Spermatozoa"; + case SPT: return "Sputum"; + case SPTC: return "Sputum - coughed"; + case SPTT: return "Sputum - tracheal aspirate"; + case STL: return "Stool = Fecal"; + case SWT: return "Sweat"; + case TEAR: return "Tears"; + case THRB: return "Thrombocyte (platelet)"; + case THRT: return "Throat"; + case TISG: return "Tissue gall bladder"; + case TISPL: return "Tissue placenta"; + case TISS: return "Tissue, unspecified"; + case TISU: return "Tissue ulcer"; + case TLGI: return "Tissue large intestine"; + case TLNG: return "Tissue lung"; + case TSMI: return "Tissue small intestine Tissue ulcer"; + case TUB: return "Tube, unspecified"; + case ULC: return "Ulcer"; + case UMB: return "Umbilical blood"; + case UMED: return "Unknown medicine"; + case UR: return "Urine"; + case URC: return "Urine clean catch"; + case URNS: return "Urine sediment"; + case URT: return "Urine catheter"; + case URTH: return "Urethra"; + case USUB: return "Unknown substance"; + case VOM: return "Vomitus"; + case WAT: return "Water"; + case WBC: return "Leukocytes"; + case WICK: return "Wick"; + case WND: return "Wound"; + case WNDA: return "Wound abscess"; + case WNDD: return "Wound drainage"; + case WNDE: return "Wound exudate"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _SPECIMENENTITYTYPE: return "SpecimenEntityType"; + case ABS: return "Abcess"; + case AMN: return "Amniotic fluid"; + case ASP: return "Aspirate"; + case BBL: return "Blood bag"; + case BDY: return "Whole body"; + case BIFL: return "Bile fluid"; + case BLD: return "Whole blood"; + case BLDA: return "Blood arterial"; + case BLDC: return "Blood capillary"; + case BLDCO: return "Blood - cord"; + case BLDV: return "Blood venous"; + case BON: return "Bone"; + case BPH: return "Basophils"; + case BPU: return "Blood product unit"; + case BRN: return "Burn"; + case BRO: return "Bronchial"; + case BRTH: return "Exhaled gas (=breath)"; + case CALC: return "Calculus (=Stone)"; + case CDM: return "Cardiac muscle"; + case CNJT: return "Conjunctiva"; + case CNL: return "Cannula"; + case COL: return "Colostrum"; + case CRN: return "Cornea"; + case CSF: return "Cerebral spinal fluid"; + case CTP: return "Catheter tip"; + case CUR: return "Curettage"; + case CVM: return "Cervical mucus"; + case CVX: return "Cervix"; + case CYST: return "Cyst"; + case DIAF: return "Dialysis fluid"; + case DOSE: return "Dose med or substance"; + case DRN: return "Drain"; + case DUFL: return "Duodenal fluid"; + case EAR: return "Ear"; + case EARW: return "Ear wax (cerumen)"; + case ELT: return "Electrode"; + case ENDC: return "Endocardium"; + case ENDM: return "Endometrium"; + case EOS: return "Eosinophils"; + case EYE: return "Eye"; + case FIB: return "Fibroblasts"; + case FIST: return "Fistula"; + case FLT: return "Filter"; + case FLU: return "Body fluid, unsp"; + case FOOD: return "Food sample"; + case GAS: return "Gas"; + case GAST: return "Gastric fluid/contents"; + case GEN: return "Genital"; + case GENC: return "Genital cervix"; + case GENF: return "Genital fluid"; + case GENL: return "Genital lochia"; + case GENV: return "Genital vaginal"; + case HAR: return "Hair"; + case IHG: return "Inhaled Gas"; + case ISLT: return "Isolate"; + case IT: return "Intubation tube"; + case LAM: return "Lamella"; + case LIQ: return "Liquid NOS"; + case LN: return "Line"; + case LNA: return "Line arterial"; + case LNV: return "Line venous"; + case LYM: return "Lymphocytes"; + case MAC: return "Macrophages"; + case MAR: return "Marrow (bone)"; + case MBLD: return "Menstrual blood"; + case MEC: return "Meconium"; + case MILK: return "Breast milk"; + case MLK: return "Milk"; + case NAIL: return "Nail"; + case NOS: return "Nose (nasal passage)"; + case PAFL: return "Pancreatic fluid"; + case PAT: return "Patient"; + case PLAS: return "Plasma"; + case PLB: return "Plasma bag"; + case PLC: return "Placenta"; + case PLR: return "Pleural fluid (thoracentesis fld)"; + case PMN: return "Polymorphonuclear neutrophils"; + case PPP: return "Platelet poor plasma"; + case PRP: return "Platelet rich plasma"; + case PRT: return "Peritoneal fluid /ascites"; + case PUS: return "Pus"; + case RBC: return "Erythrocytes"; + case SAL: return "Saliva"; + case SER: return "Serum"; + case SKM: return "Skeletal muscle"; + case SKN: return "Skin"; + case SMN: return "Seminal fluid"; + case SMPLS: return "Seminal plasma"; + case SNV: return "Synovial fluid (Joint fluid)"; + case SPRM: return "Spermatozoa"; + case SPT: return "Sputum"; + case SPTC: return "Sputum - coughed"; + case SPTT: return "Sputum - tracheal aspirate"; + case STL: return "Stool = Fecal"; + case SWT: return "Sweat"; + case TEAR: return "Tears"; + case THRB: return "Thrombocyte (platelet)"; + case THRT: return "Throat"; + case TISG: return "Tissue gall bladder"; + case TISPL: return "Tissue placenta"; + case TISS: return "Tissue, unspecified"; + case TISU: return "Tissue ulcer"; + case TLGI: return "Tissue large intestine"; + case TLNG: return "Tissue lung"; + case TSMI: return "Tissue small intestine Tissue ulcer"; + case TUB: return "Tube, unspecified"; + case ULC: return "Ulcer"; + case UMB: return "Umbilical blood"; + case UMED: return "Unknown medicine"; + case UR: return "Urine"; + case URC: return "Urine clean catch"; + case URNS: return "Urine sediment"; + case URT: return "Urine catheter"; + case URTH: return "Urethra"; + case USUB: return "Unknown substance"; + case VOM: return "Vomitus"; + case WAT: return "Water"; + case WBC: return "Leukocytes"; + case WICK: return "Wick"; + case WND: return "Wound"; + case WNDA: return "Wound abscess"; + case WNDD: return "Wound drainage"; + case WNDE: return "Wound exudate"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenTypeEnumFactory.java new file mode 100644 index 00000000000..c30f137ea9e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SpecimenTypeEnumFactory.java @@ -0,0 +1,547 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3SpecimenTypeEnumFactory implements EnumFactory { + + public V3SpecimenType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_SpecimenEntityType".equals(codeString)) + return V3SpecimenType._SPECIMENENTITYTYPE; + if ("ABS".equals(codeString)) + return V3SpecimenType.ABS; + if ("AMN".equals(codeString)) + return V3SpecimenType.AMN; + if ("ASP".equals(codeString)) + return V3SpecimenType.ASP; + if ("BBL".equals(codeString)) + return V3SpecimenType.BBL; + if ("BDY".equals(codeString)) + return V3SpecimenType.BDY; + if ("BIFL".equals(codeString)) + return V3SpecimenType.BIFL; + if ("BLD".equals(codeString)) + return V3SpecimenType.BLD; + if ("BLDA".equals(codeString)) + return V3SpecimenType.BLDA; + if ("BLDC".equals(codeString)) + return V3SpecimenType.BLDC; + if ("BLDCO".equals(codeString)) + return V3SpecimenType.BLDCO; + if ("BLDV".equals(codeString)) + return V3SpecimenType.BLDV; + if ("BON".equals(codeString)) + return V3SpecimenType.BON; + if ("BPH".equals(codeString)) + return V3SpecimenType.BPH; + if ("BPU".equals(codeString)) + return V3SpecimenType.BPU; + if ("BRN".equals(codeString)) + return V3SpecimenType.BRN; + if ("BRO".equals(codeString)) + return V3SpecimenType.BRO; + if ("BRTH".equals(codeString)) + return V3SpecimenType.BRTH; + if ("CALC".equals(codeString)) + return V3SpecimenType.CALC; + if ("CDM".equals(codeString)) + return V3SpecimenType.CDM; + if ("CNJT".equals(codeString)) + return V3SpecimenType.CNJT; + if ("CNL".equals(codeString)) + return V3SpecimenType.CNL; + if ("COL".equals(codeString)) + return V3SpecimenType.COL; + if ("CRN".equals(codeString)) + return V3SpecimenType.CRN; + if ("CSF".equals(codeString)) + return V3SpecimenType.CSF; + if ("CTP".equals(codeString)) + return V3SpecimenType.CTP; + if ("CUR".equals(codeString)) + return V3SpecimenType.CUR; + if ("CVM".equals(codeString)) + return V3SpecimenType.CVM; + if ("CVX".equals(codeString)) + return V3SpecimenType.CVX; + if ("CYST".equals(codeString)) + return V3SpecimenType.CYST; + if ("DIAF".equals(codeString)) + return V3SpecimenType.DIAF; + if ("DOSE".equals(codeString)) + return V3SpecimenType.DOSE; + if ("DRN".equals(codeString)) + return V3SpecimenType.DRN; + if ("DUFL".equals(codeString)) + return V3SpecimenType.DUFL; + if ("EAR".equals(codeString)) + return V3SpecimenType.EAR; + if ("EARW".equals(codeString)) + return V3SpecimenType.EARW; + if ("ELT".equals(codeString)) + return V3SpecimenType.ELT; + if ("ENDC".equals(codeString)) + return V3SpecimenType.ENDC; + if ("ENDM".equals(codeString)) + return V3SpecimenType.ENDM; + if ("EOS".equals(codeString)) + return V3SpecimenType.EOS; + if ("EYE".equals(codeString)) + return V3SpecimenType.EYE; + if ("FIB".equals(codeString)) + return V3SpecimenType.FIB; + if ("FIST".equals(codeString)) + return V3SpecimenType.FIST; + if ("FLT".equals(codeString)) + return V3SpecimenType.FLT; + if ("FLU".equals(codeString)) + return V3SpecimenType.FLU; + if ("FOOD".equals(codeString)) + return V3SpecimenType.FOOD; + if ("GAS".equals(codeString)) + return V3SpecimenType.GAS; + if ("GAST".equals(codeString)) + return V3SpecimenType.GAST; + if ("GEN".equals(codeString)) + return V3SpecimenType.GEN; + if ("GENC".equals(codeString)) + return V3SpecimenType.GENC; + if ("GENF".equals(codeString)) + return V3SpecimenType.GENF; + if ("GENL".equals(codeString)) + return V3SpecimenType.GENL; + if ("GENV".equals(codeString)) + return V3SpecimenType.GENV; + if ("HAR".equals(codeString)) + return V3SpecimenType.HAR; + if ("IHG".equals(codeString)) + return V3SpecimenType.IHG; + if ("ISLT".equals(codeString)) + return V3SpecimenType.ISLT; + if ("IT".equals(codeString)) + return V3SpecimenType.IT; + if ("LAM".equals(codeString)) + return V3SpecimenType.LAM; + if ("LIQ".equals(codeString)) + return V3SpecimenType.LIQ; + if ("LN".equals(codeString)) + return V3SpecimenType.LN; + if ("LNA".equals(codeString)) + return V3SpecimenType.LNA; + if ("LNV".equals(codeString)) + return V3SpecimenType.LNV; + if ("LYM".equals(codeString)) + return V3SpecimenType.LYM; + if ("MAC".equals(codeString)) + return V3SpecimenType.MAC; + if ("MAR".equals(codeString)) + return V3SpecimenType.MAR; + if ("MBLD".equals(codeString)) + return V3SpecimenType.MBLD; + if ("MEC".equals(codeString)) + return V3SpecimenType.MEC; + if ("MILK".equals(codeString)) + return V3SpecimenType.MILK; + if ("MLK".equals(codeString)) + return V3SpecimenType.MLK; + if ("NAIL".equals(codeString)) + return V3SpecimenType.NAIL; + if ("NOS".equals(codeString)) + return V3SpecimenType.NOS; + if ("PAFL".equals(codeString)) + return V3SpecimenType.PAFL; + if ("PAT".equals(codeString)) + return V3SpecimenType.PAT; + if ("PLAS".equals(codeString)) + return V3SpecimenType.PLAS; + if ("PLB".equals(codeString)) + return V3SpecimenType.PLB; + if ("PLC".equals(codeString)) + return V3SpecimenType.PLC; + if ("PLR".equals(codeString)) + return V3SpecimenType.PLR; + if ("PMN".equals(codeString)) + return V3SpecimenType.PMN; + if ("PPP".equals(codeString)) + return V3SpecimenType.PPP; + if ("PRP".equals(codeString)) + return V3SpecimenType.PRP; + if ("PRT".equals(codeString)) + return V3SpecimenType.PRT; + if ("PUS".equals(codeString)) + return V3SpecimenType.PUS; + if ("RBC".equals(codeString)) + return V3SpecimenType.RBC; + if ("SAL".equals(codeString)) + return V3SpecimenType.SAL; + if ("SER".equals(codeString)) + return V3SpecimenType.SER; + if ("SKM".equals(codeString)) + return V3SpecimenType.SKM; + if ("SKN".equals(codeString)) + return V3SpecimenType.SKN; + if ("SMN".equals(codeString)) + return V3SpecimenType.SMN; + if ("SMPLS".equals(codeString)) + return V3SpecimenType.SMPLS; + if ("SNV".equals(codeString)) + return V3SpecimenType.SNV; + if ("SPRM".equals(codeString)) + return V3SpecimenType.SPRM; + if ("SPT".equals(codeString)) + return V3SpecimenType.SPT; + if ("SPTC".equals(codeString)) + return V3SpecimenType.SPTC; + if ("SPTT".equals(codeString)) + return V3SpecimenType.SPTT; + if ("STL".equals(codeString)) + return V3SpecimenType.STL; + if ("SWT".equals(codeString)) + return V3SpecimenType.SWT; + if ("TEAR".equals(codeString)) + return V3SpecimenType.TEAR; + if ("THRB".equals(codeString)) + return V3SpecimenType.THRB; + if ("THRT".equals(codeString)) + return V3SpecimenType.THRT; + if ("TISG".equals(codeString)) + return V3SpecimenType.TISG; + if ("TISPL".equals(codeString)) + return V3SpecimenType.TISPL; + if ("TISS".equals(codeString)) + return V3SpecimenType.TISS; + if ("TISU".equals(codeString)) + return V3SpecimenType.TISU; + if ("TLGI".equals(codeString)) + return V3SpecimenType.TLGI; + if ("TLNG".equals(codeString)) + return V3SpecimenType.TLNG; + if ("TSMI".equals(codeString)) + return V3SpecimenType.TSMI; + if ("TUB".equals(codeString)) + return V3SpecimenType.TUB; + if ("ULC".equals(codeString)) + return V3SpecimenType.ULC; + if ("UMB".equals(codeString)) + return V3SpecimenType.UMB; + if ("UMED".equals(codeString)) + return V3SpecimenType.UMED; + if ("UR".equals(codeString)) + return V3SpecimenType.UR; + if ("URC".equals(codeString)) + return V3SpecimenType.URC; + if ("URNS".equals(codeString)) + return V3SpecimenType.URNS; + if ("URT".equals(codeString)) + return V3SpecimenType.URT; + if ("URTH".equals(codeString)) + return V3SpecimenType.URTH; + if ("USUB".equals(codeString)) + return V3SpecimenType.USUB; + if ("VOM".equals(codeString)) + return V3SpecimenType.VOM; + if ("WAT".equals(codeString)) + return V3SpecimenType.WAT; + if ("WBC".equals(codeString)) + return V3SpecimenType.WBC; + if ("WICK".equals(codeString)) + return V3SpecimenType.WICK; + if ("WND".equals(codeString)) + return V3SpecimenType.WND; + if ("WNDA".equals(codeString)) + return V3SpecimenType.WNDA; + if ("WNDD".equals(codeString)) + return V3SpecimenType.WNDD; + if ("WNDE".equals(codeString)) + return V3SpecimenType.WNDE; + throw new IllegalArgumentException("Unknown V3SpecimenType code '"+codeString+"'"); + } + + public String toCode(V3SpecimenType code) { + if (code == V3SpecimenType._SPECIMENENTITYTYPE) + return "_SpecimenEntityType"; + if (code == V3SpecimenType.ABS) + return "ABS"; + if (code == V3SpecimenType.AMN) + return "AMN"; + if (code == V3SpecimenType.ASP) + return "ASP"; + if (code == V3SpecimenType.BBL) + return "BBL"; + if (code == V3SpecimenType.BDY) + return "BDY"; + if (code == V3SpecimenType.BIFL) + return "BIFL"; + if (code == V3SpecimenType.BLD) + return "BLD"; + if (code == V3SpecimenType.BLDA) + return "BLDA"; + if (code == V3SpecimenType.BLDC) + return "BLDC"; + if (code == V3SpecimenType.BLDCO) + return "BLDCO"; + if (code == V3SpecimenType.BLDV) + return "BLDV"; + if (code == V3SpecimenType.BON) + return "BON"; + if (code == V3SpecimenType.BPH) + return "BPH"; + if (code == V3SpecimenType.BPU) + return "BPU"; + if (code == V3SpecimenType.BRN) + return "BRN"; + if (code == V3SpecimenType.BRO) + return "BRO"; + if (code == V3SpecimenType.BRTH) + return "BRTH"; + if (code == V3SpecimenType.CALC) + return "CALC"; + if (code == V3SpecimenType.CDM) + return "CDM"; + if (code == V3SpecimenType.CNJT) + return "CNJT"; + if (code == V3SpecimenType.CNL) + return "CNL"; + if (code == V3SpecimenType.COL) + return "COL"; + if (code == V3SpecimenType.CRN) + return "CRN"; + if (code == V3SpecimenType.CSF) + return "CSF"; + if (code == V3SpecimenType.CTP) + return "CTP"; + if (code == V3SpecimenType.CUR) + return "CUR"; + if (code == V3SpecimenType.CVM) + return "CVM"; + if (code == V3SpecimenType.CVX) + return "CVX"; + if (code == V3SpecimenType.CYST) + return "CYST"; + if (code == V3SpecimenType.DIAF) + return "DIAF"; + if (code == V3SpecimenType.DOSE) + return "DOSE"; + if (code == V3SpecimenType.DRN) + return "DRN"; + if (code == V3SpecimenType.DUFL) + return "DUFL"; + if (code == V3SpecimenType.EAR) + return "EAR"; + if (code == V3SpecimenType.EARW) + return "EARW"; + if (code == V3SpecimenType.ELT) + return "ELT"; + if (code == V3SpecimenType.ENDC) + return "ENDC"; + if (code == V3SpecimenType.ENDM) + return "ENDM"; + if (code == V3SpecimenType.EOS) + return "EOS"; + if (code == V3SpecimenType.EYE) + return "EYE"; + if (code == V3SpecimenType.FIB) + return "FIB"; + if (code == V3SpecimenType.FIST) + return "FIST"; + if (code == V3SpecimenType.FLT) + return "FLT"; + if (code == V3SpecimenType.FLU) + return "FLU"; + if (code == V3SpecimenType.FOOD) + return "FOOD"; + if (code == V3SpecimenType.GAS) + return "GAS"; + if (code == V3SpecimenType.GAST) + return "GAST"; + if (code == V3SpecimenType.GEN) + return "GEN"; + if (code == V3SpecimenType.GENC) + return "GENC"; + if (code == V3SpecimenType.GENF) + return "GENF"; + if (code == V3SpecimenType.GENL) + return "GENL"; + if (code == V3SpecimenType.GENV) + return "GENV"; + if (code == V3SpecimenType.HAR) + return "HAR"; + if (code == V3SpecimenType.IHG) + return "IHG"; + if (code == V3SpecimenType.ISLT) + return "ISLT"; + if (code == V3SpecimenType.IT) + return "IT"; + if (code == V3SpecimenType.LAM) + return "LAM"; + if (code == V3SpecimenType.LIQ) + return "LIQ"; + if (code == V3SpecimenType.LN) + return "LN"; + if (code == V3SpecimenType.LNA) + return "LNA"; + if (code == V3SpecimenType.LNV) + return "LNV"; + if (code == V3SpecimenType.LYM) + return "LYM"; + if (code == V3SpecimenType.MAC) + return "MAC"; + if (code == V3SpecimenType.MAR) + return "MAR"; + if (code == V3SpecimenType.MBLD) + return "MBLD"; + if (code == V3SpecimenType.MEC) + return "MEC"; + if (code == V3SpecimenType.MILK) + return "MILK"; + if (code == V3SpecimenType.MLK) + return "MLK"; + if (code == V3SpecimenType.NAIL) + return "NAIL"; + if (code == V3SpecimenType.NOS) + return "NOS"; + if (code == V3SpecimenType.PAFL) + return "PAFL"; + if (code == V3SpecimenType.PAT) + return "PAT"; + if (code == V3SpecimenType.PLAS) + return "PLAS"; + if (code == V3SpecimenType.PLB) + return "PLB"; + if (code == V3SpecimenType.PLC) + return "PLC"; + if (code == V3SpecimenType.PLR) + return "PLR"; + if (code == V3SpecimenType.PMN) + return "PMN"; + if (code == V3SpecimenType.PPP) + return "PPP"; + if (code == V3SpecimenType.PRP) + return "PRP"; + if (code == V3SpecimenType.PRT) + return "PRT"; + if (code == V3SpecimenType.PUS) + return "PUS"; + if (code == V3SpecimenType.RBC) + return "RBC"; + if (code == V3SpecimenType.SAL) + return "SAL"; + if (code == V3SpecimenType.SER) + return "SER"; + if (code == V3SpecimenType.SKM) + return "SKM"; + if (code == V3SpecimenType.SKN) + return "SKN"; + if (code == V3SpecimenType.SMN) + return "SMN"; + if (code == V3SpecimenType.SMPLS) + return "SMPLS"; + if (code == V3SpecimenType.SNV) + return "SNV"; + if (code == V3SpecimenType.SPRM) + return "SPRM"; + if (code == V3SpecimenType.SPT) + return "SPT"; + if (code == V3SpecimenType.SPTC) + return "SPTC"; + if (code == V3SpecimenType.SPTT) + return "SPTT"; + if (code == V3SpecimenType.STL) + return "STL"; + if (code == V3SpecimenType.SWT) + return "SWT"; + if (code == V3SpecimenType.TEAR) + return "TEAR"; + if (code == V3SpecimenType.THRB) + return "THRB"; + if (code == V3SpecimenType.THRT) + return "THRT"; + if (code == V3SpecimenType.TISG) + return "TISG"; + if (code == V3SpecimenType.TISPL) + return "TISPL"; + if (code == V3SpecimenType.TISS) + return "TISS"; + if (code == V3SpecimenType.TISU) + return "TISU"; + if (code == V3SpecimenType.TLGI) + return "TLGI"; + if (code == V3SpecimenType.TLNG) + return "TLNG"; + if (code == V3SpecimenType.TSMI) + return "TSMI"; + if (code == V3SpecimenType.TUB) + return "TUB"; + if (code == V3SpecimenType.ULC) + return "ULC"; + if (code == V3SpecimenType.UMB) + return "UMB"; + if (code == V3SpecimenType.UMED) + return "UMED"; + if (code == V3SpecimenType.UR) + return "UR"; + if (code == V3SpecimenType.URC) + return "URC"; + if (code == V3SpecimenType.URNS) + return "URNS"; + if (code == V3SpecimenType.URT) + return "URT"; + if (code == V3SpecimenType.URTH) + return "URTH"; + if (code == V3SpecimenType.USUB) + return "USUB"; + if (code == V3SpecimenType.VOM) + return "VOM"; + if (code == V3SpecimenType.WAT) + return "WAT"; + if (code == V3SpecimenType.WBC) + return "WBC"; + if (code == V3SpecimenType.WICK) + return "WICK"; + if (code == V3SpecimenType.WND) + return "WND"; + if (code == V3SpecimenType.WNDA) + return "WNDA"; + if (code == V3SpecimenType.WNDD) + return "WNDD"; + if (code == V3SpecimenType.WNDE) + return "WNDE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitution.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitution.java new file mode 100644 index 00000000000..b10abe77e68 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitution.java @@ -0,0 +1,211 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3SubstanceAdminSubstitution { + + /** + * Description: Substitution occurred or is permitted with another product that may potentially have different ingredients, but having the same biological and therapeutic effects. + */ + _ACTSUBSTANCEADMINSUBSTITUTIONCODE, + /** + * Description: Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product. + */ + E, + /** + * Description: + + + Substitution occurred or is permitted with another product that is a: + + + pharmaceutical alternative containing the same active ingredient but is formulated with different salt, ester + pharmaceutical equivalent that has the same active ingredient, strength, dosage form and route of administration + + + Examples: + + + + + Pharmaceutical alternative: Erythromycin Ethylsuccinate for Erythromycin Stearate + + Pharmaceutical equivalent: Lisonpril for Zestril + */ + EC, + /** + * Description: + + + Substitution occurred or is permitted between equivalent Brands but not Generics + + + Examples: + + + + Zestril for Prinivil + Coumadin for Jantoven + */ + BC, + /** + * Description: Substitution occurred or is permitted between equivalent Generics but not Brands + + + Examples: + + + + Lisnopril (Lupin Corp) for Lisnopril (Wockhardt Corp) + */ + G, + /** + * Description: Substitution occurred or is permitted with another product having the same therapeutic objective and safety profile. + + + Examples: + + + + ranitidine for Tagamet + */ + TE, + /** + * Description: Substitution occurred or is permitted between therapeutically equivalent Brands but not Generics +> + Examples: + + + + Zantac for Tagamet + */ + TB, + /** + * Description: Substitution occurred or is permitted between therapeutically equivalent Generics but not Brands +> + Examples: + + + + Ranitidine for cimetidine + */ + TG, + /** + * Description: This substitution was performed or is permitted based on formulary guidelines. + */ + F, + /** + * No substitution occurred or is permitted. + */ + N, + /** + * added to help the parsers + */ + NULL; + public static V3SubstanceAdminSubstitution fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActSubstanceAdminSubstitutionCode".equals(codeString)) + return _ACTSUBSTANCEADMINSUBSTITUTIONCODE; + if ("E".equals(codeString)) + return E; + if ("EC".equals(codeString)) + return EC; + if ("BC".equals(codeString)) + return BC; + if ("G".equals(codeString)) + return G; + if ("TE".equals(codeString)) + return TE; + if ("TB".equals(codeString)) + return TB; + if ("TG".equals(codeString)) + return TG; + if ("F".equals(codeString)) + return F; + if ("N".equals(codeString)) + return N; + throw new Exception("Unknown V3SubstanceAdminSubstitution code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _ACTSUBSTANCEADMINSUBSTITUTIONCODE: return "_ActSubstanceAdminSubstitutionCode"; + case E: return "E"; + case EC: return "EC"; + case BC: return "BC"; + case G: return "G"; + case TE: return "TE"; + case TB: return "TB"; + case TG: return "TG"; + case F: return "F"; + case N: return "N"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/substanceAdminSubstitution"; + } + public String getDefinition() { + switch (this) { + case _ACTSUBSTANCEADMINSUBSTITUTIONCODE: return "Description: Substitution occurred or is permitted with another product that may potentially have different ingredients, but having the same biological and therapeutic effects."; + case E: return "Description: Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product."; + case EC: return "Description: \n \r\n\n Substitution occurred or is permitted with another product that is a:\r\n\n \n pharmaceutical alternative containing the same active ingredient but is formulated with different salt, ester\n pharmaceutical equivalent that has the same active ingredient, strength, dosage form and route of administration\n \n \n Examples: \n \r\n\n \n \n Pharmaceutical alternative: Erythromycin Ethylsuccinate for Erythromycin Stearate\n \n Pharmaceutical equivalent: Lisonpril for Zestril"; + case BC: return "Description: \n \r\n\n Substitution occurred or is permitted between equivalent Brands but not Generics\r\n\n \n Examples: \n \r\n\n \n Zestril for Prinivil\n Coumadin for Jantoven"; + case G: return "Description: Substitution occurred or is permitted between equivalent Generics but not Brands\r\n\n \n Examples: \n \r\n\n \n Lisnopril (Lupin Corp) for Lisnopril (Wockhardt Corp)"; + case TE: return "Description: Substitution occurred or is permitted with another product having the same therapeutic objective and safety profile.\r\n\n \n Examples: \n \r\n\n \n ranitidine for Tagamet"; + case TB: return "Description: Substitution occurred or is permitted between therapeutically equivalent Brands but not Generics\r\n>\n Examples: \n \r\n\n \n Zantac for Tagamet"; + case TG: return "Description: Substitution occurred or is permitted between therapeutically equivalent Generics but not Brands\r\n>\n Examples: \n \r\n\n \n Ranitidine for cimetidine"; + case F: return "Description: This substitution was performed or is permitted based on formulary guidelines."; + case N: return "No substitution occurred or is permitted."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _ACTSUBSTANCEADMINSUBSTITUTIONCODE: return "ActSubstanceAdminSubstitutionCode"; + case E: return "equivalent"; + case EC: return "equivalent composition"; + case BC: return "brand composition"; + case G: return "generic composition"; + case TE: return "therapeutic alternative"; + case TB: return "therapeutic brand"; + case TG: return "therapeutic generic"; + case F: return "formulary"; + case N: return "none"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitutionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitutionEnumFactory.java new file mode 100644 index 00000000000..4ff1c721127 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstanceAdminSubstitutionEnumFactory.java @@ -0,0 +1,91 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3SubstanceAdminSubstitutionEnumFactory implements EnumFactory { + + public V3SubstanceAdminSubstitution fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_ActSubstanceAdminSubstitutionCode".equals(codeString)) + return V3SubstanceAdminSubstitution._ACTSUBSTANCEADMINSUBSTITUTIONCODE; + if ("E".equals(codeString)) + return V3SubstanceAdminSubstitution.E; + if ("EC".equals(codeString)) + return V3SubstanceAdminSubstitution.EC; + if ("BC".equals(codeString)) + return V3SubstanceAdminSubstitution.BC; + if ("G".equals(codeString)) + return V3SubstanceAdminSubstitution.G; + if ("TE".equals(codeString)) + return V3SubstanceAdminSubstitution.TE; + if ("TB".equals(codeString)) + return V3SubstanceAdminSubstitution.TB; + if ("TG".equals(codeString)) + return V3SubstanceAdminSubstitution.TG; + if ("F".equals(codeString)) + return V3SubstanceAdminSubstitution.F; + if ("N".equals(codeString)) + return V3SubstanceAdminSubstitution.N; + throw new IllegalArgumentException("Unknown V3SubstanceAdminSubstitution code '"+codeString+"'"); + } + + public String toCode(V3SubstanceAdminSubstitution code) { + if (code == V3SubstanceAdminSubstitution._ACTSUBSTANCEADMINSUBSTITUTIONCODE) + return "_ActSubstanceAdminSubstitutionCode"; + if (code == V3SubstanceAdminSubstitution.E) + return "E"; + if (code == V3SubstanceAdminSubstitution.EC) + return "EC"; + if (code == V3SubstanceAdminSubstitution.BC) + return "BC"; + if (code == V3SubstanceAdminSubstitution.G) + return "G"; + if (code == V3SubstanceAdminSubstitution.TE) + return "TE"; + if (code == V3SubstanceAdminSubstitution.TB) + return "TB"; + if (code == V3SubstanceAdminSubstitution.TG) + return "TG"; + if (code == V3SubstanceAdminSubstitution.F) + return "F"; + if (code == V3SubstanceAdminSubstitution.N) + return "N"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionCondition.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionCondition.java new file mode 100644 index 00000000000..9a45bb4c2b4 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionCondition.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3SubstitutionCondition { + + /** + * Some conditions may be attached to an allowable substitution. An allowable substitution is based on a match to any other attributes that may be specified. + */ + _CONDITIONAL, + /** + * Confirmation with Contact Person prior to making any substitutions has or will occur. + */ + CONFIRM, + /** + * Notification to the Contact Person, prior to substitution and through normal institutional procedures, has or will be made. + */ + NOTIFY, + /** + * Substitution is not permitted. + */ + NOSUB, + /** + * No conditions are required. + */ + UNCOND, + /** + * added to help the parsers + */ + NULL; + public static V3SubstitutionCondition fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_Conditional".equals(codeString)) + return _CONDITIONAL; + if ("CONFIRM".equals(codeString)) + return CONFIRM; + if ("NOTIFY".equals(codeString)) + return NOTIFY; + if ("NOSUB".equals(codeString)) + return NOSUB; + if ("UNCOND".equals(codeString)) + return UNCOND; + throw new Exception("Unknown V3SubstitutionCondition code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _CONDITIONAL: return "_Conditional"; + case CONFIRM: return "CONFIRM"; + case NOTIFY: return "NOTIFY"; + case NOSUB: return "NOSUB"; + case UNCOND: return "UNCOND"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/SubstitutionCondition"; + } + public String getDefinition() { + switch (this) { + case _CONDITIONAL: return "Some conditions may be attached to an allowable substitution. An allowable substitution is based on a match to any other attributes that may be specified."; + case CONFIRM: return "Confirmation with Contact Person prior to making any substitutions has or will occur."; + case NOTIFY: return "Notification to the Contact Person, prior to substitution and through normal institutional procedures, has or will be made."; + case NOSUB: return "Substitution is not permitted."; + case UNCOND: return "No conditions are required."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _CONDITIONAL: return "Conditional"; + case CONFIRM: return "Confirm first"; + case NOTIFY: return "Notify first"; + case NOSUB: return "No substitution"; + case UNCOND: return "Unconditional"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionConditionEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionConditionEnumFactory.java new file mode 100644 index 00000000000..28ab4679770 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3SubstitutionConditionEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3SubstitutionConditionEnumFactory implements EnumFactory { + + public V3SubstitutionCondition fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_Conditional".equals(codeString)) + return V3SubstitutionCondition._CONDITIONAL; + if ("CONFIRM".equals(codeString)) + return V3SubstitutionCondition.CONFIRM; + if ("NOTIFY".equals(codeString)) + return V3SubstitutionCondition.NOTIFY; + if ("NOSUB".equals(codeString)) + return V3SubstitutionCondition.NOSUB; + if ("UNCOND".equals(codeString)) + return V3SubstitutionCondition.UNCOND; + throw new IllegalArgumentException("Unknown V3SubstitutionCondition code '"+codeString+"'"); + } + + public String toCode(V3SubstitutionCondition code) { + if (code == V3SubstitutionCondition._CONDITIONAL) + return "_Conditional"; + if (code == V3SubstitutionCondition.CONFIRM) + return "CONFIRM"; + if (code == V3SubstitutionCondition.NOTIFY) + return "NOTIFY"; + if (code == V3SubstitutionCondition.NOSUB) + return "NOSUB"; + if (code == V3SubstitutionCondition.UNCOND) + return "UNCOND"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlign.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlign.java new file mode 100644 index 00000000000..7393671cd16 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlign.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TableCellHorizontalAlign { + + /** + * center + */ + CENTER, + /** + * char + */ + CHAR, + /** + * justify + */ + JUSTIFY, + /** + * left + */ + LEFT, + /** + * right + */ + RIGHT, + /** + * added to help the parsers + */ + NULL; + public static V3TableCellHorizontalAlign fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("center".equals(codeString)) + return CENTER; + if ("char".equals(codeString)) + return CHAR; + if ("justify".equals(codeString)) + return JUSTIFY; + if ("left".equals(codeString)) + return LEFT; + if ("right".equals(codeString)) + return RIGHT; + throw new Exception("Unknown V3TableCellHorizontalAlign code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CENTER: return "center"; + case CHAR: return "char"; + case JUSTIFY: return "justify"; + case LEFT: return "left"; + case RIGHT: return "right"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TableCellHorizontalAlign"; + } + public String getDefinition() { + switch (this) { + case CENTER: return "center"; + case CHAR: return "char"; + case JUSTIFY: return "justify"; + case LEFT: return "left"; + case RIGHT: return "right"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CENTER: return "center"; + case CHAR: return "char"; + case JUSTIFY: return "justify"; + case LEFT: return "left"; + case RIGHT: return "right"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlignEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlignEnumFactory.java new file mode 100644 index 00000000000..ec92cea544b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellHorizontalAlignEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TableCellHorizontalAlignEnumFactory implements EnumFactory { + + public V3TableCellHorizontalAlign fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("center".equals(codeString)) + return V3TableCellHorizontalAlign.CENTER; + if ("char".equals(codeString)) + return V3TableCellHorizontalAlign.CHAR; + if ("justify".equals(codeString)) + return V3TableCellHorizontalAlign.JUSTIFY; + if ("left".equals(codeString)) + return V3TableCellHorizontalAlign.LEFT; + if ("right".equals(codeString)) + return V3TableCellHorizontalAlign.RIGHT; + throw new IllegalArgumentException("Unknown V3TableCellHorizontalAlign code '"+codeString+"'"); + } + + public String toCode(V3TableCellHorizontalAlign code) { + if (code == V3TableCellHorizontalAlign.CENTER) + return "center"; + if (code == V3TableCellHorizontalAlign.CHAR) + return "char"; + if (code == V3TableCellHorizontalAlign.JUSTIFY) + return "justify"; + if (code == V3TableCellHorizontalAlign.LEFT) + return "left"; + if (code == V3TableCellHorizontalAlign.RIGHT) + return "right"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScope.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScope.java new file mode 100644 index 00000000000..176b935d60c --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScope.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TableCellScope { + + /** + * col + */ + COL, + /** + * colgroup + */ + COLGROUP, + /** + * row + */ + ROW, + /** + * rowgroup + */ + ROWGROUP, + /** + * added to help the parsers + */ + NULL; + public static V3TableCellScope fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("col".equals(codeString)) + return COL; + if ("colgroup".equals(codeString)) + return COLGROUP; + if ("row".equals(codeString)) + return ROW; + if ("rowgroup".equals(codeString)) + return ROWGROUP; + throw new Exception("Unknown V3TableCellScope code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case COL: return "col"; + case COLGROUP: return "colgroup"; + case ROW: return "row"; + case ROWGROUP: return "rowgroup"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TableCellScope"; + } + public String getDefinition() { + switch (this) { + case COL: return "col"; + case COLGROUP: return "colgroup"; + case ROW: return "row"; + case ROWGROUP: return "rowgroup"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case COL: return "col"; + case COLGROUP: return "colgroup"; + case ROW: return "row"; + case ROWGROUP: return "rowgroup"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScopeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScopeEnumFactory.java new file mode 100644 index 00000000000..6f6277e5ede --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellScopeEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TableCellScopeEnumFactory implements EnumFactory { + + public V3TableCellScope fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("col".equals(codeString)) + return V3TableCellScope.COL; + if ("colgroup".equals(codeString)) + return V3TableCellScope.COLGROUP; + if ("row".equals(codeString)) + return V3TableCellScope.ROW; + if ("rowgroup".equals(codeString)) + return V3TableCellScope.ROWGROUP; + throw new IllegalArgumentException("Unknown V3TableCellScope code '"+codeString+"'"); + } + + public String toCode(V3TableCellScope code) { + if (code == V3TableCellScope.COL) + return "col"; + if (code == V3TableCellScope.COLGROUP) + return "colgroup"; + if (code == V3TableCellScope.ROW) + return "row"; + if (code == V3TableCellScope.ROWGROUP) + return "rowgroup"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlign.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlign.java new file mode 100644 index 00000000000..6d0eb8e249d --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlign.java @@ -0,0 +1,103 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TableCellVerticalAlign { + + /** + * baseline + */ + BASELINE, + /** + * bottom + */ + BOTTOM, + /** + * middle + */ + MIDDLE, + /** + * top + */ + TOP, + /** + * added to help the parsers + */ + NULL; + public static V3TableCellVerticalAlign fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("baseline".equals(codeString)) + return BASELINE; + if ("bottom".equals(codeString)) + return BOTTOM; + if ("middle".equals(codeString)) + return MIDDLE; + if ("top".equals(codeString)) + return TOP; + throw new Exception("Unknown V3TableCellVerticalAlign code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case BASELINE: return "baseline"; + case BOTTOM: return "bottom"; + case MIDDLE: return "middle"; + case TOP: return "top"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TableCellVerticalAlign"; + } + public String getDefinition() { + switch (this) { + case BASELINE: return "baseline"; + case BOTTOM: return "bottom"; + case MIDDLE: return "middle"; + case TOP: return "top"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case BASELINE: return "baseline"; + case BOTTOM: return "bottom"; + case MIDDLE: return "middle"; + case TOP: return "top"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlignEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlignEnumFactory.java new file mode 100644 index 00000000000..a6bfe29aa9f --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableCellVerticalAlignEnumFactory.java @@ -0,0 +1,67 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TableCellVerticalAlignEnumFactory implements EnumFactory { + + public V3TableCellVerticalAlign fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("baseline".equals(codeString)) + return V3TableCellVerticalAlign.BASELINE; + if ("bottom".equals(codeString)) + return V3TableCellVerticalAlign.BOTTOM; + if ("middle".equals(codeString)) + return V3TableCellVerticalAlign.MIDDLE; + if ("top".equals(codeString)) + return V3TableCellVerticalAlign.TOP; + throw new IllegalArgumentException("Unknown V3TableCellVerticalAlign code '"+codeString+"'"); + } + + public String toCode(V3TableCellVerticalAlign code) { + if (code == V3TableCellVerticalAlign.BASELINE) + return "baseline"; + if (code == V3TableCellVerticalAlign.BOTTOM) + return "bottom"; + if (code == V3TableCellVerticalAlign.MIDDLE) + return "middle"; + if (code == V3TableCellVerticalAlign.TOP) + return "top"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrame.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrame.java new file mode 100644 index 00000000000..4c8005528a2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrame.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TableFrame { + + /** + * above + */ + ABOVE, + /** + * below + */ + BELOW, + /** + * border + */ + BORDER, + /** + * box + */ + BOX, + /** + * hsides + */ + HSIDES, + /** + * lhs + */ + LHS, + /** + * rhs + */ + RHS, + /** + * void + */ + VOID, + /** + * vsides + */ + VSIDES, + /** + * added to help the parsers + */ + NULL; + public static V3TableFrame fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("above".equals(codeString)) + return ABOVE; + if ("below".equals(codeString)) + return BELOW; + if ("border".equals(codeString)) + return BORDER; + if ("box".equals(codeString)) + return BOX; + if ("hsides".equals(codeString)) + return HSIDES; + if ("lhs".equals(codeString)) + return LHS; + if ("rhs".equals(codeString)) + return RHS; + if ("void".equals(codeString)) + return VOID; + if ("vsides".equals(codeString)) + return VSIDES; + throw new Exception("Unknown V3TableFrame code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ABOVE: return "above"; + case BELOW: return "below"; + case BORDER: return "border"; + case BOX: return "box"; + case HSIDES: return "hsides"; + case LHS: return "lhs"; + case RHS: return "rhs"; + case VOID: return "void"; + case VSIDES: return "vsides"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TableFrame"; + } + public String getDefinition() { + switch (this) { + case ABOVE: return "above"; + case BELOW: return "below"; + case BORDER: return "border"; + case BOX: return "box"; + case HSIDES: return "hsides"; + case LHS: return "lhs"; + case RHS: return "rhs"; + case VOID: return "void"; + case VSIDES: return "vsides"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ABOVE: return "above"; + case BELOW: return "below"; + case BORDER: return "border"; + case BOX: return "box"; + case HSIDES: return "hsides"; + case LHS: return "lhs"; + case RHS: return "rhs"; + case VOID: return "void"; + case VSIDES: return "vsides"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrameEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrameEnumFactory.java new file mode 100644 index 00000000000..c6b8ad63ffd --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableFrameEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TableFrameEnumFactory implements EnumFactory { + + public V3TableFrame fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("above".equals(codeString)) + return V3TableFrame.ABOVE; + if ("below".equals(codeString)) + return V3TableFrame.BELOW; + if ("border".equals(codeString)) + return V3TableFrame.BORDER; + if ("box".equals(codeString)) + return V3TableFrame.BOX; + if ("hsides".equals(codeString)) + return V3TableFrame.HSIDES; + if ("lhs".equals(codeString)) + return V3TableFrame.LHS; + if ("rhs".equals(codeString)) + return V3TableFrame.RHS; + if ("void".equals(codeString)) + return V3TableFrame.VOID; + if ("vsides".equals(codeString)) + return V3TableFrame.VSIDES; + throw new IllegalArgumentException("Unknown V3TableFrame code '"+codeString+"'"); + } + + public String toCode(V3TableFrame code) { + if (code == V3TableFrame.ABOVE) + return "above"; + if (code == V3TableFrame.BELOW) + return "below"; + if (code == V3TableFrame.BORDER) + return "border"; + if (code == V3TableFrame.BOX) + return "box"; + if (code == V3TableFrame.HSIDES) + return "hsides"; + if (code == V3TableFrame.LHS) + return "lhs"; + if (code == V3TableFrame.RHS) + return "rhs"; + if (code == V3TableFrame.VOID) + return "void"; + if (code == V3TableFrame.VSIDES) + return "vsides"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRules.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRules.java new file mode 100644 index 00000000000..317d6bc89b2 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRules.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TableRules { + + /** + * all + */ + ALL, + /** + * cols + */ + COLS, + /** + * groups + */ + GROUPS, + /** + * none + */ + NONE, + /** + * rows + */ + ROWS, + /** + * added to help the parsers + */ + NULL; + public static V3TableRules fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("all".equals(codeString)) + return ALL; + if ("cols".equals(codeString)) + return COLS; + if ("groups".equals(codeString)) + return GROUPS; + if ("none".equals(codeString)) + return NONE; + if ("rows".equals(codeString)) + return ROWS; + throw new Exception("Unknown V3TableRules code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ALL: return "all"; + case COLS: return "cols"; + case GROUPS: return "groups"; + case NONE: return "none"; + case ROWS: return "rows"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TableRules"; + } + public String getDefinition() { + switch (this) { + case ALL: return "all"; + case COLS: return "cols"; + case GROUPS: return "groups"; + case NONE: return "none"; + case ROWS: return "rows"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ALL: return "all"; + case COLS: return "cols"; + case GROUPS: return "groups"; + case NONE: return "none"; + case ROWS: return "rows"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRulesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRulesEnumFactory.java new file mode 100644 index 00000000000..978fea60498 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TableRulesEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TableRulesEnumFactory implements EnumFactory { + + public V3TableRules fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("all".equals(codeString)) + return V3TableRules.ALL; + if ("cols".equals(codeString)) + return V3TableRules.COLS; + if ("groups".equals(codeString)) + return V3TableRules.GROUPS; + if ("none".equals(codeString)) + return V3TableRules.NONE; + if ("rows".equals(codeString)) + return V3TableRules.ROWS; + throw new IllegalArgumentException("Unknown V3TableRules code '"+codeString+"'"); + } + + public String toCode(V3TableRules code) { + if (code == V3TableRules.ALL) + return "all"; + if (code == V3TableRules.COLS) + return "cols"; + if (code == V3TableRules.GROUPS) + return "groups"; + if (code == V3TableRules.NONE) + return "none"; + if (code == V3TableRules.ROWS) + return "rows"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwareness.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwareness.java new file mode 100644 index 00000000000..3b723bca038 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwareness.java @@ -0,0 +1,121 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TargetAwareness { + + /** + * Target person has been informed about the issue but currently denies it. + */ + D, + /** + * Target person is fully aware of the issue. + */ + F, + /** + * Target person is not capable of comprehending the issue. + */ + I, + /** + * Target person is marginally aware of the issue. + */ + M, + /** + * Target person is partially aware of the issue. + */ + P, + /** + * Target person has not yet been informed of the issue. + */ + U, + /** + * added to help the parsers + */ + NULL; + public static V3TargetAwareness fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return D; + if ("F".equals(codeString)) + return F; + if ("I".equals(codeString)) + return I; + if ("M".equals(codeString)) + return M; + if ("P".equals(codeString)) + return P; + if ("U".equals(codeString)) + return U; + throw new Exception("Unknown V3TargetAwareness code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case D: return "D"; + case F: return "F"; + case I: return "I"; + case M: return "M"; + case P: return "P"; + case U: return "U"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TargetAwareness"; + } + public String getDefinition() { + switch (this) { + case D: return "Target person has been informed about the issue but currently denies it."; + case F: return "Target person is fully aware of the issue."; + case I: return "Target person is not capable of comprehending the issue."; + case M: return "Target person is marginally aware of the issue."; + case P: return "Target person is partially aware of the issue."; + case U: return "Target person has not yet been informed of the issue."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case D: return "denying"; + case F: return "full awareness"; + case I: return "incapable"; + case M: return "marginal"; + case P: return "partial"; + case U: return "uninformed"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwarenessEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwarenessEnumFactory.java new file mode 100644 index 00000000000..487b23e78f5 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TargetAwarenessEnumFactory.java @@ -0,0 +1,75 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TargetAwarenessEnumFactory implements EnumFactory { + + public V3TargetAwareness fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("D".equals(codeString)) + return V3TargetAwareness.D; + if ("F".equals(codeString)) + return V3TargetAwareness.F; + if ("I".equals(codeString)) + return V3TargetAwareness.I; + if ("M".equals(codeString)) + return V3TargetAwareness.M; + if ("P".equals(codeString)) + return V3TargetAwareness.P; + if ("U".equals(codeString)) + return V3TargetAwareness.U; + throw new IllegalArgumentException("Unknown V3TargetAwareness code '"+codeString+"'"); + } + + public String toCode(V3TargetAwareness code) { + if (code == V3TargetAwareness.D) + return "D"; + if (code == V3TargetAwareness.F) + return "F"; + if (code == V3TargetAwareness.I) + return "I"; + if (code == V3TargetAwareness.M) + return "M"; + if (code == V3TargetAwareness.P) + return "P"; + if (code == V3TargetAwareness.U) + return "U"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilities.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilities.java new file mode 100644 index 00000000000..9ac2816b44b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilities.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TelecommunicationCapabilities { + + /** + * Description: This device can receive data calls (i.e. modem). + */ + DATA, + /** + * Description: This device can receive faxes. + */ + FAX, + /** + * Description: This device can receive SMS messages. + */ + SMS, + /** + * Description: This device is a text telephone. + */ + TTY, + /** + * Description: This device can receive voice calls (i.e. talking to another person, or a recording device, or a voice activated computer). + */ + VOICE, + /** + * added to help the parsers + */ + NULL; + public static V3TelecommunicationCapabilities fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("data".equals(codeString)) + return DATA; + if ("fax".equals(codeString)) + return FAX; + if ("sms".equals(codeString)) + return SMS; + if ("tty".equals(codeString)) + return TTY; + if ("voice".equals(codeString)) + return VOICE; + throw new Exception("Unknown V3TelecommunicationCapabilities code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DATA: return "data"; + case FAX: return "fax"; + case SMS: return "sms"; + case TTY: return "tty"; + case VOICE: return "voice"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TelecommunicationCapabilities"; + } + public String getDefinition() { + switch (this) { + case DATA: return "Description: This device can receive data calls (i.e. modem)."; + case FAX: return "Description: This device can receive faxes."; + case SMS: return "Description: This device can receive SMS messages."; + case TTY: return "Description: This device is a text telephone."; + case VOICE: return "Description: This device can receive voice calls (i.e. talking to another person, or a recording device, or a voice activated computer)."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DATA: return "data"; + case FAX: return "fax"; + case SMS: return "sms"; + case TTY: return "text"; + case VOICE: return "voice"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilitiesEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilitiesEnumFactory.java new file mode 100644 index 00000000000..7cb404a9d85 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TelecommunicationCapabilitiesEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TelecommunicationCapabilitiesEnumFactory implements EnumFactory { + + public V3TelecommunicationCapabilities fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("data".equals(codeString)) + return V3TelecommunicationCapabilities.DATA; + if ("fax".equals(codeString)) + return V3TelecommunicationCapabilities.FAX; + if ("sms".equals(codeString)) + return V3TelecommunicationCapabilities.SMS; + if ("tty".equals(codeString)) + return V3TelecommunicationCapabilities.TTY; + if ("voice".equals(codeString)) + return V3TelecommunicationCapabilities.VOICE; + throw new IllegalArgumentException("Unknown V3TelecommunicationCapabilities code '"+codeString+"'"); + } + + public String toCode(V3TelecommunicationCapabilities code) { + if (code == V3TelecommunicationCapabilities.DATA) + return "data"; + if (code == V3TelecommunicationCapabilities.FAX) + return "fax"; + if (code == V3TelecommunicationCapabilities.SMS) + return "sms"; + if (code == V3TelecommunicationCapabilities.TTY) + return "tty"; + if (code == V3TelecommunicationCapabilities.VOICE) + return "voice"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEvent.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEvent.java new file mode 100644 index 00000000000..37cb4852ac1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEvent.java @@ -0,0 +1,238 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TimingEvent { + + /** + * before meal (from lat. ante cibus) + */ + AC, + /** + * before lunch (from lat. ante cibus diurnus) + */ + ACD, + /** + * before breakfast (from lat. ante cibus matutinus) + */ + ACM, + /** + * before dinner (from lat. ante cibus vespertinus) + */ + ACV, + /** + * Description: meal (from lat. ante cibus) + */ + C, + /** + * Description: lunch (from lat. cibus diurnus) + */ + CD, + /** + * Description: breakfast (from lat. cibus matutinus) + */ + CM, + /** + * Description: dinner (from lat. cibus vespertinus) + */ + CV, + /** + * Description: Prior to beginning a regular period of extended sleep (this would exclude naps). Note that this might occur at different times of day depending on a person's regular sleep schedule. + */ + HS, + /** + * between meals (from lat. inter cibus) + */ + IC, + /** + * between lunch and dinner + */ + ICD, + /** + * between breakfast and lunch + */ + ICM, + /** + * between dinner and the hour of sleep + */ + ICV, + /** + * after meal (from lat. post cibus) + */ + PC, + /** + * after lunch (from lat. post cibus diurnus) + */ + PCD, + /** + * after breakfast (from lat. post cibus matutinus) + */ + PCM, + /** + * after dinner (from lat. post cibus vespertinus) + */ + PCV, + /** + * Description: Upon waking up from a regular period of sleep, in order to start regular activities (this would exclude waking up from a nap or temporarily waking up during a period of sleep) + + + Usage Notes: e.g. + + Take pulse rate on waking in management of thyrotoxicosis. + + Take BP on waking in management of hypertension + + Take basal body temperature on waking in establishing date of ovulation + */ + WAKE, + /** + * added to help the parsers + */ + NULL; + public static V3TimingEvent fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AC".equals(codeString)) + return AC; + if ("ACD".equals(codeString)) + return ACD; + if ("ACM".equals(codeString)) + return ACM; + if ("ACV".equals(codeString)) + return ACV; + if ("C".equals(codeString)) + return C; + if ("CD".equals(codeString)) + return CD; + if ("CM".equals(codeString)) + return CM; + if ("CV".equals(codeString)) + return CV; + if ("HS".equals(codeString)) + return HS; + if ("IC".equals(codeString)) + return IC; + if ("ICD".equals(codeString)) + return ICD; + if ("ICM".equals(codeString)) + return ICM; + if ("ICV".equals(codeString)) + return ICV; + if ("PC".equals(codeString)) + return PC; + if ("PCD".equals(codeString)) + return PCD; + if ("PCM".equals(codeString)) + return PCM; + if ("PCV".equals(codeString)) + return PCV; + if ("WAKE".equals(codeString)) + return WAKE; + throw new Exception("Unknown V3TimingEvent code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AC: return "AC"; + case ACD: return "ACD"; + case ACM: return "ACM"; + case ACV: return "ACV"; + case C: return "C"; + case CD: return "CD"; + case CM: return "CM"; + case CV: return "CV"; + case HS: return "HS"; + case IC: return "IC"; + case ICD: return "ICD"; + case ICM: return "ICM"; + case ICV: return "ICV"; + case PC: return "PC"; + case PCD: return "PCD"; + case PCM: return "PCM"; + case PCV: return "PCV"; + case WAKE: return "WAKE"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TimingEvent"; + } + public String getDefinition() { + switch (this) { + case AC: return "before meal (from lat. ante cibus)"; + case ACD: return "before lunch (from lat. ante cibus diurnus)"; + case ACM: return "before breakfast (from lat. ante cibus matutinus)"; + case ACV: return "before dinner (from lat. ante cibus vespertinus)"; + case C: return "Description: meal (from lat. ante cibus)"; + case CD: return "Description: lunch (from lat. cibus diurnus)"; + case CM: return "Description: breakfast (from lat. cibus matutinus)"; + case CV: return "Description: dinner (from lat. cibus vespertinus)"; + case HS: return "Description: Prior to beginning a regular period of extended sleep (this would exclude naps). Note that this might occur at different times of day depending on a person's regular sleep schedule."; + case IC: return "between meals (from lat. inter cibus)"; + case ICD: return "between lunch and dinner"; + case ICM: return "between breakfast and lunch"; + case ICV: return "between dinner and the hour of sleep"; + case PC: return "after meal (from lat. post cibus)"; + case PCD: return "after lunch (from lat. post cibus diurnus)"; + case PCM: return "after breakfast (from lat. post cibus matutinus)"; + case PCV: return "after dinner (from lat. post cibus vespertinus)"; + case WAKE: return "Description: Upon waking up from a regular period of sleep, in order to start regular activities (this would exclude waking up from a nap or temporarily waking up during a period of sleep)\r\n\n \n Usage Notes: e.g.\r\n\n Take pulse rate on waking in management of thyrotoxicosis.\r\n\n Take BP on waking in management of hypertension\r\n\n Take basal body temperature on waking in establishing date of ovulation"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AC: return "AC"; + case ACD: return "ACD"; + case ACM: return "ACM"; + case ACV: return "ACV"; + case C: return "C"; + case CD: return "CD"; + case CM: return "CM"; + case CV: return "CV"; + case HS: return "HS"; + case IC: return "IC"; + case ICD: return "ICD"; + case ICM: return "ICM"; + case ICV: return "ICV"; + case PC: return "PC"; + case PCD: return "PCD"; + case PCM: return "PCM"; + case PCV: return "PCV"; + case WAKE: return "WAKE"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEventEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEventEnumFactory.java new file mode 100644 index 00000000000..4a60c15b500 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TimingEventEnumFactory.java @@ -0,0 +1,123 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TimingEventEnumFactory implements EnumFactory { + + public V3TimingEvent fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AC".equals(codeString)) + return V3TimingEvent.AC; + if ("ACD".equals(codeString)) + return V3TimingEvent.ACD; + if ("ACM".equals(codeString)) + return V3TimingEvent.ACM; + if ("ACV".equals(codeString)) + return V3TimingEvent.ACV; + if ("C".equals(codeString)) + return V3TimingEvent.C; + if ("CD".equals(codeString)) + return V3TimingEvent.CD; + if ("CM".equals(codeString)) + return V3TimingEvent.CM; + if ("CV".equals(codeString)) + return V3TimingEvent.CV; + if ("HS".equals(codeString)) + return V3TimingEvent.HS; + if ("IC".equals(codeString)) + return V3TimingEvent.IC; + if ("ICD".equals(codeString)) + return V3TimingEvent.ICD; + if ("ICM".equals(codeString)) + return V3TimingEvent.ICM; + if ("ICV".equals(codeString)) + return V3TimingEvent.ICV; + if ("PC".equals(codeString)) + return V3TimingEvent.PC; + if ("PCD".equals(codeString)) + return V3TimingEvent.PCD; + if ("PCM".equals(codeString)) + return V3TimingEvent.PCM; + if ("PCV".equals(codeString)) + return V3TimingEvent.PCV; + if ("WAKE".equals(codeString)) + return V3TimingEvent.WAKE; + throw new IllegalArgumentException("Unknown V3TimingEvent code '"+codeString+"'"); + } + + public String toCode(V3TimingEvent code) { + if (code == V3TimingEvent.AC) + return "AC"; + if (code == V3TimingEvent.ACD) + return "ACD"; + if (code == V3TimingEvent.ACM) + return "ACM"; + if (code == V3TimingEvent.ACV) + return "ACV"; + if (code == V3TimingEvent.C) + return "C"; + if (code == V3TimingEvent.CD) + return "CD"; + if (code == V3TimingEvent.CM) + return "CM"; + if (code == V3TimingEvent.CV) + return "CV"; + if (code == V3TimingEvent.HS) + return "HS"; + if (code == V3TimingEvent.IC) + return "IC"; + if (code == V3TimingEvent.ICD) + return "ICD"; + if (code == V3TimingEvent.ICM) + return "ICM"; + if (code == V3TimingEvent.ICV) + return "ICV"; + if (code == V3TimingEvent.PC) + return "PC"; + if (code == V3TimingEvent.PCD) + return "PCD"; + if (code == V3TimingEvent.PCM) + return "PCM"; + if (code == V3TimingEvent.PCV) + return "PCV"; + if (code == V3TimingEvent.WAKE) + return "WAKE"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCode.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCode.java new file mode 100644 index 00000000000..55c7036193e --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCode.java @@ -0,0 +1,76 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TransmissionRelationshipTypeCode { + + /** + * Description:A transmission relationship indicating that the source transmission follows the target transmission. + */ + SEQL, + /** + * added to help the parsers + */ + NULL; + public static V3TransmissionRelationshipTypeCode fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("SEQL".equals(codeString)) + return SEQL; + throw new Exception("Unknown V3TransmissionRelationshipTypeCode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case SEQL: return "SEQL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TransmissionRelationshipTypeCode"; + } + public String getDefinition() { + switch (this) { + case SEQL: return "Description:A transmission relationship indicating that the source transmission follows the target transmission."; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case SEQL: return "sequence"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCodeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCodeEnumFactory.java new file mode 100644 index 00000000000..b31b523dee0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TransmissionRelationshipTypeCodeEnumFactory.java @@ -0,0 +1,55 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TransmissionRelationshipTypeCodeEnumFactory implements EnumFactory { + + public V3TransmissionRelationshipTypeCode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("SEQL".equals(codeString)) + return V3TransmissionRelationshipTypeCode.SEQL; + throw new IllegalArgumentException("Unknown V3TransmissionRelationshipTypeCode code '"+codeString+"'"); + } + + public String toCode(V3TransmissionRelationshipTypeCode code) { + if (code == V3TransmissionRelationshipTypeCode.SEQL) + return "SEQL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUS.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUS.java new file mode 100644 index 00000000000..49870cfa43b --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUS.java @@ -0,0 +1,5179 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3TribalEntityUS { + + /** + * NATIVE ENTITIES WITHIN THE STATE OF ALASKA RECOGNIZED AND ELIGIBLE TO RECEIVE SERVICES FROM THE UNITED STATES BUREAU OF INDIAN AFFAIRS + */ + _NATIVEENTITYALASKA, + /** + * Village of Afognak + */ + _338, + /** + * Agdaagux Tribe of King Cove + */ + _339, + /** + * Native Village of Akhiok + */ + _340, + /** + * Akiachak Native Community + */ + _341, + /** + * Akiak Native Community + */ + _342, + /** + * Native Village of Akutan + */ + _343, + /** + * Village of Alakanuk + */ + _344, + /** + * Alatna Village + */ + _345, + /** + * Native Village of Aleknagik + */ + _346, + /** + * Algaaciq Native Village (St. Mary's) + */ + _347, + /** + * Allakaket Village + */ + _348, + /** + * Native Village of Ambler + */ + _349, + /** + * Village of Anaktuvuk Pass + */ + _350, + /** + * Yupiit of Andreafski + */ + _351, + /** + * Angoon Community Association + */ + _352, + /** + * Village of Aniak + */ + _353, + /** + * Anvik Village + */ + _354, + /** + * Arctic Village (See Native Village of Venetie Trib + */ + _355, + /** + * Asa carsarmiut Tribe (formerly Native Village of M + */ + _356, + /** + * Native Village of Atka + */ + _357, + /** + * Village of Atmautluak + */ + _358, + /** + * Atqasuk Village (Atkasook) + */ + _359, + /** + * Native Village of Barrow Inupiat Traditional Gover + */ + _360, + /** + * Beaver Village + */ + _361, + /** + * Native Village of Belkofski + */ + _362, + /** + * Village of Bill Moore's Slough + */ + _363, + /** + * Birch Creek Tribe + */ + _364, + /** + * Native Village of Brevig Mission + */ + _365, + /** + * Native Village of Buckland + */ + _366, + /** + * Native Village of Cantwell + */ + _367, + /** + * Native Village of Chanega (aka Chenega) + */ + _368, + /** + * Chalkyitsik Village + */ + _369, + /** + * Village of Chefornak + */ + _370, + /** + * Chevak Native Village + */ + _371, + /** + * Chickaloon Native Village + */ + _372, + /** + * Native Village of Chignik + */ + _373, + /** + * Native Village of Chignik Lagoon + */ + _374, + /** + * Chignik Lake Village + */ + _375, + /** + * Chilkat Indian Village (Klukwan) + */ + _376, + /** + * Chilkoot Indian Association (Haines) + */ + _377, + /** + * Chinik Eskimo Community (Golovin) + */ + _378, + /** + * Native Village of Chistochina + */ + _379, + /** + * Native Village of Chitina + */ + _380, + /** + * Native Village of Chuathbaluk (Russian Mission, Ku + */ + _381, + /** + * Chuloonawick Native Village + */ + _382, + /** + * Circle Native Community + */ + _383, + /** + * Village of Clark's Point + */ + _384, + /** + * Native Village of Council + */ + _385, + /** + * Craig Community Association + */ + _386, + /** + * Village of Crooked Creek + */ + _387, + /** + * Curyung Tribal Council (formerly Native Village of + */ + _388, + /** + * Native Village of Deering + */ + _389, + /** + * Native Village of Diomede (aka Inalik) + */ + _390, + /** + * Village of Dot Lake + */ + _391, + /** + * Douglas Indian Association + */ + _392, + /** + * Native Village of Eagle + */ + _393, + /** + * Native Village of Eek + */ + _394, + /** + * Egegik Village + */ + _395, + /** + * Eklutna Native Village + */ + _396, + /** + * Native Village of Ekuk + */ + _397, + /** + * Ekwok Village + */ + _398, + /** + * Native Village of Elim + */ + _399, + /** + * Emmonak Village + */ + _400, + /** + * Evansville Village (aka Bettles Field) + */ + _401, + /** + * Native Village of Eyak (Cordova) + */ + _402, + /** + * Native Village of False Pass + */ + _403, + /** + * Native Village of Fort Yukon + */ + _404, + /** + * Native Village of Gakona + */ + _405, + /** + * Galena Village (aka Louden Village) + */ + _406, + /** + * Native Village of Gambell + */ + _407, + /** + * Native Village of Georgetown + */ + _408, + /** + * Native Village of Goodnews Bay + */ + _409, + /** + * Organized Village of Grayling (aka Holikachuk) + */ + _410, + /** + * Gulkana Village + */ + _411, + /** + * Native Village of Hamilton + */ + _412, + /** + * Healy Lake Village + */ + _413, + /** + * Holy Cross Village + */ + _414, + /** + * Hoonah Indian Association + */ + _415, + /** + * Native Village of Hooper Bay + */ + _416, + /** + * Hughes Village + */ + _417, + /** + * Huslia Village + */ + _418, + /** + * Hydaburg Cooperative Association + */ + _419, + /** + * Igiugig Village + */ + _420, + /** + * Village of Iliamna + */ + _421, + /** + * Inupiat Community of the Arctic Slope + */ + _422, + /** + * Iqurmuit Traditional Council (formerly Native Vill + */ + _423, + /** + * Ivanoff Bay Village + */ + _424, + /** + * Kaguyak Village + */ + _425, + /** + * Organized Village of Kake + */ + _426, + /** + * Kaktovik Village (aka Barter Island) + */ + _427, + /** + * Village of Kalskag + */ + _428, + /** + * Village of Kaltag + */ + _429, + /** + * Native Village of Kanatak + */ + _430, + /** + * Native Village of Karluk + */ + _431, + /** + * Organized Village of Kasaan + */ + _432, + /** + * Native Village of Kasigluk + */ + _433, + /** + * Kenaitze Indian Tribe + */ + _434, + /** + * Ketchikan Indian Corporation + */ + _435, + /** + * Native Village of Kiana + */ + _436, + /** + * King Island Native Community + */ + _437, + /** + * King Salmon Tribe + */ + _438, + /** + * Native Village of Kipnuk + */ + _439, + /** + * Native Village of Kivalina + */ + _440, + /** + * Klawock Cooperative Association + */ + _441, + /** + * Native Village of Kluti Kaah (aka Copper Center) + */ + _442, + /** + * Knik Tribe + */ + _443, + /** + * Native Village of Kobuk + */ + _444, + /** + * Kokhanok Village + */ + _445, + /** + * Native Village of Kongiganak + */ + _446, + /** + * Village of Kotlik + */ + _447, + /** + * Native Village of Kotzebue + */ + _448, + /** + * Native Village of Koyuk + */ + _449, + /** + * Koyukuk Native Village + */ + _450, + /** + * Organized Village of Kwethluk + */ + _451, + /** + * Native Village of Kwigillingok + */ + _452, + /** + * Native Village of Kwinhagak (aka Quinhagak) + */ + _453, + /** + * Native Village of Larsen Bay + */ + _454, + /** + * Levelock Village + */ + _455, + /** + * Lesnoi Village (aka Woody Island) + */ + _456, + /** + * Lime Village + */ + _457, + /** + * Village of Lower Kalskag + */ + _458, + /** + * Manley Hot Springs Village + */ + _459, + /** + * Manokotak Village + */ + _460, + /** + * Native Village of Marshall (aka Fortuna Ledge) + */ + _461, + /** + * Native Village of Mary's Igloo + */ + _462, + /** + * McGrath Native Village + */ + _463, + /** + * Native Village of Mekoryuk + */ + _464, + /** + * Mentasta Traditional Council + */ + _465, + /** + * Metlakatla Indian Community, Annette Island Reserv + */ + _466, + /** + * Native Village of Minto + */ + _467, + /** + * Naknek Native Village + */ + _468, + /** + * Native Village of Nanwalek (aka English Bay) + */ + _469, + /** + * Native Village of Napaimute + */ + _470, + /** + * Native Village of Napakiak + */ + _471, + /** + * Native Village of Napaskiak + */ + _472, + /** + * Native Village of Nelson Lagoon + */ + _473, + /** + * Nenana Native Association + */ + _474, + /** + * New Koliganek Village Council (formerly Koliganek + */ + _475, + /** + * New Stuyahok Village + */ + _476, + /** + * Newhalen Village + */ + _477, + /** + * Newtok Village + */ + _478, + /** + * Native Village of Nightmute + */ + _479, + /** + * Nikolai Village + */ + _480, + /** + * Native Village of Nikolski + */ + _481, + /** + * Ninilchik Village + */ + _482, + /** + * Native Village of Noatak + */ + _483, + /** + * Nome Eskimo Community + */ + _484, + /** + * Nondalton Village + */ + _485, + /** + * Noorvik Native Community + */ + _486, + /** + * Northway Village + */ + _487, + /** + * Native Village of Nuiqsut (aka Nooiksut) + */ + _488, + /** + * Nulato Village + */ + _489, + /** + * Nunakauyarmiut Tribe (formerly Native Village of T + */ + _490, + /** + * Native Village of Nunapitchuk + */ + _491, + /** + * Village of Ohogamiut + */ + _492, + /** + * Village of Old Harbor + */ + _493, + /** + * Orutsararmuit Native Village (aka Bethel) + */ + _494, + /** + * Oscarville Traditional Village + */ + _495, + /** + * Native Village of Ouzinkie + */ + _496, + /** + * Native Village of Paimiut + */ + _497, + /** + * Pauloff Harbor Village + */ + _498, + /** + * Pedro Bay Village + */ + _499, + /** + * Native Village of Perryville + */ + _500, + /** + * Petersburg Indian Association + */ + _501, + /** + * Native Village of Pilot Point + */ + _502, + /** + * Pilot Station Traditional Village + */ + _503, + /** + * Native Village of Pitka's Point + */ + _504, + /** + * Platinum Traditional Village + */ + _505, + /** + * Native Village of Point Hope + */ + _506, + /** + * Native Village of Point Lay + */ + _507, + /** + * Native Village of Port Graham + */ + _508, + /** + * Native Village of Port Heiden + */ + _509, + /** + * Native Village of Port Lions + */ + _510, + /** + * Portage Creek Village (aka Ohgsenakale) + */ + _511, + /** + * Pribilof Islands Aleut Communities of St. Paul & S + */ + _512, + /** + * Qagan Tayagungin Tribe of Sand Point Village + */ + _513, + /** + * Qawalangin Tribe of Unalaska + */ + _514, + /** + * Rampart Village + */ + _515, + /** + * Village of Red Devil + */ + _516, + /** + * Native Village of Ruby + */ + _517, + /** + * Saint George Island(See Pribilof Islands Aleut Com + */ + _518, + /** + * Native Village of Saint Michael + */ + _519, + /** + * Saint Paul Island (See Pribilof Islands Aleut Comm + */ + _520, + /** + * Village of Salamatoff + */ + _521, + /** + * Native Village of Savoonga + */ + _522, + /** + * Organized Village of Saxman + */ + _523, + /** + * Native Village of Scammon Bay + */ + _524, + /** + * Native Village of Selawik + */ + _525, + /** + * Seldovia Village Tribe + */ + _526, + /** + * Shageluk Native Village + */ + _527, + /** + * Native Village of Shaktoolik + */ + _528, + /** + * Native Village of Sheldon's Point + */ + _529, + /** + * Native Village of Shishmaref + */ + _530, + /** + * Shoonaq Tribe of Kodiak + */ + _531, + /** + * Native Village of Shungnak + */ + _532, + /** + * Sitka Tribe of Alaska + */ + _533, + /** + * Skagway Village + */ + _534, + /** + * Village of Sleetmute + */ + _535, + /** + * Village of Solomon + */ + _536, + /** + * South Naknek Village + */ + _537, + /** + * Stebbins Community Association + */ + _538, + /** + * Native Village of Stevens + */ + _539, + /** + * Village of Stony River + */ + _540, + /** + * Takotna Village + */ + _541, + /** + * Native Village of Tanacross + */ + _542, + /** + * Native Village of Tanana + */ + _543, + /** + * Native Village of Tatitlek + */ + _544, + /** + * Native Village of Tazlina + */ + _545, + /** + * Telida Village + */ + _546, + /** + * Native Village of Teller + */ + _547, + /** + * Native Village of Tetlin + */ + _548, + /** + * Central Council of the Tlingit and Haida Indian Tb + */ + _549, + /** + * Traditional Village of Togiak + */ + _550, + /** + * Tuluksak Native Community + */ + _551, + /** + * Native Village of Tuntutuliak + */ + _552, + /** + * Native Village of Tununak + */ + _553, + /** + * Twin Hills Village + */ + _554, + /** + * Native Village of Tyonek + */ + _555, + /** + * Ugashik Village + */ + _556, + /** + * Umkumiute Native Village + */ + _557, + /** + * Native Village of Unalakleet + */ + _558, + /** + * Native Village of Unga + */ + _559, + /** + * Village of Venetie (See Native Village of Venetie + */ + _560, + /** + * Native Village of Venetie Tribal Government (Arcti + */ + _561, + /** + * Village of Wainwright + */ + _562, + /** + * Native Village of Wales + */ + _563, + /** + * Native Village of White Mountain + */ + _564, + /** + * Wrangell Cooperative Association + */ + _565, + /** + * Yakutat Tlingit Tribe + */ + _566, + /** + * NATIVE ENTITIES WITHIN THE CONTIGUOUS 48 STATES + */ + _NATIVEENTITYCONTIGUOUS, + /** + * Absentee-Shawnee Tribe of Indians of Oklahoma + */ + _1, + /** + * Assiniboine and Sioux Tribes of the Fort Peck Indi + */ + _10, + /** + * Havasupai Tribe of the Havasupai Reservation, Ariz + */ + _100, + /** + * Ho-Chunk Nation of Wisconsin (formerly known as th + */ + _101, + /** + * Hoh Indian Tribe of the Hoh Indian Reservation, Wa + */ + _102, + /** + * Hoopa Valley Tribe, California + */ + _103, + /** + * Hopi Tribe of Arizona + */ + _104, + /** + * Hopland Band of Pomo Indians of the Hopland Ranche + */ + _105, + /** + * Houlton Band of Maliseet Indians of Maine + */ + _106, + /** + * Hualapai Indian Tribe of the Hualapai Indian Reser + */ + _107, + /** + * Huron Potawatomi, Inc., Michigan + */ + _108, + /** + * Inaja Band of Diegueno Mission Indians of the Inaj + */ + _109, + /** + * Augustine Band of Cahuilla Mission Indians of the + */ + _11, + /** + * Ione Band of Miwok Indians of California + */ + _110, + /** + * Iowa Tribe of Kansas and Nebraska + */ + _111, + /** + * Iowa Tribe of Oklahoma + */ + _112, + /** + * Jackson Rancheria of Me-Wuk Indians of California + */ + _113, + /** + * Jamestown S'Klallam Tribe of Washington + */ + _114, + /** + * Jamul Indian Village of California + */ + _115, + /** + * Jena Band of Choctaw Indians, Louisiana + */ + _116, + /** + * Jicarilla Apache Tribe of the Jicarilla Apache Ind + */ + _117, + /** + * Kaibab Band of Paiute Indians of the Kaibab Indian + */ + _118, + /** + * Kalispel Indian Community of the Kalispel Reservat + */ + _119, + /** + * Bad River Band of the Lake Superior Tribe of Chipp + */ + _12, + /** + * Karuk Tribe of California + */ + _120, + /** + * Kashia Band of Pomo Indians of the Stewarts Point + */ + _121, + /** + * Kaw Nation, Oklahoma + */ + _122, + /** + * Keweenaw Bay Indian Community of L'Anse and Ontona + */ + _123, + /** + * Kialegee Tribal Town, Oklahoma + */ + _124, + /** + * Kickapoo Tribe of Indians of the Kickapoo Reservat + */ + _125, + /** + * Kickapoo Tribe of Oklahoma + */ + _126, + /** + * Kickapoo Traditional Tribe of Texas + */ + _127, + /** + * Kiowa Indian Tribe of Oklahoma + */ + _128, + /** + * Klamath Indian Tribe of Oregon + */ + _129, + /** + * Bay Mills Indian Community of the Sault Ste. Marie + */ + _13, + /** + * Kootenai Tribe of Idaho + */ + _130, + /** + * La Jolla Band of Luiseno Mission Indians of the La + */ + _131, + /** + * La Posta Band of Diegueno Mission Indians of the L + */ + _132, + /** + * Lac Courte Oreilles Band of Lake Superior Chippewa + */ + _133, + /** + * Lac du Flambeau Band of Lake Superior Chippewa Ind + */ + _134, + /** + * Lac Vieux Desert Band of Lake Superior Chippewa In + */ + _135, + /** + * Las Vegas Tribe of Paiute Indians of the Las Vegas + */ + _136, + /** + * Little River Band of Ottawa Indians of Michigan + */ + _137, + /** + * Little Traverse Bay Bands of Odawa Indians of Mich + */ + _138, + /** + * Lower Lake Rancheria, California + */ + _139, + /** + * Bear River Band of the Rohnerville Rancheria, Cali + */ + _14, + /** + * Los Coyotes Band of Cahuilla Mission Indians of th + */ + _140, + /** + * Lovelock Paiute Tribe of the Lovelock Indian Colon + */ + _141, + /** + * Lower Brule Sioux Tribe of the Lower Brule Reserva + */ + _142, + /** + * Lower Elwha Tribal Community of the Lower Elwha Re + */ + _143, + /** + * Lower Sioux Indian Community of Minnesota Mdewakan + */ + _144, + /** + * Lummi Tribe of the Lummi Reservation, Washington + */ + _145, + /** + * Lytton Rancheria of California + */ + _146, + /** + * Makah Indian Tribe of the Makah Indian Reservation + */ + _147, + /** + * Manchester Band of Pomo Indians of the Manchester- + */ + _148, + /** + * Manzanita Band of Diegueno Mission Indians of the + */ + _149, + /** + * Berry Creek Rancheria of Maidu Indians of Californ + */ + _15, + /** + * Mashantucket Pequot Tribe of Connecticut + */ + _150, + /** + * Match-e-be-nash-she-wish Band of Pottawatomi India + */ + _151, + /** + * Mechoopda Indian Tribe of Chico Rancheria, Califor + */ + _152, + /** + * Menominee Indian Tribe of Wisconsin + */ + _153, + /** + * Mesa Grande Band of Diegueno Mission Indians of th + */ + _154, + /** + * Mescalero Apache Tribe of the Mescalero Reservatio + */ + _155, + /** + * Miami Tribe of Oklahoma + */ + _156, + /** + * Miccosukee Tribe of Indians of Florida + */ + _157, + /** + * Middletown Rancheria of Pomo Indians of California + */ + _158, + /** + * Minnesota Chippewa Tribe, Minnesota (Six component + */ + _159, + /** + * Big Lagoon Rancheria, California + */ + _16, + /** + * Bois Forte Band (Nett Lake); Fond du Lac Band; Gra + */ + _160, + /** + * Mississippi Band of Choctaw Indians, Mississippi + */ + _161, + /** + * Moapa Band of Paiute Indians of the Moapa River In + */ + _162, + /** + * Modoc Tribe of Oklahoma + */ + _163, + /** + * Mohegan Indian Tribe of Connecticut + */ + _164, + /** + * Mooretown Rancheria of Maidu Indians of California + */ + _165, + /** + * Morongo Band of Cahuilla Mission Indians of the Mo + */ + _166, + /** + * Muckleshoot Indian Tribe of the Muckleshoot Reserv + */ + _167, + /** + * Muscogee (Creek) Nation, Oklahoma + */ + _168, + /** + * Narragansett Indian Tribe of Rhode Island + */ + _169, + /** + * Big Pine Band of Owens Valley Paiute Shoshone Indi + */ + _17, + /** + * Navajo Nation, Arizona, New Mexico & Utah + */ + _170, + /** + * Nez Perce Tribe of Idaho + */ + _171, + /** + * Nisqually Indian Tribe of the Nisqually Reservatio + */ + _172, + /** + * Nooksack Indian Tribe of Washington + */ + _173, + /** + * Northern Cheyenne Tribe of the Northern Cheyenne I + */ + _174, + /** + * Northfork Rancheria of Mono Indians of California + */ + _175, + /** + * Northwestern Band of Shoshoni Nation of Utah (Wash + */ + _176, + /** + * Oglala Sioux Tribe of the Pine Ridge Reservation, + */ + _177, + /** + * Omaha Tribe of Nebraska + */ + _178, + /** + * Oneida Nation of New York + */ + _179, + /** + * Big Sandy Rancheria of Mono Indians of California + */ + _18, + /** + * Oneida Tribe of Wisconsin + */ + _180, + /** + * Onondaga Nation of New York + */ + _181, + /** + * Osage Tribe, Oklahoma + */ + _182, + /** + * Ottawa Tribe of Oklahoma + */ + _183, + /** + * Otoe-Missouria Tribe of Indians, Oklahoma + */ + _184, + /** + * Paiute Indian Tribe of Utah + */ + _185, + /** + * Paiute-Shoshone Indians of the Bishop Community of + */ + _186, + /** + * Paiute-Shoshone Tribe of the Fallon Reservation an + */ + _187, + /** + * Paiute-Shoshone Indians of the Lone Pine Community + */ + _188, + /** + * Pala Band of Luiseno Mission Indians of the Pala R + */ + _189, + /** + * Big Valley Band of Pomo Indians of the Big Valley + */ + _19, + /** + * Pascua Yaqui Tribe of Arizona + */ + _190, + /** + * Paskenta Band of Nomlaki Indians of California + */ + _191, + /** + * Passamaquoddy Tribe of Maine + */ + _192, + /** + * Pauma Band of Luiseno Mission Indians of the Pauma + */ + _193, + /** + * Pawnee Nation of Oklahoma + */ + _194, + /** + * Pechanga Band of Luiseno Mission Indians of the Pe + */ + _195, + /** + * Penobscot Tribe of Maine + */ + _196, + /** + * Peoria Tribe of Indians of Oklahoma + */ + _197, + /** + * Picayune Rancheria of Chukchansi Indians of Califo + */ + _198, + /** + * Pinoleville Rancheria of Pomo Indians of Californi + */ + _199, + /** + * Agua Caliente Band of Cahuilla Indians of the Agua + */ + _2, + /** + * Blackfeet Tribe of the Blackfeet Indian Reservatio + */ + _20, + /** + * Pit River Tribe, California (includes Big Bend, Lo + */ + _200, + /** + * Poarch Band of Creek Indians of Alabama + */ + _201, + /** + * Pokagon Band of Potawatomi Indians of Michigan + */ + _202, + /** + * Ponca Tribe of Indians of Oklahoma + */ + _203, + /** + * Ponca Tribe of Nebraska + */ + _204, + /** + * Port Gamble Indian Community of the Port Gamble Re + */ + _205, + /** + * Potter Valley Rancheria of Pomo Indians of Califor + */ + _206, + /** + * Prairie Band of Potawatomi Indians, Kansas + */ + _207, + /** + * Prairie Island Indian Community of Minnesota Mdewa + */ + _208, + /** + * Pueblo of Acoma, New Mexico + */ + _209, + /** + * Blue Lake Rancheria, California + */ + _21, + /** + * Pueblo of Cochiti, New Mexico + */ + _210, + /** + * Pueblo of Jemez, New Mexico + */ + _211, + /** + * Pueblo of Isleta, New Mexico + */ + _212, + /** + * Pueblo of Laguna, New Mexico + */ + _213, + /** + * Pueblo of Nambe, New Mexico + */ + _214, + /** + * Pueblo of Picuris, New Mexico + */ + _215, + /** + * Pueblo of Pojoaque, New Mexico + */ + _216, + /** + * Pueblo of San Felipe, New Mexico + */ + _217, + /** + * Pueblo of San Juan, New Mexico + */ + _218, + /** + * Pueblo of San Ildefonso, New Mexico + */ + _219, + /** + * Bridgeport Paiute Indian Colony of California + */ + _22, + /** + * Pueblo of Sandia, New Mexico + */ + _220, + /** + * Pueblo of Santa Ana, New Mexico + */ + _221, + /** + * Pueblo of Santa Clara, New Mexico + */ + _222, + /** + * Pueblo of Santo Domingo, New Mexico + */ + _223, + /** + * Pueblo of Taos, New Mexico + */ + _224, + /** + * Pueblo of Tesuque, New Mexico + */ + _225, + /** + * Pueblo of Zia, New Mexico + */ + _226, + /** + * Puyallup Tribe of the Puyallup Reservation, Washin + */ + _227, + /** + * Pyramid Lake Paiute Tribe of the Pyramid Lake Rese + */ + _228, + /** + * Quapaw Tribe of Indians, Oklahoma + */ + _229, + /** + * Buena Vista Rancheria of Me-Wuk Indians of Califor + */ + _23, + /** + * Quartz Valley Indian Community of the Quartz Valle + */ + _230, + /** + * Quechan Tribe of the Fort Yuma Indian Reservation, + */ + _231, + /** + * Quileute Tribe of the Quileute Reservation, Washin + */ + _232, + /** + * Quinault Tribe of the Quinault Reservation, Washin + */ + _233, + /** + * Ramona Band or Village of Cahuilla Mission Indians + */ + _234, + /** + * Red Cliff Band of Lake Superior Chippewa Indians o + */ + _235, + /** + * Red Lake Band of Chippewa Indians of the Red Lake + */ + _236, + /** + * Redding Rancheria, California + */ + _237, + /** + * Redwood Valley Rancheria of Pomo Indians of Califo + */ + _238, + /** + * Reno-Sparks Indian Colony, Nevada + */ + _239, + /** + * Burns Paiute Tribe of the Burns Paiute Indian Colo + */ + _24, + /** + * Resighini Rancheria, California (formerly known as + */ + _240, + /** + * Rincon Band of Luiseno Mission Indians of the Rinc + */ + _241, + /** + * Robinson Rancheria of Pomo Indians of California + */ + _242, + /** + * Rosebud Sioux Tribe of the Rosebud Indian Reservat + */ + _243, + /** + * Round Valley Indian Tribes of the Round Valley Res + */ + _244, + /** + * Rumsey Indian Rancheria of Wintun Indians of Calif + */ + _245, + /** + * Sac and Fox Tribe of the Mississippi in Iowa + */ + _246, + /** + * Sac and Fox Nation of Missouri in Kansas and Nebra + */ + _247, + /** + * Sac and Fox Nation, Oklahoma + */ + _248, + /** + * Saginaw Chippewa Indian Tribe of Michigan, Isabell + */ + _249, + /** + * Cabazon Band of Cahuilla Mission Indians of the Ca + */ + _25, + /** + * Salt River Pima-Maricopa Indian Community of the S + */ + _250, + /** + * Samish Indian Tribe, Washington + */ + _251, + /** + * San Carlos Apache Tribe of the San Carlos Reservat + */ + _252, + /** + * San Juan Southern Paiute Tribe of Arizona + */ + _253, + /** + * San Manual Band of Serrano Mission Indians of the + */ + _254, + /** + * San Pasqual Band of Diegueno Mission Indians of Ca + */ + _255, + /** + * Santa Rosa Indian Community of the Santa Rosa Ranc + */ + _256, + /** + * Santa Rosa Band of Cahuilla Mission Indians of the + */ + _257, + /** + * Santa Ynez Band of Chumash Mission Indians of the + */ + _258, + /** + * Santa Ysabel Band of Diegueno Mission Indians of t + */ + _259, + /** + * Cachil DeHe Band of Wintun Indians of the Colusa I + */ + _26, + /** + * Santee Sioux Tribe of the Santee Reservation of Ne + */ + _260, + /** + * Sauk-Suiattle Indian Tribe of Washington + */ + _261, + /** + * Sault Ste. Marie Tribe of Chippewa Indians of Mich + */ + _262, + /** + * Scotts Valley Band of Pomo Indians of California + */ + _263, + /** + * Seminole Nation of Oklahoma + */ + _264, + /** + * Seminole Tribe of Florida, Dania, Big Cypress, Bri + */ + _265, + /** + * Seneca Nation of New York + */ + _266, + /** + * Seneca-Cayuga Tribe of Oklahoma + */ + _267, + /** + * Shakopee Mdewakanton Sioux Community of Minnesota + */ + _268, + /** + * Shawnee Tribe, Oklahoma + */ + _269, + /** + * Caddo Indian Tribe of Oklahoma + */ + _27, + /** + * Sherwood Valley Rancheria of Pomo Indians of Calif + */ + _270, + /** + * Shingle Springs Band of Miwok Indians, Shingle Spr + */ + _271, + /** + * Shoalwater Bay Tribe of the Shoalwater Bay Indian + */ + _272, + /** + * Shoshone Tribe of the Wind River Reservation, Wyom + */ + _273, + /** + * Shoshone-Bannock Tribes of the Fort Hall Reservati + */ + _274, + /** + * Shoshone-Paiute Tribes of the Duck Valley Reservat + */ + _275, + /** + * Sisseton-Wahpeton Sioux Tribe of the Lake Traverse + */ + _276, + /** + * Skokomish Indian Tribe of the Skokomish Reservatio + */ + _277, + /** + * Skull Valley Band of Goshute Indians of Utah + */ + _278, + /** + * Smith River Rancheria, California + */ + _279, + /** + * Cahuilla Band of Mission Indians of the Cahuilla R + */ + _28, + /** + * Snoqualmie Tribe, Washington + */ + _280, + /** + * Soboba Band of Luiseno Indians, California (former + */ + _281, + /** + * Sokaogon Chippewa Community of the Mole Lake Band + */ + _282, + /** + * Southern Ute Indian Tribe of the Southern Ute Rese + */ + _283, + /** + * Spirit Lake Tribe, North Dakota (formerly known as + */ + _284, + /** + * Spokane Tribe of the Spokane Reservation, Washingt + */ + _285, + /** + * Squaxin Island Tribe of the Squaxin Island Reserva + */ + _286, + /** + * St. Croix Chippewa Indians of Wisconsin, St. Croix + */ + _287, + /** + * St. Regis Band of Mohawk Indians of New York + */ + _288, + /** + * Standing Rock Sioux Tribe of North & South Dakota + */ + _289, + /** + * Cahto Indian Tribe of the Laytonville Rancheria, C + */ + _29, + /** + * Stockbridge-Munsee Community of Mohican Indians of + */ + _290, + /** + * Stillaguamish Tribe of Washington + */ + _291, + /** + * Summit Lake Paiute Tribe of Nevada + */ + _292, + /** + * Suquamish Indian Tribe of the Port Madison Reserva + */ + _293, + /** + * Susanville Indian Rancheria, California + */ + _294, + /** + * Swinomish Indians of the Swinomish Reservation, Wa + */ + _295, + /** + * Sycuan Band of Diegueno Mission Indians of Califor + */ + _296, + /** + * Table Bluff Reservation - Wiyot Tribe, California + */ + _297, + /** + * Table Mountain Rancheria of California + */ + _298, + /** + * Te-Moak Tribe of Western Shoshone Indians of Nevad + */ + _299, + /** + * Ak Chin Indian Community of the Maricopa (Ak Chin) + */ + _3, + /** + * California Valley Miwok Tribe, California (formerl + */ + _30, + /** + * Thlopthlocco Tribal Town, Oklahoma + */ + _300, + /** + * Three Affiliated Tribes of the Fort Berthold Reser + */ + _301, + /** + * Tohono O'odham Nation of Arizona + */ + _302, + /** + * Tonawanda Band of Seneca Indians of New York + */ + _303, + /** + * Tonkawa Tribe of Indians of Oklahoma + */ + _304, + /** + * Tonto Apache Tribe of Arizona + */ + _305, + /** + * Torres-Martinez Band of Cahuilla Mission Indians o + */ + _306, + /** + * Tule River Indian Tribe of the Tule River Reservat + */ + _307, + /** + * Tulalip Tribes of the Tulalip Reservation, Washing + */ + _308, + /** + * Tunica-Biloxi Indian Tribe of Louisiana + */ + _309, + /** + * Campo Band of Diegueno Mission Indians of the Camp + */ + _31, + /** + * Tuolumne Band of Me-Wuk Indians of the Tuolumne Ra + */ + _310, + /** + * Turtle Mountain Band of Chippewa Indians of North + */ + _311, + /** + * Tuscarora Nation of New York + */ + _312, + /** + * Twenty-Nine Palms Band of Mission Indians of Calif + */ + _313, + /** + * United Auburn Indian Community of the Auburn Ranch + */ + _314, + /** + * United Keetoowah Band of Cherokee Indians of Oklah + */ + _315, + /** + * Upper Lake Band of Pomo Indians of Upper Lake Ranc + */ + _316, + /** + * Upper Sioux Indian Community of the Upper Sioux Re + */ + _317, + /** + * Upper Skagit Indian Tribe of Washington + */ + _318, + /** + * Ute Indian Tribe of the Uintah & Ouray Reservation + */ + _319, + /** + * Capitan Grande Band of Diegueno Mission Indians of + */ + _32, + /** + * Ute Mountain Tribe of the Ute Mountain Reservation + */ + _320, + /** + * Utu Utu Gwaitu Paiute Tribe of the Benton Paiute R + */ + _321, + /** + * Walker River Paiute Tribe of the Walker River Rese + */ + _322, + /** + * Wampanoag Tribe of Gay Head (Aquinnah) of Massachu + */ + _323, + /** + * Washoe Tribe of Nevada & California (Carson Colony + */ + _324, + /** + * White Mountain Apache Tribe of the Fort Apache Res + */ + _325, + /** + * Wichita and Affiliated Tribes (Wichita, Keechi, Wa + */ + _326, + /** + * Winnebago Tribe of Nebraska + */ + _327, + /** + * Winnemucca Indian Colony of Nevada + */ + _328, + /** + * Wyandotte Tribe of Oklahoma + */ + _329, + /** + * Barona Group of Capitan Grande Band of Mission Ind + */ + _33, + /** + * Yankton Sioux Tribe of South Dakota + */ + _330, + /** + * Yavapai-Apache Nation of the Camp Verde Indian Res + */ + _331, + /** + * Yavapai-Prescott Tribe of the Yavapai Reservation, + */ + _332, + /** + * Yerington Paiute Tribe of the Yerington Colony & C + */ + _333, + /** + * Yomba Shoshone Tribe of the Yomba Reservation, Nev + */ + _334, + /** + * Ysleta Del Sur Pueblo of Texas + */ + _335, + /** + * Yurok Tribe of the Yurok Reservation, California + */ + _336, + /** + * Zuni Tribe of the Zuni Reservation, New Mexico + */ + _337, + /** + * Viejas (Baron Long) Group of Capitan Grande Band o + */ + _34, + /** + * Catawba Indian Nation (aka Catawba Tribe of South + */ + _35, + /** + * Cayuga Nation of New York + */ + _36, + /** + * Cedarville Rancheria, California + */ + _37, + /** + * Chemehuevi Indian Tribe of the Chemehuevi Reservat + */ + _38, + /** + * Cher-Ae Heights Indian Community of the Trinidad R + */ + _39, + /** + * Alabama-Coushatta Tribes of Texas + */ + _4, + /** + * Cherokee Nation, Oklahoma + */ + _40, + /** + * Cheyenne-Arapaho Tribes of Oklahoma + */ + _41, + /** + * Cheyenne River Sioux Tribe of the Cheyenne River R + */ + _42, + /** + * Chickasaw Nation, Oklahoma + */ + _43, + /** + * Chicken Ranch Rancheria of Me-Wuk Indians of Calif + */ + _44, + /** + * Chippewa-Cree Indians of the Rocky Boy's Reservati + */ + _45, + /** + * Chitimacha Tribe of Louisiana + */ + _46, + /** + * Choctaw Nation of Oklahoma + */ + _47, + /** + * Citizen Potawatomi Nation, Oklahoma + */ + _48, + /** + * Cloverdale Rancheria of Pomo Indians of California + */ + _49, + /** + * Alabama-Quassarte Tribal Town, Oklahoma + */ + _5, + /** + * Cocopah Tribe of Arizona + */ + _50, + /** + * Coeur D'Alene Tribe of the Coeur D'Alene Reservati + */ + _51, + /** + * Cold Springs Rancheria of Mono Indians of Californ + */ + _52, + /** + * Colorado River Indian Tribes of the Colorado River + */ + _53, + /** + * Comanche Indian Tribe, Oklahoma + */ + _54, + /** + * Confederated Salish & Kootenai Tribes of the Flath + */ + _55, + /** + * Confederated Tribes of the Chehalis Reservation, W + */ + _56, + /** + * Confederated Tribes of the Colville Reservation, W + */ + _57, + /** + * Confederated Tribes of the Coos, Lower Umpqua and + */ + _58, + /** + * Confederated Tribes of the Goshute Reservation, Ne + */ + _59, + /** + * Alturas Indian Rancheria, California + */ + _6, + /** + * Confederated Tribes of the Grand Ronde Community o + */ + _60, + /** + * Confederated Tribes of the Siletz Reservation, Ore + */ + _61, + /** + * Confederated Tribes of the Umatilla Reservation, O + */ + _62, + /** + * Confederated Tribes of the Warm Springs Reservatio + */ + _63, + /** + * Confederated Tribes and Bands of the Yakama Indian + */ + _64, + /** + * Coquille Tribe of Oregon + */ + _65, + /** + * Cortina Indian Rancheria of Wintun Indians of Cali + */ + _66, + /** + * Coushatta Tribe of Louisiana + */ + _67, + /** + * Cow Creek Band of Umpqua Indians of Oregon + */ + _68, + /** + * Coyote Valley Band of Pomo Indians of California + */ + _69, + /** + * Apache Tribe of Oklahoma + */ + _7, + /** + * Crow Tribe of Montana + */ + _70, + /** + * Crow Creek Sioux Tribe of the Crow Creek Reservati + */ + _71, + /** + * Cuyapaipe Community of Diegueno Mission Indians of + */ + _72, + /** + * Death Valley Timbi-Sha Shoshone Band of California + */ + _73, + /** + * Delaware Nation, Oklahoma (formerly Delaware Tribe + */ + _74, + /** + * Delaware Tribe of Indians, Oklahoma + */ + _75, + /** + * Dry Creek Rancheria of Pomo Indians of California + */ + _76, + /** + * Duckwater Shoshone Tribe of the Duckwater Reservat + */ + _77, + /** + * Eastern Band of Cherokee Indians of North Carolina + */ + _78, + /** + * Eastern Shawnee Tribe of Oklahoma + */ + _79, + /** + * Arapahoe Tribe of the Wind River Reservation, Wyom + */ + _8, + /** + * Elem Indian Colony of Pomo Indians of the Sulphur + */ + _80, + /** + * Elk Valley Rancheria, California + */ + _81, + /** + * Ely Shoshone Tribe of Nevada + */ + _82, + /** + * Enterprise Rancheria of Maidu Indians of Californi + */ + _83, + /** + * Flandreau Santee Sioux Tribe of South Dakota + */ + _84, + /** + * Forest County Potawatomi Community of Wisconsin Po + */ + _85, + /** + * Fort Belknap Indian Community of the Fort Belknap + */ + _86, + /** + * Fort Bidwell Indian Community of the Fort Bidwell + */ + _87, + /** + * Fort Independence Indian Community of Paiute India + */ + _88, + /** + * Fort McDermitt Paiute and Shoshone Tribes of the F + */ + _89, + /** + * Aroostook Band of Micmac Indians of Maine + */ + _9, + /** + * Fort McDowell Yavapai Nation, Arizona (formerly th + */ + _90, + /** + * Fort Mojave Indian Tribe of Arizona, California + */ + _91, + /** + * Fort Sill Apache Tribe of Oklahoma + */ + _92, + /** + * Gila River Indian Community of the Gila River Indi + */ + _93, + /** + * Grand Traverse Band of Ottawa & Chippewa Indians o + */ + _94, + /** + * Graton Rancheria, California + */ + _95, + /** + * Greenville Rancheria of Maidu Indians of Californi + */ + _96, + /** + * Grindstone Indian Rancheria of Wintun-Wailaki Indi + */ + _97, + /** + * Guidiville Rancheria of California + */ + _98, + /** + * Hannahville Indian Community of Wisconsin Potawato + */ + _99, + /** + * added to help the parsers + */ + NULL; + public static V3TribalEntityUS fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("_NativeEntityAlaska".equals(codeString)) + return _NATIVEENTITYALASKA; + if ("338".equals(codeString)) + return _338; + if ("339".equals(codeString)) + return _339; + if ("340".equals(codeString)) + return _340; + if ("341".equals(codeString)) + return _341; + if ("342".equals(codeString)) + return _342; + if ("343".equals(codeString)) + return _343; + if ("344".equals(codeString)) + return _344; + if ("345".equals(codeString)) + return _345; + if ("346".equals(codeString)) + return _346; + if ("347".equals(codeString)) + return _347; + if ("348".equals(codeString)) + return _348; + if ("349".equals(codeString)) + return _349; + if ("350".equals(codeString)) + return _350; + if ("351".equals(codeString)) + return _351; + if ("352".equals(codeString)) + return _352; + if ("353".equals(codeString)) + return _353; + if ("354".equals(codeString)) + return _354; + if ("355".equals(codeString)) + return _355; + if ("356".equals(codeString)) + return _356; + if ("357".equals(codeString)) + return _357; + if ("358".equals(codeString)) + return _358; + if ("359".equals(codeString)) + return _359; + if ("360".equals(codeString)) + return _360; + if ("361".equals(codeString)) + return _361; + if ("362".equals(codeString)) + return _362; + if ("363".equals(codeString)) + return _363; + if ("364".equals(codeString)) + return _364; + if ("365".equals(codeString)) + return _365; + if ("366".equals(codeString)) + return _366; + if ("367".equals(codeString)) + return _367; + if ("368".equals(codeString)) + return _368; + if ("369".equals(codeString)) + return _369; + if ("370".equals(codeString)) + return _370; + if ("371".equals(codeString)) + return _371; + if ("372".equals(codeString)) + return _372; + if ("373".equals(codeString)) + return _373; + if ("374".equals(codeString)) + return _374; + if ("375".equals(codeString)) + return _375; + if ("376".equals(codeString)) + return _376; + if ("377".equals(codeString)) + return _377; + if ("378".equals(codeString)) + return _378; + if ("379".equals(codeString)) + return _379; + if ("380".equals(codeString)) + return _380; + if ("381".equals(codeString)) + return _381; + if ("382".equals(codeString)) + return _382; + if ("383".equals(codeString)) + return _383; + if ("384".equals(codeString)) + return _384; + if ("385".equals(codeString)) + return _385; + if ("386".equals(codeString)) + return _386; + if ("387".equals(codeString)) + return _387; + if ("388".equals(codeString)) + return _388; + if ("389".equals(codeString)) + return _389; + if ("390".equals(codeString)) + return _390; + if ("391".equals(codeString)) + return _391; + if ("392".equals(codeString)) + return _392; + if ("393".equals(codeString)) + return _393; + if ("394".equals(codeString)) + return _394; + if ("395".equals(codeString)) + return _395; + if ("396".equals(codeString)) + return _396; + if ("397".equals(codeString)) + return _397; + if ("398".equals(codeString)) + return _398; + if ("399".equals(codeString)) + return _399; + if ("400".equals(codeString)) + return _400; + if ("401".equals(codeString)) + return _401; + if ("402".equals(codeString)) + return _402; + if ("403".equals(codeString)) + return _403; + if ("404".equals(codeString)) + return _404; + if ("405".equals(codeString)) + return _405; + if ("406".equals(codeString)) + return _406; + if ("407".equals(codeString)) + return _407; + if ("408".equals(codeString)) + return _408; + if ("409".equals(codeString)) + return _409; + if ("410".equals(codeString)) + return _410; + if ("411".equals(codeString)) + return _411; + if ("412".equals(codeString)) + return _412; + if ("413".equals(codeString)) + return _413; + if ("414".equals(codeString)) + return _414; + if ("415".equals(codeString)) + return _415; + if ("416".equals(codeString)) + return _416; + if ("417".equals(codeString)) + return _417; + if ("418".equals(codeString)) + return _418; + if ("419".equals(codeString)) + return _419; + if ("420".equals(codeString)) + return _420; + if ("421".equals(codeString)) + return _421; + if ("422".equals(codeString)) + return _422; + if ("423".equals(codeString)) + return _423; + if ("424".equals(codeString)) + return _424; + if ("425".equals(codeString)) + return _425; + if ("426".equals(codeString)) + return _426; + if ("427".equals(codeString)) + return _427; + if ("428".equals(codeString)) + return _428; + if ("429".equals(codeString)) + return _429; + if ("430".equals(codeString)) + return _430; + if ("431".equals(codeString)) + return _431; + if ("432".equals(codeString)) + return _432; + if ("433".equals(codeString)) + return _433; + if ("434".equals(codeString)) + return _434; + if ("435".equals(codeString)) + return _435; + if ("436".equals(codeString)) + return _436; + if ("437".equals(codeString)) + return _437; + if ("438".equals(codeString)) + return _438; + if ("439".equals(codeString)) + return _439; + if ("440".equals(codeString)) + return _440; + if ("441".equals(codeString)) + return _441; + if ("442".equals(codeString)) + return _442; + if ("443".equals(codeString)) + return _443; + if ("444".equals(codeString)) + return _444; + if ("445".equals(codeString)) + return _445; + if ("446".equals(codeString)) + return _446; + if ("447".equals(codeString)) + return _447; + if ("448".equals(codeString)) + return _448; + if ("449".equals(codeString)) + return _449; + if ("450".equals(codeString)) + return _450; + if ("451".equals(codeString)) + return _451; + if ("452".equals(codeString)) + return _452; + if ("453".equals(codeString)) + return _453; + if ("454".equals(codeString)) + return _454; + if ("455".equals(codeString)) + return _455; + if ("456".equals(codeString)) + return _456; + if ("457".equals(codeString)) + return _457; + if ("458".equals(codeString)) + return _458; + if ("459".equals(codeString)) + return _459; + if ("460".equals(codeString)) + return _460; + if ("461".equals(codeString)) + return _461; + if ("462".equals(codeString)) + return _462; + if ("463".equals(codeString)) + return _463; + if ("464".equals(codeString)) + return _464; + if ("465".equals(codeString)) + return _465; + if ("466".equals(codeString)) + return _466; + if ("467".equals(codeString)) + return _467; + if ("468".equals(codeString)) + return _468; + if ("469".equals(codeString)) + return _469; + if ("470".equals(codeString)) + return _470; + if ("471".equals(codeString)) + return _471; + if ("472".equals(codeString)) + return _472; + if ("473".equals(codeString)) + return _473; + if ("474".equals(codeString)) + return _474; + if ("475".equals(codeString)) + return _475; + if ("476".equals(codeString)) + return _476; + if ("477".equals(codeString)) + return _477; + if ("478".equals(codeString)) + return _478; + if ("479".equals(codeString)) + return _479; + if ("480".equals(codeString)) + return _480; + if ("481".equals(codeString)) + return _481; + if ("482".equals(codeString)) + return _482; + if ("483".equals(codeString)) + return _483; + if ("484".equals(codeString)) + return _484; + if ("485".equals(codeString)) + return _485; + if ("486".equals(codeString)) + return _486; + if ("487".equals(codeString)) + return _487; + if ("488".equals(codeString)) + return _488; + if ("489".equals(codeString)) + return _489; + if ("490".equals(codeString)) + return _490; + if ("491".equals(codeString)) + return _491; + if ("492".equals(codeString)) + return _492; + if ("493".equals(codeString)) + return _493; + if ("494".equals(codeString)) + return _494; + if ("495".equals(codeString)) + return _495; + if ("496".equals(codeString)) + return _496; + if ("497".equals(codeString)) + return _497; + if ("498".equals(codeString)) + return _498; + if ("499".equals(codeString)) + return _499; + if ("500".equals(codeString)) + return _500; + if ("501".equals(codeString)) + return _501; + if ("502".equals(codeString)) + return _502; + if ("503".equals(codeString)) + return _503; + if ("504".equals(codeString)) + return _504; + if ("505".equals(codeString)) + return _505; + if ("506".equals(codeString)) + return _506; + if ("507".equals(codeString)) + return _507; + if ("508".equals(codeString)) + return _508; + if ("509".equals(codeString)) + return _509; + if ("510".equals(codeString)) + return _510; + if ("511".equals(codeString)) + return _511; + if ("512".equals(codeString)) + return _512; + if ("513".equals(codeString)) + return _513; + if ("514".equals(codeString)) + return _514; + if ("515".equals(codeString)) + return _515; + if ("516".equals(codeString)) + return _516; + if ("517".equals(codeString)) + return _517; + if ("518".equals(codeString)) + return _518; + if ("519".equals(codeString)) + return _519; + if ("520".equals(codeString)) + return _520; + if ("521".equals(codeString)) + return _521; + if ("522".equals(codeString)) + return _522; + if ("523".equals(codeString)) + return _523; + if ("524".equals(codeString)) + return _524; + if ("525".equals(codeString)) + return _525; + if ("526".equals(codeString)) + return _526; + if ("527".equals(codeString)) + return _527; + if ("528".equals(codeString)) + return _528; + if ("529".equals(codeString)) + return _529; + if ("530".equals(codeString)) + return _530; + if ("531".equals(codeString)) + return _531; + if ("532".equals(codeString)) + return _532; + if ("533".equals(codeString)) + return _533; + if ("534".equals(codeString)) + return _534; + if ("535".equals(codeString)) + return _535; + if ("536".equals(codeString)) + return _536; + if ("537".equals(codeString)) + return _537; + if ("538".equals(codeString)) + return _538; + if ("539".equals(codeString)) + return _539; + if ("540".equals(codeString)) + return _540; + if ("541".equals(codeString)) + return _541; + if ("542".equals(codeString)) + return _542; + if ("543".equals(codeString)) + return _543; + if ("544".equals(codeString)) + return _544; + if ("545".equals(codeString)) + return _545; + if ("546".equals(codeString)) + return _546; + if ("547".equals(codeString)) + return _547; + if ("548".equals(codeString)) + return _548; + if ("549".equals(codeString)) + return _549; + if ("550".equals(codeString)) + return _550; + if ("551".equals(codeString)) + return _551; + if ("552".equals(codeString)) + return _552; + if ("553".equals(codeString)) + return _553; + if ("554".equals(codeString)) + return _554; + if ("555".equals(codeString)) + return _555; + if ("556".equals(codeString)) + return _556; + if ("557".equals(codeString)) + return _557; + if ("558".equals(codeString)) + return _558; + if ("559".equals(codeString)) + return _559; + if ("560".equals(codeString)) + return _560; + if ("561".equals(codeString)) + return _561; + if ("562".equals(codeString)) + return _562; + if ("563".equals(codeString)) + return _563; + if ("564".equals(codeString)) + return _564; + if ("565".equals(codeString)) + return _565; + if ("566".equals(codeString)) + return _566; + if ("_NativeEntityContiguous".equals(codeString)) + return _NATIVEENTITYCONTIGUOUS; + if ("1".equals(codeString)) + return _1; + if ("10".equals(codeString)) + return _10; + if ("100".equals(codeString)) + return _100; + if ("101".equals(codeString)) + return _101; + if ("102".equals(codeString)) + return _102; + if ("103".equals(codeString)) + return _103; + if ("104".equals(codeString)) + return _104; + if ("105".equals(codeString)) + return _105; + if ("106".equals(codeString)) + return _106; + if ("107".equals(codeString)) + return _107; + if ("108".equals(codeString)) + return _108; + if ("109".equals(codeString)) + return _109; + if ("11".equals(codeString)) + return _11; + if ("110".equals(codeString)) + return _110; + if ("111".equals(codeString)) + return _111; + if ("112".equals(codeString)) + return _112; + if ("113".equals(codeString)) + return _113; + if ("114".equals(codeString)) + return _114; + if ("115".equals(codeString)) + return _115; + if ("116".equals(codeString)) + return _116; + if ("117".equals(codeString)) + return _117; + if ("118".equals(codeString)) + return _118; + if ("119".equals(codeString)) + return _119; + if ("12".equals(codeString)) + return _12; + if ("120".equals(codeString)) + return _120; + if ("121".equals(codeString)) + return _121; + if ("122".equals(codeString)) + return _122; + if ("123".equals(codeString)) + return _123; + if ("124".equals(codeString)) + return _124; + if ("125".equals(codeString)) + return _125; + if ("126".equals(codeString)) + return _126; + if ("127".equals(codeString)) + return _127; + if ("128".equals(codeString)) + return _128; + if ("129".equals(codeString)) + return _129; + if ("13".equals(codeString)) + return _13; + if ("130".equals(codeString)) + return _130; + if ("131".equals(codeString)) + return _131; + if ("132".equals(codeString)) + return _132; + if ("133".equals(codeString)) + return _133; + if ("134".equals(codeString)) + return _134; + if ("135".equals(codeString)) + return _135; + if ("136".equals(codeString)) + return _136; + if ("137".equals(codeString)) + return _137; + if ("138".equals(codeString)) + return _138; + if ("139".equals(codeString)) + return _139; + if ("14".equals(codeString)) + return _14; + if ("140".equals(codeString)) + return _140; + if ("141".equals(codeString)) + return _141; + if ("142".equals(codeString)) + return _142; + if ("143".equals(codeString)) + return _143; + if ("144".equals(codeString)) + return _144; + if ("145".equals(codeString)) + return _145; + if ("146".equals(codeString)) + return _146; + if ("147".equals(codeString)) + return _147; + if ("148".equals(codeString)) + return _148; + if ("149".equals(codeString)) + return _149; + if ("15".equals(codeString)) + return _15; + if ("150".equals(codeString)) + return _150; + if ("151".equals(codeString)) + return _151; + if ("152".equals(codeString)) + return _152; + if ("153".equals(codeString)) + return _153; + if ("154".equals(codeString)) + return _154; + if ("155".equals(codeString)) + return _155; + if ("156".equals(codeString)) + return _156; + if ("157".equals(codeString)) + return _157; + if ("158".equals(codeString)) + return _158; + if ("159".equals(codeString)) + return _159; + if ("16".equals(codeString)) + return _16; + if ("160".equals(codeString)) + return _160; + if ("161".equals(codeString)) + return _161; + if ("162".equals(codeString)) + return _162; + if ("163".equals(codeString)) + return _163; + if ("164".equals(codeString)) + return _164; + if ("165".equals(codeString)) + return _165; + if ("166".equals(codeString)) + return _166; + if ("167".equals(codeString)) + return _167; + if ("168".equals(codeString)) + return _168; + if ("169".equals(codeString)) + return _169; + if ("17".equals(codeString)) + return _17; + if ("170".equals(codeString)) + return _170; + if ("171".equals(codeString)) + return _171; + if ("172".equals(codeString)) + return _172; + if ("173".equals(codeString)) + return _173; + if ("174".equals(codeString)) + return _174; + if ("175".equals(codeString)) + return _175; + if ("176".equals(codeString)) + return _176; + if ("177".equals(codeString)) + return _177; + if ("178".equals(codeString)) + return _178; + if ("179".equals(codeString)) + return _179; + if ("18".equals(codeString)) + return _18; + if ("180".equals(codeString)) + return _180; + if ("181".equals(codeString)) + return _181; + if ("182".equals(codeString)) + return _182; + if ("183".equals(codeString)) + return _183; + if ("184".equals(codeString)) + return _184; + if ("185".equals(codeString)) + return _185; + if ("186".equals(codeString)) + return _186; + if ("187".equals(codeString)) + return _187; + if ("188".equals(codeString)) + return _188; + if ("189".equals(codeString)) + return _189; + if ("19".equals(codeString)) + return _19; + if ("190".equals(codeString)) + return _190; + if ("191".equals(codeString)) + return _191; + if ("192".equals(codeString)) + return _192; + if ("193".equals(codeString)) + return _193; + if ("194".equals(codeString)) + return _194; + if ("195".equals(codeString)) + return _195; + if ("196".equals(codeString)) + return _196; + if ("197".equals(codeString)) + return _197; + if ("198".equals(codeString)) + return _198; + if ("199".equals(codeString)) + return _199; + if ("2".equals(codeString)) + return _2; + if ("20".equals(codeString)) + return _20; + if ("200".equals(codeString)) + return _200; + if ("201".equals(codeString)) + return _201; + if ("202".equals(codeString)) + return _202; + if ("203".equals(codeString)) + return _203; + if ("204".equals(codeString)) + return _204; + if ("205".equals(codeString)) + return _205; + if ("206".equals(codeString)) + return _206; + if ("207".equals(codeString)) + return _207; + if ("208".equals(codeString)) + return _208; + if ("209".equals(codeString)) + return _209; + if ("21".equals(codeString)) + return _21; + if ("210".equals(codeString)) + return _210; + if ("211".equals(codeString)) + return _211; + if ("212".equals(codeString)) + return _212; + if ("213".equals(codeString)) + return _213; + if ("214".equals(codeString)) + return _214; + if ("215".equals(codeString)) + return _215; + if ("216".equals(codeString)) + return _216; + if ("217".equals(codeString)) + return _217; + if ("218".equals(codeString)) + return _218; + if ("219".equals(codeString)) + return _219; + if ("22".equals(codeString)) + return _22; + if ("220".equals(codeString)) + return _220; + if ("221".equals(codeString)) + return _221; + if ("222".equals(codeString)) + return _222; + if ("223".equals(codeString)) + return _223; + if ("224".equals(codeString)) + return _224; + if ("225".equals(codeString)) + return _225; + if ("226".equals(codeString)) + return _226; + if ("227".equals(codeString)) + return _227; + if ("228".equals(codeString)) + return _228; + if ("229".equals(codeString)) + return _229; + if ("23".equals(codeString)) + return _23; + if ("230".equals(codeString)) + return _230; + if ("231".equals(codeString)) + return _231; + if ("232".equals(codeString)) + return _232; + if ("233".equals(codeString)) + return _233; + if ("234".equals(codeString)) + return _234; + if ("235".equals(codeString)) + return _235; + if ("236".equals(codeString)) + return _236; + if ("237".equals(codeString)) + return _237; + if ("238".equals(codeString)) + return _238; + if ("239".equals(codeString)) + return _239; + if ("24".equals(codeString)) + return _24; + if ("240".equals(codeString)) + return _240; + if ("241".equals(codeString)) + return _241; + if ("242".equals(codeString)) + return _242; + if ("243".equals(codeString)) + return _243; + if ("244".equals(codeString)) + return _244; + if ("245".equals(codeString)) + return _245; + if ("246".equals(codeString)) + return _246; + if ("247".equals(codeString)) + return _247; + if ("248".equals(codeString)) + return _248; + if ("249".equals(codeString)) + return _249; + if ("25".equals(codeString)) + return _25; + if ("250".equals(codeString)) + return _250; + if ("251".equals(codeString)) + return _251; + if ("252".equals(codeString)) + return _252; + if ("253".equals(codeString)) + return _253; + if ("254".equals(codeString)) + return _254; + if ("255".equals(codeString)) + return _255; + if ("256".equals(codeString)) + return _256; + if ("257".equals(codeString)) + return _257; + if ("258".equals(codeString)) + return _258; + if ("259".equals(codeString)) + return _259; + if ("26".equals(codeString)) + return _26; + if ("260".equals(codeString)) + return _260; + if ("261".equals(codeString)) + return _261; + if ("262".equals(codeString)) + return _262; + if ("263".equals(codeString)) + return _263; + if ("264".equals(codeString)) + return _264; + if ("265".equals(codeString)) + return _265; + if ("266".equals(codeString)) + return _266; + if ("267".equals(codeString)) + return _267; + if ("268".equals(codeString)) + return _268; + if ("269".equals(codeString)) + return _269; + if ("27".equals(codeString)) + return _27; + if ("270".equals(codeString)) + return _270; + if ("271".equals(codeString)) + return _271; + if ("272".equals(codeString)) + return _272; + if ("273".equals(codeString)) + return _273; + if ("274".equals(codeString)) + return _274; + if ("275".equals(codeString)) + return _275; + if ("276".equals(codeString)) + return _276; + if ("277".equals(codeString)) + return _277; + if ("278".equals(codeString)) + return _278; + if ("279".equals(codeString)) + return _279; + if ("28".equals(codeString)) + return _28; + if ("280".equals(codeString)) + return _280; + if ("281".equals(codeString)) + return _281; + if ("282".equals(codeString)) + return _282; + if ("283".equals(codeString)) + return _283; + if ("284".equals(codeString)) + return _284; + if ("285".equals(codeString)) + return _285; + if ("286".equals(codeString)) + return _286; + if ("287".equals(codeString)) + return _287; + if ("288".equals(codeString)) + return _288; + if ("289".equals(codeString)) + return _289; + if ("29".equals(codeString)) + return _29; + if ("290".equals(codeString)) + return _290; + if ("291".equals(codeString)) + return _291; + if ("292".equals(codeString)) + return _292; + if ("293".equals(codeString)) + return _293; + if ("294".equals(codeString)) + return _294; + if ("295".equals(codeString)) + return _295; + if ("296".equals(codeString)) + return _296; + if ("297".equals(codeString)) + return _297; + if ("298".equals(codeString)) + return _298; + if ("299".equals(codeString)) + return _299; + if ("3".equals(codeString)) + return _3; + if ("30".equals(codeString)) + return _30; + if ("300".equals(codeString)) + return _300; + if ("301".equals(codeString)) + return _301; + if ("302".equals(codeString)) + return _302; + if ("303".equals(codeString)) + return _303; + if ("304".equals(codeString)) + return _304; + if ("305".equals(codeString)) + return _305; + if ("306".equals(codeString)) + return _306; + if ("307".equals(codeString)) + return _307; + if ("308".equals(codeString)) + return _308; + if ("309".equals(codeString)) + return _309; + if ("31".equals(codeString)) + return _31; + if ("310".equals(codeString)) + return _310; + if ("311".equals(codeString)) + return _311; + if ("312".equals(codeString)) + return _312; + if ("313".equals(codeString)) + return _313; + if ("314".equals(codeString)) + return _314; + if ("315".equals(codeString)) + return _315; + if ("316".equals(codeString)) + return _316; + if ("317".equals(codeString)) + return _317; + if ("318".equals(codeString)) + return _318; + if ("319".equals(codeString)) + return _319; + if ("32".equals(codeString)) + return _32; + if ("320".equals(codeString)) + return _320; + if ("321".equals(codeString)) + return _321; + if ("322".equals(codeString)) + return _322; + if ("323".equals(codeString)) + return _323; + if ("324".equals(codeString)) + return _324; + if ("325".equals(codeString)) + return _325; + if ("326".equals(codeString)) + return _326; + if ("327".equals(codeString)) + return _327; + if ("328".equals(codeString)) + return _328; + if ("329".equals(codeString)) + return _329; + if ("33".equals(codeString)) + return _33; + if ("330".equals(codeString)) + return _330; + if ("331".equals(codeString)) + return _331; + if ("332".equals(codeString)) + return _332; + if ("333".equals(codeString)) + return _333; + if ("334".equals(codeString)) + return _334; + if ("335".equals(codeString)) + return _335; + if ("336".equals(codeString)) + return _336; + if ("337".equals(codeString)) + return _337; + if ("34".equals(codeString)) + return _34; + if ("35".equals(codeString)) + return _35; + if ("36".equals(codeString)) + return _36; + if ("37".equals(codeString)) + return _37; + if ("38".equals(codeString)) + return _38; + if ("39".equals(codeString)) + return _39; + if ("4".equals(codeString)) + return _4; + if ("40".equals(codeString)) + return _40; + if ("41".equals(codeString)) + return _41; + if ("42".equals(codeString)) + return _42; + if ("43".equals(codeString)) + return _43; + if ("44".equals(codeString)) + return _44; + if ("45".equals(codeString)) + return _45; + if ("46".equals(codeString)) + return _46; + if ("47".equals(codeString)) + return _47; + if ("48".equals(codeString)) + return _48; + if ("49".equals(codeString)) + return _49; + if ("5".equals(codeString)) + return _5; + if ("50".equals(codeString)) + return _50; + if ("51".equals(codeString)) + return _51; + if ("52".equals(codeString)) + return _52; + if ("53".equals(codeString)) + return _53; + if ("54".equals(codeString)) + return _54; + if ("55".equals(codeString)) + return _55; + if ("56".equals(codeString)) + return _56; + if ("57".equals(codeString)) + return _57; + if ("58".equals(codeString)) + return _58; + if ("59".equals(codeString)) + return _59; + if ("6".equals(codeString)) + return _6; + if ("60".equals(codeString)) + return _60; + if ("61".equals(codeString)) + return _61; + if ("62".equals(codeString)) + return _62; + if ("63".equals(codeString)) + return _63; + if ("64".equals(codeString)) + return _64; + if ("65".equals(codeString)) + return _65; + if ("66".equals(codeString)) + return _66; + if ("67".equals(codeString)) + return _67; + if ("68".equals(codeString)) + return _68; + if ("69".equals(codeString)) + return _69; + if ("7".equals(codeString)) + return _7; + if ("70".equals(codeString)) + return _70; + if ("71".equals(codeString)) + return _71; + if ("72".equals(codeString)) + return _72; + if ("73".equals(codeString)) + return _73; + if ("74".equals(codeString)) + return _74; + if ("75".equals(codeString)) + return _75; + if ("76".equals(codeString)) + return _76; + if ("77".equals(codeString)) + return _77; + if ("78".equals(codeString)) + return _78; + if ("79".equals(codeString)) + return _79; + if ("8".equals(codeString)) + return _8; + if ("80".equals(codeString)) + return _80; + if ("81".equals(codeString)) + return _81; + if ("82".equals(codeString)) + return _82; + if ("83".equals(codeString)) + return _83; + if ("84".equals(codeString)) + return _84; + if ("85".equals(codeString)) + return _85; + if ("86".equals(codeString)) + return _86; + if ("87".equals(codeString)) + return _87; + if ("88".equals(codeString)) + return _88; + if ("89".equals(codeString)) + return _89; + if ("9".equals(codeString)) + return _9; + if ("90".equals(codeString)) + return _90; + if ("91".equals(codeString)) + return _91; + if ("92".equals(codeString)) + return _92; + if ("93".equals(codeString)) + return _93; + if ("94".equals(codeString)) + return _94; + if ("95".equals(codeString)) + return _95; + if ("96".equals(codeString)) + return _96; + if ("97".equals(codeString)) + return _97; + if ("98".equals(codeString)) + return _98; + if ("99".equals(codeString)) + return _99; + throw new Exception("Unknown V3TribalEntityUS code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case _NATIVEENTITYALASKA: return "_NativeEntityAlaska"; + case _338: return "338"; + case _339: return "339"; + case _340: return "340"; + case _341: return "341"; + case _342: return "342"; + case _343: return "343"; + case _344: return "344"; + case _345: return "345"; + case _346: return "346"; + case _347: return "347"; + case _348: return "348"; + case _349: return "349"; + case _350: return "350"; + case _351: return "351"; + case _352: return "352"; + case _353: return "353"; + case _354: return "354"; + case _355: return "355"; + case _356: return "356"; + case _357: return "357"; + case _358: return "358"; + case _359: return "359"; + case _360: return "360"; + case _361: return "361"; + case _362: return "362"; + case _363: return "363"; + case _364: return "364"; + case _365: return "365"; + case _366: return "366"; + case _367: return "367"; + case _368: return "368"; + case _369: return "369"; + case _370: return "370"; + case _371: return "371"; + case _372: return "372"; + case _373: return "373"; + case _374: return "374"; + case _375: return "375"; + case _376: return "376"; + case _377: return "377"; + case _378: return "378"; + case _379: return "379"; + case _380: return "380"; + case _381: return "381"; + case _382: return "382"; + case _383: return "383"; + case _384: return "384"; + case _385: return "385"; + case _386: return "386"; + case _387: return "387"; + case _388: return "388"; + case _389: return "389"; + case _390: return "390"; + case _391: return "391"; + case _392: return "392"; + case _393: return "393"; + case _394: return "394"; + case _395: return "395"; + case _396: return "396"; + case _397: return "397"; + case _398: return "398"; + case _399: return "399"; + case _400: return "400"; + case _401: return "401"; + case _402: return "402"; + case _403: return "403"; + case _404: return "404"; + case _405: return "405"; + case _406: return "406"; + case _407: return "407"; + case _408: return "408"; + case _409: return "409"; + case _410: return "410"; + case _411: return "411"; + case _412: return "412"; + case _413: return "413"; + case _414: return "414"; + case _415: return "415"; + case _416: return "416"; + case _417: return "417"; + case _418: return "418"; + case _419: return "419"; + case _420: return "420"; + case _421: return "421"; + case _422: return "422"; + case _423: return "423"; + case _424: return "424"; + case _425: return "425"; + case _426: return "426"; + case _427: return "427"; + case _428: return "428"; + case _429: return "429"; + case _430: return "430"; + case _431: return "431"; + case _432: return "432"; + case _433: return "433"; + case _434: return "434"; + case _435: return "435"; + case _436: return "436"; + case _437: return "437"; + case _438: return "438"; + case _439: return "439"; + case _440: return "440"; + case _441: return "441"; + case _442: return "442"; + case _443: return "443"; + case _444: return "444"; + case _445: return "445"; + case _446: return "446"; + case _447: return "447"; + case _448: return "448"; + case _449: return "449"; + case _450: return "450"; + case _451: return "451"; + case _452: return "452"; + case _453: return "453"; + case _454: return "454"; + case _455: return "455"; + case _456: return "456"; + case _457: return "457"; + case _458: return "458"; + case _459: return "459"; + case _460: return "460"; + case _461: return "461"; + case _462: return "462"; + case _463: return "463"; + case _464: return "464"; + case _465: return "465"; + case _466: return "466"; + case _467: return "467"; + case _468: return "468"; + case _469: return "469"; + case _470: return "470"; + case _471: return "471"; + case _472: return "472"; + case _473: return "473"; + case _474: return "474"; + case _475: return "475"; + case _476: return "476"; + case _477: return "477"; + case _478: return "478"; + case _479: return "479"; + case _480: return "480"; + case _481: return "481"; + case _482: return "482"; + case _483: return "483"; + case _484: return "484"; + case _485: return "485"; + case _486: return "486"; + case _487: return "487"; + case _488: return "488"; + case _489: return "489"; + case _490: return "490"; + case _491: return "491"; + case _492: return "492"; + case _493: return "493"; + case _494: return "494"; + case _495: return "495"; + case _496: return "496"; + case _497: return "497"; + case _498: return "498"; + case _499: return "499"; + case _500: return "500"; + case _501: return "501"; + case _502: return "502"; + case _503: return "503"; + case _504: return "504"; + case _505: return "505"; + case _506: return "506"; + case _507: return "507"; + case _508: return "508"; + case _509: return "509"; + case _510: return "510"; + case _511: return "511"; + case _512: return "512"; + case _513: return "513"; + case _514: return "514"; + case _515: return "515"; + case _516: return "516"; + case _517: return "517"; + case _518: return "518"; + case _519: return "519"; + case _520: return "520"; + case _521: return "521"; + case _522: return "522"; + case _523: return "523"; + case _524: return "524"; + case _525: return "525"; + case _526: return "526"; + case _527: return "527"; + case _528: return "528"; + case _529: return "529"; + case _530: return "530"; + case _531: return "531"; + case _532: return "532"; + case _533: return "533"; + case _534: return "534"; + case _535: return "535"; + case _536: return "536"; + case _537: return "537"; + case _538: return "538"; + case _539: return "539"; + case _540: return "540"; + case _541: return "541"; + case _542: return "542"; + case _543: return "543"; + case _544: return "544"; + case _545: return "545"; + case _546: return "546"; + case _547: return "547"; + case _548: return "548"; + case _549: return "549"; + case _550: return "550"; + case _551: return "551"; + case _552: return "552"; + case _553: return "553"; + case _554: return "554"; + case _555: return "555"; + case _556: return "556"; + case _557: return "557"; + case _558: return "558"; + case _559: return "559"; + case _560: return "560"; + case _561: return "561"; + case _562: return "562"; + case _563: return "563"; + case _564: return "564"; + case _565: return "565"; + case _566: return "566"; + case _NATIVEENTITYCONTIGUOUS: return "_NativeEntityContiguous"; + case _1: return "1"; + case _10: return "10"; + case _100: return "100"; + case _101: return "101"; + case _102: return "102"; + case _103: return "103"; + case _104: return "104"; + case _105: return "105"; + case _106: return "106"; + case _107: return "107"; + case _108: return "108"; + case _109: return "109"; + case _11: return "11"; + case _110: return "110"; + case _111: return "111"; + case _112: return "112"; + case _113: return "113"; + case _114: return "114"; + case _115: return "115"; + case _116: return "116"; + case _117: return "117"; + case _118: return "118"; + case _119: return "119"; + case _12: return "12"; + case _120: return "120"; + case _121: return "121"; + case _122: return "122"; + case _123: return "123"; + case _124: return "124"; + case _125: return "125"; + case _126: return "126"; + case _127: return "127"; + case _128: return "128"; + case _129: return "129"; + case _13: return "13"; + case _130: return "130"; + case _131: return "131"; + case _132: return "132"; + case _133: return "133"; + case _134: return "134"; + case _135: return "135"; + case _136: return "136"; + case _137: return "137"; + case _138: return "138"; + case _139: return "139"; + case _14: return "14"; + case _140: return "140"; + case _141: return "141"; + case _142: return "142"; + case _143: return "143"; + case _144: return "144"; + case _145: return "145"; + case _146: return "146"; + case _147: return "147"; + case _148: return "148"; + case _149: return "149"; + case _15: return "15"; + case _150: return "150"; + case _151: return "151"; + case _152: return "152"; + case _153: return "153"; + case _154: return "154"; + case _155: return "155"; + case _156: return "156"; + case _157: return "157"; + case _158: return "158"; + case _159: return "159"; + case _16: return "16"; + case _160: return "160"; + case _161: return "161"; + case _162: return "162"; + case _163: return "163"; + case _164: return "164"; + case _165: return "165"; + case _166: return "166"; + case _167: return "167"; + case _168: return "168"; + case _169: return "169"; + case _17: return "17"; + case _170: return "170"; + case _171: return "171"; + case _172: return "172"; + case _173: return "173"; + case _174: return "174"; + case _175: return "175"; + case _176: return "176"; + case _177: return "177"; + case _178: return "178"; + case _179: return "179"; + case _18: return "18"; + case _180: return "180"; + case _181: return "181"; + case _182: return "182"; + case _183: return "183"; + case _184: return "184"; + case _185: return "185"; + case _186: return "186"; + case _187: return "187"; + case _188: return "188"; + case _189: return "189"; + case _19: return "19"; + case _190: return "190"; + case _191: return "191"; + case _192: return "192"; + case _193: return "193"; + case _194: return "194"; + case _195: return "195"; + case _196: return "196"; + case _197: return "197"; + case _198: return "198"; + case _199: return "199"; + case _2: return "2"; + case _20: return "20"; + case _200: return "200"; + case _201: return "201"; + case _202: return "202"; + case _203: return "203"; + case _204: return "204"; + case _205: return "205"; + case _206: return "206"; + case _207: return "207"; + case _208: return "208"; + case _209: return "209"; + case _21: return "21"; + case _210: return "210"; + case _211: return "211"; + case _212: return "212"; + case _213: return "213"; + case _214: return "214"; + case _215: return "215"; + case _216: return "216"; + case _217: return "217"; + case _218: return "218"; + case _219: return "219"; + case _22: return "22"; + case _220: return "220"; + case _221: return "221"; + case _222: return "222"; + case _223: return "223"; + case _224: return "224"; + case _225: return "225"; + case _226: return "226"; + case _227: return "227"; + case _228: return "228"; + case _229: return "229"; + case _23: return "23"; + case _230: return "230"; + case _231: return "231"; + case _232: return "232"; + case _233: return "233"; + case _234: return "234"; + case _235: return "235"; + case _236: return "236"; + case _237: return "237"; + case _238: return "238"; + case _239: return "239"; + case _24: return "24"; + case _240: return "240"; + case _241: return "241"; + case _242: return "242"; + case _243: return "243"; + case _244: return "244"; + case _245: return "245"; + case _246: return "246"; + case _247: return "247"; + case _248: return "248"; + case _249: return "249"; + case _25: return "25"; + case _250: return "250"; + case _251: return "251"; + case _252: return "252"; + case _253: return "253"; + case _254: return "254"; + case _255: return "255"; + case _256: return "256"; + case _257: return "257"; + case _258: return "258"; + case _259: return "259"; + case _26: return "26"; + case _260: return "260"; + case _261: return "261"; + case _262: return "262"; + case _263: return "263"; + case _264: return "264"; + case _265: return "265"; + case _266: return "266"; + case _267: return "267"; + case _268: return "268"; + case _269: return "269"; + case _27: return "27"; + case _270: return "270"; + case _271: return "271"; + case _272: return "272"; + case _273: return "273"; + case _274: return "274"; + case _275: return "275"; + case _276: return "276"; + case _277: return "277"; + case _278: return "278"; + case _279: return "279"; + case _28: return "28"; + case _280: return "280"; + case _281: return "281"; + case _282: return "282"; + case _283: return "283"; + case _284: return "284"; + case _285: return "285"; + case _286: return "286"; + case _287: return "287"; + case _288: return "288"; + case _289: return "289"; + case _29: return "29"; + case _290: return "290"; + case _291: return "291"; + case _292: return "292"; + case _293: return "293"; + case _294: return "294"; + case _295: return "295"; + case _296: return "296"; + case _297: return "297"; + case _298: return "298"; + case _299: return "299"; + case _3: return "3"; + case _30: return "30"; + case _300: return "300"; + case _301: return "301"; + case _302: return "302"; + case _303: return "303"; + case _304: return "304"; + case _305: return "305"; + case _306: return "306"; + case _307: return "307"; + case _308: return "308"; + case _309: return "309"; + case _31: return "31"; + case _310: return "310"; + case _311: return "311"; + case _312: return "312"; + case _313: return "313"; + case _314: return "314"; + case _315: return "315"; + case _316: return "316"; + case _317: return "317"; + case _318: return "318"; + case _319: return "319"; + case _32: return "32"; + case _320: return "320"; + case _321: return "321"; + case _322: return "322"; + case _323: return "323"; + case _324: return "324"; + case _325: return "325"; + case _326: return "326"; + case _327: return "327"; + case _328: return "328"; + case _329: return "329"; + case _33: return "33"; + case _330: return "330"; + case _331: return "331"; + case _332: return "332"; + case _333: return "333"; + case _334: return "334"; + case _335: return "335"; + case _336: return "336"; + case _337: return "337"; + case _34: return "34"; + case _35: return "35"; + case _36: return "36"; + case _37: return "37"; + case _38: return "38"; + case _39: return "39"; + case _4: return "4"; + case _40: return "40"; + case _41: return "41"; + case _42: return "42"; + case _43: return "43"; + case _44: return "44"; + case _45: return "45"; + case _46: return "46"; + case _47: return "47"; + case _48: return "48"; + case _49: return "49"; + case _5: return "5"; + case _50: return "50"; + case _51: return "51"; + case _52: return "52"; + case _53: return "53"; + case _54: return "54"; + case _55: return "55"; + case _56: return "56"; + case _57: return "57"; + case _58: return "58"; + case _59: return "59"; + case _6: return "6"; + case _60: return "60"; + case _61: return "61"; + case _62: return "62"; + case _63: return "63"; + case _64: return "64"; + case _65: return "65"; + case _66: return "66"; + case _67: return "67"; + case _68: return "68"; + case _69: return "69"; + case _7: return "7"; + case _70: return "70"; + case _71: return "71"; + case _72: return "72"; + case _73: return "73"; + case _74: return "74"; + case _75: return "75"; + case _76: return "76"; + case _77: return "77"; + case _78: return "78"; + case _79: return "79"; + case _8: return "8"; + case _80: return "80"; + case _81: return "81"; + case _82: return "82"; + case _83: return "83"; + case _84: return "84"; + case _85: return "85"; + case _86: return "86"; + case _87: return "87"; + case _88: return "88"; + case _89: return "89"; + case _9: return "9"; + case _90: return "90"; + case _91: return "91"; + case _92: return "92"; + case _93: return "93"; + case _94: return "94"; + case _95: return "95"; + case _96: return "96"; + case _97: return "97"; + case _98: return "98"; + case _99: return "99"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/TribalEntityUS"; + } + public String getDefinition() { + switch (this) { + case _NATIVEENTITYALASKA: return "NATIVE ENTITIES WITHIN THE STATE OF ALASKA RECOGNIZED AND ELIGIBLE TO RECEIVE SERVICES FROM THE UNITED STATES BUREAU OF INDIAN AFFAIRS"; + case _338: return "Village of Afognak"; + case _339: return "Agdaagux Tribe of King Cove"; + case _340: return "Native Village of Akhiok"; + case _341: return "Akiachak Native Community"; + case _342: return "Akiak Native Community"; + case _343: return "Native Village of Akutan"; + case _344: return "Village of Alakanuk"; + case _345: return "Alatna Village"; + case _346: return "Native Village of Aleknagik"; + case _347: return "Algaaciq Native Village (St. Mary's)"; + case _348: return "Allakaket Village"; + case _349: return "Native Village of Ambler"; + case _350: return "Village of Anaktuvuk Pass"; + case _351: return "Yupiit of Andreafski"; + case _352: return "Angoon Community Association"; + case _353: return "Village of Aniak"; + case _354: return "Anvik Village"; + case _355: return "Arctic Village (See Native Village of Venetie Trib"; + case _356: return "Asa carsarmiut Tribe (formerly Native Village of M"; + case _357: return "Native Village of Atka"; + case _358: return "Village of Atmautluak"; + case _359: return "Atqasuk Village (Atkasook)"; + case _360: return "Native Village of Barrow Inupiat Traditional Gover"; + case _361: return "Beaver Village"; + case _362: return "Native Village of Belkofski"; + case _363: return "Village of Bill Moore's Slough"; + case _364: return "Birch Creek Tribe"; + case _365: return "Native Village of Brevig Mission"; + case _366: return "Native Village of Buckland"; + case _367: return "Native Village of Cantwell"; + case _368: return "Native Village of Chanega (aka Chenega)"; + case _369: return "Chalkyitsik Village"; + case _370: return "Village of Chefornak"; + case _371: return "Chevak Native Village"; + case _372: return "Chickaloon Native Village"; + case _373: return "Native Village of Chignik"; + case _374: return "Native Village of Chignik Lagoon"; + case _375: return "Chignik Lake Village"; + case _376: return "Chilkat Indian Village (Klukwan)"; + case _377: return "Chilkoot Indian Association (Haines)"; + case _378: return "Chinik Eskimo Community (Golovin)"; + case _379: return "Native Village of Chistochina"; + case _380: return "Native Village of Chitina"; + case _381: return "Native Village of Chuathbaluk (Russian Mission, Ku"; + case _382: return "Chuloonawick Native Village"; + case _383: return "Circle Native Community"; + case _384: return "Village of Clark's Point"; + case _385: return "Native Village of Council"; + case _386: return "Craig Community Association"; + case _387: return "Village of Crooked Creek"; + case _388: return "Curyung Tribal Council (formerly Native Village of"; + case _389: return "Native Village of Deering"; + case _390: return "Native Village of Diomede (aka Inalik)"; + case _391: return "Village of Dot Lake"; + case _392: return "Douglas Indian Association"; + case _393: return "Native Village of Eagle"; + case _394: return "Native Village of Eek"; + case _395: return "Egegik Village"; + case _396: return "Eklutna Native Village"; + case _397: return "Native Village of Ekuk"; + case _398: return "Ekwok Village"; + case _399: return "Native Village of Elim"; + case _400: return "Emmonak Village"; + case _401: return "Evansville Village (aka Bettles Field)"; + case _402: return "Native Village of Eyak (Cordova)"; + case _403: return "Native Village of False Pass"; + case _404: return "Native Village of Fort Yukon"; + case _405: return "Native Village of Gakona"; + case _406: return "Galena Village (aka Louden Village)"; + case _407: return "Native Village of Gambell"; + case _408: return "Native Village of Georgetown"; + case _409: return "Native Village of Goodnews Bay"; + case _410: return "Organized Village of Grayling (aka Holikachuk)"; + case _411: return "Gulkana Village"; + case _412: return "Native Village of Hamilton"; + case _413: return "Healy Lake Village"; + case _414: return "Holy Cross Village"; + case _415: return "Hoonah Indian Association"; + case _416: return "Native Village of Hooper Bay"; + case _417: return "Hughes Village"; + case _418: return "Huslia Village"; + case _419: return "Hydaburg Cooperative Association"; + case _420: return "Igiugig Village"; + case _421: return "Village of Iliamna"; + case _422: return "Inupiat Community of the Arctic Slope"; + case _423: return "Iqurmuit Traditional Council (formerly Native Vill"; + case _424: return "Ivanoff Bay Village"; + case _425: return "Kaguyak Village"; + case _426: return "Organized Village of Kake"; + case _427: return "Kaktovik Village (aka Barter Island)"; + case _428: return "Village of Kalskag"; + case _429: return "Village of Kaltag"; + case _430: return "Native Village of Kanatak"; + case _431: return "Native Village of Karluk"; + case _432: return "Organized Village of Kasaan"; + case _433: return "Native Village of Kasigluk"; + case _434: return "Kenaitze Indian Tribe"; + case _435: return "Ketchikan Indian Corporation"; + case _436: return "Native Village of Kiana"; + case _437: return "King Island Native Community"; + case _438: return "King Salmon Tribe"; + case _439: return "Native Village of Kipnuk"; + case _440: return "Native Village of Kivalina"; + case _441: return "Klawock Cooperative Association"; + case _442: return "Native Village of Kluti Kaah (aka Copper Center)"; + case _443: return "Knik Tribe"; + case _444: return "Native Village of Kobuk"; + case _445: return "Kokhanok Village"; + case _446: return "Native Village of Kongiganak"; + case _447: return "Village of Kotlik"; + case _448: return "Native Village of Kotzebue"; + case _449: return "Native Village of Koyuk"; + case _450: return "Koyukuk Native Village"; + case _451: return "Organized Village of Kwethluk"; + case _452: return "Native Village of Kwigillingok"; + case _453: return "Native Village of Kwinhagak (aka Quinhagak)"; + case _454: return "Native Village of Larsen Bay"; + case _455: return "Levelock Village"; + case _456: return "Lesnoi Village (aka Woody Island)"; + case _457: return "Lime Village"; + case _458: return "Village of Lower Kalskag"; + case _459: return "Manley Hot Springs Village"; + case _460: return "Manokotak Village"; + case _461: return "Native Village of Marshall (aka Fortuna Ledge)"; + case _462: return "Native Village of Mary's Igloo"; + case _463: return "McGrath Native Village"; + case _464: return "Native Village of Mekoryuk"; + case _465: return "Mentasta Traditional Council"; + case _466: return "Metlakatla Indian Community, Annette Island Reserv"; + case _467: return "Native Village of Minto"; + case _468: return "Naknek Native Village"; + case _469: return "Native Village of Nanwalek (aka English Bay)"; + case _470: return "Native Village of Napaimute"; + case _471: return "Native Village of Napakiak"; + case _472: return "Native Village of Napaskiak"; + case _473: return "Native Village of Nelson Lagoon"; + case _474: return "Nenana Native Association"; + case _475: return "New Koliganek Village Council (formerly Koliganek"; + case _476: return "New Stuyahok Village"; + case _477: return "Newhalen Village"; + case _478: return "Newtok Village"; + case _479: return "Native Village of Nightmute"; + case _480: return "Nikolai Village"; + case _481: return "Native Village of Nikolski"; + case _482: return "Ninilchik Village"; + case _483: return "Native Village of Noatak"; + case _484: return "Nome Eskimo Community"; + case _485: return "Nondalton Village"; + case _486: return "Noorvik Native Community"; + case _487: return "Northway Village"; + case _488: return "Native Village of Nuiqsut (aka Nooiksut)"; + case _489: return "Nulato Village"; + case _490: return "Nunakauyarmiut Tribe (formerly Native Village of T"; + case _491: return "Native Village of Nunapitchuk"; + case _492: return "Village of Ohogamiut"; + case _493: return "Village of Old Harbor"; + case _494: return "Orutsararmuit Native Village (aka Bethel)"; + case _495: return "Oscarville Traditional Village"; + case _496: return "Native Village of Ouzinkie"; + case _497: return "Native Village of Paimiut"; + case _498: return "Pauloff Harbor Village"; + case _499: return "Pedro Bay Village"; + case _500: return "Native Village of Perryville"; + case _501: return "Petersburg Indian Association"; + case _502: return "Native Village of Pilot Point"; + case _503: return "Pilot Station Traditional Village"; + case _504: return "Native Village of Pitka's Point"; + case _505: return "Platinum Traditional Village"; + case _506: return "Native Village of Point Hope"; + case _507: return "Native Village of Point Lay"; + case _508: return "Native Village of Port Graham"; + case _509: return "Native Village of Port Heiden"; + case _510: return "Native Village of Port Lions"; + case _511: return "Portage Creek Village (aka Ohgsenakale)"; + case _512: return "Pribilof Islands Aleut Communities of St. Paul & S"; + case _513: return "Qagan Tayagungin Tribe of Sand Point Village"; + case _514: return "Qawalangin Tribe of Unalaska"; + case _515: return "Rampart Village"; + case _516: return "Village of Red Devil"; + case _517: return "Native Village of Ruby"; + case _518: return "Saint George Island(See Pribilof Islands Aleut Com"; + case _519: return "Native Village of Saint Michael"; + case _520: return "Saint Paul Island (See Pribilof Islands Aleut Comm"; + case _521: return "Village of Salamatoff"; + case _522: return "Native Village of Savoonga"; + case _523: return "Organized Village of Saxman"; + case _524: return "Native Village of Scammon Bay"; + case _525: return "Native Village of Selawik"; + case _526: return "Seldovia Village Tribe"; + case _527: return "Shageluk Native Village"; + case _528: return "Native Village of Shaktoolik"; + case _529: return "Native Village of Sheldon's Point"; + case _530: return "Native Village of Shishmaref"; + case _531: return "Shoonaq Tribe of Kodiak"; + case _532: return "Native Village of Shungnak"; + case _533: return "Sitka Tribe of Alaska"; + case _534: return "Skagway Village"; + case _535: return "Village of Sleetmute"; + case _536: return "Village of Solomon"; + case _537: return "South Naknek Village"; + case _538: return "Stebbins Community Association"; + case _539: return "Native Village of Stevens"; + case _540: return "Village of Stony River"; + case _541: return "Takotna Village"; + case _542: return "Native Village of Tanacross"; + case _543: return "Native Village of Tanana"; + case _544: return "Native Village of Tatitlek"; + case _545: return "Native Village of Tazlina"; + case _546: return "Telida Village"; + case _547: return "Native Village of Teller"; + case _548: return "Native Village of Tetlin"; + case _549: return "Central Council of the Tlingit and Haida Indian Tb"; + case _550: return "Traditional Village of Togiak"; + case _551: return "Tuluksak Native Community"; + case _552: return "Native Village of Tuntutuliak"; + case _553: return "Native Village of Tununak"; + case _554: return "Twin Hills Village"; + case _555: return "Native Village of Tyonek"; + case _556: return "Ugashik Village"; + case _557: return "Umkumiute Native Village"; + case _558: return "Native Village of Unalakleet"; + case _559: return "Native Village of Unga"; + case _560: return "Village of Venetie (See Native Village of Venetie"; + case _561: return "Native Village of Venetie Tribal Government (Arcti"; + case _562: return "Village of Wainwright"; + case _563: return "Native Village of Wales"; + case _564: return "Native Village of White Mountain"; + case _565: return "Wrangell Cooperative Association"; + case _566: return "Yakutat Tlingit Tribe"; + case _NATIVEENTITYCONTIGUOUS: return "NATIVE ENTITIES WITHIN THE CONTIGUOUS 48 STATES"; + case _1: return "Absentee-Shawnee Tribe of Indians of Oklahoma"; + case _10: return "Assiniboine and Sioux Tribes of the Fort Peck Indi"; + case _100: return "Havasupai Tribe of the Havasupai Reservation, Ariz"; + case _101: return "Ho-Chunk Nation of Wisconsin (formerly known as th"; + case _102: return "Hoh Indian Tribe of the Hoh Indian Reservation, Wa"; + case _103: return "Hoopa Valley Tribe, California"; + case _104: return "Hopi Tribe of Arizona"; + case _105: return "Hopland Band of Pomo Indians of the Hopland Ranche"; + case _106: return "Houlton Band of Maliseet Indians of Maine"; + case _107: return "Hualapai Indian Tribe of the Hualapai Indian Reser"; + case _108: return "Huron Potawatomi, Inc., Michigan"; + case _109: return "Inaja Band of Diegueno Mission Indians of the Inaj"; + case _11: return "Augustine Band of Cahuilla Mission Indians of the"; + case _110: return "Ione Band of Miwok Indians of California"; + case _111: return "Iowa Tribe of Kansas and Nebraska"; + case _112: return "Iowa Tribe of Oklahoma"; + case _113: return "Jackson Rancheria of Me-Wuk Indians of California"; + case _114: return "Jamestown S'Klallam Tribe of Washington"; + case _115: return "Jamul Indian Village of California"; + case _116: return "Jena Band of Choctaw Indians, Louisiana"; + case _117: return "Jicarilla Apache Tribe of the Jicarilla Apache Ind"; + case _118: return "Kaibab Band of Paiute Indians of the Kaibab Indian"; + case _119: return "Kalispel Indian Community of the Kalispel Reservat"; + case _12: return "Bad River Band of the Lake Superior Tribe of Chipp"; + case _120: return "Karuk Tribe of California"; + case _121: return "Kashia Band of Pomo Indians of the Stewarts Point"; + case _122: return "Kaw Nation, Oklahoma"; + case _123: return "Keweenaw Bay Indian Community of L'Anse and Ontona"; + case _124: return "Kialegee Tribal Town, Oklahoma"; + case _125: return "Kickapoo Tribe of Indians of the Kickapoo Reservat"; + case _126: return "Kickapoo Tribe of Oklahoma"; + case _127: return "Kickapoo Traditional Tribe of Texas"; + case _128: return "Kiowa Indian Tribe of Oklahoma"; + case _129: return "Klamath Indian Tribe of Oregon"; + case _13: return "Bay Mills Indian Community of the Sault Ste. Marie"; + case _130: return "Kootenai Tribe of Idaho"; + case _131: return "La Jolla Band of Luiseno Mission Indians of the La"; + case _132: return "La Posta Band of Diegueno Mission Indians of the L"; + case _133: return "Lac Courte Oreilles Band of Lake Superior Chippewa"; + case _134: return "Lac du Flambeau Band of Lake Superior Chippewa Ind"; + case _135: return "Lac Vieux Desert Band of Lake Superior Chippewa In"; + case _136: return "Las Vegas Tribe of Paiute Indians of the Las Vegas"; + case _137: return "Little River Band of Ottawa Indians of Michigan"; + case _138: return "Little Traverse Bay Bands of Odawa Indians of Mich"; + case _139: return "Lower Lake Rancheria, California"; + case _14: return "Bear River Band of the Rohnerville Rancheria, Cali"; + case _140: return "Los Coyotes Band of Cahuilla Mission Indians of th"; + case _141: return "Lovelock Paiute Tribe of the Lovelock Indian Colon"; + case _142: return "Lower Brule Sioux Tribe of the Lower Brule Reserva"; + case _143: return "Lower Elwha Tribal Community of the Lower Elwha Re"; + case _144: return "Lower Sioux Indian Community of Minnesota Mdewakan"; + case _145: return "Lummi Tribe of the Lummi Reservation, Washington"; + case _146: return "Lytton Rancheria of California"; + case _147: return "Makah Indian Tribe of the Makah Indian Reservation"; + case _148: return "Manchester Band of Pomo Indians of the Manchester-"; + case _149: return "Manzanita Band of Diegueno Mission Indians of the"; + case _15: return "Berry Creek Rancheria of Maidu Indians of Californ"; + case _150: return "Mashantucket Pequot Tribe of Connecticut"; + case _151: return "Match-e-be-nash-she-wish Band of Pottawatomi India"; + case _152: return "Mechoopda Indian Tribe of Chico Rancheria, Califor"; + case _153: return "Menominee Indian Tribe of Wisconsin"; + case _154: return "Mesa Grande Band of Diegueno Mission Indians of th"; + case _155: return "Mescalero Apache Tribe of the Mescalero Reservatio"; + case _156: return "Miami Tribe of Oklahoma"; + case _157: return "Miccosukee Tribe of Indians of Florida"; + case _158: return "Middletown Rancheria of Pomo Indians of California"; + case _159: return "Minnesota Chippewa Tribe, Minnesota (Six component"; + case _16: return "Big Lagoon Rancheria, California"; + case _160: return "Bois Forte Band (Nett Lake); Fond du Lac Band; Gra"; + case _161: return "Mississippi Band of Choctaw Indians, Mississippi"; + case _162: return "Moapa Band of Paiute Indians of the Moapa River In"; + case _163: return "Modoc Tribe of Oklahoma"; + case _164: return "Mohegan Indian Tribe of Connecticut"; + case _165: return "Mooretown Rancheria of Maidu Indians of California"; + case _166: return "Morongo Band of Cahuilla Mission Indians of the Mo"; + case _167: return "Muckleshoot Indian Tribe of the Muckleshoot Reserv"; + case _168: return "Muscogee (Creek) Nation, Oklahoma"; + case _169: return "Narragansett Indian Tribe of Rhode Island"; + case _17: return "Big Pine Band of Owens Valley Paiute Shoshone Indi"; + case _170: return "Navajo Nation, Arizona, New Mexico & Utah"; + case _171: return "Nez Perce Tribe of Idaho"; + case _172: return "Nisqually Indian Tribe of the Nisqually Reservatio"; + case _173: return "Nooksack Indian Tribe of Washington"; + case _174: return "Northern Cheyenne Tribe of the Northern Cheyenne I"; + case _175: return "Northfork Rancheria of Mono Indians of California"; + case _176: return "Northwestern Band of Shoshoni Nation of Utah (Wash"; + case _177: return "Oglala Sioux Tribe of the Pine Ridge Reservation,"; + case _178: return "Omaha Tribe of Nebraska"; + case _179: return "Oneida Nation of New York"; + case _18: return "Big Sandy Rancheria of Mono Indians of California"; + case _180: return "Oneida Tribe of Wisconsin"; + case _181: return "Onondaga Nation of New York"; + case _182: return "Osage Tribe, Oklahoma"; + case _183: return "Ottawa Tribe of Oklahoma"; + case _184: return "Otoe-Missouria Tribe of Indians, Oklahoma"; + case _185: return "Paiute Indian Tribe of Utah"; + case _186: return "Paiute-Shoshone Indians of the Bishop Community of"; + case _187: return "Paiute-Shoshone Tribe of the Fallon Reservation an"; + case _188: return "Paiute-Shoshone Indians of the Lone Pine Community"; + case _189: return "Pala Band of Luiseno Mission Indians of the Pala R"; + case _19: return "Big Valley Band of Pomo Indians of the Big Valley"; + case _190: return "Pascua Yaqui Tribe of Arizona"; + case _191: return "Paskenta Band of Nomlaki Indians of California"; + case _192: return "Passamaquoddy Tribe of Maine"; + case _193: return "Pauma Band of Luiseno Mission Indians of the Pauma"; + case _194: return "Pawnee Nation of Oklahoma"; + case _195: return "Pechanga Band of Luiseno Mission Indians of the Pe"; + case _196: return "Penobscot Tribe of Maine"; + case _197: return "Peoria Tribe of Indians of Oklahoma"; + case _198: return "Picayune Rancheria of Chukchansi Indians of Califo"; + case _199: return "Pinoleville Rancheria of Pomo Indians of Californi"; + case _2: return "Agua Caliente Band of Cahuilla Indians of the Agua"; + case _20: return "Blackfeet Tribe of the Blackfeet Indian Reservatio"; + case _200: return "Pit River Tribe, California (includes Big Bend, Lo"; + case _201: return "Poarch Band of Creek Indians of Alabama"; + case _202: return "Pokagon Band of Potawatomi Indians of Michigan"; + case _203: return "Ponca Tribe of Indians of Oklahoma"; + case _204: return "Ponca Tribe of Nebraska"; + case _205: return "Port Gamble Indian Community of the Port Gamble Re"; + case _206: return "Potter Valley Rancheria of Pomo Indians of Califor"; + case _207: return "Prairie Band of Potawatomi Indians, Kansas"; + case _208: return "Prairie Island Indian Community of Minnesota Mdewa"; + case _209: return "Pueblo of Acoma, New Mexico"; + case _21: return "Blue Lake Rancheria, California"; + case _210: return "Pueblo of Cochiti, New Mexico"; + case _211: return "Pueblo of Jemez, New Mexico"; + case _212: return "Pueblo of Isleta, New Mexico"; + case _213: return "Pueblo of Laguna, New Mexico"; + case _214: return "Pueblo of Nambe, New Mexico"; + case _215: return "Pueblo of Picuris, New Mexico"; + case _216: return "Pueblo of Pojoaque, New Mexico"; + case _217: return "Pueblo of San Felipe, New Mexico"; + case _218: return "Pueblo of San Juan, New Mexico"; + case _219: return "Pueblo of San Ildefonso, New Mexico"; + case _22: return "Bridgeport Paiute Indian Colony of California"; + case _220: return "Pueblo of Sandia, New Mexico"; + case _221: return "Pueblo of Santa Ana, New Mexico"; + case _222: return "Pueblo of Santa Clara, New Mexico"; + case _223: return "Pueblo of Santo Domingo, New Mexico"; + case _224: return "Pueblo of Taos, New Mexico"; + case _225: return "Pueblo of Tesuque, New Mexico"; + case _226: return "Pueblo of Zia, New Mexico"; + case _227: return "Puyallup Tribe of the Puyallup Reservation, Washin"; + case _228: return "Pyramid Lake Paiute Tribe of the Pyramid Lake Rese"; + case _229: return "Quapaw Tribe of Indians, Oklahoma"; + case _23: return "Buena Vista Rancheria of Me-Wuk Indians of Califor"; + case _230: return "Quartz Valley Indian Community of the Quartz Valle"; + case _231: return "Quechan Tribe of the Fort Yuma Indian Reservation,"; + case _232: return "Quileute Tribe of the Quileute Reservation, Washin"; + case _233: return "Quinault Tribe of the Quinault Reservation, Washin"; + case _234: return "Ramona Band or Village of Cahuilla Mission Indians"; + case _235: return "Red Cliff Band of Lake Superior Chippewa Indians o"; + case _236: return "Red Lake Band of Chippewa Indians of the Red Lake"; + case _237: return "Redding Rancheria, California"; + case _238: return "Redwood Valley Rancheria of Pomo Indians of Califo"; + case _239: return "Reno-Sparks Indian Colony, Nevada"; + case _24: return "Burns Paiute Tribe of the Burns Paiute Indian Colo"; + case _240: return "Resighini Rancheria, California (formerly known as"; + case _241: return "Rincon Band of Luiseno Mission Indians of the Rinc"; + case _242: return "Robinson Rancheria of Pomo Indians of California"; + case _243: return "Rosebud Sioux Tribe of the Rosebud Indian Reservat"; + case _244: return "Round Valley Indian Tribes of the Round Valley Res"; + case _245: return "Rumsey Indian Rancheria of Wintun Indians of Calif"; + case _246: return "Sac and Fox Tribe of the Mississippi in Iowa"; + case _247: return "Sac and Fox Nation of Missouri in Kansas and Nebra"; + case _248: return "Sac and Fox Nation, Oklahoma"; + case _249: return "Saginaw Chippewa Indian Tribe of Michigan, Isabell"; + case _25: return "Cabazon Band of Cahuilla Mission Indians of the Ca"; + case _250: return "Salt River Pima-Maricopa Indian Community of the S"; + case _251: return "Samish Indian Tribe, Washington"; + case _252: return "San Carlos Apache Tribe of the San Carlos Reservat"; + case _253: return "San Juan Southern Paiute Tribe of Arizona"; + case _254: return "San Manual Band of Serrano Mission Indians of the"; + case _255: return "San Pasqual Band of Diegueno Mission Indians of Ca"; + case _256: return "Santa Rosa Indian Community of the Santa Rosa Ranc"; + case _257: return "Santa Rosa Band of Cahuilla Mission Indians of the"; + case _258: return "Santa Ynez Band of Chumash Mission Indians of the"; + case _259: return "Santa Ysabel Band of Diegueno Mission Indians of t"; + case _26: return "Cachil DeHe Band of Wintun Indians of the Colusa I"; + case _260: return "Santee Sioux Tribe of the Santee Reservation of Ne"; + case _261: return "Sauk-Suiattle Indian Tribe of Washington"; + case _262: return "Sault Ste. Marie Tribe of Chippewa Indians of Mich"; + case _263: return "Scotts Valley Band of Pomo Indians of California"; + case _264: return "Seminole Nation of Oklahoma"; + case _265: return "Seminole Tribe of Florida, Dania, Big Cypress, Bri"; + case _266: return "Seneca Nation of New York"; + case _267: return "Seneca-Cayuga Tribe of Oklahoma"; + case _268: return "Shakopee Mdewakanton Sioux Community of Minnesota"; + case _269: return "Shawnee Tribe, Oklahoma"; + case _27: return "Caddo Indian Tribe of Oklahoma"; + case _270: return "Sherwood Valley Rancheria of Pomo Indians of Calif"; + case _271: return "Shingle Springs Band of Miwok Indians, Shingle Spr"; + case _272: return "Shoalwater Bay Tribe of the Shoalwater Bay Indian"; + case _273: return "Shoshone Tribe of the Wind River Reservation, Wyom"; + case _274: return "Shoshone-Bannock Tribes of the Fort Hall Reservati"; + case _275: return "Shoshone-Paiute Tribes of the Duck Valley Reservat"; + case _276: return "Sisseton-Wahpeton Sioux Tribe of the Lake Traverse"; + case _277: return "Skokomish Indian Tribe of the Skokomish Reservatio"; + case _278: return "Skull Valley Band of Goshute Indians of Utah"; + case _279: return "Smith River Rancheria, California"; + case _28: return "Cahuilla Band of Mission Indians of the Cahuilla R"; + case _280: return "Snoqualmie Tribe, Washington"; + case _281: return "Soboba Band of Luiseno Indians, California (former"; + case _282: return "Sokaogon Chippewa Community of the Mole Lake Band"; + case _283: return "Southern Ute Indian Tribe of the Southern Ute Rese"; + case _284: return "Spirit Lake Tribe, North Dakota (formerly known as"; + case _285: return "Spokane Tribe of the Spokane Reservation, Washingt"; + case _286: return "Squaxin Island Tribe of the Squaxin Island Reserva"; + case _287: return "St. Croix Chippewa Indians of Wisconsin, St. Croix"; + case _288: return "St. Regis Band of Mohawk Indians of New York"; + case _289: return "Standing Rock Sioux Tribe of North & South Dakota"; + case _29: return "Cahto Indian Tribe of the Laytonville Rancheria, C"; + case _290: return "Stockbridge-Munsee Community of Mohican Indians of"; + case _291: return "Stillaguamish Tribe of Washington"; + case _292: return "Summit Lake Paiute Tribe of Nevada"; + case _293: return "Suquamish Indian Tribe of the Port Madison Reserva"; + case _294: return "Susanville Indian Rancheria, California"; + case _295: return "Swinomish Indians of the Swinomish Reservation, Wa"; + case _296: return "Sycuan Band of Diegueno Mission Indians of Califor"; + case _297: return "Table Bluff Reservation - Wiyot Tribe, California"; + case _298: return "Table Mountain Rancheria of California"; + case _299: return "Te-Moak Tribe of Western Shoshone Indians of Nevad"; + case _3: return "Ak Chin Indian Community of the Maricopa (Ak Chin)"; + case _30: return "California Valley Miwok Tribe, California (formerl"; + case _300: return "Thlopthlocco Tribal Town, Oklahoma"; + case _301: return "Three Affiliated Tribes of the Fort Berthold Reser"; + case _302: return "Tohono O'odham Nation of Arizona"; + case _303: return "Tonawanda Band of Seneca Indians of New York"; + case _304: return "Tonkawa Tribe of Indians of Oklahoma"; + case _305: return "Tonto Apache Tribe of Arizona"; + case _306: return "Torres-Martinez Band of Cahuilla Mission Indians o"; + case _307: return "Tule River Indian Tribe of the Tule River Reservat"; + case _308: return "Tulalip Tribes of the Tulalip Reservation, Washing"; + case _309: return "Tunica-Biloxi Indian Tribe of Louisiana"; + case _31: return "Campo Band of Diegueno Mission Indians of the Camp"; + case _310: return "Tuolumne Band of Me-Wuk Indians of the Tuolumne Ra"; + case _311: return "Turtle Mountain Band of Chippewa Indians of North"; + case _312: return "Tuscarora Nation of New York"; + case _313: return "Twenty-Nine Palms Band of Mission Indians of Calif"; + case _314: return "United Auburn Indian Community of the Auburn Ranch"; + case _315: return "United Keetoowah Band of Cherokee Indians of Oklah"; + case _316: return "Upper Lake Band of Pomo Indians of Upper Lake Ranc"; + case _317: return "Upper Sioux Indian Community of the Upper Sioux Re"; + case _318: return "Upper Skagit Indian Tribe of Washington"; + case _319: return "Ute Indian Tribe of the Uintah & Ouray Reservation"; + case _32: return "Capitan Grande Band of Diegueno Mission Indians of"; + case _320: return "Ute Mountain Tribe of the Ute Mountain Reservation"; + case _321: return "Utu Utu Gwaitu Paiute Tribe of the Benton Paiute R"; + case _322: return "Walker River Paiute Tribe of the Walker River Rese"; + case _323: return "Wampanoag Tribe of Gay Head (Aquinnah) of Massachu"; + case _324: return "Washoe Tribe of Nevada & California (Carson Colony"; + case _325: return "White Mountain Apache Tribe of the Fort Apache Res"; + case _326: return "Wichita and Affiliated Tribes (Wichita, Keechi, Wa"; + case _327: return "Winnebago Tribe of Nebraska"; + case _328: return "Winnemucca Indian Colony of Nevada"; + case _329: return "Wyandotte Tribe of Oklahoma"; + case _33: return "Barona Group of Capitan Grande Band of Mission Ind"; + case _330: return "Yankton Sioux Tribe of South Dakota"; + case _331: return "Yavapai-Apache Nation of the Camp Verde Indian Res"; + case _332: return "Yavapai-Prescott Tribe of the Yavapai Reservation,"; + case _333: return "Yerington Paiute Tribe of the Yerington Colony & C"; + case _334: return "Yomba Shoshone Tribe of the Yomba Reservation, Nev"; + case _335: return "Ysleta Del Sur Pueblo of Texas"; + case _336: return "Yurok Tribe of the Yurok Reservation, California"; + case _337: return "Zuni Tribe of the Zuni Reservation, New Mexico"; + case _34: return "Viejas (Baron Long) Group of Capitan Grande Band o"; + case _35: return "Catawba Indian Nation (aka Catawba Tribe of South"; + case _36: return "Cayuga Nation of New York"; + case _37: return "Cedarville Rancheria, California"; + case _38: return "Chemehuevi Indian Tribe of the Chemehuevi Reservat"; + case _39: return "Cher-Ae Heights Indian Community of the Trinidad R"; + case _4: return "Alabama-Coushatta Tribes of Texas"; + case _40: return "Cherokee Nation, Oklahoma"; + case _41: return "Cheyenne-Arapaho Tribes of Oklahoma"; + case _42: return "Cheyenne River Sioux Tribe of the Cheyenne River R"; + case _43: return "Chickasaw Nation, Oklahoma"; + case _44: return "Chicken Ranch Rancheria of Me-Wuk Indians of Calif"; + case _45: return "Chippewa-Cree Indians of the Rocky Boy's Reservati"; + case _46: return "Chitimacha Tribe of Louisiana"; + case _47: return "Choctaw Nation of Oklahoma"; + case _48: return "Citizen Potawatomi Nation, Oklahoma"; + case _49: return "Cloverdale Rancheria of Pomo Indians of California"; + case _5: return "Alabama-Quassarte Tribal Town, Oklahoma"; + case _50: return "Cocopah Tribe of Arizona"; + case _51: return "Coeur D'Alene Tribe of the Coeur D'Alene Reservati"; + case _52: return "Cold Springs Rancheria of Mono Indians of Californ"; + case _53: return "Colorado River Indian Tribes of the Colorado River"; + case _54: return "Comanche Indian Tribe, Oklahoma"; + case _55: return "Confederated Salish & Kootenai Tribes of the Flath"; + case _56: return "Confederated Tribes of the Chehalis Reservation, W"; + case _57: return "Confederated Tribes of the Colville Reservation, W"; + case _58: return "Confederated Tribes of the Coos, Lower Umpqua and"; + case _59: return "Confederated Tribes of the Goshute Reservation, Ne"; + case _6: return "Alturas Indian Rancheria, California"; + case _60: return "Confederated Tribes of the Grand Ronde Community o"; + case _61: return "Confederated Tribes of the Siletz Reservation, Ore"; + case _62: return "Confederated Tribes of the Umatilla Reservation, O"; + case _63: return "Confederated Tribes of the Warm Springs Reservatio"; + case _64: return "Confederated Tribes and Bands of the Yakama Indian"; + case _65: return "Coquille Tribe of Oregon"; + case _66: return "Cortina Indian Rancheria of Wintun Indians of Cali"; + case _67: return "Coushatta Tribe of Louisiana"; + case _68: return "Cow Creek Band of Umpqua Indians of Oregon"; + case _69: return "Coyote Valley Band of Pomo Indians of California"; + case _7: return "Apache Tribe of Oklahoma"; + case _70: return "Crow Tribe of Montana"; + case _71: return "Crow Creek Sioux Tribe of the Crow Creek Reservati"; + case _72: return "Cuyapaipe Community of Diegueno Mission Indians of"; + case _73: return "Death Valley Timbi-Sha Shoshone Band of California"; + case _74: return "Delaware Nation, Oklahoma (formerly Delaware Tribe"; + case _75: return "Delaware Tribe of Indians, Oklahoma"; + case _76: return "Dry Creek Rancheria of Pomo Indians of California"; + case _77: return "Duckwater Shoshone Tribe of the Duckwater Reservat"; + case _78: return "Eastern Band of Cherokee Indians of North Carolina"; + case _79: return "Eastern Shawnee Tribe of Oklahoma"; + case _8: return "Arapahoe Tribe of the Wind River Reservation, Wyom"; + case _80: return "Elem Indian Colony of Pomo Indians of the Sulphur"; + case _81: return "Elk Valley Rancheria, California"; + case _82: return "Ely Shoshone Tribe of Nevada"; + case _83: return "Enterprise Rancheria of Maidu Indians of Californi"; + case _84: return "Flandreau Santee Sioux Tribe of South Dakota"; + case _85: return "Forest County Potawatomi Community of Wisconsin Po"; + case _86: return "Fort Belknap Indian Community of the Fort Belknap"; + case _87: return "Fort Bidwell Indian Community of the Fort Bidwell"; + case _88: return "Fort Independence Indian Community of Paiute India"; + case _89: return "Fort McDermitt Paiute and Shoshone Tribes of the F"; + case _9: return "Aroostook Band of Micmac Indians of Maine"; + case _90: return "Fort McDowell Yavapai Nation, Arizona (formerly th"; + case _91: return "Fort Mojave Indian Tribe of Arizona, California"; + case _92: return "Fort Sill Apache Tribe of Oklahoma"; + case _93: return "Gila River Indian Community of the Gila River Indi"; + case _94: return "Grand Traverse Band of Ottawa & Chippewa Indians o"; + case _95: return "Graton Rancheria, California"; + case _96: return "Greenville Rancheria of Maidu Indians of Californi"; + case _97: return "Grindstone Indian Rancheria of Wintun-Wailaki Indi"; + case _98: return "Guidiville Rancheria of California"; + case _99: return "Hannahville Indian Community of Wisconsin Potawato"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case _NATIVEENTITYALASKA: return "NativeEntityAlaska"; + case _338: return "Village of Afognak"; + case _339: return "Agdaagux Tribe of King Cove"; + case _340: return "Native Village of Akhiok"; + case _341: return "Akiachak Native Community"; + case _342: return "Akiak Native Community"; + case _343: return "Native Village of Akutan"; + case _344: return "Village of Alakanuk"; + case _345: return "Alatna Village"; + case _346: return "Native Village of Aleknagik"; + case _347: return "Algaaciq Native Village (St. Mary's)"; + case _348: return "Allakaket Village"; + case _349: return "Native Village of Ambler"; + case _350: return "Village of Anaktuvuk Pass"; + case _351: return "Yupiit of Andreafski"; + case _352: return "Angoon Community Association"; + case _353: return "Village of Aniak"; + case _354: return "Anvik Village"; + case _355: return "Arctic Village (See Native Village of Venetie Trib"; + case _356: return "Asa carsarmiut Tribe (formerly Native Village of M"; + case _357: return "Native Village of Atka"; + case _358: return "Village of Atmautluak"; + case _359: return "Atqasuk Village (Atkasook)"; + case _360: return "Native Village of Barrow Inupiat Traditional Gover"; + case _361: return "Beaver Village"; + case _362: return "Native Village of Belkofski"; + case _363: return "Village of Bill Moore's Slough"; + case _364: return "Birch Creek Tribe"; + case _365: return "Native Village of Brevig Mission"; + case _366: return "Native Village of Buckland"; + case _367: return "Native Village of Cantwell"; + case _368: return "Native Village of Chanega (aka Chenega)"; + case _369: return "Chalkyitsik Village"; + case _370: return "Village of Chefornak"; + case _371: return "Chevak Native Village"; + case _372: return "Chickaloon Native Village"; + case _373: return "Native Village of Chignik"; + case _374: return "Native Village of Chignik Lagoon"; + case _375: return "Chignik Lake Village"; + case _376: return "Chilkat Indian Village (Klukwan)"; + case _377: return "Chilkoot Indian Association (Haines)"; + case _378: return "Chinik Eskimo Community (Golovin)"; + case _379: return "Native Village of Chistochina"; + case _380: return "Native Village of Chitina"; + case _381: return "Native Village of Chuathbaluk (Russian Mission, Ku"; + case _382: return "Chuloonawick Native Village"; + case _383: return "Circle Native Community"; + case _384: return "Village of Clark's Point"; + case _385: return "Native Village of Council"; + case _386: return "Craig Community Association"; + case _387: return "Village of Crooked Creek"; + case _388: return "Curyung Tribal Council (formerly Native Village of"; + case _389: return "Native Village of Deering"; + case _390: return "Native Village of Diomede (aka Inalik)"; + case _391: return "Village of Dot Lake"; + case _392: return "Douglas Indian Association"; + case _393: return "Native Village of Eagle"; + case _394: return "Native Village of Eek"; + case _395: return "Egegik Village"; + case _396: return "Eklutna Native Village"; + case _397: return "Native Village of Ekuk"; + case _398: return "Ekwok Village"; + case _399: return "Native Village of Elim"; + case _400: return "Emmonak Village"; + case _401: return "Evansville Village (aka Bettles Field)"; + case _402: return "Native Village of Eyak (Cordova)"; + case _403: return "Native Village of False Pass"; + case _404: return "Native Village of Fort Yukon"; + case _405: return "Native Village of Gakona"; + case _406: return "Galena Village (aka Louden Village)"; + case _407: return "Native Village of Gambell"; + case _408: return "Native Village of Georgetown"; + case _409: return "Native Village of Goodnews Bay"; + case _410: return "Organized Village of Grayling (aka Holikachuk)"; + case _411: return "Gulkana Village"; + case _412: return "Native Village of Hamilton"; + case _413: return "Healy Lake Village"; + case _414: return "Holy Cross Village"; + case _415: return "Hoonah Indian Association"; + case _416: return "Native Village of Hooper Bay"; + case _417: return "Hughes Village"; + case _418: return "Huslia Village"; + case _419: return "Hydaburg Cooperative Association"; + case _420: return "Igiugig Village"; + case _421: return "Village of Iliamna"; + case _422: return "Inupiat Community of the Arctic Slope"; + case _423: return "Iqurmuit Traditional Council (formerly Native Vill"; + case _424: return "Ivanoff Bay Village"; + case _425: return "Kaguyak Village"; + case _426: return "Organized Village of Kake"; + case _427: return "Kaktovik Village (aka Barter Island)"; + case _428: return "Village of Kalskag"; + case _429: return "Village of Kaltag"; + case _430: return "Native Village of Kanatak"; + case _431: return "Native Village of Karluk"; + case _432: return "Organized Village of Kasaan"; + case _433: return "Native Village of Kasigluk"; + case _434: return "Kenaitze Indian Tribe"; + case _435: return "Ketchikan Indian Corporation"; + case _436: return "Native Village of Kiana"; + case _437: return "King Island Native Community"; + case _438: return "King Salmon Tribe"; + case _439: return "Native Village of Kipnuk"; + case _440: return "Native Village of Kivalina"; + case _441: return "Klawock Cooperative Association"; + case _442: return "Native Village of Kluti Kaah (aka Copper Center)"; + case _443: return "Knik Tribe"; + case _444: return "Native Village of Kobuk"; + case _445: return "Kokhanok Village"; + case _446: return "Native Village of Kongiganak"; + case _447: return "Village of Kotlik"; + case _448: return "Native Village of Kotzebue"; + case _449: return "Native Village of Koyuk"; + case _450: return "Koyukuk Native Village"; + case _451: return "Organized Village of Kwethluk"; + case _452: return "Native Village of Kwigillingok"; + case _453: return "Native Village of Kwinhagak (aka Quinhagak)"; + case _454: return "Native Village of Larsen Bay"; + case _455: return "Levelock Village"; + case _456: return "Lesnoi Village (aka Woody Island)"; + case _457: return "Lime Village"; + case _458: return "Village of Lower Kalskag"; + case _459: return "Manley Hot Springs Village"; + case _460: return "Manokotak Village"; + case _461: return "Native Village of Marshall (aka Fortuna Ledge)"; + case _462: return "Native Village of Mary's Igloo"; + case _463: return "McGrath Native Village"; + case _464: return "Native Village of Mekoryuk"; + case _465: return "Mentasta Traditional Council"; + case _466: return "Metlakatla Indian Community, Annette Island Reserv"; + case _467: return "Native Village of Minto"; + case _468: return "Naknek Native Village"; + case _469: return "Native Village of Nanwalek (aka English Bay)"; + case _470: return "Native Village of Napaimute"; + case _471: return "Native Village of Napakiak"; + case _472: return "Native Village of Napaskiak"; + case _473: return "Native Village of Nelson Lagoon"; + case _474: return "Nenana Native Association"; + case _475: return "New Koliganek Village Council (formerly Koliganek"; + case _476: return "New Stuyahok Village"; + case _477: return "Newhalen Village"; + case _478: return "Newtok Village"; + case _479: return "Native Village of Nightmute"; + case _480: return "Nikolai Village"; + case _481: return "Native Village of Nikolski"; + case _482: return "Ninilchik Village"; + case _483: return "Native Village of Noatak"; + case _484: return "Nome Eskimo Community"; + case _485: return "Nondalton Village"; + case _486: return "Noorvik Native Community"; + case _487: return "Northway Village"; + case _488: return "Native Village of Nuiqsut (aka Nooiksut)"; + case _489: return "Nulato Village"; + case _490: return "Nunakauyarmiut Tribe (formerly Native Village of T"; + case _491: return "Native Village of Nunapitchuk"; + case _492: return "Village of Ohogamiut"; + case _493: return "Village of Old Harbor"; + case _494: return "Orutsararmuit Native Village (aka Bethel)"; + case _495: return "Oscarville Traditional Village"; + case _496: return "Native Village of Ouzinkie"; + case _497: return "Native Village of Paimiut"; + case _498: return "Pauloff Harbor Village"; + case _499: return "Pedro Bay Village"; + case _500: return "Native Village of Perryville"; + case _501: return "Petersburg Indian Association"; + case _502: return "Native Village of Pilot Point"; + case _503: return "Pilot Station Traditional Village"; + case _504: return "Native Village of Pitka's Point"; + case _505: return "Platinum Traditional Village"; + case _506: return "Native Village of Point Hope"; + case _507: return "Native Village of Point Lay"; + case _508: return "Native Village of Port Graham"; + case _509: return "Native Village of Port Heiden"; + case _510: return "Native Village of Port Lions"; + case _511: return "Portage Creek Village (aka Ohgsenakale)"; + case _512: return "Pribilof Islands Aleut Communities of St. Paul & S"; + case _513: return "Qagan Tayagungin Tribe of Sand Point Village"; + case _514: return "Qawalangin Tribe of Unalaska"; + case _515: return "Rampart Village"; + case _516: return "Village of Red Devil"; + case _517: return "Native Village of Ruby"; + case _518: return "Saint George Island(See Pribilof Islands Aleut Com"; + case _519: return "Native Village of Saint Michael"; + case _520: return "Saint Paul Island (See Pribilof Islands Aleut Comm"; + case _521: return "Village of Salamatoff"; + case _522: return "Native Village of Savoonga"; + case _523: return "Organized Village of Saxman"; + case _524: return "Native Village of Scammon Bay"; + case _525: return "Native Village of Selawik"; + case _526: return "Seldovia Village Tribe"; + case _527: return "Shageluk Native Village"; + case _528: return "Native Village of Shaktoolik"; + case _529: return "Native Village of Sheldon's Point"; + case _530: return "Native Village of Shishmaref"; + case _531: return "Shoonaq Tribe of Kodiak"; + case _532: return "Native Village of Shungnak"; + case _533: return "Sitka Tribe of Alaska"; + case _534: return "Skagway Village"; + case _535: return "Village of Sleetmute"; + case _536: return "Village of Solomon"; + case _537: return "South Naknek Village"; + case _538: return "Stebbins Community Association"; + case _539: return "Native Village of Stevens"; + case _540: return "Village of Stony River"; + case _541: return "Takotna Village"; + case _542: return "Native Village of Tanacross"; + case _543: return "Native Village of Tanana"; + case _544: return "Native Village of Tatitlek"; + case _545: return "Native Village of Tazlina"; + case _546: return "Telida Village"; + case _547: return "Native Village of Teller"; + case _548: return "Native Village of Tetlin"; + case _549: return "Central Council of the Tlingit and Haida Indian Tb"; + case _550: return "Traditional Village of Togiak"; + case _551: return "Tuluksak Native Community"; + case _552: return "Native Village of Tuntutuliak"; + case _553: return "Native Village of Tununak"; + case _554: return "Twin Hills Village"; + case _555: return "Native Village of Tyonek"; + case _556: return "Ugashik Village"; + case _557: return "Umkumiute Native Village"; + case _558: return "Native Village of Unalakleet"; + case _559: return "Native Village of Unga"; + case _560: return "Village of Venetie (See Native Village of Venetie"; + case _561: return "Native Village of Venetie Tribal Government (Arcti"; + case _562: return "Village of Wainwright"; + case _563: return "Native Village of Wales"; + case _564: return "Native Village of White Mountain"; + case _565: return "Wrangell Cooperative Association"; + case _566: return "Yakutat Tlingit Tribe"; + case _NATIVEENTITYCONTIGUOUS: return "NativeEntityContiguous"; + case _1: return "Absentee-Shawnee Tribe of Indians of Oklahoma"; + case _10: return "Assiniboine and Sioux Tribes of the Fort Peck Indi"; + case _100: return "Havasupai Tribe of the Havasupai Reservation, Ariz"; + case _101: return "Ho-Chunk Nation of Wisconsin (formerly known as th"; + case _102: return "Hoh Indian Tribe of the Hoh Indian Reservation, Wa"; + case _103: return "Hoopa Valley Tribe, California"; + case _104: return "Hopi Tribe of Arizona"; + case _105: return "Hopland Band of Pomo Indians of the Hopland Ranche"; + case _106: return "Houlton Band of Maliseet Indians of Maine"; + case _107: return "Hualapai Indian Tribe of the Hualapai Indian Reser"; + case _108: return "Huron Potawatomi, Inc., Michigan"; + case _109: return "Inaja Band of Diegueno Mission Indians of the Inaj"; + case _11: return "Augustine Band of Cahuilla Mission Indians of the"; + case _110: return "Ione Band of Miwok Indians of California"; + case _111: return "Iowa Tribe of Kansas and Nebraska"; + case _112: return "Iowa Tribe of Oklahoma"; + case _113: return "Jackson Rancheria of Me-Wuk Indians of California"; + case _114: return "Jamestown S'Klallam Tribe of Washington"; + case _115: return "Jamul Indian Village of California"; + case _116: return "Jena Band of Choctaw Indians, Louisiana"; + case _117: return "Jicarilla Apache Tribe of the Jicarilla Apache Ind"; + case _118: return "Kaibab Band of Paiute Indians of the Kaibab Indian"; + case _119: return "Kalispel Indian Community of the Kalispel Reservat"; + case _12: return "Bad River Band of the Lake Superior Tribe of Chipp"; + case _120: return "Karuk Tribe of California"; + case _121: return "Kashia Band of Pomo Indians of the Stewarts Point"; + case _122: return "Kaw Nation, Oklahoma"; + case _123: return "Keweenaw Bay Indian Community of L'Anse and Ontona"; + case _124: return "Kialegee Tribal Town, Oklahoma"; + case _125: return "Kickapoo Tribe of Indians of the Kickapoo Reservat"; + case _126: return "Kickapoo Tribe of Oklahoma"; + case _127: return "Kickapoo Traditional Tribe of Texas"; + case _128: return "Kiowa Indian Tribe of Oklahoma"; + case _129: return "Klamath Indian Tribe of Oregon"; + case _13: return "Bay Mills Indian Community of the Sault Ste. Marie"; + case _130: return "Kootenai Tribe of Idaho"; + case _131: return "La Jolla Band of Luiseno Mission Indians of the La"; + case _132: return "La Posta Band of Diegueno Mission Indians of the L"; + case _133: return "Lac Courte Oreilles Band of Lake Superior Chippewa"; + case _134: return "Lac du Flambeau Band of Lake Superior Chippewa Ind"; + case _135: return "Lac Vieux Desert Band of Lake Superior Chippewa In"; + case _136: return "Las Vegas Tribe of Paiute Indians of the Las Vegas"; + case _137: return "Little River Band of Ottawa Indians of Michigan"; + case _138: return "Little Traverse Bay Bands of Odawa Indians of Mich"; + case _139: return "Lower Lake Rancheria, California"; + case _14: return "Bear River Band of the Rohnerville Rancheria, Cali"; + case _140: return "Los Coyotes Band of Cahuilla Mission Indians of th"; + case _141: return "Lovelock Paiute Tribe of the Lovelock Indian Colon"; + case _142: return "Lower Brule Sioux Tribe of the Lower Brule Reserva"; + case _143: return "Lower Elwha Tribal Community of the Lower Elwha Re"; + case _144: return "Lower Sioux Indian Community of Minnesota Mdewakan"; + case _145: return "Lummi Tribe of the Lummi Reservation, Washington"; + case _146: return "Lytton Rancheria of California"; + case _147: return "Makah Indian Tribe of the Makah Indian Reservation"; + case _148: return "Manchester Band of Pomo Indians of the Manchester-"; + case _149: return "Manzanita Band of Diegueno Mission Indians of the"; + case _15: return "Berry Creek Rancheria of Maidu Indians of Californ"; + case _150: return "Mashantucket Pequot Tribe of Connecticut"; + case _151: return "Match-e-be-nash-she-wish Band of Pottawatomi India"; + case _152: return "Mechoopda Indian Tribe of Chico Rancheria, Califor"; + case _153: return "Menominee Indian Tribe of Wisconsin"; + case _154: return "Mesa Grande Band of Diegueno Mission Indians of th"; + case _155: return "Mescalero Apache Tribe of the Mescalero Reservatio"; + case _156: return "Miami Tribe of Oklahoma"; + case _157: return "Miccosukee Tribe of Indians of Florida"; + case _158: return "Middletown Rancheria of Pomo Indians of California"; + case _159: return "Minnesota Chippewa Tribe, Minnesota (Six component"; + case _16: return "Big Lagoon Rancheria, California"; + case _160: return "Bois Forte Band (Nett Lake); Fond du Lac Band; Gra"; + case _161: return "Mississippi Band of Choctaw Indians, Mississippi"; + case _162: return "Moapa Band of Paiute Indians of the Moapa River In"; + case _163: return "Modoc Tribe of Oklahoma"; + case _164: return "Mohegan Indian Tribe of Connecticut"; + case _165: return "Mooretown Rancheria of Maidu Indians of California"; + case _166: return "Morongo Band of Cahuilla Mission Indians of the Mo"; + case _167: return "Muckleshoot Indian Tribe of the Muckleshoot Reserv"; + case _168: return "Muscogee (Creek) Nation, Oklahoma"; + case _169: return "Narragansett Indian Tribe of Rhode Island"; + case _17: return "Big Pine Band of Owens Valley Paiute Shoshone Indi"; + case _170: return "Navajo Nation, Arizona, New Mexico & Utah"; + case _171: return "Nez Perce Tribe of Idaho"; + case _172: return "Nisqually Indian Tribe of the Nisqually Reservatio"; + case _173: return "Nooksack Indian Tribe of Washington"; + case _174: return "Northern Cheyenne Tribe of the Northern Cheyenne I"; + case _175: return "Northfork Rancheria of Mono Indians of California"; + case _176: return "Northwestern Band of Shoshoni Nation of Utah (Wash"; + case _177: return "Oglala Sioux Tribe of the Pine Ridge Reservation,"; + case _178: return "Omaha Tribe of Nebraska"; + case _179: return "Oneida Nation of New York"; + case _18: return "Big Sandy Rancheria of Mono Indians of California"; + case _180: return "Oneida Tribe of Wisconsin"; + case _181: return "Onondaga Nation of New York"; + case _182: return "Osage Tribe, Oklahoma"; + case _183: return "Ottawa Tribe of Oklahoma"; + case _184: return "Otoe-Missouria Tribe of Indians, Oklahoma"; + case _185: return "Paiute Indian Tribe of Utah"; + case _186: return "Paiute-Shoshone Indians of the Bishop Community of"; + case _187: return "Paiute-Shoshone Tribe of the Fallon Reservation an"; + case _188: return "Paiute-Shoshone Indians of the Lone Pine Community"; + case _189: return "Pala Band of Luiseno Mission Indians of the Pala R"; + case _19: return "Big Valley Band of Pomo Indians of the Big Valley"; + case _190: return "Pascua Yaqui Tribe of Arizona"; + case _191: return "Paskenta Band of Nomlaki Indians of California"; + case _192: return "Passamaquoddy Tribe of Maine"; + case _193: return "Pauma Band of Luiseno Mission Indians of the Pauma"; + case _194: return "Pawnee Nation of Oklahoma"; + case _195: return "Pechanga Band of Luiseno Mission Indians of the Pe"; + case _196: return "Penobscot Tribe of Maine"; + case _197: return "Peoria Tribe of Indians of Oklahoma"; + case _198: return "Picayune Rancheria of Chukchansi Indians of Califo"; + case _199: return "Pinoleville Rancheria of Pomo Indians of Californi"; + case _2: return "Agua Caliente Band of Cahuilla Indians of the Agua"; + case _20: return "Blackfeet Tribe of the Blackfeet Indian Reservatio"; + case _200: return "Pit River Tribe, California (includes Big Bend, Lo"; + case _201: return "Poarch Band of Creek Indians of Alabama"; + case _202: return "Pokagon Band of Potawatomi Indians of Michigan"; + case _203: return "Ponca Tribe of Indians of Oklahoma"; + case _204: return "Ponca Tribe of Nebraska"; + case _205: return "Port Gamble Indian Community of the Port Gamble Re"; + case _206: return "Potter Valley Rancheria of Pomo Indians of Califor"; + case _207: return "Prairie Band of Potawatomi Indians, Kansas"; + case _208: return "Prairie Island Indian Community of Minnesota Mdewa"; + case _209: return "Pueblo of Acoma, New Mexico"; + case _21: return "Blue Lake Rancheria, California"; + case _210: return "Pueblo of Cochiti, New Mexico"; + case _211: return "Pueblo of Jemez, New Mexico"; + case _212: return "Pueblo of Isleta, New Mexico"; + case _213: return "Pueblo of Laguna, New Mexico"; + case _214: return "Pueblo of Nambe, New Mexico"; + case _215: return "Pueblo of Picuris, New Mexico"; + case _216: return "Pueblo of Pojoaque, New Mexico"; + case _217: return "Pueblo of San Felipe, New Mexico"; + case _218: return "Pueblo of San Juan, New Mexico"; + case _219: return "Pueblo of San Ildefonso, New Mexico"; + case _22: return "Bridgeport Paiute Indian Colony of California"; + case _220: return "Pueblo of Sandia, New Mexico"; + case _221: return "Pueblo of Santa Ana, New Mexico"; + case _222: return "Pueblo of Santa Clara, New Mexico"; + case _223: return "Pueblo of Santo Domingo, New Mexico"; + case _224: return "Pueblo of Taos, New Mexico"; + case _225: return "Pueblo of Tesuque, New Mexico"; + case _226: return "Pueblo of Zia, New Mexico"; + case _227: return "Puyallup Tribe of the Puyallup Reservation, Washin"; + case _228: return "Pyramid Lake Paiute Tribe of the Pyramid Lake Rese"; + case _229: return "Quapaw Tribe of Indians, Oklahoma"; + case _23: return "Buena Vista Rancheria of Me-Wuk Indians of Califor"; + case _230: return "Quartz Valley Indian Community of the Quartz Valle"; + case _231: return "Quechan Tribe of the Fort Yuma Indian Reservation,"; + case _232: return "Quileute Tribe of the Quileute Reservation, Washin"; + case _233: return "Quinault Tribe of the Quinault Reservation, Washin"; + case _234: return "Ramona Band or Village of Cahuilla Mission Indians"; + case _235: return "Red Cliff Band of Lake Superior Chippewa Indians o"; + case _236: return "Red Lake Band of Chippewa Indians of the Red Lake"; + case _237: return "Redding Rancheria, California"; + case _238: return "Redwood Valley Rancheria of Pomo Indians of Califo"; + case _239: return "Reno-Sparks Indian Colony, Nevada"; + case _24: return "Burns Paiute Tribe of the Burns Paiute Indian Colo"; + case _240: return "Resighini Rancheria, California (formerly known as"; + case _241: return "Rincon Band of Luiseno Mission Indians of the Rinc"; + case _242: return "Robinson Rancheria of Pomo Indians of California"; + case _243: return "Rosebud Sioux Tribe of the Rosebud Indian Reservat"; + case _244: return "Round Valley Indian Tribes of the Round Valley Res"; + case _245: return "Rumsey Indian Rancheria of Wintun Indians of Calif"; + case _246: return "Sac and Fox Tribe of the Mississippi in Iowa"; + case _247: return "Sac and Fox Nation of Missouri in Kansas and Nebra"; + case _248: return "Sac and Fox Nation, Oklahoma"; + case _249: return "Saginaw Chippewa Indian Tribe of Michigan, Isabell"; + case _25: return "Cabazon Band of Cahuilla Mission Indians of the Ca"; + case _250: return "Salt River Pima-Maricopa Indian Community of the S"; + case _251: return "Samish Indian Tribe, Washington"; + case _252: return "San Carlos Apache Tribe of the San Carlos Reservat"; + case _253: return "San Juan Southern Paiute Tribe of Arizona"; + case _254: return "San Manual Band of Serrano Mission Indians of the"; + case _255: return "San Pasqual Band of Diegueno Mission Indians of Ca"; + case _256: return "Santa Rosa Indian Community of the Santa Rosa Ranc"; + case _257: return "Santa Rosa Band of Cahuilla Mission Indians of the"; + case _258: return "Santa Ynez Band of Chumash Mission Indians of the"; + case _259: return "Santa Ysabel Band of Diegueno Mission Indians of t"; + case _26: return "Cachil DeHe Band of Wintun Indians of the Colusa I"; + case _260: return "Santee Sioux Tribe of the Santee Reservation of Ne"; + case _261: return "Sauk-Suiattle Indian Tribe of Washington"; + case _262: return "Sault Ste. Marie Tribe of Chippewa Indians of Mich"; + case _263: return "Scotts Valley Band of Pomo Indians of California"; + case _264: return "Seminole Nation of Oklahoma"; + case _265: return "Seminole Tribe of Florida, Dania, Big Cypress, Bri"; + case _266: return "Seneca Nation of New York"; + case _267: return "Seneca-Cayuga Tribe of Oklahoma"; + case _268: return "Shakopee Mdewakanton Sioux Community of Minnesota"; + case _269: return "Shawnee Tribe, Oklahoma"; + case _27: return "Caddo Indian Tribe of Oklahoma"; + case _270: return "Sherwood Valley Rancheria of Pomo Indians of Calif"; + case _271: return "Shingle Springs Band of Miwok Indians, Shingle Spr"; + case _272: return "Shoalwater Bay Tribe of the Shoalwater Bay Indian"; + case _273: return "Shoshone Tribe of the Wind River Reservation, Wyom"; + case _274: return "Shoshone-Bannock Tribes of the Fort Hall Reservati"; + case _275: return "Shoshone-Paiute Tribes of the Duck Valley Reservat"; + case _276: return "Sisseton-Wahpeton Sioux Tribe of the Lake Traverse"; + case _277: return "Skokomish Indian Tribe of the Skokomish Reservatio"; + case _278: return "Skull Valley Band of Goshute Indians of Utah"; + case _279: return "Smith River Rancheria, California"; + case _28: return "Cahuilla Band of Mission Indians of the Cahuilla R"; + case _280: return "Snoqualmie Tribe, Washington"; + case _281: return "Soboba Band of Luiseno Indians, California (former"; + case _282: return "Sokaogon Chippewa Community of the Mole Lake Band"; + case _283: return "Southern Ute Indian Tribe of the Southern Ute Rese"; + case _284: return "Spirit Lake Tribe, North Dakota (formerly known as"; + case _285: return "Spokane Tribe of the Spokane Reservation, Washingt"; + case _286: return "Squaxin Island Tribe of the Squaxin Island Reserva"; + case _287: return "St. Croix Chippewa Indians of Wisconsin, St. Croix"; + case _288: return "St. Regis Band of Mohawk Indians of New York"; + case _289: return "Standing Rock Sioux Tribe of North & South Dakota"; + case _29: return "Cahto Indian Tribe of the Laytonville Rancheria, C"; + case _290: return "Stockbridge-Munsee Community of Mohican Indians of"; + case _291: return "Stillaguamish Tribe of Washington"; + case _292: return "Summit Lake Paiute Tribe of Nevada"; + case _293: return "Suquamish Indian Tribe of the Port Madison Reserva"; + case _294: return "Susanville Indian Rancheria, California"; + case _295: return "Swinomish Indians of the Swinomish Reservation, Wa"; + case _296: return "Sycuan Band of Diegueno Mission Indians of Califor"; + case _297: return "Table Bluff Reservation - Wiyot Tribe, California"; + case _298: return "Table Mountain Rancheria of California"; + case _299: return "Te-Moak Tribe of Western Shoshone Indians of Nevad"; + case _3: return "Ak Chin Indian Community of the Maricopa (Ak Chin)"; + case _30: return "California Valley Miwok Tribe, California (formerl"; + case _300: return "Thlopthlocco Tribal Town, Oklahoma"; + case _301: return "Three Affiliated Tribes of the Fort Berthold Reser"; + case _302: return "Tohono O'odham Nation of Arizona"; + case _303: return "Tonawanda Band of Seneca Indians of New York"; + case _304: return "Tonkawa Tribe of Indians of Oklahoma"; + case _305: return "Tonto Apache Tribe of Arizona"; + case _306: return "Torres-Martinez Band of Cahuilla Mission Indians o"; + case _307: return "Tule River Indian Tribe of the Tule River Reservat"; + case _308: return "Tulalip Tribes of the Tulalip Reservation, Washing"; + case _309: return "Tunica-Biloxi Indian Tribe of Louisiana"; + case _31: return "Campo Band of Diegueno Mission Indians of the Camp"; + case _310: return "Tuolumne Band of Me-Wuk Indians of the Tuolumne Ra"; + case _311: return "Turtle Mountain Band of Chippewa Indians of North"; + case _312: return "Tuscarora Nation of New York"; + case _313: return "Twenty-Nine Palms Band of Mission Indians of Calif"; + case _314: return "United Auburn Indian Community of the Auburn Ranch"; + case _315: return "United Keetoowah Band of Cherokee Indians of Oklah"; + case _316: return "Upper Lake Band of Pomo Indians of Upper Lake Ranc"; + case _317: return "Upper Sioux Indian Community of the Upper Sioux Re"; + case _318: return "Upper Skagit Indian Tribe of Washington"; + case _319: return "Ute Indian Tribe of the Uintah & Ouray Reservation"; + case _32: return "Capitan Grande Band of Diegueno Mission Indians of"; + case _320: return "Ute Mountain Tribe of the Ute Mountain Reservation"; + case _321: return "Utu Utu Gwaitu Paiute Tribe of the Benton Paiute R"; + case _322: return "Walker River Paiute Tribe of the Walker River Rese"; + case _323: return "Wampanoag Tribe of Gay Head (Aquinnah) of Massachu"; + case _324: return "Washoe Tribe of Nevada & California (Carson Colony"; + case _325: return "White Mountain Apache Tribe of the Fort Apache Res"; + case _326: return "Wichita and Affiliated Tribes (Wichita, Keechi, Wa"; + case _327: return "Winnebago Tribe of Nebraska"; + case _328: return "Winnemucca Indian Colony of Nevada"; + case _329: return "Wyandotte Tribe of Oklahoma"; + case _33: return "Barona Group of Capitan Grande Band of Mission Ind"; + case _330: return "Yankton Sioux Tribe of South Dakota"; + case _331: return "Yavapai-Apache Nation of the Camp Verde Indian Res"; + case _332: return "Yavapai-Prescott Tribe of the Yavapai Reservation,"; + case _333: return "Yerington Paiute Tribe of the Yerington Colony & C"; + case _334: return "Yomba Shoshone Tribe of the Yomba Reservation, Nev"; + case _335: return "Ysleta Del Sur Pueblo of Texas"; + case _336: return "Yurok Tribe of the Yurok Reservation, California"; + case _337: return "Zuni Tribe of the Zuni Reservation, New Mexico"; + case _34: return "Viejas (Baron Long) Group of Capitan Grande Band o"; + case _35: return "Catawba Indian Nation (aka Catawba Tribe of South"; + case _36: return "Cayuga Nation of New York"; + case _37: return "Cedarville Rancheria, California"; + case _38: return "Chemehuevi Indian Tribe of the Chemehuevi Reservat"; + case _39: return "Cher-Ae Heights Indian Community of the Trinidad R"; + case _4: return "Alabama-Coushatta Tribes of Texas"; + case _40: return "Cherokee Nation, Oklahoma"; + case _41: return "Cheyenne-Arapaho Tribes of Oklahoma"; + case _42: return "Cheyenne River Sioux Tribe of the Cheyenne River R"; + case _43: return "Chickasaw Nation, Oklahoma"; + case _44: return "Chicken Ranch Rancheria of Me-Wuk Indians of Calif"; + case _45: return "Chippewa-Cree Indians of the Rocky Boy's Reservati"; + case _46: return "Chitimacha Tribe of Louisiana"; + case _47: return "Choctaw Nation of Oklahoma"; + case _48: return "Citizen Potawatomi Nation, Oklahoma"; + case _49: return "Cloverdale Rancheria of Pomo Indians of California"; + case _5: return "Alabama-Quassarte Tribal Town, Oklahoma"; + case _50: return "Cocopah Tribe of Arizona"; + case _51: return "Coeur D'Alene Tribe of the Coeur D'Alene Reservati"; + case _52: return "Cold Springs Rancheria of Mono Indians of Californ"; + case _53: return "Colorado River Indian Tribes of the Colorado River"; + case _54: return "Comanche Indian Tribe, Oklahoma"; + case _55: return "Confederated Salish & Kootenai Tribes of the Flath"; + case _56: return "Confederated Tribes of the Chehalis Reservation, W"; + case _57: return "Confederated Tribes of the Colville Reservation, W"; + case _58: return "Confederated Tribes of the Coos, Lower Umpqua and"; + case _59: return "Confederated Tribes of the Goshute Reservation, Ne"; + case _6: return "Alturas Indian Rancheria, California"; + case _60: return "Confederated Tribes of the Grand Ronde Community o"; + case _61: return "Confederated Tribes of the Siletz Reservation, Ore"; + case _62: return "Confederated Tribes of the Umatilla Reservation, O"; + case _63: return "Confederated Tribes of the Warm Springs Reservatio"; + case _64: return "Confederated Tribes and Bands of the Yakama Indian"; + case _65: return "Coquille Tribe of Oregon"; + case _66: return "Cortina Indian Rancheria of Wintun Indians of Cali"; + case _67: return "Coushatta Tribe of Louisiana"; + case _68: return "Cow Creek Band of Umpqua Indians of Oregon"; + case _69: return "Coyote Valley Band of Pomo Indians of California"; + case _7: return "Apache Tribe of Oklahoma"; + case _70: return "Crow Tribe of Montana"; + case _71: return "Crow Creek Sioux Tribe of the Crow Creek Reservati"; + case _72: return "Cuyapaipe Community of Diegueno Mission Indians of"; + case _73: return "Death Valley Timbi-Sha Shoshone Band of California"; + case _74: return "Delaware Nation, Oklahoma (formerly Delaware Tribe"; + case _75: return "Delaware Tribe of Indians, Oklahoma"; + case _76: return "Dry Creek Rancheria of Pomo Indians of California"; + case _77: return "Duckwater Shoshone Tribe of the Duckwater Reservat"; + case _78: return "Eastern Band of Cherokee Indians of North Carolina"; + case _79: return "Eastern Shawnee Tribe of Oklahoma"; + case _8: return "Arapahoe Tribe of the Wind River Reservation, Wyom"; + case _80: return "Elem Indian Colony of Pomo Indians of the Sulphur"; + case _81: return "Elk Valley Rancheria, California"; + case _82: return "Ely Shoshone Tribe of Nevada"; + case _83: return "Enterprise Rancheria of Maidu Indians of Californi"; + case _84: return "Flandreau Santee Sioux Tribe of South Dakota"; + case _85: return "Forest County Potawatomi Community of Wisconsin Po"; + case _86: return "Fort Belknap Indian Community of the Fort Belknap"; + case _87: return "Fort Bidwell Indian Community of the Fort Bidwell"; + case _88: return "Fort Independence Indian Community of Paiute India"; + case _89: return "Fort McDermitt Paiute and Shoshone Tribes of the F"; + case _9: return "Aroostook Band of Micmac Indians of Maine"; + case _90: return "Fort McDowell Yavapai Nation, Arizona (formerly th"; + case _91: return "Fort Mojave Indian Tribe of Arizona, California"; + case _92: return "Fort Sill Apache Tribe of Oklahoma"; + case _93: return "Gila River Indian Community of the Gila River Indi"; + case _94: return "Grand Traverse Band of Ottawa & Chippewa Indians o"; + case _95: return "Graton Rancheria, California"; + case _96: return "Greenville Rancheria of Maidu Indians of Californi"; + case _97: return "Grindstone Indian Rancheria of Wintun-Wailaki Indi"; + case _98: return "Guidiville Rancheria of California"; + case _99: return "Hannahville Indian Community of Wisconsin Potawato"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUSEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUSEnumFactory.java new file mode 100644 index 00000000000..c44b96f0893 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3TribalEntityUSEnumFactory.java @@ -0,0 +1,2323 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3TribalEntityUSEnumFactory implements EnumFactory { + + public V3TribalEntityUS fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("_NativeEntityAlaska".equals(codeString)) + return V3TribalEntityUS._NATIVEENTITYALASKA; + if ("338".equals(codeString)) + return V3TribalEntityUS._338; + if ("339".equals(codeString)) + return V3TribalEntityUS._339; + if ("340".equals(codeString)) + return V3TribalEntityUS._340; + if ("341".equals(codeString)) + return V3TribalEntityUS._341; + if ("342".equals(codeString)) + return V3TribalEntityUS._342; + if ("343".equals(codeString)) + return V3TribalEntityUS._343; + if ("344".equals(codeString)) + return V3TribalEntityUS._344; + if ("345".equals(codeString)) + return V3TribalEntityUS._345; + if ("346".equals(codeString)) + return V3TribalEntityUS._346; + if ("347".equals(codeString)) + return V3TribalEntityUS._347; + if ("348".equals(codeString)) + return V3TribalEntityUS._348; + if ("349".equals(codeString)) + return V3TribalEntityUS._349; + if ("350".equals(codeString)) + return V3TribalEntityUS._350; + if ("351".equals(codeString)) + return V3TribalEntityUS._351; + if ("352".equals(codeString)) + return V3TribalEntityUS._352; + if ("353".equals(codeString)) + return V3TribalEntityUS._353; + if ("354".equals(codeString)) + return V3TribalEntityUS._354; + if ("355".equals(codeString)) + return V3TribalEntityUS._355; + if ("356".equals(codeString)) + return V3TribalEntityUS._356; + if ("357".equals(codeString)) + return V3TribalEntityUS._357; + if ("358".equals(codeString)) + return V3TribalEntityUS._358; + if ("359".equals(codeString)) + return V3TribalEntityUS._359; + if ("360".equals(codeString)) + return V3TribalEntityUS._360; + if ("361".equals(codeString)) + return V3TribalEntityUS._361; + if ("362".equals(codeString)) + return V3TribalEntityUS._362; + if ("363".equals(codeString)) + return V3TribalEntityUS._363; + if ("364".equals(codeString)) + return V3TribalEntityUS._364; + if ("365".equals(codeString)) + return V3TribalEntityUS._365; + if ("366".equals(codeString)) + return V3TribalEntityUS._366; + if ("367".equals(codeString)) + return V3TribalEntityUS._367; + if ("368".equals(codeString)) + return V3TribalEntityUS._368; + if ("369".equals(codeString)) + return V3TribalEntityUS._369; + if ("370".equals(codeString)) + return V3TribalEntityUS._370; + if ("371".equals(codeString)) + return V3TribalEntityUS._371; + if ("372".equals(codeString)) + return V3TribalEntityUS._372; + if ("373".equals(codeString)) + return V3TribalEntityUS._373; + if ("374".equals(codeString)) + return V3TribalEntityUS._374; + if ("375".equals(codeString)) + return V3TribalEntityUS._375; + if ("376".equals(codeString)) + return V3TribalEntityUS._376; + if ("377".equals(codeString)) + return V3TribalEntityUS._377; + if ("378".equals(codeString)) + return V3TribalEntityUS._378; + if ("379".equals(codeString)) + return V3TribalEntityUS._379; + if ("380".equals(codeString)) + return V3TribalEntityUS._380; + if ("381".equals(codeString)) + return V3TribalEntityUS._381; + if ("382".equals(codeString)) + return V3TribalEntityUS._382; + if ("383".equals(codeString)) + return V3TribalEntityUS._383; + if ("384".equals(codeString)) + return V3TribalEntityUS._384; + if ("385".equals(codeString)) + return V3TribalEntityUS._385; + if ("386".equals(codeString)) + return V3TribalEntityUS._386; + if ("387".equals(codeString)) + return V3TribalEntityUS._387; + if ("388".equals(codeString)) + return V3TribalEntityUS._388; + if ("389".equals(codeString)) + return V3TribalEntityUS._389; + if ("390".equals(codeString)) + return V3TribalEntityUS._390; + if ("391".equals(codeString)) + return V3TribalEntityUS._391; + if ("392".equals(codeString)) + return V3TribalEntityUS._392; + if ("393".equals(codeString)) + return V3TribalEntityUS._393; + if ("394".equals(codeString)) + return V3TribalEntityUS._394; + if ("395".equals(codeString)) + return V3TribalEntityUS._395; + if ("396".equals(codeString)) + return V3TribalEntityUS._396; + if ("397".equals(codeString)) + return V3TribalEntityUS._397; + if ("398".equals(codeString)) + return V3TribalEntityUS._398; + if ("399".equals(codeString)) + return V3TribalEntityUS._399; + if ("400".equals(codeString)) + return V3TribalEntityUS._400; + if ("401".equals(codeString)) + return V3TribalEntityUS._401; + if ("402".equals(codeString)) + return V3TribalEntityUS._402; + if ("403".equals(codeString)) + return V3TribalEntityUS._403; + if ("404".equals(codeString)) + return V3TribalEntityUS._404; + if ("405".equals(codeString)) + return V3TribalEntityUS._405; + if ("406".equals(codeString)) + return V3TribalEntityUS._406; + if ("407".equals(codeString)) + return V3TribalEntityUS._407; + if ("408".equals(codeString)) + return V3TribalEntityUS._408; + if ("409".equals(codeString)) + return V3TribalEntityUS._409; + if ("410".equals(codeString)) + return V3TribalEntityUS._410; + if ("411".equals(codeString)) + return V3TribalEntityUS._411; + if ("412".equals(codeString)) + return V3TribalEntityUS._412; + if ("413".equals(codeString)) + return V3TribalEntityUS._413; + if ("414".equals(codeString)) + return V3TribalEntityUS._414; + if ("415".equals(codeString)) + return V3TribalEntityUS._415; + if ("416".equals(codeString)) + return V3TribalEntityUS._416; + if ("417".equals(codeString)) + return V3TribalEntityUS._417; + if ("418".equals(codeString)) + return V3TribalEntityUS._418; + if ("419".equals(codeString)) + return V3TribalEntityUS._419; + if ("420".equals(codeString)) + return V3TribalEntityUS._420; + if ("421".equals(codeString)) + return V3TribalEntityUS._421; + if ("422".equals(codeString)) + return V3TribalEntityUS._422; + if ("423".equals(codeString)) + return V3TribalEntityUS._423; + if ("424".equals(codeString)) + return V3TribalEntityUS._424; + if ("425".equals(codeString)) + return V3TribalEntityUS._425; + if ("426".equals(codeString)) + return V3TribalEntityUS._426; + if ("427".equals(codeString)) + return V3TribalEntityUS._427; + if ("428".equals(codeString)) + return V3TribalEntityUS._428; + if ("429".equals(codeString)) + return V3TribalEntityUS._429; + if ("430".equals(codeString)) + return V3TribalEntityUS._430; + if ("431".equals(codeString)) + return V3TribalEntityUS._431; + if ("432".equals(codeString)) + return V3TribalEntityUS._432; + if ("433".equals(codeString)) + return V3TribalEntityUS._433; + if ("434".equals(codeString)) + return V3TribalEntityUS._434; + if ("435".equals(codeString)) + return V3TribalEntityUS._435; + if ("436".equals(codeString)) + return V3TribalEntityUS._436; + if ("437".equals(codeString)) + return V3TribalEntityUS._437; + if ("438".equals(codeString)) + return V3TribalEntityUS._438; + if ("439".equals(codeString)) + return V3TribalEntityUS._439; + if ("440".equals(codeString)) + return V3TribalEntityUS._440; + if ("441".equals(codeString)) + return V3TribalEntityUS._441; + if ("442".equals(codeString)) + return V3TribalEntityUS._442; + if ("443".equals(codeString)) + return V3TribalEntityUS._443; + if ("444".equals(codeString)) + return V3TribalEntityUS._444; + if ("445".equals(codeString)) + return V3TribalEntityUS._445; + if ("446".equals(codeString)) + return V3TribalEntityUS._446; + if ("447".equals(codeString)) + return V3TribalEntityUS._447; + if ("448".equals(codeString)) + return V3TribalEntityUS._448; + if ("449".equals(codeString)) + return V3TribalEntityUS._449; + if ("450".equals(codeString)) + return V3TribalEntityUS._450; + if ("451".equals(codeString)) + return V3TribalEntityUS._451; + if ("452".equals(codeString)) + return V3TribalEntityUS._452; + if ("453".equals(codeString)) + return V3TribalEntityUS._453; + if ("454".equals(codeString)) + return V3TribalEntityUS._454; + if ("455".equals(codeString)) + return V3TribalEntityUS._455; + if ("456".equals(codeString)) + return V3TribalEntityUS._456; + if ("457".equals(codeString)) + return V3TribalEntityUS._457; + if ("458".equals(codeString)) + return V3TribalEntityUS._458; + if ("459".equals(codeString)) + return V3TribalEntityUS._459; + if ("460".equals(codeString)) + return V3TribalEntityUS._460; + if ("461".equals(codeString)) + return V3TribalEntityUS._461; + if ("462".equals(codeString)) + return V3TribalEntityUS._462; + if ("463".equals(codeString)) + return V3TribalEntityUS._463; + if ("464".equals(codeString)) + return V3TribalEntityUS._464; + if ("465".equals(codeString)) + return V3TribalEntityUS._465; + if ("466".equals(codeString)) + return V3TribalEntityUS._466; + if ("467".equals(codeString)) + return V3TribalEntityUS._467; + if ("468".equals(codeString)) + return V3TribalEntityUS._468; + if ("469".equals(codeString)) + return V3TribalEntityUS._469; + if ("470".equals(codeString)) + return V3TribalEntityUS._470; + if ("471".equals(codeString)) + return V3TribalEntityUS._471; + if ("472".equals(codeString)) + return V3TribalEntityUS._472; + if ("473".equals(codeString)) + return V3TribalEntityUS._473; + if ("474".equals(codeString)) + return V3TribalEntityUS._474; + if ("475".equals(codeString)) + return V3TribalEntityUS._475; + if ("476".equals(codeString)) + return V3TribalEntityUS._476; + if ("477".equals(codeString)) + return V3TribalEntityUS._477; + if ("478".equals(codeString)) + return V3TribalEntityUS._478; + if ("479".equals(codeString)) + return V3TribalEntityUS._479; + if ("480".equals(codeString)) + return V3TribalEntityUS._480; + if ("481".equals(codeString)) + return V3TribalEntityUS._481; + if ("482".equals(codeString)) + return V3TribalEntityUS._482; + if ("483".equals(codeString)) + return V3TribalEntityUS._483; + if ("484".equals(codeString)) + return V3TribalEntityUS._484; + if ("485".equals(codeString)) + return V3TribalEntityUS._485; + if ("486".equals(codeString)) + return V3TribalEntityUS._486; + if ("487".equals(codeString)) + return V3TribalEntityUS._487; + if ("488".equals(codeString)) + return V3TribalEntityUS._488; + if ("489".equals(codeString)) + return V3TribalEntityUS._489; + if ("490".equals(codeString)) + return V3TribalEntityUS._490; + if ("491".equals(codeString)) + return V3TribalEntityUS._491; + if ("492".equals(codeString)) + return V3TribalEntityUS._492; + if ("493".equals(codeString)) + return V3TribalEntityUS._493; + if ("494".equals(codeString)) + return V3TribalEntityUS._494; + if ("495".equals(codeString)) + return V3TribalEntityUS._495; + if ("496".equals(codeString)) + return V3TribalEntityUS._496; + if ("497".equals(codeString)) + return V3TribalEntityUS._497; + if ("498".equals(codeString)) + return V3TribalEntityUS._498; + if ("499".equals(codeString)) + return V3TribalEntityUS._499; + if ("500".equals(codeString)) + return V3TribalEntityUS._500; + if ("501".equals(codeString)) + return V3TribalEntityUS._501; + if ("502".equals(codeString)) + return V3TribalEntityUS._502; + if ("503".equals(codeString)) + return V3TribalEntityUS._503; + if ("504".equals(codeString)) + return V3TribalEntityUS._504; + if ("505".equals(codeString)) + return V3TribalEntityUS._505; + if ("506".equals(codeString)) + return V3TribalEntityUS._506; + if ("507".equals(codeString)) + return V3TribalEntityUS._507; + if ("508".equals(codeString)) + return V3TribalEntityUS._508; + if ("509".equals(codeString)) + return V3TribalEntityUS._509; + if ("510".equals(codeString)) + return V3TribalEntityUS._510; + if ("511".equals(codeString)) + return V3TribalEntityUS._511; + if ("512".equals(codeString)) + return V3TribalEntityUS._512; + if ("513".equals(codeString)) + return V3TribalEntityUS._513; + if ("514".equals(codeString)) + return V3TribalEntityUS._514; + if ("515".equals(codeString)) + return V3TribalEntityUS._515; + if ("516".equals(codeString)) + return V3TribalEntityUS._516; + if ("517".equals(codeString)) + return V3TribalEntityUS._517; + if ("518".equals(codeString)) + return V3TribalEntityUS._518; + if ("519".equals(codeString)) + return V3TribalEntityUS._519; + if ("520".equals(codeString)) + return V3TribalEntityUS._520; + if ("521".equals(codeString)) + return V3TribalEntityUS._521; + if ("522".equals(codeString)) + return V3TribalEntityUS._522; + if ("523".equals(codeString)) + return V3TribalEntityUS._523; + if ("524".equals(codeString)) + return V3TribalEntityUS._524; + if ("525".equals(codeString)) + return V3TribalEntityUS._525; + if ("526".equals(codeString)) + return V3TribalEntityUS._526; + if ("527".equals(codeString)) + return V3TribalEntityUS._527; + if ("528".equals(codeString)) + return V3TribalEntityUS._528; + if ("529".equals(codeString)) + return V3TribalEntityUS._529; + if ("530".equals(codeString)) + return V3TribalEntityUS._530; + if ("531".equals(codeString)) + return V3TribalEntityUS._531; + if ("532".equals(codeString)) + return V3TribalEntityUS._532; + if ("533".equals(codeString)) + return V3TribalEntityUS._533; + if ("534".equals(codeString)) + return V3TribalEntityUS._534; + if ("535".equals(codeString)) + return V3TribalEntityUS._535; + if ("536".equals(codeString)) + return V3TribalEntityUS._536; + if ("537".equals(codeString)) + return V3TribalEntityUS._537; + if ("538".equals(codeString)) + return V3TribalEntityUS._538; + if ("539".equals(codeString)) + return V3TribalEntityUS._539; + if ("540".equals(codeString)) + return V3TribalEntityUS._540; + if ("541".equals(codeString)) + return V3TribalEntityUS._541; + if ("542".equals(codeString)) + return V3TribalEntityUS._542; + if ("543".equals(codeString)) + return V3TribalEntityUS._543; + if ("544".equals(codeString)) + return V3TribalEntityUS._544; + if ("545".equals(codeString)) + return V3TribalEntityUS._545; + if ("546".equals(codeString)) + return V3TribalEntityUS._546; + if ("547".equals(codeString)) + return V3TribalEntityUS._547; + if ("548".equals(codeString)) + return V3TribalEntityUS._548; + if ("549".equals(codeString)) + return V3TribalEntityUS._549; + if ("550".equals(codeString)) + return V3TribalEntityUS._550; + if ("551".equals(codeString)) + return V3TribalEntityUS._551; + if ("552".equals(codeString)) + return V3TribalEntityUS._552; + if ("553".equals(codeString)) + return V3TribalEntityUS._553; + if ("554".equals(codeString)) + return V3TribalEntityUS._554; + if ("555".equals(codeString)) + return V3TribalEntityUS._555; + if ("556".equals(codeString)) + return V3TribalEntityUS._556; + if ("557".equals(codeString)) + return V3TribalEntityUS._557; + if ("558".equals(codeString)) + return V3TribalEntityUS._558; + if ("559".equals(codeString)) + return V3TribalEntityUS._559; + if ("560".equals(codeString)) + return V3TribalEntityUS._560; + if ("561".equals(codeString)) + return V3TribalEntityUS._561; + if ("562".equals(codeString)) + return V3TribalEntityUS._562; + if ("563".equals(codeString)) + return V3TribalEntityUS._563; + if ("564".equals(codeString)) + return V3TribalEntityUS._564; + if ("565".equals(codeString)) + return V3TribalEntityUS._565; + if ("566".equals(codeString)) + return V3TribalEntityUS._566; + if ("_NativeEntityContiguous".equals(codeString)) + return V3TribalEntityUS._NATIVEENTITYCONTIGUOUS; + if ("1".equals(codeString)) + return V3TribalEntityUS._1; + if ("10".equals(codeString)) + return V3TribalEntityUS._10; + if ("100".equals(codeString)) + return V3TribalEntityUS._100; + if ("101".equals(codeString)) + return V3TribalEntityUS._101; + if ("102".equals(codeString)) + return V3TribalEntityUS._102; + if ("103".equals(codeString)) + return V3TribalEntityUS._103; + if ("104".equals(codeString)) + return V3TribalEntityUS._104; + if ("105".equals(codeString)) + return V3TribalEntityUS._105; + if ("106".equals(codeString)) + return V3TribalEntityUS._106; + if ("107".equals(codeString)) + return V3TribalEntityUS._107; + if ("108".equals(codeString)) + return V3TribalEntityUS._108; + if ("109".equals(codeString)) + return V3TribalEntityUS._109; + if ("11".equals(codeString)) + return V3TribalEntityUS._11; + if ("110".equals(codeString)) + return V3TribalEntityUS._110; + if ("111".equals(codeString)) + return V3TribalEntityUS._111; + if ("112".equals(codeString)) + return V3TribalEntityUS._112; + if ("113".equals(codeString)) + return V3TribalEntityUS._113; + if ("114".equals(codeString)) + return V3TribalEntityUS._114; + if ("115".equals(codeString)) + return V3TribalEntityUS._115; + if ("116".equals(codeString)) + return V3TribalEntityUS._116; + if ("117".equals(codeString)) + return V3TribalEntityUS._117; + if ("118".equals(codeString)) + return V3TribalEntityUS._118; + if ("119".equals(codeString)) + return V3TribalEntityUS._119; + if ("12".equals(codeString)) + return V3TribalEntityUS._12; + if ("120".equals(codeString)) + return V3TribalEntityUS._120; + if ("121".equals(codeString)) + return V3TribalEntityUS._121; + if ("122".equals(codeString)) + return V3TribalEntityUS._122; + if ("123".equals(codeString)) + return V3TribalEntityUS._123; + if ("124".equals(codeString)) + return V3TribalEntityUS._124; + if ("125".equals(codeString)) + return V3TribalEntityUS._125; + if ("126".equals(codeString)) + return V3TribalEntityUS._126; + if ("127".equals(codeString)) + return V3TribalEntityUS._127; + if ("128".equals(codeString)) + return V3TribalEntityUS._128; + if ("129".equals(codeString)) + return V3TribalEntityUS._129; + if ("13".equals(codeString)) + return V3TribalEntityUS._13; + if ("130".equals(codeString)) + return V3TribalEntityUS._130; + if ("131".equals(codeString)) + return V3TribalEntityUS._131; + if ("132".equals(codeString)) + return V3TribalEntityUS._132; + if ("133".equals(codeString)) + return V3TribalEntityUS._133; + if ("134".equals(codeString)) + return V3TribalEntityUS._134; + if ("135".equals(codeString)) + return V3TribalEntityUS._135; + if ("136".equals(codeString)) + return V3TribalEntityUS._136; + if ("137".equals(codeString)) + return V3TribalEntityUS._137; + if ("138".equals(codeString)) + return V3TribalEntityUS._138; + if ("139".equals(codeString)) + return V3TribalEntityUS._139; + if ("14".equals(codeString)) + return V3TribalEntityUS._14; + if ("140".equals(codeString)) + return V3TribalEntityUS._140; + if ("141".equals(codeString)) + return V3TribalEntityUS._141; + if ("142".equals(codeString)) + return V3TribalEntityUS._142; + if ("143".equals(codeString)) + return V3TribalEntityUS._143; + if ("144".equals(codeString)) + return V3TribalEntityUS._144; + if ("145".equals(codeString)) + return V3TribalEntityUS._145; + if ("146".equals(codeString)) + return V3TribalEntityUS._146; + if ("147".equals(codeString)) + return V3TribalEntityUS._147; + if ("148".equals(codeString)) + return V3TribalEntityUS._148; + if ("149".equals(codeString)) + return V3TribalEntityUS._149; + if ("15".equals(codeString)) + return V3TribalEntityUS._15; + if ("150".equals(codeString)) + return V3TribalEntityUS._150; + if ("151".equals(codeString)) + return V3TribalEntityUS._151; + if ("152".equals(codeString)) + return V3TribalEntityUS._152; + if ("153".equals(codeString)) + return V3TribalEntityUS._153; + if ("154".equals(codeString)) + return V3TribalEntityUS._154; + if ("155".equals(codeString)) + return V3TribalEntityUS._155; + if ("156".equals(codeString)) + return V3TribalEntityUS._156; + if ("157".equals(codeString)) + return V3TribalEntityUS._157; + if ("158".equals(codeString)) + return V3TribalEntityUS._158; + if ("159".equals(codeString)) + return V3TribalEntityUS._159; + if ("16".equals(codeString)) + return V3TribalEntityUS._16; + if ("160".equals(codeString)) + return V3TribalEntityUS._160; + if ("161".equals(codeString)) + return V3TribalEntityUS._161; + if ("162".equals(codeString)) + return V3TribalEntityUS._162; + if ("163".equals(codeString)) + return V3TribalEntityUS._163; + if ("164".equals(codeString)) + return V3TribalEntityUS._164; + if ("165".equals(codeString)) + return V3TribalEntityUS._165; + if ("166".equals(codeString)) + return V3TribalEntityUS._166; + if ("167".equals(codeString)) + return V3TribalEntityUS._167; + if ("168".equals(codeString)) + return V3TribalEntityUS._168; + if ("169".equals(codeString)) + return V3TribalEntityUS._169; + if ("17".equals(codeString)) + return V3TribalEntityUS._17; + if ("170".equals(codeString)) + return V3TribalEntityUS._170; + if ("171".equals(codeString)) + return V3TribalEntityUS._171; + if ("172".equals(codeString)) + return V3TribalEntityUS._172; + if ("173".equals(codeString)) + return V3TribalEntityUS._173; + if ("174".equals(codeString)) + return V3TribalEntityUS._174; + if ("175".equals(codeString)) + return V3TribalEntityUS._175; + if ("176".equals(codeString)) + return V3TribalEntityUS._176; + if ("177".equals(codeString)) + return V3TribalEntityUS._177; + if ("178".equals(codeString)) + return V3TribalEntityUS._178; + if ("179".equals(codeString)) + return V3TribalEntityUS._179; + if ("18".equals(codeString)) + return V3TribalEntityUS._18; + if ("180".equals(codeString)) + return V3TribalEntityUS._180; + if ("181".equals(codeString)) + return V3TribalEntityUS._181; + if ("182".equals(codeString)) + return V3TribalEntityUS._182; + if ("183".equals(codeString)) + return V3TribalEntityUS._183; + if ("184".equals(codeString)) + return V3TribalEntityUS._184; + if ("185".equals(codeString)) + return V3TribalEntityUS._185; + if ("186".equals(codeString)) + return V3TribalEntityUS._186; + if ("187".equals(codeString)) + return V3TribalEntityUS._187; + if ("188".equals(codeString)) + return V3TribalEntityUS._188; + if ("189".equals(codeString)) + return V3TribalEntityUS._189; + if ("19".equals(codeString)) + return V3TribalEntityUS._19; + if ("190".equals(codeString)) + return V3TribalEntityUS._190; + if ("191".equals(codeString)) + return V3TribalEntityUS._191; + if ("192".equals(codeString)) + return V3TribalEntityUS._192; + if ("193".equals(codeString)) + return V3TribalEntityUS._193; + if ("194".equals(codeString)) + return V3TribalEntityUS._194; + if ("195".equals(codeString)) + return V3TribalEntityUS._195; + if ("196".equals(codeString)) + return V3TribalEntityUS._196; + if ("197".equals(codeString)) + return V3TribalEntityUS._197; + if ("198".equals(codeString)) + return V3TribalEntityUS._198; + if ("199".equals(codeString)) + return V3TribalEntityUS._199; + if ("2".equals(codeString)) + return V3TribalEntityUS._2; + if ("20".equals(codeString)) + return V3TribalEntityUS._20; + if ("200".equals(codeString)) + return V3TribalEntityUS._200; + if ("201".equals(codeString)) + return V3TribalEntityUS._201; + if ("202".equals(codeString)) + return V3TribalEntityUS._202; + if ("203".equals(codeString)) + return V3TribalEntityUS._203; + if ("204".equals(codeString)) + return V3TribalEntityUS._204; + if ("205".equals(codeString)) + return V3TribalEntityUS._205; + if ("206".equals(codeString)) + return V3TribalEntityUS._206; + if ("207".equals(codeString)) + return V3TribalEntityUS._207; + if ("208".equals(codeString)) + return V3TribalEntityUS._208; + if ("209".equals(codeString)) + return V3TribalEntityUS._209; + if ("21".equals(codeString)) + return V3TribalEntityUS._21; + if ("210".equals(codeString)) + return V3TribalEntityUS._210; + if ("211".equals(codeString)) + return V3TribalEntityUS._211; + if ("212".equals(codeString)) + return V3TribalEntityUS._212; + if ("213".equals(codeString)) + return V3TribalEntityUS._213; + if ("214".equals(codeString)) + return V3TribalEntityUS._214; + if ("215".equals(codeString)) + return V3TribalEntityUS._215; + if ("216".equals(codeString)) + return V3TribalEntityUS._216; + if ("217".equals(codeString)) + return V3TribalEntityUS._217; + if ("218".equals(codeString)) + return V3TribalEntityUS._218; + if ("219".equals(codeString)) + return V3TribalEntityUS._219; + if ("22".equals(codeString)) + return V3TribalEntityUS._22; + if ("220".equals(codeString)) + return V3TribalEntityUS._220; + if ("221".equals(codeString)) + return V3TribalEntityUS._221; + if ("222".equals(codeString)) + return V3TribalEntityUS._222; + if ("223".equals(codeString)) + return V3TribalEntityUS._223; + if ("224".equals(codeString)) + return V3TribalEntityUS._224; + if ("225".equals(codeString)) + return V3TribalEntityUS._225; + if ("226".equals(codeString)) + return V3TribalEntityUS._226; + if ("227".equals(codeString)) + return V3TribalEntityUS._227; + if ("228".equals(codeString)) + return V3TribalEntityUS._228; + if ("229".equals(codeString)) + return V3TribalEntityUS._229; + if ("23".equals(codeString)) + return V3TribalEntityUS._23; + if ("230".equals(codeString)) + return V3TribalEntityUS._230; + if ("231".equals(codeString)) + return V3TribalEntityUS._231; + if ("232".equals(codeString)) + return V3TribalEntityUS._232; + if ("233".equals(codeString)) + return V3TribalEntityUS._233; + if ("234".equals(codeString)) + return V3TribalEntityUS._234; + if ("235".equals(codeString)) + return V3TribalEntityUS._235; + if ("236".equals(codeString)) + return V3TribalEntityUS._236; + if ("237".equals(codeString)) + return V3TribalEntityUS._237; + if ("238".equals(codeString)) + return V3TribalEntityUS._238; + if ("239".equals(codeString)) + return V3TribalEntityUS._239; + if ("24".equals(codeString)) + return V3TribalEntityUS._24; + if ("240".equals(codeString)) + return V3TribalEntityUS._240; + if ("241".equals(codeString)) + return V3TribalEntityUS._241; + if ("242".equals(codeString)) + return V3TribalEntityUS._242; + if ("243".equals(codeString)) + return V3TribalEntityUS._243; + if ("244".equals(codeString)) + return V3TribalEntityUS._244; + if ("245".equals(codeString)) + return V3TribalEntityUS._245; + if ("246".equals(codeString)) + return V3TribalEntityUS._246; + if ("247".equals(codeString)) + return V3TribalEntityUS._247; + if ("248".equals(codeString)) + return V3TribalEntityUS._248; + if ("249".equals(codeString)) + return V3TribalEntityUS._249; + if ("25".equals(codeString)) + return V3TribalEntityUS._25; + if ("250".equals(codeString)) + return V3TribalEntityUS._250; + if ("251".equals(codeString)) + return V3TribalEntityUS._251; + if ("252".equals(codeString)) + return V3TribalEntityUS._252; + if ("253".equals(codeString)) + return V3TribalEntityUS._253; + if ("254".equals(codeString)) + return V3TribalEntityUS._254; + if ("255".equals(codeString)) + return V3TribalEntityUS._255; + if ("256".equals(codeString)) + return V3TribalEntityUS._256; + if ("257".equals(codeString)) + return V3TribalEntityUS._257; + if ("258".equals(codeString)) + return V3TribalEntityUS._258; + if ("259".equals(codeString)) + return V3TribalEntityUS._259; + if ("26".equals(codeString)) + return V3TribalEntityUS._26; + if ("260".equals(codeString)) + return V3TribalEntityUS._260; + if ("261".equals(codeString)) + return V3TribalEntityUS._261; + if ("262".equals(codeString)) + return V3TribalEntityUS._262; + if ("263".equals(codeString)) + return V3TribalEntityUS._263; + if ("264".equals(codeString)) + return V3TribalEntityUS._264; + if ("265".equals(codeString)) + return V3TribalEntityUS._265; + if ("266".equals(codeString)) + return V3TribalEntityUS._266; + if ("267".equals(codeString)) + return V3TribalEntityUS._267; + if ("268".equals(codeString)) + return V3TribalEntityUS._268; + if ("269".equals(codeString)) + return V3TribalEntityUS._269; + if ("27".equals(codeString)) + return V3TribalEntityUS._27; + if ("270".equals(codeString)) + return V3TribalEntityUS._270; + if ("271".equals(codeString)) + return V3TribalEntityUS._271; + if ("272".equals(codeString)) + return V3TribalEntityUS._272; + if ("273".equals(codeString)) + return V3TribalEntityUS._273; + if ("274".equals(codeString)) + return V3TribalEntityUS._274; + if ("275".equals(codeString)) + return V3TribalEntityUS._275; + if ("276".equals(codeString)) + return V3TribalEntityUS._276; + if ("277".equals(codeString)) + return V3TribalEntityUS._277; + if ("278".equals(codeString)) + return V3TribalEntityUS._278; + if ("279".equals(codeString)) + return V3TribalEntityUS._279; + if ("28".equals(codeString)) + return V3TribalEntityUS._28; + if ("280".equals(codeString)) + return V3TribalEntityUS._280; + if ("281".equals(codeString)) + return V3TribalEntityUS._281; + if ("282".equals(codeString)) + return V3TribalEntityUS._282; + if ("283".equals(codeString)) + return V3TribalEntityUS._283; + if ("284".equals(codeString)) + return V3TribalEntityUS._284; + if ("285".equals(codeString)) + return V3TribalEntityUS._285; + if ("286".equals(codeString)) + return V3TribalEntityUS._286; + if ("287".equals(codeString)) + return V3TribalEntityUS._287; + if ("288".equals(codeString)) + return V3TribalEntityUS._288; + if ("289".equals(codeString)) + return V3TribalEntityUS._289; + if ("29".equals(codeString)) + return V3TribalEntityUS._29; + if ("290".equals(codeString)) + return V3TribalEntityUS._290; + if ("291".equals(codeString)) + return V3TribalEntityUS._291; + if ("292".equals(codeString)) + return V3TribalEntityUS._292; + if ("293".equals(codeString)) + return V3TribalEntityUS._293; + if ("294".equals(codeString)) + return V3TribalEntityUS._294; + if ("295".equals(codeString)) + return V3TribalEntityUS._295; + if ("296".equals(codeString)) + return V3TribalEntityUS._296; + if ("297".equals(codeString)) + return V3TribalEntityUS._297; + if ("298".equals(codeString)) + return V3TribalEntityUS._298; + if ("299".equals(codeString)) + return V3TribalEntityUS._299; + if ("3".equals(codeString)) + return V3TribalEntityUS._3; + if ("30".equals(codeString)) + return V3TribalEntityUS._30; + if ("300".equals(codeString)) + return V3TribalEntityUS._300; + if ("301".equals(codeString)) + return V3TribalEntityUS._301; + if ("302".equals(codeString)) + return V3TribalEntityUS._302; + if ("303".equals(codeString)) + return V3TribalEntityUS._303; + if ("304".equals(codeString)) + return V3TribalEntityUS._304; + if ("305".equals(codeString)) + return V3TribalEntityUS._305; + if ("306".equals(codeString)) + return V3TribalEntityUS._306; + if ("307".equals(codeString)) + return V3TribalEntityUS._307; + if ("308".equals(codeString)) + return V3TribalEntityUS._308; + if ("309".equals(codeString)) + return V3TribalEntityUS._309; + if ("31".equals(codeString)) + return V3TribalEntityUS._31; + if ("310".equals(codeString)) + return V3TribalEntityUS._310; + if ("311".equals(codeString)) + return V3TribalEntityUS._311; + if ("312".equals(codeString)) + return V3TribalEntityUS._312; + if ("313".equals(codeString)) + return V3TribalEntityUS._313; + if ("314".equals(codeString)) + return V3TribalEntityUS._314; + if ("315".equals(codeString)) + return V3TribalEntityUS._315; + if ("316".equals(codeString)) + return V3TribalEntityUS._316; + if ("317".equals(codeString)) + return V3TribalEntityUS._317; + if ("318".equals(codeString)) + return V3TribalEntityUS._318; + if ("319".equals(codeString)) + return V3TribalEntityUS._319; + if ("32".equals(codeString)) + return V3TribalEntityUS._32; + if ("320".equals(codeString)) + return V3TribalEntityUS._320; + if ("321".equals(codeString)) + return V3TribalEntityUS._321; + if ("322".equals(codeString)) + return V3TribalEntityUS._322; + if ("323".equals(codeString)) + return V3TribalEntityUS._323; + if ("324".equals(codeString)) + return V3TribalEntityUS._324; + if ("325".equals(codeString)) + return V3TribalEntityUS._325; + if ("326".equals(codeString)) + return V3TribalEntityUS._326; + if ("327".equals(codeString)) + return V3TribalEntityUS._327; + if ("328".equals(codeString)) + return V3TribalEntityUS._328; + if ("329".equals(codeString)) + return V3TribalEntityUS._329; + if ("33".equals(codeString)) + return V3TribalEntityUS._33; + if ("330".equals(codeString)) + return V3TribalEntityUS._330; + if ("331".equals(codeString)) + return V3TribalEntityUS._331; + if ("332".equals(codeString)) + return V3TribalEntityUS._332; + if ("333".equals(codeString)) + return V3TribalEntityUS._333; + if ("334".equals(codeString)) + return V3TribalEntityUS._334; + if ("335".equals(codeString)) + return V3TribalEntityUS._335; + if ("336".equals(codeString)) + return V3TribalEntityUS._336; + if ("337".equals(codeString)) + return V3TribalEntityUS._337; + if ("34".equals(codeString)) + return V3TribalEntityUS._34; + if ("35".equals(codeString)) + return V3TribalEntityUS._35; + if ("36".equals(codeString)) + return V3TribalEntityUS._36; + if ("37".equals(codeString)) + return V3TribalEntityUS._37; + if ("38".equals(codeString)) + return V3TribalEntityUS._38; + if ("39".equals(codeString)) + return V3TribalEntityUS._39; + if ("4".equals(codeString)) + return V3TribalEntityUS._4; + if ("40".equals(codeString)) + return V3TribalEntityUS._40; + if ("41".equals(codeString)) + return V3TribalEntityUS._41; + if ("42".equals(codeString)) + return V3TribalEntityUS._42; + if ("43".equals(codeString)) + return V3TribalEntityUS._43; + if ("44".equals(codeString)) + return V3TribalEntityUS._44; + if ("45".equals(codeString)) + return V3TribalEntityUS._45; + if ("46".equals(codeString)) + return V3TribalEntityUS._46; + if ("47".equals(codeString)) + return V3TribalEntityUS._47; + if ("48".equals(codeString)) + return V3TribalEntityUS._48; + if ("49".equals(codeString)) + return V3TribalEntityUS._49; + if ("5".equals(codeString)) + return V3TribalEntityUS._5; + if ("50".equals(codeString)) + return V3TribalEntityUS._50; + if ("51".equals(codeString)) + return V3TribalEntityUS._51; + if ("52".equals(codeString)) + return V3TribalEntityUS._52; + if ("53".equals(codeString)) + return V3TribalEntityUS._53; + if ("54".equals(codeString)) + return V3TribalEntityUS._54; + if ("55".equals(codeString)) + return V3TribalEntityUS._55; + if ("56".equals(codeString)) + return V3TribalEntityUS._56; + if ("57".equals(codeString)) + return V3TribalEntityUS._57; + if ("58".equals(codeString)) + return V3TribalEntityUS._58; + if ("59".equals(codeString)) + return V3TribalEntityUS._59; + if ("6".equals(codeString)) + return V3TribalEntityUS._6; + if ("60".equals(codeString)) + return V3TribalEntityUS._60; + if ("61".equals(codeString)) + return V3TribalEntityUS._61; + if ("62".equals(codeString)) + return V3TribalEntityUS._62; + if ("63".equals(codeString)) + return V3TribalEntityUS._63; + if ("64".equals(codeString)) + return V3TribalEntityUS._64; + if ("65".equals(codeString)) + return V3TribalEntityUS._65; + if ("66".equals(codeString)) + return V3TribalEntityUS._66; + if ("67".equals(codeString)) + return V3TribalEntityUS._67; + if ("68".equals(codeString)) + return V3TribalEntityUS._68; + if ("69".equals(codeString)) + return V3TribalEntityUS._69; + if ("7".equals(codeString)) + return V3TribalEntityUS._7; + if ("70".equals(codeString)) + return V3TribalEntityUS._70; + if ("71".equals(codeString)) + return V3TribalEntityUS._71; + if ("72".equals(codeString)) + return V3TribalEntityUS._72; + if ("73".equals(codeString)) + return V3TribalEntityUS._73; + if ("74".equals(codeString)) + return V3TribalEntityUS._74; + if ("75".equals(codeString)) + return V3TribalEntityUS._75; + if ("76".equals(codeString)) + return V3TribalEntityUS._76; + if ("77".equals(codeString)) + return V3TribalEntityUS._77; + if ("78".equals(codeString)) + return V3TribalEntityUS._78; + if ("79".equals(codeString)) + return V3TribalEntityUS._79; + if ("8".equals(codeString)) + return V3TribalEntityUS._8; + if ("80".equals(codeString)) + return V3TribalEntityUS._80; + if ("81".equals(codeString)) + return V3TribalEntityUS._81; + if ("82".equals(codeString)) + return V3TribalEntityUS._82; + if ("83".equals(codeString)) + return V3TribalEntityUS._83; + if ("84".equals(codeString)) + return V3TribalEntityUS._84; + if ("85".equals(codeString)) + return V3TribalEntityUS._85; + if ("86".equals(codeString)) + return V3TribalEntityUS._86; + if ("87".equals(codeString)) + return V3TribalEntityUS._87; + if ("88".equals(codeString)) + return V3TribalEntityUS._88; + if ("89".equals(codeString)) + return V3TribalEntityUS._89; + if ("9".equals(codeString)) + return V3TribalEntityUS._9; + if ("90".equals(codeString)) + return V3TribalEntityUS._90; + if ("91".equals(codeString)) + return V3TribalEntityUS._91; + if ("92".equals(codeString)) + return V3TribalEntityUS._92; + if ("93".equals(codeString)) + return V3TribalEntityUS._93; + if ("94".equals(codeString)) + return V3TribalEntityUS._94; + if ("95".equals(codeString)) + return V3TribalEntityUS._95; + if ("96".equals(codeString)) + return V3TribalEntityUS._96; + if ("97".equals(codeString)) + return V3TribalEntityUS._97; + if ("98".equals(codeString)) + return V3TribalEntityUS._98; + if ("99".equals(codeString)) + return V3TribalEntityUS._99; + throw new IllegalArgumentException("Unknown V3TribalEntityUS code '"+codeString+"'"); + } + + public String toCode(V3TribalEntityUS code) { + if (code == V3TribalEntityUS._NATIVEENTITYALASKA) + return "_NativeEntityAlaska"; + if (code == V3TribalEntityUS._338) + return "338"; + if (code == V3TribalEntityUS._339) + return "339"; + if (code == V3TribalEntityUS._340) + return "340"; + if (code == V3TribalEntityUS._341) + return "341"; + if (code == V3TribalEntityUS._342) + return "342"; + if (code == V3TribalEntityUS._343) + return "343"; + if (code == V3TribalEntityUS._344) + return "344"; + if (code == V3TribalEntityUS._345) + return "345"; + if (code == V3TribalEntityUS._346) + return "346"; + if (code == V3TribalEntityUS._347) + return "347"; + if (code == V3TribalEntityUS._348) + return "348"; + if (code == V3TribalEntityUS._349) + return "349"; + if (code == V3TribalEntityUS._350) + return "350"; + if (code == V3TribalEntityUS._351) + return "351"; + if (code == V3TribalEntityUS._352) + return "352"; + if (code == V3TribalEntityUS._353) + return "353"; + if (code == V3TribalEntityUS._354) + return "354"; + if (code == V3TribalEntityUS._355) + return "355"; + if (code == V3TribalEntityUS._356) + return "356"; + if (code == V3TribalEntityUS._357) + return "357"; + if (code == V3TribalEntityUS._358) + return "358"; + if (code == V3TribalEntityUS._359) + return "359"; + if (code == V3TribalEntityUS._360) + return "360"; + if (code == V3TribalEntityUS._361) + return "361"; + if (code == V3TribalEntityUS._362) + return "362"; + if (code == V3TribalEntityUS._363) + return "363"; + if (code == V3TribalEntityUS._364) + return "364"; + if (code == V3TribalEntityUS._365) + return "365"; + if (code == V3TribalEntityUS._366) + return "366"; + if (code == V3TribalEntityUS._367) + return "367"; + if (code == V3TribalEntityUS._368) + return "368"; + if (code == V3TribalEntityUS._369) + return "369"; + if (code == V3TribalEntityUS._370) + return "370"; + if (code == V3TribalEntityUS._371) + return "371"; + if (code == V3TribalEntityUS._372) + return "372"; + if (code == V3TribalEntityUS._373) + return "373"; + if (code == V3TribalEntityUS._374) + return "374"; + if (code == V3TribalEntityUS._375) + return "375"; + if (code == V3TribalEntityUS._376) + return "376"; + if (code == V3TribalEntityUS._377) + return "377"; + if (code == V3TribalEntityUS._378) + return "378"; + if (code == V3TribalEntityUS._379) + return "379"; + if (code == V3TribalEntityUS._380) + return "380"; + if (code == V3TribalEntityUS._381) + return "381"; + if (code == V3TribalEntityUS._382) + return "382"; + if (code == V3TribalEntityUS._383) + return "383"; + if (code == V3TribalEntityUS._384) + return "384"; + if (code == V3TribalEntityUS._385) + return "385"; + if (code == V3TribalEntityUS._386) + return "386"; + if (code == V3TribalEntityUS._387) + return "387"; + if (code == V3TribalEntityUS._388) + return "388"; + if (code == V3TribalEntityUS._389) + return "389"; + if (code == V3TribalEntityUS._390) + return "390"; + if (code == V3TribalEntityUS._391) + return "391"; + if (code == V3TribalEntityUS._392) + return "392"; + if (code == V3TribalEntityUS._393) + return "393"; + if (code == V3TribalEntityUS._394) + return "394"; + if (code == V3TribalEntityUS._395) + return "395"; + if (code == V3TribalEntityUS._396) + return "396"; + if (code == V3TribalEntityUS._397) + return "397"; + if (code == V3TribalEntityUS._398) + return "398"; + if (code == V3TribalEntityUS._399) + return "399"; + if (code == V3TribalEntityUS._400) + return "400"; + if (code == V3TribalEntityUS._401) + return "401"; + if (code == V3TribalEntityUS._402) + return "402"; + if (code == V3TribalEntityUS._403) + return "403"; + if (code == V3TribalEntityUS._404) + return "404"; + if (code == V3TribalEntityUS._405) + return "405"; + if (code == V3TribalEntityUS._406) + return "406"; + if (code == V3TribalEntityUS._407) + return "407"; + if (code == V3TribalEntityUS._408) + return "408"; + if (code == V3TribalEntityUS._409) + return "409"; + if (code == V3TribalEntityUS._410) + return "410"; + if (code == V3TribalEntityUS._411) + return "411"; + if (code == V3TribalEntityUS._412) + return "412"; + if (code == V3TribalEntityUS._413) + return "413"; + if (code == V3TribalEntityUS._414) + return "414"; + if (code == V3TribalEntityUS._415) + return "415"; + if (code == V3TribalEntityUS._416) + return "416"; + if (code == V3TribalEntityUS._417) + return "417"; + if (code == V3TribalEntityUS._418) + return "418"; + if (code == V3TribalEntityUS._419) + return "419"; + if (code == V3TribalEntityUS._420) + return "420"; + if (code == V3TribalEntityUS._421) + return "421"; + if (code == V3TribalEntityUS._422) + return "422"; + if (code == V3TribalEntityUS._423) + return "423"; + if (code == V3TribalEntityUS._424) + return "424"; + if (code == V3TribalEntityUS._425) + return "425"; + if (code == V3TribalEntityUS._426) + return "426"; + if (code == V3TribalEntityUS._427) + return "427"; + if (code == V3TribalEntityUS._428) + return "428"; + if (code == V3TribalEntityUS._429) + return "429"; + if (code == V3TribalEntityUS._430) + return "430"; + if (code == V3TribalEntityUS._431) + return "431"; + if (code == V3TribalEntityUS._432) + return "432"; + if (code == V3TribalEntityUS._433) + return "433"; + if (code == V3TribalEntityUS._434) + return "434"; + if (code == V3TribalEntityUS._435) + return "435"; + if (code == V3TribalEntityUS._436) + return "436"; + if (code == V3TribalEntityUS._437) + return "437"; + if (code == V3TribalEntityUS._438) + return "438"; + if (code == V3TribalEntityUS._439) + return "439"; + if (code == V3TribalEntityUS._440) + return "440"; + if (code == V3TribalEntityUS._441) + return "441"; + if (code == V3TribalEntityUS._442) + return "442"; + if (code == V3TribalEntityUS._443) + return "443"; + if (code == V3TribalEntityUS._444) + return "444"; + if (code == V3TribalEntityUS._445) + return "445"; + if (code == V3TribalEntityUS._446) + return "446"; + if (code == V3TribalEntityUS._447) + return "447"; + if (code == V3TribalEntityUS._448) + return "448"; + if (code == V3TribalEntityUS._449) + return "449"; + if (code == V3TribalEntityUS._450) + return "450"; + if (code == V3TribalEntityUS._451) + return "451"; + if (code == V3TribalEntityUS._452) + return "452"; + if (code == V3TribalEntityUS._453) + return "453"; + if (code == V3TribalEntityUS._454) + return "454"; + if (code == V3TribalEntityUS._455) + return "455"; + if (code == V3TribalEntityUS._456) + return "456"; + if (code == V3TribalEntityUS._457) + return "457"; + if (code == V3TribalEntityUS._458) + return "458"; + if (code == V3TribalEntityUS._459) + return "459"; + if (code == V3TribalEntityUS._460) + return "460"; + if (code == V3TribalEntityUS._461) + return "461"; + if (code == V3TribalEntityUS._462) + return "462"; + if (code == V3TribalEntityUS._463) + return "463"; + if (code == V3TribalEntityUS._464) + return "464"; + if (code == V3TribalEntityUS._465) + return "465"; + if (code == V3TribalEntityUS._466) + return "466"; + if (code == V3TribalEntityUS._467) + return "467"; + if (code == V3TribalEntityUS._468) + return "468"; + if (code == V3TribalEntityUS._469) + return "469"; + if (code == V3TribalEntityUS._470) + return "470"; + if (code == V3TribalEntityUS._471) + return "471"; + if (code == V3TribalEntityUS._472) + return "472"; + if (code == V3TribalEntityUS._473) + return "473"; + if (code == V3TribalEntityUS._474) + return "474"; + if (code == V3TribalEntityUS._475) + return "475"; + if (code == V3TribalEntityUS._476) + return "476"; + if (code == V3TribalEntityUS._477) + return "477"; + if (code == V3TribalEntityUS._478) + return "478"; + if (code == V3TribalEntityUS._479) + return "479"; + if (code == V3TribalEntityUS._480) + return "480"; + if (code == V3TribalEntityUS._481) + return "481"; + if (code == V3TribalEntityUS._482) + return "482"; + if (code == V3TribalEntityUS._483) + return "483"; + if (code == V3TribalEntityUS._484) + return "484"; + if (code == V3TribalEntityUS._485) + return "485"; + if (code == V3TribalEntityUS._486) + return "486"; + if (code == V3TribalEntityUS._487) + return "487"; + if (code == V3TribalEntityUS._488) + return "488"; + if (code == V3TribalEntityUS._489) + return "489"; + if (code == V3TribalEntityUS._490) + return "490"; + if (code == V3TribalEntityUS._491) + return "491"; + if (code == V3TribalEntityUS._492) + return "492"; + if (code == V3TribalEntityUS._493) + return "493"; + if (code == V3TribalEntityUS._494) + return "494"; + if (code == V3TribalEntityUS._495) + return "495"; + if (code == V3TribalEntityUS._496) + return "496"; + if (code == V3TribalEntityUS._497) + return "497"; + if (code == V3TribalEntityUS._498) + return "498"; + if (code == V3TribalEntityUS._499) + return "499"; + if (code == V3TribalEntityUS._500) + return "500"; + if (code == V3TribalEntityUS._501) + return "501"; + if (code == V3TribalEntityUS._502) + return "502"; + if (code == V3TribalEntityUS._503) + return "503"; + if (code == V3TribalEntityUS._504) + return "504"; + if (code == V3TribalEntityUS._505) + return "505"; + if (code == V3TribalEntityUS._506) + return "506"; + if (code == V3TribalEntityUS._507) + return "507"; + if (code == V3TribalEntityUS._508) + return "508"; + if (code == V3TribalEntityUS._509) + return "509"; + if (code == V3TribalEntityUS._510) + return "510"; + if (code == V3TribalEntityUS._511) + return "511"; + if (code == V3TribalEntityUS._512) + return "512"; + if (code == V3TribalEntityUS._513) + return "513"; + if (code == V3TribalEntityUS._514) + return "514"; + if (code == V3TribalEntityUS._515) + return "515"; + if (code == V3TribalEntityUS._516) + return "516"; + if (code == V3TribalEntityUS._517) + return "517"; + if (code == V3TribalEntityUS._518) + return "518"; + if (code == V3TribalEntityUS._519) + return "519"; + if (code == V3TribalEntityUS._520) + return "520"; + if (code == V3TribalEntityUS._521) + return "521"; + if (code == V3TribalEntityUS._522) + return "522"; + if (code == V3TribalEntityUS._523) + return "523"; + if (code == V3TribalEntityUS._524) + return "524"; + if (code == V3TribalEntityUS._525) + return "525"; + if (code == V3TribalEntityUS._526) + return "526"; + if (code == V3TribalEntityUS._527) + return "527"; + if (code == V3TribalEntityUS._528) + return "528"; + if (code == V3TribalEntityUS._529) + return "529"; + if (code == V3TribalEntityUS._530) + return "530"; + if (code == V3TribalEntityUS._531) + return "531"; + if (code == V3TribalEntityUS._532) + return "532"; + if (code == V3TribalEntityUS._533) + return "533"; + if (code == V3TribalEntityUS._534) + return "534"; + if (code == V3TribalEntityUS._535) + return "535"; + if (code == V3TribalEntityUS._536) + return "536"; + if (code == V3TribalEntityUS._537) + return "537"; + if (code == V3TribalEntityUS._538) + return "538"; + if (code == V3TribalEntityUS._539) + return "539"; + if (code == V3TribalEntityUS._540) + return "540"; + if (code == V3TribalEntityUS._541) + return "541"; + if (code == V3TribalEntityUS._542) + return "542"; + if (code == V3TribalEntityUS._543) + return "543"; + if (code == V3TribalEntityUS._544) + return "544"; + if (code == V3TribalEntityUS._545) + return "545"; + if (code == V3TribalEntityUS._546) + return "546"; + if (code == V3TribalEntityUS._547) + return "547"; + if (code == V3TribalEntityUS._548) + return "548"; + if (code == V3TribalEntityUS._549) + return "549"; + if (code == V3TribalEntityUS._550) + return "550"; + if (code == V3TribalEntityUS._551) + return "551"; + if (code == V3TribalEntityUS._552) + return "552"; + if (code == V3TribalEntityUS._553) + return "553"; + if (code == V3TribalEntityUS._554) + return "554"; + if (code == V3TribalEntityUS._555) + return "555"; + if (code == V3TribalEntityUS._556) + return "556"; + if (code == V3TribalEntityUS._557) + return "557"; + if (code == V3TribalEntityUS._558) + return "558"; + if (code == V3TribalEntityUS._559) + return "559"; + if (code == V3TribalEntityUS._560) + return "560"; + if (code == V3TribalEntityUS._561) + return "561"; + if (code == V3TribalEntityUS._562) + return "562"; + if (code == V3TribalEntityUS._563) + return "563"; + if (code == V3TribalEntityUS._564) + return "564"; + if (code == V3TribalEntityUS._565) + return "565"; + if (code == V3TribalEntityUS._566) + return "566"; + if (code == V3TribalEntityUS._NATIVEENTITYCONTIGUOUS) + return "_NativeEntityContiguous"; + if (code == V3TribalEntityUS._1) + return "1"; + if (code == V3TribalEntityUS._10) + return "10"; + if (code == V3TribalEntityUS._100) + return "100"; + if (code == V3TribalEntityUS._101) + return "101"; + if (code == V3TribalEntityUS._102) + return "102"; + if (code == V3TribalEntityUS._103) + return "103"; + if (code == V3TribalEntityUS._104) + return "104"; + if (code == V3TribalEntityUS._105) + return "105"; + if (code == V3TribalEntityUS._106) + return "106"; + if (code == V3TribalEntityUS._107) + return "107"; + if (code == V3TribalEntityUS._108) + return "108"; + if (code == V3TribalEntityUS._109) + return "109"; + if (code == V3TribalEntityUS._11) + return "11"; + if (code == V3TribalEntityUS._110) + return "110"; + if (code == V3TribalEntityUS._111) + return "111"; + if (code == V3TribalEntityUS._112) + return "112"; + if (code == V3TribalEntityUS._113) + return "113"; + if (code == V3TribalEntityUS._114) + return "114"; + if (code == V3TribalEntityUS._115) + return "115"; + if (code == V3TribalEntityUS._116) + return "116"; + if (code == V3TribalEntityUS._117) + return "117"; + if (code == V3TribalEntityUS._118) + return "118"; + if (code == V3TribalEntityUS._119) + return "119"; + if (code == V3TribalEntityUS._12) + return "12"; + if (code == V3TribalEntityUS._120) + return "120"; + if (code == V3TribalEntityUS._121) + return "121"; + if (code == V3TribalEntityUS._122) + return "122"; + if (code == V3TribalEntityUS._123) + return "123"; + if (code == V3TribalEntityUS._124) + return "124"; + if (code == V3TribalEntityUS._125) + return "125"; + if (code == V3TribalEntityUS._126) + return "126"; + if (code == V3TribalEntityUS._127) + return "127"; + if (code == V3TribalEntityUS._128) + return "128"; + if (code == V3TribalEntityUS._129) + return "129"; + if (code == V3TribalEntityUS._13) + return "13"; + if (code == V3TribalEntityUS._130) + return "130"; + if (code == V3TribalEntityUS._131) + return "131"; + if (code == V3TribalEntityUS._132) + return "132"; + if (code == V3TribalEntityUS._133) + return "133"; + if (code == V3TribalEntityUS._134) + return "134"; + if (code == V3TribalEntityUS._135) + return "135"; + if (code == V3TribalEntityUS._136) + return "136"; + if (code == V3TribalEntityUS._137) + return "137"; + if (code == V3TribalEntityUS._138) + return "138"; + if (code == V3TribalEntityUS._139) + return "139"; + if (code == V3TribalEntityUS._14) + return "14"; + if (code == V3TribalEntityUS._140) + return "140"; + if (code == V3TribalEntityUS._141) + return "141"; + if (code == V3TribalEntityUS._142) + return "142"; + if (code == V3TribalEntityUS._143) + return "143"; + if (code == V3TribalEntityUS._144) + return "144"; + if (code == V3TribalEntityUS._145) + return "145"; + if (code == V3TribalEntityUS._146) + return "146"; + if (code == V3TribalEntityUS._147) + return "147"; + if (code == V3TribalEntityUS._148) + return "148"; + if (code == V3TribalEntityUS._149) + return "149"; + if (code == V3TribalEntityUS._15) + return "15"; + if (code == V3TribalEntityUS._150) + return "150"; + if (code == V3TribalEntityUS._151) + return "151"; + if (code == V3TribalEntityUS._152) + return "152"; + if (code == V3TribalEntityUS._153) + return "153"; + if (code == V3TribalEntityUS._154) + return "154"; + if (code == V3TribalEntityUS._155) + return "155"; + if (code == V3TribalEntityUS._156) + return "156"; + if (code == V3TribalEntityUS._157) + return "157"; + if (code == V3TribalEntityUS._158) + return "158"; + if (code == V3TribalEntityUS._159) + return "159"; + if (code == V3TribalEntityUS._16) + return "16"; + if (code == V3TribalEntityUS._160) + return "160"; + if (code == V3TribalEntityUS._161) + return "161"; + if (code == V3TribalEntityUS._162) + return "162"; + if (code == V3TribalEntityUS._163) + return "163"; + if (code == V3TribalEntityUS._164) + return "164"; + if (code == V3TribalEntityUS._165) + return "165"; + if (code == V3TribalEntityUS._166) + return "166"; + if (code == V3TribalEntityUS._167) + return "167"; + if (code == V3TribalEntityUS._168) + return "168"; + if (code == V3TribalEntityUS._169) + return "169"; + if (code == V3TribalEntityUS._17) + return "17"; + if (code == V3TribalEntityUS._170) + return "170"; + if (code == V3TribalEntityUS._171) + return "171"; + if (code == V3TribalEntityUS._172) + return "172"; + if (code == V3TribalEntityUS._173) + return "173"; + if (code == V3TribalEntityUS._174) + return "174"; + if (code == V3TribalEntityUS._175) + return "175"; + if (code == V3TribalEntityUS._176) + return "176"; + if (code == V3TribalEntityUS._177) + return "177"; + if (code == V3TribalEntityUS._178) + return "178"; + if (code == V3TribalEntityUS._179) + return "179"; + if (code == V3TribalEntityUS._18) + return "18"; + if (code == V3TribalEntityUS._180) + return "180"; + if (code == V3TribalEntityUS._181) + return "181"; + if (code == V3TribalEntityUS._182) + return "182"; + if (code == V3TribalEntityUS._183) + return "183"; + if (code == V3TribalEntityUS._184) + return "184"; + if (code == V3TribalEntityUS._185) + return "185"; + if (code == V3TribalEntityUS._186) + return "186"; + if (code == V3TribalEntityUS._187) + return "187"; + if (code == V3TribalEntityUS._188) + return "188"; + if (code == V3TribalEntityUS._189) + return "189"; + if (code == V3TribalEntityUS._19) + return "19"; + if (code == V3TribalEntityUS._190) + return "190"; + if (code == V3TribalEntityUS._191) + return "191"; + if (code == V3TribalEntityUS._192) + return "192"; + if (code == V3TribalEntityUS._193) + return "193"; + if (code == V3TribalEntityUS._194) + return "194"; + if (code == V3TribalEntityUS._195) + return "195"; + if (code == V3TribalEntityUS._196) + return "196"; + if (code == V3TribalEntityUS._197) + return "197"; + if (code == V3TribalEntityUS._198) + return "198"; + if (code == V3TribalEntityUS._199) + return "199"; + if (code == V3TribalEntityUS._2) + return "2"; + if (code == V3TribalEntityUS._20) + return "20"; + if (code == V3TribalEntityUS._200) + return "200"; + if (code == V3TribalEntityUS._201) + return "201"; + if (code == V3TribalEntityUS._202) + return "202"; + if (code == V3TribalEntityUS._203) + return "203"; + if (code == V3TribalEntityUS._204) + return "204"; + if (code == V3TribalEntityUS._205) + return "205"; + if (code == V3TribalEntityUS._206) + return "206"; + if (code == V3TribalEntityUS._207) + return "207"; + if (code == V3TribalEntityUS._208) + return "208"; + if (code == V3TribalEntityUS._209) + return "209"; + if (code == V3TribalEntityUS._21) + return "21"; + if (code == V3TribalEntityUS._210) + return "210"; + if (code == V3TribalEntityUS._211) + return "211"; + if (code == V3TribalEntityUS._212) + return "212"; + if (code == V3TribalEntityUS._213) + return "213"; + if (code == V3TribalEntityUS._214) + return "214"; + if (code == V3TribalEntityUS._215) + return "215"; + if (code == V3TribalEntityUS._216) + return "216"; + if (code == V3TribalEntityUS._217) + return "217"; + if (code == V3TribalEntityUS._218) + return "218"; + if (code == V3TribalEntityUS._219) + return "219"; + if (code == V3TribalEntityUS._22) + return "22"; + if (code == V3TribalEntityUS._220) + return "220"; + if (code == V3TribalEntityUS._221) + return "221"; + if (code == V3TribalEntityUS._222) + return "222"; + if (code == V3TribalEntityUS._223) + return "223"; + if (code == V3TribalEntityUS._224) + return "224"; + if (code == V3TribalEntityUS._225) + return "225"; + if (code == V3TribalEntityUS._226) + return "226"; + if (code == V3TribalEntityUS._227) + return "227"; + if (code == V3TribalEntityUS._228) + return "228"; + if (code == V3TribalEntityUS._229) + return "229"; + if (code == V3TribalEntityUS._23) + return "23"; + if (code == V3TribalEntityUS._230) + return "230"; + if (code == V3TribalEntityUS._231) + return "231"; + if (code == V3TribalEntityUS._232) + return "232"; + if (code == V3TribalEntityUS._233) + return "233"; + if (code == V3TribalEntityUS._234) + return "234"; + if (code == V3TribalEntityUS._235) + return "235"; + if (code == V3TribalEntityUS._236) + return "236"; + if (code == V3TribalEntityUS._237) + return "237"; + if (code == V3TribalEntityUS._238) + return "238"; + if (code == V3TribalEntityUS._239) + return "239"; + if (code == V3TribalEntityUS._24) + return "24"; + if (code == V3TribalEntityUS._240) + return "240"; + if (code == V3TribalEntityUS._241) + return "241"; + if (code == V3TribalEntityUS._242) + return "242"; + if (code == V3TribalEntityUS._243) + return "243"; + if (code == V3TribalEntityUS._244) + return "244"; + if (code == V3TribalEntityUS._245) + return "245"; + if (code == V3TribalEntityUS._246) + return "246"; + if (code == V3TribalEntityUS._247) + return "247"; + if (code == V3TribalEntityUS._248) + return "248"; + if (code == V3TribalEntityUS._249) + return "249"; + if (code == V3TribalEntityUS._25) + return "25"; + if (code == V3TribalEntityUS._250) + return "250"; + if (code == V3TribalEntityUS._251) + return "251"; + if (code == V3TribalEntityUS._252) + return "252"; + if (code == V3TribalEntityUS._253) + return "253"; + if (code == V3TribalEntityUS._254) + return "254"; + if (code == V3TribalEntityUS._255) + return "255"; + if (code == V3TribalEntityUS._256) + return "256"; + if (code == V3TribalEntityUS._257) + return "257"; + if (code == V3TribalEntityUS._258) + return "258"; + if (code == V3TribalEntityUS._259) + return "259"; + if (code == V3TribalEntityUS._26) + return "26"; + if (code == V3TribalEntityUS._260) + return "260"; + if (code == V3TribalEntityUS._261) + return "261"; + if (code == V3TribalEntityUS._262) + return "262"; + if (code == V3TribalEntityUS._263) + return "263"; + if (code == V3TribalEntityUS._264) + return "264"; + if (code == V3TribalEntityUS._265) + return "265"; + if (code == V3TribalEntityUS._266) + return "266"; + if (code == V3TribalEntityUS._267) + return "267"; + if (code == V3TribalEntityUS._268) + return "268"; + if (code == V3TribalEntityUS._269) + return "269"; + if (code == V3TribalEntityUS._27) + return "27"; + if (code == V3TribalEntityUS._270) + return "270"; + if (code == V3TribalEntityUS._271) + return "271"; + if (code == V3TribalEntityUS._272) + return "272"; + if (code == V3TribalEntityUS._273) + return "273"; + if (code == V3TribalEntityUS._274) + return "274"; + if (code == V3TribalEntityUS._275) + return "275"; + if (code == V3TribalEntityUS._276) + return "276"; + if (code == V3TribalEntityUS._277) + return "277"; + if (code == V3TribalEntityUS._278) + return "278"; + if (code == V3TribalEntityUS._279) + return "279"; + if (code == V3TribalEntityUS._28) + return "28"; + if (code == V3TribalEntityUS._280) + return "280"; + if (code == V3TribalEntityUS._281) + return "281"; + if (code == V3TribalEntityUS._282) + return "282"; + if (code == V3TribalEntityUS._283) + return "283"; + if (code == V3TribalEntityUS._284) + return "284"; + if (code == V3TribalEntityUS._285) + return "285"; + if (code == V3TribalEntityUS._286) + return "286"; + if (code == V3TribalEntityUS._287) + return "287"; + if (code == V3TribalEntityUS._288) + return "288"; + if (code == V3TribalEntityUS._289) + return "289"; + if (code == V3TribalEntityUS._29) + return "29"; + if (code == V3TribalEntityUS._290) + return "290"; + if (code == V3TribalEntityUS._291) + return "291"; + if (code == V3TribalEntityUS._292) + return "292"; + if (code == V3TribalEntityUS._293) + return "293"; + if (code == V3TribalEntityUS._294) + return "294"; + if (code == V3TribalEntityUS._295) + return "295"; + if (code == V3TribalEntityUS._296) + return "296"; + if (code == V3TribalEntityUS._297) + return "297"; + if (code == V3TribalEntityUS._298) + return "298"; + if (code == V3TribalEntityUS._299) + return "299"; + if (code == V3TribalEntityUS._3) + return "3"; + if (code == V3TribalEntityUS._30) + return "30"; + if (code == V3TribalEntityUS._300) + return "300"; + if (code == V3TribalEntityUS._301) + return "301"; + if (code == V3TribalEntityUS._302) + return "302"; + if (code == V3TribalEntityUS._303) + return "303"; + if (code == V3TribalEntityUS._304) + return "304"; + if (code == V3TribalEntityUS._305) + return "305"; + if (code == V3TribalEntityUS._306) + return "306"; + if (code == V3TribalEntityUS._307) + return "307"; + if (code == V3TribalEntityUS._308) + return "308"; + if (code == V3TribalEntityUS._309) + return "309"; + if (code == V3TribalEntityUS._31) + return "31"; + if (code == V3TribalEntityUS._310) + return "310"; + if (code == V3TribalEntityUS._311) + return "311"; + if (code == V3TribalEntityUS._312) + return "312"; + if (code == V3TribalEntityUS._313) + return "313"; + if (code == V3TribalEntityUS._314) + return "314"; + if (code == V3TribalEntityUS._315) + return "315"; + if (code == V3TribalEntityUS._316) + return "316"; + if (code == V3TribalEntityUS._317) + return "317"; + if (code == V3TribalEntityUS._318) + return "318"; + if (code == V3TribalEntityUS._319) + return "319"; + if (code == V3TribalEntityUS._32) + return "32"; + if (code == V3TribalEntityUS._320) + return "320"; + if (code == V3TribalEntityUS._321) + return "321"; + if (code == V3TribalEntityUS._322) + return "322"; + if (code == V3TribalEntityUS._323) + return "323"; + if (code == V3TribalEntityUS._324) + return "324"; + if (code == V3TribalEntityUS._325) + return "325"; + if (code == V3TribalEntityUS._326) + return "326"; + if (code == V3TribalEntityUS._327) + return "327"; + if (code == V3TribalEntityUS._328) + return "328"; + if (code == V3TribalEntityUS._329) + return "329"; + if (code == V3TribalEntityUS._33) + return "33"; + if (code == V3TribalEntityUS._330) + return "330"; + if (code == V3TribalEntityUS._331) + return "331"; + if (code == V3TribalEntityUS._332) + return "332"; + if (code == V3TribalEntityUS._333) + return "333"; + if (code == V3TribalEntityUS._334) + return "334"; + if (code == V3TribalEntityUS._335) + return "335"; + if (code == V3TribalEntityUS._336) + return "336"; + if (code == V3TribalEntityUS._337) + return "337"; + if (code == V3TribalEntityUS._34) + return "34"; + if (code == V3TribalEntityUS._35) + return "35"; + if (code == V3TribalEntityUS._36) + return "36"; + if (code == V3TribalEntityUS._37) + return "37"; + if (code == V3TribalEntityUS._38) + return "38"; + if (code == V3TribalEntityUS._39) + return "39"; + if (code == V3TribalEntityUS._4) + return "4"; + if (code == V3TribalEntityUS._40) + return "40"; + if (code == V3TribalEntityUS._41) + return "41"; + if (code == V3TribalEntityUS._42) + return "42"; + if (code == V3TribalEntityUS._43) + return "43"; + if (code == V3TribalEntityUS._44) + return "44"; + if (code == V3TribalEntityUS._45) + return "45"; + if (code == V3TribalEntityUS._46) + return "46"; + if (code == V3TribalEntityUS._47) + return "47"; + if (code == V3TribalEntityUS._48) + return "48"; + if (code == V3TribalEntityUS._49) + return "49"; + if (code == V3TribalEntityUS._5) + return "5"; + if (code == V3TribalEntityUS._50) + return "50"; + if (code == V3TribalEntityUS._51) + return "51"; + if (code == V3TribalEntityUS._52) + return "52"; + if (code == V3TribalEntityUS._53) + return "53"; + if (code == V3TribalEntityUS._54) + return "54"; + if (code == V3TribalEntityUS._55) + return "55"; + if (code == V3TribalEntityUS._56) + return "56"; + if (code == V3TribalEntityUS._57) + return "57"; + if (code == V3TribalEntityUS._58) + return "58"; + if (code == V3TribalEntityUS._59) + return "59"; + if (code == V3TribalEntityUS._6) + return "6"; + if (code == V3TribalEntityUS._60) + return "60"; + if (code == V3TribalEntityUS._61) + return "61"; + if (code == V3TribalEntityUS._62) + return "62"; + if (code == V3TribalEntityUS._63) + return "63"; + if (code == V3TribalEntityUS._64) + return "64"; + if (code == V3TribalEntityUS._65) + return "65"; + if (code == V3TribalEntityUS._66) + return "66"; + if (code == V3TribalEntityUS._67) + return "67"; + if (code == V3TribalEntityUS._68) + return "68"; + if (code == V3TribalEntityUS._69) + return "69"; + if (code == V3TribalEntityUS._7) + return "7"; + if (code == V3TribalEntityUS._70) + return "70"; + if (code == V3TribalEntityUS._71) + return "71"; + if (code == V3TribalEntityUS._72) + return "72"; + if (code == V3TribalEntityUS._73) + return "73"; + if (code == V3TribalEntityUS._74) + return "74"; + if (code == V3TribalEntityUS._75) + return "75"; + if (code == V3TribalEntityUS._76) + return "76"; + if (code == V3TribalEntityUS._77) + return "77"; + if (code == V3TribalEntityUS._78) + return "78"; + if (code == V3TribalEntityUS._79) + return "79"; + if (code == V3TribalEntityUS._8) + return "8"; + if (code == V3TribalEntityUS._80) + return "80"; + if (code == V3TribalEntityUS._81) + return "81"; + if (code == V3TribalEntityUS._82) + return "82"; + if (code == V3TribalEntityUS._83) + return "83"; + if (code == V3TribalEntityUS._84) + return "84"; + if (code == V3TribalEntityUS._85) + return "85"; + if (code == V3TribalEntityUS._86) + return "86"; + if (code == V3TribalEntityUS._87) + return "87"; + if (code == V3TribalEntityUS._88) + return "88"; + if (code == V3TribalEntityUS._89) + return "89"; + if (code == V3TribalEntityUS._9) + return "9"; + if (code == V3TribalEntityUS._90) + return "90"; + if (code == V3TribalEntityUS._91) + return "91"; + if (code == V3TribalEntityUS._92) + return "92"; + if (code == V3TribalEntityUS._93) + return "93"; + if (code == V3TribalEntityUS._94) + return "94"; + if (code == V3TribalEntityUS._95) + return "95"; + if (code == V3TribalEntityUS._96) + return "96"; + if (code == V3TribalEntityUS._97) + return "97"; + if (code == V3TribalEntityUS._98) + return "98"; + if (code == V3TribalEntityUS._99) + return "99"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturer.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturer.java new file mode 100644 index 00000000000..409a317f214 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturer.java @@ -0,0 +1,427 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum V3VaccineManufacturer { + + /** + * Abbott Laboratories (includes Ross Products Division) + */ + AB, + /** + * Adams Laboratories + */ + AD, + /** + * Alpha Therapeutic Corporation + */ + ALP, + /** + * Armour [Inactive-use CEN] + */ + AR, + /** + * Aviron + */ + AVI, + /** + * Baxter Healthcare Corporation + */ + BA, + /** + * Bayer Corporation (includes Miles, Inc. and Cutter Laboratories) + */ + BAY, + /** + * Berna Products [Inactive-use BPC] + */ + BP, + /** + * Berna Products Corporation (includes Swiss Serum and Vaccine Institute Berne) + */ + BPC, + /** + * Centeon L.L.C. (includes Armour Pharmaceutical Company) + */ + CEN, + /** + * Chiron Corporation + */ + CHI, + /** + * Connaught [Inactive-use PMC] + */ + CON, + /** + * Evans Medical Limited (an affiliate of Medeva Pharmaceuticals, Inc.) + */ + EVN, + /** + * Greer Laboratories, Inc. + */ + GRE, + /** + * Immuno International AG + */ + IAG, + /** + * Merieux [Inactive-use PMC] + */ + IM, + /** + * Immuno-U.S., Inc. + */ + IUS, + /** + * The Research Foundation for Microbial Diseases of Osaka University (BIKEN) + */ + JPN, + /** + * Korea Green Cross Corporation + */ + KGC, + /** + * Lederle [Inactive-use WAL] + */ + LED, + /** + * Massachusetts Public Health Biologic Laboratories + */ + MA, + /** + * MedImmune, Inc. + */ + MED, + /** + * Miles [Inactive-use BAY] + */ + MIL, + /** + * Bioport Corporation (formerly Michigan Biologic Products Institute) + */ + MIP, + /** + * Merck & Co., Inc. + */ + MSD, + /** + * NABI (formerly North American Biologicals, Inc.) + */ + NAB, + /** + * North American Vaccine, Inc. + */ + NAV, + /** + * Novartis Pharmaceutical Corporation (includes Ciba-Geigy Limited and Sandoz Limited) + */ + NOV, + /** + * New York Blood Center + */ + NYB, + /** + * Ortho Diagnostic Systems, Inc. + */ + ORT, + /** + * Organon Teknika Corporation + */ + OTC, + /** + * Parkedale Pharmaceuticals (formerly Parke-Davis) + */ + PD, + /** + * Aventis Pasteur Inc. (formerly Pasteur Merieux Connaught; includes Connaught Laboratories and Pasteur Merieux) + */ + PMC, + /** + * Praxis Biologics [Inactive-use WAL] + */ + PRX, + /** + * Sclavo, Inc. + */ + SCL, + /** + * Swiss Serum and Vaccine Inst. [Inactive-use BPC] + */ + SI, + /** + * SmithKline Beecham + */ + SKB, + /** + * United States Army Medical Research and Materiel Command + */ + USA, + /** + * Wyeth-Ayerst [Inactive-use WAL] + */ + WA, + /** + * Wyeth-Ayerst (includes Wyeth-Lederle Vaccines and Pediatrics, Wyeth Laboratories, Lederle Laboratories, and Praxis Biologics) + */ + WAL, + /** + * added to help the parsers + */ + NULL; + public static V3VaccineManufacturer fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("AB".equals(codeString)) + return AB; + if ("AD".equals(codeString)) + return AD; + if ("ALP".equals(codeString)) + return ALP; + if ("AR".equals(codeString)) + return AR; + if ("AVI".equals(codeString)) + return AVI; + if ("BA".equals(codeString)) + return BA; + if ("BAY".equals(codeString)) + return BAY; + if ("BP".equals(codeString)) + return BP; + if ("BPC".equals(codeString)) + return BPC; + if ("CEN".equals(codeString)) + return CEN; + if ("CHI".equals(codeString)) + return CHI; + if ("CON".equals(codeString)) + return CON; + if ("EVN".equals(codeString)) + return EVN; + if ("GRE".equals(codeString)) + return GRE; + if ("IAG".equals(codeString)) + return IAG; + if ("IM".equals(codeString)) + return IM; + if ("IUS".equals(codeString)) + return IUS; + if ("JPN".equals(codeString)) + return JPN; + if ("KGC".equals(codeString)) + return KGC; + if ("LED".equals(codeString)) + return LED; + if ("MA".equals(codeString)) + return MA; + if ("MED".equals(codeString)) + return MED; + if ("MIL".equals(codeString)) + return MIL; + if ("MIP".equals(codeString)) + return MIP; + if ("MSD".equals(codeString)) + return MSD; + if ("NAB".equals(codeString)) + return NAB; + if ("NAV".equals(codeString)) + return NAV; + if ("NOV".equals(codeString)) + return NOV; + if ("NYB".equals(codeString)) + return NYB; + if ("ORT".equals(codeString)) + return ORT; + if ("OTC".equals(codeString)) + return OTC; + if ("PD".equals(codeString)) + return PD; + if ("PMC".equals(codeString)) + return PMC; + if ("PRX".equals(codeString)) + return PRX; + if ("SCL".equals(codeString)) + return SCL; + if ("SI".equals(codeString)) + return SI; + if ("SKB".equals(codeString)) + return SKB; + if ("USA".equals(codeString)) + return USA; + if ("WA".equals(codeString)) + return WA; + if ("WAL".equals(codeString)) + return WAL; + throw new Exception("Unknown V3VaccineManufacturer code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AB: return "AB"; + case AD: return "AD"; + case ALP: return "ALP"; + case AR: return "AR"; + case AVI: return "AVI"; + case BA: return "BA"; + case BAY: return "BAY"; + case BP: return "BP"; + case BPC: return "BPC"; + case CEN: return "CEN"; + case CHI: return "CHI"; + case CON: return "CON"; + case EVN: return "EVN"; + case GRE: return "GRE"; + case IAG: return "IAG"; + case IM: return "IM"; + case IUS: return "IUS"; + case JPN: return "JPN"; + case KGC: return "KGC"; + case LED: return "LED"; + case MA: return "MA"; + case MED: return "MED"; + case MIL: return "MIL"; + case MIP: return "MIP"; + case MSD: return "MSD"; + case NAB: return "NAB"; + case NAV: return "NAV"; + case NOV: return "NOV"; + case NYB: return "NYB"; + case ORT: return "ORT"; + case OTC: return "OTC"; + case PD: return "PD"; + case PMC: return "PMC"; + case PRX: return "PRX"; + case SCL: return "SCL"; + case SI: return "SI"; + case SKB: return "SKB"; + case USA: return "USA"; + case WA: return "WA"; + case WAL: return "WAL"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/v3/VaccineManufacturer"; + } + public String getDefinition() { + switch (this) { + case AB: return "Abbott Laboratories (includes Ross Products Division)"; + case AD: return "Adams Laboratories"; + case ALP: return "Alpha Therapeutic Corporation"; + case AR: return "Armour [Inactive-use CEN]"; + case AVI: return "Aviron"; + case BA: return "Baxter Healthcare Corporation"; + case BAY: return "Bayer Corporation (includes Miles, Inc. and Cutter Laboratories)"; + case BP: return "Berna Products [Inactive-use BPC]"; + case BPC: return "Berna Products Corporation (includes Swiss Serum and Vaccine Institute Berne)"; + case CEN: return "Centeon L.L.C. (includes Armour Pharmaceutical Company)"; + case CHI: return "Chiron Corporation"; + case CON: return "Connaught [Inactive-use PMC]"; + case EVN: return "Evans Medical Limited (an affiliate of Medeva Pharmaceuticals, Inc.)"; + case GRE: return "Greer Laboratories, Inc."; + case IAG: return "Immuno International AG"; + case IM: return "Merieux [Inactive-use PMC]"; + case IUS: return "Immuno-U.S., Inc."; + case JPN: return "The Research Foundation for Microbial Diseases of Osaka University (BIKEN)"; + case KGC: return "Korea Green Cross Corporation"; + case LED: return "Lederle [Inactive-use WAL]"; + case MA: return "Massachusetts Public Health Biologic Laboratories"; + case MED: return "MedImmune, Inc."; + case MIL: return "Miles [Inactive-use BAY]"; + case MIP: return "Bioport Corporation (formerly Michigan Biologic Products Institute)"; + case MSD: return "Merck & Co., Inc."; + case NAB: return "NABI (formerly North American Biologicals, Inc.)"; + case NAV: return "North American Vaccine, Inc."; + case NOV: return "Novartis Pharmaceutical Corporation (includes Ciba-Geigy Limited and Sandoz Limited)"; + case NYB: return "New York Blood Center"; + case ORT: return "Ortho Diagnostic Systems, Inc."; + case OTC: return "Organon Teknika Corporation"; + case PD: return "Parkedale Pharmaceuticals (formerly Parke-Davis)"; + case PMC: return "Aventis Pasteur Inc. (formerly Pasteur Merieux Connaught; includes Connaught Laboratories and Pasteur Merieux)"; + case PRX: return "Praxis Biologics [Inactive-use WAL]"; + case SCL: return "Sclavo, Inc."; + case SI: return "Swiss Serum and Vaccine Inst. [Inactive-use BPC]"; + case SKB: return "SmithKline Beecham"; + case USA: return "United States Army Medical Research and Materiel Command"; + case WA: return "Wyeth-Ayerst [Inactive-use WAL]"; + case WAL: return "Wyeth-Ayerst (includes Wyeth-Lederle Vaccines and Pediatrics, Wyeth Laboratories, Lederle Laboratories, and Praxis Biologics)"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AB: return "Abbott Laboratories (includes Ross Products Division)"; + case AD: return "Adams Laboratories"; + case ALP: return "Alpha Therapeutic Corporation"; + case AR: return "Armour [Inactive - use CEN]"; + case AVI: return "Aviron"; + case BA: return "Baxter Healthcare Corporation"; + case BAY: return "Bayer Corporation (includes Miles, Inc. and Cutter Laboratories)"; + case BP: return "Berna Products [Inactive - use BPC]"; + case BPC: return "Berna Products Corporation (includes Swiss Serum and Vaccine Institute Berne)"; + case CEN: return "Centeon L.L.C. (includes Armour Pharmaceutical Company)"; + case CHI: return "Chiron Corporation"; + case CON: return "Connaught [Inactive - use PMC]"; + case EVN: return "Evans Medical Limited (an affiliate of Medeva Pharmaceuticals, Inc.)"; + case GRE: return "Greer Laboratories, Inc."; + case IAG: return "Immuno International AG"; + case IM: return "Merieux [Inactive - use PMC]"; + case IUS: return "Immuno-U.S., Inc."; + case JPN: return "The Research Foundation for Microbial Diseases of Osaka University (BIKEN)"; + case KGC: return "Korea Green Cross Corporation"; + case LED: return "Lederle [Inactive - use WAL]"; + case MA: return "Massachusetts Public Health Biologic Laboratories"; + case MED: return "MedImmune, Inc."; + case MIL: return "Miles [Inactive - use BAY]"; + case MIP: return "Bioport Corporation (formerly Michigan Biologic Products Institute)"; + case MSD: return "Merck and Co., Inc."; + case NAB: return "NABI (formerly North American Biologicals, Inc.)"; + case NAV: return "North American Vaccine, Inc."; + case NOV: return "Novartis Pharmaceutical Corporation (includes Ciba-Geigy Limited and Sandoz Limited)"; + case NYB: return "New York Blood Center"; + case ORT: return "Ortho Diagnostic Systems, Inc."; + case OTC: return "Organon Teknika Corporation"; + case PD: return "Parkedale Pharmaceuticals (formerly Parke-Davis)"; + case PMC: return "Aventis Pasteur Inc. (formerly Pasteur Merieux Connaught; includes Connaught Laboratories and Pasteur Merieux)"; + case PRX: return "Praxis Biologics [Inactive - use WAL]"; + case SCL: return "Sclavo, Inc."; + case SI: return "Swiss Serum and Vaccine Inst. [Inactive - use BPC]"; + case SKB: return "SmithKline Beecham"; + case USA: return "United States Army Medical Research and Materiel Command"; + case WA: return "Wyeth-Ayerst [Inactive - use WAL]"; + case WAL: return "Wyeth-Ayerst (includes Wyeth-Lederle Vaccines and Pediatrics, Wyeth Laboratories, Lederle Laboratories, and Praxis Biologics)"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturerEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturerEnumFactory.java new file mode 100644 index 00000000000..1ce87a19175 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3VaccineManufacturerEnumFactory.java @@ -0,0 +1,211 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class V3VaccineManufacturerEnumFactory implements EnumFactory { + + public V3VaccineManufacturer fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("AB".equals(codeString)) + return V3VaccineManufacturer.AB; + if ("AD".equals(codeString)) + return V3VaccineManufacturer.AD; + if ("ALP".equals(codeString)) + return V3VaccineManufacturer.ALP; + if ("AR".equals(codeString)) + return V3VaccineManufacturer.AR; + if ("AVI".equals(codeString)) + return V3VaccineManufacturer.AVI; + if ("BA".equals(codeString)) + return V3VaccineManufacturer.BA; + if ("BAY".equals(codeString)) + return V3VaccineManufacturer.BAY; + if ("BP".equals(codeString)) + return V3VaccineManufacturer.BP; + if ("BPC".equals(codeString)) + return V3VaccineManufacturer.BPC; + if ("CEN".equals(codeString)) + return V3VaccineManufacturer.CEN; + if ("CHI".equals(codeString)) + return V3VaccineManufacturer.CHI; + if ("CON".equals(codeString)) + return V3VaccineManufacturer.CON; + if ("EVN".equals(codeString)) + return V3VaccineManufacturer.EVN; + if ("GRE".equals(codeString)) + return V3VaccineManufacturer.GRE; + if ("IAG".equals(codeString)) + return V3VaccineManufacturer.IAG; + if ("IM".equals(codeString)) + return V3VaccineManufacturer.IM; + if ("IUS".equals(codeString)) + return V3VaccineManufacturer.IUS; + if ("JPN".equals(codeString)) + return V3VaccineManufacturer.JPN; + if ("KGC".equals(codeString)) + return V3VaccineManufacturer.KGC; + if ("LED".equals(codeString)) + return V3VaccineManufacturer.LED; + if ("MA".equals(codeString)) + return V3VaccineManufacturer.MA; + if ("MED".equals(codeString)) + return V3VaccineManufacturer.MED; + if ("MIL".equals(codeString)) + return V3VaccineManufacturer.MIL; + if ("MIP".equals(codeString)) + return V3VaccineManufacturer.MIP; + if ("MSD".equals(codeString)) + return V3VaccineManufacturer.MSD; + if ("NAB".equals(codeString)) + return V3VaccineManufacturer.NAB; + if ("NAV".equals(codeString)) + return V3VaccineManufacturer.NAV; + if ("NOV".equals(codeString)) + return V3VaccineManufacturer.NOV; + if ("NYB".equals(codeString)) + return V3VaccineManufacturer.NYB; + if ("ORT".equals(codeString)) + return V3VaccineManufacturer.ORT; + if ("OTC".equals(codeString)) + return V3VaccineManufacturer.OTC; + if ("PD".equals(codeString)) + return V3VaccineManufacturer.PD; + if ("PMC".equals(codeString)) + return V3VaccineManufacturer.PMC; + if ("PRX".equals(codeString)) + return V3VaccineManufacturer.PRX; + if ("SCL".equals(codeString)) + return V3VaccineManufacturer.SCL; + if ("SI".equals(codeString)) + return V3VaccineManufacturer.SI; + if ("SKB".equals(codeString)) + return V3VaccineManufacturer.SKB; + if ("USA".equals(codeString)) + return V3VaccineManufacturer.USA; + if ("WA".equals(codeString)) + return V3VaccineManufacturer.WA; + if ("WAL".equals(codeString)) + return V3VaccineManufacturer.WAL; + throw new IllegalArgumentException("Unknown V3VaccineManufacturer code '"+codeString+"'"); + } + + public String toCode(V3VaccineManufacturer code) { + if (code == V3VaccineManufacturer.AB) + return "AB"; + if (code == V3VaccineManufacturer.AD) + return "AD"; + if (code == V3VaccineManufacturer.ALP) + return "ALP"; + if (code == V3VaccineManufacturer.AR) + return "AR"; + if (code == V3VaccineManufacturer.AVI) + return "AVI"; + if (code == V3VaccineManufacturer.BA) + return "BA"; + if (code == V3VaccineManufacturer.BAY) + return "BAY"; + if (code == V3VaccineManufacturer.BP) + return "BP"; + if (code == V3VaccineManufacturer.BPC) + return "BPC"; + if (code == V3VaccineManufacturer.CEN) + return "CEN"; + if (code == V3VaccineManufacturer.CHI) + return "CHI"; + if (code == V3VaccineManufacturer.CON) + return "CON"; + if (code == V3VaccineManufacturer.EVN) + return "EVN"; + if (code == V3VaccineManufacturer.GRE) + return "GRE"; + if (code == V3VaccineManufacturer.IAG) + return "IAG"; + if (code == V3VaccineManufacturer.IM) + return "IM"; + if (code == V3VaccineManufacturer.IUS) + return "IUS"; + if (code == V3VaccineManufacturer.JPN) + return "JPN"; + if (code == V3VaccineManufacturer.KGC) + return "KGC"; + if (code == V3VaccineManufacturer.LED) + return "LED"; + if (code == V3VaccineManufacturer.MA) + return "MA"; + if (code == V3VaccineManufacturer.MED) + return "MED"; + if (code == V3VaccineManufacturer.MIL) + return "MIL"; + if (code == V3VaccineManufacturer.MIP) + return "MIP"; + if (code == V3VaccineManufacturer.MSD) + return "MSD"; + if (code == V3VaccineManufacturer.NAB) + return "NAB"; + if (code == V3VaccineManufacturer.NAV) + return "NAV"; + if (code == V3VaccineManufacturer.NOV) + return "NOV"; + if (code == V3VaccineManufacturer.NYB) + return "NYB"; + if (code == V3VaccineManufacturer.ORT) + return "ORT"; + if (code == V3VaccineManufacturer.OTC) + return "OTC"; + if (code == V3VaccineManufacturer.PD) + return "PD"; + if (code == V3VaccineManufacturer.PMC) + return "PMC"; + if (code == V3VaccineManufacturer.PRX) + return "PRX"; + if (code == V3VaccineManufacturer.SCL) + return "SCL"; + if (code == V3VaccineManufacturer.SI) + return "SI"; + if (code == V3VaccineManufacturer.SKB) + return "SKB"; + if (code == V3VaccineManufacturer.USA) + return "USA"; + if (code == V3VaccineManufacturer.WA) + return "WA"; + if (code == V3VaccineManufacturer.WAL) + return "WAL"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatus.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatus.java new file mode 100644 index 00000000000..3428d750273 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatus.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum VaccinationProtocolDoseStatus { + + /** + * null + */ + COUNT, + /** + * null + */ + NOCOUNT, + /** + * added to help the parsers + */ + NULL; + public static VaccinationProtocolDoseStatus fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("count".equals(codeString)) + return COUNT; + if ("nocount".equals(codeString)) + return NOCOUNT; + throw new Exception("Unknown VaccinationProtocolDoseStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case COUNT: return "count"; + case NOCOUNT: return "nocount"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/vaccination-protocol-dose-status"; + } + public String getDefinition() { + switch (this) { + case COUNT: return ""; + case NOCOUNT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case COUNT: return "Counts"; + case NOCOUNT: return "Does not Count"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusEnumFactory.java new file mode 100644 index 00000000000..f654c9b5d69 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class VaccinationProtocolDoseStatusEnumFactory implements EnumFactory { + + public VaccinationProtocolDoseStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("count".equals(codeString)) + return VaccinationProtocolDoseStatus.COUNT; + if ("nocount".equals(codeString)) + return VaccinationProtocolDoseStatus.NOCOUNT; + throw new IllegalArgumentException("Unknown VaccinationProtocolDoseStatus code '"+codeString+"'"); + } + + public String toCode(VaccinationProtocolDoseStatus code) { + if (code == VaccinationProtocolDoseStatus.COUNT) + return "count"; + if (code == VaccinationProtocolDoseStatus.NOCOUNT) + return "nocount"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReason.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReason.java new file mode 100644 index 00000000000..3efe861bf83 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReason.java @@ -0,0 +1,112 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum VaccinationProtocolDoseStatusReason { + + /** + * null + */ + ADVSTORAGE, + /** + * null + */ + COLDCHBRK, + /** + * null + */ + EXPLOT, + /** + * null + */ + OUTSIDESCHED, + /** + * null + */ + PRODRECALL, + /** + * added to help the parsers + */ + NULL; + public static VaccinationProtocolDoseStatusReason fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("advstorage".equals(codeString)) + return ADVSTORAGE; + if ("coldchbrk".equals(codeString)) + return COLDCHBRK; + if ("explot".equals(codeString)) + return EXPLOT; + if ("outsidesched".equals(codeString)) + return OUTSIDESCHED; + if ("prodrecall".equals(codeString)) + return PRODRECALL; + throw new Exception("Unknown VaccinationProtocolDoseStatusReason code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ADVSTORAGE: return "advstorage"; + case COLDCHBRK: return "coldchbrk"; + case EXPLOT: return "explot"; + case OUTSIDESCHED: return "outsidesched"; + case PRODRECALL: return "prodrecall"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/vaccination-protocol-dose-status-reason"; + } + public String getDefinition() { + switch (this) { + case ADVSTORAGE: return ""; + case COLDCHBRK: return ""; + case EXPLOT: return ""; + case OUTSIDESCHED: return ""; + case PRODRECALL: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ADVSTORAGE: return "Adverse storgage condition"; + case COLDCHBRK: return "Cold chain break"; + case EXPLOT: return "Expired lot"; + case OUTSIDESCHED: return "Administered outside recommended schedule"; + case PRODRECALL: return "Product recall"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReasonEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReasonEnumFactory.java new file mode 100644 index 00000000000..38ca0f90a77 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseStatusReasonEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class VaccinationProtocolDoseStatusReasonEnumFactory implements EnumFactory { + + public VaccinationProtocolDoseStatusReason fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("advstorage".equals(codeString)) + return VaccinationProtocolDoseStatusReason.ADVSTORAGE; + if ("coldchbrk".equals(codeString)) + return VaccinationProtocolDoseStatusReason.COLDCHBRK; + if ("explot".equals(codeString)) + return VaccinationProtocolDoseStatusReason.EXPLOT; + if ("outsidesched".equals(codeString)) + return VaccinationProtocolDoseStatusReason.OUTSIDESCHED; + if ("prodrecall".equals(codeString)) + return VaccinationProtocolDoseStatusReason.PRODRECALL; + throw new IllegalArgumentException("Unknown VaccinationProtocolDoseStatusReason code '"+codeString+"'"); + } + + public String toCode(VaccinationProtocolDoseStatusReason code) { + if (code == VaccinationProtocolDoseStatusReason.ADVSTORAGE) + return "advstorage"; + if (code == VaccinationProtocolDoseStatusReason.COLDCHBRK) + return "coldchbrk"; + if (code == VaccinationProtocolDoseStatusReason.EXPLOT) + return "explot"; + if (code == VaccinationProtocolDoseStatusReason.OUTSIDESCHED) + return "outsidesched"; + if (code == VaccinationProtocolDoseStatusReason.PRODRECALL) + return "prodrecall"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTarget.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTarget.java new file mode 100644 index 00000000000..f6c862c72de --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTarget.java @@ -0,0 +1,148 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum VaccinationProtocolDoseTarget { + + /** + * null + */ + CRS, + /** + * null + */ + DIP, + /** + * null + */ + MEA, + /** + * null + */ + MUM, + /** + * null + */ + RUB, + /** + * null + */ + TET, + /** + * null + */ + HIB, + /** + * null + */ + PER, + /** + * null + */ + POL, + /** + * added to help the parsers + */ + NULL; + public static VaccinationProtocolDoseTarget fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("crs".equals(codeString)) + return CRS; + if ("dip".equals(codeString)) + return DIP; + if ("mea".equals(codeString)) + return MEA; + if ("mum".equals(codeString)) + return MUM; + if ("rub".equals(codeString)) + return RUB; + if ("tet".equals(codeString)) + return TET; + if ("hib".equals(codeString)) + return HIB; + if ("per".equals(codeString)) + return PER; + if ("pol".equals(codeString)) + return POL; + throw new Exception("Unknown VaccinationProtocolDoseTarget code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case CRS: return "crs"; + case DIP: return "dip"; + case MEA: return "mea"; + case MUM: return "mum"; + case RUB: return "rub"; + case TET: return "tet"; + case HIB: return "hib"; + case PER: return "per"; + case POL: return "pol"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/vaccination-protocol-dose-target"; + } + public String getDefinition() { + switch (this) { + case CRS: return ""; + case DIP: return ""; + case MEA: return ""; + case MUM: return ""; + case RUB: return ""; + case TET: return ""; + case HIB: return ""; + case PER: return ""; + case POL: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case CRS: return "Congenital Rubella Syndrome"; + case DIP: return "Diptheria"; + case MEA: return "Measles"; + case MUM: return "Mumps"; + case RUB: return "Rubella"; + case TET: return "Tetanus"; + case HIB: return "Haemophilus influenzae type b"; + case PER: return "Pertussis"; + case POL: return "Poliomyelitis"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTargetEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTargetEnumFactory.java new file mode 100644 index 00000000000..bda04b334ed --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VaccinationProtocolDoseTargetEnumFactory.java @@ -0,0 +1,87 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class VaccinationProtocolDoseTargetEnumFactory implements EnumFactory { + + public VaccinationProtocolDoseTarget fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("crs".equals(codeString)) + return VaccinationProtocolDoseTarget.CRS; + if ("dip".equals(codeString)) + return VaccinationProtocolDoseTarget.DIP; + if ("mea".equals(codeString)) + return VaccinationProtocolDoseTarget.MEA; + if ("mum".equals(codeString)) + return VaccinationProtocolDoseTarget.MUM; + if ("rub".equals(codeString)) + return VaccinationProtocolDoseTarget.RUB; + if ("tet".equals(codeString)) + return VaccinationProtocolDoseTarget.TET; + if ("hib".equals(codeString)) + return VaccinationProtocolDoseTarget.HIB; + if ("per".equals(codeString)) + return VaccinationProtocolDoseTarget.PER; + if ("pol".equals(codeString)) + return VaccinationProtocolDoseTarget.POL; + throw new IllegalArgumentException("Unknown VaccinationProtocolDoseTarget code '"+codeString+"'"); + } + + public String toCode(VaccinationProtocolDoseTarget code) { + if (code == VaccinationProtocolDoseTarget.CRS) + return "crs"; + if (code == VaccinationProtocolDoseTarget.DIP) + return "dip"; + if (code == VaccinationProtocolDoseTarget.MEA) + return "mea"; + if (code == VaccinationProtocolDoseTarget.MUM) + return "mum"; + if (code == VaccinationProtocolDoseTarget.RUB) + return "rub"; + if (code == VaccinationProtocolDoseTarget.TET) + return "tet"; + if (code == VaccinationProtocolDoseTarget.HIB) + return "hib"; + if (code == VaccinationProtocolDoseTarget.PER) + return "per"; + if (code == VaccinationProtocolDoseTarget.POL) + return "pol"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProduct.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProduct.java new file mode 100644 index 00000000000..4128a6580e1 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProduct.java @@ -0,0 +1,85 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum VisionProduct { + + /** + * null + */ + LENS, + /** + * null + */ + CONTACT, + /** + * added to help the parsers + */ + NULL; + public static VisionProduct fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("lens".equals(codeString)) + return LENS; + if ("contact".equals(codeString)) + return CONTACT; + throw new Exception("Unknown VisionProduct code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case LENS: return "lens"; + case CONTACT: return "contact"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/ex-visionprescriptionproduct"; + } + public String getDefinition() { + switch (this) { + case LENS: return ""; + case CONTACT: return ""; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case LENS: return "lens"; + case CONTACT: return "contact"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProductEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProductEnumFactory.java new file mode 100644 index 00000000000..7aa036915a0 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProductEnumFactory.java @@ -0,0 +1,59 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class VisionProductEnumFactory implements EnumFactory { + + public VisionProduct fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("lens".equals(codeString)) + return VisionProduct.LENS; + if ("contact".equals(codeString)) + return VisionProduct.CONTACT; + throw new IllegalArgumentException("Unknown VisionProduct code '"+codeString+"'"); + } + + public String toCode(VisionProduct code) { + if (code == VisionProduct.LENS) + return "lens"; + if (code == VisionProduct.CONTACT) + return "contact"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipType.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipType.java new file mode 100644 index 00000000000..c559b01deee --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipType.java @@ -0,0 +1,113 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +public enum XdsRelationshipType { + + /** + * A separate XDS Document that references a prior document, and may extend or +alter the observations in the prior document + */ + APND, + /** + * A new version of an existing document + */ + RPLC, + /** + * A transformed document is derived by a machine translation from some other format + */ + XFRM, + /** + * Both a XFRM and a RPLC relationship + */ + XFRMRPLC, + /** + * This document signs the target document + */ + SIGNS, + /** + * added to help the parsers + */ + NULL; + public static XdsRelationshipType fromCode(String codeString) throws Exception { + if (codeString == null || "".equals(codeString)) + return null; + if ("APND".equals(codeString)) + return APND; + if ("RPLC".equals(codeString)) + return RPLC; + if ("XFRM".equals(codeString)) + return XFRM; + if ("XFRM_RPLC".equals(codeString)) + return XFRMRPLC; + if ("signs".equals(codeString)) + return SIGNS; + throw new Exception("Unknown XdsRelationshipType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case APND: return "APND"; + case RPLC: return "RPLC"; + case XFRM: return "XFRM"; + case XFRMRPLC: return "XFRM_RPLC"; + case SIGNS: return "signs"; + default: return "?"; + } + } + public String getSystem() { + return "http://hl7.org/fhir/xds-relationship-type"; + } + public String getDefinition() { + switch (this) { + case APND: return "A separate XDS Document that references a prior document, and may extend or \nalter the observations in the prior document"; + case RPLC: return "A new version of an existing document"; + case XFRM: return "A transformed document is derived by a machine translation from some other format"; + case XFRMRPLC: return "Both a XFRM and a RPLC relationship"; + case SIGNS: return "This document signs the target document"; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case APND: return "A P N D"; + case RPLC: return "R P L C"; + case XFRM: return "X F R M"; + case XFRMRPLC: return "X F R M R P L C"; + case SIGNS: return "Signs"; + default: return "?"; + } + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipTypeEnumFactory.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipTypeEnumFactory.java new file mode 100644 index 00000000000..d94ba52e2bb --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/XdsRelationshipTypeEnumFactory.java @@ -0,0 +1,71 @@ +package org.hl7.fhir.instance.model.valuesets; + +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 + + +import org.hl7.fhir.instance.model.EnumFactory; + +public class XdsRelationshipTypeEnumFactory implements EnumFactory { + + public XdsRelationshipType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + return null; + if ("APND".equals(codeString)) + return XdsRelationshipType.APND; + if ("RPLC".equals(codeString)) + return XdsRelationshipType.RPLC; + if ("XFRM".equals(codeString)) + return XdsRelationshipType.XFRM; + if ("XFRM_RPLC".equals(codeString)) + return XdsRelationshipType.XFRMRPLC; + if ("signs".equals(codeString)) + return XdsRelationshipType.SIGNS; + throw new IllegalArgumentException("Unknown XdsRelationshipType code '"+codeString+"'"); + } + + public String toCode(XdsRelationshipType code) { + if (code == XdsRelationshipType.APND) + return "APND"; + if (code == XdsRelationshipType.RPLC) + return "RPLC"; + if (code == XdsRelationshipType.XFRM) + return "XFRM"; + if (code == XdsRelationshipType.XFRMRPLC) + return "XFRM_RPLC"; + if (code == XdsRelationshipType.SIGNS) + return "signs"; + return "?"; + } + + +} + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/terminologies/ITerminologyServices.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/terminologies/ITerminologyServices.java index f4a712f3d53..de6a5021156 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/terminologies/ITerminologyServices.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/terminologies/ITerminologyServices.java @@ -5,6 +5,7 @@ import org.hl7.fhir.instance.model.ValueSet; import org.hl7.fhir.instance.model.ValueSet.ConceptDefinitionComponent; import org.hl7.fhir.instance.model.ValueSet.ConceptSetComponent; import org.hl7.fhir.instance.model.ValueSet.ValueSetExpansionComponent; +import org.hl7.fhir.instance.terminologies.ValueSetExpander.ValueSetExpansionOutcome; /** @@ -65,7 +66,8 @@ public interface ITerminologyServices { * checkVS will be called instead */ public ValueSetExpansionComponent expandVS(ConceptSetComponent inc) throws Exception; - public ValueSet expandVS(ValueSet vs) throws Exception; +// public ValueSet expandVS(ValueSet vs) throws Exception; + public ValueSetExpansionOutcome expand(ValueSet vs); /** * Test the value set fragment (system | codes | filters). @@ -75,4 +77,5 @@ public interface ITerminologyServices { public boolean verifiesSystem(String system); + } \ No newline at end of file diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/NameResolver.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/NameResolver.java new file mode 100644 index 00000000000..7e8596e0998 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/NameResolver.java @@ -0,0 +1,5 @@ +package org.hl7.fhir.instance.utils; + +public interface NameResolver { + boolean isResource(String name); +} diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ProfileUtilities.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ProfileUtilities.java index b1ae9169f70..2cd6c017284 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ProfileUtilities.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ProfileUtilities.java @@ -9,17 +9,19 @@ import java.util.HashSet; import java.util.List; import java.util.Set; +import org.hl7.fhir.instance.client.IFHIRClient; +import org.hl7.fhir.instance.formats.JsonParser; import org.hl7.fhir.instance.model.Base; import org.hl7.fhir.instance.model.BooleanType; import org.hl7.fhir.instance.model.Element; import org.hl7.fhir.instance.model.ElementDefinition; -import org.hl7.fhir.instance.model.ElementDefinition.BindingStrength; import org.hl7.fhir.instance.model.ElementDefinition.ElementDefinitionBindingComponent; import org.hl7.fhir.instance.model.ElementDefinition.ElementDefinitionConstraintComponent; import org.hl7.fhir.instance.model.ElementDefinition.ElementDefinitionMappingComponent; import org.hl7.fhir.instance.model.ElementDefinition.ElementDefinitionSlicingComponent; import org.hl7.fhir.instance.model.ElementDefinition.SlicingRules; import org.hl7.fhir.instance.model.ElementDefinition.TypeRefComponent; +import org.hl7.fhir.instance.model.Enumerations.BindingStrength; import org.hl7.fhir.instance.model.IntegerType; import org.hl7.fhir.instance.model.PrimitiveType; import org.hl7.fhir.instance.model.Reference; @@ -30,6 +32,8 @@ import org.hl7.fhir.instance.model.StructureDefinition.StructureDefinitionDiffer import org.hl7.fhir.instance.model.StructureDefinition.StructureDefinitionSnapshotComponent; import org.hl7.fhir.instance.model.StructureDefinition.StructureDefinitionType; import org.hl7.fhir.instance.model.Type; +import org.hl7.fhir.instance.model.UriType; +import org.hl7.fhir.instance.utils.ProfileUtilities.ProfileKnowledgeProvider.BindingResolution; import org.hl7.fhir.utilities.CommaSeparatedStringBuilder; import org.hl7.fhir.utilities.TextStreamWriter; import org.hl7.fhir.utilities.Utilities; @@ -55,8 +59,20 @@ import org.hl7.fhir.utilities.xhtml.XhtmlNode; public class ProfileUtilities { + private static final String ROW_COLOR_ERROR = "#ffcccc"; + private static final String ROW_COLOR_FATAL = "#ff9999"; + private static final String ROW_COLOR_WARNING = "#ffebcc"; + private static final String ROW_COLOR_HINT = "#ebf5ff"; + public static final int STATUS_OK = 0; + public static final int STATUS_HINT = 1; + public static final int STATUS_WARNING = 2; + public static final int STATUS_ERROR = 3; + public static final int STATUS_FATAL = 4; + private static final String DERIVATION_EQUALS = "derivation.equals"; + public static final String UD_ERROR_STATUS = "error-status"; + private final WorkerContext context; public ProfileUtilities(WorkerContext context) { @@ -69,11 +85,15 @@ public class ProfileUtilities { } public interface ProfileKnowledgeProvider { + public class BindingResolution { + public String display; + public String url; + } boolean isDatatype(String typeSimple); boolean isResource(String typeSimple); boolean hasLinkFor(String typeSimple); String getLinkFor(String typeSimple) throws Exception; - String resolveBinding(ElementDefinitionBindingComponent binding); + BindingResolution resolveBinding(ElementDefinitionBindingComponent binding); String getLinkForProfile(StructureDefinition profile, String url) throws Exception; } @@ -409,7 +429,7 @@ public class ProfileUtilities { private StructureDefinition getProfileForDataType(TypeRefComponent type) { - if (type.hasProfileElement() && !type.getCode().equals("Reference") && !type.getCode().equals("Extension")) + if (type.hasProfile() && !type.getCode().equals("Reference") && !type.getCode().equals("Extension")) throw new Error("handling profiles is not supported yet"); for (StructureDefinition ae : context.getProfiles().values()) { if (ae.getName().equals(type.getCode())) { @@ -427,7 +447,7 @@ public class ProfileUtilities { for (TypeRefComponent type : types) { if (first) first = false; else b.append(", "); b.append(type.getCode()); - if (type.hasProfileElement()) + if (type.hasProfile()) b.append("{"+type.getProfile()+"}"); } return b.toString(); @@ -458,8 +478,9 @@ public class ProfileUtilities { if (defn.hasBinding() && defn.getBinding().getValueSet() instanceof Reference && ((Reference)defn.getBinding().getValueSet()).getReference().startsWith("#")) ((Reference)defn.getBinding().getValueSet()).setReference(url+((Reference)defn.getBinding().getValueSet()).getReference()); for (TypeRefComponent t : defn.getType()) { - if (t.hasProfile() && t.getProfile().startsWith("#")) { - t.setProfile(url+t.getProfile()); + for (UriType tp : t.getProfile()) { + if (tp.getValue().startsWith("#")) + tp.setValue(url+t.getProfile()); } } } @@ -745,7 +766,7 @@ public class ProfileUtilities { b.append(td.getCode()); if (td.getCode().equals(ts.getCode()) || td.getCode().equals("Extension") || td.getCode().equals("Element") || td.getCode().equals("*") || - (td.getCode().equals("Resource") && pkp.isResource(ts.getCode()))) + ((td.getCode().equals("Resource") || (td.getCode().equals("DomainResource")) && pkp.isResource(ts.getCode())))) ok = true; } if (!ok) @@ -812,8 +833,8 @@ public class ProfileUtilities { deep = deep || eld.getPath().contains("Extension.extension."); r.setIcon(deep ? "icon_extension_complex.png" : "icon_extension_simple.png", HeirarchicalTableGenerator.TEXT_ICON_EXTENSION_COMPLEX); - List children = getChildren(ed.getSnapshot().getElement(), ed.getSnapshot().getElement().get(0)); - for (ElementDefinition child : children) + List children = getChildren(ed.getSnapshot().getElement(), ed.getSnapshot().getElement().get(0)); + for (ElementDefinition child : children) if (!child.getPath().endsWith(".id")) genElement(defFile == null ? "" : defFile+"-definitions.html#extension.", gen, r.getSubRows(), child, ed.getSnapshot().getElement(), null, pkp, true, defFile, false, true); @@ -875,17 +896,17 @@ public class ProfileUtilities { first = false; else c.addPiece(checkForNoChange(source, gen.new Piece(null,", ", null))); - if (t.getCode().equals("Reference") || (t.getCode().equals("Resource") && t.hasProfileElement())) { - if (t.getProfile().startsWith("http://hl7.org/fhir/StructureDefinition/")) { - String rn = t.getProfile().substring(40); + if (t.getCode().equals("Reference") || (t.getCode().equals("Resource") && t.hasProfile())) { + if (t.hasProfile() && t.getProfile().get(0).getValue().startsWith("http://hl7.org/fhir/StructureDefinition/")) { + String rn = t.getProfile().get(0).getValue().substring(40); c.addPiece(checkForNoChange(source, gen.new Piece(pkp.getLinkFor(rn), rn, null))); - } else if (t.getProfile().startsWith("#")) - c.addPiece(checkForNoChange(source, gen.new Piece(profileBaseFileName+"."+t.getProfile().substring(1).toLowerCase()+".html", t.getProfile(), null))); + } else if (t.getProfile().get(0).getValue().startsWith("#")) + c.addPiece(checkForNoChange(source, gen.new Piece(profileBaseFileName+"."+t.getProfile().get(0).getValue().substring(1).toLowerCase()+".html", t.getProfile().get(0).getValue(), null))); else - c.addPiece(checkForNoChange(source, gen.new Piece(t.getProfile(), t.getProfile(), null))); - } else if (t.hasProfileElement()) { // a profiled type + c.addPiece(checkForNoChange(source, gen.new Piece(t.getProfile().get(0).getValue(), t.getProfile().get(0).getValue(), null))); + } else if (t.hasProfile()) { // a profiled type String ref; - ref = pkp.getLinkForProfile(profile, t.getProfile()); + ref = pkp.getLinkForProfile(profile, t.getProfile().get(0).getValue()); if (ref != null) { String[] parts = ref.split("\\|"); c.addPiece(checkForNoChange(source, gen.new Piece(parts[0], parts[1], t.getCode()))); @@ -965,6 +986,7 @@ public class ProfileUtilities { } public XhtmlNode generateTable(String defFile, StructureDefinition profile, boolean diff, String imageFolder, boolean inlineGraphics, ProfileKnowledgeProvider pkp, String profileBaseFileName, boolean snapshot) throws Exception { + assert(diff != snapshot);// check it's ok to get rid of one of these HeirarchicalTableGenerator gen = new HeirarchicalTableGenerator(imageFolder, inlineGraphics); TableModel model = gen.initNormalTable(); List list = diff ? profile.getDifferential().getElement() : profile.getSnapshot().getElement(); @@ -981,56 +1003,57 @@ public class ProfileUtilities { return; if (!onlyInformationIsMapping(all, element)) { - Row row = gen.new Row(); - row.setAnchor(element.getPath()); - boolean hasDef = element != null; - boolean ext = false; - if (s.equals("extension") || s.equals("modifierExtension")) { + Row row = gen.new Row(); + row.setAnchor(element.getPath()); + row.setColor(getRowColor(element)); + boolean hasDef = element != null; + boolean ext = false; + if (s.equals("extension") || s.equals("modifierExtension")) { row.setIcon("icon_extension_simple.png", HeirarchicalTableGenerator.TEXT_ICON_EXTENSION_SIMPLE); - ext = true; - } else if (!hasDef || element.getType().size() == 0) + ext = true; + } else if (!hasDef || element.getType().size() == 0) row.setIcon("icon_element.gif", HeirarchicalTableGenerator.TEXT_ICON_ELEMENT); - else if (hasDef && element.getType().size() > 1) { - if (allTypesAre(element.getType(), "Reference")) + else if (hasDef && element.getType().size() > 1) { + if (allTypesAre(element.getType(), "Reference")) row.setIcon("icon_reference.png", HeirarchicalTableGenerator.TEXT_ICON_REFERENCE); + else + row.setIcon("icon_choice.gif", HeirarchicalTableGenerator.TEXT_ICON_CHOICE); + } else if (hasDef && element.getType().get(0).getCode().startsWith("@")) + row.setIcon("icon_reuse.png", HeirarchicalTableGenerator.TEXT_ICON_REUSE); + else if (hasDef && isPrimitive(element.getType().get(0).getCode())) + row.setIcon("icon_primitive.png", HeirarchicalTableGenerator.TEXT_ICON_PRIMITIVE); + else if (hasDef && isReference(element.getType().get(0).getCode())) + row.setIcon("icon_reference.png", HeirarchicalTableGenerator.TEXT_ICON_REFERENCE); + else if (hasDef && isDataType(element.getType().get(0).getCode())) + row.setIcon("icon_datatype.gif", HeirarchicalTableGenerator.TEXT_ICON_DATATYPE); else - row.setIcon("icon_choice.gif", HeirarchicalTableGenerator.TEXT_ICON_CHOICE); - } else if (hasDef && element.getType().get(0).getCode().startsWith("@")) - row.setIcon("icon_reuse.png", HeirarchicalTableGenerator.TEXT_ICON_REUSE); - else if (hasDef && isPrimitive(element.getType().get(0).getCode())) - row.setIcon("icon_primitive.png", HeirarchicalTableGenerator.TEXT_ICON_PRIMITIVE); - else if (hasDef && isReference(element.getType().get(0).getCode())) - row.setIcon("icon_reference.png", HeirarchicalTableGenerator.TEXT_ICON_REFERENCE); - else if (hasDef && isDataType(element.getType().get(0).getCode())) - row.setIcon("icon_datatype.gif", HeirarchicalTableGenerator.TEXT_ICON_DATATYPE); - else - row.setIcon("icon_resource.png", HeirarchicalTableGenerator.TEXT_ICON_RESOURCE); - String ref = defPath == null ? null : defPath + makePathLink(element); - UnusedTracker used = new UnusedTracker(); - used.used = true; - Cell left = gen.new Cell(null, ref, s, !hasDef ? null : element.getDefinition(), null); - row.getCells().add(left); - Cell gc = gen.new Cell(); - row.getCells().add(gc); - if (element != null && element.getIsModifier()) + row.setIcon("icon_resource.png", HeirarchicalTableGenerator.TEXT_ICON_RESOURCE); + String ref = defPath == null ? null : defPath + makePathLink(element); + UnusedTracker used = new UnusedTracker(); + used.used = true; + Cell left = gen.new Cell(null, ref, s, !hasDef ? null : element.getDefinition(), null); + row.getCells().add(left); + Cell gc = gen.new Cell(); + row.getCells().add(gc); + if (element != null && element.getIsModifier()) checkForNoChange(element.getIsModifierElement(), gc.addImage("modifier.png", "This element is a modifier element", "?!")); - if (element != null && element.getMustSupport()) - checkForNoChange(element.getMustSupportElement(), gc.addImage("mustsupport.png", "This element must be supported", "S")); - if (element != null && element.getIsSummary()) - checkForNoChange(element.getIsSummaryElement(), gc.addImage("summary.png", "This element is included in summaries", "Σ")); - if (element != null && (!element.getConstraint().isEmpty() || !element.getCondition().isEmpty())) - gc.addImage("lock.png", "This element has or is affected by some invariants", "I"); - - StructureDefinition extDefn = null; - if (ext) { - if (element != null && element.getType().size() == 1 && element.getType().get(0).hasProfile()) { - extDefn = context.getExtensionStructure(null, element.getType().get(0).getProfile()); - if (extDefn == null) { + if (element != null && element.getMustSupport()) + checkForNoChange(element.getMustSupportElement(), gc.addImage("mustsupport.png", "This element must be supported", "S")); + if (element != null && element.getIsSummary()) + checkForNoChange(element.getIsSummaryElement(), gc.addImage("summary.png", "This element is included in summaries", "Σ")); + if (element != null && (!element.getConstraint().isEmpty() || !element.getCondition().isEmpty())) + gc.addImage("lock.png", "This element has or is affected by some invariants", "I"); + + StructureDefinition extDefn = null; + if (ext) { + if (element != null && element.getType().size() == 1 && element.getType().get(0).hasProfile()) { + extDefn = context.getExtensionStructure(null, element.getType().get(0).getProfile().get(0).getValue()); + if (extDefn == null) { genCardinality(gen, element, row, hasDef, used, null); row.getCells().add(gen.new Cell(null, null, "?? "+element.getType().get(0).getProfile(), null, null)); - generateDescription(gen, row, element, null, used.used, profile.getUrl(), element.getType().get(0).getProfile(), pkp, profile); + generateDescription(gen, row, element, null, used.used, profile.getUrl(), element.getType().get(0).getProfile().get(0).getValue(), pkp, profile); } else { - String name = urltail(element.getType().get(0).getProfile()); + String name = urltail(element.getType().get(0).getProfile().get(0).getValue()); left.getPieces().get(0).setText(name); // left.getPieces().get(0).setReference((String) extDefn.getExtensionStructure().getTag("filename")); left.getPieces().get(0).setHint("Extension URL = "+element.getType().get(0).getProfile()); @@ -1041,14 +1064,14 @@ public class ProfileUtilities { else // if it's complex, we just call it nothing // genTypes(gen, pkp, row, extDefn.getSnapshot().getElement().get(0), profileBaseFileName, profile); row.getCells().add(gen.new Cell(null, null, "(Complex)", null, null)); - generateDescription(gen, row, element, extDefn.getSnapshot().getElement().get(0), used.used, null, null, pkp, profile); - } - } else { + generateDescription(gen, row, element, extDefn.getSnapshot().getElement().get(0), used.used, null, extDefn.getUrl(), pkp, profile); + } + } else { genCardinality(gen, element, row, hasDef, used, null); genTypes(gen, pkp, row, element, profileBaseFileName, profile); generateDescription(gen, row, element, null, used.used, null, null, pkp, profile); - } - } else { + } + } else { genCardinality(gen, element, row, hasDef, used, null); if (hasDef) genTypes(gen, pkp, row, element, profileBaseFileName, profile); @@ -1061,12 +1084,12 @@ public class ProfileUtilities { used.used = false; showMissing = false; } else { - row.setIcon("icon_slice.png", HeirarchicalTableGenerator.TEXT_ICON_SLICE); - row.getCells().get(2).getPieces().clear(); - for (Cell cell : row.getCells()) - for (Piece p : cell.getPieces()) { - p.addStyle("font-style: italic"); - } + row.setIcon("icon_slice.png", HeirarchicalTableGenerator.TEXT_ICON_SLICE); + row.getCells().get(2).getPieces().clear(); + for (Cell cell : row.getCells()) + for (Piece p : cell.getPieces()) { + p.addStyle("font-style: italic"); + } } } if (used.used || showMissing) @@ -1081,17 +1104,29 @@ public class ProfileUtilities { List children = getChildren(all, element); for (ElementDefinition child : children) if (!child.getPath().endsWith(".id")) - genElement(defPath, gen, row.getSubRows(), child, all, profiles, pkp, showMissing, profileBaseFileName, false, snapshot); + genElement(defPath, gen, row.getSubRows(), child, all, profiles, pkp, showMissing, profileBaseFileName, false, snapshot); if (!snapshot) for (ElementDefinition child : children) if (!child.getPath().endsWith(".id")) - genElement(defPath, gen, row.getSubRows(), child, all, profiles, pkp, showMissing, profileBaseFileName, true, false); - } + genElement(defPath, gen, row.getSubRows(), child, all, profiles, pkp, showMissing, profileBaseFileName, true, false); } } + } + private String getRowColor(ElementDefinition element) { + switch (element.getUserInt(UD_ERROR_STATUS)) { + case STATUS_OK: return null; + case STATUS_HINT: return ROW_COLOR_HINT; + case STATUS_WARNING: return ROW_COLOR_WARNING; + case STATUS_ERROR: return ROW_COLOR_ERROR; + case STATUS_FATAL: return ROW_COLOR_FATAL; + default: return null; + } + } + + private String urltail(String path) { if (path.contains("#")) return path.substring(path.lastIndexOf('#')+1); @@ -1143,7 +1178,7 @@ public class ProfileUtilities { if (!c.getPieces().isEmpty()) c.addPiece(gen.new Piece("br")); String fullUrl = url.startsWith("#") ? baseURL+url : url; StructureDefinition ed = context.getExtensionStructure(null, url); - String ref = ed == null ? null : (String) ed.getUserData("filename"); + String ref = ed == null ? null : (String) ed.getUserData("filename")+".html"; c.getPieces().add(gen.new Piece(null, "URL: ", null).addStyle("font-weight:bold")); c.getPieces().add(gen.new Piece(ref, fullUrl, null)); } @@ -1156,9 +1191,9 @@ public class ProfileUtilities { if (definition != null) { if (definition.hasBinding()) { if (!c.getPieces().isEmpty()) c.addPiece(gen.new Piece("br")); - String ref = pkp.resolveBinding(definition.getBinding()); + BindingResolution br = pkp.resolveBinding(definition.getBinding()); c.getPieces().add(checkForNoChange(definition.getBinding(), gen.new Piece(null, "Binding: ", null).addStyle("font-weight:bold"))); - c.getPieces().add(checkForNoChange(definition.getBinding(), gen.new Piece(ref, definition.getBinding().getName(), null))); + c.getPieces().add(checkForNoChange(definition.getBinding(), gen.new Piece(br.url, br.display, null))); if (definition.getBinding().hasStrength()) { c.getPieces().add(checkForNoChange(definition.getBinding(), gen.new Piece(null, " (", null))); c.getPieces().add(checkForNoChange(definition.getBinding(), gen.new Piece(null, definition.getBinding().getStrength().toCode(), definition.getBinding().getStrength().getDefinition()))); @@ -1192,9 +1227,8 @@ public class ProfileUtilities { if (value instanceof PrimitiveType) return ((PrimitiveType) value).asStringValue(); - throw new IllegalStateException(); -// JsonParser json = new JsonParser(); -// return json.composeString(value, null); + JsonParser json = new JsonParser(); + return json.composeString(value, null); } @@ -1303,11 +1337,10 @@ public class ProfileUtilities { String[] ps = parts[0].split("\\/StructureDefinition\\/"); if (ps.length != 2) throw new Exception("Unable to understand address of profile: "+parts[0]); - throw new IllegalStateException(); -// IFHIRClient client = new FHIRSimpleClient(); -// client.initialize(ps[0]); -// StructureDefinition ae = client.read(StructureDefinition.class, ps[1]); -// context.getProfiles().put(parts[0], ae); + IFHIRClient client = context.getClient(); + client.initialize(ps[0]); + StructureDefinition ae = client.read(StructureDefinition.class, ps[1]); + context.getProfiles().put(parts[0], ae); } else return null; } @@ -1329,6 +1362,7 @@ public class ProfileUtilities { public static class ElementDefinitionHolder { + private String name; private ElementDefinition self; private int baseIndex = 0; private List children; @@ -1336,6 +1370,7 @@ public class ProfileUtilities { public ElementDefinitionHolder(ElementDefinition self) { super(); this.self = self; + this.name = self.getPath(); children = new ArrayList(); } @@ -1391,7 +1426,7 @@ public class ProfileUtilities { String p = snapshot.get(i).getPath(); if (p.equals(actual)) return i; - if (p.endsWith("[x]") && actual.startsWith(p.substring(0, p.length()-3)) && !actual.substring(p.length()-3).contains(".")) + if (p.endsWith("[x]") && actual.startsWith(p.substring(0, p.length()-3)) && !(actual.endsWith("[x]")) && !actual.substring(p.length()-3).contains(".")) return i; } if (prefixLength == 0) @@ -1462,18 +1497,22 @@ public class ProfileUtilities { } private void sortElements(ElementDefinitionHolder edh, ElementDefinitionComparer cmp, List errors) { + if (edh.getChildren().size() == 1) + // special case - sort needsto allocate base numbers, but there'll be no sort if there's only 1 child. So in that case, we just go ahead and allocated base number directly + edh.getChildren().get(0).baseIndex = cmp.find(edh.getChildren().get(0).getSelf().getPath()); + else Collections.sort(edh.getChildren(), cmp); cmp.checkForErrors(errors); for (ElementDefinitionHolder child : edh.getChildren()) { - if (child.getChildren().size() > 1) { + if (child.getChildren().size() > 0) { // what we have to check for here is running off the base profile into a data type profile ElementDefinition ed = cmp.snapshot.get(child.getBaseIndex()); ElementDefinitionComparer ccmp; if (ed.getType().isEmpty() || isAbstract(ed.getType().get(0).getCode()) || ed.getType().get(0).getCode().equals(ed.getPath())) { ccmp = new ElementDefinitionComparer(true, cmp.snapshot, cmp.base, cmp.prefixLength, cmp.name, cmp.pkp); } else if (ed.getType().get(0).getCode().equals("Extension") && child.getSelf().getType().size() == 1 && child.getSelf().getType().get(0).hasProfile()) { - ccmp = new ElementDefinitionComparer(true, context.getExtensionDefinitions().get(child.getSelf().getType().get(0).getProfile()).getSnapshot().getElement(), ed.getType().get(0).getCode(), child.getSelf().getPath().length(), cmp.name, cmp.pkp); + ccmp = new ElementDefinitionComparer(true, context.getExtensionDefinitions().get(child.getSelf().getType().get(0).getProfile().get(0).getValue()).getSnapshot().getElement(), ed.getType().get(0).getCode(), child.getSelf().getPath().length(), cmp.name, cmp.pkp); } else if (ed.getType().size() == 1 && !ed.getType().get(0).getCode().equals("*")) { ccmp = new ElementDefinitionComparer(false, context.getProfiles().get("http://hl7.org/fhir/StructureDefinition/"+ed.getType().get(0).getCode()).getSnapshot().getElement(), ed.getType().get(0).getCode(), child.getSelf().getPath().length(), cmp.name, cmp.pkp); } else if (child.getSelf().getType().size() == 1) { @@ -1482,7 +1521,7 @@ public class ProfileUtilities { String p = child.getSelf().getPath().substring(ed.getPath().length()-3); ccmp = new ElementDefinitionComparer(false, context.getProfiles().get("http://hl7.org/fhir/StructureDefinition/"+p).getSnapshot().getElement(), p, child.getSelf().getPath().length(), cmp.name, cmp.pkp); } else { - throw new Error("Not handled yet"); + throw new Error("Not handled yet (sortElements: "+ed.getPath()+":"+typeCode(ed.getType())+")"); } sortElements(child, ccmp, errors); } @@ -1531,14 +1570,14 @@ public class ProfileUtilities { } } - + // generate schematroins for the rules in a structure definition public void generateSchematrons(OutputStream dest, StructureDefinition structure) throws Exception { - if (structure.getType() != StructureDefinitionType.CONSTRAINT) - throw new Exception("not the right kind of structure to generate schematrons for"); - if (!structure.hasSnapshot()) - throw new Exception("needs a snapshot"); + if (structure.getType() != StructureDefinitionType.CONSTRAINT) + throw new Exception("not the right kind of structure to generate schematrons for"); + if (!structure.hasSnapshot()) + throw new Exception("needs a snapshot"); StructureDefinition base = context.getProfiles().get(structure.getBase()); @@ -1578,7 +1617,7 @@ public class ProfileUtilities { txt.ln_i(""); txt.ln(" "+name+": minimum cardinality is "+Integer.toString(child.getMin())+""); txt.ln_o(""); - } + } if (doMax) { txt.ln_i(""); txt.ln(" "+name+": maximum cardinality is "+child.getMax()+""); @@ -1587,7 +1626,7 @@ public class ProfileUtilities { } } if (started) - txt.ln_o(""); + txt.ln_o(" "); for (ElementDefinition child : children) { String name = tail(child.getPath()); generateForChildren(txt, xpath+"/f:"+name, child, structure, base); @@ -1601,7 +1640,7 @@ public class ProfileUtilities { return ed; if (ed.getPath().endsWith("[x]") && ed.getPath().length() <= path.length()-3 && ed.getPath().substring(0, ed.getPath().length()-3).equals(path.substring(0, ed.getPath().length()-3))) return ed; - } + } return null; } @@ -1609,8 +1648,8 @@ public class ProfileUtilities { //private void generateForChild(TextStreamWriter txt, // StructureDefinition structure, ElementDefinition child) { // // TODO Auto-generated method stub -// +// //} - + } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/WorkerContext.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/WorkerContext.java index 3590ce79a0f..e7436f72ac3 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/WorkerContext.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/WorkerContext.java @@ -1,15 +1,12 @@ package org.hl7.fhir.instance.utils; -import java.io.ByteArrayInputStream; -import java.io.InputStream; import java.net.URISyntaxException; +import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; -import java.util.zip.ZipEntry; -import java.util.zip.ZipInputStream; import org.hl7.fhir.instance.client.FeedFormat; import org.hl7.fhir.instance.client.IFHIRClient; @@ -17,7 +14,7 @@ import org.hl7.fhir.instance.client.ResourceFormat; import org.hl7.fhir.instance.model.Bundle; import org.hl7.fhir.instance.model.ConceptMap; import org.hl7.fhir.instance.model.Conformance; -import org.hl7.fhir.instance.model.ElementDefinition; +import org.hl7.fhir.instance.model.ElementDefinition.TypeRefComponent; import org.hl7.fhir.instance.model.OperationOutcome; import org.hl7.fhir.instance.model.Parameters; import org.hl7.fhir.instance.model.Resource; @@ -27,7 +24,7 @@ import org.hl7.fhir.instance.model.ValueSet.ConceptDefinitionComponent; import org.hl7.fhir.instance.model.ValueSet.ConceptSetComponent; import org.hl7.fhir.instance.model.ValueSet.ValueSetExpansionComponent; import org.hl7.fhir.instance.terminologies.ITerminologyServices; -import org.hl7.fhir.utilities.CSFileInputStream; +import org.hl7.fhir.instance.terminologies.ValueSetExpander.ValueSetExpansionOutcome; /* * private static Map loadProfiles() throws Exception { @@ -44,8 +41,12 @@ import org.hl7.fhir.utilities.CSFileInputStream; private static final String TEST_PROFILE = "C:\\work\\org.hl7.fhir\\build\\publish\\namespace.profile.xml"; private static final String PROFILES = "C:\\work\\org.hl7.fhir\\build\\publish\\profiles-resources.xml"; +igtodo - things to add: +- version +- list of resource names + */ -public class WorkerContext { +public class WorkerContext implements NameResolver { private ITerminologyServices terminologyServices = new NullTerminologyServices(); private IFHIRClient client = new NullClient(); @@ -54,6 +55,8 @@ public class WorkerContext { private Map maps = new HashMap(); private Map profiles = new HashMap(); private Map extensionDefinitions = new HashMap(); + private String version; + private List resourceNames = new ArrayList(); public WorkerContext() { @@ -116,81 +119,14 @@ public class WorkerContext { public WorkerContext clone(IFHIRClient altClient) { WorkerContext res = new WorkerContext(terminologyServices, null, codeSystems, valueSets, maps, profiles); res.extensionDefinitions.putAll(extensionDefinitions); + res.version = version; res.client = altClient; return res; } - // -- Initializations - /** - * Load the working context from the validation pack - * - * @param path filename of the validation pack - * @return - * @throws Exception - */ - public static WorkerContext fromPack(String path) throws Exception { - WorkerContext res = new WorkerContext(); - res.loadFromPack(path); - return res; - } - - public static WorkerContext fromClassPath() throws Exception { - WorkerContext res = new WorkerContext(); - res.loadFromStream(WorkerContext.class.getResourceAsStream("validation.zip")); - return res; - } - public static WorkerContext fromDefinitions(Map source) throws Exception { - WorkerContext res = new WorkerContext(); - for (String name : source.keySet()) { - if (name.endsWith(".xml")) { - res.loadFromFile(new ByteArrayInputStream(source.get(name)), name); - } - } - return res; - } - - private void loadFromPack(String path) throws Exception { - loadFromStream(new CSFileInputStream(path)); - } - - private void loadFromStream(InputStream stream) throws Exception { - ZipInputStream zip = new ZipInputStream(stream); - ZipEntry ze; - while ((ze = zip.getNextEntry()) != null) { - if (ze.getName().endsWith(".xml")) { - String name = ze.getName(); - loadFromFile(zip, name); - } - zip.closeEntry(); - } - zip.close(); - } - - @SuppressWarnings("unchecked") - private void loadFromFile(InputStream stream, String name) throws Exception { - throw new IllegalStateException(); -// XmlParser xml = new XmlParser(); -// Bundle f = (Bundle) xml.parse(stream); -// for (BundleEntryComponent e : f.getEntry()) { -// String base = e.hasBase() ? e.getBase() : f.getBase(); -// -// if (e.getResource().getId() == null) { -// System.out.println("unidentified resource in "+name); -// } -// if (e.getResource() instanceof StructureDefinition) -// seeProfile(base, (StructureDefinition) e.getResource()); -// else if (e.getResource() instanceof ValueSet) -// seeValueSet(base, (ValueSet) e.getResource()); -// else if (e.getResource() instanceof StructureDefinition) -// seeExtensionDefinition(base, (StructureDefinition) e.getResource()); -// else if (e.getResource() instanceof ConceptMap) -// maps.put(((ConceptMap) e.getResource()).getUrl(), (ConceptMap) e.getResource()); -// } - } - public void seeExtensionDefinition(String base, StructureDefinition ed) throws Exception { if (extensionDefinitions.get(ed.getUrl()) != null) throw new Exception("duplicate extension definition: "+ed.getUrl()); @@ -405,14 +341,6 @@ public class WorkerContext { } } - private ElementDefinition getElement(String context, List elements, String path) throws Exception { - for (ElementDefinition element : elements) { - if (element.getPath().equals("Extension."+path)) - return element; - } - throw new Exception("Unable to find extension path "+context); - } - public class NullTerminologyServices implements ITerminologyServices { @Override @@ -446,12 +374,39 @@ public class WorkerContext { } @Override - public ValueSet expandVS(ValueSet vs) { + public ValueSetExpansionOutcome expand(ValueSet vs) { throw new Error("call to NullTerminologyServices"); } } + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + @Override + public boolean isResource(String name) { + if (resourceNames.contains(name)) + return true; + StructureDefinition sd = profiles.get("http://hl7.org/fhir/StructureDefinition/"+name); + return sd != null && (sd.getBase().endsWith("Resource") || sd.getBase().endsWith("DomainResource")); + } + + public List getResourceNames() { + return resourceNames; + } + + public StructureDefinition getTypeStructure(TypeRefComponent type) { + if (type.hasProfile()) + return profiles.get(type.getProfile()); + else + return profiles.get(type.getCode()); + } + } \ No newline at end of file diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/BaseValidator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/BaseValidator.java index 711a551b3f1..256b9bf87af 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/BaseValidator.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/BaseValidator.java @@ -32,62 +32,100 @@ POSSIBILITY OF SUCH DAMAGE. import java.util.List; import org.hl7.fhir.instance.model.OperationOutcome.IssueSeverity; +import org.hl7.fhir.instance.model.valuesets.IssueType; import org.hl7.fhir.instance.validation.ValidationMessage.Source; public class BaseValidator { protected Source source; - protected boolean fail(List errors, String type, int line, int col, String path, boolean b, String msg) { + protected boolean fail(List errors, IssueType type, int line, int col, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, line, col, path, msg, IssueSeverity.FATAL)); return b; } - protected boolean rule(List errors, String type, int line, int col, String path, boolean b, String msg) { + protected boolean rule(List errors, IssueType type, int line, int col, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, line, col, path, msg, IssueSeverity.ERROR)); return b; } - protected boolean hint(List errors, String type, int line, int col, String path, boolean b, String msg) { + protected boolean hint(List errors, IssueType type, int line, int col, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, line, col, path, msg, IssueSeverity.INFORMATION)); return b; } - protected boolean warning(List errors, String type, int line, int col, String path, boolean b, String msg) { + protected boolean warning(List errors, IssueType type, int line, int col, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, line, col, path, msg, IssueSeverity.WARNING)); return b; } - protected boolean fail(List errors, String type, String path, boolean b, String msg) { + protected boolean fail(List errors, IssueType type, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, -1, -1, path, msg, IssueSeverity.FATAL)); return b; } - protected boolean rule(List errors, String type, String path, boolean b, String msg) { + protected boolean rule(List errors, IssueType type, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, -1, -1, path, msg, IssueSeverity.ERROR)); return b; } - protected boolean hint(List errors, String type, String path, boolean b, String msg) { + protected boolean rule(List errors, IssueType type, String path, boolean b, String msg, String html) { + if (!b) + errors.add(new ValidationMessage(source, type, -1, -1, path, msg, html, IssueSeverity.ERROR)); + return b; + } + + protected boolean hint(List errors, IssueType type, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, -1, -1, path, msg, IssueSeverity.INFORMATION)); return b; } - protected boolean warning(List errors, String type, String path, boolean b, String msg) { + protected boolean warning(List errors, IssueType type, String path, boolean b, String msg) { if (!b) errors.add(new ValidationMessage(source, type, -1, -1, path, msg, IssueSeverity.WARNING)); return b; - + } + + protected boolean warning(List errors, IssueType type, String path, boolean b, String msg, String html) { + if (!b) + errors.add(new ValidationMessage(source, type, -1, -1, path, msg, html, IssueSeverity.WARNING)); + return b; } + protected boolean grammarWord(String w) { + return w.equals("and") || w.equals("or") || w.equals("a") || w.equals("the") || w.equals("for") || w.equals("this") || w.equals("that") || w.equals("of"); + } + + protected String splitByCamelCase(String s) { + StringBuilder b = new StringBuilder(); + for (int i = 0; i < s.length(); i++) { + char c = s.charAt(i); + if (Character.isUpperCase(c) && !(i == 0 || Character.isUpperCase(s.charAt(i-1)))) + b.append(' '); + b.append(c); + } + return b.toString(); + } + + protected String stripPunctuation(String s, boolean numbers) { + StringBuilder b = new StringBuilder(); + for (char c : s.toCharArray()) { + int t = Character.getType(c); + if (t == Character.UPPERCASE_LETTER || t == Character.LOWERCASE_LETTER || t == Character.TITLECASE_LETTER || t == Character.MODIFIER_LETTER || t == Character.OTHER_LETTER || (t == Character.DECIMAL_DIGIT_NUMBER && numbers) || (t == Character.LETTER_NUMBER && numbers) || c == ' ') + b.append(c); + } + return b.toString(); + } + + } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/InstanceValidator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/InstanceValidator.java index c5ddc841089..1dcdba2a4df 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/InstanceValidator.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/InstanceValidator.java @@ -14,20 +14,15 @@ import org.hl7.fhir.instance.model.CodeableConcept; import org.hl7.fhir.instance.model.Coding; import org.hl7.fhir.instance.model.ContactPoint; import org.hl7.fhir.instance.model.ElementDefinition; -import org.hl7.fhir.instance.model.ElementDefinition.BindingStrength; +import org.hl7.fhir.instance.model.Enumerations.BindingStrength; import org.hl7.fhir.instance.model.ElementDefinition.ElementDefinitionBindingComponent; import org.hl7.fhir.instance.model.ElementDefinition.ElementDefinitionConstraintComponent; import org.hl7.fhir.instance.model.ElementDefinition.TypeRefComponent; import org.hl7.fhir.instance.model.Extension; -import org.hl7.fhir.instance.model.PrimitiveType; -import org.hl7.fhir.instance.model.StructureDefinition; -import org.hl7.fhir.instance.model.StructureDefinition.ExtensionContext; -import org.hl7.fhir.instance.model.StructureDefinition.StructureDefinitionType; import org.hl7.fhir.instance.model.HumanName; import org.hl7.fhir.instance.model.Identifier; import org.hl7.fhir.instance.model.OperationOutcome.IssueSeverity; import org.hl7.fhir.instance.model.Period; -import org.hl7.fhir.instance.model.StructureDefinition; import org.hl7.fhir.instance.model.Quantity; import org.hl7.fhir.instance.model.Range; import org.hl7.fhir.instance.model.Ratio; @@ -35,15 +30,19 @@ import org.hl7.fhir.instance.model.Reference; import org.hl7.fhir.instance.model.Resource; import org.hl7.fhir.instance.model.SampledData; import org.hl7.fhir.instance.model.StringType; +import org.hl7.fhir.instance.model.StructureDefinition; +import org.hl7.fhir.instance.model.StructureDefinition.ExtensionContext; import org.hl7.fhir.instance.model.StructureDefinition.StructureDefinitionSnapshotComponent; +import org.hl7.fhir.instance.model.StructureDefinition.StructureDefinitionType; import org.hl7.fhir.instance.model.Timing; import org.hl7.fhir.instance.model.Type; import org.hl7.fhir.instance.model.UriType; import org.hl7.fhir.instance.model.ValueSet; import org.hl7.fhir.instance.model.ValueSet.ConceptDefinitionComponent; import org.hl7.fhir.instance.model.ValueSet.ValueSetExpansionContainsComponent; -import org.hl7.fhir.instance.terminologies.ValueSetExpansionCache; +import org.hl7.fhir.instance.model.valuesets.IssueType; import org.hl7.fhir.instance.terminologies.ValueSetExpander.ValueSetExpansionOutcome; +import org.hl7.fhir.instance.terminologies.ValueSetExpansionCache; import org.hl7.fhir.instance.utils.ProfileUtilities; import org.hl7.fhir.instance.utils.WorkerContext; import org.hl7.fhir.instance.validation.ValidationMessage.Source; @@ -92,7 +91,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat } - // configuration items + // configuration items private CheckDisplayOption checkDisplay; @Override public CheckDisplayOption getCheckDisplay() { @@ -132,7 +131,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat // public API - @Override + @Override public List validate(JsonObject obj) throws Exception { List results = new ArrayList(); validate(results, obj); @@ -251,7 +250,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void checkForProcessingInstruction(List errors, Document document) { Node node = document.getFirstChild(); while (node != null) { - rule(errors, "invalid", -1, -1, "(document)", node.getNodeType() != Node.PROCESSING_INSTRUCTION_NODE, "No processing instructions allowed in resources"); + rule(errors, IssueType.INVALID, -1, -1, "(document)", node.getNodeType() != Node.PROCESSING_INSTRUCTION_NODE, "No processing instructions allowed in resources"); node = node.getNextSibling(); } } @@ -486,7 +485,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat throw new Error("not done yet: "+e.getClass().getName()); } - @Override + @Override public WrapperElement getNamedChild(String name) { for (JsonWrapperElement j : children) if (j.name.equals(name)) @@ -545,7 +544,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (name.equals("url")) { WrapperElement c = getNamedChild("url"); return c == null ? null : c.getAttribute("value"); - } + } throw new Error("not done yet: "+name); } @@ -650,11 +649,11 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat public String path() { WrapperElement n = child.getNextSibling(); if (parent.isXml()) { - String sfx = ""; - if (n != null && n.getName().equals(child.getName())) { - sfx = "["+Integer.toString(lastCount+1)+"]"; - } - return basePath+"/f:"+name()+sfx; + String sfx = ""; + if (n != null && n.getName().equals(child.getName())) { + sfx = "["+Integer.toString(lastCount+1)+"]"; + } + return basePath+"/f:"+name()+sfx; } else { String sfx = ""; if (n != null && n.getName().equals(child.getName())) { @@ -687,20 +686,20 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat this.xml = xml; } - private NodeStack push(WrapperElement element, int count, ElementDefinition definition, ElementDefinition type) { + private NodeStack push(WrapperElement element, int count, ElementDefinition definition, ElementDefinition type) { NodeStack res = new NodeStack(element.isXml()); res.parent = this; res.element = element; res.definition = definition; if (element.isXml()) { res.literalPath = getLiteralPath() + (element.getNamespace().equals(FormatUtilities.XHTML_NS) ? "/h:" : "/f:")+element.getName(); - if (count > -1) - res.literalPath = res.literalPath + "["+Integer.toString(count)+"]"; + if (count > -1) + res.literalPath = res.literalPath + "["+Integer.toString(count)+"]"; } else { if (element.getName() == null) res.literalPath = ""; else - res.literalPath = getLiteralPath() + "/" +element.getName(); + res.literalPath = getLiteralPath() + "/" +element.getName(); if (count > -1) res.literalPath = res.literalPath + "/"+Integer.toString(count); } @@ -749,7 +748,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void setType(ElementDefinition type) { this.type = type; } - + public String addToLiteralPath(String... path) { StringBuilder b = new StringBuilder(); b.append(getLiteralPath()); @@ -777,7 +776,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat return b.toString(); } } - + private WorkerContext context; private ProfileUtilities utilities; private ValueSetExpansionCache cache; @@ -816,23 +815,23 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat // getting going - either we got a profile, or not. boolean ok = true; if (element.isXml()) { - ok = rule(errors, "invalid", element.line(), element.col(), "/", FormatUtilities.FHIR_NS.equals(element.getNamespace()), "Namespace mismatch - expected '"+FormatUtilities.FHIR_NS+"', found '"+element.getNamespace()+"'"); + ok = rule(errors, IssueType.INVALID, element.line(), element.col(), "/", element.getNamespace().equals(FormatUtilities.FHIR_NS), "Namespace mismatch - expected '"+FormatUtilities.FHIR_NS+"', found '"+element.getNamespace()+"'"); } - if (ok) { + if (ok) { String resourceName = element.getResourceType(); - if (profile == null) { - profile = context.getProfiles().get("http://hl7.org/fhir/StructureDefinition/"+resourceName); - ok = rule(errors, "invalid", element.line(), element.col(), stack.addToLiteralPath(resourceName), profile != null, "No profile found for resource type '"+resourceName+"'"); - } else { - String type = profile.getType() == StructureDefinitionType.RESOURCE ? profile.getSnapshot().getElement().get(0).getPath() : profile.getSnapshot().getElement().get(0).getType().get(0).getCode(); - ok = rule(errors, "invalid", -1, -1, stack.addToLiteralPath(resourceName), type.equals(resourceName), "Specified profile type was '"+profile.getType()+"', but resource type was '"+resourceName+"'"); - } + if (profile == null) { + profile = context.getProfiles().get("http://hl7.org/fhir/StructureDefinition/"+resourceName); + ok = rule(errors, IssueType.INVALID, element.line(), element.col(), stack.addToLiteralPath(resourceName), profile != null, "No profile found for resource type '"+resourceName+"'"); + } else { + String type = profile.getType() == StructureDefinitionType.RESOURCE ? profile.getSnapshot().getElement().get(0).getPath() : profile.getSnapshot().getElement().get(0).getType().get(0).getCode(); + ok = rule(errors, IssueType.INVALID, -1, -1, stack.addToLiteralPath(resourceName), type.equals(resourceName), "Specified profile type was '"+profile.getType()+"', but resource type was '"+resourceName+"'"); } + } if (ok) { stack = stack.push(element, -1, profile.getSnapshot().getElement().get(0), profile.getSnapshot().getElement().get(0)); if (needsId && (element.getNamedChild("id") == null)) - rule(errors, "invalid", element.line(), element.col(), stack.getLiteralPath(), false, "Resource has no id"); + rule(errors, IssueType.INVALID, element.line(), element.col(), stack.getLiteralPath(), false, "Resource has no id"); start(errors, element, profile, stack); // root is both definition and type } } @@ -843,7 +842,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat // the instance validator had no issues against the base resource profile private void start(List errors, WrapperElement element, StructureDefinition profile, NodeStack stack) throws Exception { // profile is valid, and matches the resource name - if (rule(errors, "structure", element.line(), element.col(), stack.getLiteralPath(), profile.hasSnapshot(), "StructureDefinition has no snapshort - validation is against the snapshot, so it must be provided")) { + if (rule(errors, IssueType.STRUCTURE, element.line(), element.col(), stack.getLiteralPath(), profile.hasSnapshot(), "StructureDefinition has no snapshort - validation is against the snapshot, so it must be provided")) { validateElement(errors, profile, profile.getSnapshot().getElement().get(0), null, null, element, element.getName(), stack); checkDeclaredProfiles(errors, element, stack); @@ -876,10 +875,10 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat for (WrapperElement profile : profiles) { String ref = profile.getAttribute("value"); String p = stack.addToLiteralPath("meta", "profile", ":"+Integer.toString(i)); - if (rule(errors, "invalid", element.line(), element.col(), p, !Utilities.noString(ref), "StructureDefinition reference invalid")) { + if (rule(errors, IssueType.INVALID, element.line(), element.col(), p, !Utilities.noString(ref), "StructureDefinition reference invalid")) { StructureDefinition pr = context.getProfiles().get(ref); - if (warning(errors, "invalid", element.line(), element.col(), p, pr != null, "StructureDefinition reference could not be resolved")) { - if (rule(errors, "structure", element.line(), element.col(), p, pr.hasSnapshot(), "StructureDefinition has no snapshort - validation is against the snapshot, so it must be provided")) { + if (warning(errors, IssueType.INVALID, element.line(), element.col(), p, pr != null, "StructureDefinition reference could not be resolved")) { + if (rule(errors, IssueType.STRUCTURE, element.line(), element.col(), p, pr.hasSnapshot(), "StructureDefinition has no snapshort - validation is against the snapshot, so it must be provided")) { validateElement(errors, pr, pr.getSnapshot().getElement().get(0), null, null, element, element.getName(), stack); } } @@ -891,7 +890,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void validateBundle(List errors, WrapperElement bundle, NodeStack stack) { String base = bundle.getNamedChildValue("base"); - rule(errors, "invalid", bundle.line(), bundle.col(), "Bundle", !"urn:guid:".equals(base), "The base 'urn:guid:' is not valid (use urn:uuid:)"); + rule(errors, IssueType.INVALID, bundle.line(), bundle.col(), "Bundle", !"urn:guid:".equals(base), "The base 'urn:guid:' is not valid (use urn:uuid:)"); List entries = new ArrayList(); bundle.getNamedChildren("entry", entries); @@ -902,8 +901,8 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat for (WrapperElement entry : entries) { NodeStack localStack = stack.push(entry, i, null, null); String ebase = entry.getNamedChildValue("base"); - rule(errors, "invalid", entry.line(), entry.col(), localStack.getLiteralPath(), !"urn:guid:".equals(ebase), "The base 'urn:guid:' is not valid"); - rule(errors, "invalid", entry.line(), entry.col(), localStack.getLiteralPath(), !Utilities.noString(base) || !Utilities.noString(ebase), "entry does not have a base"); + rule(errors, IssueType.INVALID, entry.line(), entry.col(), localStack.getLiteralPath(), !"urn:guid:".equals(ebase), "The base 'urn:guid:' is not valid"); + rule(errors, IssueType.INVALID, entry.line(), entry.col(), localStack.getLiteralPath(), !Utilities.noString(base) || !Utilities.noString(ebase), "entry does not have a base"); if (i == 0) { firstEntry = entry; firstBase = ebase == null ? base : ebase; @@ -914,7 +913,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (bundle.getNamedChildValue("type").equals("document")) { WrapperElement res = firstEntry.getNamedChild("resource"); NodeStack localStack = firstStack.push(res, -1, null, null); - if (rule(errors, "invalid", firstEntry.line(), firstEntry.col(), stack.addToLiteralPath("entry", ":0"), res != null, "No resource on first entry")) { + if (rule(errors, IssueType.INVALID, firstEntry.line(), firstEntry.col(), stack.addToLiteralPath("entry", ":0"), res != null, "No resource on first entry")) { if (bundle.isXml()) validateDocument(errors, bundle, res.getFirstChild(), firstBase, localStack.push(res.getFirstChild(), -1, null, null)); else @@ -933,7 +932,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void validateDocument(List errors, WrapperElement bundle, WrapperElement composition, String base, NodeStack stack) { // first entry must be a composition - if (rule(errors, "invalid", composition.line(), composition.col(), stack.getLiteralPath(), composition.getResourceType().equals("Composition"), "The first entry in a document must be a composition")) { + if (rule(errors, IssueType.INVALID, composition.line(), composition.col(), stack.getLiteralPath(), composition.getResourceType().equals("Composition"), "The first entry in a document must be a composition")) { // the composition subject and section references must resolve in the bundle validateBundleReference(errors, bundle, base, composition.getNamedChild("subject"), "Composition Subject", stack.push(composition.getNamedChild("subject"), -1, null, null)); validateSections(errors, base, bundle, composition, stack); @@ -955,7 +954,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void validateBundleReference(List errors, WrapperElement bundle, String base, WrapperElement ref, String name, NodeStack stack) { if (ref != null && !Utilities.noString(ref.getNamedChildValue("reference"))) { WrapperElement target = resolveInBundle(bundle, base, ref.getNamedChildValue("reference")); - rule(errors, "invalid", target.line(), target.col(), stack.addToLiteralPath("reference"), target != null, "Unable to resolve the target of the reference in the bundle ("+name+")"); + rule(errors, IssueType.INVALID, target.line(), target.col(), stack.addToLiteralPath("reference"), target != null, "Unable to resolve the target of the reference in the bundle ("+name+")"); } } @@ -1007,11 +1006,11 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void validateElement(List errors, StructureDefinition profile, ElementDefinition definition, StructureDefinition cprofile, ElementDefinition context, WrapperElement element, String actualType, NodeStack stack) throws Exception { // irrespective of what element it is, it cannot be empty if (element.isXml()) { - rule(errors, "invalid", element.line(), element.col(), stack.getLiteralPath(), FormatUtilities.FHIR_NS.equals(element.getNamespace()), "Namespace mismatch - expected '"+FormatUtilities.FHIR_NS+"', found '"+element.getNamespace()+"'"); - rule(errors, "invalid", element.line(), element.col(), stack.getLiteralPath(), !element.hasNamespace("http://www.w3.org/2001/XMLSchema-instance"), "Schema Instance Namespace is not allowed in instances"); - rule(errors, "invalid", element.line(), element.col(), stack.getLiteralPath(), !element.hasProcessingInstruction(), "No Processing Instructions in resources"); + rule(errors, IssueType.INVALID, element.line(), element.col(), stack.getLiteralPath(), FormatUtilities.FHIR_NS.equals(element.getNamespace()), "Namespace mismatch - expected '"+FormatUtilities.FHIR_NS+"', found '"+element.getNamespace()+"'"); + rule(errors, IssueType.INVALID, element.line(), element.col(), stack.getLiteralPath(), !element.hasNamespace("http://www.w3.org/2001/XMLSchema-instance"), "Schema Instance Namespace is not allowed in instances"); + rule(errors, IssueType.INVALID, element.line(), element.col(), stack.getLiteralPath(), !element.hasProcessingInstruction(), "No Processing Instructions in resources"); } - rule(errors, "invalid", element.line(), element.col(), stack.getLiteralPath(), !empty(element), "Elements must have some content (@value, extensions, or children elements)"); + rule(errors, IssueType.INVALID, element.line(), element.col(), stack.getLiteralPath(), !empty(element), "Elements must have some content (@value, extensions, or children elements)"); // get the list of direct defined children, including slices List childDefinitions = ProfileUtilities.getChildMap(profile, definition.getName(), definition.getPath(), definition.getNameReference()); @@ -1037,23 +1036,23 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat slice = null; if (process) { - for (ElementInfo ei : children) { + for (ElementInfo ei : children) { boolean match = false; - if (slice == null) { - match = nameMatches(ei.name, tail(ed.getPath())); - } else { + if (slice == null) { + match = nameMatches(ei.name, tail(ed.getPath())); + } else { if (nameMatches(ei.name, tail(ed.getPath()))) match = sliceMatches(ei.element, ei.path, slice, ed, profile); - } - if (match) { - if (rule(errors, "invalid", ei.line(), ei.col(), ei.path, ei.definition == null, "Element matches more than one slice")) - ei.definition = ed; - } + } + if (match) { + if (rule(errors, IssueType.INVALID, ei.line(), ei.col(), ei.path, ei.definition == null, "Element matches more than one slice")) + ei.definition = ed; } } + } } for (ElementInfo ei : children) - rule(errors, "invalid", ei.line(), ei.col(), ei.path, ei.definition != null, "Element is unknown or does not match any slice"); + rule(errors, IssueType.INVALID, ei.line(), ei.col(), ei.path, ei.definition != null, "Element is unknown or does not match any slice"); // 3. report any definitions that have a cardinality problem for (ElementDefinition ed : childDefinitions) { @@ -1063,11 +1062,11 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (ei.definition == ed) count++; if (ed.getMin() > 0) { - rule(errors, "structure", element.line(), element.col(), stack.getLiteralPath(), count >= ed.getMin(), "Element '"+stack.getLiteralPath()+"."+tail(ed.getPath())+"': minimum required = "+Integer.toString(ed.getMin())+", but only found "+Integer.toString(count)); - } + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), stack.getLiteralPath(), count >= ed.getMin(), "Element '"+stack.getLiteralPath()+"."+tail(ed.getPath())+"': minimum required = "+Integer.toString(ed.getMin())+", but only found "+Integer.toString(count)); + } if (ed.hasMax() && !ed.getMax().equals("*")) { - rule(errors, "structure", element.line(), element.col(), stack.getLiteralPath(), count <= Integer.parseInt(ed.getMax()), "Element "+tail(ed.getPath())+" @ "+stack.getLiteralPath()+": max allowed = "+Integer.toString(ed.getMin())+", but found "+Integer.toString(count)); - } + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), stack.getLiteralPath(), count <= Integer.parseInt(ed.getMax()), "Element "+tail(ed.getPath())+" @ "+stack.getLiteralPath()+": max allowed = "+Integer.toString(ed.getMin())+", but found "+Integer.toString(count)); + } } } @@ -1076,8 +1075,8 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat // 5. inspect each child for validity for (ElementInfo ei : children) { if (ei.definition != null) { - String type = null; - ElementDefinition typeDefn = null; + String type = null; + ElementDefinition typeDefn = null; if (ei.definition.getType().size() == 1 && !ei.definition.getType().get(0).getCode().equals("*") && !ei.definition.getType().get(0).getCode().equals("Element") && !ei.definition.getType().get(0).getCode().equals("BackboneElement") ) type = ei.definition.getType().get(0).getCode(); else if (ei.definition.getType().size() == 1 && ei.definition.getType().get(0).getCode().equals("*")) { @@ -1099,54 +1098,54 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if(trc.getCode().equals("Reference")) type = "Reference"; else - rule(errors, "structure", ei.line(), ei.col(), stack.getLiteralPath(), false, "The element "+ei.name+" is illegal. Valid types at this point are "+describeTypes(ei.definition.getType())); - } + rule(errors, IssueType.STRUCTURE, ei.line(), ei.col(), stack.getLiteralPath(), false, "The element "+ei.name+" is illegal. Valid types at this point are "+describeTypes(ei.definition.getType())); + } } else if (ei.definition.getNameReference() != null) { typeDefn = resolveNameReference(profile.getSnapshot(), ei.definition.getNameReference()); - } - + } - if (type != null) { - if (type.startsWith("@")) { + + if (type != null) { + if (type.startsWith("@")) { ei.definition = findElement(profile, type.substring(1)); - type = null; - } - } + type = null; + } + } NodeStack localStack = stack.push(ei.element, ei.count, ei.definition, type == null ? typeDefn : resolveType(type)); assert(ei.path.equals(localStack.getLiteralPath())); - if (type != null) { - if (typeIsPrimitive(type)) + if (type != null) { + if (typeIsPrimitive(type)) checkPrimitive(errors, ei.path, type, ei.definition, ei.element); - else { - if (type.equals("Identifier")) + else { + if (type.equals("Identifier")) checkIdentifier(errors, ei.path, ei.element, ei.definition); - else if (type.equals("Coding")) + else if (type.equals("Coding")) checkCoding(errors, ei.path, ei.element, profile, ei.definition); - else if (type.equals("CodeableConcept")) + else if (type.equals("CodeableConcept")) checkCodeableConcept(errors, ei.path, ei.element, profile, ei.definition); - else if (type.equals("Reference")) + else if (type.equals("Reference")) checkReference(errors, ei.path, ei.element, profile, ei.definition, actualType, localStack); - if (type.equals("Extension")) + if (type.equals("Extension")) checkExtension(errors, ei.path, ei.element, ei.definition, profile, localStack); - else if (type.equals("Resource")) + else if (type.equals("Resource")) validateContains(errors, ei.path, ei.definition, definition, ei.element, localStack, !isBundleEntry(ei.path)); // if (str.matches(".*([.,/])work\\1$")) - else { - StructureDefinition p = getProfileForType(type); - if (rule(errors, "structure", ei.line(), ei.col(), ei.path, p != null, "Unknown type "+type)) { + else { + StructureDefinition p = getProfileForType(type); + if (rule(errors, IssueType.STRUCTURE, ei.line(), ei.col(), ei.path, p != null, "Unknown type "+type)) { validateElement(errors, p, p.getSnapshot().getElement().get(0), profile, ei.definition, ei.element, type, localStack); - } - } - } - } else { - if (rule(errors, "structure", ei.line(), ei.col(), stack.getLiteralPath(), ei.definition != null, "Unrecognised Content "+ei.name)) + } + } + } + } else { + if (rule(errors, IssueType.STRUCTURE, ei.line(), ei.col(), stack.getLiteralPath(), ei.definition != null, "Unrecognised Content "+ei.name)) validateElement(errors, profile, ei.definition, null, null, ei.element, type, localStack); } - } + } } } - + /** * * @param element - the candidate that might be in the slice @@ -1193,7 +1192,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat throw new Exception("Error in profile for "+path+" multiple types defined in slice discriminator"); StructureDefinition type; if (ed.getType().get(0).hasProfile()) - type = context.getExtensionStructure(profile, ed.getType().get(0).getProfile()); + type = context.getExtensionStructure(profile, ed.getType().get(0).getProfile().get(0).getValue()); else type = context.getExtensionStructure(profile, "http://hl7.org/fhir/StructureDefinition/"+ed.getType().get(0).getCode()); snapshot = type.getSnapshot().getElement(); @@ -1215,7 +1214,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat throw new Error("Unable to find discriminator definition for "+goal+" at "+path); } - private boolean isPrimitiveType(String type) { + private boolean isPrimitiveType(String type) { return type.equalsIgnoreCase("boolean") || type.equalsIgnoreCase("integer") || type.equalsIgnoreCase("string") || type.equalsIgnoreCase("decimal") || type.equalsIgnoreCase("uri") || type.equalsIgnoreCase("base64Binary") || type.equalsIgnoreCase("instant") || type.equalsIgnoreCase("date") || @@ -1229,14 +1228,14 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat return (name.equals(tail)); } - private ElementDefinition resolveNameReference(StructureDefinitionSnapshotComponent snapshot, String name) { + private ElementDefinition resolveNameReference(StructureDefinitionSnapshotComponent snapshot, String name) { for (ElementDefinition ed : snapshot.getElement()) if (name.equals(ed.getName())) return ed; return null; } - private ElementDefinition resolveType(String type) { + private ElementDefinition resolveType(String type) { String url = "http://hl7.org/fhir/StructureDefinition/"+type; StructureDefinition sd = context.getProfiles().get(url); if (sd == null || !sd.hasSnapshot()) @@ -1258,7 +1257,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private boolean isBundleEntry(String path) { String[] parts = path.split("\\/"); if (path.startsWith("/f:")) - return parts.length > 2 && parts[parts.length-1].startsWith("f:resource") && parts[parts.length-2].startsWith("f:entry["); + return parts.length > 2 && parts[parts.length-1].startsWith("f:resource") && parts[parts.length-2].startsWith("f:entry["); else return parts.length > 3 && parts[parts.length-1].equals("resource") && parts[parts.length-3].equals("entry"); } @@ -1275,7 +1274,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat String ref = element.getNamedChildValue("reference"); if (Utilities.noString(ref)) { // todo - what should we do in this case? - hint(errors, "structure", element.line(), element.col(), path, !Utilities.noString(element.getNamedChildValue("display")), "A Reference without an actual reference should have a display"); + hint(errors, IssueType.STRUCTURE, element.line(), element.col(), path, !Utilities.noString(element.getNamedChildValue("display")), "A Reference without an actual reference should have a display"); return; } @@ -1285,19 +1284,19 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat ft = we.getResourceType(); else ft = tryParse(ref); - if (hint(errors, "structure", element.line(), element.col(), path, ft != null, "Unable to determine type of target resource")) { + if (hint(errors, IssueType.STRUCTURE, element.line(), element.col(), path, ft != null, "Unable to determine type of target resource")) { boolean ok = false; CommaSeparatedStringBuilder b = new CommaSeparatedStringBuilder(); for (TypeRefComponent type : container.getType()) { if (!ok && type.getCode().equals("Reference")) { // we validate as much as we can. First, can we infer a type from the profile? - if (!type.hasProfile() || type.getProfile().equals("http://hl7.org/fhir/StructureDefinition/Resource")) + if (!type.hasProfile() || type.getProfile().get(0).getValue().equals("http://hl7.org/fhir/StructureDefinition/Resource")) ok = true; else { - String pr = type.getProfile(); + String pr = type.getProfile().get(0).getValue(); String bt = getBaseType(profile, pr); - if (rule(errors, "structure", element.line(), element.col(), path, bt != null, "Unable to resolve the profile reference '"+pr+"'")) { + if (rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path, bt != null, "Unable to resolve the profile reference '"+pr+"'")) { b.append(bt); ok = bt.equals(ft); } else @@ -1308,7 +1307,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat ok = true; // can refer to anything } } - rule(errors, "structure", element.line(), element.col(), path, ok, "Invalid Resource target type. Found "+ft+", but expected one of ("+b.toString()+")"); + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path, ok, "Invalid Resource target type. Found "+ft+", but expected one of ("+b.toString()+")"); } } @@ -1330,8 +1329,8 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat while (stack != null && stack.getElement() != null) { if ("Bundle".equals(stack.getElement().getResourceType())) { WrapperElement res = getFromBundle(stack.getElement(), ref.substring(1)); - if (res != null) - return res; + if (res != null) + return res; } stack = stack.parent; } @@ -1431,22 +1430,22 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat StructureDefinition ex = context.getExtensionStructure(profile, url); if (ex == null) { - if (!rule(errors, "structure", element.line(), element.col(), path, allowUnknownExtension(url), "The extension "+url+" is unknown, and not allowed here")) - warning(errors, "structure", element.line(), element.col(), path, allowUnknownExtension(url), "Unknown extension "+url); + if (!rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path, allowUnknownExtension(url), "The extension "+url+" is unknown, and not allowed here")) + warning(errors, IssueType.STRUCTURE, element.line(), element.col(), path, allowUnknownExtension(url), "Unknown extension "+url); } else { if (def.getIsModifier()) - rule(errors, "structure", element.line(), element.col(), path+"[url='"+url+"']", ex.getSnapshot().getElement().get(0).getIsModifier(), "Extension modifier mismatch: the extension element is labelled as a modifier, but the underlying extension is not"); + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path+"[url='"+url+"']", ex.getSnapshot().getElement().get(0).getIsModifier(), "Extension modifier mismatch: the extension element is labelled as a modifier, but the underlying extension is not"); else - rule(errors, "structure", element.line(), element.col(), path+"[url='"+url+"']", !ex.getSnapshot().getElement().get(0).getIsModifier(), "Extension modifier mismatch: the extension element is not labelled as a modifier, but the underlying extension is"); + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path+"[url='"+url+"']", !ex.getSnapshot().getElement().get(0).getIsModifier(), "Extension modifier mismatch: the extension element is not labelled as a modifier, but the underlying extension is"); // two questions // 1. can this extension be used here? checkExtensionContext(errors, element, /*path+"[url='"+url+"']",*/ ex, stack, ex.getUrl()); - + if (isModifier) - rule(errors, "structure", element.line(), element.col(), path+"[url='"+url+"']", ex.getSnapshot().getElement().get(0).getIsModifier(), "The Extension '"+url+"' must be used as a modifierExtension"); + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path+"[url='"+url+"']", ex.getSnapshot().getElement().get(0).getIsModifier(), "The Extension '"+url+"' must be used as a modifierExtension"); else - rule(errors, "structure", element.line(), element.col(), path+"[url='"+url+"']", !ex.getSnapshot().getElement().get(0).getIsModifier(), "The Extension '"+url+"' must not be used as an extension (it's a modifierExtension)"); + rule(errors, IssueType.STRUCTURE, element.line(), element.col(), path+"[url='"+url+"']", !ex.getSnapshot().getElement().get(0).getIsModifier(), "The Extension '"+url+"' must not be used as an extension (it's a modifierExtension)"); // 2. is the content of the extension valid? @@ -1481,22 +1480,22 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat for (String lp : stack.getLogicalPaths()) p.append(lp); if (definition.getContextType() == ExtensionContext.DATATYPE) { - boolean ok = false; + boolean ok = false; CommaSeparatedStringBuilder b = new CommaSeparatedStringBuilder(); for (StringType ct : definition.getContext()) { b.append(ct.getValue()); if (ct.getValue().equals("*") || stack.getLogicalPaths().contains(ct.getValue()+".extension")) - ok = true; + ok = true; } - return rule(errors, "structure", element.line(), element.col(), stack.getLiteralPath(), ok, "The extension "+extUrl+" is not allowed to be used on the logical path set ["+p.toString()+"] (allowed: datatype="+b.toString()+")"); + return rule(errors, IssueType.STRUCTURE, element.line(), element.col(), stack.getLiteralPath(), ok, "The extension "+extUrl+" is not allowed to be used on the logical path set ["+p.toString()+"] (allowed: datatype="+b.toString()+")"); } else if (definition.getContextType() == ExtensionContext.EXTENSION) { boolean ok = false; for (StringType ct : definition.getContext()) if (ct.getValue().equals("*") || ct.getValue().equals(extensionParent)) ok = true; - return rule(errors, "structure", element.line(), element.col(), stack.getLiteralPath(), ok, "The extension "+extUrl+" is not allowed to be used with the extension '"+extensionParent+"'"); + return rule(errors, IssueType.STRUCTURE, element.line(), element.col(), stack.getLiteralPath(), ok, "The extension "+extUrl+" is not allowed to be used with the extension '"+extensionParent+"'"); } else if (definition.getContextType() == ExtensionContext.MAPPING) { - throw new Error("Not handled yet"); + throw new Error("Not handled yet (extensionContext)"); } else if (definition.getContextType() == ExtensionContext.RESOURCE) { boolean ok = false; // String simplePath = container.getPath(); @@ -1510,7 +1509,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (c.equals("*") || stack.getLogicalPaths().contains(c+".extension") || (c.startsWith("@") && stack.getLogicalPaths().contains(c.substring(1)+".extension"))); ok = true; } - return rule(errors, "structure", element.line(), element.col(), stack.getLiteralPath(), ok, "The extension "+extUrl+" is not allowed to be used on the logical path set "+p.toString()+" (allowed: resource="+b.toString()+")"); + return rule(errors, IssueType.STRUCTURE, element.line(), element.col(), stack.getLiteralPath(), ok, "The extension "+extUrl+" is not allowed to be used on the logical path set "+p.toString()+" (allowed: resource="+b.toString()+")"); } else throw new Error("Unknown context type"); } @@ -1550,7 +1549,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat return false; WrapperElement child = element.getFirstChild(); if (child != null && (!child.isXml() || FormatUtilities.FHIR_NS.equals(child.getNamespace()))) - return false; + return false; return true; } @@ -1581,7 +1580,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat WrapperElement e = element.isXml() ? element.getFirstChild() : element; String resourceName = e.getResourceType(); StructureDefinition profile = this.context.getProfiles().get("http://hl7.org/fhir/StructureDefinition/"+resourceName); - if (rule(errors, "invalid", element.line(), element.col(), stack.addToLiteralPath(resourceName), profile != null, "No profile found for contained resource of type '"+resourceName+"'")) + if (rule(errors, IssueType.INVALID, element.line(), element.col(), stack.addToLiteralPath(resourceName), profile != null, "No profile found for contained resource of type '"+resourceName+"'")) validateResource(errors, e, profile, needsId, stack); } @@ -1606,37 +1605,40 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void checkPrimitive(List errors, String path, String type, ElementDefinition context, WrapperElement e) { if (type.equals("uri")) { - rule(errors, "invalid", e.line(), e.col(), path, !e.getAttribute("value").startsWith("oid:"), "URI values cannot start with oid:"); - rule(errors, "invalid", e.line(), e.col(), path, !e.getAttribute("value").startsWith("uuid:"), "URI values cannot start with uuid:"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, !e.getAttribute("value").startsWith("oid:"), "URI values cannot start with oid:"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, !e.getAttribute("value").startsWith("uuid:"), "URI values cannot start with uuid:"); } if (!type.equalsIgnoreCase("string") && e.hasAttribute("value")) { - if (rule(errors, "invalid", e.line(), e.col(), path, e.getAttribute("value").length() > 0, "@value cannot be empty")) { - warning(errors, "invalid", e.line(), e.col(), path, e.getAttribute("value").trim().equals(e.getAttribute("value")), "value should not start or finish with whitespace"); + if (rule(errors, IssueType.INVALID, e.line(), e.col(), path, e.getAttribute("value").length() > 0, "@value cannot be empty")) { + warning(errors, IssueType.INVALID, e.line(), e.col(), path, e.getAttribute("value").trim().equals(e.getAttribute("value")), "value should not start or finish with whitespace"); } } if (type.equals("dateTime")) { - rule(errors, "invalid", e.line(), e.col(), path, yearIsValid(e.getAttribute("value")), "The value '"+e.getAttribute("value")+"' is not a valid year"); - rule(errors, "invalid", e.line(), e.col(), path, e.getAttribute("value").matches("-?[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))?)?)?)?"), "Not a valid date time"); - rule(errors, "invalid", e.line(), e.col(), path, !hasTime(e.getAttribute("value")) || hasTimeZone(e.getAttribute("value")), "if a date has a time, it must have a timezone"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, yearIsValid(e.getAttribute("value")), "The value '"+e.getAttribute("value")+"' does not have a valid year"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, e.getAttribute("value").matches("-?[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))?)?)?)?"), "Not a valid date time"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, !hasTime(e.getAttribute("value")) || hasTimeZone(e.getAttribute("value")), "if a date has a time, it must have a timezone"); } if (type.equals("instant")) { - rule(errors, "invalid", e.line(), e.col(), path, e.getAttribute("value").matches("-?[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))"), "The instant '"+e.getAttribute("value")+"' is not valid (by regex)"); - rule(errors, "invalid", e.line(), e.col(), path, yearIsValid(e.getAttribute("value")), "The value '"+e.getAttribute("value")+"' is not a valid year"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, e.getAttribute("value").matches("-?[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))"), "The instant '"+e.getAttribute("value")+"' is not valid (by regex)"); + rule(errors, IssueType.INVALID, e.line(), e.col(), path, yearIsValid(e.getAttribute("value")), "The value '"+e.getAttribute("value")+"' does not have a valid year"); } // for nothing to check } private boolean yearIsValid(String v) { - if (Utilities.noString(v) || v.length() < 4) - return false; - v = v.substring(0, 4); - if (!Utilities.IsInteger(v)) - return false; - int i = Integer.parseInt(v); - return i >= 1800 && i <= 2100; + if (v == null) { + return false; + } + try { + int i = Integer.parseInt(v.substring(0, Math.min(4, v.length()))); + return i >= 1800 && i <= 2100; + } catch (NumberFormatException e) { + return false; + } } + private boolean hasTimeZone(String fmt) { return fmt.length() > 10 && (fmt.substring(10).contains("-") || fmt.substring(10).contains("-") || fmt.substring(10).contains("+") || fmt.substring(10).contains("Z")); } @@ -1647,13 +1649,14 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void checkIdentifier(List errors, String path, WrapperElement element, ElementDefinition context) { String system = element.getNamedChildValue("system"); - rule(errors, "code-unknown", element.line(), element.col(), path, isAbsolute(system), "Identifier.system must be an absolute reference, not a local reference"); + rule(errors, IssueType.CODEINVALID, element.line(), element.col(), path, isAbsolute(system), "Identifier.system must be an absolute reference, not a local reference"); } private boolean isAbsolute(String uri) { - return Utilities.noString(uri) || uri.startsWith("http:") || uri.startsWith("https:") || uri.startsWith("urn:uuid:") || uri.startsWith("urn:oid:") || uri.startsWith("urn:ietf:") || (uri.startsWith("urn:std:")); + return Utilities.noString(uri) || uri.startsWith("http:") || uri.startsWith("https:") || uri.startsWith("urn:uuid:") || uri.startsWith("urn:oid:") || + uri.startsWith("urn:ietf:") || uri.startsWith("urn:iso:"); } - + private void checkIdentifier(String path, Element element, ElementDefinition context) { } @@ -1673,36 +1676,36 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat String code = element.getNamedChildValue("code"); String system = element.getNamedChildValue("system"); String display = element.getNamedChildValue("display"); - rule(errors, "code-unknown", element.line(), element.col(), path, isAbsolute(system), "Coding.system must be an absolute reference, not a local reference"); - + rule(errors, IssueType.CODEINVALID, element.line(), element.col(), path, isAbsolute(system), "Coding.system must be an absolute reference, not a local reference"); + if (system != null && code != null) { if (checkCode(errors, element, path, code, system, display)) if (context != null && context.getBinding() != null) { ElementDefinitionBindingComponent binding = context.getBinding(); - if (warning(errors, "code-unknown", element.line(), element.col(), path, binding != null, "Binding for "+path+" missing")) { + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, binding != null, "Binding for "+path+" missing")) { if (binding.hasValueSet() && binding.getValueSet() instanceof Reference) { ValueSet vs = resolveBindingReference(binding.getValueSet()); - if (warning(errors, "code-unknown", element.line(), element.col(), path, vs != null, "ValueSet "+describeReference(binding.getValueSet())+" not found")) { + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, vs != null, "ValueSet "+describeReference(binding.getValueSet())+" not found")) { try { vs = cache.getExpander().expand(vs).getValueset(); - if (warning(errors, "code-unknown", element.line(), element.col(), path, vs != null, "Unable to expand value set for "+describeReference(binding.getValueSet()))) { - warning(errors, "code-unknown", element.line(), element.col(), path, codeInExpansion(vs, system, code), "Code {"+system+"}"+code+" is not in value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+")"); + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, vs != null, "Unable to expand value set for "+describeReference(binding.getValueSet()))) { + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, codeInExpansion(vs, system, code), "Code {"+system+"}"+code+" is not in value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+")"); } } catch (Exception e) { if (e.getMessage() == null) - warning(errors, "code-unknown", element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": --Null--"); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": --Null--"); // else if (!e.getMessage().contains("unable to find value set http://snomed.info/sct")) -// hint(errors, "code-unknown", path, suppressLoincSnomedMessages, "Snomed value set - not validated"); +// hint(errors, IssueType.CODEINVALID, path, suppressLoincSnomedMessages, "Snomed value set - not validated"); // else if (!e.getMessage().contains("unable to find value set http://loinc.org")) -// hint(errors, "code-unknown", path, suppressLoincSnomedMessages, "Loinc value set - not validated"); +// hint(errors, IssueType.CODEINVALID, path, suppressLoincSnomedMessages, "Loinc value set - not validated"); else - warning(errors, "code-unknown", element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": "+e.getMessage()); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": "+e.getMessage()); } } } else if (binding.hasValueSet()) - hint(errors, "code-unknown", element.line(), element.col(), path, false, "Binding by URI reference cannot be checked"); + hint(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Binding by URI reference cannot be checked"); else - hint(errors, "code-unknown", element.line(), element.col(), path, false, "Binding has no source, so can't be checked"); + hint(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Binding has no source, so can't be checked"); } } } @@ -1741,14 +1744,14 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void checkCodeableConcept(List errors, String path, WrapperElement element, StructureDefinition profile, ElementDefinition context) { if (context != null && context.hasBinding()) { ElementDefinitionBindingComponent binding = context.getBinding(); - if (warning(errors, "code-unknown", element.line(), element.col(), path, binding != null, "Binding for "+path+" missing (cc)")) { + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, binding != null, "Binding for "+path+" missing (cc)")) { if (binding.hasValueSet() && binding.getValueSet() instanceof Reference) { ValueSet vs = resolveBindingReference(binding.getValueSet()); - if (warning(errors, "code-unknown", element.line(), element.col(), path, vs != null, "ValueSet "+describeReference(binding.getValueSet())+" not found")) { + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, vs != null, "ValueSet "+describeReference(binding.getValueSet())+" not found")) { try { ValueSetExpansionOutcome exp = cache.getExpander().expand(vs); vs = exp.getValueset(); - if (warning(errors, "code-unknown", element.line(), element.col(), path, vs != null, "Unable to expand value set for "+describeReference(binding.getValueSet()))) { + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, vs != null, "Unable to expand value set for "+describeReference(binding.getValueSet()))) { boolean found = false; boolean any = false; WrapperElement c = element.getFirstChild(); @@ -1763,28 +1766,28 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat c = c.getNextSibling(); } if (!any && binding.getStrength() == BindingStrength.REQUIRED) - warning(errors, "code-unknown", element.line(), element.col(), path, found, "No code provided, and value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+") is required"); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, found, "No code provided, and value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+") is required"); if (any) if (binding.getStrength() == BindingStrength.PREFERRED) - hint(errors, "code-unknown", element.line(), element.col(), path, found, "None of the codes are in the example value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+")"); + hint(errors, IssueType.CODEINVALID, element.line(), element.col(), path, found, "None of the codes are in the example value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+")"); else if (binding.getStrength() == BindingStrength.EXTENSIBLE) - warning(errors, "code-unknown", element.line(), element.col(), path, found, "None of the codes are in the expected value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+")"); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, found, "None of the codes are in the expected value set "+describeReference(binding.getValueSet())+" ("+vs.getUrl()+")"); } } catch (Exception e) { if (e.getMessage() == null) { - warning(errors, "code-unknown", element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": --Null--"); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": --Null--"); // } else if (!e.getMessage().contains("unable to find value set http://snomed.info/sct")) { -// hint(errors, "code-unknown", path, suppressLoincSnomedMessages, "Snomed value set - not validated"); +// hint(errors, IssueType.CODEINVALID, path, suppressLoincSnomedMessages, "Snomed value set - not validated"); // } else if (!e.getMessage().contains("unable to find value set http://loinc.org")) { -// hint(errors, "code-unknown", path, suppressLoincSnomedMessages, "Loinc value set - not validated"); +// hint(errors, IssueType.CODEINVALID, path, suppressLoincSnomedMessages, "Loinc value set - not validated"); } else - warning(errors, "code-unknown", element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": "+e.getMessage()); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Exception opening value set "+vs.getUrl()+" for "+describeReference(binding.getValueSet())+": "+e.getMessage()); } } } else if (binding.hasValueSet()) - hint(errors, "code-unknown", element.line(), element.col(), path, false, "Binding by URI reference cannot be checked"); + hint(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Binding by URI reference cannot be checked"); else - hint(errors, "code-unknown", element.line(), element.col(), path, false, "Binding has no source, so can't be checked"); + hint(errors, IssueType.CODEINVALID, element.line(), element.col(), path, false, "Binding has no source, so can't be checked"); } } } @@ -1806,21 +1809,21 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (s == null) return true; if (s.getSeverity() == IssueSeverity.INFORMATION) - hint(errors, "code-unknown", element.line(), element.col(), path, s == null, s.getMessage()); + hint(errors, IssueType.CODEINVALID, element.line(), element.col(), path, s == null, s.getMessage()); else if (s.getSeverity() == IssueSeverity.WARNING) - warning(errors, "code-unknown", element.line(), element.col(), path, s == null, s.getMessage()); + warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, s == null, s.getMessage()); else - return rule(errors, "code-unknown", element.line(), element.col(), path, s == null, s.getMessage()); + return rule(errors, IssueType.CODEINVALID, element.line(), element.col(), path, s == null, s.getMessage()); return true; } else if (system.startsWith("http://hl7.org/fhir")) { if (system.equals("http://hl7.org/fhir/sid/icd-10")) return true; // else don't check ICD-10 (for now) else { ValueSet vs = getValueSet(system); - if (warning(errors, "code-unknown", element.line(), element.col(), path, vs != null, "Unknown Code System "+system)) { + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, vs != null, "Unknown Code System "+system)) { ConceptDefinitionComponent def = getCodeDefinition(vs, code); - if (warning(errors, "code-unknown", element.line(), element.col(), path, def != null, "Unknown Code ("+system+"#"+code+")")) - return warning(errors, "code-unknown", element.line(), element.col(), path, display == null || display.equals(def.getDisplay()), "Display should be '"+def.getDisplay()+"'"); + if (warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, def != null, "Unknown Code ("+system+"#"+code+")")) + return warning(errors, IssueType.CODEINVALID, element.line(), element.col(), path, display == null || display.equals(def.getDisplay()), "Display should be '"+def.getDisplay()+"'"); } return false; } @@ -1918,7 +1921,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (elementDefn.getPath().endsWith("[x]")) { String tail = elementDefn.getPath().substring(elementDefn.getPath().lastIndexOf(".")+1, elementDefn.getPath().length()-3); type = focus.getName().substring(tail.length()); - rule(errors, "structure", focus.line(), focus.col(), path, typeAllowed(type, elementDefn.getType()), "The type '"+type+"' is not allowed at this point (must be one of '"+typeSummary(elementDefn)+")"); + rule(errors, IssueType.STRUCTURE, focus.line(), focus.col(), path, typeAllowed(type, elementDefn.getType()), "The type '"+type+"' is not allowed at this point (must be one of '"+typeSummary(elementDefn)+")"); } else { if (elementDefn.getType().size() == 1) { type = elementDefn.getType().size() == 0 ? null : elementDefn.getType().get(0).getCode(); @@ -1949,12 +1952,12 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (children.size() == 0) { // well, there's no children - should there be? for (ElementDefinition defn : childset) { - if (!rule(errors,"required", focus.line(), focus.col(), path, defn.getMin() == 0, "Required Element '"+walker.name()+"' missing")) + if (!rule(errors, IssueType.REQUIRED, focus.line(), focus.col(), path, defn.getMin() == 0, "Required Element '"+walker.name()+"' missing")) break; // no point complaining about missing ones after the first one } } else if (childset.size() == 1) { // simple case: one possible definition, and one or more children. - rule(errors, "cardinality", focus.line(), focus.col(), path, childset.get(0).getMax().equals("*") || Integer.parseInt(childset.get(0).getMax()) >= children.size(), + rule(errors, IssueType.STRUCTURE, focus.line(), focus.col(), path, childset.get(0).getMax().equals("*") || Integer.parseInt(childset.get(0).getMax()) >= children.size(), "Too many elements for '"+walker.name()+"'"); // todo: sort out structure for (WrapperElement child : children) { checkByProfile(errors, childset.get(0).getPath(), child, profile, childset.get(0)); @@ -1974,7 +1977,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat String url = ((Reference) bc.getValueSet()).getReference(); ValueSet vs = resolveValueSetReference(profile, (Reference) bc.getValueSet()); if (vs == null) { - rule(errors, "structure", focus.line(), focus.col(), path, false, "Cannot check binding on type '"+type+"' as the value set '"+url+"' could not be located"); + rule(errors, IssueType.STRUCTURE, focus.line(), focus.col(), path, false, "Cannot check binding on type '"+type+"' as the value set '"+url+"' could not be located"); } else if (type.equals("code")) checkBindingCode(errors, path, focus, vs); else if (type.equals("Coding")) @@ -1982,7 +1985,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat else if (type.equals("CodeableConcept")) checkBindingCodeableConcept(errors, path, focus, vs); else - rule(errors, "structure", focus.line(), focus.col(), path, false, "Cannot check binding on type '"+type+"'"); + rule(errors, IssueType.STRUCTURE, focus.line(), focus.col(), path, false, "Cannot check binding on type '"+type+"'"); } } @@ -2054,7 +2057,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat // two things to check - length, and fixed value String value = focus.getAttribute("value"); if (elementDefn.hasMaxLengthElement()) { - rule(errors, "too long", focus.line(), focus.col(), path, value.length() <= elementDefn.getMaxLength(), "The value '"+value+"' exceeds the allow length limit of "+Integer.toString(elementDefn.getMaxLength())); + rule(errors, IssueType.TOOLONG, focus.line(), focus.col(), path, value.length() <= elementDefn.getMaxLength(), "The value '"+value+"' exceeds the allow length limit of "+Integer.toString(elementDefn.getMaxLength())); } if (elementDefn.hasFixed()) { checkFixedValue(errors, path, focus, elementDefn.getFixed(), ""); @@ -2065,37 +2068,37 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat if (fixed == null && focus == null) ; // this is all good else if (fixed == null && focus != null) - rule(errors, "value", focus.line(), focus.col(), path, false, "Unexpected element "+focus.getName()); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, false, "Unexpected element "+focus.getName()); else if (fixed != null && focus == null) - rule(errors, "value", focus.line(), focus.col(), path, false, "Mising element "+propName); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, false, "Mising element "+propName); else { String value = focus.getAttribute("value"); if (fixed instanceof org.hl7.fhir.instance.model.BooleanType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.BooleanType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.BooleanType) fixed).asStringValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.BooleanType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.BooleanType) fixed).asStringValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.IntegerType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.IntegerType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.IntegerType) fixed).asStringValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.IntegerType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.IntegerType) fixed).asStringValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.DecimalType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.DecimalType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.DecimalType) fixed).asStringValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.DecimalType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.DecimalType) fixed).asStringValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.Base64BinaryType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.Base64BinaryType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.Base64BinaryType) fixed).asStringValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.Base64BinaryType) fixed).asStringValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.Base64BinaryType) fixed).asStringValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.InstantType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.InstantType) fixed).getValue().toString(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.InstantType) fixed).asStringValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.InstantType) fixed).getValue().toString(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.InstantType) fixed).asStringValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.StringType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.StringType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.StringType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.StringType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.StringType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.UriType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.UriType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.UriType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.UriType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.UriType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.DateType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.DateType) fixed).getValue().toString(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.DateType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.DateType) fixed).getValue().toString(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.DateType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.DateTimeType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.DateTimeType) fixed).getValue().toString(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.DateTimeType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.DateTimeType) fixed).getValue().toString(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.DateTimeType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.OidType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.OidType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.OidType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.OidType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.OidType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.UuidType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.UuidType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.UuidType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.UuidType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.UuidType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.CodeType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.CodeType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.CodeType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.CodeType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.CodeType) fixed).getValue()+"'"); else if (fixed instanceof org.hl7.fhir.instance.model.IdType) - rule(errors, "value", focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.IdType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.IdType) fixed).getValue()+"'"); + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, check(((org.hl7.fhir.instance.model.IdType) fixed).getValue(), value), "Value is '"+value+"' but must be '"+((org.hl7.fhir.instance.model.IdType) fixed).getValue()+"'"); else if (fixed instanceof Quantity) checkQuantity(errors, path, focus, (Quantity) fixed); else if (fixed instanceof Address) @@ -2124,15 +2127,15 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat checkSampledData(errors, path, focus, (SampledData) fixed); else - rule(errors, "exception", focus.line(), focus.col(), path, false, "Unhandled fixed value type "+fixed.getClass().getName()); + rule(errors, IssueType.EXCEPTION, focus.line(), focus.col(), path, false, "Unhandled fixed value type "+fixed.getClass().getName()); List extensions = new ArrayList(); focus.getNamedChildren("extension", extensions); if (fixed.getExtension().size() == 0) { - rule(errors, "value", focus.line(), focus.col(), path, extensions.size() == 0, "No extensions allowed"); - } else if (rule(errors, "value", focus.line(), focus.col(), path, extensions.size() == fixed.getExtension().size(), "Extensions count mismatch: expected "+Integer.toString(fixed.getExtension().size())+" but found "+Integer.toString(extensions.size()))) { + rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, extensions.size() == 0, "No extensions allowed"); + } else if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, extensions.size() == fixed.getExtension().size(), "Extensions count mismatch: expected "+Integer.toString(fixed.getExtension().size())+" but found "+Integer.toString(extensions.size()))) { for (Extension e : fixed.getExtension()) { WrapperElement ex = getExtensionByUrl(extensions, e.getUrl()); - if (rule(errors, "value", focus.line(), focus.col(), path, ex != null, "Extension count mismatch: unable to find extension: "+e.getUrl())) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, ex != null, "Extension count mismatch: unable to find extension: "+e.getUrl())) { checkFixedValue(errors, path, ex.getFirstChild().getNextSibling(), e.getValue(), "extension.value"); } } @@ -2150,7 +2153,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat List lines = new ArrayList(); focus.getNamedChildren( "line", lines); - if (rule(errors, "value", focus.line(), focus.col(), path, lines.size() == fixed.getLine().size(), "Expected "+Integer.toString(fixed.getLine().size())+" but found "+Integer.toString(lines.size())+" line elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, lines.size() == fixed.getLine().size(), "Expected "+Integer.toString(fixed.getLine().size())+" but found "+Integer.toString(lines.size())+" line elements")) { for (int i = 0; i < lines.size(); i++) checkFixedValue(errors, path+".coding", lines.get(i), fixed.getLine().get(i), "coding"); } @@ -2187,7 +2190,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat checkFixedValue(errors, path+".system", focus.getNamedChild("system"), fixed.getSystemElement(), "system"); checkFixedValue(errors, path+".code", focus.getNamedChild("code"), fixed.getCodeElement(), "code"); checkFixedValue(errors, path+".display", focus.getNamedChild("display"), fixed.getDisplayElement(), "display"); - checkFixedValue(errors, path+".primary", focus.getNamedChild("primary"), fixed.getPrimaryElement(), "primary"); + checkFixedValue(errors, path+".userSelected", focus.getNamedChild("userSelected"), fixed.getUserSelectedElement(), "userSelected"); } private void checkHumanName(List errors, String path, WrapperElement focus, HumanName fixed) { @@ -2197,22 +2200,22 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat List parts = new ArrayList(); focus.getNamedChildren( "family", parts); - if (rule(errors, "value", focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" family elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" family elements")) { for (int i = 0; i < parts.size(); i++) checkFixedValue(errors, path+".family", parts.get(i), fixed.getFamily().get(i), "family"); } focus.getNamedChildren( "given", parts); - if (rule(errors, "value", focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" given elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" given elements")) { for (int i = 0; i < parts.size(); i++) checkFixedValue(errors, path+".given", parts.get(i), fixed.getFamily().get(i), "given"); } focus.getNamedChildren( "prefix", parts); - if (rule(errors, "value", focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" prefix elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" prefix elements")) { for (int i = 0; i < parts.size(); i++) checkFixedValue(errors, path+".prefix", parts.get(i), fixed.getFamily().get(i), "prefix"); } focus.getNamedChildren( "suffix", parts); - if (rule(errors, "value", focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" suffix elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, parts.size() == fixed.getFamily().size(), "Expected "+Integer.toString(fixed.getFamily().size())+" but found "+Integer.toString(parts.size())+" suffix elements")) { for (int i = 0; i < parts.size(); i++) checkFixedValue(errors, path+".suffix", parts.get(i), fixed.getFamily().get(i), "suffix"); } @@ -2222,7 +2225,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat checkFixedValue(errors, path+".text", focus.getNamedChild("text"), fixed.getTextElement(), "text"); List codings = new ArrayList(); focus.getNamedChildren( "coding", codings); - if (rule(errors, "value", focus.line(), focus.col(), path, codings.size() == fixed.getCoding().size(), "Expected "+Integer.toString(fixed.getCoding().size())+" but found "+Integer.toString(codings.size())+" coding elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, codings.size() == fixed.getCoding().size(), "Expected "+Integer.toString(fixed.getCoding().size())+" but found "+Integer.toString(codings.size())+" coding elements")) { for (int i = 0; i < codings.size(); i++) checkFixedValue(errors, path+".coding", codings.get(i), fixed.getCoding().get(i), "coding"); } @@ -2233,7 +2236,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat List events = new ArrayList(); focus.getNamedChildren( "event", events); - if (rule(errors, "value", focus.line(), focus.col(), path, events.size() == fixed.getEvent().size(), "Expected "+Integer.toString(fixed.getEvent().size())+" but found "+Integer.toString(events.size())+" event elements")) { + if (rule(errors, IssueType.VALUE, focus.line(), focus.col(), path, events.size() == fixed.getEvent().size(), "Expected "+Integer.toString(fixed.getEvent().size())+" but found "+Integer.toString(events.size())+" event elements")) { for (int i = 0; i < events.size(); i++) checkFixedValue(errors, path+".event", events.get(i), fixed.getEvent().get(i), "event"); } @@ -2284,7 +2287,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat } return null; } - + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ProfileValidator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ProfileValidator.java index 41d6c54422a..9be69ffb2e9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ProfileValidator.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ProfileValidator.java @@ -6,7 +6,6 @@ import java.util.List; import org.hl7.fhir.instance.model.ElementDefinition; import org.hl7.fhir.instance.model.StructureDefinition; import org.hl7.fhir.instance.utils.WorkerContext; -import org.hl7.fhir.utilities.Utilities; public class ProfileValidator { @@ -31,13 +30,11 @@ public class ProfileValidator { } private void checkExtensions(StructureDefinition profile, List errors, String kind, ElementDefinition ec) throws Exception { - if (!ec.getType().isEmpty() && ec.getType().get(0).getCode().equals("Extension")) { - String url = ec.getType().get(0).getProfile(); - if (!Utilities.noString(url)) { + if (!ec.getType().isEmpty() && ec.getType().get(0).getCode().equals("Extension") && ec.getType().get(0).hasProfile()) { + String url = ec.getType().get(0).getProfile().get(0).getValue(); StructureDefinition defn = context.getExtensionStructure(null, url); if (defn == null) errors.add("Unable to find Extension '"+url+"' referenced at "+profile.getUrl()+" "+kind+" "+ec.getPath()+" ("+ec.getName()+")"); - } } } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ValidationMessage.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ValidationMessage.java index 2e7cc9ee32b..ccba9fd0bb4 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ValidationMessage.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ValidationMessage.java @@ -34,7 +34,9 @@ import org.hl7.fhir.instance.model.OperationOutcome; import org.hl7.fhir.instance.model.OperationOutcome.IssueSeverity; import org.hl7.fhir.instance.model.OperationOutcome.OperationOutcomeIssueComponent; import org.hl7.fhir.instance.model.StringType; +import org.hl7.fhir.instance.model.valuesets.IssueType; import org.hl7.fhir.instance.utils.ToolingExtensions; +import org.hl7.fhir.utilities.Utilities; public class ValidationMessage { @@ -45,7 +47,9 @@ public class ValidationMessage InstanceValidator, Schema, Schematron, - Publisher + Publisher, + Ontology, + ProfileComparer } private Source source; @@ -53,16 +57,32 @@ public class ValidationMessage private int col; private String location; private String message; - private String type; + private IssueType type; private IssueSeverity level; + private String html; - public ValidationMessage(Source source, String type, int line, int col, String path, String message, IssueSeverity level) { + public ValidationMessage(Source source, IssueType type, String path, String message, IssueSeverity level) { + super(); + this.line = -1; + this.col = -1; + this.location = path; + this.message = message; + this.html = Utilities.escapeXml(message); + this.level = level; + this.source = source; + this.type = type; + if (type == null) + throw new Error("A type must be provided"); + } + + public ValidationMessage(Source source, IssueType type, int line, int col, String path, String message, IssueSeverity level) { super(); this.line = line; this.col = col; this.location = path; this.message = message; + this.html = Utilities.escapeXml(message); this.level = level; this.source = source; this.type = type; @@ -70,6 +90,34 @@ public class ValidationMessage throw new Error("A type must be provided"); } + public ValidationMessage(Source source, IssueType type, String path, String message, String html, IssueSeverity level) { + super(); + this.line = -1; + this.col = -1; + this.location = path; + this.message = message; + this.html = html; + this.level = level; + this.source = source; + this.type = type; + if (type == null) + throw new Error("A type must be provided"); + } + + public ValidationMessage(Source source, IssueType type, int line, int col, String path, String message, String html, IssueSeverity level) { + super(); + this.line = line; + this.col = col; + this.location = path; + this.message = message; + this.html = html; + this.level = level; + this.source = source; + this.type = type; + if (type == null) + throw new Error("A type must be provided"); + } + public ValidationMessage() { } @@ -99,11 +147,11 @@ public class ValidationMessage this.location = location; } - public String getType() { + public IssueType getType() { return type; } - public void setType(String type) { + public void setType(IssueType type) { this.type = type; } @@ -114,7 +162,7 @@ public class ValidationMessage public OperationOutcomeIssueComponent asIssue(OperationOutcome op) throws Exception { OperationOutcomeIssueComponent issue = new OperationOutcome.OperationOutcomeIssueComponent(); issue.setCode(new CodeableConcept()); - issue.getCode().addCoding().setSystem("http://hl7.org/fhir/issue-type").setCode(type); + issue.getCode().addCoding().setSystem(type.getSystem()).setCode(type.toCode()); if (location != null) { StringType s = new StringType(); s.setValue(location+(line>= 0 && col >= 0 ? " (line "+Integer.toString(line)+", col"+Integer.toString(col)+")" : "") ); @@ -127,10 +175,14 @@ public class ValidationMessage } return issue; } + + public String toXML() { + return ""+html+"" + Utilities.escapeXml(message) + ""; + } - @Override - public String toString() { - return "ValidationMessage[" + summary() + "]"; + public String getHtml() { + return html == null ? Utilities.escapeXml(message) : html; } + } \ No newline at end of file diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/utilities/xhtml/HeirarchicalTableGenerator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/utilities/xhtml/HeirarchicalTableGenerator.java index a7058f9284d..e60bcdadedc 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/utilities/xhtml/HeirarchicalTableGenerator.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/utilities/xhtml/HeirarchicalTableGenerator.java @@ -202,6 +202,7 @@ public class HeirarchicalTableGenerator { private String icon; private String anchor; private String hint; + private String color; public List getSubRows() { return subRows; @@ -225,6 +226,12 @@ public class HeirarchicalTableGenerator { public String getHint() { return hint; } + public String getColor() { + return color; + } + public void setColor(String color) { + this.color = color; + } } @@ -294,12 +301,12 @@ public class HeirarchicalTableGenerator { tr.setAttribute("style", "border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"); XhtmlNode tc = null; for (Title t : model.getTitles()) { - tc = renderCell(tr, t, "th", null, null, null, false, null); + tc = renderCell(tr, t, "th", null, null, null, false, null, "white"); if (t.width != 0) tc.setAttribute("style", "width: "+Integer.toString(t.width)+"px"); } if (tc != null && model.getDocoRef() != null) - tc.addTag("span").setAttribute("style", "float: right").addTag("a").setAttribute("title", "Legend for this format").setAttribute("href", model.getDocoRef()).addTag("img").setAttribute("alt", "doco").setAttribute("src", model.getDocoImg()); + tc.addTag("span").setAttribute("style", "float: right").addTag("a").setAttribute("title", "Legend for this format").setAttribute("href", model.getDocoRef()).addTag("img").setAttribute("alt", "doco").setAttribute("style", "background-color: inherit").setAttribute("src", model.getDocoImg()); for (Row r : model.getRows()) { renderRow(table, r, 0, new ArrayList()); @@ -310,10 +317,13 @@ public class HeirarchicalTableGenerator { private void renderRow(XhtmlNode table, Row r, int indent, List indents) throws Exception { XhtmlNode tr = table.addTag("tr"); - tr.setAttribute("style", "border: 0px; padding:0px; vertical-align: top; background-color: white;"); + String color = "white"; + if (r.getColor() != null) + color = r.getColor(); + tr.setAttribute("style", "border: 0px; padding:0px; vertical-align: top; background-color: "+color+";"); boolean first = true; for (Cell t : r.getCells()) { - renderCell(tr, t, "td", first ? r.getIcon() : null, first ? r.getHint() : null, first ? indents : null, !r.getSubRows().isEmpty(), first ? r.getAnchor() : null); + renderCell(tr, t, "td", first ? r.getIcon() : null, first ? r.getHint() : null, first ? indents : null, !r.getSubRows().isEmpty(), first ? r.getAnchor() : null, color); first = false; } table.addText("\r\n"); @@ -331,28 +341,28 @@ public class HeirarchicalTableGenerator { } - private XhtmlNode renderCell(XhtmlNode tr, Cell c, String name, String icon, String hint, List indents, boolean hasChildren, String anchor) throws Exception { + private XhtmlNode renderCell(XhtmlNode tr, Cell c, String name, String icon, String hint, List indents, boolean hasChildren, String anchor, String color) throws Exception { XhtmlNode tc = tr.addTag(name); tc.setAttribute("class", "heirarchy"); if (indents != null) { - tc.addTag("img").setAttribute("src", srcFor("tbl_spacer.png")).setAttribute("class", "heirarchy").setAttribute("alt", "."); - tc.setAttribute("style", "vertical-align: top; text-align : left; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url("+checkExists(indents, hasChildren)+")"); + tc.addTag("img").setAttribute("src", srcFor("tbl_spacer.png")).setAttribute("style", "background-color: inherit").setAttribute("class", "heirarchy").setAttribute("alt", "."); + tc.setAttribute("style", "vertical-align: top; text-align : left; background-color: "+color+"; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url("+checkExists(indents, hasChildren)+")"); for (int i = 0; i < indents.size()-1; i++) { if (indents.get(i)) - tc.addTag("img").setAttribute("src", srcFor("tbl_blank.png")).setAttribute("class", "heirarchy").setAttribute("alt", "."); + tc.addTag("img").setAttribute("src", srcFor("tbl_blank.png")).setAttribute("style", "background-color: inherit").setAttribute("class", "heirarchy").setAttribute("alt", "."); else - tc.addTag("img").setAttribute("src", srcFor("tbl_vline.png")).setAttribute("class", "heirarchy").setAttribute("alt", "."); + tc.addTag("img").setAttribute("src", srcFor("tbl_vline.png")).setAttribute("style", "background-color: inherit").setAttribute("class", "heirarchy").setAttribute("alt", "."); } if (!indents.isEmpty()) if (indents.get(indents.size()-1)) - tc.addTag("img").setAttribute("src", srcFor("tbl_vjoin_end.png")).setAttribute("class", "heirarchy").setAttribute("alt", "."); + tc.addTag("img").setAttribute("src", srcFor("tbl_vjoin_end.png")).setAttribute("style", "background-color: inherit").setAttribute("class", "heirarchy").setAttribute("alt", "."); else - tc.addTag("img").setAttribute("src", srcFor("tbl_vjoin.png")).setAttribute("class", "heirarchy").setAttribute("alt", "."); + tc.addTag("img").setAttribute("src", srcFor("tbl_vjoin.png")).setAttribute("style", "background-color: inherit").setAttribute("class", "heirarchy").setAttribute("alt", "."); } else - tc.setAttribute("style", "vertical-align: top; text-align : left; padding:0px 4px 0px 4px"); + tc.setAttribute("style", "vertical-align: top; text-align : left; background-color: "+color+"; padding:0px 4px 0px 4px"); if (!Utilities.noString(icon)) { - XhtmlNode img = tc.addTag("img").setAttribute("src", srcFor(icon)).setAttribute("class", "heirarchy").setAttribute("style", "background-color: white;").setAttribute("alt", "."); + XhtmlNode img = tc.addTag("img").setAttribute("src", srcFor(icon)).setAttribute("class", "heirarchy").setAttribute("style", "background-color: "+color+"; background-color: inherit").setAttribute("alt", "."); if (hint != null) img.setAttribute("title", hint); tc.addText(" "); @@ -486,16 +496,21 @@ public class HeirarchicalTableGenerator { private void genImage(List indents, boolean hasChildren, OutputStream stream) throws IOException { - BufferedImage bi = new BufferedImage(800, 2, BufferedImage.TYPE_BYTE_BINARY); - Graphics2D graphics = bi.createGraphics(); - graphics.setBackground(Color.WHITE); - graphics.clearRect(0, 0, 800, 2); + BufferedImage bi = new BufferedImage(800, 2, BufferedImage.TYPE_INT_ARGB); + // i have no idea why this works to make these pixels transparent. It defies logic. + // But this combination of INT_ARGB and filling with grey magically worked when nothing else did. So it stays as is. + Color grey = new Color(99,99,99,0); + for (int i = 0; i < 800; i++) { + bi.setRGB(i, 0, grey.getRGB()); + bi.setRGB(i, 1, grey.getRGB()); + } + Color black = new Color(0, 0, 0); for (int i = 0; i < indents.size(); i++) { if (!indents.get(i)) - bi.setRGB(12+(i*16), 0, 0); + bi.setRGB(12+(i*16), 0, black.getRGB()); } if (hasChildren) - bi.setRGB(12+(indents.size()*16), 0, 0); + bi.setRGB(12+(indents.size()*16), 0, black.getRGB()); ImageIO.write(bi, "PNG", stream); } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/account.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/account.sch new file mode 100644 index 00000000000..6280b176528 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/account.sch @@ -0,0 +1,54 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + Account + + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + + + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-2: The narrative SHALL have some non-whitespace content + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + qty-3: If a code for the units is present, the system SHALL also be present + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/allergyintolerance.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/allergyintolerance.sch index 1783269c0f9..049c8713544 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/allergyintolerance.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/allergyintolerance.sch @@ -18,16 +18,10 @@ AllergyIntolerance - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,32 +44,8 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointment.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointment.sch index ba1ab117bc7..4b4cb52c5e6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointment.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointment.sch @@ -18,16 +18,10 @@ Appointment - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,54 +29,18 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointmentresponse.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointmentresponse.sch index 241f749aab8..5bac30ad8d1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointmentresponse.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/appointmentresponse.sch @@ -18,16 +18,10 @@ AppointmentResponse - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/auditevent.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/auditevent.sch index e318763ddcc..2acc2e82656 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/auditevent.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/auditevent.sch @@ -18,16 +18,10 @@ AuditEvent - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,67 +29,19 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - sev-3: Either a userId or a reference, but not both - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - sev-1: Either a name or a query (or both) sev-2: Either an identifier or a reference, but not both - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -105,11 +51,5 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/basic.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/basic.sch index 9f6d3bfa8c3..a51d557ba88 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/basic.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/basic.sch @@ -18,16 +18,10 @@ Basic - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/binary.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/binary.sch index cd4277ef70d..18a4930f7a7 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/binary.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/binary.sch @@ -18,11 +18,5 @@ Binary - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bodysite.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bodysite.sch index f939a62f301..3aca2e27cec 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bodysite.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bodysite.sch @@ -18,16 +18,10 @@ BodySite - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,45 +29,15 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bundle.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bundle.sch index 06d55c06957..7432734d3e4 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bundle.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/bundle.sch @@ -18,12 +18,6 @@ Bundle - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - bdl-3: entry.transaction when (and only when) a transaction bdl-4: entry.transactionResponse when (and only when) a transaction-response @@ -33,17 +27,5 @@ bdl-5: must be a resource unless there's a transaction or transaction response - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/careplan.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/careplan.sch index 6d4b8d2a220..f101da6ceb2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/careplan.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/careplan.sch @@ -18,16 +18,10 @@ CarePlan - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,24 +44,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -103,30 +67,12 @@ cpl-2: Quantity can only be specified if activity category is supply cpl-1: DailyDose can only be specified if activity category is drug or food - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration @@ -134,7 +80,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -143,12 +102,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claim.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claim.sch index 9ccc50edcd4..82bf6f1e018 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claim.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claim.sch @@ -18,16 +18,10 @@ Claim - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -74,12 +44,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -92,9 +56,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -107,45 +68,18 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present @@ -155,24 +89,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present @@ -182,15 +98,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present @@ -200,20 +107,5 @@ qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claimresponse.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claimresponse.sch index 4bbc810820a..1640b791f09 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claimresponse.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/claimresponse.sch @@ -18,16 +18,10 @@ ClaimResponse - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -77,54 +47,27 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present @@ -137,44 +80,20 @@ qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/clinicalimpression.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/clinicalimpression.sch index 566205e008a..429edbdd550 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/clinicalimpression.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/clinicalimpression.sch @@ -18,16 +18,10 @@ ClinicalImpression - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,18 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -59,42 +41,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communication.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communication.sch index dd6fd27ea7b..dda9faf343b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communication.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communication.sch @@ -18,16 +18,10 @@ Communication - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -77,21 +47,9 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communicationrequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communicationrequest.sch index 24a5647abd1..48b46add8e0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communicationrequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/communicationrequest.sch @@ -18,16 +18,10 @@ CommunicationRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -77,32 +47,14 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/composition.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/composition.sch index 937fc9ae718..2afce37acdc 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/composition.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/composition.sch @@ -18,16 +18,10 @@ Composition - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,42 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -83,12 +47,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -101,12 +59,6 @@ cmp-1: A section must have either subsections or content - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conceptmap.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conceptmap.sch index f3aee73b6c3..8bd90f24fbe 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conceptmap.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conceptmap.sch @@ -18,16 +18,10 @@ ConceptMap - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. @@ -77,7 +47,7 @@ ref-1: SHALL have a local reference if the resource is provided inline - + cmd-1: If the map is narrower or inexact, there SHALL be some comments diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/condition.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/condition.sch index d5d79af5503..c45f902f7cd 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/condition.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/condition.sch @@ -18,16 +18,10 @@ Condition - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,24 +44,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present @@ -121,57 +79,27 @@ con-1: Stage SHALL have summary or assessment - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline con-2: evidence SHALL have code or details - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline con-4: Relationship SHALL have either a code or a target - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline con-5: Relationship SHALL have either a code or a target - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conformance.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conformance.sch index 5b288bd4d28..a35e4bc8b4a 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conformance.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/conformance.sch @@ -18,16 +18,10 @@ Conformance - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,18 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - cnf-8: There can only be one REST declaration per mode cnf-7: The set of documents must be unique by the combination of profile & mode @@ -68,12 +50,6 @@ cnf-9: A given resource can only be described once per RESTful mode cnf-10: A given query can only be described once per RESTful mode - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - cnf-11: Operation codes must be unique in the context of a resource cnf-12: Search parameter names must be unique in the context of a resource @@ -88,12 +64,6 @@ cnf-6: The set of events per messaging endpoint must be unique by the combination of code & mode cnf-3: Messaging end point is required (and is only permitted) when statement is for an implementation - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contract.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contract.sch index 959ade265b4..769b498bbbc 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contract.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contract.sch @@ -18,16 +18,10 @@ Contract - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -71,54 +47,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -134,18 +68,9 @@ qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -155,57 +80,15 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contraindication.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contraindication.sch index 9f464384a2b..85823fc85f0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contraindication.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/contraindication.sch @@ -18,16 +18,10 @@ Contraindication - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,51 +29,21 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/coverage.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/coverage.sch index 226a9d083de..163822a53ee 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/coverage.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/coverage.sch @@ -18,16 +18,10 @@ Coverage - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,27 +29,9 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -65,27 +41,12 @@ per-1: If present, start SHALL have a lower value than end - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -95,12 +56,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/dataelement.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/dataelement.sch index 872ee710015..cf3d997f1e0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/dataelement.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/dataelement.sch @@ -18,16 +18,10 @@ DataElement - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. @@ -80,11 +50,7 @@ eld-8: Pattern and value are mutually exclusive eld-14: Constraints must be unique by key eld-13: Types must be unique by the combination of code and profile - eld-16: default value and meaningWhenMissing are mutually exclusive - eld-15: Constraint names must be unique. - - - cod-1: If a valueSet is provided, a system URI Is required + eld-15: default value and meaningWhenMissing are mutually exclusive eld-1: If there are no discriminators, there must be a definition diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/device.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/device.sch index bfee28cf52a..d31c21103e8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/device.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/device.sch @@ -18,16 +18,10 @@ Device - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,35 +29,14 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicecomponent.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicecomponent.sch index e6ccc7e8e52..ddf292075c6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicecomponent.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicecomponent.sch @@ -18,16 +18,10 @@ DeviceComponent - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,30 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -71,41 +41,11 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicemetric.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicemetric.sch index 05c8664f23a..53134e4eb74 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicemetric.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/devicemetric.sch @@ -18,16 +18,10 @@ DeviceMetric - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,42 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -84,7 +48,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -93,11 +70,5 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceuserequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceuserequest.sch index 44aba9d7e54..fa74cebd5a9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceuserequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceuserequest.sch @@ -18,16 +18,10 @@ DeviceUseRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -62,30 +38,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -96,7 +54,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -105,12 +76,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceusestatement.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceusestatement.sch index 4f758157e73..c418e59650c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceusestatement.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/deviceusestatement.sch @@ -18,16 +18,10 @@ DeviceUseStatement - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -62,24 +38,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -90,7 +54,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -99,12 +76,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticorder.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticorder.sch index 5d48b3fed54..ce16898ddf9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticorder.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticorder.sch @@ -18,16 +18,10 @@ DiagnosticOrder - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,30 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -74,30 +50,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticreport.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticreport.sch index 0673520f36f..688a4b2238a 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticreport.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/diagnosticreport.sch @@ -18,16 +18,10 @@ DiagnosticReport - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -77,12 +47,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -98,12 +62,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentmanifest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentmanifest.sch index 85521546f3b..8a77c03692f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentmanifest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentmanifest.sch @@ -18,16 +18,10 @@ DocumentManifest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -77,12 +47,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -92,12 +56,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentreference.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentreference.sch index 9996fa02098..49e5003f135 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentreference.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/documentreference.sch @@ -18,16 +18,10 @@ DocumentReference - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -74,18 +44,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -95,54 +53,18 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityrequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityrequest.sch index 3138eaae7a3..848013c5735 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityrequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityrequest.sch @@ -18,16 +18,10 @@ EligibilityRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityresponse.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityresponse.sch index 5577ab348bd..2733c9c8037 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityresponse.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/eligibilityresponse.sch @@ -18,16 +18,10 @@ EligibilityResponse - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/encounter.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/encounter.sch index de79229c26e..273d0e8ac92 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/encounter.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/encounter.sch @@ -18,16 +18,10 @@ Encounter - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -77,12 +47,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -98,27 +62,9 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -128,39 +74,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentrequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentrequest.sch index e8cc8956afd..1d66e59ffd8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentrequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentrequest.sch @@ -18,16 +18,10 @@ EnrollmentRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -80,8 +50,5 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentresponse.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentresponse.sch index 138038833e5..ec71c303eb4 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentresponse.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/enrollmentresponse.sch @@ -18,16 +18,10 @@ EnrollmentResponse - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/episodeofcare.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/episodeofcare.sch index 41701c194cd..fd73405c928 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/episodeofcare.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/episodeofcare.sch @@ -18,16 +18,10 @@ EpisodeOfCare - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -89,12 +59,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/explanationofbenefit.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/explanationofbenefit.sch index 40349067cce..6f6be2dc781 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/explanationofbenefit.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/explanationofbenefit.sch @@ -18,16 +18,10 @@ ExplanationOfBenefit - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/familymemberhistory.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/familymemberhistory.sch index d4aac66fe75..b5f4e7ce2d4 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/familymemberhistory.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/familymemberhistory.sch @@ -18,16 +18,10 @@ FamilyMemberHistory - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,27 +29,9 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - fhs-1: Can have age[x] or birth[x], but not both - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -65,12 +41,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -100,18 +70,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/fhir-single.xsd b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/fhir-single.xsd index 83d4fc10b8b..b24d25b7fb9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/fhir-single.xsd +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/fhir-single.xsd @@ -27,7 +27,7 @@ POSSIBILITY OF SUCH DAMAGE. - Generated on Sun, May 31, 2015 19:49-0400 for FHIR v0.5.0 + Generated on Wed, Jul 8, 2015 17:35-0400 for FHIR v0.5.0 --> @@ -44,8 +44,8 @@ - A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. - If the element is present, it must have either a @value, an @id, or extensions + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + If the element is present, it must have either a @value, an @id, or extensions @@ -63,8 +63,8 @@ - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. - If the element is present, it must have either a @value, an @id, or extensions + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. + If the element is present, it must have either a @value, an @id, or extensions @@ -75,12 +75,13 @@ + - A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents - If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions @@ -95,8 +96,8 @@ - A sequence of Unicode characters - If the element is present, it must have either a @value, an @id, or extensions + A sequence of Unicode characters + If the element is present, it must have either a @value, an @id, or extensions @@ -105,12 +106,14 @@ - + + + - A whole number - If the element is present, it must have either a @value, an @id, or extensions + A whole number + If the element is present, it must have either a @value, an @id, or extensions @@ -126,8 +129,8 @@ - An oid represented as a URI - If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + An oid represented as a URI + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions @@ -140,8 +143,8 @@ - String of characters used to identify a name or a resource - If the element is present, it must have either a @value, an @id, or extensions + String of characters used to identify a name or a resource + If the element is present, it must have either a @value, an @id, or extensions @@ -157,8 +160,8 @@ - A UUID, represented as a URI - If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + A UUID, represented as a URI + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions @@ -171,8 +174,8 @@ - An instant in time - known at least to the second - If the element is present, it must have either a @value, an @id, or extensions + An instant in time - known at least to the second + If the element is present, it must have either a @value, an @id, or extensions @@ -185,8 +188,8 @@ - Value of "true" or "false" - If the element is present, it must have either a @value, an @id, or extensions + Value of "true" or "false" + If the element is present, it must have either a @value, an @id, or extensions @@ -199,8 +202,8 @@ - A stream of bytes - If the element is present, it must have either a @value, an @id, or extensions + A stream of bytes + If the element is present, it must have either a @value, an @id, or extensions @@ -210,12 +213,13 @@ + - An integer with a value that is not negative (e.g. >= 0) - If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + An integer with a value that is not negative (e.g. >= 0) + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions @@ -230,8 +234,8 @@ - A time during the day, with no date specified - If the element is present, it must have either a @value, an @id, or extensions + A time during the day, with no date specified + If the element is present, it must have either a @value, an @id, or extensions @@ -247,8 +251,8 @@ - Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. - If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions @@ -258,12 +262,13 @@ + - An integer with a value that is positive (e.g. >0) - If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + An integer with a value that is positive (e.g. >0) + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions @@ -272,12 +277,14 @@ - + + + - A rational number with implicit precision - If the element is present, it must have either a @value, an @id, or extensions + A rational number with implicit precision + If the element is present, it must have either a @value, an @id, or extensions @@ -288,6 +295,7 @@ + @@ -335,6 +343,7 @@ + @@ -385,15 +394,15 @@ - Optional Extensions Element - found in all resources. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Optional Extensions Element - found in all resources. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). + Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). @@ -411,6 +420,7 @@ + @@ -427,7 +437,7 @@ - + @@ -435,15 +445,15 @@ - Base definition for all elements that are defined inside a resource - but not those in a data type. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Base definition for all elements that are defined inside a resource - but not those in a data type. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. + May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. @@ -452,20 +462,20 @@ - A human-readable formatted text, including images. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A human-readable formatted text, including images. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data. + The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data. - The actual narrative content, a stripped down version of XHTML. + The actual narrative content, a stripped down version of XHTML. @@ -476,30 +486,30 @@ - The contents of the narrative are entirely generated from the structured data in the resource. + The contents of the narrative are entirely generated from the structured data in the resource. - The contents of the narrative are entirely generated from the structured data in the resource and some of the content is generated from extensions + The contents of the narrative are entirely generated from the structured data in the resource and some of the content is generated from extensions - The contents of the narrative contain additional information not found in the structured data + The contents of the narrative contain additional information not found in the structured data - the contents of the narrative are some equivalent of "No human-readable text provided for this resource" + the contents of the narrative are some equivalent of "No human-readable text provided for this resource" - The status of a resource narrative - If the element is present, it must have either a @value, an @id, or extensions + The status of a resource narrative + If the element is present, it must have either a @value, an @id, or extensions @@ -509,13 +519,13 @@ - Base definition for all elements in a resource. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Base definition for all elements in a resource. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -523,40 +533,40 @@ - A technical identifier - identifies some entity uniquely and unambiguously. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A technical identifier - identifies some entity uniquely and unambiguously. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The purpose of this identifier. + The purpose of this identifier. - A coded type for the identifier that can be used to determine which identifier to use for a specific purpose. + A coded type for the identifier that can be used to determine which identifier to use for a specific purpose. - Establishes the namespace in which set of possible id values is unique. + Establishes the namespace in which set of possible id values is unique. - The portion of the identifier typically displayed to the user and which is unique within the context of the system. + The portion of the identifier typically displayed to the user and which is unique within the context of the system. - Time period during which identifier is/was valid for use. + Time period during which identifier is/was valid for use. - Organization that issued/manages the identifier. + Organization that issued/manages the identifier. @@ -567,30 +577,30 @@ - the identifier recommended for display and use in real-world interactions + the identifier recommended for display and use in real-world interactions - the identifier considered to be most trusted for the identification of this item + the identifier considered to be most trusted for the identification of this item - A temporary identifier + A temporary identifier - An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context + An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context - Identifies the purpose for this identifier, if known - If the element is present, it must have either a @value, an @id, or extensions + Identifies the purpose for this identifier, if known + If the element is present, it must have either a @value, an @id, or extensions @@ -600,35 +610,35 @@ - A reference to a code defined by a terminology system. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A reference to a code defined by a terminology system. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The identification of the code system that defines the meaning of the symbol in the code. + The identification of the code system that defines the meaning of the symbol in the code. - The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. + The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). + A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). - A representation of the meaning of the code in the system, following the rules of the system. + A representation of the meaning of the code in the system, following the rules of the system. - + - Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). + Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays). @@ -637,20 +647,20 @@ - A reference from one resource to another. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A reference from one resource to another. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. + A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. - Plain text narrative that identifies the resource in addition to the resource reference. + Plain text narrative that identifies the resource in addition to the resource reference. @@ -659,62 +669,32 @@ - An XML digital signature along with supporting context. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + An XML digital signature along with supporting context. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document. + An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document. - When the digital signature was signed. + When the digital signature was signed. - - - A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key). + + + - The base64 encoding of the XML-Signature. + The base64 encoding of the XML-Signature. @@ -723,45 +703,45 @@ - A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series. + The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series. - The length of time between sampling times, measured in milliseconds. + The length of time between sampling times, measured in milliseconds. - A correction factor that is applied to the sampled data points before they are added to the origin. + A correction factor that is applied to the sampled data points before they are added to the origin. - The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit). + The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit). - The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit). + The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit). - The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once. + The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once. - A series of data points which are decimal values separated by a single space (character u20). The special values "E" (error), "L" (below detection limit) and "U" (above detection limit) can also be used in place of a decimal value. + A series of data points which are decimal values separated by a single space (character u20). The special values "E" (error), "L" (below detection limit) and "U" (above detection limit) can also be used in place of a decimal value. @@ -783,35 +763,35 @@ - A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The value of the measured amount. The value includes an implicit precision in the presentation of the value. + The value of the measured amount. The value includes an implicit precision in the presentation of the value. - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. - A human-readable form of the units. + A human-readable form of the units. - The identification of the system that provides the coded form of the unit. + The identification of the system that provides the coded form of the unit. - A computer processable form of the units in some unit representation system. + A computer processable form of the units in some unit representation system. @@ -822,30 +802,30 @@ - The actual value is less than the given value + The actual value is less than the given value - The actual value is less than or equal to the given value + The actual value is less than or equal to the given value - The actual value is greater than or equal to the given value + The actual value is greater than or equal to the given value - The actual value is greater than the given value + The actual value is greater than the given value - How the Quantity should be understood and represented - If the element is present, it must have either a @value, an @id, or extensions + How the Quantity should be understood and represented + If the element is present, it must have either a @value, an @id, or extensions @@ -855,20 +835,20 @@ - A time period defined by a start and end date and optionally time. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A time period defined by a start and end date and optionally time. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The start of the period. The boundary is inclusive. + The start of the period. The boundary is inclusive. - The end of the period. If the end of the period is missing, it means that the period is ongoing. + The end of the period. If the end of the period is missing, it means that the period is ongoing. @@ -877,50 +857,50 @@ - For referring to data content defined in other formats. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + For referring to data content defined in other formats. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate. + Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate. - The human language of the content. The value can be any valid value according to BCP 47. + The human language of the content. The value can be any valid value according to BCP 47. - The actual data of the attachment - a sequence of bytes. In XML, represented using base64. + The actual data of the attachment - a sequence of bytes. In XML, represented using base64. - An alternative location where the data can be accessed. + An alternative location where the data can be accessed. - The number of bytes of data that make up this attachment. + The number of bytes of data that make up this attachment. - The calculated hash of the data using SHA-1. Represented using base64. + The calculated hash of the data using SHA-1. Represented using base64. - A label or set of text to display in place of the data. + A label or set of text to display in place of the data. - The date that the attachment was first created. + The date that the attachment was first created. @@ -929,20 +909,20 @@ - A relationship of two Quantity values - expressed as a numerator and a denominator. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A relationship of two Quantity values - expressed as a numerator and a denominator. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The value of the numerator. + The value of the numerator. - The value of the denominator. + The value of the denominator. @@ -951,20 +931,49 @@ - A set of ordered Quantities defined by a low and high limit. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A set of ordered Quantities defined by a low and high limit. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The low limit. The boundary is inclusive. + The low limit. The boundary is inclusive. - The high limit. The boundary is inclusive. + The high limit. The boundary is inclusive. + + + + + + + + + A text note which also contains information about who made the statement and when. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The individual responsible for making the annotation. + + + + + + + Indicates when this particular annotation was made. + + + + + The text of the annotation. @@ -973,20 +982,20 @@ - A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - A reference to a code defined by a terminology system. + A reference to a code defined by a terminology system. - A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. + A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. @@ -999,27 +1008,27 @@ - The value of the measured amount. The value includes an implicit precision in the presentation of the value. + The value of the measured amount. The value includes an implicit precision in the presentation of the value. - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. - A human-readable form of the units. + A human-readable form of the units. - The identification of the system that provides the coded form of the unit. + The identification of the system that provides the coded form of the unit. - A computer processable form of the units in some unit representation system. + A computer processable form of the units in some unit representation system. @@ -1033,27 +1042,27 @@ - The value of the measured amount. The value includes an implicit precision in the presentation of the value. + The value of the measured amount. The value includes an implicit precision in the presentation of the value. - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. - A human-readable form of the units. + A human-readable form of the units. - The identification of the system that provides the coded form of the unit. + The identification of the system that provides the coded form of the unit. - A computer processable form of the units in some unit representation system. + A computer processable form of the units in some unit representation system. @@ -1067,27 +1076,27 @@ - The value of the measured amount. The value includes an implicit precision in the presentation of the value. + The value of the measured amount. The value includes an implicit precision in the presentation of the value. - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. - A human-readable form of the units. + A human-readable form of the units. - The identification of the system that provides the coded form of the unit. + The identification of the system that provides the coded form of the unit. - A computer processable form of the units in some unit representation system. + A computer processable form of the units in some unit representation system. @@ -1101,27 +1110,27 @@ - The value of the measured amount. The value includes an implicit precision in the presentation of the value. + The value of the measured amount. The value includes an implicit precision in the presentation of the value. - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. - A human-readable form of the units. + A human-readable form of the units. - The identification of the system that provides the coded form of the unit. + The identification of the system that provides the coded form of the unit. - A computer processable form of the units in some unit representation system. + A computer processable form of the units in some unit representation system. @@ -1135,27 +1144,27 @@ - The value of the measured amount. The value includes an implicit precision in the presentation of the value. + The value of the measured amount. The value includes an implicit precision in the presentation of the value. - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. - A human-readable form of the units. + A human-readable form of the units. - The identification of the system that provides the coded form of the unit. + The identification of the system that provides the coded form of the unit. - A computer processable form of the units in some unit representation system. + A computer processable form of the units in some unit representation system. @@ -1165,45 +1174,45 @@ - A human's name with the ability to identify parts and usage. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + A human's name with the ability to identify parts and usage. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Identifies the purpose for this name. + Identifies the purpose for this name. - A full text representation of the name. + A full text representation of the name. - The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father. + The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father. - Given name. + Given name. - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name. + Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name. - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name. + Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name. - Indicates the period of time when this name was valid for the named person. + Indicates the period of time when this name was valid for the named person. @@ -1214,45 +1223,45 @@ - Known as/conventional/the one you normally use + Known as/conventional/the one you normally use - The formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name". + The formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name". - A temporary name. Name.period can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations. + A temporary name. Name.period can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations. - A name that is used to address the person in an informal manner, but is not part of their formal or usual name + A name that is used to address the person in an informal manner, but is not part of their formal or usual name - Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons) + Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons) - This name is no longer in use (or was never correct, but retained for records) + This name is no longer in use (or was never correct, but retained for records) - A name used prior to marriage. Marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store "maiden" names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically. + A name used prior to marriage. Marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store "maiden" names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically. - The use of a human name - If the element is present, it must have either a @value, an @id, or extensions + The use of a human name + If the element is present, it must have either a @value, an @id, or extensions @@ -1262,30 +1271,30 @@ - Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Telecommunications form for contact point - what communications system is required to make use of the contact. + Telecommunications form for contact point - what communications system is required to make use of the contact. - The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address). + The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address). - Identifies the purpose for the contact point. + Identifies the purpose for the contact point. - Time period when the contact point was/is in use. + Time period when the contact point was/is in use. @@ -1296,30 +1305,30 @@ - The value is a telephone number used for voice calls. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. + The value is a telephone number used for voice calls. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. - The value is a fax machine. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. + The value is a fax machine. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. - The value is an email address + The value is an email address - The value is a url. This is intended for various personal contacts including blogs, Twitter, Facebook, etc. Do not use for email addresses + The value is a url. This is intended for various personal contacts including blogs, Twitter, Facebook, etc. Do not use for email addresses - Telecommunications form for contact point - If the element is present, it must have either a @value, an @id, or extensions + Telecommunications form for contact point + If the element is present, it must have either a @value, an @id, or extensions @@ -1331,35 +1340,35 @@ - A communication contact point at a home; attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available. + A communication contact point at a home; attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available. - An office contact point. First choice for business related contacts during business hours. + An office contact point. First choice for business related contacts during business hours. - A temporary contact point. The period can provide more detailed information. + A temporary contact point. The period can provide more detailed information. - This contact point is no longer in use (or was never correct, but retained for records) + This contact point is no longer in use (or was never correct, but retained for records) - A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business + A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business - Use of contact point - If the element is present, it must have either a @value, an @id, or extensions + Use of contact point + If the element is present, it must have either a @value, an @id, or extensions @@ -1369,35 +1378,35 @@ - The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The version specific identifier, as it appears in the version portion of the url. This values changes when the resource is created, updated, or deleted. + The version specific identifier, as it appears in the version portion of the url. This values changes when the resource is created, updated, or deleted. - When the resource last changed - e.g. when the version changed. + When the resource last changed - e.g. when the version changed. - A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]. + A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]. - Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. + Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. - Tags applied to this resource. Tags are intended to to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. + Tags applied to this resource. Tags are intended to to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. @@ -1406,51 +1415,56 @@ - There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The purpose of this address. + The purpose of this address. + + + + + Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both. - A full text representation of the address. + A full text representation of the address. - This component contains the house number, apartment number, street name, street direction, + This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information. - The name of the city, town, village or other community or delivery center. + The name of the city, town, village or other community or delivery center. - Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). + Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). - A postal code designating a region defined by the postal service. + A postal code designating a region defined by the postal service. - Country - a nation as commonly understood or generally accepted. + Country - a nation as commonly understood or generally accepted. - Time period when address was/is in use. + Time period when address was/is in use. @@ -1461,30 +1475,30 @@ P.O. Box number, delivery hints, and similar address information. - A communication address at a home + A communication address at a home - An office address. First choice for business related contacts during business hours + An office address. First choice for business related contacts during business hours - A temporary address. The period can provide more detailed information + A temporary address. The period can provide more detailed information - This address is no longer in use (or was never correct, but retained for records) + This address is no longer in use (or was never correct, but retained for records) - The use of an address - If the element is present, it must have either a @value, an @id, or extensions + The use of an address + If the element is present, it must have either a @value, an @id, or extensions @@ -1492,27 +1506,57 @@ P.O. Box number, delivery hints, and similar address information. + + + + + Mailing addresses - PO Boxes and care-of addresses + + + + + A physical address that can be visited + + + + + An address that is both physical and postal + + + + + + + The type of an address (physical / postal) + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + - Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Identifies specific times when the event occurs. + Identifies specific times when the event occurs. - A set of rules that describe when the event should occur. + A set of rules that describe when the event should occur. - A code for the timing pattern. Some codes such as BID are uniquitious, but many instutions define their own additional codes. + A code for the timing pattern. Some codes such as BID are uniquitious, but many instutions define their own additional codes. @@ -1521,60 +1565,68 @@ P.O. Box number, delivery hints, and similar address information. - Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - + - Outer bounds for start and/or end limits of the timing schedule. + Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule. - + + + + - A total count of the desired number of repetitions. + A total count of the desired number of repetitions. - How long this thing happens for when it happens. + How long this thing happens for when it happens. + + + + + The upper limit of how long this thing happens for when it happens. - The units of time for the duration, in UCUM units. + The units of time for the duration, in UCUM units. - The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). + The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). - If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. + If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. - Indicates the duration of time over which repetitions are to occur. E.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. + Indicates the duration of time over which repetitions are to occur. E.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. - If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. + If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. - The units of time for the period in UCUM units. + The units of time for the period in UCUM units. - A real world event that the occurrence of the event should be tied to. + A real world event that the occurrence of the event should be tied to. @@ -1585,45 +1637,45 @@ P.O. Box number, delivery hints, and similar address information. - + - + - + - + - + - + - + - A unit of time (units from UCUM) - If the element is present, it must have either a @value, an @id, or extensions + A unit of time (units from UCUM) + If the element is present, it must have either a @value, an @id, or extensions @@ -1635,80 +1687,80 @@ P.O. Box number, delivery hints, and similar address information. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - Real world event that the schedule relates to - If the element is present, it must have either a @value, an @id, or extensions + Real world event that the schedule relates to + If the element is present, it must have either a @value, an @id, or extensions @@ -1718,90 +1770,90 @@ P.O. Box number, delivery hints, and similar address information. - Captures constraints on each element within the resource, profile, or extension. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension. + The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension. - Codes that define how this element is represented in instances, when the deviation varies from the normal case. + Codes that define how this element is represented in instances, when the deviation varies from the normal case. - The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. + The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. - The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. + The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. - A code that provides the meaning for the element according to a particular terminology. + A code that provides the meaning for the element according to a particular terminology. - Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set). + Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set). - A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). + A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). - Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. + Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. - Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. + Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. - This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element. + This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element. - Identifies additional names by which this element might also be known. + Identifies additional names by which this element might also be known. - The minimum number of times this element SHALL appear in the instance. + The minimum number of times this element SHALL appear in the instance. - The maximum number of times this element is permitted to appear in the instance. + The maximum number of times this element is permitted to appear in the instance. - The data type or resource that the value of this element is permitted to be. + The data type or resource that the value of this element is permitted to be. - Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element. + Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element. - The value that should be used if there is no value stated in the instance. + The value that should be used if there is no value stated in the instance. @@ -1819,6 +1871,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -1835,15 +1888,15 @@ P.O. Box number, delivery hints, and similar address information. - + - The Implicit meaning that is to be understood when this element is missing. + The Implicit meaning that is to be understood when this element is missing. - Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-signficant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing. + Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-signficant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing. @@ -1861,6 +1914,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -1877,10 +1931,10 @@ P.O. Box number, delivery hints, and similar address information. - + - Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-senstive, accent-sensitive, etc.). + Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-senstive, accent-sensitive, etc.). @@ -1898,6 +1952,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -1914,10 +1969,10 @@ P.O. Box number, delivery hints, and similar address information. - + - A sample value for this element demonstrating the type of information that would typically be captured. + A sample value for this element demonstrating the type of information that would typically be captured. @@ -1935,6 +1990,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -1951,45 +2007,45 @@ P.O. Box number, delivery hints, and similar address information. - + - Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element. + Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element. - A reference to an invariant that may make additional statements about the cardinality or value in the instance. + A reference to an invariant that may make additional statements about the cardinality or value in the instance. - Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance. + Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance. - If true, conformant resource authors SHALL be capable of providing a value for the element and resource consumers SHALL be capable of extracting and doing something useful with the data element. If false, the element may be ignored and not supported. + If true, conformant resource authors SHALL be capable of providing a value for the element and resource consumers SHALL be capable of extracting and doing something useful with the data element. If false, the element may be ignored and not supported. - If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system. + If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system. - Whether the element should be included if a client requests a search with the parameter _summary=true. + Whether the element should be included if a client requests a search with the parameter _summary=true. - Binds to a value set if this element is coded (code, Coding, CodeableConcept). + Binds to a value set if this element is coded (code, Coding, CodeableConcept). - Identifies a concept from an external specification that roughly corresponds to this element. + Identifies a concept from an external specification that roughly corresponds to this element. @@ -1998,35 +2054,35 @@ P.O. Box number, delivery hints, and similar address information. - Captures constraints on each element within the resource, profile, or extension. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality. + Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality. - + - Used to label the constraint in OCL or in short displays incapable of displaying the full human description. + Description of why this constraint is necessary or appropriate. - Identifies the impact constraint violation has on the conformance of the instance. + Identifies the impact constraint violation has on the conformance of the instance. - Text that can be used to describe the constraint in messages identifying that the constraint has been violated. + Text that can be used to describe the constraint in messages identifying that the constraint has been violated. - An XPath expression of constraint that can be executed to see if this constraint is met. + An XPath expression of constraint that can be executed to see if this constraint is met. @@ -2035,25 +2091,25 @@ P.O. Box number, delivery hints, and similar address information. - Captures constraints on each element within the resource, profile, or extension. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - An internal reference to the definition of a mapping. + An internal reference to the definition of a mapping. - Identifies the computable language in which mapping.map is expressed. + Identifies the computable language in which mapping.map is expressed. - Expresses what part of the target specification corresponds to this element. + Expresses what part of the target specification corresponds to this element. @@ -2062,25 +2118,25 @@ P.O. Box number, delivery hints, and similar address information. - Captures constraints on each element within the resource, profile, or extension. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Name of Data type or Resource that is a(or the) type used for this element. + Name of Data type or Resource that is a(or the) type used for this element. - + - Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. + Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. - If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. + If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. @@ -2089,30 +2145,30 @@ P.O. Box number, delivery hints, and similar address information. - Captures constraints on each element within the resource, profile, or extension. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices. + Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices. - A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated. + A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated. - If the matching elements have to occur in the same order as defined in the profile. + If the matching elements have to occur in the same order as defined in the profile. - Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end. + Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end. @@ -2121,63 +2177,33 @@ P.O. Box number, delivery hints, and similar address information. - Captures constraints on each element within the resource, profile, or extension. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - + - A descriptive name for this - can be useful for generating implementation artifacts. + A descriptive name for this - can be useful for generating implementation artifacts. - Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. + Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. - Describes the intended use of this particular set of codes. + Describes the intended use of this particular set of codes. - - - Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. + + + @@ -2187,15 +2213,15 @@ P.O. Box number, delivery hints, and similar address information. - In XML, this property is represented as an attribute not an element + In XML, this property is represented as an attribute not an element - How a property is represented on the wire - If the element is present, it must have either a @value, an @id, or extensions + How a property is represented on the wire + If the element is present, it must have either a @value, an @id, or extensions @@ -2207,20 +2233,20 @@ P.O. Box number, delivery hints, and similar address information. - If the constraint is violated, the resource is not conformant + If the constraint is violated, the resource is not conformant - If the constraint is violated, the resource is conformant, but it is not necessarily following best practice. + If the constraint is violated, the resource is conformant, but it is not necessarily following best practice. - SHALL applications comply with this constraint? - If the element is present, it must have either a @value, an @id, or extensions + SHALL applications comply with this constraint? + If the element is present, it must have either a @value, an @id, or extensions @@ -2232,25 +2258,25 @@ P.O. Box number, delivery hints, and similar address information. - The reference is a local reference to a contained resource + The reference is a local reference to a contained resource - The reference to a resource that has to be resolved externally to the resource that includes the reference + The reference to a resource that has to be resolved externally to the resource that includes the reference - The resource the reference points to will be found in the same bundle as the resource that includes the reference + The resource the reference points to will be found in the same bundle as the resource that includes the reference - How resource references can be aggregated - If the element is present, it must have either a @value, an @id, or extensions + How resource references can be aggregated + If the element is present, it must have either a @value, an @id, or extensions @@ -2262,25 +2288,25 @@ P.O. Box number, delivery hints, and similar address information. - No additional content is allowed other than that described by the slices in this profile + No additional content is allowed other than that described by the slices in this profile - Additional content is allowed anywhere in the list + Additional content is allowed anywhere in the list - Additional content is allowed, but only at the end of the list. Note that using this requires that the slices be ordered, which makes it hard to share uses. This should only be done where absolutely required + Additional content is allowed, but only at the end of the list. Note that using this requires that the slices be ordered, which makes it hard to share uses. This should only be done where absolutely required - How slices are interpreted when evaluating an instance - If the element is present, it must have either a @value, an @id, or extensions + How slices are interpreted when evaluating an instance + If the element is present, it must have either a @value, an @id, or extensions @@ -2292,30 +2318,30 @@ P.O. Box number, delivery hints, and similar address information. - To be conformant, instances of this element SHALL include a code from the specified value set + To be conformant, instances of this element SHALL include a code from the specified value set - To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead. + To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead. - Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant + Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant - Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included + Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included - Indication of the degree of conformance expectations associated with a binding - If the element is present, it must have either a @value, an @id, or extensions + Indication of the degree of conformance expectations associated with a binding + If the element is present, it must have either a @value, an @id, or extensions @@ -2325,29 +2351,29 @@ P.O. Box number, delivery hints, and similar address information. - A resource that includes narrative, extensions, and contained resources. + A resource that includes narrative, extensions, and contained resources. - A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. + A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. - These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. + These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. - May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. - May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. + May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. @@ -2356,14 +2382,14 @@ P.O. Box number, delivery hints, and similar address information. - This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. - A parameter passed to or received from the operation. + A parameter passed to or received from the operation. @@ -2372,20 +2398,20 @@ P.O. Box number, delivery hints, and similar address information. - This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - The name of the parameter (reference to the operation definition). + The name of the parameter (reference to the operation definition). - If the parameter is a data type. + If the parameter is a data type. @@ -2403,6 +2429,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -2419,74 +2446,15 @@ P.O. Box number, delivery hints, and similar address information. - + - If the parameter is a whole resource. + If the parameter is a whole resource. - + - A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple". - - - - - - - - - This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - - - - - - - The name of the parameter (reference to the operation definition). - - - - - The value of the parameter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If the parameter is a whole resource. + A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple". @@ -2495,32 +2463,32 @@ P.O. Box number, delivery hints, and similar address information. - This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. - Base Resource for everything. + Base Resource for everything. - The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. + The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes. - The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. + The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. - A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. + A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. - The base language in which the resource is written. + The base language in which the resource is written. @@ -2529,25 +2497,31 @@ P.O. Box number, delivery hints, and similar address information. - This resource is still under development + This resource is still under development + черновик + ontwerp - This resource is ready for normal use + This resource is ready for normal use + активный + actief - This resource has been withdrawn or superceded and should no longer be used + This resource has been withdrawn or superseded and should no longer be used + удалён + verouderd - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2559,40 +2533,40 @@ P.O. Box number, delivery hints, and similar address information. - Minute + Minute - Hour + Hour - Day + Day - Week + Week - Month + Month - Year + Year - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2604,50 +2578,50 @@ P.O. Box number, delivery hints, and similar address information. - Search parameter SHALL be a number (a whole number, or a decimal) + Search parameter SHALL be a number (a whole number, or a decimal) - Search parameter is on a date/time. The date format is the standard XML format, though other formats may be supported + Search parameter is on a date/time. The date format is the standard XML format, though other formats may be supported - Search parameter is a simple string, like a name part. Search is case-insensitive and accent-insensitive. May match just the start of a string. String parameters may contain spaces + Search parameter is a simple string, like a name part. Search is case-insensitive and accent-insensitive. May match just the start of a string. String parameters may contain spaces - Search parameter on a coded element or identifier. May be used to search through the text, displayname, code and code/codesystem (for codes) and label, system and key (for identifier). Its value is either a string or a pair of namespace and value, separated by a "|", depending on the modifier used + Search parameter on a coded element or identifier. May be used to search through the text, displayname, code and code/codesystem (for codes) and label, system and key (for identifier). Its value is either a string or a pair of namespace and value, separated by a "|", depending on the modifier used - A reference to another resource + A reference to another resource - A composite search parameter that combines a search on two values together + A composite search parameter that combines a search on two values together - A search parameter that searches on a quantity + A search parameter that searches on a quantity - A search parameter that searches on a URI (RFC 3986) + A search parameter that searches on a URI (RFC 3986) - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2659,30 +2633,30 @@ P.O. Box number, delivery hints, and similar address information. - Male + Male - Female + Female - Other + Other - Unknown + Unknown - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2694,20 +2668,20 @@ P.O. Box number, delivery hints, and similar address information. - The processing completed without errors. + The processing completed without errors. - The processing identified with errors. + The processing identified with errors. - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2719,25 +2693,25 @@ P.O. Box number, delivery hints, and similar address information. - Display the note. + Display the note. - Print the note on the form. + Print the note on the form. - Print the note for the operator. + Print the note for the operator. - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2749,55 +2723,55 @@ P.O. Box number, delivery hints, and similar address information. - The definitions of the concepts mean the same thing (including when structural implications of meaning are considered) (i.e. extensionally identical) + The definitions of the concepts mean the same thing (including when structural implications of meaning are considered) (i.e. extensionally identical) - The definitions of the concepts are exactly the same (i.e. only grammatical differences) and structural implications of meaning are identifical or irrelevant (i.e. intensionally identical) + The definitions of the concepts are exactly the same (i.e. only grammatical differences) and structural implications of meaning are identifical or irrelevant (i.e. intensionally identical) - The target mapping is wider in meaning than the source concept + The target mapping is wider in meaning than the source concept - The target mapping subsumes the meaning of the source concept (e.g. the source is-a target) + The target mapping subsumes the meaning of the source concept (e.g. the source is-a target) - The target mapping is narrower in meaning that the source concept. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally + The target mapping is narrower in meaning that the source concept. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally - + - The target mapping specialises the meaning of the source concept (e.g. the target is-a source) + The target mapping specializes the meaning of the source concept (e.g. the target is-a source) - The target mapping overlaps with the source concept, but both source and target cover additional meaning, or the definitions are imprecise and it is uncertain whether they have the same boundaries to their meaning. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally + The target mapping overlaps with the source concept, but both source and target cover additional meaning, or the definitions are imprecise and it is uncertain whether they have the same boundaries to their meaning. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally - There is no match for this concept in the destination concept system + There is no match for this concept in the destination concept system - This is an explicit assertion that there is no mapping between the source and target concept + This is an explicit assertion that there is no mapping between the source and target concept - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2809,25 +2783,25 @@ P.O. Box number, delivery hints, and similar address information. - This is the current reference for this document + This is the current reference for this document - + - This reference has been superceded by another reference + This reference has been superseded by another reference - This reference was created in error + This reference was created in error - - If the element is present, it must have either a @value, an @id, or extensions + + If the element is present, it must have either a @value, an @id, or extensions @@ -2835,82 +2809,179 @@ P.O. Box number, delivery hints, and similar address information. - + - Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centres, etc. - + - Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. - If the element is present, it must have either a @value, an @id, or extensions + A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centres, etc. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this allergy/intolerance concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + Unique identifier used to reference the account. May or may not be intended for human use. (E.g. credit card number). + + + + + Name used for the account when displaying it to humans in reports, etc. + + + + + Categorizes the account for reporting and searching purposes. + + + + + Indicates whether the account is presently used/useable or not. + + + + + Indicates the period of time over which the account is allowed. + + + + + Identifies the currency to which transactions must be converted when crediting or debiting the account. + + + + + Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative. + + + + + Identifies the period of time the account applies to. E.g. accounts created per fiscal year, quarter, etc. + + + + + Identifies the patient, device, practitioner, location or other object the account is associated with. + + + + + Indicates the organization, department, etc. with responsibility for the account. + + + + + Provides additional information about what the account tracks and how it is used. + + + + + + + + + + + This account is active and may be used + + + + + This account is inactive and should not be used to track financial information + + + + + + + Indicates whether the account is available to be used + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this allergy/intolerance concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - Date when the sensitivity was recorded. + Date when the sensitivity was recorded. - Individual who recorded the record and takes responsibility for its conten. + Individual who recorded the record and takes responsibility for its conten. - The patient who has the allergy or intolerance. + The patient who has the allergy or intolerance. - The source of the information about the allergy that is recorded. + The source of the information about the allergy that is recorded. - Identification of a substance, or a class of substances, that is considered to be responsible for the Adverse reaction risk. + Identification of a substance, or a class of substances, that is considered to be responsible for the Adverse reaction risk. - Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance. + Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance. - Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance. + Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance. - Identification of the underlying physiological mechanism for the Reaction Risk. + Identification of the underlying physiological mechanism for the Reaction Risk. - Category of the identified Substance. + Category of the identified Substance. - Represents the date and/or time of the last known occurence of a reaction event. + Represents the date and/or time of the last known occurence of a reaction event. - Additional narrative about the propensity for the Adverse Reaction, not captured in other fields. + Additional narrative about the propensity for the Adverse Reaction, not captured in other fields. - Details about each Adverse Reaction Event linked to exposure to the identified Substance. + Details about each Adverse Reaction Event linked to exposure to the identified Substance. @@ -2919,54 +2990,54 @@ P.O. Box number, delivery hints, and similar address information. - Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. - Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance. + Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance. - Statement about the degree of clinical certainty that the Specific Substance was the cause of the Manifestation in this reaction event. + Statement about the degree of clinical certainty that the Specific Substance was the cause of the Manifestation in this reaction event. - Clinical symptoms and/or signs that are observed or associated with the Adverse Reaction Event. + Clinical symptoms and/or signs that are observed or associated with the Adverse Reaction Event. - Text description about the Reaction as a whole, including details of the manifestation if required. + Text description about the Reaction as a whole, including details of the manifestation if required. - Record of the date and/or time of the onset of the Reaction. + Record of the date and/or time of the onset of the Reaction. - The amount of time that the Adverse Reaction persisted. + The amount of time that the Adverse Reaction persisted. - Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations. + Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations. - Identification of the route by which the subject was exposed to the substance. + Identification of the route by which the subject was exposed to the substance. - Additional text about the Adverse Reaction event not captured in other fields. + Additional text about the Adverse Reaction event not captured in other fields. @@ -2977,25 +3048,25 @@ P.O. Box number, delivery hints, and similar address information. - The potential clinical impact of a future reaction is estimated as low risk: exposure to substance is unlikely to result in a life threatening or organ system threatening outcome. Future exposure to the Substance is considered a relative contra-indication. + The potential clinical impact of a future reaction is estimated as low risk: exposure to substance is unlikely to result in a life threatening or organ system threatening outcome. Future exposure to the Substance is considered a relative contra-indication. - The potential clinical impact of a future reaction is estimated as high risk: exposure to substance may result in a life threatening or organ system threatening outcome. Future exposure to the Substance may be considered an absolute contra-indication. + The potential clinical impact of a future reaction is estimated as high risk: exposure to substance may result in a life threatening or organ system threatening outcome. Future exposure to the Substance may be considered an absolute contra-indication. - Unable to assess the potential clinical impact with the information available + Unable to assess the potential clinical impact with the information available - Estimate of the potential clinical harm, or seriousness, of a reaction to an identified Substance - If the element is present, it must have either a @value, an @id, or extensions + Estimate of the potential clinical harm, or seriousness, of a reaction to an identified Substance + If the element is present, it must have either a @value, an @id, or extensions @@ -3007,35 +3078,35 @@ P.O. Box number, delivery hints, and similar address information. - A low level of certainty about the propensity for a reaction to the identified Substance. + A low level of certainty about the propensity for a reaction to the identified Substance. - A high level of certainty about the propensity for a reaction to the identified Substance, which may include clinical evidence by testing or rechallenge. + A high level of certainty about the propensity for a reaction to the identified Substance, which may include clinical evidence by testing or rechallenge. - A reaction to the identified Substance has been clinically reassessed by testing or rechallenge and considered to be resolved. + A reaction to the identified Substance has been clinically reassessed by testing or rechallenge and considered to be resolved. - A propensity for a reaction to the identified Substance has been disproven with a high level of clinical certainty, which may include testing or rechallenge, and is refuted. + A propensity for a reaction to the identified Substance has been disproven with a high level of clinical certainty, which may include testing or rechallenge, and is refuted. - The statement was entered in error and Is not valid + The statement was entered in error and Is not valid - Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified Substance - If the element is present, it must have either a @value, an @id, or extensions + Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified Substance + If the element is present, it must have either a @value, an @id, or extensions @@ -3047,20 +3118,20 @@ P.O. Box number, delivery hints, and similar address information. - Immune mediated reaction, including allergic reactions and hypersensitivities. + Immune mediated reaction, including allergic reactions and hypersensitivities. - A non-immune mediated reaction, which can include pseudoallergic reactions, side effects, intolerances, drug toxicities (eg to Gentamicin), drug-drug interactions, food-drug interactions, and drug-disease interactions. + A non-immune mediated reaction, which can include pseudoallergic reactions, side effects, intolerances, drug toxicities (eg to Gentamicin), drug-drug interactions, food-drug interactions, and drug-disease interactions. - Identification of the underlying physiological mechanism for a Reaction Risk - If the element is present, it must have either a @value, an @id, or extensions + Identification of the underlying physiological mechanism for a Reaction Risk + If the element is present, it must have either a @value, an @id, or extensions @@ -3072,25 +3143,25 @@ P.O. Box number, delivery hints, and similar address information. - Any substance consumed to provide nutritional support for the body + Any substance consumed to provide nutritional support for the body - Substances administered to achieve a physiological effect + Substances administered to achieve a physiological effect - Substances that are encountered in the environment + Substances that are encountered in the environment - Category of an identified Substance - If the element is present, it must have either a @value, an @id, or extensions + Category of an identified Substance + If the element is present, it must have either a @value, an @id, or extensions @@ -3102,25 +3173,25 @@ P.O. Box number, delivery hints, and similar address information. - There is a low level of clinical certainty that the reaction was caused by the identified Substance. + There is a low level of clinical certainty that the reaction was caused by the identified Substance. - There is a high level of clinical certainty that the reaction was caused by the identified Substance. + There is a high level of clinical certainty that the reaction was caused by the identified Substance. - There is a very high level of clinical certainty that the reaction was due to the identified Substance, which may include clinical evidence by testing or rechallenge. + There is a very high level of clinical certainty that the reaction was due to the identified Substance, which may include clinical evidence by testing or rechallenge. - Statement about the degree of clinical certainty that a Specific Substance was the cause of the Manifestation in an reaction event - If the element is present, it must have either a @value, an @id, or extensions + Statement about the degree of clinical certainty that a Specific Substance was the cause of the Manifestation in an reaction event + If the element is present, it must have either a @value, an @id, or extensions @@ -3132,25 +3203,25 @@ P.O. Box number, delivery hints, and similar address information. - Causes mild physiological effects + Causes mild physiological effects - Causes moderate physiological effects + Causes moderate physiological effects - Causes severe physiological effects + Causes severe physiological effects - Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations - If the element is present, it must have either a @value, an @id, or extensions + Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations + If the element is present, it must have either a @value, an @id, or extensions @@ -3160,75 +3231,75 @@ P.O. Box number, delivery hints, and similar address information. - A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). - A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). - If the element is present, it must have either a @value, an @id, or extensions + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status. + The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status. - The type of appointment that is being booked (This may also be associated with participants for location, and/or a HealthcareService). + The type of appointment that is being booked (This may also be associated with participants for location, and/or a HealthcareService). - The reason that this appointment is being scheduled, this is more clinical than administrative. + The reason that this appointment is being scheduled, this is more clinical than administrative. - The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority). + The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority). - The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field. + The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field. - Date/Time that the appointment is to take place. + Date/Time that the appointment is to take place. - Date/Time that the appointment is to conclude. + Date/Time that the appointment is to conclude. - The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot. + The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot. - Additional comments about the appointment. + Additional comments about the appointment. - An Order that lead to the creation of this appointment. + An Order that lead to the creation of this appointment. - List of participants involved in the appointment. + List of participants involved in the appointment. @@ -3237,29 +3308,29 @@ P.O. Box number, delivery hints, and similar address information. - A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). - Role of participant in the appointment. + Role of participant in the appointment. - A Person, Location/HealthcareService or Device that is participating in the appointment. + A Person, Location/HealthcareService or Device that is participating in the appointment. - Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present. + Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present. - Participation status of the Patient. + Participation status of the Patient. @@ -3270,25 +3341,25 @@ P.O. Box number, delivery hints, and similar address information. - The participant is required to attend the appointment + The participant is required to attend the appointment - The participant may optionally attend the appointment + The participant may optionally attend the appointment - The participant is excluded from the appointment, and may not be informed of the appointment taking place. (appointment is about them, not for them - such as 2 doctors discussing results about a patient's test) + The participant is excluded from the appointment, and may not be informed of the appointment taking place. (appointment is about them, not for them - such as 2 doctors discussing results about a patient's test) - Is the Participant required to attend the appointment - If the element is present, it must have either a @value, an @id, or extensions + Is the Participant required to attend the appointment + If the element is present, it must have either a @value, an @id, or extensions @@ -3300,40 +3371,40 @@ P.O. Box number, delivery hints, and similar address information. - Some or all of the participant(s) have not finalized their acceptance of the appointment request + Some or all of the participant(s) have not finalized their acceptance of the appointment request - All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified + All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified - Some of the patients have arrived + Some of the patients have arrived - This appointment has completed and may have resulted in an encounter + This appointment has completed and may have resulted in an encounter - The appointment has been cancelled + The appointment has been cancelled - Some or all of the participant(s) have not/did not appear for the appointment (usually the patient) + Some or all of the participant(s) have not/did not appear for the appointment (usually the patient) - The free/busy status of an appointment - If the element is present, it must have either a @value, an @id, or extensions + The free/busy status of an appointment + If the element is present, it must have either a @value, an @id, or extensions @@ -3345,30 +3416,30 @@ P.O. Box number, delivery hints, and similar address information. - The participant has accepted the appointment + The participant has accepted the appointment - The participant has declined the appointment and will not participate in the appointment + The participant has declined the appointment and will not participate in the appointment - The participant has tentatively accepted the appointment. This could be automatically created by a system and requires further processing before it can be accepted. There is no commitment that attendance will occur + The participant has tentatively accepted the appointment. This could be automatically created by a system and requires further processing before it can be accepted. There is no commitment that attendance will occur - The participant needs to indicate if they accept the appointment by changing this status to one of the other statuses + The participant needs to indicate if they accept the appointment by changing this status to one of the other statuses - The Participation status of an appointment - If the element is present, it must have either a @value, an @id, or extensions + The Participation status of an appointment + If the element is present, it must have either a @value, an @id, or extensions @@ -3378,55 +3449,55 @@ P.O. Box number, delivery hints, and similar address information. - A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. - A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. - If the element is present, it must have either a @value, an @id, or extensions + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this appointment response concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate. + This records identifiers associated with this appointment response concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate. - Parent appointment that this response is replying to. + Parent appointment that this response is replying to. - Role of participant in the appointment. + Role of participant in the appointment. - A Person, Location/HealthcareService or Device that is participating in the appointment. + A Person, Location/HealthcareService or Device that is participating in the appointment. - Participation status of the Participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty. + Participation status of the Participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty. - This comment is particularly important when the responder is declining, tentative or requesting another time to indicate the reasons why. + This comment is particularly important when the responder is declining, tentative or requesting another time to indicate the reasons why. - This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time. + This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time. - This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time. + This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time. @@ -3437,40 +3508,40 @@ P.O. Box number, delivery hints, and similar address information. - The appointment participant has accepted that they can attend the appointment at the time specified in the AppointmentResponse + The appointment participant has accepted that they can attend the appointment at the time specified in the AppointmentResponse - The appointment participant has declined the appointment + The appointment participant has declined the appointment - The appointment participant has tentatively accepted the appointment + The appointment participant has tentatively accepted the appointment - The participant has in-process the appointment + The participant has in-process the appointment - The participant has completed the appointment + The participant has completed the appointment - This is the intitial status of an appointment participant until a participant has replied. It implies that there is no commitment for the appointment + This is the intitial status of an appointment participant until a participant has replied. It implies that there is no commitment for the appointment - The Participation status of an appointment - If the element is present, it must have either a @value, an @id, or extensions + The Participation status of an appointment + If the element is present, it must have either a @value, an @id, or extensions @@ -3480,35 +3551,35 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - If the element is present, it must have either a @value, an @id, or extensions + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + If the element is present, it must have either a @value, an @id, or extensions - Identifies the name, action type, time, and disposition of the audited event. + Identifies the name, action type, time, and disposition of the audited event. - A person, a hardware device or software process. + A person, a hardware device or software process. - Application systems and processes. + Application systems and processes. - Specific instances of data or objects that have been accessed. + Specific instances of data or objects that have been accessed. @@ -3517,44 +3588,44 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - Identifier for a family of the event. + Identifier for a family of the event. - Identifier for the category of event. + Identifier for the category of event. - Indicator for type of action performed during the event that generated the audit. + Indicator for type of action performed during the event that generated the audit. - The time when the event occurred on the source. + The time when the event occurred on the source. - Indicates whether the event succeeded or failed. + Indicates whether the event succeeded or failed. - A free text description of the outcome of the event. + A free text description of the outcome of the event. - The purposeOfUse (reason) that was used during the event being recorded. + The purposeOfUse (reason) that was used during the event being recorded. @@ -3563,64 +3634,64 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context. + Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context. - Direct reference to a resource that identifies the participant. + Direct reference to a resource that identifies the participant. - Unique identifier for the user actively participating in the event. + Unique identifier for the user actively participating in the event. - Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g., single sign-on), if available. + Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g., single sign-on), if available. - Human-meaningful name for the user. + Human-meaningful name for the user. - Indicator that the user is or is not the requestor, or initiator, for the event being audited. + Indicator that the user is or is not the requestor, or initiator, for the event being audited. - Where the event occurred. + Where the event occurred. - The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. + The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. - Type of media involved. Used when the event is about exporting/importing onto media. + Type of media involved. Used when the event is about exporting/importing onto media. - Logical network location for application activity, if the activity has a network location. + Logical network location for application activity, if the activity has a network location. - The purposeOfUse (reason) specific to this participant that was used during the event being recorded. + The purposeOfUse (reason) specific to this participant that was used during the event being recorded. @@ -3629,19 +3700,19 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - An identifier for the network access point of the user device for the audit event. + An identifier for the network access point of the user device for the audit event. - An identifier for the type of network access point that originated the audit event. + An identifier for the type of network access point that originated the audit event. @@ -3650,24 +3721,24 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - Logical source location within the healthcare enterprise network. + Logical source location within the healthcare enterprise network. - Identifier of the source where the event originated. + Identifier of the source where the event originated. - Code specifying the type of source where event originated. + Code specifying the type of source where event originated. @@ -3676,59 +3747,59 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - Identifies a specific instance of the participant object. The reference should always be version specific. + Identifies a specific instance of the participant object. The reference should always be version specific. - Identifies a specific instance of the participant object. The reference should always be version specific. + Identifies a specific instance of the participant object. The reference should always be version specific. - The type of the object that was involved in this audit event. + The type of the object that was involved in this audit event. - Code representing the functional application role of Participant Object being audited. + Code representing the functional application role of Participant Object being audited. - Identifier for the data life-cycle stage for the participant object. + Identifier for the data life-cycle stage for the participant object. - Denotes policy-defined sensitivity for the Participant Object ID such as VIP, HIV status, mental health status or similar topics. + Denotes policy-defined sensitivity for the Participant Object ID such as VIP, HIV status, mental health status or similar topics. - An instance-specific descriptor of the Participant Object ID audited, such as a person's name. + An instance-specific descriptor of the Participant Object ID audited, such as a person's name. - Text that describes the object in more detail. + Text that describes the object in more detail. - The actual query for a query-type participant object. + The actual query for a query-type participant object. - Additional Information about the Object. + Additional Information about the Object. @@ -3737,19 +3808,19 @@ P.O. Box number, delivery hints, and similar address information. - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - Name of the property. + Name of the property. - Property value. + Property value. @@ -3760,130 +3831,130 @@ P.O. Box number, delivery hints, and similar address information. - This object is the patient that is the subject of care related to this event. It is identifiable by patient ID or equivalent. The patient may be either human or animal + This object is the patient that is the subject of care related to this event. It is identifiable by patient ID or equivalent. The patient may be either human or animal - This is a location identified as related to the event. This is usually the location where the event took place. Note that for shipping, the usual events are arrival at a location or departure from a location. + This is a location identified as related to the event. This is usually the location where the event took place. Note that for shipping, the usual events are arrival at a location or departure from a location. - This object is any kind of persistent document created as a result of the event. This could be a paper report, film, electronic report, DICOM Study, etc. Issues related to medical records life cycle management are conveyed elsewhere. + This object is any kind of persistent document created as a result of the event. This could be a paper report, film, electronic report, DICOM Study, etc. Issues related to medical records life cycle management are conveyed elsewhere. - A logical object related to a health record event. This is any healthcare specific resource (object) not restricted to FHIR defined Resources. + A logical object related to a health record event. This is any healthcare specific resource (object) not restricted to FHIR defined Resources. - This is any configurable file used to control creation of documents. Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc. + This is any configurable file used to control creation of documents. Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc. - A human participant not otherwise identified by some other category + A human participant not otherwise identified by some other category - (deprecated) + (deprecated) - Typically a licensed person who is providing or performing care related to the event, generally a physician. The key distinction between doctor and practitioner is with regards to their role, not the licensing. The doctor is the human who actually performed the work. The practitioner is the human or organization that is responsible for the work. + Typically a licensed person who is providing or performing care related to the event, generally a physician. The key distinction between doctor and practitioner is with regards to their role, not the licensing. The doctor is the human who actually performed the work. The practitioner is the human or organization that is responsible for the work. - A person or system that is being notified as part of the event. This is relevant in situations where automated systems provide notifications to other parties when an event took place. + A person or system that is being notified as part of the event. This is relevant in situations where automated systems provide notifications to other parties when an event took place. - Insurance company, or any other organization who accepts responsibility for paying for the healthcare event. + Insurance company, or any other organization who accepts responsibility for paying for the healthcare event. - A person or active system object involved in the event with a security role. + A person or active system object involved in the event with a security role. - A person or system object involved in the event with the authority to modify security roles of other objects. + A person or system object involved in the event with the authority to modify security roles of other objects. - A passive object, such as a role table, that is relevant to the event. + A passive object, such as a role table, that is relevant to the event. - (deprecated) Relevant to certain RBAC security methodologies. + (deprecated) Relevant to certain RBAC security methodologies. - Any person or organization responsible for providing care. This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note, the distinction between practitioners and the doctor that actually provided the care to the patient. + Any person or organization responsible for providing care. This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note, the distinction between practitioners and the doctor that actually provided the care to the patient. - The source or destination for data transfer, when it does not match some other role. + The source or destination for data transfer, when it does not match some other role. - A source or destination for data transfer, that acts as an archive, database, or similar role. + A source or destination for data transfer, that acts as an archive, database, or similar role. - An object that holds schedule information. This could be an appointment book, availability information, etc. + An object that holds schedule information. This could be an appointment book, availability information, etc. - An organization or person that is the recipient of services. This could be an organization that is buying services for a patient, or a person that is buying services for an animal. + An organization or person that is the recipient of services. This could be an organization that is buying services for a patient, or a person that is buying services for an animal. - An order, task, work item, procedure step, or other description of work to be performed. E.g., a particular instance of an MPPS. + An order, task, work item, procedure step, or other description of work to be performed. E.g., a particular instance of an MPPS. - A list of jobs or a system that provides lists of jobs. E.g., an MWL SCP. + A list of jobs or a system that provides lists of jobs. E.g., an MWL SCP. - (Deprecated) + (Deprecated) - An object that specifies or controls the routing or delivery of items. For example, a distribution list is the routing criteria for mail. The items delivered may be documents, jobs, or other objects. + An object that specifies or controls the routing or delivery of items. For example, a distribution list is the routing criteria for mail. The items delivered may be documents, jobs, or other objects. - The contents of a query. This is used to capture the contents of any kind of query. For security surveillance purposes knowing the queries being made is very important. + The contents of a query. This is used to capture the contents of any kind of query. For security surveillance purposes knowing the queries being made is very important. - Code representing the role the Object played in the event - If the element is present, it must have either a @value, an @id, or extensions + Code representing the role the Object played in the event + If the element is present, it must have either a @value, an @id, or extensions @@ -3895,30 +3966,30 @@ P.O. Box number, delivery hints, and similar address information. - The operation completed successfully (whether with warnings or not) + The operation completed successfully (whether with warnings or not) - The action was not successful due to some kind of catered for error (often equivalent to an HTTP 400 response) + The action was not successful due to some kind of catered for error (often equivalent to an HTTP 400 response) - The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response) + The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response) - An error of such magnitude occurred that the system is not longer available for use (i.e. the system died) + An error of such magnitude occurred that the system is not longer available for use (i.e. the system died) - Indicates whether the event succeeded or failed - If the element is present, it must have either a @value, an @id, or extensions + Indicates whether the event succeeded or failed + If the element is present, it must have either a @value, an @id, or extensions @@ -3930,35 +4001,35 @@ P.O. Box number, delivery hints, and similar address information. - Create a new database object, such as Placing an Order. + Create a new database object, such as Placing an Order. - Display or print data, such as a Doctor Census + Display or print data, such as a Doctor Census - Update data, such as Revise Patient Information + Update data, such as Revise Patient Information - Delete items, such as a doctor master file record + Delete items, such as a doctor master file record - Perform a system or application function such as log-on, program execution or use of an object's method, or perform a query/search operation + Perform a system or application function such as log-on, program execution or use of an object's method, or perform a query/search operation - Indicator for type of action performed during the event that generated the audit. - If the element is present, it must have either a @value, an @id, or extensions + Indicator for type of action performed during the event that generated the audit. + If the element is present, it must have either a @value, an @id, or extensions @@ -3970,35 +4041,35 @@ P.O. Box number, delivery hints, and similar address information. - Machine Name, including DNS name + Machine Name, including DNS name - IP Address + IP Address - Telephone Number + Telephone Number - Email address + Email address - URI (User directory, HTTP-PUT, ftp, etc.) + URI (User directory, HTTP-PUT, ftp, etc.) - The type of network access point of this participant in the audit event - If the element is present, it must have either a @value, an @id, or extensions + The type of network access point of this participant in the audit event + If the element is present, it must have either a @value, an @id, or extensions @@ -4010,85 +4081,85 @@ P.O. Box number, delivery hints, and similar address information. - Origination / Creation + Origination / Creation - Import / Copy from original + Import / Copy from original - Amendment + Amendment - Verification + Verification - Translation + Translation - Access / Use + Access / Use - De-identification + De-identification - Aggregation, summarization, derivation + Aggregation, summarization, derivation - Report + Report - Export / Copy to target + Export / Copy to target - Disclosure + Disclosure - Receipt of disclosure + Receipt of disclosure - Archiving + Archiving - Logical deletion + Logical deletion - Permanent erasure / Physical destruction + Permanent erasure / Physical destruction - Identifier for the data life-cycle stage for the object - If the element is present, it must have either a @value, an @id, or extensions + Identifier for the data life-cycle stage for the object + If the element is present, it must have either a @value, an @id, or extensions @@ -4100,30 +4171,30 @@ P.O. Box number, delivery hints, and similar address information. - Person + Person - System Object + System Object - Organization + Organization - Other + Other - Code for the object type involved audited - If the element is present, it must have either a @value, an @id, or extensions + Code for the object type involved audited + If the element is present, it must have either a @value, an @id, or extensions @@ -4133,40 +4204,40 @@ P.O. Box number, delivery hints, and similar address information. - Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. - Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. - If the element is present, it must have either a @value, an @id, or extensions + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + If the element is present, it must have either a @value, an @id, or extensions - Identifier assigned to the resource for business purposes, outside the context of FHIR. + Identifier assigned to the resource for business purposes, outside the context of FHIR. - Identifies the 'type' of resource - equivalent to the resource name for other resources. + Identifies the 'type' of resource - equivalent to the resource name for other resources. - Identifies the patient, practitioner, device or any other resource that is the "focus" of this resoruce. + Identifies the patient, practitioner, device or any other resource that is the "focus" of this resoruce. - Indicates who was responsible for creating the resource instance. + Indicates who was responsible for creating the resource instance. - Identifies when the resource was first created. + Identifies when the resource was first created. @@ -4175,25 +4246,25 @@ P.O. Box number, delivery hints, and similar address information. - A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. - A binary resource can contain any content, whether text, image, pdf, zip archive, etc. - If the element is present, it must have either a @value, an @id, or extensions + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + If the element is present, it must have either a @value, an @id, or extensions - MimeType of the binary content represented as a standard MimeType (BCP 13). + MimeType of the binary content represented as a standard MimeType (BCP 13). - The actual content, base64 encoded. + The actual content, base64 encoded. @@ -4202,45 +4273,45 @@ P.O. Box number, delivery hints, and similar address information. - Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case. + Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case. - Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case. - If the element is present, it must have either a @value, an @id, or extensions + Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case. + If the element is present, it must have either a @value, an @id, or extensions - The person to which the body site belongs. + The person to which the body site belongs. - Identifier for this instance of the anatomical location. + Identifier for this instance of the anatomical location. - Named anatomical location - ideally would be coded where possible. + Named anatomical location - ideally would be coded where possible. - Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane. + Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane. - Description of anatomical location. + Description of anatomical location. - Image or images used to identify a location. + Image or images used to identify a location. @@ -4249,45 +4320,45 @@ P.O. Box number, delivery hints, and similar address information. - A container for a collection of resources. + A container for a collection of resources. - A container for a collection of resources. - If the element is present, it must have either a @value, an @id, or extensions + A container for a collection of resources. + If the element is present, it must have either a @value, an @id, or extensions - Indicates the purpose of this bundle- how it was intended to be used. + Indicates the purpose of this bundle- how it was intended to be used. - The base URL for the service that provided these resources. All relative URLs are relative to this one (equivalent to xml:base). + The base URL for the service that provided these resources. All relative URLs are relative to this one (equivalent to xml:base). - If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle). + If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle). - A series of links that provide context to this bundle. + A series of links that provide context to this bundle. - An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only). + An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only). - XML Digital Signature - base64 encoded. + XML Digital Signature - base64 encoded. @@ -4296,19 +4367,19 @@ P.O. Box number, delivery hints, and similar address information. - A container for a collection of resources. + A container for a collection of resources. - A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]. + A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]. - The reference details for the link. + The reference details for the link. @@ -4317,39 +4388,39 @@ P.O. Box number, delivery hints, and similar address information. - A container for a collection of resources. + A container for a collection of resources. - The Base URL for the resource, if different to the base URL specified for the bundle as a whole. + The Base URL for the resource, if different to the base URL specified for the bundle as a whole. - A series of links that provide context to this entry. + A series of links that provide context to this entry. - The Resources for the entry. + The Resources for the entry. - Information about the search process that lead to the creation of this entry. + Information about the search process that lead to the creation of this entry. - Additional information about how this entry should be processed as part of a transaction. + Additional information about how this entry should be processed as part of a transaction. - Additional information about how this entry should be processed as part of a transaction. + Additional information about how this entry should be processed as part of a transaction. @@ -4358,19 +4429,19 @@ P.O. Box number, delivery hints, and similar address information. - A container for a collection of resources. + A container for a collection of resources. - Why this entry is in the result set - whether it's included as a match or because of an _include requirement. + Why this entry is in the result set - whether it's included as a match or because of an _include requirement. - When searching, the server's search ranking score for the entry. + When searching, the server's search ranking score for the entry. @@ -4379,39 +4450,39 @@ P.O. Box number, delivery hints, and similar address information. - A container for a collection of resources. + A container for a collection of resources. - The HTTP verb for this entry in either a update history, or a transaction/ transaction response. + The HTTP verb for this entry in either a update history, or a transaction/ transaction response. - A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation). + The URL for this entry, relative to the root. - If the ETag values match, return a 304 Not modified status. See the read/vread interaction documentation. + If the ETag values match, return a 304 Not modified status. See the read/vread interaction documentation. - Only perform the operation if the Etag value matches. For more information, see the API section "Managing Resource Contention". + Only perform the operation if the Etag value matches. For more information, see the API section "Managing Resource Contention". - Only perform the operation if the last updated date matches. For more information, see the API section "Managing Resource Contention". + Only perform the operation if the last updated date matches. For more information, see the API section "Managing Resource Contention". - Instruct the server not to perform the create if a specified resource already exists. For further information, see "Conditional Create". + Instruct the server not to perform the create if a specified resource already exists. For further information, see "Conditional Create". @@ -4420,29 +4491,29 @@ P.O. Box number, delivery hints, and similar address information. - A container for a collection of resources. + A container for a collection of resources. - The status code returned by processing this entry. + The status code returned by processing this entry. - The location header created by processing this operation. + The location header created by processing this operation. - The etag for the resource, it the operation for the entry produced a versioned resource. + The etag for the resource, it the operation for the entry produced a versioned resource. - The date/time that the resource was modified on the server. + The date/time that the resource was modified on the server. @@ -4453,30 +4524,30 @@ P.O. Box number, delivery hints, and similar address information. - HTTP GET + HTTP GET - HTTP POST + HTTP POST - HTTP PUT + HTTP PUT - HTTP DELETE + HTTP DELETE - HTTP verbs (in the HTTP command line) - If the element is present, it must have either a @value, an @id, or extensions + HTTP verbs (in the HTTP command line) + If the element is present, it must have either a @value, an @id, or extensions @@ -4488,45 +4559,45 @@ P.O. Box number, delivery hints, and similar address information. - The bundle is a document. The first resource is a Composition + The bundle is a document. The first resource is a Composition - The bundle is a message. The first resource is a MessageHeader + The bundle is a message. The first resource is a MessageHeader - The bundle is a transaction - intended to be processed by a server as an atomic commit + The bundle is a transaction - intended to be processed by a server as an atomic commit - The bundle is a transaction response + The bundle is a transaction response - The bundle is a list of resources from a _history interaction on a server + The bundle is a list of resources from a _history interaction on a server - The bundle is a list of resources returned as a result of a search/query interaction, operation, or message + The bundle is a list of resources returned as a result of a search/query interaction, operation, or message - The bundle is a set of resources collected into a single document for ease of distribution + The bundle is a set of resources collected into a single document for ease of distribution - Indicates the purpose of a bundle- how it was intended to be used - If the element is present, it must have either a @value, an @id, or extensions + Indicates the purpose of a bundle- how it was intended to be used + If the element is present, it must have either a @value, an @id, or extensions @@ -4538,20 +4609,25 @@ P.O. Box number, delivery hints, and similar address information. - This resource matched the search specification + This resource matched the search specification - This resource is returned because it is referred to from another resource in the search set + This resource is returned because it is referred to from another resource in the search set + + + + + An OperationOutcome that provides additional information about the processing of a search - Why an entry is in the result set - whether it's included as a match or because of an _include requirement - If the element is present, it must have either a @value, an @id, or extensions + Why an entry is in the result set - whether it's included as a match or because of an _include requirement + If the element is present, it must have either a @value, an @id, or extensions @@ -4561,80 +4637,80 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. - Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. - If the element is present, it must have either a @value, an @id, or extensions + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - Identifies the patient/subject whose intended care is described by the plan. + Identifies the patient/subject whose intended care is described by the plan. - Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. + Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. - Indicates when the plan did (or is intended to) come into effect and end. + Indicates when the plan did (or is intended to) come into effect and end. - Identifies the individual(s) or ogranization who is responsible for the content of the care plan. + Identifies the individual(s) or ogranization who is responsible for the content of the care plan. - Identifies the most recent date on which the plan has been revised. + Identifies the most recent date on which the plan has been revised. - Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans. E.g. "Home health", "psychiatric", "asthma", "disease management", etc. + Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans. E.g. "Home health", "psychiatric", "asthma", "disease management", etc. - Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan. + Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan. - Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include co-morbidities, recent procedures, limitations, recent assessments, etc. + Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include co-morbidities, recent procedures, limitations, recent assessments, etc. - Identifies all people and organizations who are expected to be involved in the care envisioned by this plan. + Identifies all people and organizations who are expected to be involved in the care envisioned by this plan. - Describes the intended objective(s) of carrying out the Care Plan. + Describes the intended objective(s) of carrying out the Care Plan. - Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc. + Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc. - General notes about the care plan not covered elsewhere. + General notes about the care plan not covered elsewhere. @@ -4643,19 +4719,19 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. - Indicates specific responsibility of an individual within the care plan. E.g. "Primary physician", "Team coordinator", "Caregiver", etc. + Indicates specific responsibility of an individual within the care plan. E.g. "Primary physician", "Team coordinator", "Caregiver", etc. - The specific person or organization who is participating/expected to participate in the care plan. + The specific person or organization who is participating/expected to participate in the care plan. @@ -4664,29 +4740,29 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. - Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc. + Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc. - Notes about the execution of the activity. + Notes about the execution of the activity. - The details of the proposed activity represented in a specific resource. + The details of the proposed activity represented in a specific resource. - A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc. + A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc. @@ -4695,51 +4771,51 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. - High-level categorization of the type of activity in a care plan. + High-level categorization of the type of activity in a care plan. - Detailed description of the type of planned activity. E.g. What lab test, what procedure, what kind of encounter. + Detailed description of the type of planned activity. E.g. What lab test, what procedure, what kind of encounter. - Provides the health condition(s) or other rationale that drove the inclusion of this particular activity as part of the plan. + Provides the health condition(s) or other rationale that drove the inclusion of this particular activity as part of the plan. - Internal reference that identifies the goals that this activity is intended to contribute towards meeting. + Internal reference that identifies the goals that this activity is intended to contribute towards meeting. - Identifies what progress is being made for the specific activity. + Identifies what progress is being made for the specific activity. - Provides reason why the activity isn't yet started, is on hold, was cancelled, etc. + Provides reason why the activity isn't yet started, is on hold, was cancelled, etc. - If true, indicates that the described activity is one that must NOT be engaged in when following the plan. + If true, indicates that the described activity is one that must NOT be engaged in when following the plan. - The period, timing or frequency upon which the described activity is to occur. + The period, timing or frequency upon which the described activity is to occur. @@ -4747,32 +4823,32 @@ P.O. Box number, delivery hints, and similar address information. - Identifies the facility where the activity will occur. E.g. home, hospital, specific clinic, etc. + Identifies the facility where the activity will occur. E.g. home, hospital, specific clinic, etc. - Identifies who's expected to be involved in the activity. + Identifies who's expected to be involved in the activity. - Identifies the food, drug or other product to be consumed or supplied in the activity. + Identifies the food, drug or other product to be consumed or supplied in the activity. - Identifies the quantity expected to be consumed in a given day. + Identifies the quantity expected to be consumed in a given day. - Identifies the quantity expected to be supplied, addministered or consumed by the subject. + Identifies the quantity expected to be supplied, addministered or consumed by the subject. - This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc. + This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc. @@ -4783,25 +4859,25 @@ P.O. Box number, delivery hints, and similar address information. - The plan is in development or awaiting use but is not yet intended to be acted upon. + The plan is in development or awaiting use but is not yet intended to be acted upon. - The plan is intended to be followed and used as part of patient care + The plan is intended to be followed and used as part of patient care - The plan is no longer in use and is not expected to be followed or used in patient care + The plan is no longer in use and is not expected to be followed or used in patient care - Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. - If the element is present, it must have either a @value, an @id, or extensions + Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. + If the element is present, it must have either a @value, an @id, or extensions @@ -4813,40 +4889,40 @@ P.O. Box number, delivery hints, and similar address information. - Activity is planned but no action has yet been taken + Activity is planned but no action has yet been taken - Appointment or other booking has occurred but activity has not yet begun + Appointment or other booking has occurred but activity has not yet begun - Activity has been started but is not yet complete + Activity has been started but is not yet complete - Activity was started but has temporarily ceased with an expectation of resumption at a future time. + Activity was started but has temporarily ceased with an expectation of resumption at a future time. - The activities have been completed (more or less) as planned + The activities have been completed (more or less) as planned - The activities have been ended prior to completion (perhaps even before they were started) + The activities have been ended prior to completion (perhaps even before they were started) - Indicates where the activity is at in its overall life cycle - If the element is present, it must have either a @value, an @id, or extensions + Indicates where the activity is at in its overall life cycle + If the element is present, it must have either a @value, an @id, or extensions @@ -4858,45 +4934,45 @@ P.O. Box number, delivery hints, and similar address information. - Plan for the patient to consume food of a specified nature + Plan for the patient to consume food of a specified nature - Plan for the patient to consume/receive a drug, vaccine or other product + Plan for the patient to consume/receive a drug, vaccine or other product - Plan to meet or communicate with the patient (in-patient, out-patient, phone call, etc.) + Plan to meet or communicate with the patient (in-patient, out-patient, phone call, etc.) - Plan to capture information about a patient (vitals, labs, diagnostic images, etc.) + Plan to capture information about a patient (vitals, labs, diagnostic images, etc.) - Plan to modify the patient in some way (surgery, physiotherapy, education, counseling, etc.) + Plan to modify the patient in some way (surgery, physiotherapy, education, counseling, etc.) - Plan to provide something to the patient (medication, medical supply, etc.) + Plan to provide something to the patient (medication, medical supply, etc.) - Some other form of action + Some other form of action - High-level categorization of the type of activity in a care plan. - If the element is present, it must have either a @value, an @id, or extensions + High-level categorization of the type of activity in a care plan. + If the element is present, it must have either a @value, an @id, or extensions @@ -4906,160 +4982,160 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - If the element is present, it must have either a @value, an @id, or extensions + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions - The category of claim this is. + The category of claim this is. - The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. - The version of the specification on which this instance relies. + The version of the specification on which this instance relies. - The version of the specification from which the original instance was created. + The version of the specification from which the original instance was created. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - Insurer Identifier, typical BIN number (6 digit). + Insurer Identifier, typical BIN number (6 digit). - The provider which is responsible for the bill, claim pre-determination, pre-authorization. + The provider which is responsible for the bill, claim pre-determination, pre-authorization. - The organization which is responsible for the bill, claim pre-determination, pre-authorization. + The organization which is responsible for the bill, claim pre-determination, pre-authorization. - Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). - Immediate (STAT), best effort (NORMAL), deferred (DEFER). + Immediate (STAT), best effort (NORMAL), deferred (DEFER). - In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. - Person who created the invoice/claim/pre-determination or pre-authorization. + Person who created the invoice/claim/pre-determination or pre-authorization. - Facility where the services were provided. + Facility where the services were provided. - Prescription to support the dispensing of Pharmacy or Vision products. + Prescription to support the dispensing of Pharmacy or Vision products. - Original prescription to support the dispensing of pharmacy services, medications or products. + Original prescription to support the dispensing of pharmacy services, medications or products. - The party to be reimbursed for the services. + The party to be reimbursed for the services. - The referral resource which lists the date, practitioner, reason and other supporting information. + The referral resource which lists the date, practitioner, reason and other supporting information. - Ordered list of patient diagnosis for which care is sought. + Ordered list of patient diagnosis for which care is sought. - List of patient conditions for which care is sought. + List of patient conditions for which care is sought. - Patient Resource. + Patient Resource. - Financial instrument by which payment information for health care. + Financial instrument by which payment information for health care. - Factors which may influence the applicability of coverage. + Factors which may influence the applicability of coverage. - Name of school for over-aged dependants. + Name of school for over-aged dependants. - Date of an accident which these services are addressing. + Date of an accident which these services are addressing. - Type of accident: work, auto, etc. + Type of accident: work, auto, etc. - A list of intervention and exception codes which may influence the adjudication of the claim. + A list of intervention and exception codes which may influence the adjudication of the claim. - First tier of goods and services. + First tier of goods and services. - Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. - A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons. + A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons. @@ -5068,29 +5144,29 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - Party to be reimbursed: Subscriber, provider, other. + Party to be reimbursed: Subscriber, provider, other. - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). @@ -5099,19 +5175,19 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - Sequence of diagnosis which serves to order and provide a link. + Sequence of diagnosis which serves to order and provide a link. - The diagnosis. + The diagnosis. @@ -5120,49 +5196,49 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - A service line item. + A service line item. - The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. - Reference to the program or plan identification, underwriter or payor. + Reference to the program or plan identification, underwriter or payor. - The contract number of a business agreement which describes the terms and conditions. + The contract number of a business agreement which describes the terms and conditions. - The relationship of the patient to the subscriber. + The relationship of the patient to the subscriber. - A list of references from the Insurer to which these services pertain. + A list of references from the Insurer to which these services pertain. - The Coverages adjudication details. + The Coverages adjudication details. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. @@ -5171,94 +5247,94 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - A service line number. + A service line number. - The type of product or service. + The type of product or service. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - Diagnosis applicable for this service or product line. + Diagnosis applicable for this service or product line. - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The number of repetitions of a service or product. + The number of repetitions of a service or product. - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. - List of Unique Device Identifiers associated with this line item. + List of Unique Device Identifiers associated with this line item. - Physical service site on the patient (limb, tooth, etc). + Physical service site on the patient (limb, tooth, etc). - A region or surface of the site, eg. limb region or tooth surface(s). + A region or surface of the site, eg. limb region or tooth surface(s). - Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. - Second tier of goods and services. + Second tier of goods and services. - The materials and placement date of prior fixed prosthesis. + The materials and placement date of prior fixed prosthesis. @@ -5267,59 +5343,59 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - A service line number. + A service line number. - The type of product or service. + The type of product or service. - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - The number of repetitions of a service or product. + The number of repetitions of a service or product. - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. - List of Unique Device Identifiers associated with this line item. + List of Unique Device Identifiers associated with this line item. - Third tier of goods and services. + Third tier of goods and services. @@ -5328,54 +5404,54 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - A service line number. + A service line number. - The type of product or service. + The type of product or service. - The fee for an addittional service or product or charge. + The fee for an addittional service or product or charge. - The number of repetitions of a service or product. + The number of repetitions of a service or product. - The fee for an addittional service or product or charge. + The fee for an addittional service or product or charge. - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. - List of Unique Device Identifiers associated with this line item. + List of Unique Device Identifiers associated with this line item. @@ -5384,24 +5460,24 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - Indicates whether this is the initial placement of a fixed prosthesis. + Indicates whether this is the initial placement of a fixed prosthesis. - Date of the initial placement. + Date of the initial placement. - Material of the prior denture or bridge prosthesis. (Oral). + Material of the prior denture or bridge prosthesis. (Oral). @@ -5410,24 +5486,24 @@ P.O. Box number, delivery hints, and similar address information. - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - The code identifying which tooth is missing. + The code identifying which tooth is missing. - Missing reason may be: E-extraction, O-other. + Missing reason may be: E-extraction, O-other. - The date of the extraction either known from records or patient reported estimate. + The date of the extraction either known from records or patient reported estimate. @@ -5438,30 +5514,30 @@ P.O. Box number, delivery hints, and similar address information. - The treatment is complete and this represents a Claim for the services. + The treatment is complete and this represents a Claim for the services. - The treatment is proposed and this represents a Pre-authorization for the services. + The treatment is proposed and this represents a Pre-authorization for the services. - The treatment is proposed and this represents a Pre-determination for the services. + The treatment is proposed and this represents a Pre-determination for the services. - A locally defined or otherwise resolved status. + A locally defined or otherwise resolved status. - Complete, proposed, exploratory, other - If the element is present, it must have either a @value, an @id, or extensions + Complete, proposed, exploratory, other + If the element is present, it must have either a @value, an @id, or extensions @@ -5473,35 +5549,35 @@ P.O. Box number, delivery hints, and similar address information. - A claim for Institution based, typically in-patient, goods and services. + A claim for Institution based, typically in-patient, goods and services. - A claim for Oral Health (Dentist, Denturist, Hygienist) goods and services. + A claim for Oral Health (Dentist, Denturist, Hygienist) goods and services. - A claim for Pharmacy based goods and services. + A claim for Pharmacy based goods and services. - A claim for Professional, typically out-patient, goods and services. + A claim for Professional, typically out-patient, goods and services. - A claim for Vision (Opthamologist, Optometrist and Optician) goods and services. + A claim for Vision (Opthamologist, Optometrist and Optician) goods and services. - The type or discipline-style of the claim - If the element is present, it must have either a @value, an @id, or extensions + The type or discipline-style of the claim + If the element is present, it must have either a @value, an @id, or extensions @@ -5511,145 +5587,145 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - This resource provides the adjudication details from the processing of a Claim resource. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides the adjudication details from the processing of a Claim resource. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - Original request resource referrence. + Original request resource referrence. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The Insurer who produced this adjudicated response. + The Insurer who produced this adjudicated response. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. - Transaction status: error, complete. + Transaction status: error, complete. - A description of the status of the adjudication. + A description of the status of the adjudication. - Party to be reimbursed: Subscriber, provider, other. + Party to be reimbursed: Subscriber, provider, other. - The first tier service adjudications for submitted services. + The first tier service adjudications for submitted services. - The first tier service adjudications for payor added services. + The first tier service adjudications for payor added services. - Mutually exclusive with Services Provided (Item). + Mutually exclusive with Services Provided (Item). - The total cost of the services reported. + The total cost of the services reported. - The amount of deductable applied which was not allocated to any particular service line. + The amount of deductable applied which was not allocated to any particular service line. - Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductable). + Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductable). - Adjustment to the payment of this transaction which is not related to adjudication of this transaction. + Adjustment to the payment of this transaction which is not related to adjudication of this transaction. - Reason for the payment adjustment. + Reason for the payment adjustment. - Estimated payment data. + Estimated payment data. - Payable less any payment adjustment. + Payable less any payment adjustment. - Payment identifer. + Payment identifer. - Status of funds reservation (For provider, for Patient, None). + Status of funds reservation (For provider, for Patient, None). - The form to be used for printing the content. + The form to be used for printing the content. - Note text. + Note text. - Financial instrument by which payment information for health care. + Financial instrument by which payment information for health care. @@ -5658,29 +5734,29 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - A service line number. + A service line number. - A list of note references to the notes provided below. + A list of note references to the notes provided below. - The adjudications results. + The adjudications results. - The second tier service adjudications for submitted services. + The second tier service adjudications for submitted services. @@ -5689,24 +5765,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. - Monitory amount associated with the code. + Monitory amount associated with the code. - A non-monetary value for example a percentage. Mutually exclusive to the amount element above. + A non-monetary value for example a percentage. Mutually exclusive to the amount element above. @@ -5715,24 +5791,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - A service line number. + A service line number. - The adjudications results. + The adjudications results. - The third tier service adjudications for submitted services. + The third tier service adjudications for submitted services. @@ -5741,24 +5817,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. - Monitory amount associated with the code. + Monitory amount associated with the code. - A non-monetary value for example a percentage. Mutually exclusive to the amount element above. + A non-monetary value for example a percentage. Mutually exclusive to the amount element above. @@ -5767,19 +5843,19 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - A service line number. + A service line number. - The adjudications results. + The adjudications results. @@ -5788,24 +5864,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. - Monitory amount associated with the code. + Monitory amount associated with the code. - A non-monetary value for example a percentage. Mutually exclusive to the amount element above. + A non-monetary value for example a percentage. Mutually exclusive to the amount element above. @@ -5814,39 +5890,39 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - List of input service items which this service line is intended to replace. + List of input service items which this service line is intended to replace. - A code to indicate the Professional Service or Product supplied. + A code to indicate the Professional Service or Product supplied. - The fee charged for the professional service or product.. + The fee charged for the professional service or product.. - A list of note references to the notes provided below. + A list of note references to the notes provided below. - The adjudications results. + The adjudications results. - The second tier service adjudications for payor added services. + The second tier service adjudications for payor added services. @@ -5855,24 +5931,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. - Monitory amount associated with the code. + Monitory amount associated with the code. - A non-monetary value for example a percentage. Mutually exclusive to the amount element above. + A non-monetary value for example a percentage. Mutually exclusive to the amount element above. @@ -5881,24 +5957,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - A code to indicate the Professional Service or Product supplied. + A code to indicate the Professional Service or Product supplied. - The fee charged for the professional service or product.. + The fee charged for the professional service or product.. - The adjudications results. + The adjudications results. @@ -5907,24 +5983,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. - Monitory amount associated with the code. + Monitory amount associated with the code. - A non-monetary value for example a percentage. Mutually exclusive to the amount element above. + A non-monetary value for example a percentage. Mutually exclusive to the amount element above. @@ -5933,29 +6009,29 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - The sequence number of the line item submitted which contains the error. This value is ommitted when the error is elsewhere. + The sequence number of the line item submitted which contains the error. This value is ommitted when the error is elsewhere. - The sequence number of the addition within the line item submitted which contains the error. This value is ommitted when the error is not related to an Addition. + The sequence number of the addition within the line item submitted which contains the error. This value is ommitted when the error is not related to an Addition. - The sequence number of the addition within the line item submitted which contains the error. This value is ommitted when the error is not related to an Addition. + The sequence number of the addition within the line item submitted which contains the error. This value is ommitted when the error is not related to an Addition. - An error code,froma specified code system, which details why the claim could not be adjudicated. + An error code,froma specified code system, which details why the claim could not be adjudicated. @@ -5964,24 +6040,24 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - An integer associated with each note which may be referred to from each service line item. + An integer associated with each note which may be referred to from each service line item. - The note purpose: Print/Display. + The note purpose: Print/Display. - The note text. + The note text. @@ -5990,49 +6066,49 @@ P.O. Box number, delivery hints, and similar address information. - This resource provides the adjudication details from the processing of a Claim resource. + This resource provides the adjudication details from the processing of a Claim resource. - A service line item. + A service line item. - The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. - Reference to the program or plan identification, underwriter or payor. + Reference to the program or plan identification, underwriter or payor. - The contract number of a business agreement which describes the terms and conditions. + The contract number of a business agreement which describes the terms and conditions. - The relationship of the patient to the subscriber. + The relationship of the patient to the subscriber. - A list of references from the Insurer to which these services pertain. + A list of references from the Insurer to which these services pertain. - The Coverages adjudication details. + The Coverages adjudication details. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. @@ -6041,102 +6117,102 @@ P.O. Box number, delivery hints, and similar address information. - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - If the element is present, it must have either a @value, an @id, or extensions + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. + If the element is present, it must have either a @value, an @id, or extensions - The patient being assessed. + The patient being assessed. - The clinician performing the assessment. + The clinician performing the assessment. - Identifies the workflow status of the assessment. + Identifies the workflow status of the assessment. - The point in time at which the assessment was concluded (not when it was recorded). + The point in time at which the assessment was concluded (not when it was recorded). - A summary of the context and/or cause of the assessment - why / where was it peformed, and what patient events/sstatus prompted it. + A summary of the context and/or cause of the assessment - why / where was it peformed, and what patient events/sstatus prompted it. - A reference to the last assesment that was conducted bon this patient. Assessments are often/usually ongoing in nature; a care provider (practitioner or team) will make new assessments on an ongoing basis as new data arises or the patient's conditions changes. + A reference to the last assesment that was conducted bon this patient. Assessments are often/usually ongoing in nature; a care provider (practitioner or team) will make new assessments on an ongoing basis as new data arises or the patient's conditions changes. - This a list of the general problems/conditions for a patient. + This a list of the general problems/conditions for a patient. - The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource. + The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource. - One or more sets of investigations (signs, symptions, etc). The actual grouping of investigations vary greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes. + One or more sets of investigations (signs, symptions, etc). The actual grouping of investigations vary greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes. - Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis. + Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis. - A text summary of the investigations and the diagnosis. + A text summary of the investigations and the diagnosis. - Specific findings or diagnoses that was considered likely or relevant to ongoing treatment. + Specific findings or diagnoses that was considered likely or relevant to ongoing treatment. - Diagnoses/conditions resolved since the last assessment. + Diagnoses/conditions resolved since the last assessment. - Diagnosis considered not possible. + Diagnosis considered not possible. - Estimate of likely outcome. + Estimate of likely outcome. - Plan of action after assessment. + Plan of action after assessment. - Actions taken during assessment. + Actions taken during assessment. @@ -6145,19 +6221,19 @@ P.O. Box number, delivery hints, and similar address information. - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - A name/code for the group ("set") of investigations. Typically, this will be something like "signs", "symptoms", "clinical", "diagnostic", but the list is not constrained, and others such groups such as (exposure|family|travel|nutitirional) history may be used. + A name/code for the group ("set") of investigations. Typically, this will be something like "signs", "symptoms", "clinical", "diagnostic", but the list is not constrained, and others such groups such as (exposure|family|travel|nutitirional) history may be used. - A record of a specific investigation that was undertaken. + A record of a specific investigation that was undertaken. @@ -6166,19 +6242,19 @@ P.O. Box number, delivery hints, and similar address information. - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - Specific text of code for finding or diagnosis. + Specific text of code for finding or diagnosis. - Which investigations support finding or diagnosis. + Which investigations support finding or diagnosis. @@ -6187,19 +6263,19 @@ P.O. Box number, delivery hints, and similar address information. - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - Specific text of code for diagnosis. + Specific text of code for diagnosis. - Grounds for elimination. + Grounds for elimination. @@ -6210,25 +6286,25 @@ P.O. Box number, delivery hints, and similar address information. - The assessment is still on-going and results are not yet final. + The assessment is still on-going and results are not yet final. - The assessment is done and the results are final + The assessment is done and the results are final - This assessment was never actually done and the record is erroneous (e.g. Wrong patient) + This assessment was never actually done and the record is erroneous (e.g. Wrong patient) - The workflow state of a clinical impression - If the element is present, it must have either a @value, an @id, or extensions + The workflow state of a clinical impression + If the element is present, it must have either a @value, an @id, or extensions @@ -6238,75 +6314,75 @@ P.O. Box number, delivery hints, and similar address information. - An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. - An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. - If the element is present, it must have either a @value, an @id, or extensions + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + If the element is present, it must have either a @value, an @id, or extensions - Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - The type of message conveyed such as alert, notification, reminder, instruction, etc. + The type of message conveyed such as alert, notification, reminder, instruction, etc. - The entity (e.g., person, organization, clinical information system, or device) which was the source of the communication. + The entity (e.g., person, organization, clinical information system, or device) which was the source of the communication. - The entity (e.g., person, organization, clinical information system, or device) which was the target of the communication. + The entity (e.g., person, organization, clinical information system, or device) which was the target of the communication. - Text, attachment(s), or resource(s) that was communicated to the recipient. + Text, attachment(s), or resource(s) that was communicated to the recipient. - The communication medium, e.g., email, fax. + The communication medium, e.g., email, fax. - The status of the transmission. + The status of the transmission. - The encounter within which the communication was sent. + The encounter within which the communication was sent. - The time when this communication was sent. + The time when this communication was sent. - The time when this communication arrived at the destination. + The time when this communication arrived at the destination. - The reason or justification for the communication. + The reason or justification for the communication. - The patient who was the focus of this communication. + The patient who was the focus of this communication. @@ -6315,14 +6391,14 @@ P.O. Box number, delivery hints, and similar address information. - An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. - An individual message part for multi-part messages. + An individual message part for multi-part messages. @@ -6336,35 +6412,35 @@ P.O. Box number, delivery hints, and similar address information. - The communication transmission is ongoing. + The communication transmission is ongoing. - The message transmission is complete, i.e., delivered to the recipient's destination. + The message transmission is complete, i.e., delivered to the recipient's destination. - The communication transmission has been held by originating system/user request. + The communication transmission has been held by originating system/user request. - The receiving system has declined to accept the message. + The receiving system has declined to accept the message. - There was a failure in transmitting the message out. + There was a failure in transmitting the message out. - The status of the communication - If the element is present, it must have either a @value, an @id, or extensions + The status of the communication + If the element is present, it must have either a @value, an @id, or extensions @@ -6374,85 +6450,85 @@ P.O. Box number, delivery hints, and similar address information. - A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. - A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. - If the element is present, it must have either a @value, an @id, or extensions + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + If the element is present, it must have either a @value, an @id, or extensions - A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be auto-generated, if needed, by CDS system. Does not need to be the actual ID of the source system. + A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be auto-generated, if needed, by CDS system. Does not need to be the actual ID of the source system. - The type of message to be sent such as alert, notification, reminder, instruction, etc. + The type of message to be sent such as alert, notification, reminder, instruction, etc. - The entity (e.g., person, organization, clinical information system, or device) which is to be the source of the communication. + The entity (e.g., person, organization, clinical information system, or device) which is to be the source of the communication. - The entity (e.g., person, organization, clinical information system, or device) which is the intended target of the communication. + The entity (e.g., person, organization, clinical information system, or device) which is the intended target of the communication. - Text, attachment(s), or resource(s) to be communicated to the recipient. + Text, attachment(s), or resource(s) to be communicated to the recipient. - The communication medium to be used, e.g., email, fax. + The communication medium to be used, e.g., email, fax. - The responsible person who authorizes this order, e.g., physician. This may be different than the author of the order statement, e.g., clerk, who may have entered the statement into the order entry application. + The responsible person who authorizes this order, e.g., physician. This may be different than the author of the order statement, e.g., clerk, who may have entered the statement into the order entry application. - The status of the proposal or order. + The status of the proposal or order. - The encounter within which the communication request was created. + The encounter within which the communication request was created. - The time when this communication is to occur. + The time when this communication is to occur. - The reason or justification for the communication request. + The reason or justification for the communication request. - The time when the request was made. + The time when the request was made. - The patient who is the focus of this communication request. + The patient who is the focus of this communication request. - Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine. + Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine. @@ -6461,14 +6537,14 @@ P.O. Box number, delivery hints, and similar address information. - A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. - An individual message part for multi-part messages. + An individual message part for multi-part messages. @@ -6482,60 +6558,60 @@ P.O. Box number, delivery hints, and similar address information. - The request has been proposed + The request has been proposed - The request has been planned + The request has been planned - The request has been placed + The request has been placed - The receiving system has received the request but not yet decided whether it will be performed + The receiving system has received the request but not yet decided whether it will be performed - The receiving system has accepted the order, but work has not yet commenced + The receiving system has accepted the order, but work has not yet commenced - The work to fulfill the order is happening + The work to fulfill the order is happening - The work has been complete, the report(s) released, and no further work is planned + The work has been complete, the report(s) released, and no further work is planned - The request has been held by originating system/user request + The request has been held by originating system/user request - The receiving system has declined to fulfill the request + The receiving system has declined to fulfill the request - The communication was attempted, but due to some procedural error, it could not be completed + The communication was attempted, but due to some procedural error, it could not be completed - The status of the communication - If the element is present, it must have either a @value, an @id, or extensions + The status of the communication + If the element is present, it must have either a @value, an @id, or extensions @@ -6545,85 +6621,85 @@ P.O. Box number, delivery hints, and similar address information. - A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. - A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. - If the element is present, it must have either a @value, an @id, or extensions + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + If the element is present, it must have either a @value, an @id, or extensions - Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time. + Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time. - The composition editing time, when the composition was last logically changed by the author. + The composition editing time, when the composition was last logically changed by the author. - Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition. + Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition. - A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type. + A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type. - Official human-readable label for the composition. + Official human-readable label for the composition. - The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. + The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. - The code specifying the level of confidentiality of the Composition. + The code specifying the level of confidentiality of the Composition. - Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure). + Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure). - Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.). + Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.). - A participant who has attested to the accuracy of the composition/document. + A participant who has attested to the accuracy of the composition/document. - Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. + Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. - The clinical service, such as a colonoscopy or an appendectomy, being documented. + The clinical service, such as a colonoscopy or an appendectomy, being documented. - Describes the clinical encounter or type of care this documentation is associated with. + Describes the clinical encounter or type of care this documentation is associated with. - The root of the sections that make up the composition. + The root of the sections that make up the composition. @@ -6632,24 +6708,24 @@ P.O. Box number, delivery hints, and similar address information. - A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. - The type of attestation the authenticator offers. + The type of attestation the authenticator offers. - When composition was attested by the party. + When composition was attested by the party. - Who attested the composition in the specified way. + Who attested the composition in the specified way. @@ -6658,24 +6734,24 @@ P.O. Box number, delivery hints, and similar address information. - A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. - This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. + This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. - The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. + The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. - Full details for the event(s) the composition/documentation consents. + Full details for the event(s) the composition/documentation consents. @@ -6684,29 +6760,29 @@ P.O. Box number, delivery hints, and similar address information. - A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. + The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. - A code identifying the kind of content contained within the section. This must be consistent with the section title. + A code identifying the kind of content contained within the section. This must be consistent with the section title. - The content (narrative and data entries) associated with the section. + The content (narrative and data entries) associated with the section. - A nested sub-section within this section. + A nested sub-section within this section. @@ -6717,35 +6793,35 @@ P.O. Box number, delivery hints, and similar address information. - This is a preliminary composition or document (also known as initial or interim). The content may be incomplete or unverified + This is a preliminary composition or document (also known as initial or interim). The content may be incomplete or unverified - This version of the composition is complete and verified by an appropriate person and no further work is planned. Any subsequent updates would be on a new version of the composition. + This version of the composition is complete and verified by an appropriate person and no further work is planned. Any subsequent updates would be on a new version of the composition. - The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person. The modifications added new information to the composition or document, but did not revise existing content + The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person. The modifications added new information to the composition or document, but did not revise existing content - The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person + The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person - The composition or document was originally created/issued in error, and this is an amendment that marks that the entire series should not be considered as valid + The composition or document was originally created/issued in error, and this is an amendment that marks that the entire series should not be considered as valid - The workflow/clinical status of the composition - If the element is present, it must have either a @value, an @id, or extensions + The workflow/clinical status of the composition + If the element is present, it must have either a @value, an @id, or extensions @@ -6757,30 +6833,30 @@ P.O. Box number, delivery hints, and similar address information. - The person authenticated the content in their personal capacity + The person authenticated the content in their personal capacity - The person authenticated the content in their professional capacity + The person authenticated the content in their professional capacity - The person authenticated the content and accepted legal responsibility for its content + The person authenticated the content and accepted legal responsibility for its content - The organization authenticated the content as consistent with their policies and procedures + The organization authenticated the content as consistent with their policies and procedures - The way in which a person authenticated a composition - If the element is present, it must have either a @value, an @id, or extensions + The way in which a person authenticated a composition + If the element is present, it must have either a @value, an @id, or extensions @@ -6790,99 +6866,99 @@ P.O. Box number, delivery hints, and similar address information. - A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. - A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. - If the element is present, it must have either a @value, an @id, or extensions + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + If the element is present, it must have either a @value, an @id, or extensions - An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). - Formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance. + Formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance. - The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. - A free text natural language name describing the concept map. + A free text natural language name describing the concept map. - The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of concept maps. + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of concept maps. - The name of the individual or organization that published the concept map. + The name of the individual or organization that published the concept map. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. + A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. - Explains why this concept map is needed and why it's been constrained as it has. + Explains why this concept map is needed and why it's been constrained as it has. - A copyright statement relating to the concept map and/or its contents. + A copyright statement relating to the concept map and/or its contents. - The status of the concept map. + The status of the concept map. - This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The date that the concept map status was last changed. + The date that the concept map status was last changed. - The source value set that specifies the concepts that are being mapped. + The source value set that specifies the concepts that are being mapped. - The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made. + The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made. - Mappings for an individual concept in the source to one or more concepts in the target. + Mappings for an individual concept in the source to one or more concepts in the target. @@ -6891,19 +6967,19 @@ P.O. Box number, delivery hints, and similar address information. - A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. - The name of an individual to contact regarding the concept map. + The name of an individual to contact regarding the concept map. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -6912,29 +6988,65 @@ P.O. Box number, delivery hints, and similar address information. - A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. - An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system). + An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system). - Identity (code or path) or the element/item being mapped. + Identity (code or path) or the element/item being mapped. + + + + + A concept from the target value set that this concept maps to. + + + + + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + + + An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). + + + + + Identity (code or path) or the element/item that the map refers to. + + + + + The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). + + + + + A description of status/issues in mapping that conveys additional information not represented in the structured data. - A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. + A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. - + - A concept from the target value set that this concept maps to. + A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on. @@ -6943,60 +7055,24 @@ P.O. Box number, delivery hints, and similar address information. - A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. - A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition. + A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition. - An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that cross code systems). + An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that cross code systems). - Identity (code or path) or the element/item that the map depends on / refers to. - - - - - - - - - A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. - - - - - - - An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). - - - - - Identity (code or path) or the element/item that the map refers to. - - - - - The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target. - - - - - A description of status/issues in mapping that conveys additional information not represented in the structured data. - - - - - A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on. + Identity (code or path) or the element/item that the map depends on / refers to. @@ -7005,65 +7081,65 @@ P.O. Box number, delivery hints, and similar address information. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - If the element is present, it must have either a @value, an @id, or extensions + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - Indicates the patient who the condition record is associated with. + Indicates the patient who the condition record is associated with. - Encounter during which the condition was first asserted. + Encounter during which the condition was first asserted. - Person who takes responsibility for asserting the existence of the condition as part of the electronic record. + Person who takes responsibility for asserting the existence of the condition as part of the electronic record. - Estimated or actual date the condition/problem/diagnosis was first detected/suspected. + Estimated or actual date the condition/problem/diagnosis was first detected/suspected. - Identification of the condition, problem or diagnosis. + Identification of the condition, problem or diagnosis. - A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis. + A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis. - The clinical status of the condition. + The clinical status of the condition. - A subjective assessment of the severity of the condition as evaluated by the clinician. + A subjective assessment of the severity of the condition as evaluated by the clinician. - Estimated or actual date or date-time the condition began, in the opinion of the clinician. + Estimated or actual date or date-time the condition began, in the opinion of the clinician. @@ -7073,7 +7149,7 @@ P.O. Box number, delivery hints, and similar address information. - The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate. + The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate. @@ -7084,32 +7160,32 @@ P.O. Box number, delivery hints, and similar address information. - Clinical stage or grade of a condition. May include formal severity assessments. + Clinical stage or grade of a condition. May include formal severity assessments. - Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed. + Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed. - The anatomical location where this condition manifests itself. + The anatomical location where this condition manifests itself. - Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition. + Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition. - Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition. + Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition. - Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis. + Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis. @@ -7118,19 +7194,19 @@ P.O. Box number, delivery hints, and similar address information. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - A simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific. + A simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific. - Reference to a formal record of the evidence on which the staging assessment is based. + Reference to a formal record of the evidence on which the staging assessment is based. @@ -7139,19 +7215,19 @@ P.O. Box number, delivery hints, and similar address information. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - A manifestation or symptom that led to the recording of this condition. + A manifestation or symptom that led to the recording of this condition. - Links to other relevant information, including pathology reports. + Links to other relevant information, including pathology reports. @@ -7160,14 +7236,14 @@ P.O. Box number, delivery hints, and similar address information. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - Code that identifies the structural location. + Code that identifies the structural location. @@ -7178,19 +7254,19 @@ P.O. Box number, delivery hints, and similar address information. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - Code that identifies the target of this relationship. The code takes the place of a detailed instance target. + Code that identifies the target of this relationship. The code takes the place of a detailed instance target. - Target of the relationship. + Target of the relationship. @@ -7199,19 +7275,19 @@ P.O. Box number, delivery hints, and similar address information. - Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. - Code that identifies the target of this relationship. The code takes the place of a detailed instance target. + Code that identifies the target of this relationship. The code takes the place of a detailed instance target. - Target of the relationship. + Target of the relationship. @@ -7222,40 +7298,40 @@ P.O. Box number, delivery hints, and similar address information. - This is a tentative diagnosis - still a candidate that is under consideration + This is a tentative diagnosis - still a candidate that is under consideration - The patient is being treated on the basis that this is the condition, but it is still not confirmed + The patient is being treated on the basis that this is the condition, but it is still not confirmed - There is sufficient diagnostic and/or clinical evidence to treat this as a confirmed condition + There is sufficient diagnostic and/or clinical evidence to treat this as a confirmed condition - This condition has been ruled out by diagnostic and clinical evidence + This condition has been ruled out by diagnostic and clinical evidence - The statement was entered in error and Is not valid + The statement was entered in error and Is not valid - The condition status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown" + The condition status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown" - The clinical status of the Condition or diagnosis - If the element is present, it must have either a @value, an @id, or extensions + The clinical status of the Condition or diagnosis + If the element is present, it must have either a @value, an @id, or extensions @@ -7265,115 +7341,115 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - If the element is present, it must have either a @value, an @id, or extensions + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + If the element is present, it must have either a @value, an @id, or extensions - An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). - The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. - A free text natural language name identifying the conformance statement. + A free text natural language name identifying the conformance statement. - The name of the individual or organization that published the conformance. + The name of the individual or organization that published the conformance. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP. + A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP. - Explains why this conformance statement is needed and why it's been constrained as it has. + Explains why this conformance statement is needed and why it's been constrained as it has. - A copyright statement relating to the conformamce statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement. + A copyright statement relating to the conformamce statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement. - The status of this conformance statement. + The status of this conformance statement. - A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The date (and optionally time) when the conformance statement was published. + The date (and optionally time) when the conformance statement was published. - Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation. + Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation. - Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program. + Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program. - The version of the FHIR specification on which this conformance statement is based. + The version of the FHIR specification on which this conformance statement is based. - A flag that indicates whether the application accepts unknown elements as part of a resource. + A flag that indicates whether the application accepts unknown elements as part of a resource. - A list of the formats supported by this implementation using their content types. + A list of the formats supported by this implementation using their content types. - A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. + A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}. - A definition of the restful capabilities of the solution, if any. + A definition of the restful capabilities of the solution, if any. - A description of the messaging capabilities of the solution. + A description of the messaging capabilities of the solution. - A document definition. + A document definition. @@ -7382,19 +7458,19 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - The name of an individual to contact regarding the conformance. + The name of an individual to contact regarding the conformance. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -7403,24 +7479,24 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Name software is known by. + Name software is known by. - The version identifier for the software covered by this statement. + The version identifier for the software covered by this statement. - Date this version of the software released. + Date this version of the software released. @@ -7429,19 +7505,19 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Information about the specific installation that this conformance statement relates to. + Information about the specific installation that this conformance statement relates to. - An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. + An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. @@ -7450,49 +7526,49 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Identifies whether this portion of the statement is describing ability to initiate or receive restful operations. + Identifies whether this portion of the statement is describing ability to initiate or receive restful operations. - Information about the system's restful capabilities that apply across all applications, such as security. + Information about the system's restful capabilities that apply across all applications, such as security. - Information about security implementation from an interface perspective - what a client needs to know. + Information about security implementation from an interface perspective - what a client needs to know. - A specification of the restful capabilities of the solution for a specific resource type. + A specification of the restful capabilities of the solution for a specific resource type. - A specification of restful operations supported by the system. + A specification of restful operations supported by the system. - Definition of an operation or a named query and with its parameters and their meaning and type. + Definition of an operation or a named query and with its parameters and their meaning and type. - A list of absolute URIs that identify profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier "http://hl7.org/fhir/documents/mailbox". Other specifications can declare their own identifier for this purpose. + A list of absolute URIs that identify profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier "http://hl7.org/fhir/documents/mailbox". Other specifications can declare their own identifier for this purpose. - An absolute URI which is a reference to the definition of a compartment hosted by the system. + An absolute URI which is a reference to the definition of a compartment hosted by the system. @@ -7501,29 +7577,29 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Server adds CORS headers when responding to requests - this enables javascript applications to use the server. + Server adds CORS headers when responding to requests - this enables javascript applications to use the server. - Types of security services are supported/required by the system. + Types of security services are supported/required by the system. - General description of how security works. + General description of how security works. - Certificates associated with security profiles. + Certificates associated with security profiles. @@ -7532,19 +7608,19 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Mime type for certificate. + Mime type for certificate. - Actual certificate. + Actual certificate. @@ -7553,64 +7629,64 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - A type of resource exposed via the restful interface. + A type of resource exposed via the restful interface. - A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. + A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses. - Identifies a restful operation supported by the solution. + Identifies a restful operation supported by the solution. - Thi field is set to true to specify that the system does not support (server) or use (client) versioning for this resource type. If this is not set to true, the server must at least correctly track and populate the versionId meta-property on resources. + Thi field is set to true to specify that the system does not support (server) or use (client) versioning for this resource type. If this is not set to true, the server must at least correctly track and populate the versionId meta-property on resources. - A flag for whether the server is able to return past versions as part of the vRead operation. + A flag for whether the server is able to return past versions as part of the vRead operation. - A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server. + A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server. - A flag that indicates that the server supports conditional create. + A flag that indicates that the server supports conditional create. - A flag that indicates that the server supports conditional update. + A flag that indicates that the server supports conditional update. - A flag that indicates that the server supports conditional delete. + A flag that indicates that the server supports conditional delete. - A list of _include values supported by the server. + A list of _include values supported by the server. - Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation. + Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation. @@ -7619,19 +7695,19 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Coded identifier of the operation, supported by the system resource. + Coded identifier of the operation, supported by the system resource. - Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'. + Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'. @@ -7640,39 +7716,39 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - The name of the search parameter used in the interface. + The name of the search parameter used in the interface. - An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]]). + An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]]). - The type of value a search parameter refers to, and how the content is interpreted. + The type of value a search parameter refers to, and how the content is interpreted. - This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. + This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. - Types of resource (if a resource is referenced). + Types of resource (if a resource is referenced). - Chained names supported. + Chained names supported. @@ -7681,19 +7757,19 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - A coded identifier of the operation, supported by the system. + A coded identifier of the operation, supported by the system. - Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented. + Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented. @@ -7702,19 +7778,19 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - The name of a query, which is used in the _query parameter when the query is called. + The name of a query, which is used in the _query parameter when the query is called. - Where the formal definition can be found. + Where the formal definition can be found. @@ -7723,29 +7799,29 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - An address to which messages and/or replies are to be sent. + An address to which messages and/or replies are to be sent. - Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender). + Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender). - Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. + Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. - A description of the solution's support for an event at this end point. + A description of the solution's support for an event at this end point. @@ -7754,49 +7830,49 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - A coded identifier of a supported messaging event. + A coded identifier of a supported messaging event. - The impact of the content of the message. + The impact of the content of the message. - The mode of this event declaration - whether application is sender or receiver. + The mode of this event declaration - whether application is sender or receiver. - A list of the messaging transport protocol(s) identifiers, supported by this endpoint. + A list of the messaging transport protocol(s) identifiers, supported by this endpoint. - A resource associated with the event. This is the resource that defines the event. + A resource associated with the event. This is the resource that defines the event. - Information about the request for this event. + Information about the request for this event. - Information about the response for this event. + Information about the response for this event. - Guidance on how this event is handled, such as internal system trigger points, business rules, etc. + Guidance on how this event is handled, such as internal system trigger points, business rules, etc. @@ -7805,24 +7881,24 @@ P.O. Box number, delivery hints, and similar address information. - A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. - Mode of this document declaration - whether application is producer or consumer. + Mode of this document declaration - whether application is producer or consumer. - A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. + A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. - A constraint on a resource used in the document. + A constraint on a resource used in the document. @@ -7833,25 +7909,25 @@ P.O. Box number, delivery hints, and similar address information. - VersionId meta-property is not suppoerted (server) or used (client) + VersionId meta-property is not suppoerted (server) or used (client) - VersionId meta-property is suppoerted (server) or used (client) + VersionId meta-property is suppoerted (server) or used (client) - VersionId is must be correct for updates (server) or will be specified (If-match header) for updates (client) + VersionId is must be correct for updates (server) or will be specified (If-match header) for updates (client) - How the system supports versioning for a resource - If the element is present, it must have either a @value, an @id, or extensions + How the system supports versioning for a resource + If the element is present, it must have either a @value, an @id, or extensions @@ -7863,25 +7939,25 @@ P.O. Box number, delivery hints, and similar address information. - The message represents/requests a change that should not be processed more than once. E.g. Making a booking for an appointment + The message represents/requests a change that should not be processed more than once. E.g. Making a booking for an appointment - The message represents a response to query for current information. Retrospective processing is wrong and/or wasteful + The message represents a response to query for current information. Retrospective processing is wrong and/or wasteful - The content is not necessarily intended to be current, and it can be reprocessed, though there may be version issues created by processing old notifications + The content is not necessarily intended to be current, and it can be reprocessed, though there may be version issues created by processing old notifications - The impact of the content of a message - If the element is present, it must have either a @value, an @id, or extensions + The impact of the content of a message + If the element is present, it must have either a @value, an @id, or extensions @@ -7893,20 +7969,20 @@ P.O. Box number, delivery hints, and similar address information. - The application produces documents of the specified type + The application produces documents of the specified type - The application consumes documents of the specified type + The application consumes documents of the specified type - Whether the application produces or consumes documents - If the element is present, it must have either a @value, an @id, or extensions + Whether the application produces or consumes documents + If the element is present, it must have either a @value, an @id, or extensions @@ -7918,55 +7994,55 @@ P.O. Box number, delivery hints, and similar address information. - + - + - + - + - + - + - + - + - + - Operations supported by REST at the type or instance level - If the element is present, it must have either a @value, an @id, or extensions + Operations supported by REST at the type or instance level + If the element is present, it must have either a @value, an @id, or extensions @@ -7978,20 +8054,20 @@ P.O. Box number, delivery hints, and similar address information. - The application sends requests and receives responses + The application sends requests and receives responses - The application receives requests and sends responses + The application receives requests and sends responses - The mode of a message conformance statement - If the element is present, it must have either a @value, an @id, or extensions + The mode of a message conformance statement + If the element is present, it must have either a @value, an @id, or extensions @@ -8003,25 +8079,25 @@ P.O. Box number, delivery hints, and similar address information. - + - + - + - Operations supported by REST at the system level - If the element is present, it must have either a @value, an @id, or extensions + Operations supported by REST at the system level + If the element is present, it must have either a @value, an @id, or extensions @@ -8033,20 +8109,20 @@ P.O. Box number, delivery hints, and similar address information. - The application acts as a client for this resource + The application acts as a client for this resource - The application acts as a server for this resource + The application acts as a server for this resource - The mode of a RESTful conformance statement - If the element is present, it must have either a @value, an @id, or extensions + The mode of a RESTful conformance statement + If the element is present, it must have either a @value, an @id, or extensions @@ -8056,107 +8132,107 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - If the element is present, it must have either a @value, an @id, or extensions + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + If the element is present, it must have either a @value, an @id, or extensions - Unique identifier for this Contract. + Unique identifier for this Contract. - When this Contract was issued. + When this Contract was issued. - Relevant time or time-period when this Contract is applicable. + Relevant time or time-period when this Contract is applicable. - Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services. + Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services. - A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies. + A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies. - Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources. + Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources. - Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc. + Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc. - More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent. + More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent. - Action stipulated by this Contract. + Action stipulated by this Contract. - Reason for action stipulated by this Contract. + Reason for action stipulated by this Contract. - List of Contract actors. + List of Contract actors. - Contract Valued Item List. + Contract Valued Item List. - Party signing this Contract. + Party signing this Contract. - One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups. + One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups. - Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract. + Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract. - The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement. + The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement. - List of Legal expressions or representations of this Contract. + List of Legal expressions or representations of this Contract. - List of Computable Policy Rule Language Representations of this Contract. + List of Computable Policy Rule Language Representations of this Contract. @@ -8165,19 +8241,19 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Who or what actors are assigned roles in this Contract. + Who or what actors are assigned roles in this Contract. - Role type of actors assigned roles in this Contract. + Role type of actors assigned roles in this Contract. @@ -8186,51 +8262,51 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Specific type of Contract Valued Item that may be priced. + Specific type of Contract Valued Item that may be priced. - Identifies a Contract Valued Item instance. + Identifies a Contract Valued Item instance. - Indicates the time during which this Contract ValuedItem information is effective. + Indicates the time during which this Contract ValuedItem information is effective. - Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances. + Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances. - A Contract Valued Item unit valuation measure. + A Contract Valued Item unit valuation measure. - A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point. + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point. - Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. @@ -8239,24 +8315,24 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Role of this Contract signer, e.g., notary, grantee. + Role of this Contract signer, e.g., notary, grantee. - Party which is a signator to this Contract. + Party which is a signator to this Contract. - Legally binding Contract DSIG signature contents in Base64. + Legally binding Contract DSIG signature contents in Base64. @@ -8265,69 +8341,69 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Unique identifier for this particular Contract Provision. + Unique identifier for this particular Contract Provision. - When this Contract Provision was issued. + When this Contract Provision was issued. - Relevant time or time-period when this Contract Provision is applicable. + Relevant time or time-period when this Contract Provision is applicable. - Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g., life time maximum benefit. + Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g., life time maximum benefit. - Subtype of this Contract Provision, e.g., life time maximum payment for a contract term for specific valued item, e.g., disability payment. + Subtype of this Contract Provision, e.g., life time maximum payment for a contract term for specific valued item, e.g., disability payment. - Who or what this Contract Provision is about. + Who or what this Contract Provision is about. - Action stipulated by this Contract Provision. + Action stipulated by this Contract Provision. - Reason or purpose for the action stipulated by this Contract Provision. + Reason or purpose for the action stipulated by this Contract Provision. - List of actors participating in this Contract Provision. + List of actors participating in this Contract Provision. - Human readable form of this Contract Provision. + Human readable form of this Contract Provision. - Contract Provision Valued Item List. + Contract Provision Valued Item List. - Nested group of Contract Provisions. + Nested group of Contract Provisions. @@ -8336,19 +8412,19 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - The actor assigned a role in this Contract Provision. + The actor assigned a role in this Contract Provision. - Role played by the actor assigned this role in this Contract Provision. + Role played by the actor assigned this role in this Contract Provision. @@ -8357,51 +8433,51 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Specific type of Contract Provision Valued Item that may be priced. + Specific type of Contract Provision Valued Item that may be priced. - Identifies a Contract Provision Valued Item instance. + Identifies a Contract Provision Valued Item instance. - Indicates the time during which this Contract Term ValuedItem information is effective. + Indicates the time during which this Contract Term ValuedItem information is effective. - Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances. + Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances. - A Contract Provision Valued Item unit valuation measure. + A Contract Provision Valued Item unit valuation measure. - A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point. + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point. - Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. @@ -8410,14 +8486,14 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability. + Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability. @@ -8428,14 +8504,14 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Contract legal text in human renderable form. + Contract legal text in human renderable form. @@ -8446,14 +8522,14 @@ P.O. Box number, delivery hints, and similar address information. - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. - Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal). + Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal). @@ -8464,65 +8540,65 @@ P.O. Box number, delivery hints, and similar address information. - Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. - Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. - If the element is present, it must have either a @value, an @id, or extensions + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + If the element is present, it must have either a @value, an @id, or extensions - Indicates the patient whose record the contraindication is associated with. + Indicates the patient whose record the contraindication is associated with. - Identifies the general type of issue identified. + Identifies the general type of issue identified. - + - Indicates the degree of importance associated with the identified issue based on the potential impact on the patient. + Indicates the degree of importance associated with the identified issue based on the potential impact on the patient. - Indicates the resource representing the current activity or proposed activity that. + Indicates the resource representing the current activity or proposed activity that. - A textual explanation of the contraindication. + A textual explanation of the contraindication. - The date or date-time when the contraindication was initially identified. + The date or date-time when the contraindication was initially identified. - Identifies the provider or software that identified the. + Identifies the provider or software that identified the. - Business identifier associated with the contraindication record. + Business identifier associated with the contraindication record. - The literature, knowledge-base or similar reference that describes the propensity for the contraindication identified. + The literature, knowledge-base or similar reference that describes the propensity for the contraindication identified. - Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action. + Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindication from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action. @@ -8531,111 +8607,141 @@ P.O. Box number, delivery hints, and similar address information. - Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. - Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified contraindication. + Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified contraindication. - Indicates when the mitigating action was documented. + Indicates when the mitigating action was documented. - Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring. + Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring. + + + + + + + + + + + + + + + + + + + + + + Indicates the potential degree of impact of the identified issue on the patient + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + - Financial instrument which may be used to pay for or reimburse for health care products and services. + Financial instrument which may be used to pay for or reimburse for health care products and services. - Financial instrument which may be used to pay for or reimburse for health care products and services. - If the element is present, it must have either a @value, an @id, or extensions + Financial instrument which may be used to pay for or reimburse for health care products and services. + If the element is present, it must have either a @value, an @id, or extensions - The program or plan underwriter or payor. + The program or plan underwriter or payor. - Business Identification Number (BIN number) used to identify the routing of eclaims if the insurer themselves don't have a BIN number for all of their business. + Business Identification Number (BIN number) used to identify the routing of eclaims if the insurer themselves don't have a BIN number for all of their business. - Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force. + Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force. - The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health. + The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health. - The id issued to the subscriber. + The id issued to the subscriber. - The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID. + The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID. - Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. + Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. - Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. + Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. - Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID. + Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID. - A unique identifier for a dependent under the coverage. + A unique identifier for a dependent under the coverage. - An optional counter for a particular instance of the identified coverage which increments upon each renewal. + An optional counter for a particular instance of the identified coverage which increments upon each renewal. - The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due. + The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due. - The identifier for a community of providers. + The identifier for a community of providers. - The policy(s) which constitute this insurance coverage. + The policy(s) which constitute this insurance coverage. @@ -8644,85 +8750,85 @@ P.O. Box number, delivery hints, and similar address information. - The formal description of a single piece of information that can be gathered and reported. + The formal description of a single piece of information that can be gathered and reported. - The formal description of a single piece of information that can be gathered and reported. - If the element is present, it must have either a @value, an @id, or extensions + The formal description of a single piece of information that can be gathered and reported. + If the element is present, it must have either a @value, an @id, or extensions - An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). - Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. + Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. - The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. + The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. - The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. + The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. - The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. - A flag to indicate that this search data elemnt definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + A flag to indicate that this search data elemnt definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The status of the data element. + The status of the data element. - The date that the status for this business version of the data element became effective. (I.e. Date the draft was created, date element became active or date element became retired). + The date that the status for this business version of the data element became effective. (I.e. Date the draft was created, date element became active or date element became retired). - A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element. + A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element. - The name of the individual or organization that published the data element. + The name of the individual or organization that published the data element. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - Identifies how precise the data element is in its definition. + Identifies how precise the data element is in its definition. - Identifies a specification (other than a terminology) that the elements that make up the DataElement hav some correspondance with. + Identifies a specification (other than a terminology) that the elements that make up the DataElement hav some correspondance with. - Defines the structure, type, allowed values and other constraining characteristics of the data element. + Defines the structure, type, allowed values and other constraining characteristics of the data element. @@ -8731,19 +8837,19 @@ P.O. Box number, delivery hints, and similar address information. - The formal description of a single piece of information that can be gathered and reported. + The formal description of a single piece of information that can be gathered and reported. - The name of an individual to contact regarding the data element. + The name of an individual to contact regarding the data element. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -8752,29 +8858,29 @@ P.O. Box number, delivery hints, and similar address information. - The formal description of a single piece of information that can be gathered and reported. + The formal description of a single piece of information that can be gathered and reported. - An Internal id that is used to identify this mapping set when specific mappings are made on a per-element basis. + An Internal id that is used to identify this mapping set when specific mappings are made on a per-element basis. - An absolute URI that identifies the specification that this mapping is expressed to. + An absolute URI that identifies the specification that this mapping is expressed to. - A name for the specification that is being mapped to. + A name for the specification that is being mapped to. - Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. + Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. @@ -8785,40 +8891,40 @@ P.O. Box number, delivery hints, and similar address information. - The data element is sufficiently well-constrained that multiple pieces of data captured according to the constraints of the data element will be comparable (though in some cases, a degree of automated conversion/normalization may be required). + The data element is sufficiently well-constrained that multiple pieces of data captured according to the constraints of the data element will be comparable (though in some cases, a degree of automated conversion/normalization may be required). - The data element is fully specified down to a single value set, single unit of measure, single data type, etc. Multiple pieces of data associated with this data element are fully compareable + The data element is fully specified down to a single value set, single unit of measure, single data type, etc. Multiple pieces of data associated with this data element are fully compareable - The data element allows multiple units of measure having equivalent meaning. E.g. "cc" (cubic centimeter) and "mL". + The data element allows multiple units of measure having equivalent meaning. E.g. "cc" (cubic centimeter) and "mL". - The data element allows multiple units of measure that are convertable between each other (e.g. Inches and centimeters) and/or allows data to be captured in multiple value sets for which a known mapping exists allowing conversion of meaning + The data element allows multiple units of measure that are convertable between each other (e.g. Inches and centimeters) and/or allows data to be captured in multiple value sets for which a known mapping exists allowing conversion of meaning - A convertable data element where unit conversions are different only by a power of 10. E.g. g, mg, kg + A convertable data element where unit conversions are different only by a power of 10. E.g. g, mg, kg - The data element is unconstrained in units, choice of data types and/or choice of vocabulary such that automated comparison of data captured using the data element is not possible. + The data element is unconstrained in units, choice of data types and/or choice of vocabulary such that automated comparison of data captured using the data element is not possible. - Indicates the degree of precision of the data element definition - If the element is present, it must have either a @value, an @id, or extensions + Indicates the degree of precision of the data element definition + If the element is present, it must have either a @value, an @id, or extensions @@ -8828,90 +8934,95 @@ P.O. Box number, delivery hints, and similar address information. - This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non medical devices may includes things such as a machine, a cellphone, a computer, an application, etc. + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non medical devices may includes things such as a machine, a cellphone, a computer, an application, etc. - This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non medical devices may includes things such as a machine, a cellphone, a computer, an application, etc. - If the element is present, it must have either a @value, an @id, or extensions + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non medical devices may includes things such as a machine, a cellphone, a computer, an application, etc. + If the element is present, it must have either a @value, an @id, or extensions - Unique instance identifiers assigned to a device by organizations like manufacturers or owners . If the identifier identifies the type of device, Device.type should be used. + Unique instance identifiers assigned to a device by organizations like manufacturers or owners . If the identifier identifies the type of device, Device.type should be used. - Code or identifier to identify a kind of device. + Code or identifier to identify a kind of device. + + + + + Descriptive information, usage information or implantation information that is not captured in an existing element. - Status of the Device availability. + Status of the Device availability. - A name of the manufacturer. + A name of the manufacturer. - The "model" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type. + The "model" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type. - The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware. + The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware. - The Date and time when the device was manufactured. + The Date and time when the device was manufactured. - The date and time beyond which this device is no longer valid or should not be used (if applicable). + The date and time beyond which this device is no longer valid or should not be used (if applicable). - United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm. + United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm. - Lot number assigned by the manufacturer. + Lot number assigned by the manufacturer. - An organization that is responsible for the provision and ongoing maintenance of the device. + An organization that is responsible for the provision and ongoing maintenance of the device. - The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. "in/with the patient"), or a coded location. + The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. "in/with the patient"), or a coded location. - Patient information, if the resource is affixed to a person. + Patient information, if the resource is affixed to a person. - Contact details for an organization or a particular human that is responsible for the device. + Contact details for an organization or a particular human that is responsible for the device. - A network address on which the device may be contacted directly. + A network address on which the device may be contacted directly. @@ -8922,25 +9033,25 @@ P.O. Box number, delivery hints, and similar address information. - The Device is available for use + The Device is available for use - The Device is no longer available for use ( e.g lost, expired, damaged) + The Device is no longer available for use ( e.g lost, expired, damaged) - The Device was entered in error and voided + The Device was entered in error and voided - The availability status of the device - If the element is present, it must have either a @value, an @id, or extensions + The availability status of the device + If the element is present, it must have either a @value, an @id, or extensions @@ -8950,65 +9061,65 @@ P.O. Box number, delivery hints, and similar address information. - Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. - Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. - If the element is present, it must have either a @value, an @id, or extensions + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + If the element is present, it must have either a @value, an @id, or extensions - Describes the specific component type as defined in the object-oriented or metric nomenclature partition. + Describes the specific component type as defined in the object-oriented or metric nomenclature partition. - Describes the local assigned unique identification by the software. For example: handle ID. + Describes the local assigned unique identification by the software. For example: handle ID. - Describes the timestamp for the most recent system change which includes device configuration or setting change. + Describes the timestamp for the most recent system change which includes device configuration or setting change. - Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc. + Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc. - Describes the link to the parent resource. For example: Channel is linked to its VMD parent. + Describes the link to the parent resource. For example: Channel is linked to its VMD parent. - Indicates current operational status of the device. For example: On, Off, Standby, etc. + Indicates current operational status of the device. For example: On, Off, Standby, etc. - Describes the parameter group supported by the current device component that is based on some nomenclature, e.g., cardiovascular. + Describes the parameter group supported by the current device component that is based on some nomenclature, e.g., cardiovascular. - Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. + Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. - Describes the production specification such as component revision, serial number, etc. + Describes the production specification such as component revision, serial number, etc. - Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US. + Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US. @@ -9017,24 +9128,24 @@ P.O. Box number, delivery hints, and similar address information. - Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. - Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc. + Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc. - Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of. + Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of. - Describes the printable string defining the component. + Describes the printable string defining the component. @@ -9045,65 +9156,65 @@ P.O. Box number, delivery hints, and similar address information. - Measurement principle isn't in the list + Measurement principle isn't in the list - Measurement is done using chemical + Measurement is done using chemical - Measurement is done using electrical + Measurement is done using electrical - Measurement is done using impedance + Measurement is done using impedance - Measurement is done using nuclear + Measurement is done using nuclear - Measurement is done using optical + Measurement is done using optical - Measurement is done using thermal + Measurement is done using thermal - Measurement is done using biological + Measurement is done using biological - Measurement is done using mechanical + Measurement is done using mechanical - Measurement is done using acoustical + Measurement is done using acoustical - Measurement is done using manual + Measurement is done using manual - Different measurement principle supported by the device - If the element is present, it must have either a @value, an @id, or extensions + Different measurement principle supported by the device + If the element is present, it must have either a @value, an @id, or extensions @@ -9113,69 +9224,69 @@ P.O. Box number, delivery hints, and similar address information. - Describes a measurement, calculation or setting capability of a medical device. + Describes a measurement, calculation or setting capability of a medical device. - Describes a measurement, calculation or setting capability of a medical device. - If the element is present, it must have either a @value, an @id, or extensions + Describes a measurement, calculation or setting capability of a medical device. + If the element is present, it must have either a @value, an @id, or extensions - Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc. + Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc. - Describes the unique identification of this metric that has been assigned by the device or gateway software. For example: handle ID. + Describes the unique identification of this metric that has been assigned by the device or gateway software. For example: handle ID. It should be noted that in order to make the identifier unique, the system element of the identifier should be set to the unique identifier of the device. - Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc. + Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc. - Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc. + Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc. - Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. + Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location. - Indicates current operational state of the device. For example: On, Off, Standby, etc. + Indicates current operational state of the device. For example: On, Off, Standby, etc. - Describes the typical color of the representation of observations that have been generated for this DeviceMetric. + Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta. - Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation. + Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation. - Describes the measurement repetition time. This is not -necessarily the same as the update -period. + Describes the measurement repetition time. This is not necessarily the same as the update period. +The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. +The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured. - Describes the calibrations that have been performed or that are required to be performed. + Describes the calibrations that have been performed or that are required to be performed. @@ -9184,24 +9295,24 @@ period. - Describes a measurement, calculation or setting capability of a medical device. + Describes a measurement, calculation or setting capability of a medical device. - Describes the type of the calibration method. + Describes the type of the calibration method. - Describes the state of the calibration. + Describes the state of the calibration. - Describes the time last calibration has been performed. + Describes the time last calibration has been performed. @@ -9212,30 +9323,30 @@ period. - TODO + TODO - TODO + TODO - TODO + TODO - TODO + TODO - Describes the type of a metric calibration - If the element is present, it must have either a @value, an @id, or extensions + Describes the type of a metric calibration + If the element is present, it must have either a @value, an @id, or extensions @@ -9247,50 +9358,50 @@ period. - Color for representation - black + Color for representation - black - Color for representation - red + Color for representation - red - Color for representation - green + Color for representation - green - Color for representation - yellow + Color for representation - yellow - Color for representation - blue + Color for representation - blue - Color for representation - magenta + Color for representation - magenta - Color for representation - cyan + Color for representation - cyan - Color for representation - white + Color for representation - white - Describes the typical color of representation - If the element is present, it must have either a @value, an @id, or extensions + Describes the typical color of representation + If the element is present, it must have either a @value, an @id, or extensions @@ -9302,30 +9413,30 @@ period. - The metric has not been calibrated. + The metric has not been calibrated. - The metric needs to be calibrated. + The metric needs to be calibrated. - The metric has been calibrated. + The metric has been calibrated. - The state of calibration of this metric is unspecified. + The state of calibration of this metric is unspecified. - Describes the state of a metric calibration - If the element is present, it must have either a @value, an @id, or extensions + Describes the state of a metric calibration + If the element is present, it must have either a @value, an @id, or extensions @@ -9337,25 +9448,25 @@ period. - The DeviceMetric is operating and will generate DeviceObservations + The DeviceMetric is operating and will generate DeviceObservations - The DeviceMetric is not operating + The DeviceMetric is not operating - The DeviceMetric is operating, but will not generate any DeviceObservations + The DeviceMetric is operating, but will not generate any DeviceObservations - Describes the operational status of the DeviceMetric - If the element is present, it must have either a @value, an @id, or extensions + Describes the operational status of the DeviceMetric + If the element is present, it must have either a @value, an @id, or extensions @@ -9367,30 +9478,30 @@ period. - DeviceObservations generated for this DeviceMetric are measured. + DeviceObservations generated for this DeviceMetric are measured. - DeviceObservations generated for this DeviceMetric is a setting that will influence the behavior of the Device. + DeviceObservations generated for this DeviceMetric is a setting that will influence the behavior of the Device. - DeviceObservations generated for this DeviceMetric are calculated. + DeviceObservations generated for this DeviceMetric are calculated. - The category of this DeviceMetric is unspecified. + The category of this DeviceMetric is unspecified. - Describes the category of the metric - If the element is present, it must have either a @value, an @id, or extensions + Describes the category of the metric + If the element is present, it must have either a @value, an @id, or extensions @@ -9400,77 +9511,77 @@ period. - Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. - Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. - If the element is present, it must have either a @value, an @id, or extensions + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. + If the element is present, it must have either a @value, an @id, or extensions - Indicates the site on the subject's body where the device should be used ( i.e. the target site). + Indicates the site on the subject's body where the device should be used ( i.e. the target site). - The status of the request. + The status of the request. - The details of the device to be used. + The details of the device to be used. - An encounter that provides additional context in which this request is made. + An encounter that provides additional context in which this request is made. - Identifiers assigned to this order by the orderer or by the receiver. + Identifiers assigned to this order by the orderer or by the receiver. - Reason or justification for the use of this device. + Reason or justification for the use of this device. - Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. + Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. - The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%. + The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%. - The time when the request was made. + The time when the request was made. - The time at which the request was made/recorded. + The time at which the request was made/recorded. - The patient who will use the device. + The patient who will use the device. - The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". @@ -9478,7 +9589,7 @@ period. - Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine. + Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine. @@ -9489,30 +9600,30 @@ period. - The request has a normal priority. + The request has a normal priority. - The request should be done urgently. + The request should be done urgently. - The request is time-critical. + The request is time-critical. - The request should be acted on as soon as possible. + The request should be acted on as soon as possible. - Codes representing the priority of the request - If the element is present, it must have either a @value, an @id, or extensions + Codes representing the priority of the request + If the element is present, it must have either a @value, an @id, or extensions @@ -9524,60 +9635,60 @@ period. - The request has been proposed + The request has been proposed - The request has been planned + The request has been planned - The request has been placed + The request has been placed - The receiving system has received the request but not yet decided whether it will be performed + The receiving system has received the request but not yet decided whether it will be performed - The receiving system has accepted the request but work has not yet commenced + The receiving system has accepted the request but work has not yet commenced - The work to fulfill the order is happening + The work to fulfill the order is happening - The work has been complete, the report(s) released, and no further work is planned + The work has been complete, the report(s) released, and no further work is planned - The request has been held by originating system/user request + The request has been held by originating system/user request - The receiving system has declined to fulfill the request + The receiving system has declined to fulfill the request - The request was attempted, but due to some procedural error, it could not be completed + The request was attempted, but due to some procedural error, it could not be completed - Codes representing the status of the request - If the element is present, it must have either a @value, an @id, or extensions + Codes representing the status of the request + If the element is present, it must have either a @value, an @id, or extensions @@ -9587,62 +9698,62 @@ period. - A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. - A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. - If the element is present, it must have either a @value, an @id, or extensions + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + If the element is present, it must have either a @value, an @id, or extensions - Indicates the site on the subject's body where the device was used ( i.e. the target site). + Indicates the site on the subject's body where the device was used ( i.e. the target site). - The time period over which the device was used. + The time period over which the device was used. - The details of the device used. + The details of the device used. - An external identifier for this statement such as an IRI. + An external identifier for this statement such as an IRI. - Reason or justification for the use of the device. + Reason or justification for the use of the device. - Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. + Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. - The time at which the statement was made/recorded. + The time at which the statement was made/recorded. - The patient who used the device. + The patient who used the device. - How often the device was used. + How often the device was used. @@ -9654,70 +9765,70 @@ period. - A record of a request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. - A record of a request for a diagnostic investigation service to be performed. - If the element is present, it must have either a @value, an @id, or extensions + A record of a request for a diagnostic investigation service to be performed. + If the element is present, it must have either a @value, an @id, or extensions - Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans). + Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans). - The practitioner that holds legal responsibility for ordering the investigation. + The practitioner that holds legal responsibility for ordering the investigation. - Identifiers assigned to this order by the orderer and/or the receiver and/or order fulfiller. + Identifiers assigned to this order by the orderer and/or the receiver and/or order fulfiller. - An encounter that provides additional information about the healthcare context in which this request is made. + An encounter that provides additional information about the healthcare context in which this request is made. - An explanation or justification for why this diagnostic investigation is being requested. + An explanation or justification for why this diagnostic investigation is being requested. - Additional clinical information about the patient or specimen that may influence test interpretations. + Additional clinical information about the patient or specimen that may influence test interpretations. - One or more specimens that the diagnostic investigation is about. + One or more specimens that the diagnostic investigation is about. - The status of the order. + The status of the order. - The clinical priority associated with this order. + The clinical priority associated with this order. - A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed. + A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed. - The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested. + The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested. @@ -9726,29 +9837,29 @@ period. - A record of a request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. - The status for the event. + The status for the event. - Additional information about the event that occurred - e.g. if the status remained unchanged. + Additional information about the event that occurred - e.g. if the status remained unchanged. - The date/time at which the event occurred. + The date/time at which the event occurred. - The person who was responsible for performing or recording the action. + The person who was responsible for performing or recording the action. @@ -9757,36 +9868,36 @@ period. - A record of a request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. - A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested. + A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested. - If the item is related to a specific specimen. + If the item is related to a specific specimen. - Anatomical location where the request test should be performed. This is the target site. + Anatomical location where the request test should be performed. This is the target site. - The status of this individual item within the order. + The status of this individual item within the order. - A summary of the events of interest that have occurred as this item of the request is processed. + A summary of the events of interest that have occurred as this item of the request is processed. @@ -9797,75 +9908,75 @@ period. - The request has been proposed + The request has been proposed - the request is in preliminary form prior to being sent + the request is in preliminary form prior to being sent - The request has been planned + The request has been planned - The request has been placed + The request has been placed - The receiving system has received the order, but not yet decided whether it will be performed + The receiving system has received the order, but not yet decided whether it will be performed - The receiving system has accepted the order, but work has not yet commenced + The receiving system has accepted the order, but work has not yet commenced - The work to fulfill the order is happening + The work to fulfill the order is happening - The work is complete, and the outcomes are being reviewed for approval + The work is complete, and the outcomes are being reviewed for approval - The work has been complete, the report(s) released, and no further work is planned + The work has been complete, the report(s) released, and no further work is planned - the request has been withdrawn + the request has been withdrawn - The request has been held by originating system/user request + The request has been held by originating system/user request - The receiving system has declined to fulfill the request + The receiving system has declined to fulfill the request - The diagnostic investigation was attempted, but due to some procedural error, it could not be completed + The diagnostic investigation was attempted, but due to some procedural error, it could not be completed - The status of a diagnostic order - If the element is present, it must have either a @value, an @id, or extensions + The status of a diagnostic order + If the element is present, it must have either a @value, an @id, or extensions @@ -9877,30 +9988,30 @@ period. - The order has a normal priority + The order has a normal priority - The order should be urgently + The order should be urgently - The order is time-critical + The order is time-critical - The order should be acted on as soon as possible + The order should be acted on as soon as possible - The clinical priority of a diagnostic order - If the element is present, it must have either a @value, an @id, or extensions + The clinical priority of a diagnostic order + If the element is present, it must have either a @value, an @id, or extensions @@ -9910,102 +10021,102 @@ period. - The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. - The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. - If the element is present, it must have either a @value, an @id, or extensions + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + If the element is present, it must have either a @value, an @id, or extensions - + - A code or name that describes this diagnostic report. + A code or name that describes this diagnostic report. - The status of the diagnostic report as a whole. + The status of the diagnostic report as a whole. - The date and time that this version of the report was released from the source diagnostic service. + The date and time that this version of the report was released from the source diagnostic service. - The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources. + The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources. - The diagnostic service that is responsible for issuing the report. + The diagnostic service that is responsible for issuing the report. - The link to the health care event (encounter) when the order was made. + The link to the health care event (encounter) when the order was made. - The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider. + The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider. - Details concerning a test requested. + Details concerning a test requested. - The section of the diagnostic service that performs the examination e.g. biochemistry, hematology, MRI. + The section of the diagnostic service that performs the examination e.g. biochemistry, hematology, MRI. - The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself. + The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself. - Details about the specimens on which this diagnostic report is based. + Details about the specimens on which this diagnostic report is based. - Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. "atomic" results), or they can be grouping observations that include references to other members of the group (e.g. "panels"). + Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. "atomic" results), or they can be grouping observations that include references to other members of the group (e.g. "panels"). - One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. + One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. - A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). + A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). - Concise and clinically contextualized narrative interpretation of the diagnostic report. + Concise and clinically contextualized narrative interpretation of the diagnostic report. - Codes for the conclusion. + Codes for the conclusion. - Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. + Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. @@ -10014,19 +10125,19 @@ period. - The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. - A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. + A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. - Reference to the image source. + Reference to the image source. @@ -10037,45 +10148,45 @@ period. - The existence of the report is registered, but there is nothing yet available + The existence of the report is registered, but there is nothing yet available - This is a partial (e.g. initial, interim or preliminary) report: data in the report may be incomplete or unverified + This is a partial (e.g. initial, interim or preliminary) report: data in the report may be incomplete or unverified - The report is complete and verified by an authorized person + The report is complete and verified by an authorized person - The report has been modified subsequent to being Final, and is complete and verified by an authorized person + The report has been modified subsequent to being Final, and is complete and verified by an authorized person - The report has been modified subsequent to being Final, and is complete and verified by an authorized person. New content has been added, but existing content hasn't changed + The report has been modified subsequent to being Final, and is complete and verified by an authorized person. New content has been added, but existing content hasn't changed - The report is unavailable because the measurement was not started or not completed (also sometimes called "aborted") + The report is unavailable because the measurement was not started or not completed (also sometimes called "aborted") - The report has been withdrawn following previous Final release + The report has been withdrawn following previous Final release - The status of the diagnostic report as a whole - If the element is present, it must have either a @value, an @id, or extensions + The status of the diagnostic report as a whole + If the element is present, it must have either a @value, an @id, or extensions @@ -10085,75 +10196,75 @@ period. - A manifest that defines a set of documents. + A manifest that defines a set of documents. - A manifest that defines a set of documents. - If the element is present, it must have either a @value, an @id, or extensions + A manifest that defines a set of documents. + If the element is present, it must have either a @value, an @id, or extensions - A single identifier that uniquely identifies this manifest. Principally used to refer to the manifest in non-FHIR contexts. + A single identifier that uniquely identifies this manifest. Principally used to refer to the manifest in non-FHIR contexts. - Other identifiers associated with the document manifest, including version independent identifiers. + Other identifiers associated with the document manifest, including version independent identifiers. - Who or what the set of documents is about. The documents can be about a person, (patient or healthcare practitioner), a device (i.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). If the documents cross more than one subject, then more than one subject is allowed here (unusual use case). + Who or what the set of documents is about. The documents can be about a person, (patient or healthcare practitioner), a device (i.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). If the documents cross more than one subject, then more than one subject is allowed here (unusual use case). - A patient, practitioner, or organization for which this set of documents is intended. + A patient, practitioner, or organization for which this set of documents is intended. - Specifies the kind of this set of documents (e.g. Patient Summary, Discharge Summary, Prescription, etc.). The type of a set of documents may be the same as one of the documents in it - especially if there is only one - but it may be wider. + Specifies the kind of this set of documents (e.g. Patient Summary, Discharge Summary, Prescription, etc.). The type of a set of documents may be the same as one of the documents in it - especially if there is only one - but it may be wider. - Identifies who is responsible for adding the information to the document. + Identifies who is responsible for adding the information to the document. - When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated etc). + When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated etc). - Identifies the source system, application, or software that produced the document manifest. + Identifies the source system, application, or software that produced the document manifest. - The status of this document manifest. + The status of this document manifest. - Human-readable description of the source document. This is sometimes known as the "title". + Human-readable description of the source document. This is sometimes known as the "title". - The manifest list. + The manifest list. - Related identifiers or resources associated with the DocumentManifest. + Related identifiers or resources associated with the DocumentManifest. @@ -10162,14 +10273,14 @@ period. - A manifest that defines a set of documents. + A manifest that defines a set of documents. - The list of DocumentReference or Media Resources, or Attachment that consist of the parts of this document manifest. Usually, these would be document references, but direct references to Media or Attachments are also allowed. + The list of DocumentReference or Media Resources, or Attachment that consist of the parts of this document manifest. Usually, these would be document references, but direct references to Media or Attachments are also allowed. @@ -10180,19 +10291,19 @@ period. - A manifest that defines a set of documents. + A manifest that defines a set of documents. - Related identifier to this DocumentManifest. If both id and ref are present they shall refer to the same thing. + Related identifier to this DocumentManifest. If both id and ref are present they shall refer to the same thing. - Related Resource to this DocumentManifest. If both id and ref are present they shall refer to the same thing. + Related Resource to this DocumentManifest. If both id and ref are present they shall refer to the same thing. @@ -10201,105 +10312,105 @@ period. - A reference to a document. + A reference to a document. - A reference to a document. - If the element is present, it must have either a @value, an @id, or extensions + A reference to a document. + If the element is present, it must have either a @value, an @id, or extensions - Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document. + Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document. - Other identifiers associated with the document, including version independent identifiers. + Other identifiers associated with the document, including version independent identifiers. - Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). + Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). - Specifies the particular kind of document. This usually equates to the purpose of making the document. It is recommended that the value Set be drawn from a coding scheme providing a fine level of granularity such as LOINC. (e.g. Patient Summary, Discharge Summary, Prescription, etc.). + Specifies the particular kind of document. This usually equates to the purpose of making the document. It is recommended that the value Set be drawn from a coding scheme providing a fine level of granularity such as LOINC. (e.g. Patient Summary, Discharge Summary, Prescription, etc.). - A categorization for the type of document. The class is an abstraction from the type specifying the high-level kind of document (e.g., Report, Summary, Images, Treatment Plan, Patient Preferences, Workflow) at a macro level. + A categorization for the type of document. The class is an abstraction from the type specifying the high-level kind of document (e.g., Report, Summary, Images, Treatment Plan, Patient Preferences, Workflow) at a macro level. - An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType. + An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType. - Identifies who is responsible for adding the information to the document. + Identifies who is responsible for adding the information to the document. - Identifies the organization or group who is responsible for ongoing maintenance of and access to the document. + Identifies the organization or group who is responsible for ongoing maintenance of and access to the document. - Which person or organization authenticates that this document is valid. + Which person or organization authenticates that this document is valid. - When the document was created. + When the document was created. - When the document reference was created. + When the document reference was created. - The status of this document reference. + The status of this document reference. - The status of the underlying document. + The status of the underlying document. - Relationships that this document has with other document references that already exist. + Relationships that this document has with other document references that already exist. - Human-readable description of the source document. This is sometimes known as the "title". + Human-readable description of the source document. This is sometimes known as the "title". - A set of Security-Tag codes specifying the level of privacy/security of the Document. + A set of Security-Tag codes specifying the level of privacy/security of the Document. - The document or url to the document along with critical metadata to prove content has integrity. + The document or url to the document along with critical metadata to prove content has integrity. - The clinical context in which the document was prepared. + The clinical context in which the document was prepared. @@ -10308,19 +10419,19 @@ period. - A reference to a document. + A reference to a document. - The type of relationship that this document has with anther document. + The type of relationship that this document has with anther document. - The target document of this relationship. + The target document of this relationship. @@ -10329,39 +10440,39 @@ period. - A reference to a document. + A reference to a document. - This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. + This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. - The time period over which the service that is described by the document was provided. + The time period over which the service that is described by the document was provided. - The kind of facility where the patient was seen. + The kind of facility where the patient was seen. - This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty. + This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty. - The Patient Information as known when the document was published. May be a reference to a version specific, or contained. + The Patient Information as known when the document was published. May be a reference to a version specific, or contained. - Related identifiers or resources associated with the DocumentReference. + Related identifiers or resources associated with the DocumentReference. @@ -10370,19 +10481,19 @@ period. - A reference to a document. + A reference to a document. - Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing. + Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing. - Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing. + Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing. @@ -10393,30 +10504,30 @@ period. - This document logically replaces or supercedes the target document + This document logically replaces or supersedes the target document - This document was generated by transforming the target document (e.g. format or language conversion) + This document was generated by transforming the target document (e.g. format or language conversion) - This document is a signature of the target document + This document is a signature of the target document - This document adds additional information to the target document + This document adds additional information to the target document - The type of relationship between documents - If the element is present, it must have either a @value, an @id, or extensions + The type of relationship between documents + If the element is present, it must have either a @value, an @id, or extensions @@ -10426,50 +10537,50 @@ period. - This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. - This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when this resource was created. + The date when this resource was created. - The Insurer who is target of the request. + The Insurer who is target of the request. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. @@ -10478,65 +10589,65 @@ period. - This resource provides eligibility and plan details from the processing of an Eligibility resource. + This resource provides eligibility and plan details from the processing of an Eligibility resource. - This resource provides eligibility and plan details from the processing of an Eligibility resource. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides eligibility and plan details from the processing of an Eligibility resource. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - Original request resource reference. + Original request resource reference. - Transaction status: error, complete. + Transaction status: error, complete. - A description of the status of the adjudication. + A description of the status of the adjudication. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The Insurer who produced this adjudicated response. + The Insurer who produced this adjudicated response. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. @@ -10545,111 +10656,113 @@ period. - An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. - An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. - If the element is present, it must have either a @value, an @id, or extensions + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + If the element is present, it must have either a @value, an @id, or extensions - Identifier(s) by which this encounter is known. + Identifier(s) by which this encounter is known. - planned | arrived | in-progress | onleave | finished | cancelled. + planned | arrived | in-progress | onleave | finished | cancelled. - The current status is always found in the current version of the resource. This status history permits the encounter resource to contain the status history without the needing to read through the historical versions of the resource, or even have the server store them. + The current status is always found in the current version of the resource. This status history permits the encounter resource to contain the status history without the needing to read through the historical versions of the resource, or even have the server store them. - inpatient | outpatient | ambulatory | emergency +. + inpatient | outpatient | ambulatory | emergency +. - Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation). + Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation). - The patient present at the encounter. + The patient present at the encounter. - + - Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking. + Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, issue tracking, association via a common problem. + +The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years). - The referral request that this encounter is satisfies (incoming referral). + The referral request that this encounter satisfies (incoming referral). - The main practitioner responsible for providing the service. + The main practitioner responsible for providing the service. - The appointment that scheduled this encounter. + The appointment that scheduled this encounter. - The start and end time of the encounter. + The start and end time of the encounter. - Quantity of time the encounter lasted. This excludes the time during leaves of absence. + Quantity of time the encounter lasted. This excludes the time during leaves of absence. - Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. + Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. - Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. + Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure. - Indicates the urgency of the encounter. + Indicates the urgency of the encounter. - Details about an admission to a clinic. + Details about an admission to a clinic. - List of locations at which the patient has been. + List of locations at which the patient has been. - An organization that is in charge of maintaining the information of this Encounter (e.g., who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization. + An organization that is in charge of maintaining the information of this Encounter (e.g., who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization. - Another Encounter of which this encounter is a part of (administratively or in time). + Another Encounter of which this encounter is a part of (administratively or in time). @@ -10658,19 +10771,19 @@ The indication will typically be a Condition (with other resources referenced in - An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. - planned | arrived | in-progress | onleave | finished | cancelled. + planned | arrived | in-progress | onleave | finished | cancelled. - The time that the episode was in the specified status. + The time that the episode was in the specified status. @@ -10679,24 +10792,24 @@ The indication will typically be a Condition (with other resources referenced in - An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. - Role of participant in encounter. + Role of participant in encounter. - The period of time that the specified participant was present during the encounter. These can overlap or be sub-sets of the overall encounters period. + The period of time that the specified participant was present during the encounter. These can overlap or be sub-sets of the overall encounters period. - Persons involved in the encounter other than the patient. + Persons involved in the encounter other than the patient. @@ -10705,59 +10818,64 @@ The indication will typically be a Condition (with other resources referenced in - An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. - Pre-admission identifier. + Pre-admission identifier. - The location from which the patient came before admission. + The location from which the patient came before admission. - From where patient was admitted (physician referral, transfer). + From where patient was admitted (physician referral, transfer). - + - Diet preferences reported by the patient. + The admitting Diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter. + + + + + Whether this hospitalization is a readmission and why if known. + + + + + Diet preferences reported by the patient. - Special courtesies (VIP, board member). + Special courtesies (VIP, board member). - Wheelchair, translator, stretcher, etc. + Wheelchair, translator, stretcher, etc. - Location to which the patient is discharged. + Location to which the patient is discharged. - Category or kind of location after discharge. + Category or kind of location after discharge. - + - The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete. - - - - - Whether this hospitalization is a readmission. + The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete. @@ -10766,24 +10884,24 @@ The indication will typically be a Condition (with other resources referenced in - An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. - The location where the encounter takes place. + The location where the encounter takes place. - The status of the participants presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time. + The status of the participants presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time. - Time period during which the patient was present at the location. + Time period during which the patient was present at the location. @@ -10794,55 +10912,55 @@ The indication will typically be a Condition (with other resources referenced in - An encounter during which the patient is hospitalized and stays overnight + An encounter during which the patient is hospitalized and stays overnight - An encounter during which the patient is not hospitalized overnight + An encounter during which the patient is not hospitalized overnight - An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit + An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit - An encounter where the patient needs urgent care + An encounter where the patient needs urgent care - An encounter where the practitioner visits the patient at his/her home + An encounter where the practitioner visits the patient at his/her home - An encounter taking place outside the regular environment for giving care + An encounter taking place outside the regular environment for giving care - An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight + An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight - An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact + An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact - Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is + Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is - Classification of the encounter - If the element is present, it must have either a @value, an @id, or extensions + Classification of the encounter + If the element is present, it must have either a @value, an @id, or extensions @@ -10854,25 +10972,25 @@ The indication will typically be a Condition (with other resources referenced in - The patient is planned to be moved to this location at some point in the future + The patient is planned to be moved to this location at some point in the future - The patient is currently at this location, or was between the period specified + The patient is currently at this location, or was between the period specified - This location is held empty for this patient + This location is held empty for this patient - The status of the location - If the element is present, it must have either a @value, an @id, or extensions + The status of the location + If the element is present, it must have either a @value, an @id, or extensions @@ -10884,40 +11002,40 @@ The indication will typically be a Condition (with other resources referenced in - The Encounter has not yet started + The Encounter has not yet started - The Patient is present for the encounter, however is not currently meeting with a practitioner + The Patient is present for the encounter, however is not currently meeting with a practitioner - The Encounter has begun and the patient is present / the practitioner and the patient are meeting + The Encounter has begun and the patient is present / the practitioner and the patient are meeting - The Encounter has begun, but the patient is temporarily on leave + The Encounter has begun, but the patient is temporarily on leave - The Encounter has ended + The Encounter has ended - The Encounter has ended before it has begun + The Encounter has ended before it has begun - Current state of the encounter - If the element is present, it must have either a @value, an @id, or extensions + Current state of the encounter + If the element is present, it must have either a @value, an @id, or extensions @@ -10927,65 +11045,65 @@ The indication will typically be a Condition (with other resources referenced in - This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. - This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when this resource was created. + The date when this resource was created. - The Insurer who is target of the request. + The Insurer who is target of the request. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. - Patient Resource. + Patient Resource. - Reference to the program or plan identification, underwriter or payor. + Reference to the program or plan identification, underwriter or payor. - The relationship of the patient to the subscriber. + The relationship of the patient to the subscriber. @@ -10994,65 +11112,65 @@ The indication will typically be a Condition (with other resources referenced in - This resource provides Enrollment and plan details from the processing of an Enrollment resource. + This resource provides Enrollment and plan details from the processing of an Enrollment resource. - This resource provides Enrollment and plan details from the processing of an Enrollment resource. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - Original request resource reference. + Original request resource reference. - Transaction status: error, complete. + Transaction status: error, complete. - A description of the status of the adjudication. + A description of the status of the adjudication. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The Insurer who produced this adjudicated response. + The Insurer who produced this adjudicated response. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. @@ -11061,70 +11179,70 @@ The indication will typically be a Condition (with other resources referenced in - An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. - An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. - If the element is present, it must have either a @value, an @id, or extensions + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + If the element is present, it must have either a @value, an @id, or extensions - Identifier(s) by which this EpisodeOfCare is known. + Identifier(s) by which this EpisodeOfCare is known. - planned | waitlist | active | onhold | finished | cancelled. + planned | waitlist | active | onhold | finished | cancelled. - The status history for the EpisodeOfCare. + The status history for the EpisodeOfCare. - The type can be very important in processing as this could be used in determining if the EpisodeOfCare is relevant to specific government reporting, or other types of classifications. + The type can be very important in processing as this could be used in determining if the EpisodeOfCare is relevant to specific government reporting, or other types of classifications. - The patient that this EpisodeOfCare applies to. + The patient that this EpisodeOfCare applies to. - The organization that has assumed the specific responsibilities for the specified duration. + The organization that has assumed the specific responsibilities for the specified duration. - The interval during which the managing organization assumes the defined responsibility. + The interval during which the managing organization assumes the defined responsibility. - A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for. + A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for. - Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals. + Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals. - The practitioner that is the care manager/care co-ordinator for this patient. + The practitioner that is the care manager/care co-ordinator for this patient. - The list of practitioners that may be facilitating this episode of care for specific purposes. + The list of practitioners that may be facilitating this episode of care for specific purposes. @@ -11133,19 +11251,19 @@ The indication will typically be a Condition (with other resources referenced in - An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. - planned | waitlist | active | onhold | finished | cancelled. + planned | waitlist | active | onhold | finished | cancelled. - The period during this EpisodeOfCare that the specific status applied. + The period during this EpisodeOfCare that the specific status applied. @@ -11154,24 +11272,24 @@ The indication will typically be a Condition (with other resources referenced in - An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. - The practitioner (or Organization) within the team. + The practitioner (or Organization) within the team. - The role that this team member is taking within this episode of care. + The role that this team member is taking within this episode of care. - The period of time that this practitioner is performing some role within the episode of care. + The period of time that this practitioner is performing some role within the episode of care. @@ -11182,40 +11300,40 @@ The indication will typically be a Condition (with other resources referenced in - This episode of care is planned to start at the date specified in the period.start. During this status an organization may perform assessments to determine if they are eligible to receive services, or be organizing to make resources available to provide care services + This episode of care is planned to start at the date specified in the period.start. During this status an organization may perform assessments to determine if they are eligible to receive services, or be organizing to make resources available to provide care services - This episode has been placed on a waitlist, pending the episode being made active (or cancelled) + This episode has been placed on a waitlist, pending the episode being made active (or cancelled) - This episode of care is current + This episode of care is current - This episode of care is on hold, the organization has limited responsibility for the patient (such as while on respite) + This episode of care is on hold, the organization has limited responsibility for the patient (such as while on respite) - This episode of care is finished at the organization is not expecting to be providing care to the patient. Can also be known as "closed", "completed" or other similar terms + This episode of care is finished at the organization is not expecting to be providing care to the patient. Can also be known as "closed", "completed" or other similar terms - The episode of care was cancelled, or withdrawn from service, often selected during the planned stage as the patient may have gone elsewhere, or the circumstances have changed and the organization is unable to provide the care. It indicates that services terminated outside the planned/expected workflow + The episode of care was cancelled, or withdrawn from service, often selected during the planned stage as the patient may have gone elsewhere, or the circumstances have changed and the organization is unable to provide the care. It indicates that services terminated outside the planned/expected workflow - The status of the encounter - If the element is present, it must have either a @value, an @id, or extensions + The status of the encounter + If the element is present, it must have either a @value, an @id, or extensions @@ -11225,65 +11343,65 @@ The indication will typically be a Condition (with other resources referenced in - This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. - This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - Original request resource reference. + Original request resource reference. - Transaction status: error, complete. + Transaction status: error, complete. - A description of the status of the adjudication. + A description of the status of the adjudication. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The Insurer who produced this adjudicated response. + The Insurer who produced this adjudicated response. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. @@ -11292,50 +11410,50 @@ The indication will typically be a Condition (with other resources referenced in - Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. + Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. - Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. - If the element is present, it must have either a @value, an @id, or extensions + Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - The person who this history concerns. + The person who this history concerns. - The date (and possibly time) when the family member history was taken. + The date (and possibly time) when the family member history was taken. - This will either be a name or a description. E.g. "Aunt Susan", "my cousin with the red hair". + This will either be a name or a description. E.g. "Aunt Susan", "my cousin with the red hair". - The type of relationship this person has to the patient (father, mother, brother etc.). + The type of relationship this person has to the patient (father, mother, brother etc.). - Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes. - The actual or approximate date of birth of the relative. + The actual or approximate date of birth of the relative. @@ -11343,7 +11461,7 @@ The indication will typically be a Condition (with other resources referenced in - The actual or approximate age of the relative at the time the family member history is recorded. + The actual or approximate age of the relative at the time the family member history is recorded. @@ -11351,7 +11469,7 @@ The indication will typically be a Condition (with other resources referenced in - The actual or approximate age of the relative at the time the family member history is recorded. + The actual or approximate age of the relative at the time the family member history is recorded. @@ -11361,12 +11479,12 @@ The indication will typically be a Condition (with other resources referenced in - This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible. + This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible. - The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition. + The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition. @@ -11375,24 +11493,24 @@ The indication will typically be a Condition (with other resources referenced in - Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. + Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. - The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system. + The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system. - Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation. + Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation. - Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence. + Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence. @@ -11400,7 +11518,7 @@ The indication will typically be a Condition (with other resources referenced in - An area where general notes can be placed about this specific condition. + An area where general notes can be placed about this specific condition. @@ -11409,50 +11527,50 @@ The indication will typically be a Condition (with other resources referenced in - Prospective warnings of potential issues when providing care to the patient. + Prospective warnings of potential issues when providing care to the patient. - Prospective warnings of potential issues when providing care to the patient. - If the element is present, it must have either a @value, an @id, or extensions + Prospective warnings of potential issues when providing care to the patient. + If the element is present, it must have either a @value, an @id, or extensions - Identifier assigned to the flag for external use (outside the FHIR environment). + Identifier assigned to the flag for external use (outside the FHIR environment). - Allows an flag to be divided into different categories like clinical, administrative etc. + Allows an flag to be divided into different categories like clinical, administrative etc. - Supports basic workflow. + Supports basic workflow. - The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified. + The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified. - The patient record this flag is associated with. + The patient record this flag is associated with. - The person or device that created the flag. + The person or device that created the flag. - The coded value or textual component of the flag to display to the user. + The coded value or textual component of the flag to display to the user. @@ -11463,25 +11581,25 @@ The indication will typically be a Condition (with other resources referenced in - A current flag that should be displayed to a user. A system may use the category to determine which roles should view the flag + A current flag that should be displayed to a user. A system may use the category to determine which roles should view the flag - The flag does not need to be displayed any more + The flag does not need to be displayed any more - The flag was added in error, and should no longer be displayed + The flag was added in error, and should no longer be displayed - Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error - If the element is present, it must have either a @value, an @id, or extensions + Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error + If the element is present, it must have either a @value, an @id, or extensions @@ -11491,70 +11609,70 @@ The indication will typically be a Condition (with other resources referenced in - Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. - Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. - If the element is present, it must have either a @value, an @id, or extensions + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - Identifies the patient/subject whose intended care is described by the plan. + Identifies the patient/subject whose intended care is described by the plan. - Indicates when the goal is intended to be reached. + Indicates when the goal is intended to be reached. - Human-readable description of a specific desired objective of care. + Human-readable description of a specific desired objective of care. - Indicates whether the goal has been reached and is still considered relevant. + Indicates whether the goal has been reached and is still considered relevant. - Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. + Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. - Indicates whose goal this is - patient goal, practitioner goal, etc. + Indicates whose goal this is - patient goal, practitioner goal, etc. - Identifies the level of importance associated with reaching/sustaining the goal. + Identifies the level of importance associated with reaching/sustaining the goal. - The identified conditions and other health record elements that are intended to be addressed by the goal. + The identified conditions and other health record elements that are intended to be addressed by the goal. - Any comments related to the goal. + Any comments related to the goal. - Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. + Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. @@ -11563,14 +11681,14 @@ The indication will typically be a Condition (with other resources referenced in - Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. - Details of what's changed (or not changed). + Details of what's changed (or not changed). @@ -11583,50 +11701,50 @@ The indication will typically be a Condition (with other resources referenced in - A goal is proposed for this patient + A goal is proposed for this patient - A goal is planned for this patient + A goal is planned for this patient - The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again) + The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again) - The goal has been met and no further action is needed + The goal has been met and no further action is needed - The goal has been met, but ongoing activity is needed to sustain the goal objective + The goal has been met, but ongoing activity is needed to sustain the goal objective - The goal is no longer being sought + The goal is no longer being sought - A proposed goal was accepted + A proposed goal was accepted - A proposed goal was rejected + A proposed goal was rejected - Indicates whether the goal has been met and is still being targeted - If the element is present, it must have either a @value, an @id, or extensions + Indicates whether the goal has been met and is still being targeted + If the element is present, it must have either a @value, an @id, or extensions @@ -11636,55 +11754,55 @@ The indication will typically be a Condition (with other resources referenced in - Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. - Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. - If the element is present, it must have either a @value, an @id, or extensions + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + If the element is present, it must have either a @value, an @id, or extensions - A unique business identifier for this group. + A unique business identifier for this group. - Identifies the broad classification of the kind of resources the group includes. + Identifies the broad classification of the kind of resources the group includes. - If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals. + If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals. - Provides a specific type of resource the group includes. E.g. "cow", "syringe", etc. + Provides a specific type of resource the group includes. E.g. "cow", "syringe", etc. - A label assigned to the group for human identification and communication. + A label assigned to the group for human identification and communication. - A count of the number of resource instances that are part of the group. + A count of the number of resource instances that are part of the group. - Identifies the traits shared by members of the group. + Identifies the traits shared by members of the group. - Identifies the resource instances that are members of the group. + Identifies the resource instances that are members of the group. @@ -11693,19 +11811,19 @@ The indication will typically be a Condition (with other resources referenced in - Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. - A code that identifies the kind of trait being asserted. + A code that identifies the kind of trait being asserted. - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. + The value of the trait that holds (or does not hold - see 'exclude') for members of the group. @@ -11714,7 +11832,7 @@ The indication will typically be a Condition (with other resources referenced in - If true, indicates the characteristic is one that is NOT held by members of the group. + If true, indicates the characteristic is one that is NOT held by members of the group. @@ -11725,40 +11843,40 @@ The indication will typically be a Condition (with other resources referenced in - Group contains "person" Patient resources + Group contains "person" Patient resources - Group contains "animal" Patient resources + Group contains "animal" Patient resources - Group contains healthcare practitioner resources + Group contains healthcare practitioner resources - Group contains Device resources + Group contains Device resources - Group contains Medication resources + Group contains Medication resources - Group contains Substance resources + Group contains Substance resources - Types of resources that are part of group - If the element is present, it must have either a @value, an @id, or extensions + Types of resources that are part of group + If the element is present, it must have either a @value, an @id, or extensions @@ -11768,125 +11886,125 @@ The indication will typically be a Condition (with other resources referenced in - The details of a Healthcare Service available at a location. + The details of a Healthcare Service available at a location. - The details of a Healthcare Service available at a location. - If the element is present, it must have either a @value, an @id, or extensions + The details of a Healthcare Service available at a location. + If the element is present, it must have either a @value, an @id, or extensions - External Identifiers for this item. + External Identifiers for this item. - The organization that provides this Healthcare Service. + The organization that provides this Healthcare Service. - The location where this healthcare service may be provided. + The location where this healthcare service may be provided. - Identifies the broad category of service being performed or delivered. Selecting a Service Category then determines the list of relevant service types that can be selected in the Primary Service Type. + Identifies the broad category of service being performed or delivered. Selecting a Service Category then determines the list of relevant service types that can be selected in the Primary Service Type. - A specific type of service that may be delivered or performed. + A specific type of service that may be delivered or performed. - Further description of the service as it would be presented to a consumer while searching. + Further description of the service as it would be presented to a consumer while searching. - Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName. + Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName. - Extra details about the service that can't be placed in the other fields. + Extra details about the service that can't be placed in the other fields. - If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list. + If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list. - List of contacts related to this specific healthcare service. If this is empty, then refer to the location's contacts. + List of contacts related to this specific healthcare service. If this is empty, then refer to the location's contacts. - The location(s) that this service is available to (not where the service is provided). + The location(s) that this service is available to (not where the service is provided). - The code(s) that detail the conditions under which the healthcare service is available/offered. + The code(s) that detail the conditions under which the healthcare service is available/offered. - Does this service have specific eligibility requirements that need to be met in order to use the service. + Does this service have specific eligibility requirements that need to be met in order to use the service. - The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page. + The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page. - Program Names that can be used to categorize the service. + Program Names that can be used to categorize the service. - Collection of Characteristics (attributes). + Collection of Characteristics (attributes). - Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required. + Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required. - The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available. + The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available. - Indicates whether or not a prospective consumer will require an appointment for a particular service at a Site to be provided by the Organization. Indicates if an appointment is required for access to this service. + Indicates whether or not a prospective consumer will require an appointment for a particular service at a Site to be provided by the Organization. Indicates if an appointment is required for access to this service. - A Collection of times that the Service Site is available. + A Collection of times that the Service Site is available. - The HealthcareService is not available during this period of time due to the provided reason. + The HealthcareService is not available during this period of time due to the provided reason. - A description of Site availability exceptions, e.g., public holiday availability. Succinctly describing all possible exceptions to normal Site availability as details in the Available Times and Not Available Times. + A description of Site availability exceptions, e.g., public holiday availability. Succinctly describing all possible exceptions to normal Site availability as details in the Available Times and Not Available Times. @@ -11895,19 +12013,19 @@ The indication will typically be a Condition (with other resources referenced in - The details of a Healthcare Service available at a location. + The details of a Healthcare Service available at a location. - The specific type of service being delivered or performed. + The specific type of service being delivered or performed. - Collection of Specialties handled by the Service Site. This is more of a Medical Term. + Collection of Specialties handled by the Service Site. This is more of a Medical Term. @@ -11916,29 +12034,29 @@ The indication will typically be a Condition (with other resources referenced in - The details of a Healthcare Service available at a location. + The details of a Healthcare Service available at a location. - Indicates which Days of the week are available between the Start and End Times. + Indicates which Days of the week are available between the Start and End Times. - Is this always available? (hence times are irrelevant) e.g. 24 hour service. + Is this always available? (hence times are irrelevant) e.g. 24 hour service. - The opening time of day. Note: If the AllDay flag is set, then this time is ignored. + The opening time of day. Note: If the AllDay flag is set, then this time is ignored. - The closing time of day. Note: If the AllDay flag is set, then this time is ignored. + The closing time of day. Note: If the AllDay flag is set, then this time is ignored. @@ -11947,19 +12065,19 @@ The indication will typically be a Condition (with other resources referenced in - The details of a Healthcare Service available at a location. + The details of a Healthcare Service available at a location. - The reason that can be presented to the user as to why this time is not available. + The reason that can be presented to the user as to why this time is not available. - Service is not available (seasonally or for a public holiday) from this date. + Service is not available (seasonally or for a public holiday) from this date. @@ -11970,45 +12088,45 @@ The indication will typically be a Condition (with other resources referenced in - Monday + Monday - Tuesday + Tuesday - Wednesday + Wednesday - Thursday + Thursday - Friday + Friday - Saturday + Saturday - Sunday + Sunday - The days of the week - If the element is present, it must have either a @value, an @id, or extensions + The days of the week + If the element is present, it must have either a @value, an @id, or extensions @@ -12018,50 +12136,50 @@ The indication will typically be a Condition (with other resources referenced in - A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. - A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. - If the element is present, it must have either a @value, an @id, or extensions + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + If the element is present, it must have either a @value, an @id, or extensions - Instance UID of the DICOM KOS SOP Instances represenetd in this resource. + Instance UID of the DICOM KOS SOP Instances represenetd in this resource. - A patient resource reference which is the patient subject of all DICOM SOP Instances in this key object selection. + A patient resource reference which is the patient subject of all DICOM SOP Instances in this key object selection. - The reason for, or significance of, the selection of objects referenced in the resource. + The reason for, or significance of, the selection of objects referenced in the resource. - Text description of the DICOM SOP instances selected in the key object selection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection. + Text description of the DICOM SOP instances selected in the key object selection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection. - Author of key object selection. It can be a human authtor or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attached in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion. + Author of key object selection. It can be a human authtor or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attached in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion. - Date and time when the key object selection was authored. Note that this is the date and time the DICOM SOP instances in the selection were selected (selection decision making). It is different from the creation date and time of the selection resource. + Date and time when the key object selection was authored. Note that this is the date and time the DICOM SOP instances in the selection were selected (selection decision making). It is different from the creation date and time of the selection resource. - Study identity and locating information of the DICOM SOP instances in the selection. + Study identity and locating information of the DICOM SOP instances in the selection. @@ -12070,24 +12188,24 @@ The indication will typically be a Condition (with other resources referenced in - A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. - Study instance uid of the SOP instances in the selection. + Study instance uid of the SOP instances in the selection. - WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection. + WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection. - Series indetity and locating information of the DICOM SOP instances in the selection. + Series indetity and locating information of the DICOM SOP instances in the selection. @@ -12096,24 +12214,24 @@ The indication will typically be a Condition (with other resources referenced in - A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. - Series instance uid of the SOP instances in the selection. + Series instance uid of the SOP instances in the selection. - WADO-RS URL to retrieve the series Note that this URL retrieves all SOP instances of the series not only those in the selection. + WADO-RS URL to retrieve the series Note that this URL retrieves all SOP instances of the series not only those in the selection. - Identity and locating information of the selected DICOM SOP instances. + Identity and locating information of the selected DICOM SOP instances. @@ -12122,29 +12240,29 @@ The indication will typically be a Condition (with other resources referenced in - A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. - SOP class uid of the selected instance. + SOP class uid of the selected instance. - SOP Instance uid of the selected instance. + SOP Instance uid of the selected instance. - WADO-RS URL to retrieve the DICOM SOP Instance. + WADO-RS URL to retrieve the DICOM SOP Instance. - Identity and location information of the frames in the selected instance. + Identity and location information of the frames in the selected instance. @@ -12153,19 +12271,19 @@ The indication will typically be a Condition (with other resources referenced in - A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. - The frame numbers in the frame set. + The frame numbers in the frame set. - WADO-RS URL to retrieve the DICOM frames. + WADO-RS URL to retrieve the DICOM frames. @@ -12174,100 +12292,101 @@ The indication will typically be a Condition (with other resources referenced in - Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. - Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. - If the element is present, it must have either a @value, an @id, or extensions + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + If the element is present, it must have either a @value, an @id, or extensions - Date and Time the study started. Timezone Offset From UTC. + Date and Time the study started. Timezone Offset From UTC. - The patient imaged in the study. + The patient imaged in the study. - Formal identifier for the study. + Formal identifier for the study. - Accession Number. + Accession Number is an identifier related to some aspect of imaging workflow and data management, and usage may vary across different institutions. +See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf). - Other identifiers for the study. + Other identifiers for the study. - A list of the diagnostic orders that resulted in this imaging study being performed. + A list of the diagnostic orders that resulted in this imaging study being performed. - + - A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19). + A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19). - The requesting/referring physician. + The requesting/referring physician. - Availability of study (online, offline or nearline). + Availability of study (online, offline or nearline). - WADO-RS resource where Study is available. + WADO-RS resource where Study is available. - Number of Series in Study. + Number of Series in Study. - Number of SOP Instances in Study. + Number of SOP Instances in Study. - Diagnoses etc provided with request. + Diagnoses etc provided with request. - + - Type of procedure performed. + Type of procedure performed. - Who read study and interpreted the images. + Who read study and interpreted the images. - Institution-generated description or classification of the Study performed. + Institution-generated description or classification of the Study performed. - Each study has one or more series of image instances. + Each study has one or more series of image instances. @@ -12276,64 +12395,64 @@ The indication will typically be a Condition (with other resources referenced in - Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. - The Numeric identifier of this series in the study. + The Numeric identifier of this series in the study. - The modality of this series sequence. + The modality of this series sequence. - Formal identifier for this series. + Formal identifier for this series. - A description of the series. + A description of the series. - Number of SOP Instances in Series. + Number of SOP Instances in Series. - Availability of series (online, offline or nearline). + Availability of series (online, offline or nearline). - WADO-RS resource where the Series is available. + URI/URL specifying the location of the referenced series using WADO-RS. - Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed. + Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed. - Laterality if bodySite is paired anatomic structure and laterality is not pre-coordinated in bodySite code, map from (0020, 0060). + Laterality if bodySite is paired anatomic structure and laterality is not pre-coordinated in bodySite code, map from (0020, 0060). - The date and time when the series was started. + The date and time when the series was started. - A single SOP Instance within the series, e.g., an image, or presentation state. + A single SOP Instance within the series, e.g., an image, or presentation state. @@ -12342,268 +12461,73 @@ The indication will typically be a Condition (with other resources referenced in - Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. - The number of this image in the series. + The number of this image in the series. - Formal identifier for this image. + Formal identifier for this image. - DICOM Image type. + DICOM Image type. - A human-friendly SOP Class name. + A human-friendly SOP Class name. - The description of the instance. + The description of the instance. - Content of the instance or a rendering thereof (e.g., a JPEG of an image, or an XML of a structured report). May be represented by inline encoding, or by a URL reference to a WADO-RS service that makes the instance available. Multiple content attachments may be used for alternate representations of the instance. + Content of the instance or a rendering thereof (e.g., a JPEG of an image, or an XML of a structured report). May be represented by inline encoding, or by a URL reference to a WADO-RS service that makes the instance available. Multiple content attachments may be used for alternate representations of the instance. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Type of acquired image data in the instance - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - + - + - + - + - Availability of the resource - If the element is present, it must have either a @value, an @id, or extensions + Availability of the resource + If the element is present, it must have either a @value, an @id, or extensions @@ -12615,275 +12539,275 @@ The indication will typically be a Condition (with other resources referenced in - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - Type of data in the instance - If the element is present, it must have either a @value, an @id, or extensions + Type of data in the instance + If the element is present, it must have either a @value, an @id, or extensions @@ -12893,110 +12817,110 @@ The indication will typically be a Condition (with other resources referenced in - Immunization event information. + Immunization event information. - Immunization event information. - If the element is present, it must have either a @value, an @id, or extensions + Immunization event information. + If the element is present, it must have either a @value, an @id, or extensions - A unique identifier assigned to this immunization record. + A unique identifier assigned to this immunization record. - Date vaccine administered or was to be administered. + Date vaccine administered or was to be administered. - Vaccine that was administered or was to be administered. + Vaccine that was administered or was to be administered. - The patient who either received or did not receive the immunization. + The patient who either received or did not receive the immunization. - Indicates if the vaccination was or was not given. + Indicates if the vaccination was or was not given. - True if this administration was reported rather than directly administered. + True if this administration was reported rather than directly administered. - Clinician who administered the vaccine. + Clinician who administered the vaccine. - Clinician who ordered the vaccination. + Clinician who ordered the vaccination. - The visit or admission or other contact between patient and health care provider the immunization was performed as part of. + The visit or admission or other contact between patient and health care provider the immunization was performed as part of. - Name of vaccine manufacturer. + Name of vaccine manufacturer. - The service delivery location where the vaccine administration occurred. + The service delivery location where the vaccine administration occurred. - Lot number of the vaccine product. + Lot number of the vaccine product. - Date vaccine batch expires. + Date vaccine batch expires. - Body site where vaccine was administered. + Body site where vaccine was administered. - The path by which the vaccine product is taken into the body. + The path by which the vaccine product is taken into the body. - The quantity of vaccine product that was administered. + The quantity of vaccine product that was administered. - Reasons why a vaccine was or was not administered. + Reasons why a vaccine was or was not administered. - Categorical data indicating that an adverse event is associated in time to an immunization. + Categorical data indicating that an adverse event is associated in time to an immunization. - Contains information about the protocol(s) under which the vaccine was administered. + Contains information about the protocol(s) under which the vaccine was administered. @@ -13005,19 +12929,19 @@ The indication will typically be a Condition (with other resources referenced in - Immunization event information. + Immunization event information. - Reasons why a vaccine was administered. + Reasons why a vaccine was administered. - Reason why a vaccine was not administered. + Reason why a vaccine was not administered. @@ -13026,24 +12950,24 @@ The indication will typically be a Condition (with other resources referenced in - Immunization event information. + Immunization event information. - Date of reaction to the immunization. + Date of reaction to the immunization. - Details of the reaction. + Details of the reaction. - Self-reported indicator. + Self-reported indicator. @@ -13052,49 +12976,49 @@ The indication will typically be a Condition (with other resources referenced in - Immunization event information. + Immunization event information. - Nominal position in a series. + Nominal position in a series. - Contains the description about the protocol under which the vaccine was administered. + Contains the description about the protocol under which the vaccine was administered. - Indicates the authority who published the protocol? E.g. ACIP. + Indicates the authority who published the protocol? E.g. ACIP. - One possible path to achieve presumed immunity against a disease - within the context of an authority. + One possible path to achieve presumed immunity against a disease - within the context of an authority. - The recommended number of doses to achieve immunity. + The recommended number of doses to achieve immunity. - The targeted disease. + The targeted disease. - Indicates if the immunization event should "count" against the protocol. + Indicates if the immunization event should "count" against the protocol. - Provides an explanation as to why a immunization event should or should not count against the protocol. + Provides an explanation as to why a immunization event should or should not count against the protocol. @@ -13103,30 +13027,30 @@ The indication will typically be a Condition (with other resources referenced in - A patient's point-of-time immunization status and recommendation with optional supporting justification. + A patient's point-of-time immunization status and recommendation with optional supporting justification. - A patient's point-of-time immunization status and recommendation with optional supporting justification. - If the element is present, it must have either a @value, an @id, or extensions + A patient's point-of-time immunization status and recommendation with optional supporting justification. + If the element is present, it must have either a @value, an @id, or extensions - A unique identifier assigned to this particular recommendation record. + A unique identifier assigned to this particular recommendation record. - The patient for whom the recommendations are for. + The patient for whom the recommendations are for. - Vaccine administration recommendations. + Vaccine administration recommendations. @@ -13135,49 +13059,49 @@ The indication will typically be a Condition (with other resources referenced in - A patient's point-of-time immunization status and recommendation with optional supporting justification. + A patient's point-of-time immunization status and recommendation with optional supporting justification. - The date the immunization recommendation was created. + The date the immunization recommendation was created. - Vaccine that pertains to the recommendation. + Vaccine that pertains to the recommendation. - This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose). + This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose). - Vaccine administration status. + Vaccine administration status. - Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc. + Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc. - Contains information about the protocol under which the vaccine was administered. + Contains information about the protocol under which the vaccine was administered. - Immunization event history that supports the status and recommendation. + Immunization event history that supports the status and recommendation. - Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information. + Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information. @@ -13186,19 +13110,19 @@ The indication will typically be a Condition (with other resources referenced in - A patient's point-of-time immunization status and recommendation with optional supporting justification. + A patient's point-of-time immunization status and recommendation with optional supporting justification. - Date classification of recommendation - e.g. earliest date to give, latest date to give, etc. + Date classification of recommendation - e.g. earliest date to give, latest date to give, etc. - Date recommendation. + Date recommendation. @@ -13207,106 +13131,389 @@ The indication will typically be a Condition (with other resources referenced in - A patient's point-of-time immunization status and recommendation with optional supporting justification. + A patient's point-of-time immunization status and recommendation with optional supporting justification. - Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol. + Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol. - Contains the description about the protocol under which the vaccine was administered. + Contains the description about the protocol under which the vaccine was administered. - Indicates the authority who published the protocol? E.g. ACIP. + Indicates the authority who published the protocol? E.g. ACIP. - One possible path to achieve presumed immunity against a disease - within the context of an authority. + One possible path to achieve presumed immunity against a disease - within the context of an authority. + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + An absolute URL at which this Implementation Guide is (or will be) published, and which is used to reference this Implementation Guide in conformance statements. + + + + + The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually. + + + + + A free text natural language name identifying the Implementation Guide. + + + + + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdication for which this implementation guide was defined. + + + + + The name of the individual or organization that published the implementation guide. + + + + + Contacts to assist a user in finding and communicating with the publisher. + + + + + A free text natural language description of the Implementation Guide and its use. + + + + + A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. + + + + + A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + + + + + The status of the Implementation Guide. + + + + + This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date that this version of the Implementation Guide was published. + + + + + The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version. + + + + + An html page that is published with the Implementation Guide. + + + + + A logical set of resources that is a section in the implementation Guide. + + + + + A default profile that applies to a particular resource type. Whenever a resource type is referenced in any structure definition (explicitly, or by inheritance from the base specification), and no explicit profile is applied, then this default profile applies. + + + + + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + + + The name of an individual to contact regarding the implementation guide. + + + + + Contact details for individual (if a name was provided) or the publisher. + + + + + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + + + A URL that identifies the html page. + + + + + A code that specifies how the page is used in the IG. + + + + + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + + + A human readable name that introduces the item. + + + + + An item in the set of resources that is a section in the implementation Guide. + + + + + An html page that is published with the Implementation Guide, as part of the package. + + + + + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + + + A human readable name that introduces the package. + + + + + A reference to a conformance resource that is part of the implementation Guide. + + + + + If the item is a structure definition, an example that conforms to the structure definition. + + + + + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + + + A human readable name that introduces the example. + + + + + A reference to a resource that is an example for a structure definition. + + + + + Additional text that explains why the example was provided (e.g. what to look for in it). + + + + + + + + + A set of rules or how FHIR is used to solve a particular problem. This resource is used to gather all the parts of an implementation guide into a logical whole, and to publish a computable definition of all the parts. + + + + + + + The type of resource that this default applies to. + + + + + The profile (StructureDefinition resource) that applies by default. + + + + + + + + + + + The home page - the start page for the appendix + + + + + Introduction material + + + + + General Content + + + + + Security Related Page + + + + + An appendix to the IG + + + + + + + Codes that specifies how the page is used in the IG + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + - A set of information summarized from a list of other resources. + A set of information summarized from a list of other resources. - A set of information summarized from a list of other resources. - If the element is present, it must have either a @value, an @id, or extensions + A set of information summarized from a list of other resources. + If the element is present, it must have either a @value, an @id, or extensions - Identifier for the List assigned for business purposes outside the context of FHIR. + Identifier for the List assigned for business purposes outside the context of FHIR. - A label for the list assigned by the author. + A label for the list assigned by the author. - This code defines the purpose of the list - why it was created. + This code defines the purpose of the list - why it was created. - The common subject (or patient) of the resources that are in the list, if there is one. + The common subject (or patient) of the resources that are in the list, if there is one. - The entity responsible for deciding what the contents of the list were. + The entity responsible for deciding what the contents of the list were. + + + + + The encounter that is the context in which this list was created. - Indicates the current state of this list. + Indicates the current state of this list. - The date that the list was prepared. + The date that the list was prepared. - What order applies to the items in the list. + What order applies to the items in the list. - How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. + How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. - Comments that apply to the overall list. + Comments that apply to the overall list. - Entries in this list. + Entries in this list. - If the list is empty, why the list is empty. + If the list is empty, why the list is empty. @@ -13315,29 +13522,29 @@ The indication will typically be a Condition (with other resources referenced in - A set of information summarized from a list of other resources. + A set of information summarized from a list of other resources. - The flag allows the system constructing the list to make one or more statements about the role and significance of the item in the list. + The flag allows the system constructing the list to make one or more statements about the role and significance of the item in the list. - True if this item is marked as deleted in the list. + True if this item is marked as deleted in the list. - When this item was added to the list. + When this item was added to the list. - A reference to the actual resource from which data was derived. + A reference to the actual resource from which data was derived. @@ -13348,25 +13555,25 @@ The indication will typically be a Condition (with other resources referenced in - The list is considered to be an active part of the patient's record. + The list is considered to be an active part of the patient's record. - The list is "old" and should no longer be considered accurate or relevant. + The list is "old" and should no longer be considered accurate or relevant. - The list was never accurate. It is retained for medico-legal purposes only. + The list was never accurate. It is retained for medico-legal purposes only. - The current state of the list - If the element is present, it must have either a @value, an @id, or extensions + The current state of the list + If the element is present, it must have either a @value, an @id, or extensions @@ -13378,25 +13585,25 @@ The indication will typically be a Condition (with other resources referenced in - This list is the master list, maintained in an ongoing fashion with regular updates as the real world list it is tracking changes + This list is the master list, maintained in an ongoing fashion with regular updates as the real world list it is tracking changes - This list was prepared as a snapshot. It should not be assumed to be current + This list was prepared as a snapshot. It should not be assumed to be current - The list is prepared as a statement of changes that have been made or recommended + A list that indicates where changes have been made or recommended - The processing mode that applies to this list - If the element is present, it must have either a @value, an @id, or extensions + The processing mode that applies to this list + If the element is present, it must have either a @value, an @id, or extensions @@ -13406,75 +13613,75 @@ The indication will typically be a Condition (with other resources referenced in - Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. - Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. - If the element is present, it must have either a @value, an @id, or extensions + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + If the element is present, it must have either a @value, an @id, or extensions - Unique code or number identifying the location to its users. + Unique code or number identifying the location to its users. - Name of the location as used by humans. Does not need to be unique. + Name of the location as used by humans. Does not need to be unique. - Description of the Location, which helps in finding or referencing the place. + Description of the Location, which helps in finding or referencing the place. - Indicates whether a resource instance represents a specific location or a class of locations. + Indicates whether a resource instance represents a specific location or a class of locations. - Indicates the type of function performed at the location. + Indicates the type of function performed at the location. - The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites. + The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites. - Physical location. + Physical location. - Physical form of the location, e.g. building, room, vehicle, road. + Physical form of the location, e.g. building, room, vehicle, road. - The absolute geographic location of the Location, expressed in with the WGS84 datum (This is the same co-ordinate system used in KML). + The absolute geographic location of the Location, expressed in with the WGS84 datum (This is the same co-ordinate system used in KML). - The organization that is responsible for the provisioning and upkeep of the location. + The organization that is responsible for the provisioning and upkeep of the location. - Another Location which this Location is physically part of. + Another Location which this Location is physically part of. - active | suspended | inactive. + active | suspended | inactive. @@ -13483,24 +13690,24 @@ The indication will typically be a Condition (with other resources referenced in - Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. - Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). + Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). - Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). + Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). - Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). + Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). @@ -13511,20 +13718,20 @@ The indication will typically be a Condition (with other resources referenced in - The Location resource represents a specific instance of a Location (e.g. Operating Theatre 1A) + The Location resource represents a specific instance of a Location (e.g. Operating Theatre 1A) - The Location represents a class of Locations (e.g. Any Operating Theatre). Although this class of locations could be constrained within a specific boundary (such as organization, or parent location, address etc) + The Location represents a class of Locations (e.g. Any Operating Theatre). Although this class of locations could be constrained within a specific boundary (such as organization, or parent location, address etc) - Indicates whether a resource instance represents a specific location or a class of locations - If the element is present, it must have either a @value, an @id, or extensions + Indicates whether a resource instance represents a specific location or a class of locations + If the element is present, it must have either a @value, an @id, or extensions @@ -13536,25 +13743,25 @@ The indication will typically be a Condition (with other resources referenced in - The location is operational + The location is operational - The location is temporarily closed + The location is temporarily closed - The location is no longer used + The location is no longer used - Indicates whether the location is still in use - If the element is present, it must have either a @value, an @id, or extensions + Indicates whether the location is still in use + If the element is present, it must have either a @value, an @id, or extensions @@ -13564,75 +13771,75 @@ The indication will typically be a Condition (with other resources referenced in - A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. - A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. - If the element is present, it must have either a @value, an @id, or extensions + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + If the element is present, it must have either a @value, an @id, or extensions - Whether the media is a photo (still image), an audio recording, or a video recording. + Whether the media is a photo (still image), an audio recording, or a video recording. - Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality. + Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality. - Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers. + Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers. - Who/What this Media is a record of. + Who/What this Media is a record of. - The person who administered the collection of the image. + The person who administered the collection of the image. - The name of the imaging view e.g Lateral or Antero-posterior (AP). + The name of the imaging view e.g Lateral or Antero-posterior (AP). - The name of the device / manufacturer of the device that was used to make the recording. + The name of the device / manufacturer of the device that was used to make the recording. - Height of the image in pixels(photo/video). + Height of the image in pixels(photo/video). - Width of the image in pixels (photo/video). + Width of the image in pixels (photo/video). - The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required. + The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required. - The duration of the recording in seconds - for audio and video. + The duration of the recording in seconds - for audio and video. - The actual content of the media - inline or by direct reference to the media source file. + The actual content of the media - inline or by direct reference to the media source file. @@ -13643,25 +13850,25 @@ The indication will typically be a Condition (with other resources referenced in - The media consists of one or more unmoving images, including photographs, computer-generated graphs and charts, and scanned documents + The media consists of one or more unmoving images, including photographs, computer-generated graphs and charts, and scanned documents - The media consists of a series of frames that capture a moving image + The media consists of a series of frames that capture a moving image - The media consists of a sound recording + The media consists of a sound recording - Whether the Media is a photo, video, or audio - If the element is present, it must have either a @value, an @id, or extensions + Whether the Media is a photo, video, or audio + If the element is present, it must have either a @value, an @id, or extensions @@ -13671,50 +13878,50 @@ The indication will typically be a Condition (with other resources referenced in - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - If the element is present, it must have either a @value, an @id, or extensions + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + If the element is present, it must have either a @value, an @id, or extensions - The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code. + The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code. - A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes. + A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes. - Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is). + Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is). - Describes the details of the manufacturer. + Describes the details of the manufacturer. - Medications are either a single administrable product or a package that contains one or more products. + Medications are either a single administrable product or a package that contains one or more products. - Information that only applies to products (not packages). + Information that only applies to products (not packages). - Information that only applies to packages (not products). + Information that only applies to packages (not products). @@ -13723,24 +13930,24 @@ The indication will typically be a Condition (with other resources referenced in - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - Describes the form of the item. Powder; tables; carton. + Describes the form of the item. Powder; tables; carton. - Identifies a particular constituent of interest in the product. + Identifies a particular constituent of interest in the product. - Information about a group of medication produced or packaged from one production run. + Information about a group of medication produced or packaged from one production run. @@ -13749,19 +13956,19 @@ The indication will typically be a Condition (with other resources referenced in - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - The actual ingredient - either a substance (simple ingredient) or another medication. + The actual ingredient - either a substance (simple ingredient) or another medication. - Specifies how many (or how much) of the items there are in this Medication. E.g. 250 mg per tablet. + Specifies how many (or how much) of the items there are in this Medication. E.g. 250 mg per tablet. @@ -13770,19 +13977,19 @@ The indication will typically be a Condition (with other resources referenced in - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - The assigned lot number of a batch of the specified product. + The assigned lot number of a batch of the specified product. - When this specific batch of product will expire. + When this specific batch of product will expire. @@ -13791,19 +13998,19 @@ The indication will typically be a Condition (with other resources referenced in - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - The kind of container that this package comes as. + The kind of container that this package comes as. - A set of components that go to make up the described item. + A set of components that go to make up the described item. @@ -13812,19 +14019,19 @@ The indication will typically be a Condition (with other resources referenced in - Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. - Identifies one of the items in the package. + Identifies one of the items in the package. - The amount of the product that is in the package. + The amount of the product that is in the package. @@ -13835,20 +14042,20 @@ The indication will typically be a Condition (with other resources referenced in - The medication is a product + The medication is a product - The medication is a package - a contained group of one of more products + The medication is a package - a contained group of one of more products - Whether the medication is a product or a package - If the element is present, it must have either a @value, an @id, or extensions + Whether the medication is a product or a package + If the element is present, it must have either a @value, an @id, or extensions @@ -13858,89 +14065,89 @@ The indication will typically be a Condition (with other resources referenced in - Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. - Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. - If the element is present, it must have either a @value, an @id, or extensions + Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + If the element is present, it must have either a @value, an @id, or extensions - External identifier - FHIR will generate its own internal IDs (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated. + External identifier - FHIR will generate its own internal IDs (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated. - Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way. + Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way. - The person or animal to whom the medication was given. + The person or animal to whom the medication was given. - The individual who was responsible for giving the medication to the patient. + The individual who was responsible for giving the medication to the patient. - The visit or admission the or other contact between patient and health care provider the medication administration was performed as part of. + The visit or admission the or other contact between patient and health care provider the medication administration was performed as part of. - The original request, instruction or authority to perform the administration. + The original request, instruction or authority to perform the administration. - Set this to true if the record is saying that the medication was NOT administered. + Set this to true if the record is saying that the medication was NOT administered. - A code indicating why the administration was not performed. + A code indicating why the administration was not performed. - A code indicating why the medication was given. + A code indicating why the medication was given. - An interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate. + An interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate. - Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. - The device used in administering the medication to the patient. E.g. a particular infusion pump. + The device used in administering the medication to the patient. E.g. a particular infusion pump. - Extra information about the medication administration that is not conveyed by the other attributes. + Extra information about the medication administration that is not conveyed by the other attributes. - Indicates how the medication is/was used by the patient. + Indicates how the medication is/was used by the patient. @@ -13949,39 +14156,39 @@ The indication will typically be a Condition (with other resources referenced in - Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. - Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. + Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. - A coded specification of the anatomic site where the medication first entered the body. E.g. "left arm". + A coded specification of the anatomic site where the medication first entered the body. E.g. "left arm". - A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient. E.g. topical, intravenous, etc. + A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient. E.g. topical, intravenous, etc. - A coded value indicating the method by which the medication was introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. + A coded value indicating the method by which the medication was introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. - The amount of the medication given at one administration event. Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection. + The amount of the medication given at one administration event. Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection. - Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity. + Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also be expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity. @@ -13992,35 +14199,35 @@ The indication will typically be a Condition (with other resources referenced in - The administration has started but has not yet completed. + The administration has started but has not yet completed. - Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended". + Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended". - All actions that are implied by the administration have occurred. + All actions that are implied by the administration have occurred. - The administration was entered in error and therefore nullified. + The administration was entered in error and therefore nullified. - Actions implied by the administration have been permanently halted, before all of them occurred. + Actions implied by the administration have been permanently halted, before all of them occurred. - A set of codes indicating the current status of a MedicationAdministration - If the element is present, it must have either a @value, an @id, or extensions + A set of codes indicating the current status of a MedicationAdministration + If the element is present, it must have either a @value, an @id, or extensions @@ -14030,97 +14237,97 @@ The indication will typically be a Condition (with other resources referenced in - Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. - Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. - If the element is present, it must have either a @value, an @id, or extensions + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + If the element is present, it must have either a @value, an @id, or extensions - Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR. + Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR. - A code specifying the state of the set of dispense events. + A code specifying the state of the set of dispense events. - A link to a resource representing the person to whom the medication will be given. + A link to a resource representing the person to whom the medication will be given. - The individual responsible for dispensing the medication. + The individual responsible for dispensing the medication. - Indicates the medication order that is being dispensed against. + Indicates the medication order that is being dispensed against. - Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. + Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. - The amount of medication that has been dispensed. Includes unit of measure. + The amount of medication that has been dispensed. Includes unit of measure. - The amount of medication expressed as a timing amount. + The amount of medication expressed as a timing amount. - Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. - The time when the dispensed product was packaged and reviewed. + The time when the dispensed product was packaged and reviewed. - The time the dispensed product was provided to the patient or their representative. + The time the dispensed product was provided to the patient or their representative. - Identification of the facility/location where the medication was shipped to, as part of the dispense event. + Identification of the facility/location where the medication was shipped to, as part of the dispense event. - Identifies the person who picked up the medication. This will usually be a patient or their carer, but some cases exist where it can be a healthcare professional. + Identifies the person who picked up the medication. This will usually be a patient or their carer, but some cases exist where it can be a healthcare professional. - Extra information about the dispense that could not be conveyed in the other attributes. + Extra information about the dispense that could not be conveyed in the other attributes. - Indicates how the medication is to be used by the patient. + Indicates how the medication is to be used by the patient. - Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but doesn't happen, in other cases substitution is not expected but does happen. This block explains what substitition did or did not happen and why. + Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but doesn't happen, in other cases substitution is not expected but does happen. This block explains what substitition did or did not happen and why. @@ -14129,24 +14336,24 @@ The indication will typically be a Condition (with other resources referenced in - Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. - Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. + Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. - Additional instructions such as "Swallow with plenty of water" which may or may not be coded. + Additional instructions such as "Swallow with plenty of water" which may or may not be coded. - The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". @@ -14154,41 +14361,41 @@ The indication will typically be a Condition (with other resources referenced in - If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. - A coded specification of the anatomic site where the medication first enters the body. + A coded specification of the anatomic site where the medication first enters the body. - A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. + A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. - A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. + A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. - The amount of therapeutic or other substance given at one administration event. + The amount of therapeutic or other substance given at one administration event. - Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. + Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. - The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours. + The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours. @@ -14197,24 +14404,24 @@ The indication will typically be a Condition (with other resources referenced in - Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. - A code signifying whether a different drug was dispensed from what was prescribed. + A code signifying whether a different drug was dispensed from what was prescribed. - Indicates the reason for the substitution of (or lack of substitution) from what was prescribed. + Indicates the reason for the substitution of (or lack of substitution) from what was prescribed. - The person or organization that has primary responsibility for the substitution. + The person or organization that has primary responsibility for the substitution. @@ -14225,35 +14432,35 @@ The indication will typically be a Condition (with other resources referenced in - The dispense has started but has not yet completed. + The dispense has started but has not yet completed. - Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended" + Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended" - All actions that are implied by the dispense have occurred. + All actions that are implied by the dispense have occurred. - The dispense was entered in error and therefore nullified. + The dispense was entered in error and therefore nullified. - Actions implied by the dispense have been permanently halted, before all of them occurred. + Actions implied by the dispense have been permanently halted, before all of them occurred. - A code specifying the state of the dispense event. - If the element is present, it must have either a @value, an @id, or extensions + A code specifying the state of the dispense event. + If the element is present, it must have either a @value, an @id, or extensions @@ -14263,79 +14470,79 @@ The indication will typically be a Condition (with other resources referenced in - An order for both supply of the medication and the instructions for administration of the medicine to a patient. + An order for both supply of the medication and the instructions for administration of the medicine to a patient. - An order for both supply of the medication and the instructions for administration of the medicine to a patient. - If the element is present, it must have either a @value, an @id, or extensions + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + If the element is present, it must have either a @value, an @id, or extensions - External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an erntire workflow process where records have to be tracked through an entire system. + External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an erntire workflow process where records have to be tracked through an entire system. - The date (and perhaps time) when the prescription was written. + The date (and perhaps time) when the prescription was written. - A code specifying the state of the order. Generally this will be active or completed state. + A code specifying the state of the order. Generally this will be active or completed state. - A link to a resource representing the person to whom the medication will be given. + A link to a resource representing the person to whom the medication will be given. - The healthcare professional responsible for authorizing the prescription. + The healthcare professional responsible for authorizing the prescription. - A link to a resource that identifies the particular occurrence of contact between patient and health care provider. + A link to a resource that identifies the particular occurrence of contact between patient and health care provider. - Can be the reason or the indication for writing the prescription. + Can be the reason or the indication for writing the prescription. - Extra information about the prescription that could not be conveyed by the other attributes. + Extra information about the prescription that could not be conveyed by the other attributes. - Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications. + Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications. - Indicates how the medication is to be used by the patient. + Indicates how the medication is to be used by the patient. - Deals with details of the dispense part of the order. + Deals with details of the dispense part of the order. - Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done. + Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done. @@ -14344,24 +14551,24 @@ The indication will typically be a Condition (with other resources referenced in - An order for both supply of the medication and the instructions for administration of the medicine to a patient. + An order for both supply of the medication and the instructions for administration of the medicine to a patient. - Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. + Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. - Additional instructions such as "Swallow with plenty of water" which may or may not be coded. + Additional instructions such as "Swallow with plenty of water" which may or may not be coded. - The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". @@ -14369,41 +14576,41 @@ The indication will typically be a Condition (with other resources referenced in - If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. - A coded specification of the anatomic site where the medication first enters the body. + A coded specification of the anatomic site where the medication first enters the body. - A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient. + A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient. - A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. + A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. - The amount of therapeutic or other substance given at one administration event. + The amount of therapeutic or other substance given at one administration event. - Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. + Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. - The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. E.g. 1000mg in 24 hours. + The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. E.g. 1000mg in 24 hours. @@ -14412,36 +14619,36 @@ The indication will typically be a Condition (with other resources referenced in - An order for both supply of the medication and the instructions for administration of the medicine to a patient. + An order for both supply of the medication and the instructions for administration of the medicine to a patient. - Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications. + Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications. - Design Comments: This indicates the validity period of a prescription (stale dating the Prescription) It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations. Rationale: Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription. + Design Comments: This indicates the validity period of a prescription (stale dating the Prescription) It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations. Rationale: Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription. - An integer indicating the number of repeats of the Dispense. UsageNotes: For example, the number of times the prescribed quantity is to be supplied including the initial standard fill. + An integer indicating the number of repeats of the Dispense. UsageNotes: For example, the number of times the prescribed quantity is to be supplied including the initial standard fill. - The amount that is to be dispensed for one fill. + The amount that is to be dispensed for one fill. - Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last. In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors. + Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last. In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors. @@ -14450,19 +14657,19 @@ The indication will typically be a Condition (with other resources referenced in - An order for both supply of the medication and the instructions for administration of the medicine to a patient. + An order for both supply of the medication and the instructions for administration of the medicine to a patient. - A code signifying whether a different drug should be dispensed from what was prescribed. + A code signifying whether a different drug should be dispensed from what was prescribed. - Indicates the reason for the substitution, or why substitution must or must not be performed. + Indicates the reason for the substitution, or why substitution must or must not be performed. @@ -14473,45 +14680,45 @@ The indication will typically be a Condition (with other resources referenced in - The prescription is 'actionable', but not all actions that are implied by it have occurred yet. + The prescription is 'actionable', but not all actions that are implied by it have occurred yet. - Actions implied by the prescription have been temporarily halted, but are expected to continue later. May also be called "suspended". + Actions implied by the prescription have been temporarily halted, but are expected to continue later. May also be called "suspended". - All actions that are implied by the prescription have occurred (this will rarely be made explicit). + All actions that are implied by the prescription have occurred (this will rarely be made explicit). - The prescription was entered in error and therefore nullified. + The prescription was entered in error and therefore nullified. - Actions implied by the prescription have been permanently halted, before all of them occurred. + Actions implied by the prescription have been permanently halted, before all of them occurred. - + - The prescription was replaced by a newer one, which encompasses all the information in the previous one. + The prescription was replaced by a newer one, which encompasses all the information in the previous one. - The prescription is not yet 'actionable', i.e. it is a work in progress, required sign-off, need to be run through decision support. + The prescription is not yet 'actionable', i.e. it is a work in progress, required sign-off, need to be run through decision support. - A code specifying the state of the prescribing event. Describes the lifecycle of the prescription. - If the element is present, it must have either a @value, an @id, or extensions + A code specifying the state of the prescribing event. Describes the lifecycle of the prescription. + If the element is present, it must have either a @value, an @id, or extensions @@ -14521,81 +14728,81 @@ The indication will typically be a Condition (with other resources referenced in - A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. - A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. - If the element is present, it must have either a @value, an @id, or extensions + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + If the element is present, it must have either a @value, an @id, or extensions - External identifier - FHIR will generate its own internal IDs (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated. + External identifier - FHIR will generate its own internal IDs (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated. - The person or animal who is /was taking the medication. + The person or animal who is /was taking the medication. - The person who provided the information about the taking of this medication. + The person who provided the information about the taking of this medication. - The date when the medication statement was asserted by the information source. + The date when the medication statement was asserted by the information source. - A code specifying the state of the statement. Generally this will be in-progress or completed state. + A code specifying the state of the statement. Generally this will be in-progress or completed state. - Set this to true if the record is saying that the medication was NOT taken. + Set this to true if the record is saying that the medication was NOT taken. - A code indicating why the medication was not taken. + A code indicating why the medication was not taken. - A reason for why the medication is being/was taken. + A reason for why the medication is being/was taken. - The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the 'wasNotGiven' attribute is true). + The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the 'wasNotGiven' attribute is true). - Provides extra information about the medication statement that is not conveyed by the other attributes. + Provides extra information about the medication statement that is not conveyed by the other attributes. - Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. - Indicates how the medication is/was used by the patient. + Indicates how the medication is/was used by the patient. @@ -14604,56 +14811,56 @@ The indication will typically be a Condition (with other resources referenced in - A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. - Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. + Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. - The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". - If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the precondition for taking the Medication. + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the precondition for taking the Medication. - A coded specification of the anatomic site where the medication first enters the body. + A coded specification of the anatomic site where the medication first enters the body. - A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. + A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. - A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. + A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. Terminologies used often pre-coordinate this term with the route and or form of administration. - The amount of therapeutic or other substance given at one administration event. + The amount of therapeutic or other substance given at one administration event. - Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. + Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. - The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. E.g. 1000mg in 24 hours. + The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. E.g. 1000mg in 24 hours. @@ -14664,25 +14871,25 @@ The indication will typically be a Condition (with other resources referenced in - The medication is still being taken. + The medication is still being taken. - All actions that are implied by the statement have occurred. + All actions that are implied by the statement have occurred. - The statement was entered in error and therefore nullified. + The statement was entered in error and therefore nullified. - A set of codes indicating the current status of a MedicationStatement - If the element is present, it must have either a @value, an @id, or extensions + A set of codes indicating the current status of a MedicationStatement + If the element is present, it must have either a @value, an @id, or extensions @@ -14692,75 +14899,75 @@ The indication will typically be a Condition (with other resources referenced in - The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. - The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. - If the element is present, it must have either a @value, an @id, or extensions + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + If the element is present, it must have either a @value, an @id, or extensions - The identifier of this message. + The identifier of this message. - The time that the message was sent. + The time that the message was sent. - Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-type". + Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-events". - Information about the message that this message is a response to. Only present if this message is a response. + Information about the message that this message is a response to. Only present if this message is a response. - The source application from which this message originated. + The source application from which this message originated. - The destination application which the message is intended for. + The destination application which the message is intended for. - The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions. + The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions. - The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions. + The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions. - Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient. + Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient. - The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party. + The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party. - Coded indication of the cause for the event - indicates a reason for the occurance of the event that is a focus of this message. + Coded indication of the cause for the event - indicates a reason for the occurance of the event that is a focus of this message. - The actual data of the message - a reference to the root/focus class of the event. + The actual data of the message - a reference to the root/focus class of the event. @@ -14769,24 +14976,24 @@ The indication will typically be a Condition (with other resources referenced in - The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. - The id of the message that this message is a response to. + The id of the message that this message is a response to. - Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not. + Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not. - Full details of any issues found in the message. + Full details of any issues found in the message. @@ -14795,34 +15002,34 @@ The indication will typically be a Condition (with other resources referenced in - The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. - Human-readable name for the source system. + Human-readable name for the source system. - May include configuration or other information useful in debugging. + May include configuration or other information useful in debugging. - Can convey versions of multiple systems in situations where a message passes through multiple hands. + Can convey versions of multiple systems in situations where a message passes through multiple hands. - An e-mail, phone, website or other contact point to use to resolve issues with message communications. + An e-mail, phone, website or other contact point to use to resolve issues with message communications. - Identifies the routing target to send acknowledgements to. + Identifies the routing target to send acknowledgements to. @@ -14831,24 +15038,24 @@ The indication will typically be a Condition (with other resources referenced in - The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. - Human-readable name for the target system. + Human-readable name for the target system. - Identifies the target end system in situations where the initial message transmission is to an intermediary system. + Identifies the target end system in situations where the initial message transmission is to an intermediary system. - Indicates where the message should be routed to. + Indicates where the message should be routed to. @@ -14859,25 +15066,25 @@ The indication will typically be a Condition (with other resources referenced in - The message was accepted and processed without error + The message was accepted and processed without error - Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required + Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required - The message was rejected because of some content in it. There is no point in re-sending without change. The response narrative SHALL describe what the issue is. + The message was rejected because of some content in it. There is no point in re-sending without change. The response narrative SHALL describe what the issue is. - The kind of response to a message - If the element is present, it must have either a @value, an @id, or extensions + The kind of response to a message + If the element is present, it must have either a @value, an @id, or extensions @@ -14887,80 +15094,80 @@ The indication will typically be a Condition (with other resources referenced in - A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. - A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. - If the element is present, it must have either a @value, an @id, or extensions + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + If the element is present, it must have either a @value, an @id, or extensions - Indicates the purpose for the namingsystem - what kinds of things does it make unique? + Indicates the purpose for the namingsystem - what kinds of things does it make unique? - The descriptive name of this particular identifier type or code system. + The descriptive name of this particular identifier type or code system. - The date (and optionally time) when the system was registered or published. + The date (and optionally time) when the system was registered or published. - Indicates whether the namingsystem is "ready for use" or not. + Indicates whether the namingsystem is "ready for use" or not. - If present, indicates that the identifier or code system is principally intended for use or applies to entities within the specified country. For example, the country associated with a national code system. + If present, indicates that the identifier or code system is principally intended for use or applies to entities within the specified country. For example, the country associated with a national code system. - Categorizes a namingsystem for easier search by grouping related namingsystems. + Categorizes a namingsystem for easier search by grouping related namingsystems. - The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision. + The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision. - Details about what the namespace identifies including scope, granularity, version labeling, etc. + Details about what the namespace identifies including scope, granularity, version labeling, etc. - Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc. + Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc. - Indicates how the system may be identified when referenced in electronic exchange. + Indicates how the system may be identified when referenced in electronic exchange. - The name of the individual or organization that published the naming system. + The name of the individual or organization that published the naming system. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - For namingsystems that are retired, indicates the namingsystem that should be used in their place (if any). + For namingsystems that are retired, indicates the namingsystem that should be used in their place (if any). @@ -14969,29 +15176,29 @@ The indication will typically be a Condition (with other resources referenced in - A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. - Identifies the unique identifier scheme used for this particular identifier. + Identifies the unique identifier scheme used for this particular identifier. - The string that should be sent over the wire to identify the code system or identifier system. + The string that should be sent over the wire to identify the code system or identifier system. - Indicates whether this identifier is the "preferred" identifier of this type. + Indicates whether this identifier is the "preferred" identifier of this type. - Identifies the period of time over which this identifier is considered appropriate to refer to the namingsystem. Outside of this window, the identifier might be non-deterministic. + Identifies the period of time over which this identifier is considered appropriate to refer to the namingsystem. Outside of this window, the identifier might be non-deterministic. @@ -15000,19 +15207,19 @@ The indication will typically be a Condition (with other resources referenced in - A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. - The name of an individual to contact regarding the naming system. + The name of an individual to contact regarding the naming system. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -15023,30 +15230,30 @@ The indication will typically be a Condition (with other resources referenced in - An ISO object identifier. E.g. 1.2.3.4.5 + An ISO object identifier. E.g. 1.2.3.4.5 - A universally unique identifier of the form a5afddf4-e880-459b-876e-e4591b0acc11 + A universally unique identifier of the form a5afddf4-e880-459b-876e-e4591b0acc11 - A uniform resource identifier (ideally a URL - uniform resource locator). E.g. http://unitsofmeasure.org + A uniform resource identifier (ideally a URL - uniform resource locator). E.g. http://unitsofmeasure.org - Some other type of unique identifier. E.g HL7-assigned reserved string such as LN for LOINC + Some other type of unique identifier. E.g HL7-assigned reserved string such as LN for LOINC - Identifies the style of unique identifier used to identify a namepace - If the element is present, it must have either a @value, an @id, or extensions + Identifies the style of unique identifier used to identify a namepace + If the element is present, it must have either a @value, an @id, or extensions @@ -15058,25 +15265,25 @@ The indication will typically be a Condition (with other resources referenced in - The namingsystem is used to define concepts and symbols to represent those concepts. E.g. UCUM, LOINC, NDC code, local lab codes, etc. + The namingsystem is used to define concepts and symbols to represent those concepts. E.g. UCUM, LOINC, NDC code, local lab codes, etc. - The namingsystem is used to manage identifiers (e.g. license numbers, order numbers, etc.) + The namingsystem is used to manage identifiers (e.g. license numbers, order numbers, etc.) - The namingsystem is used as the root for other identifiers and namingsystems + The namingsystem is used as the root for other identifiers and namingsystems - Identifies the purpose of the namingsystem - If the element is present, it must have either a @value, an @id, or extensions + Identifies the purpose of the namingsystem + If the element is present, it must have either a @value, an @id, or extensions @@ -15086,75 +15293,75 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - If the element is present, it must have either a @value, an @id, or extensions + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + If the element is present, it must have either a @value, an @id, or extensions - The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding. + The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding. - The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings. + The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings. - Identifiers assigned to this order by the order sender or by the order receiver. + Identifiers assigned to this order by the order sender or by the order receiver. - An encounter that provides additional information about the healthcare context in which this request is made. + An encounter that provides additional information about the healthcare context in which this request is made. - The date and time that this nutrition order was requested. + The date and time that this nutrition order was requested. - The workflow status of the nutrition order/request. + The workflow status of the nutrition order/request. - A link to a record of allergies or Intolerances which should be included in the nutrition order. + A link to a record of allergies or Intolerances which should be included in the nutrition order. - This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. + This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. - This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. + This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. - Diet given orally in contrast to enteral (tube) feeding. + Diet given orally in contrast to enteral (tube) feeding. - Oral nutritional products given in order to add further nutritional value to the patient's diet. + Oral nutritional products given in order to add further nutritional value to the patient's diet. - Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity. + Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity. @@ -15163,39 +15370,39 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet. + The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet. - The time period and frequency at which the diet should be given. + The time period and frequency at which the diet should be given. - Class that defines the quantity and type of nutrient modifications required for the oral diet. + Class that defines the quantity and type of nutrient modifications required for the oral diet. - Class that describes any texture modifications required for the patient to safely consume various types of solid foods. + Class that describes any texture modifications required for the patient to safely consume various types of solid foods. - The required consistency (e.g., honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient. + The required consistency (e.g., honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient. - Free text or additional instructions or information pertaining to the oral diet. + Free text or additional instructions or information pertaining to the oral diet. @@ -15204,19 +15411,19 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - The nutrient that is being modified such as carbohydrate or sodium. + The nutrient that is being modified such as carbohydrate or sodium. - The quantity of the specified nutrient to include in diet. + The quantity of the specified nutrient to include in diet. @@ -15225,19 +15432,19 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed. + Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed. - The food type(s) (e.g., meats, all foods) that the texture modification applies to. This could be all foods types. + The food type(s) (e.g., meats, all foods) that the texture modification applies to. This could be all foods types. @@ -15246,34 +15453,34 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement. + The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement. - The product or brand name of the nutritional supplement such as "Acme Protein Shake". + The product or brand name of the nutritional supplement such as "Acme Protein Shake". - The time period and frequency at which the supplement(s) should be given. + The time period and frequency at which the supplement(s) should be given. - The amount of the nutritional supplement to be given. + The amount of the nutritional supplement to be given. - Free text or additional instructions or information pertaining to the oral supplement. + Free text or additional instructions or information pertaining to the oral supplement. @@ -15282,54 +15489,54 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula. + The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula. - The product or brand name of the enteral or infant formula product such as "ACME Adult Standard Formula". + The product or brand name of the enteral or infant formula product such as "ACME Adult Standard Formula". - Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula. + Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula. - The product or brand name of the type of modular component to be added to the formula. + The product or brand name of the type of modular component to be added to the formula. - The amount of energy (Calories) that the formula should provide per specified volume, typically per mL or fluid oz. For example, an infant may require a formula the provides 24 Calories per fluid ounce or an adult may require an enteral formula that provides 1.5 Calorie/mL. + The amount of energy (Calories) that the formula should provide per specified volume, typically per mL or fluid oz. For example, an infant may require a formula the provides 24 Calories per fluid ounce or an adult may require an enteral formula that provides 1.5 Calorie/mL. - The route or physiological path of administration into the patient 's gastrointestinal tract for purposes of providing the formula feeding, e.g., nasogastric tube. + The route or physiological path of administration into the patient 's gastrointestinal tract for purposes of providing the formula feeding, e.g., nasogastric tube. - Formula administration instructions as structured data. This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding. An example of this would be an instruction to increase the rate of continuous feeding every 2 hours. + Formula administration instructions as structured data. This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding. An example of this would be an instruction to increase the rate of continuous feeding every 2 hours. - The maximum total quantity of formula that may be administered to a subject over the period of time, e.g., 1440 mL over 24 hours. + The maximum total quantity of formula that may be administered to a subject over the period of time, e.g., 1440 mL over 24 hours. - Free text formula administration, feeding instructions or additional instructions or information. + Free text formula administration, feeding instructions or additional instructions or information. @@ -15338,24 +15545,24 @@ The indication will typically be a Condition (with other resources referenced in - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. - The time period and frequency at which the enteral formula should be delivered to the patient. + The time period and frequency at which the enteral formula should be delivered to the patient. - The volume of formula to provide to the patient per the specified administration schedule. + The volume of formula to provide to the patient per the specified administration schedule. - The rate of administration of formula via a feeding pump, e.g., 60 mL per hour, according to the specified schedule. + The rate of administration of formula via a feeding pump, e.g., 60 mL per hour, according to the specified schedule. @@ -15368,50 +15575,50 @@ The indication will typically be a Condition (with other resources referenced in - The request has been proposed + The request has been proposed - The request is in preliminary form prior to being sent + The request is in preliminary form prior to being sent - The request has been planned + The request has been planned - The request has been placed + The request has been placed - The request is 'actionable', but not all actions that are implied by it have occurred yet. + The request is 'actionable', but not all actions that are implied by it have occurred yet. - Actions implied by the request have been temporarily halted, but are expected to continue later. May also be called "suspended". + Actions implied by the request have been temporarily halted, but are expected to continue later. May also be called "suspended". - All actions that are implied by the order have occurred and no continuation is planned (this will rarely be made explicit). + All actions that are implied by the order have occurred and no continuation is planned (this will rarely be made explicit). - The request has been withdrawn and is no longer actionable. + The request has been withdrawn and is no longer actionable. - Codes specifying the state of the request. Describes the lifecycle of the nutrition order. - If the element is present, it must have either a @value, an @id, or extensions + Codes specifying the state of the request. Describes the lifecycle of the nutrition order. + If the element is present, it must have either a @value, an @id, or extensions @@ -15421,30 +15628,30 @@ The indication will typically be a Condition (with other resources referenced in - Measurements and simple assertions made about a patient, device or other subject. + Measurements and simple assertions made about a patient, device or other subject. - Measurements and simple assertions made about a patient, device or other subject. - If the element is present, it must have either a @value, an @id, or extensions + Measurements and simple assertions made about a patient, device or other subject. + If the element is present, it must have either a @value, an @id, or extensions - Describes what was observed. Sometimes this is called the observation "name". + Describes what was observed. Sometimes this is called the observation "name". - Describes the general type of observation being made and is used to group or limit searching of observations. + Describes the general type of observation being made and is used to group or limit searching of observations. - The information determined as a result of making the observation, if the information has a simple value. + The information determined as a result of making the observation, if the information has a simple value. @@ -15459,102 +15666,97 @@ The indication will typically be a Condition (with other resources referenced in - Provides a reason why the expected value in the element Observation.value[x] is missing. + Provides a reason why the expected value in the element Observation.value[x] is missing. - The assessment made based on the result of the observation. + The assessment made based on the result of the observation. - May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result. + May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result. - The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself. + The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself. - The date and time this observation was made available. + The date and time this observation was made available. - The status of the result value. + The status of the result value. - An estimate of the degree to which quality issues have impacted on the value reported. + An estimate of the degree to which quality issues have impacted on the value reported. - Indicates the site on the subject's body where the observation was made ( i.e. the target site). + Indicates the site on the subject's body where the observation was made ( i.e. the target site). - Indicates the mechanism used to perform the observation. + Indicates the mechanism used to perform the observation. - A unique identifier for the simple observation. + A unique identifier for the simple observation. - The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, + The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject. - The specimen that was used when this observation was made. + The specimen that was used when this observation was made. - Who was responsible for asserting the observed value as "true". + Who was responsible for asserting the observed value as "true". - The device used to generate the observation data. + The device used to generate the observation data. - The healthcare event ( e.g. a patient and healthcare provider interaction ) during which this observation is made. + The healthcare event ( e.g. a patient and healthcare provider interaction ) during which this observation is made. - Guidance on how to interpret the value by comparison to a normal or recommended range. - - - - - A reference to a resource from which this observation value is derived. For example an Observation resource for a calculated anion gap or Apgar score Observation or a QuestionnaireAnswer resource for an Assessment Tool Observation.( 5/18/2015 EH: TODO need to get a specific example /use cases for example using something other than Observtion). + Guidance on how to interpret the value by comparison to a normal or recommended range. - A reference to another observations whose relationship is defined by the relationship type code. + A reference to another resource ( usally another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code. - Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for for genetics observations. + Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for for genetics observations. @@ -15563,34 +15765,34 @@ other observer (for example a relative or EMT), or any observation made about th - Measurements and simple assertions made about a patient, device or other subject. + Measurements and simple assertions made about a patient, device or other subject. - The value of the low bound of the reference range. If this element is omitted, the low bound of the reference range is assumed to be meaningless. (e.g. reference range is <2.3) If the low.comparator element is missing, it is assumed to be '>'. + The value of the low bound of the reference range. If this element is omitted, the low bound of the reference range is assumed to be meaningless. (e.g. reference range is <2.3) If the low.comparator element is missing, it is assumed to be '>'. - The value of the high bound of the reference range. If this element is omitted, the high bound of the reference range is assumed to be meaningless. (e.g. reference range is > 5) If the low.comparator element is missing , it is assumed to be '<'. + The value of the high bound of the reference range. If this element is omitted, the high bound of the reference range is assumed to be meaningless. (e.g. reference range is > 5) If the low.comparator element is missing , it is assumed to be '<'. - Code for the meaning of the reference range. + Code for the meaning of the reference range. - The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so. + The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so. - Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of "Negative" or a list or table of 'normals'. + Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of "Negative" or a list or table of 'normals'. @@ -15599,19 +15801,19 @@ other observer (for example a relative or EMT), or any observation made about th - Measurements and simple assertions made about a patient, device or other subject. + Measurements and simple assertions made about a patient, device or other subject. - A code specifying the kind of relationship that exists with the target observation. + A code specifying the kind of relationship that exists with the target resource. - A reference to the observation that is related to this observation. + A reference to the observation or questionnaireanswer that is related to this observation. @@ -15620,19 +15822,19 @@ other observer (for example a relative or EMT), or any observation made about th - Measurements and simple assertions made about a patient, device or other subject. + Measurements and simple assertions made about a patient, device or other subject. - Describes what was observed. Sometimes this is called the observation "code". + Describes what was observed. Sometimes this is called the observation "code". - The information determined as a result of making the observation, if the information has a simple value. + The information determined as a result of making the observation, if the information has a simple value. @@ -15647,12 +15849,12 @@ other observer (for example a relative or EMT), or any observation made about th - Provides a reason why the expected value in the element Observation.value[x] is missing. + Provides a reason why the expected value in the element Observation.value[x] is missing. - Guidance on how to interpret the value by comparison to a normal or recommended range. + Guidance on how to interpret the value by comparison to a normal or recommended range. @@ -15663,45 +15865,45 @@ other observer (for example a relative or EMT), or any observation made about th - The result has no reliability concerns + The result has no reliability concerns - An early estimate of value; measurement is still occurring + An early estimate of value; measurement is still occurring - An early estimate of value; processing is still occurring + An early estimate of value; processing is still occurring - The observation value should be treated with care + The observation value should be treated with care - The result has been generated while calibration is occurring + The result has been generated while calibration is occurring - The observation could not be completed because of an error + The observation could not be completed because of an error - No observation reliability value was available + No observation reliability value was available - Codes that provide an estimate of the degree to which quality issues have impacted on the value of an observation - If the element is present, it must have either a @value, an @id, or extensions + Codes that provide an estimate of the degree to which quality issues have impacted on the value of an observation + If the element is present, it must have either a @value, an @id, or extensions @@ -15713,35 +15915,40 @@ other observer (for example a relative or EMT), or any observation made about th - This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group + This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group + + + + + The target resource (Observation or QuestionnaireAnswer) is part of the information from which this observation value is derived. (e.g. calculated anion gap, Apgar score) NOTE: "derived-from" is only logical choice when referencing QuestionnaireAnswer - This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test) + This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test) - This observation replaces a previous observation (i.e. a revised value). The target observation is now obsolete + This observation replaces a previous observation (i.e. a revised value). The target observation is now obsolete - The value of the target observation qualifies (refines) the semantics of the source observation (e.g. a lipaemia measure target from a plasma measure) + The value of the target observation qualifies (refines) the semantics of the source observation (e.g. a lipaemia measure target from a plasma measure) - The value of the target observation interferes (degardes quality, or prevents valid observation) with the semantics of the source observation (e.g. a hemolysis measure target from a plasma potassium measure which has no value) + The value of the target observation interferes (degardes quality, or prevents valid observation) with the semantics of the source observation (e.g. a hemolysis measure target from a plasma potassium measure which has no value) - Codes specifying how two observations are related - If the element is present, it must have either a @value, an @id, or extensions + Codes specifying how two observations are related + If the element is present, it must have either a @value, an @id, or extensions @@ -15753,45 +15960,45 @@ other observer (for example a relative or EMT), or any observation made about th - The existence of the observation is registered, but there is no result yet available + The existence of the observation is registered, but there is no result yet available - This is an initial or interim observation: data may be incomplete or unverified + This is an initial or interim observation: data may be incomplete or unverified - The observation is complete and verified by an authorized person + The observation is complete and verified by an authorized person - The observation has been modified subsequent to being Final, and is complete and verified by an authorized person + The observation has been modified subsequent to being Final, and is complete and verified by an authorized person - The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted") + The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted") - The observation has been withdrawn following previous Final release + The observation has been withdrawn following previous Final release - The observation status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown" + The observation status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown" - Codes providing the status of an observation - If the element is present, it must have either a @value, an @id, or extensions + Codes providing the status of an observation + If the element is present, it must have either a @value, an @id, or extensions @@ -15801,110 +16008,110 @@ other observer (for example a relative or EMT), or any observation made about th - A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). - A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). - If the element is present, it must have either a @value, an @id, or extensions + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + If the element is present, it must have either a @value, an @id, or extensions - An absolute url that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique uri). + An absolute url that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique uri). - The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. - A free text natural language name identifying the Profile. + A free text natural language name identifying the operation. - The name of the individual or organization that published the operation definition. + The name of the individual or organization that published the operation definition. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the profile and its use. + A free text natural language description of the profile and its use. - Explains why this operation definition is needed and why it's been constrained as it has. + Explains why this operation definition is needed and why it's been constrained as it has. - The status of the profile. + The status of the profile. - This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The date that this version of the profile was published. + The date that this version of the profile was published. - Whether this is operation or named query. + Whether this is operation or named query. - Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST. + Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST. - The name used to invoke the operation. + The name used to invoke the operation. - Additional information about how to use this operation or named query. + Additional information about how to use this operation or named query. - Indicates that this operation definition is a constraining profile on the base. + Indicates that this operation definition is a constraining profile on the base. - Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context). + Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context). - Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context). + Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context). - Indicates whether this operation can be invoked on a particular instance of one of the given types. + Indicates whether this operation can be invoked on a particular instance of one of the given types. - The parameters for the operation/query. + The parameters for the operation/query. @@ -15913,19 +16120,19 @@ other observer (for example a relative or EMT), or any observation made about th - A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). - The name of an individual to contact regarding the operation definition. + The name of an individual to contact regarding the operation definition. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -15934,92 +16141,79 @@ other observer (for example a relative or EMT), or any observation made about th - A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). - The name of used to identify the parameter. + The name of used to identify the parameter. - Whether this is an input or an output parameter. + Whether this is an input or an output parameter. - The minimum number of times this parameter SHALL appear in the request or response. + The minimum number of times this parameter SHALL appear in the request or response. - The maximum number of times this element is permitted to appear in the request or response. + The maximum number of times this element is permitted to appear in the request or response. - Describes the meaning or use of this parameter. + Describes the meaning or use of this parameter. - The type for this parameter. + The type for this parameter. - A profile the specifies the rules that this parameter must conform to. + A profile the specifies the rules that this parameter must conform to. - + - The parts of a Tuple Parameter. + Binds to a value set if this parameter is coded (code, Coding, CodeableConcept). + + + + + The parts of a Tuple Parameter. - + - A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). - + - The name of used to identify the parameter. + Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. - + - The minimum number of times this parameter SHALL appear in the request or response. - - - - - The maximum number of times this element is permitted to appear in the request or response. - - - - - Describes the meaning or use of this parameter. - - - - - The type for this parameter. - - - - - A profile the specifies the rules that this parameter must conform to. - - + Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. + + + + @@ -16028,20 +16222,20 @@ other observer (for example a relative or EMT), or any observation made about th - This is an input parameter + This is an input parameter - This is an output parameter + This is an output parameter - Whether an operation parameter is an input or an output parameter - If the element is present, it must have either a @value, an @id, or extensions + Whether an operation parameter is an input or an output parameter + If the element is present, it must have either a @value, an @id, or extensions @@ -16053,20 +16247,20 @@ other observer (for example a relative or EMT), or any observation made about th - This operation is invoked as an operation + This operation is invoked as an operation - This operation is a named query, invoked using the search mechanism + This operation is a named query, invoked using the search mechanism - Whether an operation is a normal operation or a query - If the element is present, it must have either a @value, an @id, or extensions + Whether an operation is a normal operation or a query + If the element is present, it must have either a @value, an @id, or extensions @@ -16076,20 +16270,20 @@ other observer (for example a relative or EMT), or any observation made about th - A collection of error, warning or information messages that result from a system action. + A collection of error, warning or information messages that result from a system action. - A collection of error, warning or information messages that result from a system action. - If the element is present, it must have either a @value, an @id, or extensions + A collection of error, warning or information messages that result from a system action. + If the element is present, it must have either a @value, an @id, or extensions - An error, warning or information message that results from a system action. + An error, warning or information message that results from a system action. @@ -16098,29 +16292,29 @@ other observer (for example a relative or EMT), or any observation made about th - A collection of error, warning or information messages that result from a system action. + A collection of error, warning or information messages that result from a system action. - Indicates whether the issue indicates a variation from successful processing. + Indicates whether the issue indicates a variation from successful processing. - Describes the type of the issue. + Describes the type of the issue. - Additional diagnostic information about the issue. Typically, this may be a description of how a value is erroneous, or a stck dump to help trace the issue. + Additional diagnostic information about the issue. Typically, this may be a description of how a value is erroneous, or a stck dump to help trace the issue. - A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. + A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. @@ -16131,30 +16325,30 @@ other observer (for example a relative or EMT), or any observation made about th - The issue caused the action to fail, and no further checking could be performed + The issue caused the action to fail, and no further checking could be performed - The issue is sufficiently important to cause the action to fail + The issue is sufficiently important to cause the action to fail - The issue is not important enough to cause the action to fail, but may cause it to be performed suboptimally or in a way that is not as desired + The issue is not important enough to cause the action to fail, but may cause it to be performed suboptimally or in a way that is not as desired - The issue has no relation to the degree of success of the action + The issue has no relation to the degree of success of the action - How the issue affects the success of the action - If the element is present, it must have either a @value, an @id, or extensions + How the issue affects the success of the action + If the element is present, it must have either a @value, an @id, or extensions @@ -16164,62 +16358,57 @@ other observer (for example a relative or EMT), or any observation made about th - A request to perform an action. + A request to perform an action. - A request to perform an action. - If the element is present, it must have either a @value, an @id, or extensions + A request to perform an action. + If the element is present, it must have either a @value, an @id, or extensions - Identifiers assigned to this order by the orderer or by the receiver. + Identifiers assigned to this order by the orderer or by the receiver. - When the order was made. + When the order was made. - Patient this order is about. + Patient this order is about. - Who initiated the order. + Who initiated the order. - Who is intended to fulfill the order. + Who is intended to fulfill the order. - Text - why the order was made. + Text - why the order was made. - - - If required by policy. - - - When order should be fulfilled. + When order should be fulfilled. - What action is being ordered. + What action is being ordered. @@ -16228,19 +16417,19 @@ other observer (for example a relative or EMT), or any observation made about th - A request to perform an action. + A request to perform an action. - Code specifies when request should be done. The code may simply be a priority code. + Code specifies when request should be done. The code may simply be a priority code. - A formal schedule. + A formal schedule. @@ -16249,57 +16438,50 @@ other observer (for example a relative or EMT), or any observation made about th - A response to an order. + A response to an order. - A response to an order. - If the element is present, it must have either a @value, an @id, or extensions + A response to an order. + If the element is present, it must have either a @value, an @id, or extensions - Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems. + Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems. - A reference to the order that this is in response to. + A reference to the order that this is in response to. - The date and time at which this order response was made (created/posted). + The date and time at which this order response was made (created/posted). - The person, organization, or device credited with making the response. + The person, organization, or device credited with making the response. - - - A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection. - - - - - What this response says about the status of the original order. + What this response says about the status of the original order. - Additional description about the response - e.g. a text description provided by a human user when making decisions about the order. + Additional description about the response - e.g. a text description provided by a human user when making decisions about the order. - Links to resources that provide details of the outcome of performing the order. E.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order. + Links to resources that provide details of the outcome of performing the order. E.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order. @@ -16310,55 +16492,55 @@ other observer (for example a relative or EMT), or any observation made about th - The order is known, but no processing has occurred at this time + The order is known, but no processing has occurred at this time - The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review) + The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review) - The order was rejected because of a workflow/business logic reason + The order was rejected because of a workflow/business logic reason - The order was unable to be processed because of a technical error (i.e. unexpected error) + The order was unable to be processed because of a technical error (i.e. unexpected error) - The order has been accepted, and work is in progress + The order has been accepted, and work is in progress - Processing the order was halted at the initiators request + Processing the order was halted at the initiators request - The order has been cancelled and replaced by another + The order has been cancelled and replaced by another - Processing the order was stopped because of some workflow/business logic reason + Processing the order was stopped because of some workflow/business logic reason - The order has been completed + The order has been completed - The status of the response to an order - If the element is present, it must have either a @value, an @id, or extensions + The status of the response to an order + If the element is present, it must have either a @value, an @id, or extensions @@ -16368,55 +16550,55 @@ other observer (for example a relative or EMT), or any observation made about th - A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. - A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. - If the element is present, it must have either a @value, an @id, or extensions + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + If the element is present, it must have either a @value, an @id, or extensions - Identifier for the organization that is used to identify the organization across multiple disparate systems. + Identifier for the organization that is used to identify the organization across multiple disparate systems. - A name associated with the organization. + A name associated with the organization. - The kind of organization that this is. + The kind of organization that this is. - A contact detail for the organization. + A contact detail for the organization. - An address for the organization. + An address for the organization. - The organization of which this organization forms a part. + The organization of which this organization forms a part. - Contact for the organization for a certain purpose. + Contact for the organization for a certain purpose. - Whether the organization's record is still in active use. + Whether the organization's record is still in active use. @@ -16425,29 +16607,29 @@ other observer (for example a relative or EMT), or any observation made about th - A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. - Indicates a purpose for which the contact can be reached. + Indicates a purpose for which the contact can be reached. - A name associated with the contact. + A name associated with the contact. - A contact detail (e.g. a telephone number or an email address) by which the party may be contacted. + A contact detail (e.g. a telephone number or an email address) by which the party may be contacted. - Visiting or postal addresses for the contact. + Visiting or postal addresses for the contact. @@ -16456,104 +16638,104 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about an individual or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - Demographics and other administrative information about an individual or animal receiving care or other health-related services. - If the element is present, it must have either a @value, an @id, or extensions + Demographics and other administrative information about an individual or animal receiving care or other health-related services. + If the element is present, it must have either a @value, an @id, or extensions - An identifier for this patient. + An identifier for this patient. - A name associated with the individual. + A name associated with the individual. - A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted. + A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted. - Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. - The date of birth for the individual. + The date of birth for the individual. - Indicates if the individual is deceased or not. + Indicates if the individual is deceased or not. - Addresses for the individual. + Addresses for the individual. - This field contains a patient's most recent marital (civil) status. + This field contains a patient's most recent marital (civil) status. - Indicates whether the patient is part of a multiple or indicates the actual birth order. + Indicates whether the patient is part of a multiple or indicates the actual birth order. - Image of the patient. + Image of the patient. - A contact party (e.g. guardian, partner, friend) for the patient. + A contact party (e.g. guardian, partner, friend) for the patient. - This element has a value if the patient is an animal. + This patient is known to be an animal. - Languages which may be used to communicate with the patient about his or her health. + Languages which may be used to communicate with the patient about his or her health. - Patient's nominated care provider. + Patient's nominated care provider. - Organization that is the custodian of the patient record. + Organization that is the custodian of the patient record. - Link to another patient resource that concerns the same actual patient. + Link to another patient resource that concerns the same actual patient. - Whether this patient record is in active use. + Whether this patient record is in active use. @@ -16562,44 +16744,44 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about an individual or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - The nature of the relationship between the patient and the contact person. + The nature of the relationship between the patient and the contact person. - A name associated with the contact person. + A name associated with the contact person. - A contact detail for the person, e.g. a telephone number or an email address. + A contact detail for the person, e.g. a telephone number or an email address. - Address for the contact person. + Address for the contact person. - Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes. - Organization on behalf of which the contact is acting or for which the contact is working. + Organization on behalf of which the contact is acting or for which the contact is working. - The period during which this contact person or organization is valid to be contacted relating to this patient. + The period during which this contact person or organization is valid to be contacted relating to this patient. @@ -16608,24 +16790,24 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about an individual or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - Identifies the high level taxonomic categorization of the kind of animal. + Identifies the high level taxonomic categorization of the kind of animal. - Identifies the detailed categorization of the kind of animal. + Identifies the detailed categorization of the kind of animal. - Indicates the current state of the animal's reproductive organs. + Indicates the current state of the animal's reproductive organs. @@ -16634,19 +16816,19 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about an individual or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case. E.g. "en" for English, or "en-US" for American English versus "en-EN" for England English. + The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case. E.g. "en" for English, or "en-US" for American English versus "en-EN" for England English. - Indicates whether or not the Patient prefers this language (over other languages he masters up a certain level). + Indicates whether or not the Patient prefers this language (over other languages he masters up a certain level). @@ -16655,19 +16837,19 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about an individual or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - The other patient resource that the link refers to. + The other patient resource that the link refers to. - The type of link between this patient resource and another patient resource. + The type of link between this patient resource and another patient resource. @@ -16678,25 +16860,28 @@ other observer (for example a relative or EMT), or any observation made about th - The patient resource containing this link must no longer be used. The link points forward to another patient resource that must be used in lieu of the patient resource that contains the link. + The patient resource containing this link must no longer be used. The link points forward to another patient resource that must be used in lieu of the patient resource that contains the link. + vervangen - The patient resource containing this link is in use and valid but not considered the main source of information about a patient. The link points forward to another patient resource that should be consulted to retrieve additional patient information + The patient resource containing this link is in use and valid but not considered the main source of information about a patient. The link points forward to another patient resource that should be consulted to retrieve additional patient information + verwijzing - The patient resource containing this link is in use and valid, but points to another patient resource that is known to contain data about the same person. Data in this resource might overlap or contradict information found in the other patient resource. This link does not indicate any relative importance of the resources concerned, and both should be regarded as equally valid. + The patient resource containing this link is in use and valid, but points to another patient resource that is known to contain data about the same person. Data in this resource might overlap or contradict information found in the other patient resource. This link does not indicate any relative importance of the resources concerned, and both should be regarded as equally valid. + zie ook - The type of link between this patient resource and another patient resource. - If the element is present, it must have either a @value, an @id, or extensions + The type of link between this patient resource and another patient resource. + If the element is present, it must have either a @value, an @id, or extensions @@ -16706,65 +16891,65 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. - This resource provides the status of the payment for goods and services rendered, and the request and response resource references. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when this resource was created. + The date when this resource was created. - The Insurer who is target of the request. + The Insurer who is target of the request. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. - Reference of resource to reverse. + Reference of resource to reverse. - Reference of response to resource to reverse. + Reference of response to resource to reverse. - The payment status, typically paid: payment sent, cleared: payment received. + The payment status, typically paid: payment sent, cleared: payment received. @@ -16773,90 +16958,90 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides payment details and claim references supporting a bulk payment. + This resource provides payment details and claim references supporting a bulk payment. - This resource provides payment details and claim references supporting a bulk payment. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides payment details and claim references supporting a bulk payment. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - Original request resource reference. + Original request resource reference. - Transaction status: error, complete. + Transaction status: error, complete. - A description of the status of the adjudication. + A description of the status of the adjudication. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The period of time for which payments have been gathered into this bulk payment for settlement. + The period of time for which payments have been gathered into this bulk payment for settlement. - The Insurer who produced this adjudicated response. + The Insurer who produced this adjudicated response. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. - List of individual settlement amounts and the corresponding transaction. + List of individual settlement amounts and the corresponding transaction. - The form to be used for printing the content. + The form to be used for printing the content. - Total payment amount. + Total payment amount. - Suite of notes. + Suite of notes. @@ -16865,44 +17050,44 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides payment details and claim references supporting a bulk payment. + This resource provides payment details and claim references supporting a bulk payment. - Code to indicate the nature of the payment, adjustment, funds advance, etc. + Code to indicate the nature of the payment, adjustment, funds advance, etc. - The claim or financial resource. + The claim or financial resource. - The claim response resource. + The claim response resource. - The Organization which submitted the invoice or financial transaction. + The Organization which submitted the invoice or financial transaction. - The organization which is receiving the payment. + The organization which is receiving the payment. - The date of the invoice or financial resource. + The date of the invoice or financial resource. - Amount paid for this detail. + Amount paid for this detail. @@ -16911,19 +17096,19 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides payment details and claim references supporting a bulk payment. + This resource provides payment details and claim references supporting a bulk payment. - The note purpose: Print/Display. + The note purpose: Print/Display. - The note text. + The note text. @@ -16932,65 +17117,65 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and administrative information about a person independent of a specific health-related context. + Demographics and administrative information about a person independent of a specific health-related context. - Demographics and administrative information about a person independent of a specific health-related context. - If the element is present, it must have either a @value, an @id, or extensions + Demographics and administrative information about a person independent of a specific health-related context. + If the element is present, it must have either a @value, an @id, or extensions - Identifier for a person within a particular scope. + Identifier for a person within a particular scope. - A name associated with the person. + A name associated with the person. - A contact detail for the person, e.g. a telephone number or an email address. + A contact detail for the person, e.g. a telephone number or an email address. - Administrative Gender. + Administrative Gender. - + - The birth date for the person. + The birth date for the person. - One or more addresses for the person. + One or more addresses for the person. - An image that can be displayed as a thumbnail of the person to enhance the identification of the individual. + An image that can be displayed as a thumbnail of the person to enhance the identification of the individual. - The Organization that is the custodian of the person record. + The Organization that is the custodian of the person record. - Whether this person's record is in active use. + Whether this person's record is in active use. - Link to a resource that concerns the same actual person. + Link to a resource that concerns the same actual person. @@ -16999,19 +17184,19 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and administrative information about a person independent of a specific health-related context. + Demographics and administrative information about a person independent of a specific health-related context. - The resource to which this actual person is associated. + The resource to which this actual person is associated. - Level of assurance that this link is actually associated with the target resource. + Level of assurance that this link is actually associated with the target resource. @@ -17022,30 +17207,30 @@ other observer (for example a relative or EMT), or any observation made about th - Little or no confidence in the asserted identity's accuracy. + Little or no confidence in the asserted identity's accuracy. - Some confidence in the asserted identity's accuracy. + Some confidence in the asserted identity's accuracy. - High confidence in the asserted identity's accuracy. + High confidence in the asserted identity's accuracy. - Very high confidence in the asserted identity's accuracy. + Very high confidence in the asserted identity's accuracy. - The level of confidence that this link represents the same actual person, based on NIST Authentication Levels - If the element is present, it must have either a @value, an @id, or extensions + The level of confidence that this link represents the same actual person, based on NIST Authentication Levels + If the element is present, it must have either a @value, an @id, or extensions @@ -17055,65 +17240,65 @@ other observer (for example a relative or EMT), or any observation made about th - A person who is directly or indirectly involved in the provisioning of healthcare. + A person who is directly or indirectly involved in the provisioning of healthcare. - A person who is directly or indirectly involved in the provisioning of healthcare. - If the element is present, it must have either a @value, an @id, or extensions + A person who is directly or indirectly involved in the provisioning of healthcare. + If the element is present, it must have either a @value, an @id, or extensions - An identifier that applies to this person in this role. + An identifier that applies to this person in this role. - A name associated with the person. + A name associated with the person. - A contact detail for the practitioner, e.g. a telephone number or an email address. + A contact detail for the practitioner, e.g. a telephone number or an email address. - The postal address where the practitioner can be found or visited or to which mail can be delivered. + The postal address where the practitioner can be found or visited or to which mail can be delivered. - Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. - The date of birth for the practitioner. + The date of birth for the practitioner. - Image of the person. + Image of the person. - The list of Roles/Organizations that the Practitioner is associated with. + The list of Roles/Organizations that the Practitioner is associated with. - Qualifications obtained by training and certification. + Qualifications obtained by training and certification. - A language the practitioner is able to use in patient communication. + A language the practitioner is able to use in patient communication. @@ -17122,39 +17307,39 @@ other observer (for example a relative or EMT), or any observation made about th - A person who is directly or indirectly involved in the provisioning of healthcare. + A person who is directly or indirectly involved in the provisioning of healthcare. - The Organization where the Practitioner performs the roles associated. + The Organization where the Practitioner performs the roles associated. - Roles which this practitioner is authorized to perform for the organization. + Roles which this practitioner is authorized to perform for the organization. - Specific specialty of the practitioner. + Specific specialty of the practitioner. - The period during which the person is authorized to act as a practitioner in these role(s) for the organization. + The period during which the person is authorized to act as a practitioner in these role(s) for the organization. - The location(s) at which this practitioner provides care. + The location(s) at which this practitioner provides care. - The list of healthcare services that this worker provides for this role's Organization/Location(s). + The list of healthcare services that this worker provides for this role's Organization/Location(s). @@ -17163,29 +17348,29 @@ other observer (for example a relative or EMT), or any observation made about th - A person who is directly or indirectly involved in the provisioning of healthcare. + A person who is directly or indirectly involved in the provisioning of healthcare. - An identifier that applies to this person's qualification in this role. + An identifier that applies to this person's qualification in this role. - Coded representation of the qualification. + Coded representation of the qualification. - Period during which the qualification is valid. + Period during which the qualification is valid. - Organization that regulates and issues the qualification. + Organization that regulates and issues the qualification. @@ -17194,112 +17379,112 @@ other observer (for example a relative or EMT), or any observation made about th - An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. - An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. - If the element is present, it must have either a @value, an @id, or extensions + An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this procedure that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this procedure that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - The person on whom the procedure was performed. + The person on whom the procedure was performed. - A code specifying the state of the procedure record. Generally this will be in-progress or completed state. + A code specifying the state of the procedure record. Generally this will be in-progress or completed state. - A code that classifies the procedure for searching, sorting and display purposes. + A code that classifies the procedure for searching, sorting and display purposes. - The specific procedure that is performed. Use text if the exact nature of the procedure can't be coded. + The specific procedure that is performed. Use text if the exact nature of the procedure can't be coded. - Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion. + Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion. - The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text. + The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text. - Limited to 'real' people rather than equipment. + Limited to 'real' people rather than equipment. - The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured. + The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured. - The encounter during which the procedure was performed. + The encounter during which the procedure was performed. - The location where the procedure actually happened. e.g. a newborn at home, a tracheostomy at a restaurant. + The location where the procedure actually happened. e.g. a newborn at home, a tracheostomy at a restaurant. - What was the outcome of the procedure - did it resolve reasons why the procedure was performed? + What was the outcome of the procedure - did it resolve reasons why the procedure was performed? - This could be a histology result. There could potentially be multiple reports - e.g. if this was a procedure that made multiple biopsies. + This could be a histology result. There could potentially be multiple reports - e.g. if this was a procedure that made multiple biopsies. - Any complications that occurred during the procedure, or in the immediate post-operative period. These are generally tracked separately from the notes, which typically will describe the procedure itself rather than any 'post procedure' issues. + Any complications that occurred during the procedure, or in the immediate post-operative period. These are generally tracked separately from the notes, which typically will describe the procedure itself rather than any 'post procedure' issues. - If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or potentially could be more complex in which case the CarePlan resource can be used. + If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or potentially could be more complex in which case the CarePlan resource can be used. - Procedures may be related to other items such as procedures or medications. For example treating wound dehiscence following a previous procedure. + Procedures may be related to other items such as procedures or medications. For example treating wound dehiscence following a previous procedure. - Any other notes about the procedure - e.g. the operative notes. + Any other notes about the procedure - e.g. the operative notes. - A device change during the procedure. + A device change during the procedure. - Identifies medications, devices and other substance used as part of the procedure. + Identifies medications, devices and other substance used as part of the procedure. @@ -17308,14 +17493,14 @@ other observer (for example a relative or EMT), or any observation made about th - An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. - Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion. + Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion. @@ -17326,19 +17511,19 @@ other observer (for example a relative or EMT), or any observation made about th - An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. - The practitioner who was involved in the procedure. + The practitioner who was involved in the procedure. - E.g. surgeon, anaethetist, endoscopist. + E.g. surgeon, anaethetist, endoscopist. @@ -17347,19 +17532,19 @@ other observer (for example a relative or EMT), or any observation made about th - An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. - The nature of the relationship. + The nature of the relationship. - The related item - e.g. a procedure. + The related item - e.g. a procedure. @@ -17368,19 +17553,19 @@ other observer (for example a relative or EMT), or any observation made about th - An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + An action that is or was performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. - The kind of change that happened to the device during the procedure. + The kind of change that happened to the device during the procedure. - The device that was manipulated (changed) during the procedure. + The device that was manipulated (changed) during the procedure. @@ -17391,30 +17576,30 @@ other observer (for example a relative or EMT), or any observation made about th - The procedure is still occurring + The procedure is still occurring - The procedure was terminated without completing successfully + The procedure was terminated without completing successfully - All actions involved in the procedure have taken place + All actions involved in the procedure have taken place - The statement was entered in error and Is not valid + The statement was entered in error and Is not valid - A code specifying the state of the procedure record - If the element is present, it must have either a @value, an @id, or extensions + A code specifying the state of the procedure record + If the element is present, it must have either a @value, an @id, or extensions @@ -17426,20 +17611,20 @@ other observer (for example a relative or EMT), or any observation made about th - This procedure had to be performed because of the related one + This procedure had to be performed because of the related one - This procedure caused the related one to be performed + This procedure caused the related one to be performed - The nature of the relationship with this procedure - If the element is present, it must have either a @value, an @id, or extensions + The nature of the relationship with this procedure + If the element is present, it must have either a @value, an @id, or extensions @@ -17449,45 +17634,45 @@ other observer (for example a relative or EMT), or any observation made about th - A request for a procedure to be performed. May be a proposal or an order. + A request for a procedure to be performed. May be a proposal or an order. - A request for a procedure to be performed. May be a proposal or an order. - If the element is present, it must have either a @value, an @id, or extensions + A request for a procedure to be performed. May be a proposal or an order. + If the element is present, it must have either a @value, an @id, or extensions - Identifiers assigned to this order by the order or by the receiver. + Identifiers assigned to this order by the order or by the receiver. - The patient who will receive the procedure. + The patient who will receive the procedure. - The specific procedure that is ordered. Use text if the exact nature of the procedure can't be coded. + The specific procedure that is ordered. Use text if the exact nature of the procedure can't be coded. - Indicates the sites on the subject's body where the procedure should be performed ( i.e. the target sites). + Indicates the sites on the subject's body where the procedure should be performed ( i.e. the target sites). - The reason why the procedure is proposed or ordered. This procedure request may be motivated by a Condition for instance. + The reason why the procedure is proposed or ordered. This procedure request may be motivated by a Condition for instance. - The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". @@ -17495,44 +17680,44 @@ other observer (for example a relative or EMT), or any observation made about th - The encounter within which the procedure proposal or request was created. + The encounter within which the procedure proposal or request was created. - E.g. surgeon, anaethetist, endoscopist. + E.g. surgeon, anaethetist, endoscopist. - The status of the order. + The status of the order. - Any other notes associated with this proposal or order - e.g., provider instructions. + Any other notes associated with this proposal or order - e.g., provider instructions. - If a CodeableConcept is present, it indicates the pre-condition for performing the procedure. + If a CodeableConcept is present, it indicates the pre-condition for performing the procedure. - The time when the request was made. + The time when the request was made. - The healthcare professional responsible for proposing or ordering the procedure. + The healthcare professional responsible for proposing or ordering the procedure. - The clinical priority associated with this order. + The clinical priority associated with this order. @@ -17541,14 +17726,14 @@ other observer (for example a relative or EMT), or any observation made about th - A request for a procedure to be performed. May be a proposal or an order. + A request for a procedure to be performed. May be a proposal or an order. - Indicates the site on the subject's body where the procedure should be performed ( i.e. the target sites). + Indicates the site on the subject's body where the procedure should be performed ( i.e. the target sites). @@ -17561,60 +17746,60 @@ other observer (for example a relative or EMT), or any observation made about th - The request has been proposed + The request has been proposed - The request is in preliminary form, prior to being requested + The request is in preliminary form, prior to being requested - The request has been placed + The request has been placed - The receiving system has received the request but not yet decided whether it will be performed + The receiving system has received the request but not yet decided whether it will be performed - The receiving system has accepted the request, but work has not yet commenced + The receiving system has accepted the request, but work has not yet commenced - The work to fulfill the request is happening + The work to fulfill the request is happening - The work has been complete, the report(s) released, and no further work is planned + The work has been complete, the report(s) released, and no further work is planned - The request has been held by originating system/user request + The request has been held by originating system/user request - The receiving system has declined to fulfill the request + The receiving system has declined to fulfill the request - The request was attempted, but due to some procedural error, it could not be completed + The request was attempted, but due to some procedural error, it could not be completed - The status of the request - If the element is present, it must have either a @value, an @id, or extensions + The status of the request + If the element is present, it must have either a @value, an @id, or extensions @@ -17626,30 +17811,30 @@ other observer (for example a relative or EMT), or any observation made about th - The request has a normal priority. + The request has a normal priority. - The request should be done urgently. + The request should be done urgently. - The request is time-critical. + The request is time-critical. - The request should be acted on as soon as possible. + The request should be acted on as soon as possible. - The priority of the request - If the element is present, it must have either a @value, an @id, or extensions + The priority of the request + If the element is present, it must have either a @value, an @id, or extensions @@ -17659,95 +17844,95 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. + If the element is present, it must have either a @value, an @id, or extensions - The type of procesing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest. + The type of procesing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest. - The ProcessRequest Business Identifier. + The ProcessRequest Business Identifier. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when this resource was created. + The date when this resource was created. - The organization which is target of the request. + The organization which is target of the request. - The practitioner who is responsible for the action specified in thise request. + The practitioner who is responsible for the action specified in thise request. - The organization which is responsible for the action speccified in thise request. + The organization which is responsible for the action speccified in thise request. - Reference of resource which is the target or subject of this action. + Reference of resource which is the target or subject of this action. - Reference of a prior response to resource which is the target or subject of this action. + Reference of a prior response to resource which is the target or subject of this action. - If true remove all history excluding audit. + If true remove all history excluding audit. - A reference to supply which authenticates the process. + A reference to supply which authenticates the process. - List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated. + List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated. - Names of resource types to include. + Names of resource types to include. - Names of resource types to exclude. + Names of resource types to exclude. - A period of time during which the fulfilling resources would have been created. + A period of time during which the fulfilling resources would have been created. @@ -17756,14 +17941,14 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - A service line number. + A service line number. @@ -17774,30 +17959,30 @@ other observer (for example a relative or EMT), or any observation made about th - Cancel, Reverse or nullify the target resource. + Cancel, Reverse or nullify the target resource. - Check for previously un-read/ not-retrieved resources + Check for previously un-read/ not-retrieved resources - Re-process the target resource. + Re-process the target resource. - Retrieve the processing status of the target resource. + Retrieve the processing status of the target resource. - List of allowable action which this resource can request - If the element is present, it must have either a @value, an @id, or extensions + List of allowable action which this resource can request + If the element is present, it must have either a @value, an @id, or extensions @@ -17807,80 +17992,80 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides processing status, errors and notes from the processing of a resource. + This resource provides processing status, errors and notes from the processing of a resource. - This resource provides processing status, errors and notes from the processing of a resource. - If the element is present, it must have either a @value, an @id, or extensions + This resource provides processing status, errors and notes from the processing of a resource. + If the element is present, it must have either a @value, an @id, or extensions - The Response Business Identifier. + The Response Business Identifier. - Original request resource reference. + Original request resource reference. - Transaction status: error, complete, held. + Transaction status: error, complete, held. - A description of the status of the adjudication or processing. + A description of the status of the adjudication or processing. - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - The style (standard) and version of the original material which was converted into this resource. + The style (standard) and version of the original material which was converted into this resource. - The date when the enclosed suite of services were performed or completed. + The date when the enclosed suite of services were performed or completed. - The organization who produced this adjudicated response. + The organization who produced this adjudicated response. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the services rendered to the patient. - The organization which is responsible for the services rendered to the patient. + The organization which is responsible for the services rendered to the patient. - The form to be used for printing the content. + The form to be used for printing the content. - Suite of processing note or additional requirements is the processing has been held. + Suite of processing note or additional requirements is the processing has been held. - Processing errors. + Processing errors. @@ -17889,19 +18074,19 @@ other observer (for example a relative or EMT), or any observation made about th - This resource provides processing status, errors and notes from the processing of a resource. + This resource provides processing status, errors and notes from the processing of a resource. - The note purpose: Print/Display. + The note purpose: Print/Display. - The note text. + The note text. @@ -17910,60 +18095,60 @@ other observer (for example a relative or EMT), or any observation made about th - Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. - Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. - If the element is present, it must have either a @value, an @id, or extensions + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. + If the element is present, it must have either a @value, an @id, or extensions - The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity. + The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity. - The period during which the activity occurred. + The period during which the activity occurred. - The instant of time at which the activity was recorded. + The instant of time at which the activity was recorded. - The reason that the activity was taking place. + The reason that the activity was taking place. - Where the activity occurred, if relevant. + Where the activity occurred, if relevant. - Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc. + Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc. - An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility. + An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility. - An entity used in this activity. + An entity used in this activity. - A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated. + A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated. @@ -17972,31 +18157,24 @@ other observer (for example a relative or EMT), or any observation made about th - Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. - The function of the agent with respect to the activity. + The function of the agent with respect to the activity. - + - The type of participation of the agent. + The individual, device or organization that participated in the event. - + - Identity of participant as a Resource or uri. - - - - - - - Human-readable description of the participant. + The identify of the agent as known by the authorization system. @@ -18005,34 +18183,34 @@ other observer (for example a relative or EMT), or any observation made about th - Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. - How the entity was used during the activity. + How the entity was used during the activity. - The type of the entity. If the entity is a resource, then this is a resource type. + The type of the entity. If the entity is a resource, then this is a resource type. - Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. + Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. - Human-readable description of the entity. + Human-readable description of the entity. - The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity. + The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity. @@ -18043,30 +18221,30 @@ other observer (for example a relative or EMT), or any observation made about th - A transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a preexisting entity + A transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a preexisting entity - A derivation for which the resulting entity is a revised version of some original. + A derivation for which the resulting entity is a revised version of some original. - The repeat of (some or all of) an entity, such as text or image, by someone who may or may not be its original author + The repeat of (some or all of) an entity, such as text or image, by someone who may or may not be its original author - A primary source for a topic refers to something produced by some agent with direct experience and knowledge about the topic, at the time of the topic's study, without benefit from hindsight. + A primary source for a topic refers to something produced by some agent with direct experience and knowledge about the topic, at the time of the topic's study, without benefit from hindsight. - How an entity was used in an activity - If the element is present, it must have either a @value, an @id, or extensions + How an entity was used in an activity + If the element is present, it must have either a @value, an @id, or extensions @@ -18076,50 +18254,50 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - If the element is present, it must have either a @value, an @id, or extensions + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + If the element is present, it must have either a @value, an @id, or extensions - This records identifiers associated with this question set that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this question set that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated. + The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated. - The lifecycle status of the questionnaire as a whole. + The lifecycle status of the questionnaire as a whole. - The date that this questionnaire was last changed. + The date that this questionnaire was last changed. - Organization or person responsible for developing and maintaining the questionnaire. + Organization or person responsible for developing and maintaining the questionnaire. - Contact details to assist a user in finding and communicating with the publisher. + Contact details to assist a user in finding and communicating with the publisher. - A collection of related questions (or further groupings of questions). + A collection of related questions (or further groupings of questions). @@ -18128,49 +18306,49 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a QuestionnaireAnswers resource. + An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a QuestionnaireAnswers resource. - The human-readable name for this section of the questionnaire. + The human-readable name for this section of the questionnaire. - Identifies a how this group of questions is known in a particular terminology such as LOINC. + Identifies a how this group of questions is known in a particular terminology such as LOINC. - Additional text for the group, used for display purposes. + Additional text for the group, used for display purposes. - If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire. + If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire. - Whether the group may occur multiple times in the instance, containing multiple sets of answers. + Whether the group may occur multiple times in the instance, containing multiple sets of answers. - A sub-group within a group. The ordering of groups within this group is relevant. + A sub-group within a group. The ordering of groups within this group is relevant. - Set of questions within this group. The order of questions within the group is relevant. + Set of questions within this group. The order of questions within the group is relevant. @@ -18179,49 +18357,49 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireAnswers]]] resource. + An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireAnswers]]] resource. - Identifies a how this question is known in a particular terminology such as LOINC. + Identifies a how this question is known in a particular terminology such as LOINC. - The actual question as shown to the user to prompt them for an answer. + The actual question as shown to the user to prompt them for an answer. - The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected. + The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected. - If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire. + If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire. - If true, the question may have more than one answer. + If true, the question may have more than one answer. - Reference to a valueset containing the possible options. + Reference to a valueset containing the possible options. - Nested group, containing nested question for this question. The order of groups within the question is relevant. + Nested group, containing nested question for this question. The order of groups within the question is relevant. @@ -18232,25 +18410,25 @@ other observer (for example a relative or EMT), or any observation made about th - This Questionnaire is not ready for official use. + This Questionnaire is not ready for official use. - This Questionnaire is ready for use. + This Questionnaire is ready for use. - This Questionnaire should no longer be used to gather data. + This Questionnaire should no longer be used to gather data. - Lifecycle status of the questionnaire - If the element is present, it must have either a @value, an @id, or extensions + Lifecycle status of the questionnaire + If the element is present, it must have either a @value, an @id, or extensions @@ -18262,85 +18440,85 @@ other observer (for example a relative or EMT), or any observation made about th - Answer is a yes/no answer + Answer is a yes/no answer - Answer is a floating point number + Answer is a floating point number - Answer is an integer + Answer is an integer - Answer is a date + Answer is a date - Answer is a date and time + Answer is a date and time - Answer is a system timestamp + Answer is a system timestamp - Answer is a time independent of date + Answer is a time independent of date - Answer is a short (few words to short sentence) free-text entry + Answer is a short (few words to short sentence) free-text entry - Answer is a long (potentially multi-paragram) free-text entry + Answer is a long (potentially multi-paragram) free-text entry - Answer is a url (website, FTP site, etc.) + Answer is a url (website, FTP site, etc.) - Answer is a choice from a list of options + Answer is a choice from a list of options - Answer is a choice from a list of options or a free-text entry + Answer is a choice from a list of options or a free-text entry - Answer is binary content such as a image, PDF, etc. + Answer is binary content such as a image, PDF, etc. - Answer is a reference to another resource (practitioner, organization, etc.) + Answer is a reference to another resource (practitioner, organization, etc.) - Answer is a combination of a numeric value and unit + Answer is a combination of a numeric value and unit - The expected format of an answer - If the element is present, it must have either a @value, an @id, or extensions + The expected format of an answer + If the element is present, it must have either a @value, an @id, or extensions @@ -18350,60 +18528,60 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - If the element is present, it must have either a @value, an @id, or extensions + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + If the element is present, it must have either a @value, an @id, or extensions - A business identifier assigned to a particular completed (or partially completed) questionnaire. + A business identifier assigned to a particular completed (or partially completed) questionnaire. - Indicates the Questionnaire resource that defines the form for which answers are being provided. + Indicates the Questionnaire resource that defines the form for which answers are being provided. - The lifecycle status of the questionnaire answers as a whole. + The lifecycle status of the questionnaire answers as a whole. - The subject of the questionnaire answers. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information. + The subject of the questionnaire answers. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information. - Person who received the answers to the questions in the QuestionnaireAnswers and recorded them in the system. + Person who received the answers to the questions in the QuestionnaireAnswers and recorded them in the system. - The date and/or time that this version of the questionnaire answers was authored. + The date and/or time that this version of the questionnaire answers was authored. - The person who answered the questions about the subject. + The person who answered the questions about the subject. - Encounter during which this set of questionnaire answers were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers. + Encounter during which this set of questionnaire answers were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers. - A group of questions to a possibly similarly grouped set of questions in the questionnaire answers. + A group of questions to a possibly similarly grouped set of questions in the questionnaire answers. @@ -18412,39 +18590,39 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireAnswers resource. + Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireAnswers resource. - Text that is displayed above the contents of the group. + Text that is displayed above the contents of the group. - Additional text for the group, used for display purposes. + Additional text for the group, used for display purposes. - More specific subject this section's answers are about, details the subject given in QuestionnaireAnswers. + More specific subject this section's answers are about, details the subject given in QuestionnaireAnswers. - A sub-group within a group. The ordering of groups within this group is relevant. + A sub-group within a group. The ordering of groups within this group is relevant. - Set of questions within this group. The order of questions within the group is relevant. + Set of questions within this group. The order of questions within the group is relevant. @@ -18453,29 +18631,29 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireAnswers resource. + Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireAnswers resource. - The actual question as shown to the user to prompt them for an answer. + The actual question as shown to the user to prompt them for an answer. - The respondent's answer(s) to the question. + The respondent's answer(s) to the question. - Nested group, containing nested question for this question. The order of groups within the question is relevant. + Nested group, containing nested question for this question. The order of groups within the question is relevant. @@ -18484,14 +18662,14 @@ other observer (for example a relative or EMT), or any observation made about th - A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - The answer (or one of the answers) provided by the respondant to the question. + The answer (or one of the answers) provided by the respondant to the question. @@ -18515,25 +18693,25 @@ other observer (for example a relative or EMT), or any observation made about th - This QuestionnaireAnswers has been partially filled out with answers, but changes or additions are still expected to be made to it. + This QuestionnaireAnswers has been partially filled out with answers, but changes or additions are still expected to be made to it. - This QuestionnaireAnswers has been filled out with answers, and the current content is regarded as definitive. + This QuestionnaireAnswers has been filled out with answers, and the current content is regarded as definitive. - This QuestionnaireAnswers has been filled out with answers, then marked as complete, yet changes or additions have been made to it afterwards. + This QuestionnaireAnswers has been filled out with answers, then marked as complete, yet changes or additions have been made to it afterwards. - Lifecycle status of the questionnaire answers - If the element is present, it must have either a @value, an @id, or extensions + Lifecycle status of the questionnaire answers + If the element is present, it must have either a @value, an @id, or extensions @@ -18543,90 +18721,90 @@ other observer (for example a relative or EMT), or any observation made about th - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. - If the element is present, it must have either a @value, an @id, or extensions + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + If the element is present, it must have either a @value, an @id, or extensions - The workflow status of the referral or transfer of care request. + The workflow status of the referral or transfer of care request. - Business Id that uniquely identifies the referral/care transfer request instance. + Business Id that uniquely identifies the referral/care transfer request instance. - An indication of the type of referral (or where applicable the type of transfer of care) request. + An indication of the type of referral (or where applicable the type of transfer of care) request. - Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. + Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. - An indication of the urgency of referral (or where applicable the type of transfer of care) request. + An indication of the urgency of referral (or where applicable the type of transfer of care) request. - The patient who is the subject of a referral or transfer of care request. + The patient who is the subject of a referral or transfer of care request. - The healthcare provider or provider organization who/which initaited the referral/transfer of care request. Can also be Patient (a self referral). + The healthcare provider or provider organization who/which initaited the referral/transfer of care request. Can also be Patient (a self referral). - The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request. + The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request. - The encounter at which the request for referral or transfer of care is initiated. + The encounter at which the request for referral or transfer of care is initiated. - Date/DateTime the request for referral or transfer of care is sent by the author. + Date/DateTime the request for referral or transfer of care is sent by the author. - Description of clinical condition indicating why referral/transfer of care is requested. + Description of clinical condition indicating why referral/transfer of care is requested. - The reason gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary. + The reason gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary. - The service(s) that is/are requested to be provided to the patient. + The service(s) that is/are requested to be provided to the patient. - Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. + Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. - The period of time within which the services identified in the referral/transfer of care is specified or required to occur. + The period of time within which the services identified in the referral/transfer of care is specified or required to occur. @@ -18637,45 +18815,45 @@ other observer (for example a relative or EMT), or any observation made about th - A draft referral that has yet to be send + A draft referral that has yet to be send - The referral has been transmitted, but not yet acknowledged by the recipient + The referral has been transmitted, but not yet acknowledged by the recipient - The referral has been acknowledged by the recipient, and is in the process of being actioned + The referral has been acknowledged by the recipient, and is in the process of being actioned - The referral has been cancelled without being completed. For example it is no longer needed + The referral has been cancelled without being completed. For example it is no longer needed - The recipient has agreed to deliver the care requested by the referral + The recipient has agreed to deliver the care requested by the referral - The recipient has declined to accept the referral + The recipient has declined to accept the referral - The referral has been completely actioned + The referral has been completely actioned - The status of the referral - If the element is present, it must have either a @value, an @id, or extensions + The status of the referral + If the element is present, it must have either a @value, an @id, or extensions @@ -18685,60 +18863,65 @@ other observer (for example a relative or EMT), or any observation made about th - Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. - Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. - If the element is present, it must have either a @value, an @id, or extensions + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + If the element is present, it must have either a @value, an @id, or extensions - Identifier for a person within a particular scope. + Identifier for a person within a particular scope. - The patient this person is related to. + The patient this person is related to. - The nature of the relationship between a patient and the related person. + The nature of the relationship between a patient and the related person. - A name associated with the person. + A name associated with the person. - A contact detail for the person, e.g. a telephone number or an email address. + A contact detail for the person, e.g. a telephone number or an email address. - Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + + + + + The date on which the related person was born. - Address where the related person can be contacted or visited. + Address where the related person can be contacted or visited. - Image of the person. + Image of the person. - The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown. + The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown. @@ -18747,60 +18930,60 @@ other observer (for example a relative or EMT), or any observation made about th - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. - If the element is present, it must have either a @value, an @id, or extensions + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + If the element is present, it must have either a @value, an @id, or extensions - The patient or group the risk assessment applies to. + The patient or group the risk assessment applies to. - The date (and possibly time) the risk assessment was performed. + The date (and possibly time) the risk assessment was performed. - For assessments or prognosis specific to a particular condition, indicates the condition being assessed. + For assessments or prognosis specific to a particular condition, indicates the condition being assessed. - The provider or software application that performed the assessment. + The provider or software application that performed the assessment. - Business identifier assigned to the risk assessment. + Business identifier assigned to the risk assessment. - The algorithm, processs or mechanism used to evaluate the risk. + The algorithm, processs or mechanism used to evaluate the risk. - Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.). + Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.). - Describes the expected outcome for the subject. + Describes the expected outcome for the subject. - A description of the steps that might be taken to reduce the identified risk(s). + A description of the steps that might be taken to reduce the identified risk(s). @@ -18809,19 +18992,19 @@ other observer (for example a relative or EMT), or any observation made about th - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. - One of the potential outcomes for the patient (e.g. remission, death, a particular condition). + One of the potential outcomes for the patient (e.g. remission, death, a particular condition). - How likely is the outcome (in the specified timeframe). + How likely is the outcome (in the specified timeframe). @@ -18829,19 +19012,19 @@ other observer (for example a relative or EMT), or any observation made about th - Indicates the risk for this particular subject (with their specific characteristics) divided by the risk of the population in general. (Numbers greater than 1 = higher risk than the population, numbers less than 1 = lower risk.). + Indicates the risk for this particular subject (with their specific characteristics) divided by the risk of the population in general. (Numbers greater than 1 = higher risk than the population, numbers less than 1 = lower risk.). - Indicates the period of time or age range of the subject to which the specified probability applies. + Indicates the period of time or age range of the subject to which the specified probability applies. - Additional information explaining the basis for the prediction. + Additional information explaining the basis for the prediction. @@ -18850,40 +19033,40 @@ other observer (for example a relative or EMT), or any observation made about th - A container for slot(s) of time that may be available for booking appointments. + A container for slot(s) of time that may be available for booking appointments. - A container for slot(s) of time that may be available for booking appointments. - If the element is present, it must have either a @value, an @id, or extensions + A container for slot(s) of time that may be available for booking appointments. + If the element is present, it must have either a @value, an @id, or extensions - External Ids for this item. + External Ids for this item. - The schedule type can be used for the categorization of healthcare services or other appointment types. + The schedule type can be used for the categorization of healthcare services or other appointment types. - The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson. + The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson. - The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates. + The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates. - Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated. + Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated. @@ -18892,80 +19075,80 @@ other observer (for example a relative or EMT), or any observation made about th - A Search Parameter that defines a named search item that can be used to search/filter on a resource. + A Search Parameter that defines a named search item that can be used to search/filter on a resource. - A Search Parameter that defines a named search item that can be used to search/filter on a resource. - If the element is present, it must have either a @value, an @id, or extensions + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + If the element is present, it must have either a @value, an @id, or extensions - An absolute URL at which this search parameter is (or will be) published, and which is used to reference this profile in conformance statements. + An absolute URL at which this search parameter is (or will be) published, and which is used to reference this profile in conformance statements. - The name of the standard or custom search parameter. + The name of the standard or custom search parameter. - The name of the individual or organization that published the search parameter. + The name of the individual or organization that published the search parameter. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - The Scope and Usage that this search parameter was created to meet. + The Scope and Usage that this search parameter was created to meet. - The status of this search parameter definition. + The status of this search parameter definition. - A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The date (and optionally time) when the search parameter definition was published. + The date (and optionally time) when the search parameter definition was published. - The base resource type that this search parameter refers to. + The base resource type that this search parameter refers to. - The type of value a search parameter refers to, and how the content is interpreted. + The type of value a search parameter refers to, and how the content is interpreted. - A description of the search parameters and how it used. + A description of the search parameters and how it used. - An XPath expression that returns a set of elements for the search parameter. + An XPath expression that returns a set of elements for the search parameter. - Types of resource (if a resource is referenced). + Types of resource (if a resource is referenced). @@ -18974,19 +19157,19 @@ other observer (for example a relative or EMT), or any observation made about th - A Search Parameter that defines a named search item that can be used to search/filter on a resource. + A Search Parameter that defines a named search item that can be used to search/filter on a resource. - The name of an individual to contact regarding the search parameter. + The name of an individual to contact regarding the search parameter. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -18995,55 +19178,55 @@ other observer (for example a relative or EMT), or any observation made about th - A slot of time on a schedule that may be available for booking appointments. + A slot of time on a schedule that may be available for booking appointments. - A slot of time on a schedule that may be available for booking appointments. - If the element is present, it must have either a @value, an @id, or extensions + A slot of time on a schedule that may be available for booking appointments. + If the element is present, it must have either a @value, an @id, or extensions - External Ids for this item. + External Ids for this item. - The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource. + The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource. - The schedule resource that this slot defines an interval of status information. + The schedule resource that this slot defines an interval of status information. - BUSY | FREE | BUSY-UNAVAILABLE | BUSY-TENTATIVE. + BUSY | FREE | BUSY-UNAVAILABLE | BUSY-TENTATIVE. - Date/Time that the slot is to begin. + Date/Time that the slot is to begin. - Date/Time that the slot is to conclude. + Date/Time that the slot is to conclude. - This slot has already been overbooked, appointments are unlikely to be accepted for this time. + This slot has already been overbooked, appointments are unlikely to be accepted for this time. - Comments on the slot to describe any extended information. Such as custom constraints on the slot. + Comments on the slot to describe any extended information. Such as custom constraints on the slot. @@ -19054,30 +19237,30 @@ other observer (for example a relative or EMT), or any observation made about th - Indicates that the time interval is busy because one or more events have been scheduled for that interval. + Indicates that the time interval is busy because one or more events have been scheduled for that interval. - Indicates that the time interval is free for scheduling. + Indicates that the time interval is free for scheduling. - Indicates that the time interval is busy and that the interval can not be scheduled. + Indicates that the time interval is busy and that the interval can not be scheduled. - Indicates that the time interval is busy because one or more events have been tentatively scheduled for that interval + Indicates that the time interval is busy because one or more events have been tentatively scheduled for that interval - The free/busy status of a slot - If the element is present, it must have either a @value, an @id, or extensions + The free/busy status of a slot + If the element is present, it must have either a @value, an @id, or extensions @@ -19087,60 +19270,60 @@ other observer (for example a relative or EMT), or any observation made about th - Sample for analysis. + Sample for analysis. - Sample for analysis. - If the element is present, it must have either a @value, an @id, or extensions + Sample for analysis. + If the element is present, it must have either a @value, an @id, or extensions - Id for specimen. + Id for specimen. - The kind of material that forms the specimen. + The kind of material that forms the specimen. - Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of a another specimen. + Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of a another specimen. - Where the specimen came from. This may be from the patient(s) or from the environment or a device. + Where the specimen came from. This may be from the patient(s) or from the environment or a device. - The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures. + The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures. - Time when specimen was received for processing or testing. + Time when specimen was received for processing or testing. - Details concerning the specimen collection. + Details concerning the specimen collection. - Details concerning treatment and processing steps for the specimen. + Details concerning treatment and processing steps for the specimen. - The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here. + The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here. @@ -19149,41 +19332,41 @@ other observer (for example a relative or EMT), or any observation made about th - Sample for analysis. + Sample for analysis. - Person who collected the specimen. + Person who collected the specimen. - To communicate any details or issues encountered during the specimen collection procedure. + To communicate any details or issues encountered during the specimen collection procedure. - Time when specimen was collected from subject - the physiologically relevant time. + Time when specimen was collected from subject - the physiologically relevant time. - The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample. + The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample. - A coded value specifying the technique that is used to perform the procedure. + A coded value specifying the technique that is used to perform the procedure. - Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens. + Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens. @@ -19194,24 +19377,24 @@ other observer (for example a relative or EMT), or any observation made about th - Sample for analysis. + Sample for analysis. - Textual description of procedure. + Textual description of procedure. - A coded value specifying the procedure used to process the specimen. + A coded value specifying the procedure used to process the specimen. - Material used in the processing step. + Material used in the processing step. @@ -19220,39 +19403,39 @@ other observer (for example a relative or EMT), or any observation made about th - Sample for analysis. + Sample for analysis. - Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances. + Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances. - Textual description of the container. + Textual description of the container. - The type of container associated with the specimen (e.g. slide, aliquot, etc). + The type of container associated with the specimen (e.g. slide, aliquot, etc). - The capacity (volume or other measure) the container may contain. + The capacity (volume or other measure) the container may contain. - The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type. + The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type. - Introduced substance to preserve, maintain or enhance the specimen. examples: Formalin, Citrate, EDTA. + Introduced substance to preserve, maintain or enhance the specimen. examples: Formalin, Citrate, EDTA. @@ -19263,135 +19446,135 @@ other observer (for example a relative or EMT), or any observation made about th - A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - If the element is present, it must have either a @value, an @id, or extensions + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + If the element is present, it must have either a @value, an @id, or extensions - An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems. + An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and meta.profile in operational FHIR systems. - Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). + Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). - The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually. + The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually. - A free text natural language name identifying the StructureDefinition. + A free text natural language name identifying the StructureDefinition. - The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions. + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions. - Defined so that applications can use this name when displaying the value of the extension to the user. + Defined so that applications can use this name when displaying the value of the extension to the user. - The name of the individual or organization that published the structure definition. + The name of the individual or organization that published the structure definition. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the StructureDefinition and its use. + A free text natural language description of the StructureDefinition and its use. - Explains why this structure definition is needed and why it's been constrained as it has. + Explains why this structure definition is needed and why it's been constrained as it has. - A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. + A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. - A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + A set of terms from external terminologies that may be used to assist with indexing and searching of templates. - The status of the StructureDefinition. + The status of the StructureDefinition. - This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The date that this version of the StructureDefinition was published. + The date that this version of the StructureDefinition was published. - The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version. + The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.5.0 for this version. - An external specification that the content is mapped to. + An external specification that the content is mapped to. - Defines the type of structure that this definition is describing. + Defines the type of structure that this definition is describing. - Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type. + Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type. - If this is an extension, Identifies the context within FHIR resources where the extension can be used. + If this is an extension, Identifies the context within FHIR resources where the extension can be used. - Identifies the types of resource or data type elements to which the extension can be applied. + Identifies the types of resource or data type elements to which the extension can be applied. - An absolute URI that is the base structure from which this set of constraints is derived. + An absolute URI that is the base structure from which this set of constraints is derived. - A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition. + A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition. - A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies. + A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies. @@ -19400,19 +19583,19 @@ other observer (for example a relative or EMT), or any observation made about th - A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - The name of an individual to contact regarding the structure definition. + The name of an individual to contact regarding the structure definition. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -19421,29 +19604,29 @@ other observer (for example a relative or EMT), or any observation made about th - A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - An Internal id that is used to identify this mapping set when specific mappings are made. + An Internal id that is used to identify this mapping set when specific mappings are made. - An absolute URI that identifies the specification that this mapping is expressed to. + An absolute URI that identifies the specification that this mapping is expressed to. - A name for the specification that is being mapped to. + A name for the specification that is being mapped to. - Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. + Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. @@ -19452,14 +19635,14 @@ other observer (for example a relative or EMT), or any observation made about th - A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - Captures constraints on each element within the resource. + Captures constraints on each element within the resource. @@ -19468,14 +19651,14 @@ other observer (for example a relative or EMT), or any observation made about th - A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - Captures constraints on each element within the resource. + Captures constraints on each element within the resource. @@ -19486,30 +19669,30 @@ other observer (for example a relative or EMT), or any observation made about th - The context is all elements matching a particular resource element path + The context is all elements matching a particular resource element path - The context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name) + The context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name) - The context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used + The context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used - The context is a particular extension from a particular profile. Expressed as uri#name, where uri identifies the profile and #name identifies the extension code + The context is a particular extension from a particular profile. Expressed as uri#name, where uri identifies the profile and #name identifies the extension code - How an extension context is interpreted - If the element is present, it must have either a @value, an @id, or extensions + How an extension context is interpreted + If the element is present, it must have either a @value, an @id, or extensions @@ -19521,30 +19704,30 @@ other observer (for example a relative or EMT), or any observation made about th - A data type - either a primitive or complex structure that defines a set of data elements. These can be used throughout Resource and extension definitions + A data type - either a primitive or complex structure that defines a set of data elements. These can be used throughout Resource and extension definitions - A resource defined by the FHIR specification + A resource defined by the FHIR specification - A set of constraints on a resource or data type that describe how it is used for a particular use + A set of constraints on a resource or data type that describe how it is used for a particular use - A definition of an extension that can be used in a FHIR resource (or a set of constraints on an exsting extension) + A definition of an extension that can be used in a FHIR resource (or a set of constraints on an exsting extension) - Defines the type of structure that a definition is describing - If the element is present, it must have either a @value, an @id, or extensions + Defines the type of structure that a definition is describing + If the element is present, it must have either a @value, an @id, or extensions @@ -19554,55 +19737,55 @@ other observer (for example a relative or EMT), or any observation made about th - The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. - The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. - If the element is present, it must have either a @value, an @id, or extensions + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. + If the element is present, it must have either a @value, an @id, or extensions - The rules that the server should use to determine when to generate notifications for this subscription. + The rules that the server should use to determine when to generate notifications for this subscription. - Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting. + Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting. - A description of why this subscription is defined. + A description of why this subscription is defined. - The status of the subscription, which marks the server state for managing the subscription. + The status of the subscription, which marks the server state for managing the subscription. - A record of the last error that occurred when the server processed a notification. + A record of the last error that occurred when the server processed a notification. - Details where to send notifications when resources are received that meet the criteria. + Details where to send notifications when resources are received that meet the criteria. - The time for the server to turn the subscription off. + The time for the server to turn the subscription off. - A tag to add to any resource that matches the criteria, after the subscription is processed. + A tag to add to any resource that matches the criteria, after the subscription is processed. @@ -19611,29 +19794,29 @@ other observer (for example a relative or EMT), or any observation made about th - The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. - The type of channel to send notififcations on. + The type of channel to send notififcations on. - The uri that describes tha actual end point to send messages to. + The uri that describes tha actual end point to send messages to. - The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification. + The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification. - Additional headers / information to send as part of the notification. + Additional headers / information to send as part of the notification. @@ -19644,30 +19827,30 @@ other observer (for example a relative or EMT), or any observation made about th - The client has requested the subscription, and the server has not yet set it up + The client has requested the subscription, and the server has not yet set it up - The subscription is active + The subscription is active - The server has an error executing the notification + The server has an error executing the notification - Too many errors have occurred or the subscription has expired + Too many errors have occurred or the subscription has expired - The status of a subscription - If the element is present, it must have either a @value, an @id, or extensions + The status of a subscription + If the element is present, it must have either a @value, an @id, or extensions @@ -19679,35 +19862,35 @@ other observer (for example a relative or EMT), or any observation made about th - The channel is executed by making a post to the URI. If a payload is included, the URL is interpreted as the service base, and an update (PUT) is made + The channel is executed by making a post to the URI. If a payload is included, the URL is interpreted as the service base, and an update (PUT) is made - The channel is executed by sending a packet across a web socket connection maintained by the client. The URL identifies the websocket, and the client binds to this URL + The channel is executed by sending a packet across a web socket connection maintained by the client. The URL identifies the websocket, and the client binds to this URL - The channel is executed by sending an email to the email addressed in the URI (which must be a mailto:) + The channel is executed by sending an email to the email addressed in the URI (which must be a mailto:) - The channel is executed by sending an SMS message to the phone number identified in the URL (tel:) + The channel is executed by sending an SMS message to the phone number identified in the URL (tel:) - The channel Is executed by sending a message (e.g. a Bundle with a MessageHeader resource etc) to the application identified in the URI + The channel Is executed by sending a message (e.g. a Bundle with a MessageHeader resource etc) to the application identified in the URI - The type of method used to execute a subscription - If the element is present, it must have either a @value, an @id, or extensions + The type of method used to execute a subscription + If the element is present, it must have either a @value, an @id, or extensions @@ -19717,35 +19900,40 @@ other observer (for example a relative or EMT), or any observation made about th - A homogeneous material with a definite composition. + A homogeneous material with a definite composition. - A homogeneous material with a definite composition. - If the element is present, it must have either a @value, an @id, or extensions + A homogeneous material with a definite composition. + If the element is present, it must have either a @value, an @id, or extensions + + + Unique identifier for the substance. + + - A code (or set of codes) that identify this substance. + A code (or set of codes) that identify this substance. - A description of the substance - its appearance, handling requirements, and other usage notes. + A description of the substance - its appearance, handling requirements, and other usage notes. - + - Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance. + Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance. - A substance can be composed of other substances. + A substance can be composed of other substances. @@ -19754,24 +19942,24 @@ other observer (for example a relative or EMT), or any observation made about th - A homogeneous material with a definite composition. + A homogeneous material with a definite composition. - Identifier associated with the package/container (usually a label affixed directly). + Identifier associated with the package/container (usually a label affixed directly). - When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry. + When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry. - The amount of the substance. + The amount of the substance. @@ -19780,19 +19968,19 @@ other observer (for example a relative or EMT), or any observation made about th - A homogeneous material with a definite composition. + A homogeneous material with a definite composition. - The amount of the ingredient in the substance - a concentration ratio. + The amount of the ingredient in the substance - a concentration ratio. - Another substance that is a component of this substance. + Another substance that is a component of this substance. @@ -19801,45 +19989,45 @@ other observer (for example a relative or EMT), or any observation made about th - A supply - a request for something, and provision of what is supplied. + A supply - a request for something, and provision of what is supplied. - A supply - a request for something, and provision of what is supplied. - If the element is present, it must have either a @value, an @id, or extensions + A supply - a request for something, and provision of what is supplied. + If the element is present, it must have either a @value, an @id, or extensions - Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. + Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. - Unique identifier for this supply request. + Unique identifier for this supply request. - Status of the supply request. + Status of the supply request. - The item that is requested to be supplied. + The item that is requested to be supplied. - A link to a resource representing the person whom the ordered item is for. + A link to a resource representing the person whom the ordered item is for. - Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed. + Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed. @@ -19848,59 +20036,59 @@ other observer (for example a relative or EMT), or any observation made about th - A supply - a request for something, and provision of what is supplied. + A supply - a request for something, and provision of what is supplied. - Identifier assigned by the dispensing facility when the item(s) is dispensed. + Identifier assigned by the dispensing facility when the item(s) is dispensed. - A code specifying the state of the dispense event. + A code specifying the state of the dispense event. - Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. + Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. - The amount of supply that has been dispensed. Includes unit of measure. + The amount of supply that has been dispensed. Includes unit of measure. - Identifies the medication or substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list. + Identifies the medication or substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list. - The individual responsible for dispensing the medication, supplier or device. + The individual responsible for dispensing the medication, supplier or device. - The time the dispense event occurred. + The time the dispense event occurred. - The time the dispensed item was sent or handed to the patient (or agent). + The time the dispensed item was sent or handed to the patient (or agent). - Identification of the facility/location where the Supply was shipped to, as part of the dispense event. + Identification of the facility/location where the Supply was shipped to, as part of the dispense event. - Identifies the person who picked up the Supply. + Identifies the person who picked up the Supply. @@ -19911,25 +20099,25 @@ other observer (for example a relative or EMT), or any observation made about th - Supply has been requested, but not dispensed + Supply has been requested, but not dispensed - Supply is part of a pharmacy order and has been dispensed + Supply is part of a pharmacy order and has been dispensed - Dispensing was not completed + Dispensing was not completed - Status of the dispense - If the element is present, it must have either a @value, an @id, or extensions + Status of the dispense + If the element is present, it must have either a @value, an @id, or extensions @@ -19941,35 +20129,35 @@ other observer (for example a relative or EMT), or any observation made about th - Supply has been requested, but not dispensed + Supply has been requested, but not dispensed - Supply is part of a pharmacy order and has been dispensed + Supply is part of a pharmacy order and has been dispensed - Supply has been received by the requestor + Supply has been received by the requestor - The supply will not be completed because the supplier was unable or unwilling to supply the item + The supply will not be completed because the supplier was unable or unwilling to supply the item - The orderer of the supply cancelled the request + The orderer of the supply cancelled the request - Status of the supply - If the element is present, it must have either a @value, an @id, or extensions + Status of the supply + If the element is present, it must have either a @value, an @id, or extensions @@ -19979,70 +20167,70 @@ other observer (for example a relative or EMT), or any observation made about th - Record of delivery of what is supply. + Record of delivery of what is supply. - Record of delivery of what is supply. - If the element is present, it must have either a @value, an @id, or extensions + Record of delivery of what is supply. + If the element is present, it must have either a @value, an @id, or extensions - Identifier assigned by the dispensing facility when the item(s) is dispensed. + Identifier assigned by the dispensing facility when the item(s) is dispensed. - A code specifying the state of the dispense event. + A code specifying the state of the dispense event. - A link to a resource representing the person whom the delivered item is for. + A link to a resource representing the person whom the delivered item is for. - Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. + Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. - The amount of supply that has been dispensed. Includes unit of measure. + The amount of supply that has been dispensed. Includes unit of measure. - Identifies the medication or substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list. + Identifies the medication or substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list. - The individual responsible for dispensing the medication, supplier or device. + The individual responsible for dispensing the medication, supplier or device. - The time the dispense event occurred. + The time the dispense event occurred. - The time the dispensed item was sent or handed to the patient (or agent). + The time the dispensed item was sent or handed to the patient (or agent). - Identification of the facility/location where the Supply was shipped to, as part of the dispense event. + Identification of the facility/location where the Supply was shipped to, as part of the dispense event. - Identifies the person who picked up the Supply. + Identifies the person who picked up the Supply. @@ -20053,25 +20241,25 @@ other observer (for example a relative or EMT), or any observation made about th - Supply has been requested, but not delivered + Supply has been requested, but not delivered - Supply has been delivered. ( "completed") + Supply has been delivered. ( "completed") - Dispensing was not completed + Dispensing was not completed - Status of the Supply delivery - If the element is present, it must have either a @value, an @id, or extensions + Status of the Supply delivery + If the element is present, it must have either a @value, an @id, or extensions @@ -20081,40 +20269,88 @@ other observer (for example a relative or EMT), or any observation made about th - A supply - a request for something. + A record of a request for a medication, substance or device used in the healthcare setting. - A supply - a request for something. - If the element is present, it must have either a @value, an @id, or extensions + A record of a request for a medication, substance or device used in the healthcare setting. + If the element is present, it must have either a @value, an @id, or extensions - + - Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. + A link to a resource representing the person whom the ordered item is for. + + + + + The Practitioner , Organization or Patient who initiated this order for the Supply. + + + + + When the request was made. - Unique identifier for this supply request. + Unique identifier for this supply request. - Status of the supply request. + Status of the supply request. + + + + + Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. - The item that is requested to be supplied. + The item that is requested to be supplied. - + - A link to a resource representing the person whom the ordered item is for. + Who is intended to fulfill the request. + + + + + Why the supply item was requested. + + + + + + + When the request should be fulfilled. + + + + + + + + + A record of a request for a medication, substance or device used in the healthcare setting. + + + + + + + Fulfilment code. + + + + + Formal fulfillment schedule. @@ -20125,30 +20361,30 @@ other observer (for example a relative or EMT), or any observation made about th - Supply has been requested, but not dispensed + Supply has been requested, but not dispensed - Supply has been received by the requestor + Supply has been received by the requestor - The supply will not be completed because the supplier was unable or unwilling to supply the item + The supply will not be completed because the supplier was unable or unwilling to supply the item - The orderer of the supply cancelled the request + The orderer of the supply cancelled the request - Status of the supply request - If the element is present, it must have either a @value, an @id, or extensions + Status of the supply request + If the element is present, it must have either a @value, an @id, or extensions @@ -20158,50 +20394,50 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - If the element is present, it must have either a @value, an @id, or extensions + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + If the element is present, it must have either a @value, an @id, or extensions - Name of the Test Script. + Name of the Test Script. - Description of the Test Script. + Description of the Test Script. - If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults or missing values to false. + If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults or missing values to false. - Fixture in the test script - either by reference (uri) or embedded (Resource). All fixtures are required for the test script to execute. + Fixture in the test script - either by reference (uri) or embedded (Resource). All fixtures are required for the test script to execute. - A series of required setup operations before tests are executed. + A series of required setup operations before tests are executed. - A test in this script. + A test in this script. - A series of operations required to clean up after the all the tests are executed (successfully or otherwise). + A series of operations required to clean up after the all the tests are executed (successfully or otherwise). @@ -20210,29 +20446,29 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - The URI of the fixture. Each fixture shall have a "uri" or "resource" but not both. The "uri" shall resolve to a valid Resource. The "uri" may be local or remote, absolute or relative. + The URI of the fixture. Each fixture shall have a "uri" or "resource" but not both. The "uri" shall resolve to a valid Resource. The "uri" may be local or remote, absolute or relative. - The fixture resource actually embedded in this TestScript. Each fixture should have a "uri" or "resource" but not both. + The fixture resource actually embedded in this TestScript. Each fixture should have a "uri" or "resource" but not both. - Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section. + Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section. - Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section. + Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section. @@ -20241,14 +20477,14 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - A setup operation. + A setup operation. @@ -20257,44 +20493,44 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - read | vread | update | delete | history | create | search | transaction | conformance | tags | mailbox | document | assertion | assertion_false | assertion_warning. + read | vread | update | delete | history | create | search | transaction | conformance | tags | mailbox | document | assertion | assertion_false | assertion_warning. - The internal id of the fixture used as the body of any operation.type that results in a PUT or POST. + The internal id of the fixture used as the body of any operation.type that results in a PUT or POST. - The id of the fixture used as the target of any operation.type that results in a PUT or POST, or the id of the fixture used to store the results of a GET. + The id of the fixture used as the target of any operation.type that results in a PUT or POST, or the id of the fixture used to store the results of a GET. - Which server to perform the operation on. + Which server to perform the operation on. - Arguments to an operation. + Arguments to an operation. - The fixture id (maybe new) to map to the response. + The fixture id (maybe new) to map to the response. - The content-type or mime-type to use for RESTful operation. + The content-type or mime-type to use for RESTful operation. @@ -20303,29 +20539,29 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - The name of this test. + The name of this test. - A short description of the test. + A short description of the test. - Metadata about this Test. + Metadata about this Test. - Each test must have at least one operation. Operation and assertion elements can be mixed together. + Each test must have at least one operation. Operation and assertion elements can be mixed together. @@ -20334,24 +20570,24 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - A link to the FHIR specification that this test is covering. + A link to the FHIR specification that this test is covering. - The required capability must exist and is assumed to function correctly on the FHIR server being tested. + The required capability must exist and is assumed to function correctly on the FHIR server being tested. - The capability that this test verifies. + The capability that this test verifies. @@ -20360,19 +20596,19 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - URL to a particular requirement or feature within the FHIR specification. + URL to a particular requirement or feature within the FHIR specification. - Short description of the link. + Short description of the link. @@ -20381,24 +20617,24 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - The resource type that the FHIR server must support. + The resource type that the FHIR server must support. - The operations (comma-separated) that the FHIR server must support for the specified resource type. See TestOperationType. + The operations (comma-separated) that the FHIR server must support for the specified resource type. See TestOperationType. - Which server this requirement applies to. + Which server this requirement applies to. @@ -20407,24 +20643,24 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - The resource type that the FHIR server must support. + The resource type that the FHIR server must support. - The operations (comma-separated) that the FHIR server must support for the specified resource type. See TestOperationType. + The operations (comma-separated) that the FHIR server must support for the specified resource type. See TestOperationType. - Which server this validation applies to. + Which server this validation applies to. @@ -20433,44 +20669,44 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - read | vread | update | delete | history | create | search | transaction | conformance | tags | mailbox | document | assertion | assertion_false | assertion_warning. + read | vread | update | delete | history | create | search | transaction | conformance | tags | mailbox | document | assertion | assertion_false | assertion_warning. - The internal id of the fixture used as the body of any operation.type that results in a PUT or POST. + The internal id of the fixture used as the body of any operation.type that results in a PUT or POST. - The id of the fixture used as the target of any operation.type that results in a PUT or POST, or the id of the fixture used to store the results of a GET. + The id of the fixture used as the target of any operation.type that results in a PUT or POST, or the id of the fixture used to store the results of a GET. - Which server to perform the operation on. + Which server to perform the operation on. - Arguments to an operation. + Arguments to an operation. - The fixture id (maybe new) to map to the response. + The fixture id (maybe new) to map to the response. - The content-type or mime-type to use for RESTful operation. + The content-type or mime-type to use for RESTful operation. @@ -20479,14 +20715,14 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - A teardown operation. + A teardown operation. @@ -20495,44 +20731,44 @@ other observer (for example a relative or EMT), or any observation made about th - TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. + TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. - read | vread | update | delete | history | create | search | transaction | conformance | tags | mailbox | document | assertion | assertion_false | assertion_warning. + read | vread | update | delete | history | create | search | transaction | conformance | tags | mailbox | document | assertion | assertion_false | assertion_warning. - The internal id of the fixture used as the body of any operation.type that results in a PUT or POST. + The internal id of the fixture used as the body of any operation.type that results in a PUT or POST. - The id of the fixture used as the target of any operation.type that results in a PUT or POST, or the id of the fixture used to store the results of a GET. + The id of the fixture used as the target of any operation.type that results in a PUT or POST, or the id of the fixture used to store the results of a GET. - Which server to perform the operation on. + Which server to perform the operation on. - Arguments to an operation. + Arguments to an operation. - The fixture id (maybe new) to map to the response. + The fixture id (maybe new) to map to the response. - The content-type or mime-type to use for RESTful operation. + The content-type or mime-type to use for RESTful operation. @@ -20543,20 +20779,20 @@ other observer (for example a relative or EMT), or any observation made about th - XML content-type corresponding to the application/xml+fhir mime-type + XML content-type corresponding to the application/xml+fhir mime-type - JSON content-type corresponding to the application/json+fhir mime-type + JSON content-type corresponding to the application/json+fhir mime-type - The content or mime type. - If the element is present, it must have either a @value, an @id, or extensions + The content or mime type. + If the element is present, it must have either a @value, an @id, or extensions @@ -20568,85 +20804,85 @@ other observer (for example a relative or EMT), or any observation made about th - Read the current state of the resource. + Read the current state of the resource. - Read the state of a specific version of the resource. + Read the state of a specific version of the resource. - Update an existing resource by its id (or create it if it is new). + Update an existing resource by its id (or create it if it is new). - Delete a resource. + Delete a resource. - Retrieve the update history for a particular resource or resource type. + Retrieve the update history for a particular resource or resource type. - Create a new resource with a server assigned id. + Create a new resource with a server assigned id. - Search based on some filter criteria. + Search based on some filter criteria. - Update, create or delete a set of resources as a single transaction. + Update, create or delete a set of resources as a single transaction. - Get a conformance statement for the system. + Get a conformance statement for the system. - Tag operations. + Tag operations. - Not currently supported test operation. + Not currently supported test operation. - Not currently supported test operation. + Not currently supported test operation. - Make an assertion against the result of the last non-assertion operation. + Make an assertion against the result of the last non-assertion operation. - Make a negative or false assertion against the result of the last non-assertion operation. + Make a negative or false assertion against the result of the last non-assertion operation. - Run an assertion function as a warning (instead of a failture) against the result of the last non-assertion operation. + Run an assertion function as a warning (instead of a failture) against the result of the last non-assertion operation. - The allowable operation types. - If the element is present, it must have either a @value, an @id, or extensions + The allowable operation types. + If the element is present, it must have either a @value, an @id, or extensions @@ -20656,110 +20892,110 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - A value set specifies a set of codes drawn from one or more code systems. - If the element is present, it must have either a @value, an @id, or extensions + A value set specifies a set of codes drawn from one or more code systems. + If the element is present, it must have either a @value, an @id, or extensions - An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and can be urn:uuid: or urn:oid:). - Formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance. + Formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance. - Used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + Used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. - A free text natural language name describing the value set. + A free text natural language name describing the value set. - The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of value set definitions. + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of value set definitions. - If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change. + If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change. - The name of the individual or organization that published the value set. + The name of the individual or organization that published the value set. - Contacts to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the use of the value set - reason for definition, "the semantic space" to be included in the value set, conditions of use, etc. The description may include a list of expected usages for the value set and can also describe the approach taken to build the value set. + A free text natural language description of the use of the value set - reason for definition, "the semantic space" to be included in the value set, conditions of use, etc. The description may include a list of expected usages for the value set and can also describe the approach taken to build the value set. - Explains why this value set is needed and why it's been constrained as it has. + Explains why this value set is needed and why it's been constrained as it has. - A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set. + A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set. - The status of the value set. + The status of the value set. - This valueset was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + This valueset was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - Whether this is intended to be used with an extensible binding or not. + Whether this is intended to be used with an extensible binding or not. - The date that the value set status was last changed. + The date that the value set status was last changed. - If a Locked Date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value sets as of the Locked Date. + If a Locked Date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value sets as of the Locked Date. - A definition of an code system, inlined into the value set. + A definition of an code system, inlined into the value set. - When value set includes codes from elsewhere. + When value set includes codes from elsewhere. - A value set can also be "expanded", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed. + A value set can also be "expanded", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed. @@ -20768,19 +21004,19 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - The name of an individual to contact regarding the value set. + The name of an individual to contact regarding the value set. - Contact details for individual (if a name was provided) or the publisher. + Contact details for individual (if a name was provided) or the publisher. @@ -20789,29 +21025,29 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system. + An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system. - The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked. + The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked. - If code comparison is case sensitive when codes within this system are compared to each other. + If code comparison is case sensitive when codes within this system are compared to each other. - Concepts in the code system. + Concepts in the code system. @@ -20820,39 +21056,39 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - Code that identifies concept. + Code that identifies concept. - If this code is not for use as a real concept. + If this code is not for use as a real concept. - Text to Display to the user. + Text to Display to the user. - The formal definition of the concept. Formal definitions are not required, because of the prevalence of legacy systems without them, but they are highly recommended, as without them there is no formal meaning associated with the concept. + The formal definition of the concept. Formal definitions are not required, because of the prevalence of legacy systems without them, but they are highly recommended, as without them there is no formal meaning associated with the concept. - Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc. + Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc. - Child Concepts (is-a / contains). + Child Concepts (is-a / contains). @@ -20861,24 +21097,24 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - The language this designation is defined for. + The language this designation is defined for. - A code that details how this designation would be used. + A code that details how this designation would be used. - The text value for this designation. + The text value for this designation. @@ -20887,24 +21123,24 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri. + Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri. - Include one or more codes from a code system. + Include one or more codes from a code system. - Exclude one or more codes from the value set. + Exclude one or more codes from the value set. @@ -20913,29 +21149,29 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - An absolute URI which is the code system from which the selected codes come from. + An absolute URI which is the code system from which the selected codes come from. - The version of the code system that the codes are selected from. + The version of the code system that the codes are selected from. - Specifies a concept to be included or excluded. + Specifies a concept to be included or excluded. - Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true. + Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true. @@ -20944,24 +21180,24 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - Specifies a code for the concept to be included or excluded. + Specifies a code for the concept to be included or excluded. - The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system. + The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system. - Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc. + Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc. @@ -20970,24 +21206,24 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - A code that identifies a property defined in the code system. + A code that identifies a property defined in the code system. - The kind of operation to perform as a part of the filter criteria. + The kind of operation to perform as a part of the filter criteria. - The match value may be either a code defined by the system, or a string value which is used a regex match on the literal string of the property value. + The match value may be either a code defined by the system, or a string value which is used a regex match on the literal string of the property value. @@ -20996,29 +21232,39 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so. + An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so. - The time at which the expansion was produced by the expanding system. + The time at which the expansion was produced by the expanding system. + + + + + The total nober of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter. + + + + + If paging is being used, the offset at which this resource starts - e.g. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present. - A Parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion. + A Parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion. - The codes that are contained in the value set expansion. + The codes that are contained in the value set expansion. @@ -21027,19 +21273,19 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - The name of the parameter. + The name of the parameter. - The value of the parameter. + The value of the parameter. @@ -21054,39 +21300,39 @@ other observer (for example a relative or EMT), or any observation made about th - A value set specifies a set of codes drawn from one or more code systems. + A value set specifies a set of codes drawn from one or more code systems. - An absolute URI which is the code system in which the code for this item in the expansion is defined. + An absolute URI which is the code system in which the code for this item in the expansion is defined. - If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value. + If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value. - The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence. + The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence. - Code - if blank, this is not a choosable code. + Code - if blank, this is not a choosable code. - User display for the concept. + User display for the concept. - Codes contained in this concept. + Codes contained in this concept. @@ -21097,40 +21343,40 @@ other observer (for example a relative or EMT), or any observation made about th - The specified property of the code equals the provided value + The specified property of the code equals the provided value - Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself + Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself - The specified property of the code does not have an is-a relationship with the provided value + The specified property of the code does not have an is-a relationship with the provided value - The specified property of the code matches the regex specified in the provided value + The specified property of the code matches the regex specified in the provided value - The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list) + The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list) - The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list) + The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list) - The kind of operation to perform as a part of a property based filter - If the element is present, it must have either a @value, an @id, or extensions + The kind of operation to perform as a part of a property based filter + If the element is present, it must have either a @value, an @id, or extensions @@ -21140,52 +21386,52 @@ other observer (for example a relative or EMT), or any observation made about th - An authorization for the supply of glasses and/or contact lenses to a patient. + An authorization for the supply of glasses and/or contact lenses to a patient. - An authorization for the supply of glasses and/or contact lenses to a patient. - If the element is present, it must have either a @value, an @id, or extensions + An authorization for the supply of glasses and/or contact lenses to a patient. + If the element is present, it must have either a @value, an @id, or extensions - Business identifier which may be used by other parties to reference or identify the prescription. + Business identifier which may be used by other parties to reference or identify the prescription. - The date (and perhaps time) when the prescription was written. + The date (and perhaps time) when the prescription was written. - A link to a resource representing the person to whom the Vision products will be supplied. + A link to a resource representing the person to whom the Vision products will be supplied. - The healthcare professional responsible for authorizing the prescription. + The healthcare professional responsible for authorizing the prescription. - A link to a resource that identifies the particular occurrence of contact between patient and health care provider. + A link to a resource that identifies the particular occurrence of contact between patient and health care provider. - Can be the reason or the indication for writing the prescription. + Can be the reason or the indication for writing the prescription. - Deals with details of the dispense part of the supply specification. + Deals with details of the dispense part of the supply specification. @@ -21194,84 +21440,84 @@ other observer (for example a relative or EMT), or any observation made about th - An authorization for the supply of glasses and/or contact lenses to a patient. + An authorization for the supply of glasses and/or contact lenses to a patient. - Identifies the type of Vision correction product which is required for the patient. + Identifies the type of Vision correction product which is required for the patient. - The eye for which the lens applies. + The eye for which the lens applies. - Lens power measured in diopters (0.25 units). + Lens power measured in diopters (0.25 units). - Power adjustment for astigmatism measured in diopters (0.25 units). + Power adjustment for astigmatism measured in diopters (0.25 units). - Adjustment for astigmatism measured in integer degrees. + Adjustment for astigmatism measured in integer degrees. - Amount of prism to compensate for eye alignment in fractional units. + Amount of prism to compensate for eye alignment in fractional units. - The relative base, or reference lens edge, for the prism. + The relative base, or reference lens edge, for the prism. - Power adjustment for multifocal lenses measured in diopters (0.25 units). + Power adjustment for multifocal lenses measured in diopters (0.25 units). - Contact lens power measured in diopters (0.25 units). + Contact lens power measured in diopters (0.25 units). - Back Curvature measured in millimeters. + Back Curvature measured in millimeters. - Contact lens diameter measured in millimeters. + Contact lens diameter measured in millimeters. - The recommended maximum wear period for the lens. + The recommended maximum wear period for the lens. - Special color or pattern. + Special color or pattern. - Brand recommendations or restrictions. + Brand recommendations or restrictions. - Notes for special requirements such as coatings and lens materials. + Notes for special requirements such as coatings and lens materials. @@ -21282,30 +21528,30 @@ other observer (for example a relative or EMT), or any observation made about th - top + top - bottom + bottom - inner edge + inner edge - outer edge + outer edge - A coded concept listing the base codes. - If the element is present, it must have either a @value, an @id, or extensions + A coded concept listing the base codes. + If the element is present, it must have either a @value, an @id, or extensions @@ -21317,20 +21563,20 @@ other observer (for example a relative or EMT), or any observation made about th - right eye + right eye - left eye + left eye - A coded concept listing the eye codes. - If the element is present, it must have either a @value, an @id, or extensions + A coded concept listing the eye codes. + If the element is present, it must have either a @value, an @id, or extensions diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/flag.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/flag.sch index c73847b897d..384662d530e 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/flag.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/flag.sch @@ -18,16 +18,10 @@ Flag - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -74,11 +44,5 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/goal.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/goal.sch index 2f6ee8d7aa6..2ddfcf71dd2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/goal.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/goal.sch @@ -18,16 +18,10 @@ Goal - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -65,21 +41,9 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/group.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/group.sch index c3316bc501a..510f9024ce9 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/group.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/group.sch @@ -18,16 +18,10 @@ Group - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,52 +29,16 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - grp-1: Can only have members if group is "actual" grp-4: Can't have more members associated with the group than the value specified for "quantity" - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/healthcareservice.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/healthcareservice.sch index ad2e21fa765..5918b1b9c48 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/healthcareservice.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/healthcareservice.sch @@ -18,16 +18,10 @@ HealthcareService - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -65,24 +41,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType @@ -95,30 +53,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingobjectselection.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingobjectselection.sch index 482a3c33303..d67c3dad96f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingobjectselection.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingobjectselection.sch @@ -18,16 +18,10 @@ ImagingObjectSelection - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,27 +29,9 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingstudy.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingstudy.sch index 02f3337bf25..67989c032fc 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingstudy.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/imagingstudy.sch @@ -18,16 +18,10 @@ ImagingStudy - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,39 +29,15 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -81,17 +51,11 @@ ref-1: SHALL have a local reference if the resource is provided inline - cod-1: If a valueSet is provided, a system URI Is required + ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunization.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunization.sch index be2a933d141..b9a805b8455 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunization.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunization.sch @@ -18,16 +18,10 @@ Immunization - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -87,56 +57,14 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunizationrecommendation.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunizationrecommendation.sch index 09a2141414e..38995c54157 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunizationrecommendation.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/immunizationrecommendation.sch @@ -18,16 +18,10 @@ ImmunizationRecommendation - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,24 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/implementationguide.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/implementationguide.sch new file mode 100644 index 00000000000..ea7886ad765 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/implementationguide.sch @@ -0,0 +1,48 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + ImplementationGuide + + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + + + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-2: The narrative SHALL have some non-whitespace content + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/list.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/list.sch index 852af2f0afe..d837837e8d8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/list.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/list.sch @@ -18,16 +18,10 @@ List - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,66 +29,27 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - lst-2: The deleted flag can only be used if the mode of the list is "changes" lst-1: A list can only have an emptyReason if it is empty - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/location.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/location.sch index 87558cd712b..871346606ac 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/location.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/location.sch @@ -18,16 +18,10 @@ Location - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. @@ -74,12 +44,6 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/media.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/media.sch index 5245207ffce..8143aab3179 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/media.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/media.sch @@ -18,16 +18,10 @@ Media - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - mda-1: Height can only be used for a photo or video mda-2: Width can only be used for a photo or video mda-3: Frames can only be used for a photo mda-4: Length can only be used for an audio or a video - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -77,12 +47,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medication.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medication.sch index cc0a934cf0e..fc7be49df84 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medication.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medication.sch @@ -18,16 +18,10 @@ Medication - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,33 +29,9 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -74,12 +44,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationadministration.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationadministration.sch index db96b4d716e..69e6219fd17 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationadministration.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationadministration.sch @@ -18,16 +18,10 @@ MedicationAdministration - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -74,30 +50,12 @@ mad-2: Reason not given is only permitted if wasNotGiven is true - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - mad-3: Reason given is only permitted if wasNotGiven is false - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -107,24 +65,6 @@ mad-1: SHALL have at least one of dosage.quantity and dosage.rate - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationdispense.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationdispense.sch index abebb4b90e6..9e2db0f45a5 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationdispense.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationdispense.sch @@ -18,16 +18,10 @@ MedicationDispense - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,27 +29,9 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - mdd-1: whenHandedOver cannot be before whenPrepared - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -71,24 +47,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -98,12 +62,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -114,7 +72,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -123,36 +94,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - rng-2: If present, low SHALL have a lower value than high rng-3: Quantity values cannot have a comparator when used in a Range @@ -184,18 +125,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationprescription.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationprescription.sch index 082fc5cf641..3450def4e00 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationprescription.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationprescription.sch @@ -18,16 +18,10 @@ MedicationPrescription - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,30 +44,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -102,7 +60,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -111,36 +82,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - rng-2: If present, low SHALL have a lower value than high rng-3: Quantity values cannot have a comparator when used in a Range @@ -172,12 +113,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -190,17 +125,5 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationstatement.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationstatement.sch index 12d2cf46874..022882801e0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationstatement.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/medicationstatement.sch @@ -18,16 +18,10 @@ MedicationStatement - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,21 +44,9 @@ mst-1: Reason not taken is only permitted if wasNotTaken is true - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - mst-2: Reason for use is only permitted if wasNotTaken is false - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - mst-2: Reason for use is only permitted if wasNotTaken is false @@ -92,12 +56,6 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -108,7 +66,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -117,36 +88,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/messageheader.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/messageheader.sch index 29b80d7539d..6d102f84dc2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/messageheader.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/messageheader.sch @@ -18,16 +18,10 @@ MessageHeader - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,21 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -74,12 +53,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/namingsystem.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/namingsystem.sch index e0e859c9ff5..270eef81000 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/namingsystem.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/namingsystem.sch @@ -18,16 +18,10 @@ NamingSystem - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,29 +29,11 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - nsd-1: Root systems cannot have uuid or sid identifiers nsd-3: Can only have replacedBy if namingsystem is retired nsd-2: Can't have more than one preferred identifier for a type - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/nutritionorder.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/nutritionorder.sch index 005a91e7208..d3ad7b1acaf 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/nutritionorder.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/nutritionorder.sch @@ -18,16 +18,10 @@ NutritionOrder - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,18 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - nor-1: Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class @@ -56,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -74,24 +50,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration @@ -99,7 +57,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -108,45 +79,9 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration @@ -154,7 +89,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -163,36 +111,12 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration @@ -200,7 +124,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -209,12 +146,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/observation.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/observation.sch index f6b614c0fc4..efdcc1c01a3 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/observation.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/observation.sch @@ -18,16 +18,10 @@ Observation - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,43 +29,13 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - obs-7: Component code Shall not be same as observation code obs-6: Shall only be present if Observation.value[x] is not present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - rng-2: If present, low SHALL have a lower value than high rng-3: Quantity values cannot have a comparator when used in a Range @@ -100,42 +64,12 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -172,12 +106,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - rng-2: If present, low SHALL have a lower value than high rng-3: Quantity values cannot have a comparator when used in a Range @@ -188,27 +116,12 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ref-1: SHALL have a local reference if the resource is provided inline - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - rng-2: If present, low SHALL have a lower value than high rng-3: Quantity values cannot have a comparator when used in a Range @@ -237,11 +150,5 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationdefinition.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationdefinition.sch index f1243ad86ac..a911af94ed0 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationdefinition.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationdefinition.sch @@ -18,16 +18,10 @@ OperationDefinition - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,18 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. @@ -62,7 +44,7 @@ ref-1: SHALL have a local reference if the resource is provided inline - + ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationoutcome.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationoutcome.sch index 02169b1eab1..491d03b8709 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationoutcome.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/operationoutcome.sch @@ -18,16 +18,10 @@ OperationOutcome - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,23 +29,5 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/order.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/order.sch index d340675422d..968333477dd 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/order.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/order.sch @@ -18,16 +18,10 @@ Order - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,27 +44,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ref-1: SHALL have a local reference if the resource is provided inline - ord-1: Provide a code or a schedule, but not both - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration @@ -96,7 +57,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -105,12 +79,6 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/orderresponse.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/orderresponse.sch index 23dd5524b35..aeca1aad7b6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/orderresponse.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/orderresponse.sch @@ -18,16 +18,10 @@ OrderResponse - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -65,15 +41,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ref-1: SHALL have a local reference if the resource is provided inline - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/organization.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/organization.sch index ebc0f9a1e70..335242bff12 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/organization.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/organization.sch @@ -18,16 +18,10 @@ Organization - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,39 +29,15 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - org-1: The organization SHALL at least have a name or an id, and possibly more than one - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - org-3: The telecom of an organization can never be of use 'home' @@ -86,12 +56,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/patient.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/patient.sch index 3f8d8f3baaa..ed487fbe17b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/patient.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/patient.sch @@ -18,16 +18,10 @@ Patient - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -71,24 +47,12 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - att-1: It the Attachment has data, it SHALL have a contentType pat-1: SHALL at least contain a contact's details or a reference to an organization - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -107,30 +71,6 @@ per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentnotice.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentnotice.sch index 6ddf669c263..3d2198c5bd6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentnotice.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentnotice.sch @@ -18,16 +18,10 @@ PaymentNotice - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -80,8 +50,5 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentreconciliation.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentreconciliation.sch index c3dd8ec881a..50fb315ce7b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentreconciliation.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/paymentreconciliation.sch @@ -18,16 +18,10 @@ PaymentReconciliation - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -80,9 +50,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -98,14 +65,8 @@ qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/person.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/person.sch index 4f5c1954d43..74cd911c38e 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/person.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/person.sch @@ -18,16 +18,10 @@ Person - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/practitioner.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/practitioner.sch index 3090b3e3eeb..975d8423899 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/practitioner.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/practitioner.sch @@ -18,16 +18,10 @@ Practitioner - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -77,18 +53,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -98,35 +62,17 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedure.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedure.sch index 073931dcdea..3eb27fb7e94 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedure.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedure.sch @@ -18,16 +18,10 @@ Procedure - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,42 +38,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -107,36 +53,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedurerequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedurerequest.sch index 9be1b90c40f..72d2ec19cdf 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedurerequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/procedurerequest.sch @@ -18,16 +18,10 @@ ProcedureRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,27 +38,9 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -93,7 +51,20 @@ tim-2: if there's a period, there needs to be duration units tim-3: Either frequency or when can exist, not both - + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end @@ -102,24 +73,12 @@ tim-5: period SHALL be a non-negative value - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processrequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processrequest.sch index 2df78de2857..07575f7867d 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processrequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processrequest.sch @@ -18,16 +18,10 @@ ProcessRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processresponse.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processresponse.sch index 36d5d023123..83cedb4d0e8 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processresponse.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/processresponse.sch @@ -18,16 +18,10 @@ ProcessResponse - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,15 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -80,14 +47,5 @@ ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/provenance.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/provenance.sch index 3688f501139..452a2934f2a 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/provenance.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/provenance.sch @@ -18,16 +18,10 @@ Provenance - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,47 +29,23 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline per-1: If present, start SHALL have a lower value than end - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - + ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaire.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaire.sch index db8c6b14f7f..6fb9b63974c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaire.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaire.sch @@ -18,16 +18,10 @@ Questionnaire - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,27 +29,9 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - que-2: The link ids for groups and questions must be unique within the questionnaire - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -71,12 +47,6 @@ que-1: Groups may either contain questions or groups but not both - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaireanswers.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaireanswers.sch index c1962bb2fee..7f2abd3d3e1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaireanswers.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/questionnaireanswers.sch @@ -18,16 +18,10 @@ QuestionnaireAnswers - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -83,9 +59,6 @@ att-1: It the Attachment has data, it SHALL have a contentType - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/referralrequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/referralrequest.sch index 913a6227ac7..27ba631591b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/referralrequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/referralrequest.sch @@ -18,16 +18,10 @@ ReferralRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,48 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -89,18 +47,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/relatedperson.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/relatedperson.sch index 2b52664d53f..ad4e56dbd9b 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/relatedperson.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/relatedperson.sch @@ -18,16 +18,10 @@ RelatedPerson - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/riskassessment.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/riskassessment.sch index 811e32073cb..b1c7cd92d25 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/riskassessment.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/riskassessment.sch @@ -18,16 +18,10 @@ RiskAssessment - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,18 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline @@ -56,33 +38,15 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ras-2: Must be <= 100 @@ -99,12 +63,6 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/schedule.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/schedule.sch index fe52dad773b..820386305a4 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/schedule.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/schedule.sch @@ -18,16 +18,10 @@ Schedule - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/searchparameter.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/searchparameter.sch index 64f67470d84..87ea255554c 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/searchparameter.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/searchparameter.sch @@ -18,16 +18,10 @@ SearchParameter - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,18 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/slot.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/slot.sch index 232a425d34d..b9e453a5d50 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/slot.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/slot.sch @@ -18,16 +18,10 @@ Slot - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,36 +29,12 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/specimen.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/specimen.sch index cfcf18aab31..fd094de0be6 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/specimen.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/specimen.sch @@ -18,16 +18,10 @@ Specimen - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,48 +29,18 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -92,60 +56,24 @@ qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present qty-3: If a code for the units is present, the system SHALL also be present - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/structuredefinition.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/structuredefinition.sch index 1bbd6cfa64a..358b9296fac 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/structuredefinition.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/structuredefinition.sch @@ -18,16 +18,10 @@ StructureDefinition - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,52 +29,26 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - + sdf-9: In any snapshot or differential, no label, code or requirements on the an element without a "." in the path (e.g. the first element) sdf-8: In any snapshot or differential, all the elements except the first have to have a path that starts with the path of the first + "." sdf-7: If the type is Resource or Type, the url has to start with "http://hl7.org/fhir/StructureDefinition/" and the tail must match the name sdf-6: A structure must have either a differential, or a snapshot (or both) sdf-5: If the type is 'extension' then the structure must have context information sdf-4: A structure must have a base unless it’s type is 'abstract' - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. per-1: If present, start SHALL have a lower value than end - - cod-1: If a valueSet is provided, a system URI Is required - sdf-2: Must have at a name or a uri (or both) @@ -97,11 +65,7 @@ eld-8: Pattern and value are mutually exclusive eld-14: Constraints must be unique by key eld-13: Types must be unique by the combination of code and profile - eld-16: default value and meaningWhenMissing are mutually exclusive - eld-15: Constraint names must be unique. - - - cod-1: If a valueSet is provided, a system URI Is required + eld-15: default value and meaningWhenMissing are mutually exclusive eld-1: If there are no discriminators, there must be a definition @@ -131,11 +95,7 @@ eld-8: Pattern and value are mutually exclusive eld-14: Constraints must be unique by key eld-13: Types must be unique by the combination of code and profile - eld-16: default value and meaningWhenMissing are mutually exclusive - eld-15: Constraint names must be unique. - - - cod-1: If a valueSet is provided, a system URI Is required + eld-15: default value and meaningWhenMissing are mutually exclusive eld-1: If there are no discriminators, there must be a definition diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/subscription.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/subscription.sch index e317f8504a1..ce21e551540 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/subscription.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/subscription.sch @@ -18,16 +18,10 @@ Subscription - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,26 +29,11 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. per-1: If present, start SHALL have a lower value than end - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/substance.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/substance.sch index d88f545eb18..3dafe88ce4f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/substance.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/substance.sch @@ -18,16 +18,10 @@ Substance - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,29 +29,11 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline per-1: If present, start SHALL have a lower value than end diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supply.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supply.sch index cc0d87a6366..bfa26e41b7d 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supply.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supply.sch @@ -18,16 +18,10 @@ Supply - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,30 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -71,24 +41,12 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplydelivery.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplydelivery.sch index 0425fdc9a12..f83bf9c5e53 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplydelivery.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplydelivery.sch @@ -18,16 +18,10 @@ SupplyDelivery - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -62,12 +38,6 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplyrequest.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplyrequest.sch index 31cd9d9c7c5..4ec40a1e18a 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplyrequest.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/supplyrequest.sch @@ -18,16 +18,10 @@ SupplyRequest - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,29 +29,11 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline per-1: If present, start SHALL have a lower value than end @@ -68,8 +44,40 @@ ref-1: SHALL have a local reference if the resource is provided inline - + ref-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline + + + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-3: Either frequency or when can exist, not both + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/testscript.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/testscript.sch index 4f3c197d38e..f2581246c12 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/testscript.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/testscript.sch @@ -18,16 +18,10 @@ TestScript - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,32 +29,8 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - inv-1: SHALL contain a "uri" or "resource" but not both. - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/valueset.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/valueset.sch index ef6f8b161d5..0b026dd6399 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/valueset.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/valueset.sch @@ -18,16 +18,10 @@ ValueSet - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,41 +29,17 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - vsd-7: A defined code system (if present) SHALL have a different identifier to the value set itself vsd-2: A value set with only one import SHALL also have an include and/or an exclude unless the value set defines its own codes vsd-5: Value set SHALL contain either a define, a compose, or an expansion element - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - cpt-2: A system is required if a value is provided. @@ -80,15 +50,15 @@ vsd-8: Codes must be unique vsd-3: Within a code system definition, all the codes SHALL be unique - - cod-1: If a valueSet is provided, a system URI Is required - vsd-1: A value set composition SHALL have an include or an import + + vsd-11: Cannot have both concept and filter + vsd-6: SHALL have a code or a display - vsd-9: Must have a code if not abstract + vsd-9: Must have a code if not abstract vsd-10: Must have a system if a code is present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/visionprescription.sch b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/visionprescription.sch index c01f38e30e5..1c9cbfd5af2 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/visionprescription.sch +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/visionprescription.sch @@ -18,16 +18,10 @@ VisionPrescription - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources - dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative + dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource @@ -35,24 +29,6 @@ txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes txt-2: The narrative SHALL have some non-whitespace content - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - cod-1: If a valueSet is provided, a system URI Is required - - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - per-1: If present, start SHALL have a lower value than end @@ -68,18 +44,9 @@ ref-1: SHALL have a local reference if the resource is provided inline - - ccc-2: Only one coding in a set can be chosen directly by the user - - - cod-1: If a valueSet is provided, a system URI Is required - ref-1: SHALL have a local reference if the resource is provided inline - - cod-1: If a valueSet is provided, a system URI Is required - qty-3: If a code for the units is present, the system SHALL also be present diff --git a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserHl7OrgDstu2Test.java b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserHl7OrgDstu2Test.java index 8e94cfa56bc..608f99cd9cb 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserHl7OrgDstu2Test.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/parser/XmlParserHl7OrgDstu2Test.java @@ -761,7 +761,7 @@ public class XmlParserHl7OrgDstu2Test { public void testEncodeContainedAndIncludedResources() { DiagnosticReport rpt = new DiagnosticReport(); - rpt.getName().setText("Report"); + rpt.getCode().setText("Report"); Specimen spm = new Specimen(); spm.addIdentifier().setValue("Report1ContainedSpecimen1"); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/IncludeHl7OrgDstu2Test.java b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/IncludeHl7OrgDstu2Test.java index d8d6e46a7e9..c38fec7b6bd 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/IncludeHl7OrgDstu2Test.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/IncludeHl7OrgDstu2Test.java @@ -354,7 +354,7 @@ public class IncludeHl7OrgDstu2Test { DiagnosticReport rep = new DiagnosticReport(); rep.setId("DiagnosticReport/999"); - rep.getName().setText("Rep"); + rep.getCode().setText("Rep"); rep.addResult().setResource(o1); rep.addResult().setResource(o2); rep.addResult().setResource(o3); diff --git a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderHl7OrgDstu2Test.java b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderHl7OrgDstu2Test.java index dae875df60f..b18d7e42d4e 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderHl7OrgDstu2Test.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderHl7OrgDstu2Test.java @@ -195,7 +195,7 @@ public class ServerConformanceProviderHl7OrgDstu2Test { assertEquals(DiagnosticReport.SP_SUBJECT, res.getSearchParam().get(0).getName()); assertEquals("identifier", res.getSearchParam().get(0).getChain().get(0).getValue()); - assertEquals(DiagnosticReport.SP_NAME, res.getSearchParam().get(2).getName()); + assertEquals(DiagnosticReport.SP_CODE, res.getSearchParam().get(2).getName()); assertEquals(DiagnosticReport.SP_DATE, res.getSearchParam().get(1).getName()); @@ -419,7 +419,7 @@ public class ServerConformanceProviderHl7OrgDstu2Test { @Description(shortDefinition = "This is a search for stuff!") @Search - public List findDiagnosticReportsByPatient(@RequiredParam(name = DiagnosticReport.SP_SUBJECT + '.' + Patient.SP_IDENTIFIER) TokenParam thePatientId, @OptionalParam(name = DiagnosticReport.SP_NAME) TokenOrListParam theNames, + public List findDiagnosticReportsByPatient(@RequiredParam(name = DiagnosticReport.SP_SUBJECT + '.' + Patient.SP_IDENTIFIER) TokenParam thePatientId, @OptionalParam(name = DiagnosticReport.SP_CODE) TokenOrListParam theNames, @OptionalParam(name = DiagnosticReport.SP_DATE) DateRangeParam theDateRange, @IncludeParam(allow = { "DiagnosticReport.result" }) Set theIncludes) throws Exception { return null; } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/TransactionWithBundleResourceParamHl7OrgDstu2Test.java b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/TransactionWithBundleResourceParamHl7OrgDstu2Test.java index f02764b2227..c7724032e3f 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/TransactionWithBundleResourceParamHl7OrgDstu2Test.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/rest/server/TransactionWithBundleResourceParamHl7OrgDstu2Test.java @@ -1,6 +1,7 @@ package ca.uhn.fhir.rest.server; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; import java.util.concurrent.TimeUnit; diff --git a/sync_ri.sh b/sync_ri.sh index 56969290685..741c4191f85 100755 --- a/sync_ri.sh +++ b/sync_ri.sh @@ -1,13 +1,23 @@ #!/bin/sh +FHIRTRUNK=~/workspace/fhir/trunk +FHIRTRUNK=~/workspace/fhir/trunk + # Model -cp -v ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/model/*.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ -cp -v ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/formats/FormatUtilities.java ~/workspace/hapi-fhir/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/formats/FormatUtilities.java -cp -v ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/validation/InstanceValidator.java ~/workspace/hapi-fhir/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/InstanceValidator.java -cp -v ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/validation/ValidationMessage.java ~/workspace/hapi-fhir/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ValidationMessage.java +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/model/*.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/model/valuesets/*.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/formats/FormatUtilities.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/formats/FormatUtilities.java +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/utils/ProfileUtilities.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/utils/WorkerContext.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/utils/NameResolver.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/utils/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/validation/BaseValidator.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/validation/InstanceValidator.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/validation/ProfileValidator.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.instance/src/org/hl7/fhir/instance/validation/ValidationMessage.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/validation/ValidationMessage.java +cp -vp $FHIRTRUNK/build/implementations/java/org.hl7.fhir.utilities/src/org/hl7/fhir/utilities/xhtml/HeirarchicalTableGenerator.java hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/utilities/xhtml/ # Schemas -cp ~/workspace/fhir/trunk/build/publish/fhir-single.xsd ~/workspace/hapi-fhir/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/ -cp ~/workspace/fhir/trunk/build/publish/fhir-xhtml.xsd ~/workspace/hapi-fhir/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/ -cp ~/workspace/fhir/trunk/build/publish/xml.xsd ~/workspace/hapi-fhir/hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/ -for i in $( ls ~/workspace/fhir/trunk/build/publish/*.sch | grep -v - ); do cp $i hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema; done +cp -vp $FHIRTRUNK/build/publish/fhir-single.xsd hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/ +cp -vp $FHIRTRUNK/build/publish/fhir-xhtml.xsd hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/ +cp -vp $FHIRTRUNK/build/publish/xml.xsd hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema/ +for i in $( ls $FHIRTRUNK/build/publish/*.sch | grep -vp - ); do cp $i hapi-fhir-structures-hl7org-dstu2/src/main/resources/org/hl7/fhir/instance/model/schema; done